@mjsz-vbr-elements/core 2.1.0-beta.41 → 2.1.0-beta.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +4 -4
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +216 -205
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.1.0-beta.
|
|
3
|
+
* version: v2.1.0-beta.42 - 03/11/2023, 16:54:34
|
|
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" }),
|
|
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" }), 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 },
|
|
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.
|
|
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.
|
|
2133
|
+
console.error("WINDOW_ONERROR:", o);
|
|
2134
2134
|
}, Tn((o, s, i) => {
|
|
2135
|
-
console.
|
|
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
|
-
},
|
|
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: "
|
|
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: "
|
|
2313
|
+
short: "GP",
|
|
2314
2314
|
tooltip: "Mérkőzésre Nevezve"
|
|
2315
2315
|
},
|
|
2316
2316
|
gpi: {
|
|
2317
|
-
short: "
|
|
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
|
|
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"],
|
|
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
|
|
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,
|
|
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 =
|
|
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
|
-
},
|
|
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
|
-
},
|
|
3751
|
+
}, ec = {
|
|
3749
3752
|
message: "Invalid season name",
|
|
3750
3753
|
options: {
|
|
3751
3754
|
key: "invalid-season-name",
|
|
3752
3755
|
cause: {}
|
|
3753
3756
|
}
|
|
3754
|
-
},
|
|
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
|
-
},
|
|
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:
|
|
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",
|
|
3850
|
+
P("div", ki, [
|
|
3848
3851
|
(S(), at(It, {
|
|
3849
|
-
key: u.
|
|
3850
|
-
src: u.
|
|
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",
|
|
3889
|
-
P("span",
|
|
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",
|
|
3896
|
-
P("span",
|
|
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",
|
|
3903
|
-
P("span",
|
|
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",
|
|
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,
|
|
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",
|
|
3935
|
-
P("span",
|
|
3936
|
-
], 8,
|
|
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,
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
|
|
4331
|
+
mipMin: {
|
|
4329
4332
|
label: "table.toi.short",
|
|
4330
4333
|
tooltip: "table.toi.tooltip",
|
|
4331
|
-
sortOrders: [{ target: "
|
|
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
|
-
|
|
4351
|
+
sog: {
|
|
4349
4352
|
label: "table.sa.short",
|
|
4350
4353
|
tooltip: "table.sa.tooltip",
|
|
4351
|
-
sortOrders: [{ target: "
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
|
|
4530
|
+
dvgTimeMin: {
|
|
4528
4531
|
label: "table.dvgTime.short",
|
|
4529
4532
|
tooltip: "table.dvgTime.tooltip",
|
|
4530
|
-
sortOrders: [{ target: "
|
|
4533
|
+
sortOrders: [{ target: "dvgTime", direction: y }]
|
|
4531
4534
|
},
|
|
4532
|
-
|
|
4535
|
+
dvgTimePP1Min: {
|
|
4533
4536
|
label: "table.dvgTimePP1.short",
|
|
4534
4537
|
tooltip: "table.dvgTimePP1.tooltip",
|
|
4535
|
-
sortOrders: [{ target: "
|
|
4538
|
+
sortOrders: [{ target: "dvgTimePP1", direction: y }]
|
|
4536
4539
|
},
|
|
4537
|
-
|
|
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
|
-
},
|
|
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
|
-
|
|
4585
|
+
advTimeMin: {
|
|
4583
4586
|
label: "table.advTime.short",
|
|
4584
4587
|
tooltip: "table.advTime.tooltip",
|
|
4585
|
-
sortOrders: [{ target: "
|
|
4588
|
+
sortOrders: [{ target: "advTime", direction: y }]
|
|
4586
4589
|
},
|
|
4587
|
-
|
|
4590
|
+
advTimePP1Min: {
|
|
4588
4591
|
label: "table.advTimePP1.short",
|
|
4589
4592
|
tooltip: "table.advTimePP1.tooltip",
|
|
4590
|
-
sortOrders: [{ target: "
|
|
4593
|
+
sortOrders: [{ target: "advTimePP1", direction: y }]
|
|
4591
4594
|
},
|
|
4592
|
-
|
|
4595
|
+
advTimePP2Min: {
|
|
4593
4596
|
label: "table.advTimePP2.short",
|
|
4594
4597
|
tooltip: "table.advTimePP2.tooltip",
|
|
4595
|
-
sortOrders: [{ target: "
|
|
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
|
-
},
|
|
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
|
-
},
|
|
4683
|
-
const n = `${Ta}${v(t)}?${
|
|
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":
|
|
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
|
-
},
|
|
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
|
-
},
|
|
4704
|
-
const { initial: e = 1, items: r = [], limit: n, auto: a = !1 } = t, o = H(e), s = (c) =>
|
|
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
|
-
},
|
|
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(() =>
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
4809
|
-
var l, c, p = typeof s == "string" ? { value: s, context: t.context } : s, f = p.value, u = p.context, d =
|
|
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
|
|
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
|
-
}),
|
|
4879
|
+
}), Zi = (t, e) => {
|
|
4877
4880
|
const r = e === j ? "DIRECTION2" : "DIRECTION1";
|
|
4878
|
-
return
|
|
4881
|
+
return qi.transition(t, r).value;
|
|
4879
4882
|
};
|
|
4880
|
-
function
|
|
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:
|
|
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
|
|
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
|
|
4910
|
+
const yc = (t = []) => ({
|
|
4908
4911
|
result: [...t],
|
|
4909
4912
|
filteredRowsLength: 0,
|
|
4910
4913
|
isFiltered: !1,
|
|
@@ -4978,31 +4981,37 @@ 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
|
-
}),
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
}
|
|
4984
|
+
}), vc = (t, ...e) => kt(Nr(...e))(t), bc = (t) => {
|
|
4985
|
+
var e;
|
|
4986
|
+
return {
|
|
4987
|
+
...t,
|
|
4988
|
+
...((e = t.player) == null ? void 0 : e.playerId) && { name: `${t.player.lastName} ${t.player.firstName}` }
|
|
4989
|
+
};
|
|
4990
|
+
}, wc = (t) => {
|
|
4991
|
+
var e;
|
|
4992
|
+
return {
|
|
4993
|
+
...t,
|
|
4994
|
+
...((e = t == null ? void 0 : t.team) == null ? void 0 : e.id) && { teamName: t.team.longName }
|
|
4995
|
+
};
|
|
4996
|
+
}, $c = (t = []) => (e) => {
|
|
4988
4997
|
var r;
|
|
4989
4998
|
return {
|
|
4990
4999
|
...e,
|
|
4991
5000
|
[t]: (r = e[t]) == null ? void 0 : r.toUpperCase()
|
|
4992
5001
|
};
|
|
4993
|
-
},
|
|
5002
|
+
}, _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
5003
|
const r = Re("gameResolver") || t;
|
|
4995
|
-
return typeof r == "function" ? r(e) : r ? r + e : Pa + e;
|
|
4996
|
-
},
|
|
5004
|
+
return console.log(r), typeof r == "function" ? r(e) : r ? r + e : Pa + e;
|
|
5005
|
+
}, Oc = (t, e) => {
|
|
4997
5006
|
const r = Re("teamResolver") || t;
|
|
4998
5007
|
return typeof r == "function" ? r(e) : encodeURI(r ? r + e : ka + e);
|
|
4999
|
-
},
|
|
5008
|
+
}, Ac = (t, e) => {
|
|
5000
5009
|
const r = Re("playerResolver") || t;
|
|
5001
5010
|
return typeof r == "function" ? r(e) : encodeURI(r ? r + e : Aa + e);
|
|
5002
5011
|
}, Re = (t = "") => {
|
|
5003
5012
|
var e;
|
|
5004
5013
|
return (e = window == null ? void 0 : window.__MJSZ_VBR_WIDGET__) == null ? void 0 : e[t];
|
|
5005
|
-
},
|
|
5014
|
+
}, Ji = {
|
|
5006
5015
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5007
5016
|
viewBox: "0 0 24 24",
|
|
5008
5017
|
fill: "none",
|
|
@@ -5010,32 +5019,32 @@ const gc = (t = []) => ({
|
|
|
5010
5019
|
"stroke-width": "2",
|
|
5011
5020
|
"stroke-linecap": "round",
|
|
5012
5021
|
"stroke-linejoin": "round"
|
|
5013
|
-
},
|
|
5022
|
+
}, Qi = /* @__PURE__ */ P("rect", {
|
|
5014
5023
|
x: "2",
|
|
5015
5024
|
y: "3",
|
|
5016
5025
|
width: "20",
|
|
5017
5026
|
height: "14",
|
|
5018
5027
|
rx: "2",
|
|
5019
5028
|
ry: "2"
|
|
5020
|
-
}, null, -1),
|
|
5029
|
+
}, null, -1), tl = /* @__PURE__ */ P("line", {
|
|
5021
5030
|
x1: "8",
|
|
5022
5031
|
y1: "21",
|
|
5023
5032
|
x2: "16",
|
|
5024
5033
|
y2: "21"
|
|
5025
|
-
}, null, -1),
|
|
5034
|
+
}, null, -1), el = /* @__PURE__ */ P("line", {
|
|
5026
5035
|
x1: "12",
|
|
5027
5036
|
y1: "17",
|
|
5028
5037
|
x2: "12",
|
|
5029
5038
|
y2: "21"
|
|
5030
|
-
}, null, -1),
|
|
5031
|
-
Ji,
|
|
5039
|
+
}, null, -1), rl = [
|
|
5032
5040
|
Qi,
|
|
5033
|
-
tl
|
|
5041
|
+
tl,
|
|
5042
|
+
el
|
|
5034
5043
|
];
|
|
5035
|
-
function
|
|
5036
|
-
return S(), O("svg",
|
|
5044
|
+
function nl(t, e) {
|
|
5045
|
+
return S(), O("svg", Ji, rl);
|
|
5037
5046
|
}
|
|
5038
|
-
const
|
|
5047
|
+
const ol = { render: nl }, al = {
|
|
5039
5048
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5040
5049
|
viewBox: "0 0 24 24",
|
|
5041
5050
|
fill: "none",
|
|
@@ -5043,27 +5052,27 @@ const nl = { render: rl }, ol = {
|
|
|
5043
5052
|
"stroke-width": "2",
|
|
5044
5053
|
"stroke-linecap": "round",
|
|
5045
5054
|
"stroke-linejoin": "round"
|
|
5046
|
-
},
|
|
5055
|
+
}, sl = /* @__PURE__ */ P("circle", {
|
|
5047
5056
|
cx: "12",
|
|
5048
5057
|
cy: "12",
|
|
5049
5058
|
r: "1"
|
|
5050
|
-
}, null, -1),
|
|
5059
|
+
}, null, -1), il = /* @__PURE__ */ P("circle", {
|
|
5051
5060
|
cx: "12",
|
|
5052
5061
|
cy: "5",
|
|
5053
5062
|
r: "1"
|
|
5054
|
-
}, null, -1),
|
|
5063
|
+
}, null, -1), ll = /* @__PURE__ */ P("circle", {
|
|
5055
5064
|
cx: "12",
|
|
5056
5065
|
cy: "19",
|
|
5057
5066
|
r: "1"
|
|
5058
|
-
}, null, -1),
|
|
5059
|
-
al,
|
|
5067
|
+
}, null, -1), cl = [
|
|
5060
5068
|
sl,
|
|
5061
|
-
il
|
|
5069
|
+
il,
|
|
5070
|
+
ll
|
|
5062
5071
|
];
|
|
5063
|
-
function
|
|
5064
|
-
return S(), O("svg",
|
|
5072
|
+
function ul(t, e) {
|
|
5073
|
+
return S(), O("svg", al, cl);
|
|
5065
5074
|
}
|
|
5066
|
-
const
|
|
5075
|
+
const dl = { render: ul }, fl = {
|
|
5067
5076
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5068
5077
|
viewBox: "0 0 24 24",
|
|
5069
5078
|
fill: "none",
|
|
@@ -5071,21 +5080,21 @@ const ul = { render: cl }, dl = {
|
|
|
5071
5080
|
"stroke-width": "2",
|
|
5072
5081
|
"stroke-linecap": "round",
|
|
5073
5082
|
"stroke-linejoin": "round"
|
|
5074
|
-
},
|
|
5083
|
+
}, 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
5084
|
x: "8",
|
|
5076
5085
|
y: "2",
|
|
5077
5086
|
width: "8",
|
|
5078
5087
|
height: "4",
|
|
5079
5088
|
rx: "1",
|
|
5080
5089
|
ry: "1"
|
|
5081
|
-
}, null, -1),
|
|
5082
|
-
|
|
5083
|
-
|
|
5090
|
+
}, null, -1), hl = [
|
|
5091
|
+
pl,
|
|
5092
|
+
ml
|
|
5084
5093
|
];
|
|
5085
|
-
function
|
|
5086
|
-
return S(), O("svg",
|
|
5094
|
+
function gl(t, e) {
|
|
5095
|
+
return S(), O("svg", fl, hl);
|
|
5087
5096
|
}
|
|
5088
|
-
const
|
|
5097
|
+
const yl = { render: gl }, vl = {
|
|
5089
5098
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5090
5099
|
viewBox: "0 0 24 24",
|
|
5091
5100
|
fill: "none",
|
|
@@ -5093,26 +5102,26 @@ const gl = { render: hl }, yl = {
|
|
|
5093
5102
|
"stroke-width": "2",
|
|
5094
5103
|
"stroke-linecap": "round",
|
|
5095
5104
|
"stroke-linejoin": "round"
|
|
5096
|
-
},
|
|
5097
|
-
|
|
5098
|
-
|
|
5105
|
+
}, 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 = [
|
|
5106
|
+
bl,
|
|
5107
|
+
wl
|
|
5099
5108
|
];
|
|
5100
|
-
function
|
|
5101
|
-
return S(), O("svg",
|
|
5109
|
+
function _l(t, e) {
|
|
5110
|
+
return S(), O("svg", vl, $l);
|
|
5102
5111
|
}
|
|
5103
|
-
const
|
|
5112
|
+
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
5113
|
key: 0,
|
|
5105
5114
|
class: "is-text-dark"
|
|
5106
|
-
},
|
|
5115
|
+
}, kl = ["href", "target"], Ml = {
|
|
5107
5116
|
key: 0,
|
|
5108
5117
|
class: "label"
|
|
5109
|
-
},
|
|
5118
|
+
}, Dl = {
|
|
5110
5119
|
key: 1,
|
|
5111
5120
|
class: "label"
|
|
5112
|
-
},
|
|
5121
|
+
}, Ll = {
|
|
5113
5122
|
key: 2,
|
|
5114
5123
|
class: "label"
|
|
5115
|
-
},
|
|
5124
|
+
}, El = { key: 1 }, Il = ["onClick", "onFocus", "onBlur"], zl = { class: "is-dropdown-menu" }, Nl = ["href", "target"], Cl = { key: 0 }, Gl = ["href"], kc = {
|
|
5116
5125
|
__name: "ScheduleTable",
|
|
5117
5126
|
props: {
|
|
5118
5127
|
rows: {
|
|
@@ -5142,7 +5151,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5142
5151
|
},
|
|
5143
5152
|
setup(t) {
|
|
5144
5153
|
const e = t, r = H(null), { onError: n } = en(), { columns: a, error: o } = hn(
|
|
5145
|
-
|
|
5154
|
+
Bi,
|
|
5146
5155
|
q(() => e.hideColumns),
|
|
5147
5156
|
q(() => ({
|
|
5148
5157
|
offsetName: e.offsetName
|
|
@@ -5171,12 +5180,12 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5171
5180
|
"append-to": r.value || c
|
|
5172
5181
|
}, {
|
|
5173
5182
|
"cell-homeTeamName": G(({ row: p }) => [
|
|
5174
|
-
P("span",
|
|
5175
|
-
P("span",
|
|
5183
|
+
P("span", xl, z(p.homeTeam.longName), 1),
|
|
5184
|
+
P("span", Tl, z(p.homeTeam.shortName), 1)
|
|
5176
5185
|
]),
|
|
5177
5186
|
"cell-awayTeamName": G(({ row: p }) => [
|
|
5178
|
-
P("span",
|
|
5179
|
-
P("span",
|
|
5187
|
+
P("span", Pl, z(p.awayTeam.longName), 1),
|
|
5188
|
+
P("span", Ol, z(p.awayTeam.shortName), 1)
|
|
5180
5189
|
]),
|
|
5181
5190
|
"cell-homeTeamLogo": G(({ row: p }) => [
|
|
5182
5191
|
(S(), at(It, {
|
|
@@ -5193,20 +5202,20 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5193
5202
|
}, null, 8, ["src"]))
|
|
5194
5203
|
]),
|
|
5195
5204
|
"cell-gameResult": G(({ row: p }) => [
|
|
5196
|
-
p.gameStatus === 0 ? (S(), O("span",
|
|
5205
|
+
p.gameStatus === 0 ? (S(), O("span", Al, "-:-")) : (S(), O("a", {
|
|
5197
5206
|
key: 1,
|
|
5198
5207
|
href: t.externalGameResolver(p.gameId),
|
|
5199
5208
|
target: t.externalGameResolverTarget,
|
|
5200
5209
|
class: J({ "is-text-dark": p.gameStatus !== 1, "is-text-accent": p.gameStatus === 1 })
|
|
5201
|
-
}, z(p.homeTeamScore) + ":" + z(p.awayTeamScore), 11,
|
|
5210
|
+
}, z(p.homeTeamScore) + ":" + z(p.awayTeamScore), 11, kl))
|
|
5202
5211
|
]),
|
|
5203
5212
|
"cell-gameResultType": G(({ row: p }) => [
|
|
5204
|
-
p.isOvertime ? (S(), O("span",
|
|
5205
|
-
p.isShootout ? (S(), O("span",
|
|
5206
|
-
p.seriesStandings ? (S(), O("span",
|
|
5213
|
+
p.isOvertime ? (S(), O("span", Ml, z(v(s)("common.overtimeShort")), 1)) : X("", !0),
|
|
5214
|
+
p.isShootout ? (S(), O("span", Dl, z(v(s)("common.shootoutShort")), 1)) : X("", !0),
|
|
5215
|
+
p.seriesStandings ? (S(), O("span", Ll, z(p.seriesStandings), 1)) : X("", !0)
|
|
5207
5216
|
]),
|
|
5208
5217
|
"cell-broadcast": G(({ row: p }) => [
|
|
5209
|
-
p.broadcast ? (S(), at(v(
|
|
5218
|
+
p.broadcast ? (S(), at(v(ol), { key: 0 })) : (S(), O("span", El))
|
|
5210
5219
|
]),
|
|
5211
5220
|
"cell-location": G(({ row: p }) => {
|
|
5212
5221
|
var f;
|
|
@@ -5228,30 +5237,30 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5228
5237
|
onFocus: u,
|
|
5229
5238
|
onBlur: d
|
|
5230
5239
|
}, [
|
|
5231
|
-
nt(v(
|
|
5232
|
-
], 40,
|
|
5240
|
+
nt(v(dl))
|
|
5241
|
+
], 40, Il)
|
|
5233
5242
|
]),
|
|
5234
5243
|
content: G(() => [
|
|
5235
|
-
P("ul",
|
|
5244
|
+
P("ul", zl, [
|
|
5236
5245
|
P("li", null, [
|
|
5237
5246
|
P("a", {
|
|
5238
5247
|
href: t.externalGameResolver(p.gameId),
|
|
5239
5248
|
class: "is-dropdown-item",
|
|
5240
5249
|
target: t.externalGameResolverTarget
|
|
5241
5250
|
}, [
|
|
5242
|
-
nt(v(
|
|
5251
|
+
nt(v(yl), { width: "14" }),
|
|
5243
5252
|
gt(" " + z(v(s)("common.report")), 1)
|
|
5244
|
-
], 8,
|
|
5253
|
+
], 8, Nl)
|
|
5245
5254
|
]),
|
|
5246
|
-
p.video ? (S(), O("li",
|
|
5255
|
+
p.video ? (S(), O("li", Cl, [
|
|
5247
5256
|
P("a", {
|
|
5248
5257
|
href: p.video,
|
|
5249
5258
|
class: "is-dropdown-item",
|
|
5250
5259
|
target: "_blank"
|
|
5251
5260
|
}, [
|
|
5252
|
-
nt(v(
|
|
5261
|
+
nt(v(Sl), { width: "14" }),
|
|
5253
5262
|
gt(" " + z(v(s)("common.video")), 1)
|
|
5254
|
-
], 8,
|
|
5263
|
+
], 8, Gl)
|
|
5255
5264
|
])) : X("", !0)
|
|
5256
5265
|
])
|
|
5257
5266
|
]),
|
|
@@ -5272,7 +5281,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5272
5281
|
}, null, 512)
|
|
5273
5282
|
], 64));
|
|
5274
5283
|
}
|
|
5275
|
-
},
|
|
5284
|
+
}, Rl = { class: "g-row" }, jl = ["value"], Fl = { key: 0 }, Bl = ["onClick"], Mc = {
|
|
5276
5285
|
__name: "SeasonSelector",
|
|
5277
5286
|
props: {
|
|
5278
5287
|
seasons: {
|
|
@@ -5310,7 +5319,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5310
5319
|
e("onChangeSection", s);
|
|
5311
5320
|
}
|
|
5312
5321
|
return (s, i) => (S(), O(ct, null, [
|
|
5313
|
-
P("div",
|
|
5322
|
+
P("div", Rl, [
|
|
5314
5323
|
P("div", null, [
|
|
5315
5324
|
P("label", {
|
|
5316
5325
|
for: "season",
|
|
@@ -5325,26 +5334,26 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
|
|
|
5325
5334
|
(S(!0), O(ct, null, Pt(t.seasons, (l) => (S(), O("option", {
|
|
5326
5335
|
key: l.championshipId,
|
|
5327
5336
|
value: l.championshipId
|
|
5328
|
-
}, z(l.seasonName), 9,
|
|
5337
|
+
}, z(l.seasonName), 9, jl))), 128))
|
|
5329
5338
|
]),
|
|
5330
5339
|
_: 1
|
|
5331
5340
|
}, 8, ["modelValue"])
|
|
5332
5341
|
])
|
|
5333
5342
|
]),
|
|
5334
|
-
t.isSectionSelectionDisabled ? X("", !0) : (S(), O("div",
|
|
5343
|
+
t.isSectionSelectionDisabled ? X("", !0) : (S(), O("div", Fl, [
|
|
5335
5344
|
(S(!0), O(ct, null, Pt(t.sections, (l) => (S(), O("button", {
|
|
5336
5345
|
key: l.phaseId,
|
|
5337
5346
|
onClick: (c) => o(l),
|
|
5338
5347
|
class: J([v(_t)("tab-button"), { "is-active": l.sectionId === t.sectionId }])
|
|
5339
|
-
}, z(l.sectionName), 11,
|
|
5348
|
+
}, z(l.sectionName), 11, Bl))), 128))
|
|
5340
5349
|
]))
|
|
5341
5350
|
], 64));
|
|
5342
5351
|
}
|
|
5343
|
-
},
|
|
5344
|
-
function
|
|
5352
|
+
}, Vl = {};
|
|
5353
|
+
function Hl(t, e) {
|
|
5345
5354
|
return S(), O("div", null, " Test-8 ");
|
|
5346
5355
|
}
|
|
5347
|
-
const
|
|
5356
|
+
const Dc = /* @__PURE__ */ rn(Vl, [["render", Hl]]), Lc = {
|
|
5348
5357
|
locale: {
|
|
5349
5358
|
type: String,
|
|
5350
5359
|
default: "hu"
|
|
@@ -5365,7 +5374,7 @@ const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
|
|
|
5365
5374
|
type: String,
|
|
5366
5375
|
default: ""
|
|
5367
5376
|
}
|
|
5368
|
-
},
|
|
5377
|
+
}, Yl = {
|
|
5369
5378
|
externalTeamLink: {
|
|
5370
5379
|
type: [String, Function],
|
|
5371
5380
|
default: ""
|
|
@@ -5374,7 +5383,7 @@ const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
|
|
|
5374
5383
|
type: Boolean,
|
|
5375
5384
|
default: !1
|
|
5376
5385
|
}
|
|
5377
|
-
},
|
|
5386
|
+
}, Ec = {
|
|
5378
5387
|
limit: {
|
|
5379
5388
|
type: Number,
|
|
5380
5389
|
default: 20
|
|
@@ -5391,8 +5400,8 @@ const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
|
|
|
5391
5400
|
type: Boolean,
|
|
5392
5401
|
default: !1
|
|
5393
5402
|
},
|
|
5394
|
-
...
|
|
5395
|
-
},
|
|
5403
|
+
...Yl
|
|
5404
|
+
}, Ic = ({ modules: t = [], apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }) => {
|
|
5396
5405
|
if (window.__MJSZ_VBR_WIDGET__ = { apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }, t.length === 0)
|
|
5397
5406
|
throw new Error("At least one module must be set");
|
|
5398
5407
|
t.forEach((o) => {
|
|
@@ -5404,83 +5413,85 @@ const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
|
|
|
5404
5413
|
export {
|
|
5405
5414
|
Da as AVAILABLE_TIMEZONES_BY_COUNTRY,
|
|
5406
5415
|
On as BaseSelect,
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5416
|
+
ac as COLUMNS_FIELD_PLAYERS,
|
|
5417
|
+
sc as COLUMNS_FIELD_PLAYERS_PENALTY,
|
|
5418
|
+
ic as COLUMNS_GOALIES,
|
|
5419
|
+
Bi as COLUMNS_SCHEDULE,
|
|
5420
|
+
fc as COLUMNS_SCORING_EFFICIENCY,
|
|
5421
|
+
oc as COLUMNS_STANDINGS_P_2,
|
|
5422
|
+
nc as COLUMNS_STANDINGS_P_3,
|
|
5423
|
+
cc as COLUMNS_TEAMS_FAIRPLAY,
|
|
5424
|
+
uc as COLUMNS_TEAMS_PENALTY_KILLING,
|
|
5425
|
+
dc as COLUMNS_TEAMS_POWERPLAY,
|
|
5426
|
+
lc as COLUMNS_TEAM_ATTENDANCE,
|
|
5418
5427
|
Pa as DEFAULT_EXTERNAL_BASE_URL,
|
|
5419
5428
|
Aa as DEFAULT_EXTERNAL_PLAYER_URL,
|
|
5420
5429
|
ka as DEFAULT_EXTERNAL_TEAM_URL,
|
|
5421
5430
|
Oa as DEFAULT_PORTRAIT_IMAGE_URL,
|
|
5422
5431
|
Qr as DataTable,
|
|
5423
|
-
|
|
5424
|
-
|
|
5432
|
+
Kl as ErrorNotice,
|
|
5433
|
+
ql as ErrorProvider,
|
|
5425
5434
|
Jr as FloatingPanel,
|
|
5426
|
-
|
|
5435
|
+
Zl as I18NProvider,
|
|
5427
5436
|
It as Image,
|
|
5428
|
-
|
|
5437
|
+
ec as InvalidSeasonName,
|
|
5429
5438
|
La as LAZY_LOADING_STATE_DELAY,
|
|
5430
5439
|
Ma as LOCALE_FOR_LANG,
|
|
5431
5440
|
nn as LoadingIndicator,
|
|
5432
|
-
|
|
5433
|
-
|
|
5441
|
+
Xl as Paginator,
|
|
5442
|
+
Wl as REFRESH_DELAY,
|
|
5434
5443
|
on as ResponsiveTable,
|
|
5435
5444
|
j as SORT_STATE_ASCEND,
|
|
5436
5445
|
y as SORT_STATE_DESCEND,
|
|
5437
5446
|
wt as SORT_STATE_ORIGINAL,
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5447
|
+
kc as ScheduleTable,
|
|
5448
|
+
Mc as SeasonSelector,
|
|
5449
|
+
rc as StatisticsTable,
|
|
5450
|
+
Dc as Test,
|
|
5451
|
+
tc as TimezoneSelector,
|
|
5443
5452
|
ie as UndefinedColumn,
|
|
5444
5453
|
Ta as VBR_API_BASE_URL,
|
|
5445
5454
|
gn as WidgetError,
|
|
5446
5455
|
cs as appendTo,
|
|
5447
|
-
|
|
5448
|
-
|
|
5456
|
+
Lc as baseProps,
|
|
5457
|
+
yc as convert,
|
|
5458
|
+
Ti as convertMinToMinSec,
|
|
5449
5459
|
mn as convertMinToSec,
|
|
5450
5460
|
xi as convertSecToMin,
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5461
|
+
_c as convertTimes,
|
|
5462
|
+
Sc as convertTimesMinToMinSec,
|
|
5463
|
+
xc as convertTimesSecToMin,
|
|
5464
|
+
Ic as createConfig,
|
|
5454
5465
|
$a as createI18n,
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5466
|
+
Pc as externalGameLinkResolver,
|
|
5467
|
+
Ac as externalPlayerLinkResolver,
|
|
5468
|
+
Oc as externalTeamLinkResolver,
|
|
5469
|
+
Vi as fetchVBRData,
|
|
5459
5470
|
we as format,
|
|
5460
5471
|
_i as getLocalTimezone,
|
|
5461
5472
|
xa as i18n,
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5473
|
+
Jl as isBetween,
|
|
5474
|
+
Ql as isSame,
|
|
5475
|
+
Pi as isSameOrBefore,
|
|
5465
5476
|
Jt as offsetName,
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5477
|
+
bc as playerName,
|
|
5478
|
+
Ec as playerStatsProps,
|
|
5479
|
+
vc as rawConvert,
|
|
5480
|
+
Tc as sortGames,
|
|
5470
5481
|
dr as stringPadLeft,
|
|
5471
|
-
|
|
5472
|
-
|
|
5482
|
+
wc as teamName,
|
|
5483
|
+
Yl as teamStatsProps,
|
|
5473
5484
|
Ts as toKebabCase,
|
|
5474
|
-
|
|
5485
|
+
$c as upperCase,
|
|
5475
5486
|
hn as useColumns,
|
|
5476
5487
|
en as useError,
|
|
5477
5488
|
Ps as useErrorProvider,
|
|
5478
5489
|
Dt as useI18n,
|
|
5479
5490
|
Zn as useLazyLoadingState,
|
|
5480
5491
|
_t as useMainClass,
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5492
|
+
pc as usePage,
|
|
5493
|
+
mc as useServices,
|
|
5494
|
+
hc as useSort,
|
|
5495
|
+
gc as useVisibilityChange,
|
|
5496
|
+
Ai as validateColumnsName
|
|
5486
5497
|
};
|