@mjsz-vbr-elements/elements 2.21.1 → 2.22.1
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 +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +330 -328
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,147 +1,148 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/elements
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.22.1 - 12/03/2025, 20:01:31
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { getCurrentScope as he, onScopeDispose as ye,
|
|
9
|
-
import { baseProps as D, playerStatsProps as
|
|
8
|
+
import { getCurrentScope as he, onScopeDispose as ye, shallowRef as Q, readonly as fe, toValue as H, watch as ne, nextTick as me, isRef as xe, ref as C, computed as m, unref as r, openBlock as z, createElementBlock as S, createVNode as y, withCtx as P, createBlock as I, createCommentVNode as E, createElementVNode as G, defineCustomElement as L } from "vue";
|
|
9
|
+
import { baseProps as D, playerStatsProps as te, teamStatsProps as U, SORT_STATE_DESCEND as J, COLUMNS_FIELD_PLAYERS_PENALTY as ze, COLUMNS_GOALIES as ke, gameProps as _e, REFRESH_DELAY as Te, COLUMNS_STANDINGS_P_3 as Ie, COLUMNS_STANDINGS_P_2 as Ee, COLUMNS_TEAM_ATTENDANCE as Ce, COLUMNS_TEAMS_FAIRPLAY as Se, COLUMNS_TEAMS_PENALTY_KILLING as Pe, COLUMNS_TEAMS_POWERPLAY as Le, COLUMNS_SCORING_EFFICIENCY as Ne } from "@mjsz-vbr-elements/core";
|
|
10
10
|
import { COLUMNS_FIELD_PLAYERS as Re, COLUMNS_FIELD_PLAYERS_TOI as Ae, COLUMNS_PLAYERS_NATIONAL as Oe } from "@mjsz-vbr-elements/core/columns";
|
|
11
|
-
import { I18NProvider as N, ErrorNotice as R, StatisticsTable as $, Paginator as
|
|
12
|
-
import { useErrorProvider as A, usePage as
|
|
13
|
-
import { rawConvert as
|
|
14
|
-
function
|
|
11
|
+
import { I18NProvider as N, ErrorNotice as R, StatisticsTable as $, Paginator as ee, TimezoneSelector as Fe, ScheduleTable as Me, AdditionalStandingsText as we } from "@mjsz-vbr-elements/core/components";
|
|
12
|
+
import { useErrorProvider as A, usePage as re, useSort as Y, fetchVBRData as O } from "@mjsz-vbr-elements/core/composables";
|
|
13
|
+
import { rawConvert as X, playerName as oe, teamName as ve, convert as F, externalTeamLinkResolver as V, externalPlayerLinkResolver as ie, convertTimesSecToMin as pe, convertTimesMinToMinSec as Be, sortGames as je, getLocalTimezone as Ke, offsetName as Ge, externalGameLinkResolver as De } from "@mjsz-vbr-elements/core/utils";
|
|
14
|
+
function be(t) {
|
|
15
15
|
return he() ? (ye(t), !0) : !1;
|
|
16
16
|
}
|
|
17
|
-
const
|
|
17
|
+
const le = typeof window < "u" && typeof document < "u";
|
|
18
18
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
19
19
|
const Ue = Object.prototype.toString, $e = (t) => Ue.call(t) === "[object Object]", ue = () => {
|
|
20
20
|
};
|
|
21
|
-
function
|
|
22
|
-
return new Promise((
|
|
23
|
-
setTimeout(e ? () =>
|
|
21
|
+
function ce(t, e = !1, o = "Timeout") {
|
|
22
|
+
return new Promise((l, d) => {
|
|
23
|
+
setTimeout(e ? () => d(o) : l, t);
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function se(t) {
|
|
27
27
|
return Array.isArray(t) ? t : [t];
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
function o(
|
|
29
|
+
function ge(t, e = !1) {
|
|
30
|
+
function o(n, { flush: s = "sync", deep: h = !1, timeout: c, throwOnTimeout: b } = {}) {
|
|
31
31
|
let f = null;
|
|
32
32
|
const k = [new Promise((i) => {
|
|
33
|
-
f =
|
|
33
|
+
f = ne(
|
|
34
34
|
t,
|
|
35
35
|
(_) => {
|
|
36
|
-
|
|
36
|
+
n(_) !== e && (f ? f() : me(() => f == null ? void 0 : f()), i(_));
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
flush: s,
|
|
40
|
-
deep:
|
|
40
|
+
deep: h,
|
|
41
41
|
immediate: !0
|
|
42
42
|
}
|
|
43
43
|
);
|
|
44
44
|
})];
|
|
45
45
|
return c != null && k.push(
|
|
46
|
-
|
|
46
|
+
ce(c, b).then(() => H(t)).finally(() => f == null ? void 0 : f())
|
|
47
47
|
), Promise.race(k);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
if (!xe(
|
|
51
|
-
return o((_) => _ ===
|
|
52
|
-
const { flush:
|
|
49
|
+
function l(n, s) {
|
|
50
|
+
if (!xe(n))
|
|
51
|
+
return o((_) => _ === n, s);
|
|
52
|
+
const { flush: h = "sync", deep: c = !1, timeout: b, throwOnTimeout: f } = s ?? {};
|
|
53
53
|
let x = null;
|
|
54
54
|
const i = [new Promise((_) => {
|
|
55
|
-
x =
|
|
56
|
-
[t,
|
|
57
|
-
([
|
|
58
|
-
e !== (
|
|
55
|
+
x = ne(
|
|
56
|
+
[t, n],
|
|
57
|
+
([T, ae]) => {
|
|
58
|
+
e !== (T === ae) && (x ? x() : me(() => x == null ? void 0 : x()), _(T));
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
flush:
|
|
61
|
+
flush: h,
|
|
62
62
|
deep: c,
|
|
63
63
|
immediate: !0
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
})];
|
|
67
|
-
return
|
|
68
|
-
|
|
67
|
+
return b != null && i.push(
|
|
68
|
+
ce(b, f).then(() => H(t)).finally(() => (x == null || x(), H(t)))
|
|
69
69
|
), Promise.race(i);
|
|
70
70
|
}
|
|
71
|
-
function n
|
|
72
|
-
return o((s) => !!s,
|
|
71
|
+
function d(n) {
|
|
72
|
+
return o((s) => !!s, n);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
return
|
|
74
|
+
function u(n) {
|
|
75
|
+
return l(null, n);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
return
|
|
77
|
+
function w(n) {
|
|
78
|
+
return l(void 0, n);
|
|
79
79
|
}
|
|
80
|
-
function g(
|
|
81
|
-
return o(Number.isNaN,
|
|
80
|
+
function g(n) {
|
|
81
|
+
return o(Number.isNaN, n);
|
|
82
82
|
}
|
|
83
|
-
function v(
|
|
84
|
-
return o((
|
|
85
|
-
const c = Array.from(
|
|
86
|
-
return c.includes(
|
|
83
|
+
function v(n, s) {
|
|
84
|
+
return o((h) => {
|
|
85
|
+
const c = Array.from(h);
|
|
86
|
+
return c.includes(n) || c.includes(H(n));
|
|
87
87
|
}, s);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return a(1,
|
|
89
|
+
function p(n) {
|
|
90
|
+
return a(1, n);
|
|
91
91
|
}
|
|
92
|
-
function a(
|
|
93
|
-
let
|
|
94
|
-
return o(() => (
|
|
92
|
+
function a(n = 1, s) {
|
|
93
|
+
let h = -1;
|
|
94
|
+
return o(() => (h += 1, h >= n), s);
|
|
95
95
|
}
|
|
96
96
|
return Array.isArray(H(t)) ? {
|
|
97
97
|
toMatch: o,
|
|
98
98
|
toContains: v,
|
|
99
|
-
changed:
|
|
99
|
+
changed: p,
|
|
100
100
|
changedTimes: a,
|
|
101
101
|
get not() {
|
|
102
|
-
return
|
|
102
|
+
return ge(t, !e);
|
|
103
103
|
}
|
|
104
104
|
} : {
|
|
105
105
|
toMatch: o,
|
|
106
|
-
toBe:
|
|
107
|
-
toBeTruthy:
|
|
108
|
-
toBeNull:
|
|
106
|
+
toBe: l,
|
|
107
|
+
toBeTruthy: d,
|
|
108
|
+
toBeNull: u,
|
|
109
109
|
toBeNaN: g,
|
|
110
|
-
toBeUndefined:
|
|
111
|
-
changed:
|
|
110
|
+
toBeUndefined: w,
|
|
111
|
+
changed: p,
|
|
112
112
|
changedTimes: a,
|
|
113
113
|
get not() {
|
|
114
|
-
return
|
|
114
|
+
return ge(t, !e);
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
function Ye(t) {
|
|
119
|
-
return
|
|
119
|
+
return ge(t);
|
|
120
120
|
}
|
|
121
121
|
function Ve(t, e, o = {}) {
|
|
122
122
|
const {
|
|
123
|
-
immediate:
|
|
124
|
-
|
|
123
|
+
immediate: l = !0,
|
|
124
|
+
immediateCallback: d = !1
|
|
125
|
+
} = o, u = Q(!1);
|
|
125
126
|
let w = null;
|
|
126
|
-
function
|
|
127
|
+
function g() {
|
|
127
128
|
w && (clearTimeout(w), w = null);
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
-
|
|
130
|
+
function v() {
|
|
131
|
+
u.value = !1, g();
|
|
131
132
|
}
|
|
132
|
-
function
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
function p(...a) {
|
|
134
|
+
d && t(), g(), u.value = !0, w = setTimeout(() => {
|
|
135
|
+
u.value = !1, w = null, t(...a);
|
|
135
136
|
}, H(e));
|
|
136
137
|
}
|
|
137
|
-
return
|
|
138
|
-
isPending: fe(
|
|
139
|
-
start:
|
|
140
|
-
stop:
|
|
138
|
+
return l && (u.value = !0, le && p()), be(v), {
|
|
139
|
+
isPending: fe(u),
|
|
140
|
+
start: p,
|
|
141
|
+
stop: v
|
|
141
142
|
};
|
|
142
143
|
}
|
|
143
144
|
function We(t, e, o) {
|
|
144
|
-
return
|
|
145
|
+
return ne(
|
|
145
146
|
t,
|
|
146
147
|
e,
|
|
147
148
|
{
|
|
@@ -150,7 +151,7 @@ function We(t, e, o) {
|
|
|
150
151
|
}
|
|
151
152
|
);
|
|
152
153
|
}
|
|
153
|
-
const qe =
|
|
154
|
+
const qe = le ? window : void 0, He = le ? window.document : void 0;
|
|
154
155
|
function Je(t) {
|
|
155
156
|
var e;
|
|
156
157
|
const o = H(t);
|
|
@@ -159,77 +160,77 @@ function Je(t) {
|
|
|
159
160
|
function Qe(...t) {
|
|
160
161
|
const e = [], o = () => {
|
|
161
162
|
e.forEach((g) => g()), e.length = 0;
|
|
162
|
-
},
|
|
163
|
-
const g =
|
|
163
|
+
}, l = (g, v, p, a) => (g.addEventListener(v, p, a), () => g.removeEventListener(v, p, a)), d = m(() => {
|
|
164
|
+
const g = se(H(t[0])).filter((v) => v != null);
|
|
164
165
|
return g.every((v) => typeof v != "string") ? g : void 0;
|
|
165
|
-
}),
|
|
166
|
+
}), u = We(
|
|
166
167
|
() => {
|
|
167
168
|
var g, v;
|
|
168
169
|
return [
|
|
169
|
-
(v = (g =
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
(v = (g = d.value) == null ? void 0 : g.map((p) => Je(p))) != null ? v : [qe].filter((p) => p != null),
|
|
171
|
+
se(H(d.value ? t[1] : t[0])),
|
|
172
|
+
se(r(d.value ? t[2] : t[1])),
|
|
172
173
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
173
|
-
H(
|
|
174
|
+
H(d.value ? t[3] : t[2])
|
|
174
175
|
];
|
|
175
176
|
},
|
|
176
|
-
([g, v,
|
|
177
|
-
if (o(), !(g != null && g.length) || !(v != null && v.length) || !(
|
|
177
|
+
([g, v, p, a]) => {
|
|
178
|
+
if (o(), !(g != null && g.length) || !(v != null && v.length) || !(p != null && p.length))
|
|
178
179
|
return;
|
|
179
|
-
const
|
|
180
|
+
const n = $e(a) ? { ...a } : a;
|
|
180
181
|
e.push(
|
|
181
182
|
...g.flatMap(
|
|
182
183
|
(s) => v.flatMap(
|
|
183
|
-
(
|
|
184
|
+
(h) => p.map((c) => l(s, h, c, n))
|
|
184
185
|
)
|
|
185
186
|
)
|
|
186
187
|
);
|
|
187
188
|
},
|
|
188
189
|
{ flush: "post" }
|
|
189
|
-
),
|
|
190
|
-
|
|
190
|
+
), w = () => {
|
|
191
|
+
u(), o();
|
|
191
192
|
};
|
|
192
|
-
return
|
|
193
|
+
return be(o), w;
|
|
193
194
|
}
|
|
194
195
|
function M(t, e, o) {
|
|
195
196
|
const {
|
|
196
|
-
immediate:
|
|
197
|
-
delay:
|
|
198
|
-
onError:
|
|
199
|
-
onSuccess:
|
|
197
|
+
immediate: l = !0,
|
|
198
|
+
delay: d = 0,
|
|
199
|
+
onError: u = ue,
|
|
200
|
+
onSuccess: w = ue,
|
|
200
201
|
resetOnExecute: g = !0,
|
|
201
202
|
shallow: v = !0,
|
|
202
|
-
throwError:
|
|
203
|
-
} = o ?? {}, a = v ?
|
|
203
|
+
throwError: p
|
|
204
|
+
} = o ?? {}, a = v ? Q(e) : C(e), n = Q(!1), s = Q(!1), h = Q(void 0);
|
|
204
205
|
async function c(x = 0, ...k) {
|
|
205
|
-
g && (a.value = e),
|
|
206
|
+
g && (a.value = e), h.value = void 0, n.value = !1, s.value = !0, x > 0 && await ce(x);
|
|
206
207
|
const i = typeof t == "function" ? t(...k) : t;
|
|
207
208
|
try {
|
|
208
209
|
const _ = await i;
|
|
209
|
-
a.value = _,
|
|
210
|
+
a.value = _, n.value = !0, w(_);
|
|
210
211
|
} catch (_) {
|
|
211
|
-
if (
|
|
212
|
+
if (h.value = _, u(_), p)
|
|
212
213
|
throw _;
|
|
213
214
|
} finally {
|
|
214
215
|
s.value = !1;
|
|
215
216
|
}
|
|
216
217
|
return a.value;
|
|
217
218
|
}
|
|
218
|
-
|
|
219
|
-
const
|
|
219
|
+
l && c(d);
|
|
220
|
+
const b = {
|
|
220
221
|
state: a,
|
|
221
|
-
isReady:
|
|
222
|
+
isReady: n,
|
|
222
223
|
isLoading: s,
|
|
223
|
-
error:
|
|
224
|
+
error: h,
|
|
224
225
|
execute: c
|
|
225
226
|
};
|
|
226
227
|
function f() {
|
|
227
228
|
return new Promise((x, k) => {
|
|
228
|
-
Ye(s).toBe(!1).then(() => x(
|
|
229
|
+
Ye(s).toBe(!1).then(() => x(b)).catch(k);
|
|
229
230
|
});
|
|
230
231
|
}
|
|
231
232
|
return {
|
|
232
|
-
...
|
|
233
|
+
...b,
|
|
233
234
|
then(x, k) {
|
|
234
235
|
return f().then(x, k);
|
|
235
236
|
}
|
|
@@ -238,45 +239,46 @@ function M(t, e, o) {
|
|
|
238
239
|
function Xe(t = {}) {
|
|
239
240
|
const { document: e = He } = t;
|
|
240
241
|
if (!e)
|
|
241
|
-
return
|
|
242
|
-
const o =
|
|
242
|
+
return Q("visible");
|
|
243
|
+
const o = Q(e.visibilityState);
|
|
243
244
|
return Qe(e, "visibilitychange", () => {
|
|
244
245
|
o.value = e.visibilityState;
|
|
245
246
|
}, { passive: !0 }), o;
|
|
246
247
|
}
|
|
247
248
|
function Ze(t, e, o = {}) {
|
|
248
249
|
const {
|
|
249
|
-
immediate:
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
function g() {
|
|
255
|
-
w.value || (w.value = !0, h());
|
|
250
|
+
immediate: l = !0,
|
|
251
|
+
immediateCallback: d = !1
|
|
252
|
+
} = o, { start: u } = Ve(g, e, { immediate: l }), w = Q(!1);
|
|
253
|
+
async function g() {
|
|
254
|
+
w.value && (await t(), u());
|
|
256
255
|
}
|
|
257
256
|
function v() {
|
|
257
|
+
w.value || (w.value = !0, d && t(), u());
|
|
258
|
+
}
|
|
259
|
+
function p() {
|
|
258
260
|
w.value = !1;
|
|
259
261
|
}
|
|
260
|
-
return
|
|
262
|
+
return l && le && v(), be(p), {
|
|
261
263
|
isActive: w,
|
|
262
|
-
pause:
|
|
263
|
-
resume:
|
|
264
|
+
pause: p,
|
|
265
|
+
resume: v
|
|
264
266
|
};
|
|
265
267
|
}
|
|
266
268
|
const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .625rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-loading-indicator-text-color: var(--vbr-widget-hover-color);--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-title-color: var(--vbr-widget-primary-color-50);--vbr-widget-top-list-title-separator-color: var(--vbr-widget-primary-color-700);--vbr-widget-top-list-value-color: var(--vbr-widget-primary-color-300);--vbr-widget-top-list-player-separator-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-image-border-color: var(--vbr-widget-primary-color-600);--vbr-widget-top-list-image-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-selector-border-color: var(--vbr-widget-primary-color-400);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-color: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-playoffs-details-bg: var(--vbr-widget-primary-color-50);--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-loading-indicator-text-color);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice button{text-decoration:underline}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", j = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', W = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", q = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", K = (t, e) => {
|
|
267
269
|
const o = t.__vccOpts || t;
|
|
268
|
-
for (const [
|
|
269
|
-
o[
|
|
270
|
+
for (const [l, d] of e)
|
|
271
|
+
o[l] = d;
|
|
270
272
|
return o;
|
|
271
273
|
}, er = {
|
|
272
274
|
__name: "FieldPlayersLeader.ce",
|
|
273
275
|
props: {
|
|
274
276
|
...D,
|
|
275
|
-
...
|
|
277
|
+
...te,
|
|
276
278
|
...U
|
|
277
279
|
},
|
|
278
280
|
setup(t) {
|
|
279
|
-
const e = t, o =
|
|
281
|
+
const e = t, o = C(null), l = Re, d = m(() => e.locale), { onError: u, error: w, hasError: g } = A(), { state: v, isLoading: p } = M(
|
|
280
282
|
() => O("/v2/players-stats", e.apiKey, {
|
|
281
283
|
championshipId: Number(e.championshipId),
|
|
282
284
|
...e.division && { division: e.division },
|
|
@@ -284,32 +286,32 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
284
286
|
}),
|
|
285
287
|
[],
|
|
286
288
|
{
|
|
287
|
-
onError: (i) =>
|
|
289
|
+
onError: (i) => u(i)
|
|
288
290
|
}
|
|
289
|
-
), { page: a, change:
|
|
291
|
+
), { page: a, change: n } = re(), { sort: s, change: h } = Y({
|
|
290
292
|
sortTarget: "points",
|
|
291
293
|
orders: [{ target: "points", direction: J }]
|
|
292
|
-
}), c = m(() =>
|
|
294
|
+
}), c = m(() => X(r(v), oe, ve)), b = m(() => F(r(c)).filter(e.teamFilterByName, ["teamName"]).sorted(s).addIndex(s.sortTarget).pagination(r(a), e.limit).value()), f = m(() => {
|
|
293
295
|
var i;
|
|
294
|
-
return (i =
|
|
296
|
+
return (i = b.value) == null ? void 0 : i.totalItems;
|
|
295
297
|
});
|
|
296
298
|
function x(i) {
|
|
297
299
|
return V(e.externalTeamResolver, { ...i, championshipId: e.championshipId });
|
|
298
300
|
}
|
|
299
301
|
function k(i) {
|
|
300
|
-
return
|
|
302
|
+
return ie(e.externalPlayerResolver, { ...i, championshipId: e.championshipId });
|
|
301
303
|
}
|
|
302
304
|
return (i, _) => (z(), S("div", null, [
|
|
303
|
-
y(r(N), { locale:
|
|
305
|
+
y(r(N), { locale: d.value }, {
|
|
304
306
|
default: P(() => [
|
|
305
|
-
r(g) ? (z(),
|
|
307
|
+
r(g) ? (z(), I(r(R), {
|
|
306
308
|
key: 0,
|
|
307
|
-
error: r(
|
|
308
|
-
}, null, 8, ["error"])) :
|
|
309
|
+
error: r(w)
|
|
310
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
309
311
|
y(r($), {
|
|
310
|
-
columns: r(
|
|
311
|
-
rows:
|
|
312
|
-
"is-loading": r(
|
|
312
|
+
columns: r(l),
|
|
313
|
+
rows: b.value.rows,
|
|
314
|
+
"is-loading": r(p),
|
|
313
315
|
"hide-columns": e.hideColumns,
|
|
314
316
|
sort: r(s),
|
|
315
317
|
"external-team-resolver": x,
|
|
@@ -317,14 +319,14 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
317
319
|
"is-team-linked": i.isTeamLinked,
|
|
318
320
|
"is-player-linked": i.isPlayerLinked,
|
|
319
321
|
"append-to": o.value,
|
|
320
|
-
onSort: r(
|
|
322
|
+
onSort: r(h)
|
|
321
323
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "is-player-linked", "append-to", "onSort"]),
|
|
322
|
-
y(r(
|
|
324
|
+
y(r(ee), {
|
|
323
325
|
page: r(a),
|
|
324
326
|
"items-per-page": e.limit,
|
|
325
327
|
"total-items": f.value,
|
|
326
328
|
"range-length": 5,
|
|
327
|
-
onChange: r(
|
|
329
|
+
onChange: r(n)
|
|
328
330
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
329
331
|
G("div", {
|
|
330
332
|
ref_key: "tooltipContainer",
|
|
@@ -339,11 +341,11 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
339
341
|
__name: "FieldPlayersPenalties.ce",
|
|
340
342
|
props: {
|
|
341
343
|
...D,
|
|
342
|
-
...
|
|
344
|
+
...te,
|
|
343
345
|
...U
|
|
344
346
|
},
|
|
345
347
|
setup(t) {
|
|
346
|
-
const e = t, o = ze,
|
|
348
|
+
const e = t, o = ze, l = C(null), d = m(() => e.locale), { onError: u, error: w, hasError: g } = A(), { state: v, isLoading: p } = M(
|
|
347
349
|
() => O("/v2/players-penalty", e.apiKey, {
|
|
348
350
|
championshipId: Number(e.championshipId),
|
|
349
351
|
...e.division && { division: e.division },
|
|
@@ -351,51 +353,51 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
351
353
|
}),
|
|
352
354
|
[],
|
|
353
355
|
{
|
|
354
|
-
onError: (i) =>
|
|
356
|
+
onError: (i) => u(i)
|
|
355
357
|
}
|
|
356
|
-
), { page: a, change:
|
|
358
|
+
), { page: a, change: n } = re(), { sort: s, change: h } = Y({
|
|
357
359
|
sortTarget: "pim",
|
|
358
360
|
orders: [{ target: "pim", direction: J }]
|
|
359
|
-
}), c = m(() =>
|
|
361
|
+
}), c = m(() => X(r(v), oe, ve)), b = m(() => F(r(c)).filter(e.teamFilterByName, [["team", "longName"]], !0).sorted(s).addIndex(s.sortTarget).pagination(r(a), e.limit).value()), f = m(() => {
|
|
360
362
|
var i;
|
|
361
|
-
return (i =
|
|
363
|
+
return (i = b.value) == null ? void 0 : i.totalItems;
|
|
362
364
|
});
|
|
363
365
|
function x(i) {
|
|
364
366
|
return V(e.externalTeamResolver, { ...i, championshipId: e.championshipId });
|
|
365
367
|
}
|
|
366
368
|
function k(i) {
|
|
367
|
-
return
|
|
369
|
+
return ie(e.externalPlayerResolver, { ...i, championshipId: e.championshipId });
|
|
368
370
|
}
|
|
369
371
|
return (i, _) => (z(), S("div", null, [
|
|
370
|
-
y(r(N), { locale:
|
|
372
|
+
y(r(N), { locale: d.value }, {
|
|
371
373
|
default: P(() => [
|
|
372
|
-
r(g) ? (z(),
|
|
374
|
+
r(g) ? (z(), I(r(R), {
|
|
373
375
|
key: 0,
|
|
374
|
-
error: r(
|
|
375
|
-
}, null, 8, ["error"])) :
|
|
376
|
+
error: r(w)
|
|
377
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
376
378
|
y(r($), {
|
|
377
379
|
columns: r(o),
|
|
378
|
-
rows:
|
|
379
|
-
"is-loading": r(
|
|
380
|
+
rows: b.value.rows,
|
|
381
|
+
"is-loading": r(p),
|
|
380
382
|
"hide-columns": e.hideColumns,
|
|
381
383
|
sort: r(s),
|
|
382
384
|
"external-team-resolver": x,
|
|
383
385
|
"external-player-resolver": k,
|
|
384
386
|
"is-team-linked": i.isTeamLinked,
|
|
385
387
|
"is-player-linked": i.isPlayerLinked,
|
|
386
|
-
"append-to":
|
|
387
|
-
onSort: r(
|
|
388
|
+
"append-to": l.value,
|
|
389
|
+
onSort: r(h)
|
|
388
390
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "is-player-linked", "append-to", "onSort"]),
|
|
389
|
-
y(r(
|
|
391
|
+
y(r(ee), {
|
|
390
392
|
page: r(a),
|
|
391
393
|
"items-per-page": e.limit,
|
|
392
394
|
"total-items": f.value,
|
|
393
395
|
"range-length": 5,
|
|
394
|
-
onChange: r(
|
|
396
|
+
onChange: r(n)
|
|
395
397
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
396
398
|
G("div", {
|
|
397
399
|
ref_key: "tooltipContainer",
|
|
398
|
-
ref:
|
|
400
|
+
ref: l
|
|
399
401
|
}, null, 512)
|
|
400
402
|
]),
|
|
401
403
|
_: 1
|
|
@@ -406,11 +408,11 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
406
408
|
__name: "FieldPlayersToi.ce",
|
|
407
409
|
props: {
|
|
408
410
|
...D,
|
|
409
|
-
...
|
|
411
|
+
...te,
|
|
410
412
|
...U
|
|
411
413
|
},
|
|
412
414
|
setup(t) {
|
|
413
|
-
const e = t, o = Ae,
|
|
415
|
+
const e = t, o = Ae, l = C(null), d = m(() => e.locale), { onError: u, error: w, hasError: g } = A(), { state: v, isLoading: p } = M(
|
|
414
416
|
() => O("/v2/players-toi", e.apiKey, {
|
|
415
417
|
championshipId: Number(e.championshipId),
|
|
416
418
|
...e.division && { division: e.division },
|
|
@@ -418,17 +420,17 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
418
420
|
}),
|
|
419
421
|
[],
|
|
420
422
|
{
|
|
421
|
-
onError: (i) =>
|
|
423
|
+
onError: (i) => u(i)
|
|
422
424
|
}
|
|
423
|
-
), { page: a, change:
|
|
425
|
+
), { page: a, change: n } = re(), { sort: s, change: h } = Y({
|
|
424
426
|
sortTarget: "toi",
|
|
425
427
|
orders: [{ target: "toi", direction: J }]
|
|
426
428
|
}), c = m(
|
|
427
|
-
() =>
|
|
429
|
+
() => X(
|
|
428
430
|
r(v),
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
431
|
+
oe,
|
|
432
|
+
ve,
|
|
433
|
+
pe([
|
|
432
434
|
"toi",
|
|
433
435
|
"atoi",
|
|
434
436
|
"eqToi",
|
|
@@ -443,46 +445,46 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
443
445
|
"sh2AToi"
|
|
444
446
|
])
|
|
445
447
|
)
|
|
446
|
-
),
|
|
448
|
+
), b = m(() => F(r(c)).filter(e.teamFilterByName, ["teamName"]).sorted(s).addIndex(s.sortTarget).pagination(r(a), e.limit).value()), f = m(() => {
|
|
447
449
|
var i;
|
|
448
|
-
return (i =
|
|
450
|
+
return (i = b.value) == null ? void 0 : i.totalItems;
|
|
449
451
|
});
|
|
450
452
|
function x(i) {
|
|
451
453
|
return V(e.externalTeamResolver, { ...i, championshipId: e.championshipId });
|
|
452
454
|
}
|
|
453
455
|
function k(i) {
|
|
454
|
-
return
|
|
456
|
+
return ie(e.externalPlayerResolver, { ...i, championshipId: e.championshipId });
|
|
455
457
|
}
|
|
456
458
|
return (i, _) => (z(), S("div", null, [
|
|
457
|
-
y(r(N), { locale:
|
|
459
|
+
y(r(N), { locale: d.value }, {
|
|
458
460
|
default: P(() => [
|
|
459
|
-
r(g) ? (z(),
|
|
461
|
+
r(g) ? (z(), I(r(R), {
|
|
460
462
|
key: 0,
|
|
461
|
-
error: r(
|
|
462
|
-
}, null, 8, ["error"])) :
|
|
463
|
+
error: r(w)
|
|
464
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
463
465
|
y(r($), {
|
|
464
466
|
columns: r(o),
|
|
465
|
-
rows:
|
|
466
|
-
"is-loading": r(
|
|
467
|
+
rows: b.value.rows,
|
|
468
|
+
"is-loading": r(p),
|
|
467
469
|
"hide-columns": e.hideColumns,
|
|
468
470
|
sort: r(s),
|
|
469
471
|
"external-team-resolver": x,
|
|
470
472
|
"external-player-resolver": k,
|
|
471
473
|
"is-team-linked": i.isTeamLinked,
|
|
472
474
|
"is-player-linked": i.isPlayerLinked,
|
|
473
|
-
"append-to":
|
|
474
|
-
onSort: r(
|
|
475
|
+
"append-to": l.value,
|
|
476
|
+
onSort: r(h)
|
|
475
477
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "is-player-linked", "append-to", "onSort"]),
|
|
476
|
-
y(r(
|
|
478
|
+
y(r(ee), {
|
|
477
479
|
page: r(a),
|
|
478
480
|
"items-per-page": e.limit,
|
|
479
481
|
"total-items": f.value,
|
|
480
482
|
"range-length": 5,
|
|
481
|
-
onChange: r(
|
|
483
|
+
onChange: r(n)
|
|
482
484
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
483
485
|
G("div", {
|
|
484
486
|
ref_key: "tooltipContainer",
|
|
485
|
-
ref:
|
|
487
|
+
ref: l
|
|
486
488
|
}, null, 512)
|
|
487
489
|
]),
|
|
488
490
|
_: 1
|
|
@@ -493,7 +495,7 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
493
495
|
__name: "GoaliesLeader.ce",
|
|
494
496
|
props: {
|
|
495
497
|
...D,
|
|
496
|
-
...
|
|
498
|
+
...te,
|
|
497
499
|
...U,
|
|
498
500
|
aboveLimit: {
|
|
499
501
|
type: Boolean,
|
|
@@ -505,7 +507,7 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
505
507
|
}
|
|
506
508
|
},
|
|
507
509
|
setup(t) {
|
|
508
|
-
const e = t, o =
|
|
510
|
+
const e = t, o = C(null), { onError: l, error: d, hasError: u } = A(), w = ke, g = m(() => e.locale), { state: v, isLoading: p } = M(
|
|
509
511
|
() => O("/v2/players-goalie", e.apiKey, {
|
|
510
512
|
championshipId: Number(e.championshipId),
|
|
511
513
|
...e.division && { division: e.division },
|
|
@@ -515,32 +517,32 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
515
517
|
}),
|
|
516
518
|
[],
|
|
517
519
|
{
|
|
518
|
-
onError: (i) =>
|
|
520
|
+
onError: (i) => l(i)
|
|
519
521
|
}
|
|
520
|
-
), { page: a, change:
|
|
522
|
+
), { page: a, change: n } = re(), { sort: s, change: h } = Y({
|
|
521
523
|
sortTarget: "svsPercent",
|
|
522
524
|
orders: [{ target: "svsPercent", direction: J }]
|
|
523
|
-
}), c = m(() =>
|
|
525
|
+
}), c = m(() => X(r(v), oe, Be(["mip"]))), b = m(() => F(r(c)).filter(e.teamFilterByName, [["team", "longName"]], !0).sorted(s).addIndex(s.sortTarget).pagination(r(a), e.limit).value()), f = m(() => {
|
|
524
526
|
var i;
|
|
525
|
-
return (i =
|
|
527
|
+
return (i = b.value) == null ? void 0 : i.totalItems;
|
|
526
528
|
});
|
|
527
529
|
function x(i) {
|
|
528
530
|
return V(e.externalTeamResolver, { ...i, championshipId: e.championshipId });
|
|
529
531
|
}
|
|
530
532
|
function k(i) {
|
|
531
|
-
return
|
|
533
|
+
return ie(e.externalPlayerResolver, { ...i, championshipId: e.championshipId });
|
|
532
534
|
}
|
|
533
535
|
return (i, _) => (z(), S("div", null, [
|
|
534
536
|
y(r(N), { locale: g.value }, {
|
|
535
537
|
default: P(() => [
|
|
536
|
-
r(
|
|
538
|
+
r(u) ? (z(), I(r(R), {
|
|
537
539
|
key: 0,
|
|
538
|
-
error: r(
|
|
539
|
-
}, null, 8, ["error"])) :
|
|
540
|
+
error: r(d)
|
|
541
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
540
542
|
y(r($), {
|
|
541
|
-
columns: r(
|
|
542
|
-
rows:
|
|
543
|
-
"is-loading": r(
|
|
543
|
+
columns: r(w),
|
|
544
|
+
rows: b.value.rows,
|
|
545
|
+
"is-loading": r(p),
|
|
544
546
|
"hide-columns": e.hideColumns,
|
|
545
547
|
sort: r(s),
|
|
546
548
|
"external-team-resolver": x,
|
|
@@ -548,14 +550,14 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
548
550
|
"is-team-linked": i.isTeamLinked,
|
|
549
551
|
"is-player-linked": i.isPlayerLinked,
|
|
550
552
|
"append-to": o.value,
|
|
551
|
-
onSort: r(
|
|
553
|
+
onSort: r(h)
|
|
552
554
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "is-player-linked", "append-to", "onSort"]),
|
|
553
|
-
y(r(
|
|
555
|
+
y(r(ee), {
|
|
554
556
|
page: r(a),
|
|
555
557
|
"items-per-page": e.limit,
|
|
556
558
|
"total-items": f.value,
|
|
557
559
|
"range-length": 5,
|
|
558
|
-
onChange: r(
|
|
560
|
+
onChange: r(n)
|
|
559
561
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
560
562
|
G("div", {
|
|
561
563
|
ref_key: "tooltipContainer",
|
|
@@ -587,51 +589,51 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
587
589
|
}
|
|
588
590
|
},
|
|
589
591
|
setup(t) {
|
|
590
|
-
const e = t, o =
|
|
592
|
+
const e = t, o = C(null), l = Oe, d = m(() => e.locale), { onError: u, error: w, hasError: g } = A(), { state: v, isLoading: p } = M(
|
|
591
593
|
() => O("/v2/players-stats-national", e.apiKey, {
|
|
592
594
|
gender: e.gender
|
|
593
595
|
}),
|
|
594
596
|
[],
|
|
595
597
|
{
|
|
596
|
-
onError: (i) =>
|
|
598
|
+
onError: (i) => u(i)
|
|
597
599
|
}
|
|
598
|
-
), { page: a, change:
|
|
600
|
+
), { page: a, change: n } = re(), { sort: s, change: h } = Y({
|
|
599
601
|
sortTarget: "gp",
|
|
600
602
|
orders: [{ target: "gp", direction: J }]
|
|
601
|
-
}), c = m(() =>
|
|
603
|
+
}), c = m(() => X(r(v), oe)), b = m(() => F(c.value).sorted(s).addIndex(s.sortTarget).pagination(r(a), e.limit).value()), f = m(() => {
|
|
602
604
|
var i;
|
|
603
|
-
return (i =
|
|
605
|
+
return (i = b.value) == null ? void 0 : i.totalItems;
|
|
604
606
|
});
|
|
605
607
|
function x(i) {
|
|
606
608
|
return V(e.externalTeamResolver, { ...i, championshipId: e.championshipId });
|
|
607
609
|
}
|
|
608
610
|
function k(i) {
|
|
609
|
-
return
|
|
611
|
+
return ie(e.externalPlayerResolver, { ...i, championshipId: e.championshipId });
|
|
610
612
|
}
|
|
611
613
|
return (i, _) => (z(), S("div", null, [
|
|
612
|
-
y(r(N), { locale:
|
|
614
|
+
y(r(N), { locale: d.value }, {
|
|
613
615
|
default: P(() => [
|
|
614
|
-
r(g) ? (z(),
|
|
616
|
+
r(g) ? (z(), I(r(R), {
|
|
615
617
|
key: 0,
|
|
616
|
-
error: r(
|
|
617
|
-
}, null, 8, ["error"])) :
|
|
618
|
+
error: r(w)
|
|
619
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
618
620
|
y(r($), {
|
|
619
|
-
columns: r(
|
|
620
|
-
rows:
|
|
621
|
-
"is-loading": r(
|
|
621
|
+
columns: r(l),
|
|
622
|
+
rows: b.value.rows,
|
|
623
|
+
"is-loading": r(p),
|
|
622
624
|
"hide-columns": e.hideColumns,
|
|
623
625
|
sort: r(s),
|
|
624
626
|
"external-team-resolver": x,
|
|
625
627
|
"external-player-resolver": k,
|
|
626
628
|
"append-to": o.value,
|
|
627
|
-
onSort: r(
|
|
629
|
+
onSort: r(h)
|
|
628
630
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "append-to", "onSort"]),
|
|
629
|
-
y(r(
|
|
631
|
+
y(r(ee), {
|
|
630
632
|
page: r(a),
|
|
631
633
|
"items-per-page": e.limit,
|
|
632
634
|
"total-items": f.value,
|
|
633
635
|
"range-length": 5,
|
|
634
|
-
onChange: r(
|
|
636
|
+
onChange: r(n)
|
|
635
637
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
636
638
|
G("div", {
|
|
637
639
|
ref_key: "tooltipContainer",
|
|
@@ -643,42 +645,42 @@ const B = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inher
|
|
|
643
645
|
]));
|
|
644
646
|
}
|
|
645
647
|
}, dr = /* @__PURE__ */ K(sr, [["styles", [B, j, W, q]]]);
|
|
646
|
-
function
|
|
648
|
+
function Z(t) {
|
|
647
649
|
return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
|
|
648
650
|
}
|
|
649
|
-
function
|
|
651
|
+
function de(t) {
|
|
650
652
|
return function e(o) {
|
|
651
|
-
return arguments.length === 0 ||
|
|
653
|
+
return arguments.length === 0 || Z(o) ? e : t.apply(this, arguments);
|
|
652
654
|
};
|
|
653
655
|
}
|
|
654
656
|
function cr(t) {
|
|
655
|
-
return function e(o,
|
|
657
|
+
return function e(o, l) {
|
|
656
658
|
switch (arguments.length) {
|
|
657
659
|
case 0:
|
|
658
660
|
return e;
|
|
659
661
|
case 1:
|
|
660
|
-
return
|
|
661
|
-
return t(o,
|
|
662
|
+
return Z(o) ? e : de(function(d) {
|
|
663
|
+
return t(o, d);
|
|
662
664
|
});
|
|
663
665
|
default:
|
|
664
|
-
return
|
|
665
|
-
return t(
|
|
666
|
-
}) :
|
|
667
|
-
return t(o,
|
|
668
|
-
}) : t(o,
|
|
666
|
+
return Z(o) && Z(l) ? e : Z(o) ? de(function(d) {
|
|
667
|
+
return t(d, l);
|
|
668
|
+
}) : Z(l) ? de(function(d) {
|
|
669
|
+
return t(o, d);
|
|
670
|
+
}) : t(o, l);
|
|
669
671
|
}
|
|
670
672
|
};
|
|
671
673
|
}
|
|
672
674
|
var gr = /* @__PURE__ */ cr(function(e, o) {
|
|
673
|
-
for (var
|
|
674
|
-
e[
|
|
675
|
-
return
|
|
675
|
+
for (var l = {}, d = 0; d < e.length; )
|
|
676
|
+
e[d] in o && (l[e[d]] = o[e[d]]), d += 1;
|
|
677
|
+
return l;
|
|
676
678
|
});
|
|
677
679
|
const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", pr = {
|
|
678
680
|
__name: "Schedule.ce",
|
|
679
681
|
props: {
|
|
680
682
|
...D,
|
|
681
|
-
...gr(["limit"],
|
|
683
|
+
...gr(["limit"], te),
|
|
682
684
|
...U,
|
|
683
685
|
..._e,
|
|
684
686
|
initialPage: {
|
|
@@ -700,8 +702,8 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
700
702
|
}
|
|
701
703
|
},
|
|
702
704
|
setup(t) {
|
|
703
|
-
const e = t, { onError: o, error:
|
|
704
|
-
state:
|
|
705
|
+
const e = t, { onError: o, error: l, hasError: d } = A(), u = m(() => e.locale), {
|
|
706
|
+
state: w,
|
|
705
707
|
isLoading: g,
|
|
706
708
|
execute: v
|
|
707
709
|
} = M(
|
|
@@ -714,64 +716,64 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
714
716
|
{
|
|
715
717
|
resetOnExecute: !1,
|
|
716
718
|
immediate: !e.autoRefresh,
|
|
717
|
-
onError: (
|
|
718
|
-
o(
|
|
719
|
+
onError: (T) => {
|
|
720
|
+
o(T), a == null || a();
|
|
719
721
|
}
|
|
720
722
|
}
|
|
721
|
-
),
|
|
723
|
+
), p = m(() => je(w.value)), { pause: a, resume: n } = Ze(v, Te, { immediate: !1 }), { page: s, change: h } = re({
|
|
722
724
|
initial: m(() => e.initialPage),
|
|
723
|
-
items:
|
|
725
|
+
items: p,
|
|
724
726
|
limit: e.limit,
|
|
725
727
|
auto: e.autoInitialPage
|
|
726
|
-
}), c =
|
|
728
|
+
}), c = C(Ke()), b = m(() => Ge(/* @__PURE__ */ new Date(), r(c), e.locale)), f = m(() => F(r(p)).filter(e.teamFilterByName, ["homeTeamName", "awayTeamName"]).schedule(r(c), r(u)).pagination(r(s), e.limit).value());
|
|
727
729
|
if (e.autoRefresh) {
|
|
728
|
-
|
|
729
|
-
const
|
|
730
|
-
|
|
731
|
-
if (
|
|
732
|
-
return
|
|
730
|
+
n();
|
|
731
|
+
const T = Xe();
|
|
732
|
+
ne(T, (ae) => {
|
|
733
|
+
if (ae === "visible")
|
|
734
|
+
return n();
|
|
733
735
|
a();
|
|
734
736
|
});
|
|
735
737
|
}
|
|
736
738
|
const x = m(() => {
|
|
737
|
-
var
|
|
738
|
-
return (
|
|
739
|
+
var T;
|
|
740
|
+
return (T = f.value) == null ? void 0 : T.totalItems;
|
|
739
741
|
});
|
|
740
|
-
function k(
|
|
741
|
-
c.value =
|
|
742
|
+
function k(T) {
|
|
743
|
+
c.value = T;
|
|
742
744
|
}
|
|
743
|
-
const i = (
|
|
744
|
-
return (
|
|
745
|
+
const i = (T) => De(e.externalGameResolver, { gameId: T }), _ = m(() => e.isGameTargetExternal ? "_blank" : "_self");
|
|
746
|
+
return (T, ae) => (z(), S("div", null, [
|
|
745
747
|
y(r(N), {
|
|
746
748
|
locale: e.locale
|
|
747
749
|
}, {
|
|
748
750
|
default: P(() => [
|
|
749
|
-
r(
|
|
751
|
+
r(d) ? (z(), I(r(R), {
|
|
750
752
|
key: 0,
|
|
751
|
-
error: r(
|
|
752
|
-
}, null, 8, ["error"])) :
|
|
753
|
-
e.timezoneSelector ? (z(),
|
|
753
|
+
error: r(l)
|
|
754
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
755
|
+
e.timezoneSelector ? (z(), I(r(Fe), {
|
|
754
756
|
key: e.locale,
|
|
755
757
|
locale: e.locale,
|
|
756
758
|
"current-zone": c.value,
|
|
757
759
|
onChange: k
|
|
758
|
-
}, null, 8, ["locale", "current-zone"])) :
|
|
760
|
+
}, null, 8, ["locale", "current-zone"])) : E("", !0),
|
|
759
761
|
y(r(Me), {
|
|
760
762
|
rows: f.value.rows,
|
|
761
763
|
"is-loading": r(g),
|
|
762
|
-
"offset-name":
|
|
764
|
+
"offset-name": b.value,
|
|
763
765
|
"hide-columns": e.hideColumns,
|
|
764
766
|
"external-game-resolver-target": _.value,
|
|
765
767
|
"external-game-resolver": i
|
|
766
768
|
}, null, 8, ["rows", "is-loading", "offset-name", "hide-columns", "external-game-resolver-target"]),
|
|
767
|
-
e.limit > 0 ? (z(),
|
|
769
|
+
e.limit > 0 ? (z(), I(r(ee), {
|
|
768
770
|
key: 2,
|
|
769
771
|
page: r(s),
|
|
770
772
|
"items-per-page": e.limit,
|
|
771
773
|
"total-items": x.value,
|
|
772
774
|
"range-length": 5,
|
|
773
|
-
onChange: r(
|
|
774
|
-
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) :
|
|
775
|
+
onChange: r(h)
|
|
776
|
+
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : E("", !0)
|
|
775
777
|
]),
|
|
776
778
|
_: 1
|
|
777
779
|
}, 8, ["locale"])
|
|
@@ -789,7 +791,7 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
789
791
|
}
|
|
790
792
|
},
|
|
791
793
|
setup(t) {
|
|
792
|
-
const e = t, o =
|
|
794
|
+
const e = t, o = C(null), { onError: l, error: d, hasError: u } = A(), w = m(() => e.locale), { state: g, isLoading: v } = M(
|
|
793
795
|
() => O("/v2/standings", e.apiKey, {
|
|
794
796
|
championshipId: Number(e.championshipId),
|
|
795
797
|
...e.division && { division: e.division },
|
|
@@ -797,36 +799,36 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
797
799
|
}),
|
|
798
800
|
[],
|
|
799
801
|
{
|
|
800
|
-
onError: (
|
|
802
|
+
onError: (b) => l(b)
|
|
801
803
|
}
|
|
802
|
-
), { sort:
|
|
803
|
-
function c(
|
|
804
|
-
return V(e.externalTeamResolver, { ...
|
|
804
|
+
), { sort: p, change: a } = Y(), n = m(() => F(r(g)).teamName().sorted(p).addContinuousIndex().value()), s = m(() => e.type === "3" ? Ie : Ee), h = (b) => a(b);
|
|
805
|
+
function c(b) {
|
|
806
|
+
return V(e.externalTeamResolver, { ...b, championshipId: e.championshipId });
|
|
805
807
|
}
|
|
806
|
-
return (
|
|
807
|
-
y(r(N), { locale:
|
|
808
|
+
return (b, f) => (z(), S("div", null, [
|
|
809
|
+
y(r(N), { locale: w.value }, {
|
|
808
810
|
default: P(() => [
|
|
809
|
-
r(
|
|
811
|
+
r(u) ? (z(), I(r(R), {
|
|
810
812
|
key: 0,
|
|
811
|
-
error: r(
|
|
812
|
-
}, null, 8, ["error"])) :
|
|
813
|
+
error: r(d)
|
|
814
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
813
815
|
y(r($), {
|
|
814
816
|
columns: s.value,
|
|
815
|
-
rows:
|
|
817
|
+
rows: n.value.rows,
|
|
816
818
|
"is-loading": r(v),
|
|
817
819
|
"hide-columns": e.hideColumns,
|
|
818
|
-
sort: r(
|
|
820
|
+
sort: r(p),
|
|
819
821
|
"external-team-resolver": c,
|
|
820
|
-
"is-team-linked":
|
|
822
|
+
"is-team-linked": b.isTeamLinked,
|
|
821
823
|
"append-to": o.value,
|
|
822
|
-
onSort:
|
|
824
|
+
onSort: h
|
|
823
825
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "append-to"]),
|
|
824
826
|
y(r(we), {
|
|
825
|
-
rows:
|
|
827
|
+
rows: n.value.rows,
|
|
826
828
|
"additional-key": "inheritedPoints"
|
|
827
829
|
}, null, 8, ["rows"]),
|
|
828
830
|
y(r(we), {
|
|
829
|
-
rows:
|
|
831
|
+
rows: n.value.rows,
|
|
830
832
|
"additional-key": "penaltyPoints"
|
|
831
833
|
}, null, 8, ["rows"]),
|
|
832
834
|
G("div", {
|
|
@@ -845,7 +847,7 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
845
847
|
...U
|
|
846
848
|
},
|
|
847
849
|
setup(t) {
|
|
848
|
-
const e = t, o = Ce,
|
|
850
|
+
const e = t, o = Ce, l = C(null), { onError: d, error: u, hasError: w } = A(), g = m(() => e.locale), { state: v, isLoading: p } = M(
|
|
849
851
|
() => O("/v2/team-attendance", e.apiKey, {
|
|
850
852
|
championshipId: Number(e.championshipId),
|
|
851
853
|
...e.division && { division: e.division },
|
|
@@ -853,36 +855,36 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
853
855
|
}),
|
|
854
856
|
[],
|
|
855
857
|
{
|
|
856
|
-
onError: (c) =>
|
|
858
|
+
onError: (c) => d(c)
|
|
857
859
|
}
|
|
858
|
-
), { sort: a, change:
|
|
860
|
+
), { sort: a, change: n } = Y({
|
|
859
861
|
sortTarget: "totalAttendanceAvg",
|
|
860
862
|
orders: [{ target: "totalAttendanceAvg", direction: J }]
|
|
861
863
|
}), s = m(() => F(r(v)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
862
|
-
function
|
|
864
|
+
function h(c) {
|
|
863
865
|
return V(e.externalTeamResolver, { ...c, championshipId: e.championshipId });
|
|
864
866
|
}
|
|
865
|
-
return (c,
|
|
867
|
+
return (c, b) => (z(), S("div", null, [
|
|
866
868
|
y(r(N), { locale: g.value }, {
|
|
867
869
|
default: P(() => [
|
|
868
|
-
r(
|
|
870
|
+
r(w) ? (z(), I(r(R), {
|
|
869
871
|
key: 0,
|
|
870
|
-
error: r(
|
|
871
|
-
}, null, 8, ["error"])) :
|
|
872
|
+
error: r(u)
|
|
873
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
872
874
|
y(r($), {
|
|
873
875
|
columns: r(o),
|
|
874
876
|
rows: s.value.rows,
|
|
875
|
-
"is-loading": r(
|
|
877
|
+
"is-loading": r(p),
|
|
876
878
|
"hide-columns": e.hideColumns,
|
|
877
879
|
sort: r(a),
|
|
878
|
-
"external-team-resolver":
|
|
880
|
+
"external-team-resolver": h,
|
|
879
881
|
"is-team-linked": c.isTeamLinked,
|
|
880
|
-
"append-to":
|
|
881
|
-
onSort: r(
|
|
882
|
+
"append-to": l.value,
|
|
883
|
+
onSort: r(n)
|
|
882
884
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "append-to", "onSort"]),
|
|
883
885
|
G("div", {
|
|
884
886
|
ref_key: "tooltipContainer",
|
|
885
|
-
ref:
|
|
887
|
+
ref: l
|
|
886
888
|
}, null, 512)
|
|
887
889
|
]),
|
|
888
890
|
_: 1
|
|
@@ -896,7 +898,7 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
896
898
|
...U
|
|
897
899
|
},
|
|
898
900
|
setup(t) {
|
|
899
|
-
const e = t, o = Se,
|
|
901
|
+
const e = t, o = Se, l = C(null), { onError: d, error: u, hasError: w } = A(), g = m(() => e.locale), { state: v, isLoading: p } = M(
|
|
900
902
|
() => O("/v2/team-fairplay", e.apiKey, {
|
|
901
903
|
championshipId: Number(e.championshipId),
|
|
902
904
|
...e.division && { division: e.division },
|
|
@@ -904,36 +906,36 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
904
906
|
}),
|
|
905
907
|
[],
|
|
906
908
|
{
|
|
907
|
-
onError: (c) =>
|
|
909
|
+
onError: (c) => d(c)
|
|
908
910
|
}
|
|
909
|
-
), { sort: a, change:
|
|
911
|
+
), { sort: a, change: n } = Y({
|
|
910
912
|
sortTarget: "pim",
|
|
911
913
|
orders: [{ target: "pim", direction: J }]
|
|
912
914
|
}), s = m(() => F(r(v)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
913
|
-
function
|
|
915
|
+
function h(c) {
|
|
914
916
|
return V(e.externalTeamResolver, { ...c, championshipId: e.championshipId });
|
|
915
917
|
}
|
|
916
|
-
return (c,
|
|
918
|
+
return (c, b) => (z(), S("div", null, [
|
|
917
919
|
y(r(N), { locale: g.value }, {
|
|
918
920
|
default: P(() => [
|
|
919
|
-
r(
|
|
921
|
+
r(w) ? (z(), I(r(R), {
|
|
920
922
|
key: 0,
|
|
921
|
-
error: r(
|
|
922
|
-
}, null, 8, ["error"])) :
|
|
923
|
+
error: r(u)
|
|
924
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
923
925
|
y(r($), {
|
|
924
926
|
columns: r(o),
|
|
925
927
|
rows: s.value.rows,
|
|
926
|
-
"is-loading": r(
|
|
928
|
+
"is-loading": r(p),
|
|
927
929
|
"hide-columns": e.hideColumns,
|
|
928
930
|
sort: r(a),
|
|
929
|
-
"external-team-resolver":
|
|
931
|
+
"external-team-resolver": h,
|
|
930
932
|
"is-team-linked": c.isTeamLinked,
|
|
931
|
-
"append-to":
|
|
932
|
-
onSort: r(
|
|
933
|
+
"append-to": l.value,
|
|
934
|
+
onSort: r(n)
|
|
933
935
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "append-to", "onSort"]),
|
|
934
936
|
G("div", {
|
|
935
937
|
ref_key: "tooltipContainer",
|
|
936
|
-
ref:
|
|
938
|
+
ref: l
|
|
937
939
|
}, null, 512)
|
|
938
940
|
]),
|
|
939
941
|
_: 1
|
|
@@ -947,7 +949,7 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
947
949
|
...U
|
|
948
950
|
},
|
|
949
951
|
setup(t) {
|
|
950
|
-
const e = t, o =
|
|
952
|
+
const e = t, o = C(null), { onError: l, error: d, hasError: u } = A(), w = Pe, g = m(() => e.locale), { state: v, isLoading: p } = M(
|
|
951
953
|
() => O("/v2/team-powerplay", e.apiKey, {
|
|
952
954
|
championshipId: Number(e.championshipId),
|
|
953
955
|
...e.division && { division: e.division },
|
|
@@ -955,32 +957,32 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
955
957
|
}),
|
|
956
958
|
[],
|
|
957
959
|
{
|
|
958
|
-
onError: (
|
|
960
|
+
onError: (b) => l(b)
|
|
959
961
|
}
|
|
960
|
-
), { sort: a, change:
|
|
962
|
+
), { sort: a, change: n } = Y({
|
|
961
963
|
sortTarget: "pkPercent",
|
|
962
964
|
orders: [{ target: "pkPercent", direction: J }]
|
|
963
|
-
}), s = m(() =>
|
|
964
|
-
function c(
|
|
965
|
-
return V(e.externalTeamResolver, { ...
|
|
965
|
+
}), s = m(() => X(r(v), pe(["dvgTime", "dvgTimePP1", "dvgTimePP2"]))), h = m(() => F(r(s)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
966
|
+
function c(b) {
|
|
967
|
+
return V(e.externalTeamResolver, { ...b, championshipId: e.championshipId });
|
|
966
968
|
}
|
|
967
|
-
return (
|
|
969
|
+
return (b, f) => (z(), S("div", null, [
|
|
968
970
|
y(r(N), { locale: g.value }, {
|
|
969
971
|
default: P(() => [
|
|
970
|
-
r(
|
|
972
|
+
r(u) ? (z(), I(r(R), {
|
|
971
973
|
key: 0,
|
|
972
|
-
error: r(
|
|
973
|
-
}, null, 8, ["error"])) :
|
|
974
|
+
error: r(d)
|
|
975
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
974
976
|
y(r($), {
|
|
975
|
-
columns: r(
|
|
976
|
-
rows:
|
|
977
|
-
"is-loading": r(
|
|
977
|
+
columns: r(w),
|
|
978
|
+
rows: h.value.rows,
|
|
979
|
+
"is-loading": r(p),
|
|
978
980
|
"hide-columns": e.hideColumns,
|
|
979
981
|
sort: r(a),
|
|
980
982
|
"external-team-resolver": c,
|
|
981
|
-
"is-team-linked":
|
|
983
|
+
"is-team-linked": b.isTeamLinked,
|
|
982
984
|
"append-to": o.value,
|
|
983
|
-
onSort: r(
|
|
985
|
+
onSort: r(n)
|
|
984
986
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "append-to", "onSort"]),
|
|
985
987
|
G("div", {
|
|
986
988
|
ref_key: "tooltipContainer",
|
|
@@ -998,7 +1000,7 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
998
1000
|
...U
|
|
999
1001
|
},
|
|
1000
1002
|
setup(t) {
|
|
1001
|
-
const e = t, o =
|
|
1003
|
+
const e = t, o = C(null), { onError: l, error: d, hasError: u } = A(), w = Le, g = m(() => e.locale), { state: v, isLoading: p } = M(
|
|
1002
1004
|
() => O("/v2/team-powerplay", e.apiKey, {
|
|
1003
1005
|
championshipId: Number(e.championshipId),
|
|
1004
1006
|
...e.division && { division: e.division },
|
|
@@ -1006,32 +1008,32 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
1006
1008
|
}),
|
|
1007
1009
|
[],
|
|
1008
1010
|
{
|
|
1009
|
-
onError: (
|
|
1011
|
+
onError: (b) => l(b)
|
|
1010
1012
|
}
|
|
1011
|
-
), { sort: a, change:
|
|
1013
|
+
), { sort: a, change: n } = Y({
|
|
1012
1014
|
sortTarget: "ppPercent",
|
|
1013
1015
|
orders: [{ target: "ppPercent", direction: J }]
|
|
1014
|
-
}), s = m(() =>
|
|
1015
|
-
function c(
|
|
1016
|
-
return V(e.externalTeamResolver, { ...
|
|
1016
|
+
}), s = m(() => X(r(v), pe(["advTime", "advTimePP1", "advTimePP2"]))), h = m(() => F(r(s)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
1017
|
+
function c(b) {
|
|
1018
|
+
return V(e.externalTeamResolver, { ...b, championshipId: e.championshipId });
|
|
1017
1019
|
}
|
|
1018
|
-
return (
|
|
1020
|
+
return (b, f) => (z(), S("div", null, [
|
|
1019
1021
|
y(r(N), { locale: g.value }, {
|
|
1020
1022
|
default: P(() => [
|
|
1021
|
-
r(
|
|
1023
|
+
r(u) ? (z(), I(r(R), {
|
|
1022
1024
|
key: 0,
|
|
1023
|
-
error: r(
|
|
1024
|
-
}, null, 8, ["error"])) :
|
|
1025
|
+
error: r(d)
|
|
1026
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
1025
1027
|
y(r($), {
|
|
1026
|
-
columns: r(
|
|
1027
|
-
rows:
|
|
1028
|
-
"is-loading": r(
|
|
1028
|
+
columns: r(w),
|
|
1029
|
+
rows: h.value.rows,
|
|
1030
|
+
"is-loading": r(p),
|
|
1029
1031
|
"hide-columns": e.hideColumns,
|
|
1030
1032
|
sort: r(a),
|
|
1031
1033
|
"external-team-resolver": c,
|
|
1032
|
-
"is-team-linked":
|
|
1034
|
+
"is-team-linked": b.isTeamLinked,
|
|
1033
1035
|
"append-to": o.value,
|
|
1034
|
-
onSort: r(
|
|
1036
|
+
onSort: r(n)
|
|
1035
1037
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "append-to", "onSort"]),
|
|
1036
1038
|
G("div", {
|
|
1037
1039
|
ref_key: "tooltipContainer",
|
|
@@ -1049,7 +1051,7 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
1049
1051
|
...U
|
|
1050
1052
|
},
|
|
1051
1053
|
setup(t) {
|
|
1052
|
-
const e = t, o = Ne,
|
|
1054
|
+
const e = t, o = Ne, l = C(null), { onError: d, error: u, hasError: w } = A(), g = m(() => e.locale), { state: v, isLoading: p } = M(
|
|
1053
1055
|
() => O("/v2/team-scoring-efficiency", e.apiKey, {
|
|
1054
1056
|
championshipId: Number(e.championshipId),
|
|
1055
1057
|
...e.division && { division: e.division },
|
|
@@ -1057,36 +1059,36 @@ const vr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;
|
|
|
1057
1059
|
}),
|
|
1058
1060
|
[],
|
|
1059
1061
|
{
|
|
1060
|
-
onError: (c) =>
|
|
1062
|
+
onError: (c) => d(c)
|
|
1061
1063
|
}
|
|
1062
|
-
), { sort: a, change:
|
|
1064
|
+
), { sort: a, change: n } = Y({
|
|
1063
1065
|
sortTarget: "sp",
|
|
1064
1066
|
orders: [{ target: "sp", direction: J }]
|
|
1065
1067
|
}), s = m(() => F(r(v)).teamName().sorted(a).addIndex(a.sortTarget).value());
|
|
1066
|
-
function
|
|
1068
|
+
function h(c) {
|
|
1067
1069
|
return V(e.externalTeamResolver, { ...c, championshipId: e.championshipId });
|
|
1068
1070
|
}
|
|
1069
|
-
return (c,
|
|
1071
|
+
return (c, b) => (z(), S("div", null, [
|
|
1070
1072
|
y(r(N), { locale: g.value }, {
|
|
1071
1073
|
default: P(() => [
|
|
1072
|
-
r(
|
|
1074
|
+
r(w) ? (z(), I(r(R), {
|
|
1073
1075
|
key: 0,
|
|
1074
|
-
error: r(
|
|
1075
|
-
}, null, 8, ["error"])) :
|
|
1076
|
+
error: r(u)
|
|
1077
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
1076
1078
|
y(r($), {
|
|
1077
1079
|
columns: r(o),
|
|
1078
1080
|
rows: s.value.rows,
|
|
1079
|
-
"is-loading": r(
|
|
1081
|
+
"is-loading": r(p),
|
|
1080
1082
|
"hide-columns": e.hideColumns,
|
|
1081
1083
|
sort: r(a),
|
|
1082
|
-
"external-team-resolver":
|
|
1084
|
+
"external-team-resolver": h,
|
|
1083
1085
|
"is-team-linked": c.isTeamLinked,
|
|
1084
|
-
"append-to":
|
|
1085
|
-
onSort: r(
|
|
1086
|
+
"append-to": l.value,
|
|
1087
|
+
onSort: r(n)
|
|
1086
1088
|
}, null, 8, ["columns", "rows", "is-loading", "hide-columns", "sort", "is-team-linked", "append-to", "onSort"]),
|
|
1087
1089
|
G("div", {
|
|
1088
1090
|
ref_key: "tooltipContainer",
|
|
1089
|
-
ref:
|
|
1091
|
+
ref: l
|
|
1090
1092
|
}, null, 512)
|
|
1091
1093
|
]),
|
|
1092
1094
|
_: 1
|