@mjsz-vbr-elements/gamecenter 2.14.3 → 2.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +3 -3
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +590 -587
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/gamecenter
|
|
3
|
-
* version: v2.14.
|
|
3
|
+
* version: v2.14.5 - 30/01/2025, 12:25:07
|
|
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 wa, onScopeDispose as xa, ref as C, isRef as ka, watch as be, readonly as Mt, toValue as X, computed as w, reactive as ft, unref as
|
|
8
|
+
import { getCurrentScope as wa, onScopeDispose as xa, ref as C, isRef as ka, watch as be, readonly as Mt, toValue as X, computed as w, reactive as ft, unref as i, getCurrentInstance as Ta, onMounted as Sa, openBlock as m, createElementBlock as b, createElementVNode as l, toDisplayString as g, createBlock as T, Fragment as k, createTextVNode as x, createCommentVNode as h, normalizeStyle as ze, renderList as N, setBlockTracking as B, createVNode as f, normalizeClass as H, renderSlot as W, withCtx as S, mergeProps as ne, toHandlers as oe, resolveDynamicComponent as Lt, TransitionGroup as za, withModifiers as $a, defineCustomElement as Ct } from "vue";
|
|
9
9
|
import { Image as U, FloatingPanel as Q, ResponsiveTable as Pa, DataTable as ja, I18NProvider as Gt, ErrorNotice as Bt } from "@mjsz-vbr-elements/core/components";
|
|
10
10
|
import { useVisibilityChange as Ea, useI18n as D, useColumns as se, useSort as Na, useServices as Z } from "@mjsz-vbr-elements/core/composables";
|
|
11
11
|
import { convertSecToMin as R, rawConvert as et, convertTimesSecToMin as Ht, convertMinToSec as Oa, format as $e, offsetName as Pe, playerName as tt, upperCase as Ia, convert as Aa } from "@mjsz-vbr-elements/core/utils";
|
|
@@ -19,8 +19,8 @@ const Da = (e) => e != null, Ma = Object.prototype.toString, La = (e) => Ma.call
|
|
|
19
19
|
};
|
|
20
20
|
function Ca(e, t) {
|
|
21
21
|
function a(...r) {
|
|
22
|
-
return new Promise((
|
|
23
|
-
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(
|
|
22
|
+
return new Promise((n, o) => {
|
|
23
|
+
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(n).catch(o);
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
return a;
|
|
@@ -34,10 +34,10 @@ function Ga(e = Ft) {
|
|
|
34
34
|
function r() {
|
|
35
35
|
t.value = !0;
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const n = (...o) => {
|
|
38
38
|
t.value && e(...o);
|
|
39
39
|
};
|
|
40
|
-
return { isActive: Mt(t), pause: a, resume: r, eventFilter:
|
|
40
|
+
return { isActive: Mt(t), pause: a, resume: r, eventFilter: n };
|
|
41
41
|
}
|
|
42
42
|
function ke(e) {
|
|
43
43
|
return Array.isArray(e) ? e : [e];
|
|
@@ -45,7 +45,7 @@ function ke(e) {
|
|
|
45
45
|
function Ba(e, t, a = {}) {
|
|
46
46
|
const {
|
|
47
47
|
eventFilter: r = Ft,
|
|
48
|
-
...
|
|
48
|
+
...n
|
|
49
49
|
} = a;
|
|
50
50
|
return be(
|
|
51
51
|
e,
|
|
@@ -53,19 +53,19 @@ function Ba(e, t, a = {}) {
|
|
|
53
53
|
r,
|
|
54
54
|
t
|
|
55
55
|
),
|
|
56
|
-
|
|
56
|
+
n
|
|
57
57
|
);
|
|
58
58
|
}
|
|
59
59
|
function Ha(e, t, a = {}) {
|
|
60
60
|
const {
|
|
61
61
|
eventFilter: r,
|
|
62
|
-
...
|
|
62
|
+
...n
|
|
63
63
|
} = a, { eventFilter: o, pause: s, resume: d, isActive: c } = Ga(r);
|
|
64
64
|
return { stop: Ba(
|
|
65
65
|
e,
|
|
66
66
|
t,
|
|
67
67
|
{
|
|
68
|
-
...
|
|
68
|
+
...n,
|
|
69
69
|
eventFilter: o
|
|
70
70
|
}
|
|
71
71
|
), pause: s, resume: d, isActive: c };
|
|
@@ -73,7 +73,7 @@ function Ha(e, t, a = {}) {
|
|
|
73
73
|
function ht(e, t = 1e3, a = {}) {
|
|
74
74
|
const {
|
|
75
75
|
immediate: r = !0,
|
|
76
|
-
immediateCallback:
|
|
76
|
+
immediateCallback: n = !1
|
|
77
77
|
} = a;
|
|
78
78
|
let o = null;
|
|
79
79
|
const s = C(!1);
|
|
@@ -85,7 +85,7 @@ function ht(e, t = 1e3, a = {}) {
|
|
|
85
85
|
}
|
|
86
86
|
function u() {
|
|
87
87
|
const p = X(t);
|
|
88
|
-
p <= 0 || (s.value = !0,
|
|
88
|
+
p <= 0 || (s.value = !0, n && e(), d(), s.value && (o = setInterval(e, p)));
|
|
89
89
|
}
|
|
90
90
|
if (r && ue && u(), ka(t) || typeof t == "function") {
|
|
91
91
|
const p = be(t, () => {
|
|
@@ -102,21 +102,21 @@ function ht(e, t = 1e3, a = {}) {
|
|
|
102
102
|
function Fa(e, t, a = {}) {
|
|
103
103
|
const {
|
|
104
104
|
immediate: r = !0
|
|
105
|
-
} = a,
|
|
105
|
+
} = a, n = C(!1);
|
|
106
106
|
let o = null;
|
|
107
107
|
function s() {
|
|
108
108
|
o && (clearTimeout(o), o = null);
|
|
109
109
|
}
|
|
110
110
|
function d() {
|
|
111
|
-
|
|
111
|
+
n.value = !1, s();
|
|
112
112
|
}
|
|
113
113
|
function c(...u) {
|
|
114
|
-
s(),
|
|
115
|
-
|
|
114
|
+
s(), n.value = !0, o = setTimeout(() => {
|
|
115
|
+
n.value = !1, o = null, e(...u);
|
|
116
116
|
}, X(t));
|
|
117
117
|
}
|
|
118
|
-
return r && (
|
|
119
|
-
isPending: Mt(
|
|
118
|
+
return r && (n.value = !0, ue && c()), ce(d), {
|
|
119
|
+
isPending: Mt(n),
|
|
120
120
|
start: c,
|
|
121
121
|
stop: d
|
|
122
122
|
};
|
|
@@ -140,18 +140,18 @@ function Te(e) {
|
|
|
140
140
|
function yt(...e) {
|
|
141
141
|
const t = [], a = () => {
|
|
142
142
|
t.forEach((d) => d()), t.length = 0;
|
|
143
|
-
}, r = (d, c, u, p) => (d.addEventListener(c, u, p), () => d.removeEventListener(c, u, p)),
|
|
143
|
+
}, r = (d, c, u, p) => (d.addEventListener(c, u, p), () => d.removeEventListener(c, u, p)), n = w(() => {
|
|
144
144
|
const d = ke(X(e[0])).filter((c) => c != null);
|
|
145
145
|
return d.every((c) => typeof c != "string") ? d : void 0;
|
|
146
146
|
}), o = Ra(
|
|
147
147
|
() => {
|
|
148
148
|
var d, c;
|
|
149
149
|
return [
|
|
150
|
-
(c = (d =
|
|
151
|
-
ke(X(
|
|
152
|
-
ke(n
|
|
150
|
+
(c = (d = n.value) == null ? void 0 : d.map((u) => Te(u))) != null ? c : [rt].filter((u) => u != null),
|
|
151
|
+
ke(X(n.value ? e[1] : e[0])),
|
|
152
|
+
ke(i(n.value ? e[2] : e[1])),
|
|
153
153
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
154
|
-
X(
|
|
154
|
+
X(n.value ? e[3] : e[2])
|
|
155
155
|
];
|
|
156
156
|
},
|
|
157
157
|
([d, c, u, p]) => {
|
|
@@ -160,8 +160,8 @@ function yt(...e) {
|
|
|
160
160
|
const v = La(p) ? { ...p } : p;
|
|
161
161
|
t.push(
|
|
162
162
|
...d.flatMap(
|
|
163
|
-
(
|
|
164
|
-
(z) => u.map((P) => r(
|
|
163
|
+
(y) => c.flatMap(
|
|
164
|
+
(z) => u.map((P) => r(y, z, P, v))
|
|
165
165
|
)
|
|
166
166
|
)
|
|
167
167
|
);
|
|
@@ -185,7 +185,7 @@ function Ua(e) {
|
|
|
185
185
|
function Va(e, t, a = {}) {
|
|
186
186
|
const {
|
|
187
187
|
root: r,
|
|
188
|
-
rootMargin:
|
|
188
|
+
rootMargin: n = "0px",
|
|
189
189
|
threshold: o = 0,
|
|
190
190
|
window: s = rt,
|
|
191
191
|
immediate: d = !0
|
|
@@ -194,7 +194,7 @@ function Va(e, t, a = {}) {
|
|
|
194
194
|
return ke(P).map(Te).filter(Da);
|
|
195
195
|
});
|
|
196
196
|
let p = Re;
|
|
197
|
-
const v = C(d),
|
|
197
|
+
const v = C(d), y = c.value ? be(
|
|
198
198
|
() => [u.value, Te(r), v.value],
|
|
199
199
|
([P, E]) => {
|
|
200
200
|
if (p(), !v.value || !P.length)
|
|
@@ -203,7 +203,7 @@ function Va(e, t, a = {}) {
|
|
|
203
203
|
t,
|
|
204
204
|
{
|
|
205
205
|
root: Te(E),
|
|
206
|
-
rootMargin:
|
|
206
|
+
rootMargin: n,
|
|
207
207
|
threshold: o
|
|
208
208
|
}
|
|
209
209
|
);
|
|
@@ -213,7 +213,7 @@ function Va(e, t, a = {}) {
|
|
|
213
213
|
},
|
|
214
214
|
{ immediate: d, flush: "post" }
|
|
215
215
|
) : Re, z = () => {
|
|
216
|
-
p(),
|
|
216
|
+
p(), y(), v.value = !1;
|
|
217
217
|
};
|
|
218
218
|
return ce(z), {
|
|
219
219
|
isSupported: c,
|
|
@@ -230,9 +230,9 @@ function Va(e, t, a = {}) {
|
|
|
230
230
|
function qa(e, t, a = {}) {
|
|
231
231
|
const {
|
|
232
232
|
immediate: r = !0
|
|
233
|
-
} = a, { start:
|
|
233
|
+
} = a, { start: n } = Fa(s, t, { immediate: !1 }), o = C(!1);
|
|
234
234
|
async function s() {
|
|
235
|
-
o.value && (await e(),
|
|
235
|
+
o.value && (await e(), n());
|
|
236
236
|
}
|
|
237
237
|
function d() {
|
|
238
238
|
o.value || (o.value = !0, s());
|
|
@@ -250,7 +250,7 @@ function it(e = "history", t = {}) {
|
|
|
250
250
|
const {
|
|
251
251
|
initialValue: a = {},
|
|
252
252
|
removeNullishValues: r = !0,
|
|
253
|
-
removeFalsyValues:
|
|
253
|
+
removeFalsyValues: n = !1,
|
|
254
254
|
write: o = !0,
|
|
255
255
|
writeMode: s = "replace",
|
|
256
256
|
window: d = rt
|
|
@@ -262,13 +262,13 @@ function it(e = "history", t = {}) {
|
|
|
262
262
|
if (e === "history")
|
|
263
263
|
return d.location.search || "";
|
|
264
264
|
if (e === "hash") {
|
|
265
|
-
const
|
|
266
|
-
return $ > 0 ?
|
|
265
|
+
const A = d.location.hash || "", $ = A.indexOf("?");
|
|
266
|
+
return $ > 0 ? A.slice($) : "";
|
|
267
267
|
} else
|
|
268
268
|
return (d.location.hash || "").replace(/^#/, "");
|
|
269
269
|
}
|
|
270
|
-
function p(
|
|
271
|
-
const $ =
|
|
270
|
+
function p(A) {
|
|
271
|
+
const $ = A.toString();
|
|
272
272
|
if (e === "history")
|
|
273
273
|
return `${$ ? `?${$}` : ""}${d.location.hash || ""}`;
|
|
274
274
|
if (e === "hash-params")
|
|
@@ -279,34 +279,34 @@ function it(e = "history", t = {}) {
|
|
|
279
279
|
function v() {
|
|
280
280
|
return new URLSearchParams(u());
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function y(A) {
|
|
283
283
|
const $ = new Set(Object.keys(c));
|
|
284
|
-
for (const L of
|
|
285
|
-
const V =
|
|
286
|
-
c[L] = V.length > 1 ? V :
|
|
284
|
+
for (const L of A.keys()) {
|
|
285
|
+
const V = A.getAll(L);
|
|
286
|
+
c[L] = V.length > 1 ? V : A.get(L) || "", $.delete(L);
|
|
287
287
|
}
|
|
288
288
|
Array.from($).forEach((L) => delete c[L]);
|
|
289
289
|
}
|
|
290
290
|
const { pause: z, resume: P } = Ha(
|
|
291
291
|
c,
|
|
292
292
|
() => {
|
|
293
|
-
const
|
|
293
|
+
const A = new URLSearchParams("");
|
|
294
294
|
Object.keys(c).forEach(($) => {
|
|
295
295
|
const L = c[$];
|
|
296
|
-
Array.isArray(L) ? L.forEach((V) =>
|
|
297
|
-
}), E(
|
|
296
|
+
Array.isArray(L) ? L.forEach((V) => A.append($, V)) : r && L == null || n && !L ? A.delete($) : A.set($, L);
|
|
297
|
+
}), E(A, !1);
|
|
298
298
|
},
|
|
299
299
|
{ deep: !0 }
|
|
300
300
|
);
|
|
301
|
-
function E(
|
|
302
|
-
z(), $ &&
|
|
301
|
+
function E(A, $) {
|
|
302
|
+
z(), $ && y(A), s === "replace" ? d.history.replaceState(
|
|
303
303
|
d.history.state,
|
|
304
304
|
d.document.title,
|
|
305
|
-
d.location.pathname + p(
|
|
305
|
+
d.location.pathname + p(A)
|
|
306
306
|
) : d.history.pushState(
|
|
307
307
|
d.history.state,
|
|
308
308
|
d.document.title,
|
|
309
|
-
d.location.pathname + p(
|
|
309
|
+
d.location.pathname + p(A)
|
|
310
310
|
), P();
|
|
311
311
|
}
|
|
312
312
|
function j() {
|
|
@@ -315,7 +315,7 @@ function it(e = "history", t = {}) {
|
|
|
315
315
|
const G = { passive: !0 };
|
|
316
316
|
yt(d, "popstate", j, G), e !== "history" && yt(d, "hashchange", j, G);
|
|
317
317
|
const ie = v();
|
|
318
|
-
return ie.keys().next().value ?
|
|
318
|
+
return ie.keys().next().value ? y(ie) : Object.assign(c, a), c;
|
|
319
319
|
}
|
|
320
320
|
function O(e) {
|
|
321
321
|
return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
|
|
@@ -331,14 +331,14 @@ function _(e) {
|
|
|
331
331
|
case 0:
|
|
332
332
|
return t;
|
|
333
333
|
case 1:
|
|
334
|
-
return O(a) ? t : M(function(
|
|
335
|
-
return e(a,
|
|
334
|
+
return O(a) ? t : M(function(n) {
|
|
335
|
+
return e(a, n);
|
|
336
336
|
});
|
|
337
337
|
default:
|
|
338
|
-
return O(a) && O(r) ? t : O(a) ? M(function(
|
|
339
|
-
return e(
|
|
340
|
-
}) : O(r) ? M(function(
|
|
341
|
-
return e(a,
|
|
338
|
+
return O(a) && O(r) ? t : O(a) ? M(function(n) {
|
|
339
|
+
return e(n, r);
|
|
340
|
+
}) : O(r) ? M(function(n) {
|
|
341
|
+
return e(a, n);
|
|
342
342
|
}) : e(a, r);
|
|
343
343
|
}
|
|
344
344
|
};
|
|
@@ -358,35 +358,35 @@ function De(e, t) {
|
|
|
358
358
|
return t.apply(this, arguments);
|
|
359
359
|
};
|
|
360
360
|
case 3:
|
|
361
|
-
return function(a, r,
|
|
361
|
+
return function(a, r, n) {
|
|
362
362
|
return t.apply(this, arguments);
|
|
363
363
|
};
|
|
364
364
|
case 4:
|
|
365
|
-
return function(a, r,
|
|
365
|
+
return function(a, r, n, o) {
|
|
366
366
|
return t.apply(this, arguments);
|
|
367
367
|
};
|
|
368
368
|
case 5:
|
|
369
|
-
return function(a, r,
|
|
369
|
+
return function(a, r, n, o, s) {
|
|
370
370
|
return t.apply(this, arguments);
|
|
371
371
|
};
|
|
372
372
|
case 6:
|
|
373
|
-
return function(a, r,
|
|
373
|
+
return function(a, r, n, o, s, d) {
|
|
374
374
|
return t.apply(this, arguments);
|
|
375
375
|
};
|
|
376
376
|
case 7:
|
|
377
|
-
return function(a, r,
|
|
377
|
+
return function(a, r, n, o, s, d, c) {
|
|
378
378
|
return t.apply(this, arguments);
|
|
379
379
|
};
|
|
380
380
|
case 8:
|
|
381
|
-
return function(a, r,
|
|
381
|
+
return function(a, r, n, o, s, d, c, u) {
|
|
382
382
|
return t.apply(this, arguments);
|
|
383
383
|
};
|
|
384
384
|
case 9:
|
|
385
|
-
return function(a, r,
|
|
385
|
+
return function(a, r, n, o, s, d, c, u, p) {
|
|
386
386
|
return t.apply(this, arguments);
|
|
387
387
|
};
|
|
388
388
|
case 10:
|
|
389
|
-
return function(a, r,
|
|
389
|
+
return function(a, r, n, o, s, d, c, u, p, v) {
|
|
390
390
|
return t.apply(this, arguments);
|
|
391
391
|
};
|
|
392
392
|
default:
|
|
@@ -395,9 +395,9 @@ function De(e, t) {
|
|
|
395
395
|
}
|
|
396
396
|
function nt(e, t, a) {
|
|
397
397
|
return function() {
|
|
398
|
-
for (var r = [],
|
|
398
|
+
for (var r = [], n = 0, o = e, s = 0, d = !1; s < t.length || n < arguments.length; ) {
|
|
399
399
|
var c;
|
|
400
|
-
s < t.length && (!O(t[s]) ||
|
|
400
|
+
s < t.length && (!O(t[s]) || n >= arguments.length) ? c = t[s] : (c = arguments[n], n += 1), r[s] = c, O(c) ? d = !0 : o -= 1, s += 1;
|
|
401
401
|
}
|
|
402
402
|
return !d && o <= 0 ? a.apply(this, r) : De(Math.max(0, o), nt(e, r, a));
|
|
403
403
|
};
|
|
@@ -406,7 +406,7 @@ var ot = /* @__PURE__ */ _(function(t, a) {
|
|
|
406
406
|
return t === 1 ? M(a) : De(t, nt(t, [], a));
|
|
407
407
|
});
|
|
408
408
|
function de(e) {
|
|
409
|
-
return function t(a, r,
|
|
409
|
+
return function t(a, r, n) {
|
|
410
410
|
switch (arguments.length) {
|
|
411
411
|
case 0:
|
|
412
412
|
return t;
|
|
@@ -423,19 +423,19 @@ function de(e) {
|
|
|
423
423
|
return e(a, r, o);
|
|
424
424
|
});
|
|
425
425
|
default:
|
|
426
|
-
return O(a) && O(r) && O(
|
|
427
|
-
return e(o, s,
|
|
428
|
-
}) : O(a) && O(
|
|
426
|
+
return O(a) && O(r) && O(n) ? t : O(a) && O(r) ? _(function(o, s) {
|
|
427
|
+
return e(o, s, n);
|
|
428
|
+
}) : O(a) && O(n) ? _(function(o, s) {
|
|
429
429
|
return e(o, r, s);
|
|
430
|
-
}) : O(r) && O(
|
|
430
|
+
}) : O(r) && O(n) ? _(function(o, s) {
|
|
431
431
|
return e(a, o, s);
|
|
432
432
|
}) : O(a) ? M(function(o) {
|
|
433
|
-
return e(o, r,
|
|
433
|
+
return e(o, r, n);
|
|
434
434
|
}) : O(r) ? M(function(o) {
|
|
435
|
-
return e(a, o,
|
|
436
|
-
}) : O(
|
|
435
|
+
return e(a, o, n);
|
|
436
|
+
}) : O(n) ? M(function(o) {
|
|
437
437
|
return e(a, r, o);
|
|
438
|
-
}) : e(a, r,
|
|
438
|
+
}) : e(a, r, n);
|
|
439
439
|
}
|
|
440
440
|
};
|
|
441
441
|
}
|
|
@@ -451,10 +451,10 @@ function st(e, t, a) {
|
|
|
451
451
|
return a();
|
|
452
452
|
var r = arguments[arguments.length - 1];
|
|
453
453
|
if (!Me(r)) {
|
|
454
|
-
for (var
|
|
455
|
-
if (typeof r[e[
|
|
456
|
-
return r[e[
|
|
457
|
-
|
|
454
|
+
for (var n = 0; n < e.length; ) {
|
|
455
|
+
if (typeof r[e[n]] == "function")
|
|
456
|
+
return r[e[n]].apply(r, Array.prototype.slice.call(arguments, 0, -1));
|
|
457
|
+
n += 1;
|
|
458
458
|
}
|
|
459
459
|
if (Ya(r)) {
|
|
460
460
|
var o = t.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
@@ -484,7 +484,7 @@ function wt(e) {
|
|
|
484
484
|
return t;
|
|
485
485
|
}
|
|
486
486
|
function xt(e, t, a) {
|
|
487
|
-
for (var r = 0,
|
|
487
|
+
for (var r = 0, n = a.length; r < n; ) {
|
|
488
488
|
if (e(t, a[r]))
|
|
489
489
|
return !0;
|
|
490
490
|
r += 1;
|
|
@@ -524,36 +524,36 @@ var kt = Object.prototype.toString, Rt = /* @__PURE__ */ function() {
|
|
|
524
524
|
} : function(t) {
|
|
525
525
|
if (Object(t) !== t)
|
|
526
526
|
return [];
|
|
527
|
-
var a, r,
|
|
527
|
+
var a, r, n = [], o = St && Rt(t);
|
|
528
528
|
for (a in t)
|
|
529
|
-
le(a, t) && (!o || a !== "length") && (
|
|
529
|
+
le(a, t) && (!o || a !== "length") && (n[n.length] = a);
|
|
530
530
|
if (Za)
|
|
531
531
|
for (r = Tt.length - 1; r >= 0; )
|
|
532
|
-
a = Tt[r], le(a, t) && !Xa(
|
|
533
|
-
return
|
|
532
|
+
a = Tt[r], le(a, t) && !Xa(n, a) && (n[n.length] = a), r -= 1;
|
|
533
|
+
return n;
|
|
534
534
|
}), qe = /* @__PURE__ */ M(function(t) {
|
|
535
535
|
return t === null ? "Null" : t === void 0 ? "Undefined" : Object.prototype.toString.call(t).slice(8, -1);
|
|
536
536
|
});
|
|
537
537
|
function zt(e, t, a, r) {
|
|
538
|
-
var
|
|
538
|
+
var n = wt(e), o = wt(t);
|
|
539
539
|
function s(d, c) {
|
|
540
540
|
return lt(d, c, a.slice(), r.slice());
|
|
541
541
|
}
|
|
542
542
|
return !xt(function(d, c) {
|
|
543
543
|
return !xt(s, c, d);
|
|
544
|
-
}, o,
|
|
544
|
+
}, o, n);
|
|
545
545
|
}
|
|
546
546
|
function lt(e, t, a, r) {
|
|
547
547
|
if (Ke(e, t))
|
|
548
548
|
return !0;
|
|
549
|
-
var
|
|
550
|
-
if (
|
|
549
|
+
var n = qe(e);
|
|
550
|
+
if (n !== qe(t))
|
|
551
551
|
return !1;
|
|
552
552
|
if (typeof e["fantasy-land/equals"] == "function" || typeof t["fantasy-land/equals"] == "function")
|
|
553
553
|
return typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t) && typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e);
|
|
554
554
|
if (typeof e.equals == "function" || typeof t.equals == "function")
|
|
555
555
|
return typeof e.equals == "function" && e.equals(t) && typeof t.equals == "function" && t.equals(e);
|
|
556
|
-
switch (
|
|
556
|
+
switch (n) {
|
|
557
557
|
case "Arguments":
|
|
558
558
|
case "Array":
|
|
559
559
|
case "Object":
|
|
@@ -582,7 +582,7 @@ function lt(e, t, a, r) {
|
|
|
582
582
|
return r[o] === t;
|
|
583
583
|
o -= 1;
|
|
584
584
|
}
|
|
585
|
-
switch (
|
|
585
|
+
switch (n) {
|
|
586
586
|
case "Map":
|
|
587
587
|
return e.size !== t.size ? !1 : zt(e.entries(), t.entries(), a.concat([e]), r.concat([t]));
|
|
588
588
|
case "Set":
|
|
@@ -626,20 +626,20 @@ var Le = /* @__PURE__ */ _(function(t, a) {
|
|
|
626
626
|
return lt(t, a, [], []);
|
|
627
627
|
});
|
|
628
628
|
function er(e, t, a) {
|
|
629
|
-
var r,
|
|
629
|
+
var r, n;
|
|
630
630
|
if (typeof e.indexOf == "function")
|
|
631
631
|
switch (typeof t) {
|
|
632
632
|
case "number":
|
|
633
633
|
if (t === 0) {
|
|
634
634
|
for (r = 1 / t; a < e.length; ) {
|
|
635
|
-
if (
|
|
635
|
+
if (n = e[a], n === 0 && 1 / n === r)
|
|
636
636
|
return a;
|
|
637
637
|
a += 1;
|
|
638
638
|
}
|
|
639
639
|
return -1;
|
|
640
640
|
} else if (t !== t) {
|
|
641
641
|
for (; a < e.length; ) {
|
|
642
|
-
if (
|
|
642
|
+
if (n = e[a], typeof n == "number" && n !== n)
|
|
643
643
|
return a;
|
|
644
644
|
a += 1;
|
|
645
645
|
}
|
|
@@ -667,9 +667,9 @@ function tr(e, t) {
|
|
|
667
667
|
return er(t, e, 0) >= 0;
|
|
668
668
|
}
|
|
669
669
|
function Se(e, t) {
|
|
670
|
-
for (var a = 0, r = t.length,
|
|
671
|
-
|
|
672
|
-
return
|
|
670
|
+
for (var a = 0, r = t.length, n = Array(r); a < r; )
|
|
671
|
+
n[a] = e(t[a]), a += 1;
|
|
672
|
+
return n;
|
|
673
673
|
}
|
|
674
674
|
function Ue(e) {
|
|
675
675
|
var t = e.replace(/\\/g, "\\\\").replace(/[\b]/g, "\\b").replace(/\f/g, "\\f").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t").replace(/\v/g, "\\v").replace(/\0/g, "\\0");
|
|
@@ -688,14 +688,14 @@ function rr(e) {
|
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
690
|
function Kt(e, t, a) {
|
|
691
|
-
for (var r = 0,
|
|
691
|
+
for (var r = 0, n = a.length; r < n; )
|
|
692
692
|
t = e(t, a[r]), r += 1;
|
|
693
693
|
return t;
|
|
694
694
|
}
|
|
695
695
|
function ir(e, t) {
|
|
696
|
-
for (var a = 0, r = t.length,
|
|
697
|
-
e(t[a]) && (
|
|
698
|
-
return
|
|
696
|
+
for (var a = 0, r = t.length, n = []; a < r; )
|
|
697
|
+
e(t[a]) && (n[n.length] = t[a]), a += 1;
|
|
698
|
+
return n;
|
|
699
699
|
}
|
|
700
700
|
function Ut(e) {
|
|
701
701
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
@@ -757,9 +757,9 @@ function qt(e, t) {
|
|
|
757
757
|
return "undefined";
|
|
758
758
|
default:
|
|
759
759
|
if (typeof e.toString == "function") {
|
|
760
|
-
var
|
|
761
|
-
if (
|
|
762
|
-
return
|
|
760
|
+
var n = e.toString();
|
|
761
|
+
if (n !== "[object Object]")
|
|
762
|
+
return n;
|
|
763
763
|
}
|
|
764
764
|
return "{" + r(e, ee(e)).join(", ") + "}";
|
|
765
765
|
}
|
|
@@ -773,9 +773,9 @@ var je = /* @__PURE__ */ M(function(t) {
|
|
|
773
773
|
if (c > u != u > c)
|
|
774
774
|
return u > c ? u : c;
|
|
775
775
|
}
|
|
776
|
-
var
|
|
777
|
-
if (
|
|
778
|
-
return
|
|
776
|
+
var n = r(t, a);
|
|
777
|
+
if (n !== void 0)
|
|
778
|
+
return n;
|
|
779
779
|
var o = r(typeof t, typeof a);
|
|
780
780
|
if (o !== void 0)
|
|
781
781
|
return o === typeof t ? t : a;
|
|
@@ -799,8 +799,8 @@ var je = /* @__PURE__ */ M(function(t) {
|
|
|
799
799
|
return t.call(this, a.apply(this, arguments));
|
|
800
800
|
});
|
|
801
801
|
case "[object Object]":
|
|
802
|
-
return Kt(function(r,
|
|
803
|
-
return r[
|
|
802
|
+
return Kt(function(r, n) {
|
|
803
|
+
return r[n] = t(a[n]), r;
|
|
804
804
|
}, {}, ee(a));
|
|
805
805
|
default:
|
|
806
806
|
return Se(t, a);
|
|
@@ -825,24 +825,24 @@ var re = /* @__PURE__ */ _(function(t, a) {
|
|
|
825
825
|
return Me(t) ? !0 : !t || typeof t != "object" || Ce(t) ? !1 : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
|
|
826
826
|
}), $t = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
827
827
|
function gr(e, t, a) {
|
|
828
|
-
return function(
|
|
828
|
+
return function(n, o, s) {
|
|
829
829
|
if (mr(s))
|
|
830
|
-
return e(
|
|
830
|
+
return e(n, o, s);
|
|
831
831
|
if (s == null)
|
|
832
832
|
return o;
|
|
833
833
|
if (typeof s["fantasy-land/reduce"] == "function")
|
|
834
|
-
return t(
|
|
834
|
+
return t(n, o, s, "fantasy-land/reduce");
|
|
835
835
|
if (s[$t] != null)
|
|
836
|
-
return a(
|
|
836
|
+
return a(n, o, s[$t]());
|
|
837
837
|
if (typeof s.next == "function")
|
|
838
|
-
return a(
|
|
838
|
+
return a(n, o, s);
|
|
839
839
|
if (typeof s.reduce == "function")
|
|
840
|
-
return t(
|
|
840
|
+
return t(n, o, s, "reduce");
|
|
841
841
|
throw new TypeError("reduce: list must be array or iterable");
|
|
842
842
|
};
|
|
843
843
|
}
|
|
844
844
|
function ur(e, t, a) {
|
|
845
|
-
for (var r = 0,
|
|
845
|
+
for (var r = 0, n = a.length; r < n; ) {
|
|
846
846
|
if (t = e["@@transducer/step"](t, a[r]), t && t["@@transducer/reduced"]) {
|
|
847
847
|
t = t["@@transducer/value"];
|
|
848
848
|
break;
|
|
@@ -896,9 +896,9 @@ var ct = /* @__PURE__ */ de(function(e, t, a) {
|
|
|
896
896
|
return !0;
|
|
897
897
|
});
|
|
898
898
|
}), Zt = /* @__PURE__ */ M(function(t) {
|
|
899
|
-
for (var a = ee(t), r = a.length,
|
|
900
|
-
|
|
901
|
-
return
|
|
899
|
+
for (var a = ee(t), r = a.length, n = [], o = 0; o < r; )
|
|
900
|
+
n[o] = t[a[o]], o += 1;
|
|
901
|
+
return n;
|
|
902
902
|
});
|
|
903
903
|
function yr(e) {
|
|
904
904
|
var t = Object.prototype.toString.call(e);
|
|
@@ -953,8 +953,8 @@ var xr = /* @__PURE__ */ function() {
|
|
|
953
953
|
this.map = {}, this.length = 0;
|
|
954
954
|
}
|
|
955
955
|
return e.prototype.set = function(t, a) {
|
|
956
|
-
var r = this.hash(t),
|
|
957
|
-
|
|
956
|
+
var r = this.hash(t), n = this.map[r];
|
|
957
|
+
n || (this.map[r] = n = []), n.push([t, a]), this.length += 1;
|
|
958
958
|
}, e.prototype.hash = function(t) {
|
|
959
959
|
var a = [];
|
|
960
960
|
for (var r in t)
|
|
@@ -964,18 +964,18 @@ var xr = /* @__PURE__ */ function() {
|
|
|
964
964
|
if (this.length <= 180) {
|
|
965
965
|
for (var a in this.map)
|
|
966
966
|
for (var s = this.map[a], r = 0; r < s.length; r += 1) {
|
|
967
|
-
var
|
|
968
|
-
if (
|
|
969
|
-
return
|
|
967
|
+
var n = s[r];
|
|
968
|
+
if (n[0] === t)
|
|
969
|
+
return n[1];
|
|
970
970
|
}
|
|
971
971
|
return;
|
|
972
972
|
}
|
|
973
973
|
var o = this.hash(t), s = this.map[o];
|
|
974
974
|
if (s)
|
|
975
975
|
for (var r = 0; r < s.length; r += 1) {
|
|
976
|
-
var
|
|
977
|
-
if (
|
|
978
|
-
return
|
|
976
|
+
var n = s[r];
|
|
977
|
+
if (n[0] === t)
|
|
978
|
+
return n[1];
|
|
979
979
|
}
|
|
980
980
|
}, e;
|
|
981
981
|
}();
|
|
@@ -1010,8 +1010,8 @@ function ae() {
|
|
|
1010
1010
|
return zr.apply(this, Ge(arguments));
|
|
1011
1011
|
}
|
|
1012
1012
|
var $r = /* @__PURE__ */ function() {
|
|
1013
|
-
function e(t, a, r,
|
|
1014
|
-
this.valueFn = t, this.valueAcc = a, this.keyFn = r, this.xf =
|
|
1013
|
+
function e(t, a, r, n) {
|
|
1014
|
+
this.valueFn = t, this.valueAcc = a, this.keyFn = r, this.xf = n, this.inputs = {};
|
|
1015
1015
|
}
|
|
1016
1016
|
return e.prototype["@@transducer/init"] = ve.init, e.prototype["@@transducer/result"] = function(t) {
|
|
1017
1017
|
var a;
|
|
@@ -1031,15 +1031,15 @@ function Pr(e, t, a) {
|
|
|
1031
1031
|
return new $r(e, t, a, r);
|
|
1032
1032
|
};
|
|
1033
1033
|
}
|
|
1034
|
-
var jr = /* @__PURE__ */ nt(4, [], /* @__PURE__ */ st([], Pr, function(t, a, r,
|
|
1034
|
+
var jr = /* @__PURE__ */ nt(4, [], /* @__PURE__ */ st([], Pr, function(t, a, r, n) {
|
|
1035
1035
|
var o = Jt(function(s, d) {
|
|
1036
1036
|
var c = r(d), u = t(le(c, s) ? s[c] : ea(a), d);
|
|
1037
1037
|
return u && u["@@transducer/reduced"] ? Wa(s) : (s[c] = u, s);
|
|
1038
1038
|
});
|
|
1039
|
-
return Qt(o, {},
|
|
1039
|
+
return Qt(o, {}, n);
|
|
1040
1040
|
})), ta = /* @__PURE__ */ de(function(t, a, r) {
|
|
1041
|
-
var
|
|
1042
|
-
return
|
|
1041
|
+
var n = t(a), o = t(r);
|
|
1042
|
+
return n > o ? -1 : n < o ? 1 : 0;
|
|
1043
1043
|
});
|
|
1044
1044
|
function Er(e) {
|
|
1045
1045
|
var t = Object.prototype.toString.call(e);
|
|
@@ -1056,10 +1056,10 @@ function Or(e) {
|
|
|
1056
1056
|
if (e == null)
|
|
1057
1057
|
throw new TypeError("Cannot convert undefined or null to object");
|
|
1058
1058
|
for (var t = Object(e), a = 1, r = arguments.length; a < r; ) {
|
|
1059
|
-
var
|
|
1060
|
-
if (
|
|
1061
|
-
for (var o in
|
|
1062
|
-
le(o,
|
|
1059
|
+
var n = arguments[a];
|
|
1060
|
+
if (n != null)
|
|
1061
|
+
for (var o in n)
|
|
1062
|
+
le(o, n) && (t[o] = n[o]);
|
|
1063
1063
|
a += 1;
|
|
1064
1064
|
}
|
|
1065
1065
|
return t;
|
|
@@ -1072,15 +1072,15 @@ var gt = /* @__PURE__ */ _(function(t, a) {
|
|
|
1072
1072
|
return r[a].apply(r, Array.prototype.slice.call(arguments, 0, t));
|
|
1073
1073
|
throw new TypeError(je(r) + ' does not have a method named "' + a + '"');
|
|
1074
1074
|
});
|
|
1075
|
-
}),
|
|
1075
|
+
}), I = /* @__PURE__ */ M(function(t) {
|
|
1076
1076
|
return t != null && Le(t, Nr(t));
|
|
1077
1077
|
}), Pt = /* @__PURE__ */ gt(1, "join");
|
|
1078
1078
|
function Ar(e, t) {
|
|
1079
1079
|
for (var a = t, r = 0; r < e.length; r += 1) {
|
|
1080
1080
|
if (a == null)
|
|
1081
1081
|
return;
|
|
1082
|
-
var
|
|
1083
|
-
Yt(
|
|
1082
|
+
var n = e[r];
|
|
1083
|
+
Yt(n) ? a = Wt(n, a) : a = a[n];
|
|
1084
1084
|
}
|
|
1085
1085
|
return a;
|
|
1086
1086
|
}
|
|
@@ -1089,22 +1089,22 @@ var _r = /* @__PURE__ */ _(function(t, a) {
|
|
|
1089
1089
|
}), Dr = /* @__PURE__ */ de(function(t, a, r) {
|
|
1090
1090
|
return Le(Ar(a, r), t);
|
|
1091
1091
|
}), aa = /* @__PURE__ */ _(function(t, a) {
|
|
1092
|
-
for (var r = {},
|
|
1093
|
-
t[
|
|
1092
|
+
for (var r = {}, n = 0; n < t.length; )
|
|
1093
|
+
t[n] in a && (r[t[n]] = a[t[n]]), n += 1;
|
|
1094
1094
|
return r;
|
|
1095
1095
|
}), ut = /* @__PURE__ */ de(function(t, a, r) {
|
|
1096
1096
|
return Le(t, re(a, r));
|
|
1097
1097
|
}), vt = /* @__PURE__ */ de(function(t, a, r) {
|
|
1098
1098
|
return r.replace(t, a);
|
|
1099
1099
|
}), ra = /* @__PURE__ */ _(function(t, a) {
|
|
1100
|
-
return Array.prototype.slice.call(a, 0).sort(function(r,
|
|
1101
|
-
var o = t(r), s = t(
|
|
1100
|
+
return Array.prototype.slice.call(a, 0).sort(function(r, n) {
|
|
1101
|
+
var o = t(r), s = t(n);
|
|
1102
1102
|
return o < s ? -1 : o > s ? 1 : 0;
|
|
1103
1103
|
});
|
|
1104
1104
|
}), ia = /* @__PURE__ */ _(function(t, a) {
|
|
1105
|
-
return Array.prototype.slice.call(a, 0).sort(function(r,
|
|
1105
|
+
return Array.prototype.slice.call(a, 0).sort(function(r, n) {
|
|
1106
1106
|
for (var o = 0, s = 0; o === 0 && s < t.length; )
|
|
1107
|
-
o = t[s](r,
|
|
1107
|
+
o = t[s](r, n), s += 1;
|
|
1108
1108
|
return o;
|
|
1109
1109
|
});
|
|
1110
1110
|
}), Ye = /* @__PURE__ */ gt(1, "split");
|
|
@@ -1313,38 +1313,38 @@ function Mi(e, t) {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
function Et(e, t, a, r) {
|
|
1315
1315
|
var d, c, u, p;
|
|
1316
|
-
const
|
|
1316
|
+
const n = [];
|
|
1317
1317
|
let o = 0, s = 0;
|
|
1318
1318
|
for (let v = 0; v < e.length; v++)
|
|
1319
|
-
|
|
1320
|
-
return `(${
|
|
1319
|
+
n.push(`${((d = e[v][t]) == null ? void 0 : d[r]) ?? 0}:${((c = e[v][a]) == null ? void 0 : c[r]) ?? 0}`), o = o + (((u = e[v][t]) == null ? void 0 : u[r]) ?? 0), s = s + (((p = e[v][a]) == null ? void 0 : p[r]) ?? 0);
|
|
1320
|
+
return `(${n.join(", ")}) ${o}:${s}`;
|
|
1321
1321
|
}
|
|
1322
1322
|
function Li(e, t, a, r) {
|
|
1323
1323
|
var d, c, u, p;
|
|
1324
|
-
const
|
|
1324
|
+
const n = [];
|
|
1325
1325
|
let o = 0, s = 0;
|
|
1326
1326
|
for (let v = 0; v < e.length; v++)
|
|
1327
|
-
|
|
1328
|
-
return `(${
|
|
1327
|
+
n.push(`${((d = e[v][t]) == null ? void 0 : d[r]) ?? 0}:${((c = e[v][a]) == null ? void 0 : c[r]) ?? 0}`), o = o + (((u = e[v][t]) == null ? void 0 : u[r]) ?? 0), s = s + (((p = e[v][a]) == null ? void 0 : p[r]) ?? 0);
|
|
1328
|
+
return `(${n.join(", ")}) ${o}:${s}`;
|
|
1329
1329
|
}
|
|
1330
1330
|
function Ci(e) {
|
|
1331
|
-
var d, c, u, p, v,
|
|
1332
|
-
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.advTime) ?? 0, a = ((c = e == null ? void 0 : e.away) == null ? void 0 : c.advTime) ?? 0, r = ((u = e == null ? void 0 : e.home) == null ? void 0 : u.advTimePP1) ?? 0,
|
|
1331
|
+
var d, c, u, p, v, y;
|
|
1332
|
+
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.advTime) ?? 0, a = ((c = e == null ? void 0 : e.away) == null ? void 0 : c.advTime) ?? 0, r = ((u = e == null ? void 0 : e.home) == null ? void 0 : u.advTimePP1) ?? 0, n = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.advTimePP1) ?? 0, o = ((v = e == null ? void 0 : e.home) == null ? void 0 : v.advTimePP2) ?? 0, s = ((y = e == null ? void 0 : e.away) == null ? void 0 : y.advTimePP2) ?? 0;
|
|
1333
1333
|
return {
|
|
1334
1334
|
advTime: `${R(t)} / ${R(a)}`,
|
|
1335
|
-
advTimePP1: `${R(r)} / ${R(
|
|
1335
|
+
advTimePP1: `${R(r)} / ${R(n)}`,
|
|
1336
1336
|
advTimePP2: `${R(o)} / ${R(s)}`
|
|
1337
1337
|
};
|
|
1338
1338
|
}
|
|
1339
1339
|
function Gi(e) {
|
|
1340
|
-
var d, c, u, p, v,
|
|
1341
|
-
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.adv) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.ppgf) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.adv) ?? 0,
|
|
1342
|
-
return `(${t}/${a}) <b>${o}%</b> / (${r}/${
|
|
1340
|
+
var d, c, u, p, v, y;
|
|
1341
|
+
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.adv) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.ppgf) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.adv) ?? 0, n = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.ppgf) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.ppPercent) ?? 0).toFixed(2), s = (((y = e == null ? void 0 : e.away) == null ? void 0 : y.ppPercent) ?? 0).toFixed(2);
|
|
1342
|
+
return `(${t}/${a}) <b>${o}%</b> / (${r}/${n}) <b>${s}%</b>`;
|
|
1343
1343
|
}
|
|
1344
1344
|
function Bi(e) {
|
|
1345
|
-
var d, c, u, p, v,
|
|
1346
|
-
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.dvg) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.pk) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.dvg) ?? 0,
|
|
1347
|
-
return `(${t}/${a}) <b>${o}%</b> / (${r}/${
|
|
1345
|
+
var d, c, u, p, v, y;
|
|
1346
|
+
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.dvg) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.pk) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.dvg) ?? 0, n = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.pk) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.pkPercent) ?? 0).toFixed(2), s = (((y = e == null ? void 0 : e.away) == null ? void 0 : y.pkPercent) ?? 0).toFixed(2);
|
|
1347
|
+
return `(${t}/${a}) <b>${o}%</b> / (${r}/${n}) <b>${s}%</b>`;
|
|
1348
1348
|
}
|
|
1349
1349
|
function ma(e) {
|
|
1350
1350
|
return {
|
|
@@ -1354,12 +1354,12 @@ function ma(e) {
|
|
|
1354
1354
|
}
|
|
1355
1355
|
const Ee = (e) => et(e, Ht(["toi"])), Hi = 20, Nt = 1e3 * 60 * 5;
|
|
1356
1356
|
function ga(e = {}) {
|
|
1357
|
-
const { data: t, interval: a, services: r } = e, { getGameData:
|
|
1358
|
-
() => jt(
|
|
1357
|
+
const { data: t, interval: a, services: r } = e, { getGameData: n, getGameStats: o, getEvents: s, getGameOfficials: d } = r, c = C(!0), { resume: u, pause: p, isActive: v } = qa(
|
|
1358
|
+
() => jt(n, o, s),
|
|
1359
1359
|
a,
|
|
1360
1360
|
{ immediate: !1 }
|
|
1361
|
-
), { pause:
|
|
1362
|
-
|
|
1361
|
+
), { pause: y } = ht(() => {
|
|
1362
|
+
n(), d();
|
|
1363
1363
|
}, Nt, {
|
|
1364
1364
|
immediate: !0,
|
|
1365
1365
|
immediateCallback: !0
|
|
@@ -1372,22 +1372,22 @@ function ga(e = {}) {
|
|
|
1372
1372
|
}
|
|
1373
1373
|
);
|
|
1374
1374
|
return Ea(c, u, p), be(t, (E) => {
|
|
1375
|
-
E.gameStatus < 1 && (c.value = !1), E.gameStatus === 1 && !v.value && (
|
|
1375
|
+
E.gameStatus < 1 && (c.value = !1), E.gameStatus === 1 && !v.value && (y(), z(), u(), c.value = !0), E.gameStatus > 1 && (c.value = !1, jt(o, s, d), y(), P(), p());
|
|
1376
1376
|
}), {
|
|
1377
1377
|
pause: p
|
|
1378
1378
|
};
|
|
1379
1379
|
}
|
|
1380
1380
|
function Fi(e = {}) {
|
|
1381
1381
|
const t = (e == null ? void 0 : e.periodLength) ?? Hi, a = w(() => {
|
|
1382
|
-
let
|
|
1383
|
-
return (
|
|
1382
|
+
let n = t * 60;
|
|
1383
|
+
return (i(e).isOvertime || i(e).isShootout) && (n = i(e).overtimeLength * 60), n;
|
|
1384
1384
|
});
|
|
1385
1385
|
return {
|
|
1386
1386
|
value: w(() => {
|
|
1387
|
-
const
|
|
1388
|
-
let s = da(
|
|
1389
|
-
(
|
|
1390
|
-
const d = Oa(
|
|
1387
|
+
const n = i(e), o = a.value - Number.parseInt(n.periodTime, 10) * 60;
|
|
1388
|
+
let s = da(i(e)) - 1;
|
|
1389
|
+
(n.isOvertime || n.isShootout) && s++;
|
|
1390
|
+
const d = Oa(n.actualTime) - s * t * 60;
|
|
1391
1391
|
return Math.max(o, d);
|
|
1392
1392
|
}),
|
|
1393
1393
|
max: a
|
|
@@ -1395,14 +1395,14 @@ function Fi(e = {}) {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
function ua() {
|
|
1397
1397
|
const e = C([]);
|
|
1398
|
-
function t(r,
|
|
1399
|
-
typeof
|
|
1398
|
+
function t(r, n) {
|
|
1399
|
+
typeof n == "object" && n !== null && (n = n.message), e.value.push({ key: r, message: n });
|
|
1400
1400
|
}
|
|
1401
1401
|
function a(r) {
|
|
1402
|
-
if (
|
|
1402
|
+
if (I(e.value))
|
|
1403
1403
|
return;
|
|
1404
|
-
const
|
|
1405
|
-
e.value.splice(
|
|
1404
|
+
const n = e.value.findIndex((o) => o.key === r);
|
|
1405
|
+
e.value.splice(n, 1);
|
|
1406
1406
|
}
|
|
1407
1407
|
return {
|
|
1408
1408
|
errors: e,
|
|
@@ -1421,21 +1421,21 @@ const Ri = { class: "gamecenter-timeline-score-board" }, Ki = { class: "is-team
|
|
|
1421
1421
|
setup(e) {
|
|
1422
1422
|
const { t } = D();
|
|
1423
1423
|
return (a, r) => {
|
|
1424
|
-
var
|
|
1424
|
+
var n, o, s, d, c, u;
|
|
1425
1425
|
return m(), b("div", Ri, [
|
|
1426
|
-
l("div", Ki, g((
|
|
1427
|
-
(m(), T(
|
|
1426
|
+
l("div", Ki, g((n = e.gameData.homeTeam) == null ? void 0 : n.longName), 1),
|
|
1427
|
+
(m(), T(i(U), {
|
|
1428
1428
|
key: (o = e.gameData.homeTeam) == null ? void 0 : o.logo,
|
|
1429
1429
|
src: (s = e.gameData.homeTeam) == null ? void 0 : s.logo
|
|
1430
1430
|
}, null, 8, ["src"])),
|
|
1431
1431
|
l("div", Ui, g(e.gameData.homeTeamScore), 1),
|
|
1432
1432
|
l("div", Vi, [
|
|
1433
1433
|
e.gameData.gameStatus > 0 ? (m(), b(k, { key: 0 }, [
|
|
1434
|
-
x(g(
|
|
1435
|
-
], 64)) :
|
|
1434
|
+
x(g(i(t)(`periods.${i(Fe)(e.gameData.period)}`)), 1)
|
|
1435
|
+
], 64)) : h("", !0)
|
|
1436
1436
|
]),
|
|
1437
1437
|
l("div", qi, g(e.gameData.awayTeamScore), 1),
|
|
1438
|
-
(m(), T(
|
|
1438
|
+
(m(), T(i(U), {
|
|
1439
1439
|
key: (d = e.gameData.awayTeam) == null ? void 0 : d.logo,
|
|
1440
1440
|
src: (c = e.gameData.awayTeam) == null ? void 0 : c.logo
|
|
1441
1441
|
}, null, 8, ["src"])),
|
|
@@ -1517,14 +1517,14 @@ const va = { render: on }, sn = { class: "progress" }, ln = ["aria-valuenow", "a
|
|
|
1517
1517
|
},
|
|
1518
1518
|
setup(e) {
|
|
1519
1519
|
const t = e, { max: a, value: r } = Fi(w(() => t.gameData));
|
|
1520
|
-
return (
|
|
1520
|
+
return (n, o) => (m(), b("div", sn, [
|
|
1521
1521
|
l("div", {
|
|
1522
1522
|
class: "progress-bar progress-bar-stripped progress-bar-animated",
|
|
1523
1523
|
role: "progressbar",
|
|
1524
|
-
style: ze(`width: ${
|
|
1525
|
-
"aria-valuenow":
|
|
1524
|
+
style: ze(`width: ${i(r) / i(a) * 100}%`),
|
|
1525
|
+
"aria-valuenow": i(r),
|
|
1526
1526
|
"aria-valuemin": "0",
|
|
1527
|
-
"aria-valuemax":
|
|
1527
|
+
"aria-valuemax": i(a)
|
|
1528
1528
|
}, null, 12, ln)
|
|
1529
1529
|
]));
|
|
1530
1530
|
}
|
|
@@ -1552,14 +1552,14 @@ const va = { render: on }, sn = { class: "progress" }, ln = ["aria-valuenow", "a
|
|
|
1552
1552
|
l("span", { class: "is-home-team" })
|
|
1553
1553
|
], -1)),
|
|
1554
1554
|
l("td", null, g(e.homeTeamName), 1),
|
|
1555
|
-
(m(!0), b(k, null, N(e.results.home, (r,
|
|
1555
|
+
(m(!0), b(k, null, N(e.results.home, (r, n) => (m(), b("td", { key: n }, g(r), 1))), 128))
|
|
1556
1556
|
]),
|
|
1557
1557
|
l("tr", null, [
|
|
1558
1558
|
a[1] || (a[1] = l("td", null, [
|
|
1559
1559
|
l("span", { class: "is-away-team" })
|
|
1560
1560
|
], -1)),
|
|
1561
1561
|
l("td", null, g(e.awayTeamName), 1),
|
|
1562
|
-
(m(!0), b(k, null, N(e.results.away, (r,
|
|
1562
|
+
(m(!0), b(k, null, N(e.results.away, (r, n) => (m(), b("td", { key: n }, g(r), 1))), 128))
|
|
1563
1563
|
])
|
|
1564
1564
|
])
|
|
1565
1565
|
]));
|
|
@@ -1575,13 +1575,13 @@ function vn(e) {
|
|
|
1575
1575
|
home: [],
|
|
1576
1576
|
away: []
|
|
1577
1577
|
};
|
|
1578
|
-
return e ? ae(Y(Ye(":")), Y(Hr), Ye(","), vt(/^\(|\)$/g, ""))(e).reduce((r,
|
|
1578
|
+
return e ? ae(Y(Ye(":")), Y(Hr), Ye(","), vt(/^\(|\)$/g, ""))(e).reduce((r, n) => (r.home.push(n[0]), r.away.push(n[1]), r), t) : t;
|
|
1579
1579
|
}
|
|
1580
1580
|
const It = (e) => mt(re("row"), e);
|
|
1581
1581
|
function bn(e, t, a) {
|
|
1582
|
-
const r = It((e == null ? void 0 : e[t]) ?? []),
|
|
1582
|
+
const r = It((e == null ? void 0 : e[t]) ?? []), n = It((e == null ? void 0 : e[a]) ?? []);
|
|
1583
1583
|
return ["1", "2", "3", "4", "gk"].reduce(
|
|
1584
|
-
(o, s) => (o[s].home = r[s], o[s].away =
|
|
1584
|
+
(o, s) => (o[s].home = r[s], o[s].away = n[s], o),
|
|
1585
1585
|
{
|
|
1586
1586
|
1: { home: [], away: [] },
|
|
1587
1587
|
2: { home: [], away: [] },
|
|
@@ -1592,25 +1592,25 @@ function bn(e, t, a) {
|
|
|
1592
1592
|
);
|
|
1593
1593
|
}
|
|
1594
1594
|
function Ve(e, t, a, r) {
|
|
1595
|
-
let
|
|
1595
|
+
let n = 0, o = 0;
|
|
1596
1596
|
const s = e.reduce((d, c) => {
|
|
1597
1597
|
var z, P, E;
|
|
1598
|
-
const u = ((z = c[t]) == null ? void 0 : z.period) ?? "p1", p = ((P = c[t]) == null ? void 0 : P[r]) ?? 0, v = ((E = c[a]) == null ? void 0 : E[r]) ?? 0,
|
|
1599
|
-
return
|
|
1600
|
-
max:
|
|
1598
|
+
const u = ((z = c[t]) == null ? void 0 : z.period) ?? "p1", p = ((P = c[t]) == null ? void 0 : P[r]) ?? 0, v = ((E = c[a]) == null ? void 0 : E[r]) ?? 0, y = p + v;
|
|
1599
|
+
return n += p, o += v, d[u] = {
|
|
1600
|
+
max: y,
|
|
1601
1601
|
valueStart: p,
|
|
1602
1602
|
valueEnd: v
|
|
1603
1603
|
}, d;
|
|
1604
1604
|
}, {});
|
|
1605
1605
|
return s.all = {
|
|
1606
|
-
max:
|
|
1607
|
-
valueStart:
|
|
1606
|
+
max: n + o,
|
|
1607
|
+
valueStart: n,
|
|
1608
1608
|
valueEnd: o
|
|
1609
1609
|
}, s;
|
|
1610
1610
|
}
|
|
1611
1611
|
function pn(e) {
|
|
1612
|
-
var d, c, u, p, v,
|
|
1613
|
-
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.advTime) ?? 0, a = ((c = e == null ? void 0 : e.away) == null ? void 0 : c.advTime) ?? 0, r = ((u = e == null ? void 0 : e.home) == null ? void 0 : u.advTimePP1) ?? 0,
|
|
1612
|
+
var d, c, u, p, v, y;
|
|
1613
|
+
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.advTime) ?? 0, a = ((c = e == null ? void 0 : e.away) == null ? void 0 : c.advTime) ?? 0, r = ((u = e == null ? void 0 : e.home) == null ? void 0 : u.advTimePP1) ?? 0, n = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.advTimePP1) ?? 0, o = ((v = e == null ? void 0 : e.home) == null ? void 0 : v.advTimePP2) ?? 0, s = ((y = e == null ? void 0 : e.away) == null ? void 0 : y.advTimePP2) ?? 0;
|
|
1614
1614
|
return {
|
|
1615
1615
|
advTime: {
|
|
1616
1616
|
max: t + a,
|
|
@@ -1618,9 +1618,9 @@ function pn(e) {
|
|
|
1618
1618
|
valueEnd: a
|
|
1619
1619
|
},
|
|
1620
1620
|
advTimePP1: {
|
|
1621
|
-
max: r +
|
|
1621
|
+
max: r + n,
|
|
1622
1622
|
valueStart: r,
|
|
1623
|
-
valueEnd:
|
|
1623
|
+
valueEnd: n
|
|
1624
1624
|
},
|
|
1625
1625
|
advTimePP2: {
|
|
1626
1626
|
max: o + s,
|
|
@@ -1630,8 +1630,8 @@ function pn(e) {
|
|
|
1630
1630
|
};
|
|
1631
1631
|
}
|
|
1632
1632
|
function fn(e) {
|
|
1633
|
-
var d, c, u, p, v,
|
|
1634
|
-
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.adv) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.ppgf) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.adv) ?? 0,
|
|
1633
|
+
var d, c, u, p, v, y;
|
|
1634
|
+
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.adv) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.ppgf) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.adv) ?? 0, n = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.ppgf) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.ppPercent) ?? 0).toFixed(2), s = (((y = e == null ? void 0 : e.away) == null ? void 0 : y.ppPercent) ?? 0).toFixed(2);
|
|
1635
1635
|
return {
|
|
1636
1636
|
powerPlays: {
|
|
1637
1637
|
max: t + r,
|
|
@@ -1640,9 +1640,9 @@ function fn(e) {
|
|
|
1640
1640
|
suffix: ""
|
|
1641
1641
|
},
|
|
1642
1642
|
powerPlaysGoalFor: {
|
|
1643
|
-
max: a +
|
|
1643
|
+
max: a + n,
|
|
1644
1644
|
valueStart: a,
|
|
1645
|
-
valueEnd:
|
|
1645
|
+
valueEnd: n,
|
|
1646
1646
|
suffix: ""
|
|
1647
1647
|
},
|
|
1648
1648
|
powerPlayEfficiency: {
|
|
@@ -1654,8 +1654,8 @@ function fn(e) {
|
|
|
1654
1654
|
};
|
|
1655
1655
|
}
|
|
1656
1656
|
function hn(e) {
|
|
1657
|
-
var d, c, u, p, v,
|
|
1658
|
-
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.dvg) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.pk) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.dvg) ?? 0,
|
|
1657
|
+
var d, c, u, p, v, y;
|
|
1658
|
+
const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.dvg) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.pk) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.dvg) ?? 0, n = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.pk) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.pkPercent) ?? 0).toFixed(2), s = (((y = e == null ? void 0 : e.away) == null ? void 0 : y.pkPercent) ?? 0).toFixed(2);
|
|
1659
1659
|
return {
|
|
1660
1660
|
penaltyKill: {
|
|
1661
1661
|
max: t + r,
|
|
@@ -1664,9 +1664,9 @@ function hn(e) {
|
|
|
1664
1664
|
suffix: ""
|
|
1665
1665
|
},
|
|
1666
1666
|
powerPlaysKilled: {
|
|
1667
|
-
max: a +
|
|
1667
|
+
max: a + n,
|
|
1668
1668
|
valueStart: a,
|
|
1669
|
-
valueEnd:
|
|
1669
|
+
valueEnd: n,
|
|
1670
1670
|
suffix: ""
|
|
1671
1671
|
},
|
|
1672
1672
|
penaltyKillEfficiency: {
|
|
@@ -1678,10 +1678,10 @@ function hn(e) {
|
|
|
1678
1678
|
};
|
|
1679
1679
|
}
|
|
1680
1680
|
function yn(e, t) {
|
|
1681
|
-
const a = (
|
|
1682
|
-
const o = ["first_referee", "second_referee", "first_line_judge", "second_line_judge"].indexOf(
|
|
1681
|
+
const a = (n) => {
|
|
1682
|
+
const o = ["first_referee", "second_referee", "first_line_judge", "second_line_judge"].indexOf(n.role);
|
|
1683
1683
|
return o > -1 ? o : 4;
|
|
1684
|
-
}, r = (
|
|
1684
|
+
}, r = (n) => ({ ...at(n), role: t(`role.${n.role}`) });
|
|
1685
1685
|
return mt(re("type"), Y(r, ra(a, Zt(e))));
|
|
1686
1686
|
}
|
|
1687
1687
|
const At = ia([ta(re("startingFive"))]);
|
|
@@ -1690,7 +1690,7 @@ function _t(e) {
|
|
|
1690
1690
|
}
|
|
1691
1691
|
aa(["first_referee", "second_referee", "first_line_judge", "second_line_judge"]);
|
|
1692
1692
|
function Dt(e, t) {
|
|
1693
|
-
const a = Vt(hr([Dr(t, ["team", "id"]), ut("Gól", "type")]), Ge(e)), r = Y((s) => ({ ...s, eventTimeSec: _a(s.eventTime) }), a),
|
|
1693
|
+
const a = Vt(hr([Dr(t, ["team", "id"]), ut("Gól", "type")]), Ge(e)), r = Y((s) => ({ ...s, eventTimeSec: _a(s.eventTime) }), a), n = ct(
|
|
1694
1694
|
(s, d) => (s[d.playerId] ? s[d.playerId].eventTime += `, ${d.eventTime}` : s[d.playerId] = {
|
|
1695
1695
|
id: d.playerId,
|
|
1696
1696
|
name: `${d.lastName} ${d.firstName}`,
|
|
@@ -1700,7 +1700,7 @@ function Dt(e, t) {
|
|
|
1700
1700
|
{},
|
|
1701
1701
|
r
|
|
1702
1702
|
);
|
|
1703
|
-
return ra(re("eventTimeSec"), Zt(
|
|
1703
|
+
return ra(re("eventTimeSec"), Zt(n));
|
|
1704
1704
|
}
|
|
1705
1705
|
const wn = { class: "gamecenter-timeline-game-data" }, xn = { class: "is-title-container" }, kn = { class: "is-gamedate" }, Tn = { class: "is-local-gamedate" }, Sn = { class: "is-external-contents" }, zn = ["href"], $n = ["href"], Pn = ["href"], jn = { class: "is-teams-and-results" }, En = { class: "is-team-name" }, Nn = { class: "is-goal-scorers" }, On = {
|
|
1706
1706
|
key: 0,
|
|
@@ -1731,51 +1731,51 @@ const wn = { class: "gamecenter-timeline-game-data" }, xn = { class: "is-title-c
|
|
|
1731
1731
|
}
|
|
1732
1732
|
},
|
|
1733
1733
|
setup(e) {
|
|
1734
|
-
const t = e, { t: a } = D(), r = w(() => vn(t.gameData.periodResults)),
|
|
1734
|
+
const t = e, { t: a } = D(), r = w(() => vn(t.gameData.periodResults)), n = w(() => Dt(t.gameEvents, t.gameData.homeTeam.id)), o = w(() => Dt(t.gameEvents, t.gameData.awayTeam.id));
|
|
1735
1735
|
return (s, d) => (m(), b("div", wn, [
|
|
1736
1736
|
l("div", xn, [
|
|
1737
1737
|
d[0] || (B(-1, !0), (d[0] = l("div", { class: "is-title" }, [
|
|
1738
1738
|
x(g(e.gameData.championshipName) + " - " + g(e.gameData.divisionName) + " - " + g(e.gameData.gameName) + " / " + g(e.gameData.location.locationName), 1)
|
|
1739
1739
|
])).cacheIndex = 0, B(1), d[0]),
|
|
1740
|
-
l("div", kn, g(
|
|
1741
|
-
l("div", Tn, g(
|
|
1740
|
+
l("div", kn, g(i($e)(e.gameData.gameDate, "L dddd - HH:mm", null, e.locale)) + " (" + g(i(Pe)(new Date(e.gameData.gameDate), null, e.locale)) + ") ", 1),
|
|
1741
|
+
l("div", Tn, g(i(a)("localTime")) + " (" + g(e.gameData.location.locationCountryISO || e.gameData.location.locationName) + "): " + g(i($e)(e.gameData.gameDate, "L dddd - HH:mm", e.gameData.location.timezone, e.locale)) + " (" + g(i(Pe)(new Date(e.gameData.gameDate), e.gameData.location.timezone, e.locale)) + ") ", 1),
|
|
1742
1742
|
l("div", Sn, [
|
|
1743
1743
|
e.gameData.electronicReportUrl ? (m(), b("a", {
|
|
1744
1744
|
key: 0,
|
|
1745
1745
|
href: e.gameData.electronicReportUrl,
|
|
1746
1746
|
target: "_blank"
|
|
1747
1747
|
}, [
|
|
1748
|
-
f(
|
|
1749
|
-
x(" " + g(
|
|
1750
|
-
], 8, zn)) :
|
|
1748
|
+
f(i(Oe), { class: "is-icon" }),
|
|
1749
|
+
x(" " + g(i(a)("sheet")), 1)
|
|
1750
|
+
], 8, zn)) : h("", !0),
|
|
1751
1751
|
e.gameData.toiReportUrl ? (m(), b("a", {
|
|
1752
1752
|
key: 1,
|
|
1753
1753
|
href: e.gameData.toiReportUrl,
|
|
1754
1754
|
target: "_blank"
|
|
1755
1755
|
}, [
|
|
1756
|
-
f(
|
|
1757
|
-
x(" " + g(
|
|
1758
|
-
], 8, $n)) :
|
|
1756
|
+
f(i(Oe), { class: "is-icon" }),
|
|
1757
|
+
x(" " + g(i(a)("toiSheet")), 1)
|
|
1758
|
+
], 8, $n)) : h("", !0),
|
|
1759
1759
|
e.gameData.video ? (m(), b("a", {
|
|
1760
1760
|
key: 2,
|
|
1761
1761
|
href: e.gameData.video,
|
|
1762
1762
|
target: "_blank"
|
|
1763
1763
|
}, [
|
|
1764
|
-
f(
|
|
1765
|
-
x(" " + g(
|
|
1766
|
-
], 8, Pn)) :
|
|
1764
|
+
f(i(va), { class: "is-icon" }),
|
|
1765
|
+
x(" " + g(i(a)("video")), 1)
|
|
1766
|
+
], 8, Pn)) : h("", !0)
|
|
1767
1767
|
])
|
|
1768
1768
|
]),
|
|
1769
1769
|
l("div", jn, [
|
|
1770
1770
|
l("div", null, [
|
|
1771
|
-
d[1] || (B(-1, !0), (d[1] = f(
|
|
1771
|
+
d[1] || (B(-1, !0), (d[1] = f(i(U), {
|
|
1772
1772
|
src: e.gameData.homeTeam.logo,
|
|
1773
1773
|
class: "is-team-logo",
|
|
1774
|
-
"default-src":
|
|
1774
|
+
"default-src": i(Be)
|
|
1775
1775
|
}, null, 8, ["src", "default-src"])).cacheIndex = 1, B(1), d[1]),
|
|
1776
1776
|
l("h1", En, g(e.gameData.homeTeam.longName), 1),
|
|
1777
1777
|
l("ul", Nn, [
|
|
1778
|
-
(m(!0), b(k, null, N(
|
|
1778
|
+
(m(!0), b(k, null, N(n.value, (c) => (m(), b("li", {
|
|
1779
1779
|
key: c.id
|
|
1780
1780
|
}, [
|
|
1781
1781
|
x(g(c.name) + " ", 1),
|
|
@@ -1784,21 +1784,21 @@ const wn = { class: "gamecenter-timeline-game-data" }, xn = { class: "is-title-c
|
|
|
1784
1784
|
])
|
|
1785
1785
|
]),
|
|
1786
1786
|
l("div", null, [
|
|
1787
|
-
e.gameData.gameStatus > 1 ? (m(), b("p", On, g(
|
|
1788
|
-
e.gameData.gameStatus === 1 ? (m(), b("p", In, g(
|
|
1787
|
+
e.gameData.gameStatus > 1 ? (m(), b("p", On, g(i(a)(`gameStatus.status-${e.gameData.gameStatus}`)), 1)) : h("", !0),
|
|
1788
|
+
e.gameData.gameStatus === 1 ? (m(), b("p", In, g(i(a)(`periods.${i(Fe)(e.gameData.period)}`)), 1)) : h("", !0),
|
|
1789
1789
|
e.gameData.gameStatus > 1 ? (m(), b(k, { key: 2 }, [
|
|
1790
1790
|
e.gameData.isOvertime ? (m(), b("p", An, [
|
|
1791
|
-
l("span", _n, g(
|
|
1792
|
-
])) :
|
|
1791
|
+
l("span", _n, g(i(a)("afterOvertime")), 1)
|
|
1792
|
+
])) : h("", !0),
|
|
1793
1793
|
e.gameData.isShootout ? (m(), b("p", Dn, [
|
|
1794
|
-
l("span", Mn, g(
|
|
1795
|
-
])) :
|
|
1796
|
-
], 64)) :
|
|
1797
|
-
e.gameData.gameStatus === 1 ? (m(), b("p", Ln, g(e.gameData.actualTime), 1)) :
|
|
1794
|
+
l("span", Mn, g(i(a)("afterShootout")), 1)
|
|
1795
|
+
])) : h("", !0)
|
|
1796
|
+
], 64)) : h("", !0),
|
|
1797
|
+
e.gameData.gameStatus === 1 ? (m(), b("p", Ln, g(e.gameData.actualTime), 1)) : h("", !0),
|
|
1798
1798
|
e.gameData.gameStatus === 1 ? (m(), T(ba, {
|
|
1799
1799
|
key: 4,
|
|
1800
1800
|
"game-data": e.gameData
|
|
1801
|
-
}, null, 8, ["game-data"])) :
|
|
1801
|
+
}, null, 8, ["game-data"])) : h("", !0),
|
|
1802
1802
|
l("div", {
|
|
1803
1803
|
class: H(["is-game-result", [{ "is-game-status-live": e.gameData.gameStatus === 1 }]])
|
|
1804
1804
|
}, [
|
|
@@ -1806,18 +1806,18 @@ const wn = { class: "gamecenter-timeline-game-data" }, xn = { class: "is-title-c
|
|
|
1806
1806
|
d[3] || (d[3] = x(":")),
|
|
1807
1807
|
e.gameData.gameStatus === 0 ? (m(), b("span", Bn, "-")) : (m(), b("span", Hn, g(e.gameData.awayTeamScore), 1))
|
|
1808
1808
|
], 2),
|
|
1809
|
-
e.gameData.attendance ? (m(), b("p", Fn, g(
|
|
1809
|
+
e.gameData.attendance ? (m(), b("p", Fn, g(i(a)("gameData.attendance", [e.gameData.attendance])), 1)) : h("", !0),
|
|
1810
1810
|
e.gameData.gameStatus > 0 ? (m(), T(dn, {
|
|
1811
1811
|
key: 6,
|
|
1812
1812
|
results: r.value,
|
|
1813
1813
|
"home-team-name": e.gameData.homeTeam.shortName,
|
|
1814
1814
|
"away-team-name": e.gameData.awayTeam.shortName
|
|
1815
|
-
}, null, 8, ["results", "home-team-name", "away-team-name"])) :
|
|
1815
|
+
}, null, 8, ["results", "home-team-name", "away-team-name"])) : h("", !0)
|
|
1816
1816
|
]),
|
|
1817
1817
|
l("div", null, [
|
|
1818
|
-
d[2] || (B(-1, !0), (d[2] = f(
|
|
1818
|
+
d[2] || (B(-1, !0), (d[2] = f(i(U), {
|
|
1819
1819
|
src: e.gameData.awayTeam.logo,
|
|
1820
|
-
"default-src":
|
|
1820
|
+
"default-src": i(He),
|
|
1821
1821
|
class: "is-team-logo"
|
|
1822
1822
|
}, null, 8, ["src", "default-src"])).cacheIndex = 2, B(1), d[2]),
|
|
1823
1823
|
l("h1", Rn, g(e.gameData.awayTeam.longName), 1),
|
|
@@ -1877,12 +1877,12 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
1877
1877
|
l("div", {
|
|
1878
1878
|
class: H(["is-details-container", [
|
|
1879
1879
|
{
|
|
1880
|
-
"is-goal": e.eventType ===
|
|
1881
|
-
"is-penalty": e.eventType ===
|
|
1882
|
-
"is-timeout": e.eventType ===
|
|
1883
|
-
"is-goalies": e.eventType ===
|
|
1884
|
-
"is-penalty-shot-goal": e.eventType ===
|
|
1885
|
-
"is-penalty-shot-no-goal": e.eventType ===
|
|
1880
|
+
"is-goal": e.eventType === i(Ji),
|
|
1881
|
+
"is-penalty": e.eventType === i(Zi),
|
|
1882
|
+
"is-timeout": e.eventType === i(en),
|
|
1883
|
+
"is-goalies": e.eventType === i(Xi),
|
|
1884
|
+
"is-penalty-shot-goal": e.eventType === i(Ot) && e.event.goal,
|
|
1885
|
+
"is-penalty-shot-no-goal": e.eventType === i(Ot) && !e.event.goal
|
|
1886
1886
|
}
|
|
1887
1887
|
]])
|
|
1888
1888
|
}, [
|
|
@@ -1919,8 +1919,8 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
1919
1919
|
},
|
|
1920
1920
|
setup(e) {
|
|
1921
1921
|
const t = e, a = C(null), r = w(() => t.isHomeTeam ? Be : He);
|
|
1922
|
-
return (
|
|
1923
|
-
f(
|
|
1922
|
+
return (n, o) => (m(), b(k, null, [
|
|
1923
|
+
f(i(Q), {
|
|
1924
1924
|
offset: 2,
|
|
1925
1925
|
placement: "top",
|
|
1926
1926
|
theme: "tooltip",
|
|
@@ -1933,7 +1933,7 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
1933
1933
|
tabindex: 0,
|
|
1934
1934
|
"aria-label": e.name
|
|
1935
1935
|
}, oe(d, !0)), [
|
|
1936
|
-
f(
|
|
1936
|
+
f(i(U), {
|
|
1937
1937
|
src: e.logo,
|
|
1938
1938
|
"default-src": r.value
|
|
1939
1939
|
}, null, 8, ["src", "default-src"])
|
|
@@ -1966,7 +1966,7 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
1966
1966
|
}
|
|
1967
1967
|
},
|
|
1968
1968
|
setup(e) {
|
|
1969
|
-
const t = e, a = C(null), { t: r } = D(),
|
|
1969
|
+
const t = e, a = C(null), { t: r } = D(), n = w(() => te((d) => I(d), [t.event.assists1, t.event.assists2])), o = w(() => t.event.homeOnIce), s = w(() => t.event.awayOnIce);
|
|
1970
1970
|
return (d, c) => (m(), T(fe, {
|
|
1971
1971
|
timestamp: e.event.eventTime,
|
|
1972
1972
|
"is-home-team": e.isHomeTeam,
|
|
@@ -1974,9 +1974,9 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
1974
1974
|
event: e.event
|
|
1975
1975
|
}, {
|
|
1976
1976
|
title: S(() => [
|
|
1977
|
-
x(g(
|
|
1978
|
-
e.event.advantage ? (m(), b("span", eo, g(e.event.advantage), 1)) :
|
|
1979
|
-
e.event.en ? (m(), b("span", to, " EN ")) :
|
|
1977
|
+
x(g(i(r)("eventType.Gól")) + " ", 1),
|
|
1978
|
+
e.event.advantage ? (m(), b("span", eo, g(e.event.advantage), 1)) : h("", !0),
|
|
1979
|
+
e.event.en ? (m(), b("span", to, " EN ")) : h("", !0),
|
|
1980
1980
|
x(" (" + g(e.event.score) + ") ", 1)
|
|
1981
1981
|
]),
|
|
1982
1982
|
"details-list": S(() => [
|
|
@@ -1986,7 +1986,7 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
1986
1986
|
x(" " + g(e.event.lastName) + " " + g(e.event.firstName), 1)
|
|
1987
1987
|
]),
|
|
1988
1988
|
l("li", no, [
|
|
1989
|
-
(m(!0), b(k, null, N(
|
|
1989
|
+
(m(!0), b(k, null, N(n.value, (u) => (m(), b("span", {
|
|
1990
1990
|
key: u,
|
|
1991
1991
|
class: "is-evented-person"
|
|
1992
1992
|
}, [
|
|
@@ -1994,9 +1994,9 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
1994
1994
|
x(" " + g(u.lastName) + " " + g(u.firstName), 1)
|
|
1995
1995
|
]))), 128))
|
|
1996
1996
|
]),
|
|
1997
|
-
!
|
|
1997
|
+
!i(I)(o.value) || !i(I)(s.value) ? (m(), b("li", so, [
|
|
1998
1998
|
l("ul", null, [
|
|
1999
|
-
(m(!0), b(k, null, N(o.value, (u) => (m(), T(
|
|
1999
|
+
(m(!0), b(k, null, N(o.value, (u) => (m(), T(i(Q), {
|
|
2000
2000
|
key: u.playerId,
|
|
2001
2001
|
offset: 2,
|
|
2002
2002
|
placement: "top",
|
|
@@ -2017,7 +2017,7 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
2017
2017
|
]),
|
|
2018
2018
|
c[0] || (c[0] = l("span", null, " / ", -1)),
|
|
2019
2019
|
l("ul", null, [
|
|
2020
|
-
(m(!0), b(k, null, N(s.value, (u) => (m(), T(
|
|
2020
|
+
(m(!0), b(k, null, N(s.value, (u) => (m(), T(i(Q), {
|
|
2021
2021
|
key: u.playerId,
|
|
2022
2022
|
offset: 2,
|
|
2023
2023
|
placement: "top",
|
|
@@ -2036,19 +2036,19 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
2036
2036
|
_: 2
|
|
2037
2037
|
}, 1032, ["content", "append-to"]))), 128))
|
|
2038
2038
|
])
|
|
2039
|
-
])) :
|
|
2039
|
+
])) : h("", !0),
|
|
2040
2040
|
l("li", null, [
|
|
2041
2041
|
e.event.ps || e.event.gws || e.event.gwg ? (m(), b("span", mo, [
|
|
2042
2042
|
e.event.ps ? (m(), b(k, { key: 0 }, [
|
|
2043
2043
|
x("PS")
|
|
2044
|
-
], 64)) :
|
|
2044
|
+
], 64)) : h("", !0),
|
|
2045
2045
|
e.event.gws ? (m(), b(k, { key: 1 }, [
|
|
2046
2046
|
x("GWS")
|
|
2047
|
-
], 64)) :
|
|
2047
|
+
], 64)) : h("", !0),
|
|
2048
2048
|
e.event.gwg ? (m(), b(k, { key: 2 }, [
|
|
2049
2049
|
x("GWG")
|
|
2050
|
-
], 64)) :
|
|
2051
|
-
])) :
|
|
2050
|
+
], 64)) : h("", !0)
|
|
2051
|
+
])) : h("", !0)
|
|
2052
2052
|
])
|
|
2053
2053
|
])
|
|
2054
2054
|
]),
|
|
@@ -2061,7 +2061,7 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
|
|
|
2061
2061
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2062
2062
|
]),
|
|
2063
2063
|
"event-type-icon": S(() => [
|
|
2064
|
-
f(
|
|
2064
|
+
f(i(pe))
|
|
2065
2065
|
]),
|
|
2066
2066
|
_: 1
|
|
2067
2067
|
}, 8, ["timestamp", "is-home-team", "event-type", "event"]));
|
|
@@ -2124,7 +2124,7 @@ const yo = { render: ho }, wo = { class: "is-details-list" }, xo = { class: "is-
|
|
|
2124
2124
|
event: e.event
|
|
2125
2125
|
}, {
|
|
2126
2126
|
title: S(() => [
|
|
2127
|
-
x(g(
|
|
2127
|
+
x(g(i(t)("eventType.Kapus")) + " - " + g(i(t)(`eventType.goalie.${e.event.gkDirection}`)), 1)
|
|
2128
2128
|
]),
|
|
2129
2129
|
"details-list": S(() => [
|
|
2130
2130
|
l("ul", wo, [
|
|
@@ -2143,24 +2143,24 @@ const yo = { render: ho }, wo = { class: "is-details-list" }, xo = { class: "is-
|
|
|
2143
2143
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2144
2144
|
]),
|
|
2145
2145
|
"event-type-icon": S(() => [
|
|
2146
|
-
e.event.gkDirection === "CSERE" ? (m(), T(
|
|
2146
|
+
e.event.gkDirection === "CSERE" ? (m(), T(i(yo), {
|
|
2147
2147
|
key: 0,
|
|
2148
2148
|
width: "24",
|
|
2149
2149
|
height: "24",
|
|
2150
2150
|
class: "is-goalie-in-icon"
|
|
2151
|
-
})) :
|
|
2152
|
-
e.event.gkDirection === "BE" ? (m(), T(
|
|
2151
|
+
})) : h("", !0),
|
|
2152
|
+
e.event.gkDirection === "BE" ? (m(), T(i(Xe), {
|
|
2153
2153
|
key: 1,
|
|
2154
2154
|
width: "24",
|
|
2155
2155
|
height: "24",
|
|
2156
2156
|
class: "is-goalie-in-icon"
|
|
2157
|
-
})) :
|
|
2158
|
-
e.event.gkDirection === "KI" ? (m(), T(
|
|
2157
|
+
})) : h("", !0),
|
|
2158
|
+
e.event.gkDirection === "KI" ? (m(), T(i(pa), {
|
|
2159
2159
|
key: 2,
|
|
2160
2160
|
width: "24",
|
|
2161
2161
|
height: "24",
|
|
2162
2162
|
class: "is-goalie-out-icon"
|
|
2163
|
-
})) :
|
|
2163
|
+
})) : h("", !0)
|
|
2164
2164
|
]),
|
|
2165
2165
|
_: 1
|
|
2166
2166
|
}, 8, ["timestamp", "is-home-team", "event-type", "event"]));
|
|
@@ -2188,33 +2188,33 @@ const fa = { render: zo }, $o = { class: "is-details-list" }, Po = { class: "is-
|
|
|
2188
2188
|
},
|
|
2189
2189
|
setup(e) {
|
|
2190
2190
|
const t = e, { t: a } = D(), r = w(() => ma(t.event));
|
|
2191
|
-
return (
|
|
2191
|
+
return (n, o) => (m(), T(fe, {
|
|
2192
2192
|
timestamp: e.event.eventTime,
|
|
2193
2193
|
"is-home-team": e.isHomeTeam,
|
|
2194
2194
|
"event-type": e.event.type
|
|
2195
2195
|
}, {
|
|
2196
2196
|
title: S(() => [
|
|
2197
|
-
x(g(
|
|
2197
|
+
x(g(i(a)("eventType.Kiállítás")) + " ", 1),
|
|
2198
2198
|
e.event.penaltyLength !== 0 ? (m(), b(k, { key: 0 }, [
|
|
2199
|
-
x(g(
|
|
2199
|
+
x(g(i(a)("events.penaltyLength", [e.event.penaltyLength])) + " ", 1),
|
|
2200
2200
|
e.event.penaltyEnd ? (m(), b(k, { key: 0 }, [
|
|
2201
2201
|
x(" (" + g(e.event.penaltyEnd) + ") ", 1)
|
|
2202
|
-
], 64)) :
|
|
2203
|
-
], 64)) :
|
|
2202
|
+
], 64)) : h("", !0)
|
|
2203
|
+
], 64)) : h("", !0),
|
|
2204
2204
|
e.event.perc === 0 ? (m(), b(k, { key: 1 }, [
|
|
2205
2205
|
x(" PS ")
|
|
2206
|
-
], 64)) :
|
|
2206
|
+
], 64)) : h("", !0)
|
|
2207
2207
|
]),
|
|
2208
2208
|
"details-list": S(() => [
|
|
2209
2209
|
l("ul", $o, [
|
|
2210
2210
|
l("li", Po, [
|
|
2211
|
-
e.event.jerseyNumber === null ? (m(), b("span", jo, g(
|
|
2211
|
+
e.event.jerseyNumber === null ? (m(), b("span", jo, g(i(a)("events.teamPenalty")), 1)) : (m(), b(k, { key: 1 }, [
|
|
2212
2212
|
l("span", Eo, g(e.event.jerseyNumber), 1),
|
|
2213
2213
|
x(" " + g(e.event.lastName) + " " + g(e.event.firstName), 1)
|
|
2214
2214
|
], 64))
|
|
2215
2215
|
]),
|
|
2216
2216
|
l("li", No, [
|
|
2217
|
-
x(g(
|
|
2217
|
+
x(g(i(a)(`penalties.${r.value.penaltyCause}`)) + " ", 1),
|
|
2218
2218
|
l("b", null, "(" + g(r.value.penaltyCause) + ")", 1)
|
|
2219
2219
|
])
|
|
2220
2220
|
])
|
|
@@ -2228,7 +2228,7 @@ const fa = { render: zo }, $o = { class: "is-details-list" }, Po = { class: "is-
|
|
|
2228
2228
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2229
2229
|
]),
|
|
2230
2230
|
"event-type-icon": S(() => [
|
|
2231
|
-
f(
|
|
2231
|
+
f(i(fa))
|
|
2232
2232
|
]),
|
|
2233
2233
|
_: 1
|
|
2234
2234
|
}, 8, ["timestamp", "is-home-team", "event-type"]));
|
|
@@ -2254,11 +2254,11 @@ const fa = { render: zo }, $o = { class: "is-details-list" }, Po = { class: "is-
|
|
|
2254
2254
|
event: e.event
|
|
2255
2255
|
}, {
|
|
2256
2256
|
title: S(() => [
|
|
2257
|
-
x(g(
|
|
2257
|
+
x(g(i(t)("eventType.Büntető")) + " - ", 1),
|
|
2258
2258
|
e.event.goal ? (m(), b(k, { key: 0 }, [
|
|
2259
|
-
x(g(
|
|
2259
|
+
x(g(i(t)("events.score")), 1)
|
|
2260
2260
|
], 64)) : (m(), b(k, { key: 1 }, [
|
|
2261
|
-
x(g(
|
|
2261
|
+
x(g(i(t)("events.missed")), 1)
|
|
2262
2262
|
], 64)),
|
|
2263
2263
|
x(" - (" + g(e.event.score) + ") ", 1)
|
|
2264
2264
|
]),
|
|
@@ -2279,7 +2279,7 @@ const fa = { render: zo }, $o = { class: "is-details-list" }, Po = { class: "is-
|
|
|
2279
2279
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2280
2280
|
]),
|
|
2281
2281
|
"event-type-icon": S(() => [
|
|
2282
|
-
f(
|
|
2282
|
+
f(i(pe))
|
|
2283
2283
|
]),
|
|
2284
2284
|
_: 1
|
|
2285
2285
|
}, 8, ["timestamp", "is-home-team", "event-type", "event"]));
|
|
@@ -2311,8 +2311,8 @@ const bt = { render: Lo }, Co = { class: "is-period-header" }, Go = {
|
|
|
2311
2311
|
r[0] || (r[0] = l("div", null, null, -1)),
|
|
2312
2312
|
l("p", null, g(e.event.eventPeriod === "pre" ? "-15:00" : e.event.eventTime), 1),
|
|
2313
2313
|
l("span", null, [
|
|
2314
|
-
f(
|
|
2315
|
-
x(" " + g(
|
|
2314
|
+
f(i(bt)),
|
|
2315
|
+
x(" " + g(i(t)(`periods.${e.event.eventPeriod}`)), 1)
|
|
2316
2316
|
])
|
|
2317
2317
|
]));
|
|
2318
2318
|
}
|
|
@@ -2336,7 +2336,7 @@ const bt = { render: Lo }, Co = { class: "is-period-header" }, Go = {
|
|
|
2336
2336
|
"event-type": e.event.type
|
|
2337
2337
|
}, {
|
|
2338
2338
|
title: S(() => [
|
|
2339
|
-
x(g(
|
|
2339
|
+
x(g(i(t)("events.timeout")), 1)
|
|
2340
2340
|
]),
|
|
2341
2341
|
"team-logo": S(() => [
|
|
2342
2342
|
(m(), T(he, {
|
|
@@ -2347,7 +2347,7 @@ const bt = { render: Lo }, Co = { class: "is-period-header" }, Go = {
|
|
|
2347
2347
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2348
2348
|
]),
|
|
2349
2349
|
"event-type-icon": S(() => [
|
|
2350
|
-
f(
|
|
2350
|
+
f(i(bt))
|
|
2351
2351
|
]),
|
|
2352
2352
|
_: 1
|
|
2353
2353
|
}, 8, ["timestamp", "is-home-team", "event-type"]));
|
|
@@ -2365,13 +2365,13 @@ const bt = { render: Lo }, Co = { class: "is-period-header" }, Go = {
|
|
|
2365
2365
|
}
|
|
2366
2366
|
},
|
|
2367
2367
|
setup(e) {
|
|
2368
|
-
const t = e, a = (/* @__PURE__ */ new Map()).set("Gól", go).set("Kiállítás", Oo).set("Kapus", To).set("Idő", Bo).set("Büntető", Do).set("Period", Go), r = w(() => a.get(t.event.type)),
|
|
2368
|
+
const t = e, a = (/* @__PURE__ */ new Map()).set("Gól", go).set("Kiállítás", Oo).set("Kapus", To).set("Idő", Bo).set("Büntető", Do).set("Period", Go), r = w(() => a.get(t.event.type)), n = w(() => {
|
|
2369
2369
|
var o, s;
|
|
2370
2370
|
return ((s = (o = t.event) == null ? void 0 : o.team) == null ? void 0 : s.id) === t.homeTeamId;
|
|
2371
2371
|
});
|
|
2372
2372
|
return (o, s) => (m(), T(Lt(r.value), {
|
|
2373
2373
|
event: e.event,
|
|
2374
|
-
"is-home-team":
|
|
2374
|
+
"is-home-team": n.value
|
|
2375
2375
|
}, null, 8, ["event", "is-home-team"]));
|
|
2376
2376
|
}
|
|
2377
2377
|
}, Fo = { class: "gamecenter-timeline-game-events" }, Ro = {
|
|
@@ -2428,7 +2428,7 @@ const bt = { render: Lo }, Co = { class: "is-period-header" }, Go = {
|
|
|
2428
2428
|
}
|
|
2429
2429
|
},
|
|
2430
2430
|
setup(e) {
|
|
2431
|
-
const t = e, { t: a } = D(), r = w(() => bn(t.data, t.homeTeamId, t.awayTeamId)),
|
|
2431
|
+
const t = e, { t: a } = D(), r = w(() => bn(t.data, t.homeTeamId, t.awayTeamId)), n = w(() => {
|
|
2432
2432
|
var s, d;
|
|
2433
2433
|
return _t(((d = (s = t.gameOfficials) == null ? void 0 : s.gameTeamMembers) == null ? void 0 : d.home) ?? []);
|
|
2434
2434
|
}), o = w(() => {
|
|
@@ -2437,53 +2437,53 @@ const bt = { render: Lo }, Co = { class: "is-period-header" }, Go = {
|
|
|
2437
2437
|
});
|
|
2438
2438
|
return (s, d) => (m(), b("div", Ko, [
|
|
2439
2439
|
(m(!0), b(k, null, N(r.value, (c, u) => (m(), b(k, { key: u }, [
|
|
2440
|
-
l("h2", Uo, g(
|
|
2440
|
+
l("h2", Uo, g(i(a)(`rows.row-${u}`)), 1),
|
|
2441
2441
|
l("div", Vo, [
|
|
2442
2442
|
(m(!0), b(k, null, N(c, (p, v) => (m(), b("div", {
|
|
2443
2443
|
key: v,
|
|
2444
2444
|
class: H(["gamecenter-timeline-lineups-lines", [{ "is-away-team": v === "away" }]])
|
|
2445
2445
|
}, [
|
|
2446
|
-
(m(!0), b(k, null, N(p, (
|
|
2446
|
+
(m(!0), b(k, null, N(p, (y) => {
|
|
2447
2447
|
var z;
|
|
2448
2448
|
return m(), b("ul", {
|
|
2449
|
-
key:
|
|
2450
|
-
class: H(["is-player-wrapper", [`is-${
|
|
2449
|
+
key: y.position,
|
|
2450
|
+
class: H(["is-player-wrapper", [`is-${y.position}`]])
|
|
2451
2451
|
}, [
|
|
2452
2452
|
l("li", null, [
|
|
2453
|
-
f(
|
|
2454
|
-
src:
|
|
2453
|
+
f(i(U), {
|
|
2454
|
+
src: y.player.picture
|
|
2455
2455
|
}, null, 8, ["src"])
|
|
2456
2456
|
]),
|
|
2457
|
-
l("li", null, g(
|
|
2457
|
+
l("li", null, g(y.number), 1),
|
|
2458
2458
|
l("li", null, [
|
|
2459
|
-
x(g(((z =
|
|
2459
|
+
x(g(((z = i(tt)(y)) == null ? void 0 : z.name) ?? "") + " ", 1),
|
|
2460
2460
|
l("ul", null, [
|
|
2461
|
-
(m(!0), b(k, null, N(
|
|
2462
|
-
f(
|
|
2461
|
+
(m(!0), b(k, null, N(y.goal, (P) => (m(), b("li", { key: P }, [
|
|
2462
|
+
f(i(pe))
|
|
2463
2463
|
]))), 128))
|
|
2464
2464
|
])
|
|
2465
2465
|
]),
|
|
2466
|
-
l("li", null, g(
|
|
2466
|
+
l("li", null, g(y.position), 1)
|
|
2467
2467
|
], 2);
|
|
2468
2468
|
}), 128))
|
|
2469
2469
|
], 2))), 128))
|
|
2470
2470
|
])
|
|
2471
2471
|
], 64))), 128)),
|
|
2472
2472
|
d[0] || (d[0] = l("hr", null, null, -1)),
|
|
2473
|
-
l("h2", qo, g(
|
|
2473
|
+
l("h2", qo, g(i(a)("title.coaches")), 1),
|
|
2474
2474
|
l("div", Yo, [
|
|
2475
2475
|
l("div", Wo, [
|
|
2476
|
-
(m(!0), b(k, null, N(
|
|
2476
|
+
(m(!0), b(k, null, N(n.value, (c, u) => (m(), b("ul", {
|
|
2477
2477
|
key: c.role,
|
|
2478
2478
|
class: "is-official-person-container is-home-team"
|
|
2479
2479
|
}, [
|
|
2480
2480
|
l("li", null, [
|
|
2481
|
-
f(
|
|
2481
|
+
f(i(U), {
|
|
2482
2482
|
src: c.picture
|
|
2483
2483
|
}, null, 8, ["src"])
|
|
2484
2484
|
]),
|
|
2485
2485
|
l("li", null, g(c.name), 1),
|
|
2486
|
-
l("li", null, g(
|
|
2486
|
+
l("li", null, g(i(a)(`teamMembers.${u}`)), 1)
|
|
2487
2487
|
]))), 128))
|
|
2488
2488
|
]),
|
|
2489
2489
|
l("div", Qo, [
|
|
@@ -2492,12 +2492,12 @@ const bt = { render: Lo }, Co = { class: "is-period-header" }, Go = {
|
|
|
2492
2492
|
class: "is-official-person-container is-away-team"
|
|
2493
2493
|
}, [
|
|
2494
2494
|
l("li", null, [
|
|
2495
|
-
f(
|
|
2495
|
+
f(i(U), {
|
|
2496
2496
|
src: c.picture
|
|
2497
2497
|
}, null, 8, ["src"])
|
|
2498
2498
|
]),
|
|
2499
2499
|
l("li", null, g(c.name), 1),
|
|
2500
|
-
l("li", null, g(
|
|
2500
|
+
l("li", null, g(i(a)(`teamMembers.${u}`)), 1)
|
|
2501
2501
|
]))), 128))
|
|
2502
2502
|
])
|
|
2503
2503
|
])
|
|
@@ -2549,48 +2549,48 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2549
2549
|
},
|
|
2550
2550
|
emits: ["sort"],
|
|
2551
2551
|
setup(e, { emit: t }) {
|
|
2552
|
-
const a = e, r = t,
|
|
2552
|
+
const a = e, r = t, n = C(null), { t: o } = D(), s = (d) => r("sort", d);
|
|
2553
2553
|
return (d, c) => (m(), b("div", null, [
|
|
2554
2554
|
l("h2", null, g(e.title), 1),
|
|
2555
|
-
f(
|
|
2555
|
+
f(i(Pa), null, {
|
|
2556
2556
|
default: S(({ el: u }) => [
|
|
2557
|
-
f(
|
|
2557
|
+
f(i(ja), {
|
|
2558
2558
|
columns: a.columns,
|
|
2559
2559
|
rows: a.rows,
|
|
2560
|
-
"append-to":
|
|
2560
|
+
"append-to": n.value || u,
|
|
2561
2561
|
sort: e.sort,
|
|
2562
2562
|
onSort: s
|
|
2563
2563
|
}, {
|
|
2564
2564
|
"cell-name": S(({ row: p }) => [
|
|
2565
2565
|
x(g(p.name) + " ", 1),
|
|
2566
|
-
p.isBP ? (m(), T(
|
|
2566
|
+
p.isBP ? (m(), T(i(Q), {
|
|
2567
2567
|
key: 0,
|
|
2568
2568
|
placement: "top",
|
|
2569
|
-
content:
|
|
2570
|
-
"append-to":
|
|
2569
|
+
content: i(o)("bestPlayer"),
|
|
2570
|
+
"append-to": n.value
|
|
2571
2571
|
}, {
|
|
2572
|
-
default: S(({ setRef: v, show:
|
|
2572
|
+
default: S(({ setRef: v, show: y, hide: z }) => [
|
|
2573
2573
|
l("span", {
|
|
2574
2574
|
ref: v,
|
|
2575
2575
|
class: "is-text-dark",
|
|
2576
|
-
onMouseenter:
|
|
2576
|
+
onMouseenter: y,
|
|
2577
2577
|
onMouseleave: z,
|
|
2578
|
-
onFocus:
|
|
2578
|
+
onFocus: y,
|
|
2579
2579
|
onBlur: z
|
|
2580
2580
|
}, [
|
|
2581
|
-
f(
|
|
2581
|
+
f(i(es))
|
|
2582
2582
|
], 40, ts)
|
|
2583
2583
|
]),
|
|
2584
2584
|
_: 1
|
|
2585
|
-
}, 8, ["content", "append-to"])) :
|
|
2585
|
+
}, 8, ["content", "append-to"])) : h("", !0)
|
|
2586
2586
|
]),
|
|
2587
2587
|
"cell-cora": S(({ row: p }) => [
|
|
2588
2588
|
p.isPlayerC ? (m(), b(k, { key: 0 }, [
|
|
2589
2589
|
x(" C ")
|
|
2590
|
-
], 64)) :
|
|
2590
|
+
], 64)) : h("", !0),
|
|
2591
2591
|
p.isPlayerA ? (m(), b(k, { key: 1 }, [
|
|
2592
2592
|
x(" A ")
|
|
2593
|
-
], 64)) :
|
|
2593
|
+
], 64)) : h("", !0)
|
|
2594
2594
|
]),
|
|
2595
2595
|
_: 2
|
|
2596
2596
|
}, 1032, ["columns", "rows", "append-to", "sort"])
|
|
@@ -2599,7 +2599,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2599
2599
|
}),
|
|
2600
2600
|
l("div", {
|
|
2601
2601
|
ref_key: "tooltipContainer",
|
|
2602
|
-
ref:
|
|
2602
|
+
ref: n
|
|
2603
2603
|
}, null, 512)
|
|
2604
2604
|
]));
|
|
2605
2605
|
}
|
|
@@ -2620,37 +2620,37 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2620
2620
|
}
|
|
2621
2621
|
},
|
|
2622
2622
|
setup(e) {
|
|
2623
|
-
const t = e, { columns: a } = se(ca), { columns: r } = se(tn), { t:
|
|
2623
|
+
const t = e, { columns: a } = se(ca), { columns: r } = se(tn), { t: n } = D(), o = w(() => {
|
|
2624
2624
|
var c, u;
|
|
2625
|
-
return Ie(((u = (c = t.gameOfficials) == null ? void 0 : c.gameTeamMembers) == null ? void 0 : u.home) ?? [],
|
|
2625
|
+
return Ie(((u = (c = t.gameOfficials) == null ? void 0 : c.gameTeamMembers) == null ? void 0 : u.home) ?? [], n);
|
|
2626
2626
|
}), s = w(() => {
|
|
2627
2627
|
var c, u;
|
|
2628
|
-
return Ie(((u = (c = t.gameOfficials) == null ? void 0 : c.gameTeamMembers) == null ? void 0 : u.away) ?? [],
|
|
2629
|
-
}), d = w(() => yn(t.gameOfficials.gameOfficials,
|
|
2628
|
+
return Ie(((u = (c = t.gameOfficials) == null ? void 0 : c.gameTeamMembers) == null ? void 0 : u.away) ?? [], n);
|
|
2629
|
+
}), d = w(() => yn(t.gameOfficials.gameOfficials, n));
|
|
2630
2630
|
return (c, u) => (m(), b("div", as, [
|
|
2631
|
-
l("h2", rs, g(n
|
|
2631
|
+
l("h2", rs, g(i(n)("title.teamOfficials")), 1),
|
|
2632
2632
|
l("div", is, [
|
|
2633
2633
|
f(F, {
|
|
2634
2634
|
class: "is-home-team gamecenter-timeline-data-table",
|
|
2635
|
-
columns:
|
|
2635
|
+
columns: i(a),
|
|
2636
2636
|
rows: o.value,
|
|
2637
2637
|
title: e.homeTeamName
|
|
2638
2638
|
}, null, 8, ["columns", "rows", "title"]),
|
|
2639
2639
|
f(F, {
|
|
2640
2640
|
class: "is-away-team gamecenter-timeline-data-table",
|
|
2641
|
-
columns:
|
|
2641
|
+
columns: i(a),
|
|
2642
2642
|
rows: s.value,
|
|
2643
2643
|
title: e.awayTeamName
|
|
2644
2644
|
}, null, 8, ["columns", "rows", "title"])
|
|
2645
2645
|
]),
|
|
2646
|
-
l("h2", ns, g(n
|
|
2646
|
+
l("h2", ns, g(i(n)("title.gameOfficials")), 1),
|
|
2647
2647
|
l("div", os, [
|
|
2648
2648
|
(m(!0), b(k, null, N(d.value, (p, v) => (m(), T(F, {
|
|
2649
2649
|
key: v,
|
|
2650
2650
|
class: "gamecenter-timeline-data-table",
|
|
2651
|
-
columns:
|
|
2651
|
+
columns: i(r),
|
|
2652
2652
|
rows: p,
|
|
2653
|
-
title: n
|
|
2653
|
+
title: i(n)(`roleType.${v}`)
|
|
2654
2654
|
}, null, 8, ["columns", "rows", "title"]))), 128))
|
|
2655
2655
|
])
|
|
2656
2656
|
]));
|
|
@@ -2665,7 +2665,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2665
2665
|
},
|
|
2666
2666
|
setup(e) {
|
|
2667
2667
|
const t = e, a = w(() => et(t.rows, tt, Ht(["mip"])));
|
|
2668
|
-
return (r,
|
|
2668
|
+
return (r, n) => W(r.$slots, "default", { rows: a.value });
|
|
2669
2669
|
}
|
|
2670
2670
|
}, _e = {
|
|
2671
2671
|
__name: "GamePlayerStatsProvider",
|
|
@@ -2676,13 +2676,13 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2676
2676
|
}
|
|
2677
2677
|
},
|
|
2678
2678
|
setup(e) {
|
|
2679
|
-
const t = e, { sort: a, change: r } = Na(),
|
|
2679
|
+
const t = e, { sort: a, change: r } = Na(), n = w(
|
|
2680
2680
|
() => et(te(ut("gk", "row"), t.rows), Ia("position"), tt)
|
|
2681
|
-
), o = w(() => Aa(
|
|
2681
|
+
), o = w(() => Aa(n.value).sorted(a).value());
|
|
2682
2682
|
return (s, d) => W(s.$slots, "default", {
|
|
2683
2683
|
rows: o.value.rows,
|
|
2684
|
-
sort:
|
|
2685
|
-
onSort:
|
|
2684
|
+
sort: i(a),
|
|
2685
|
+
onSort: i(r)
|
|
2686
2686
|
});
|
|
2687
2687
|
}
|
|
2688
2688
|
}, ls = { class: "is-heading-2" }, cs = { class: "gamecenter-data-column" }, ds = { class: "is-heading-2" }, ms = { class: "gamecenter-data-columns" }, gs = {
|
|
@@ -2708,7 +2708,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2708
2708
|
}
|
|
2709
2709
|
},
|
|
2710
2710
|
setup(e) {
|
|
2711
|
-
const t = e, { t: a } = D(), { columns: r } = se(sa), { columns:
|
|
2711
|
+
const t = e, { t: a } = D(), { columns: r } = se(sa), { columns: n } = se(la), o = w(() => {
|
|
2712
2712
|
var u, p;
|
|
2713
2713
|
return Ee(((p = (u = t.data) == null ? void 0 : u.players) == null ? void 0 : p[t.homeTeamId]) ?? []);
|
|
2714
2714
|
}), s = w(() => {
|
|
@@ -2722,42 +2722,42 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2722
2722
|
return At(((p = (u = t.data) == null ? void 0 : u.goalies) == null ? void 0 : p[t.awayTeamId]) ?? []);
|
|
2723
2723
|
});
|
|
2724
2724
|
return (u, p) => (m(), b(k, null, [
|
|
2725
|
-
l("h2", ls, g(
|
|
2725
|
+
l("h2", ls, g(i(a)("title.fieldPlayers")), 1),
|
|
2726
2726
|
l("div", cs, [
|
|
2727
2727
|
f(_e, { rows: o.value }, {
|
|
2728
|
-
default: S(({ rows: v, sort:
|
|
2728
|
+
default: S(({ rows: v, sort: y, onSort: z }) => [
|
|
2729
2729
|
f(F, {
|
|
2730
2730
|
class: "is-home-team 'gamecenter-timeline-data-table",
|
|
2731
|
-
columns:
|
|
2731
|
+
columns: i(r),
|
|
2732
2732
|
rows: v,
|
|
2733
2733
|
title: e.homeTeamName,
|
|
2734
|
-
sort:
|
|
2734
|
+
sort: y,
|
|
2735
2735
|
onSort: z
|
|
2736
2736
|
}, null, 8, ["columns", "rows", "title", "sort", "onSort"])
|
|
2737
2737
|
]),
|
|
2738
2738
|
_: 1
|
|
2739
2739
|
}, 8, ["rows"]),
|
|
2740
2740
|
f(_e, { rows: s.value }, {
|
|
2741
|
-
default: S(({ rows: v, sort:
|
|
2741
|
+
default: S(({ rows: v, sort: y, onSort: z }) => [
|
|
2742
2742
|
f(F, {
|
|
2743
2743
|
class: "is-away-team gamecenter-timeline-data-table",
|
|
2744
|
-
columns:
|
|
2744
|
+
columns: i(r),
|
|
2745
2745
|
rows: v,
|
|
2746
2746
|
title: e.awayTeamName,
|
|
2747
|
-
sort:
|
|
2747
|
+
sort: y,
|
|
2748
2748
|
onSort: z
|
|
2749
2749
|
}, null, 8, ["columns", "rows", "title", "sort", "onSort"])
|
|
2750
2750
|
]),
|
|
2751
2751
|
_: 1
|
|
2752
2752
|
}, 8, ["rows"])
|
|
2753
2753
|
]),
|
|
2754
|
-
l("h2", ds, g(
|
|
2754
|
+
l("h2", ds, g(i(a)("title.goalies")), 1),
|
|
2755
2755
|
l("div", ms, [
|
|
2756
2756
|
f(Ae, { rows: d.value }, {
|
|
2757
2757
|
default: S(({ rows: v }) => [
|
|
2758
2758
|
f(F, {
|
|
2759
2759
|
class: "is-home-team gamecenter-timeline-data-table",
|
|
2760
|
-
columns: n
|
|
2760
|
+
columns: i(n),
|
|
2761
2761
|
rows: v,
|
|
2762
2762
|
title: e.homeTeamName
|
|
2763
2763
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -2768,7 +2768,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2768
2768
|
default: S(({ rows: v }) => [
|
|
2769
2769
|
f(F, {
|
|
2770
2770
|
class: "is-away-team gamecenter-timeline-data-table",
|
|
2771
|
-
columns: n
|
|
2771
|
+
columns: i(n),
|
|
2772
2772
|
rows: v,
|
|
2773
2773
|
title: e.awayTeamName
|
|
2774
2774
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -2792,31 +2792,31 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2792
2792
|
},
|
|
2793
2793
|
emits: ["update:activeTab"],
|
|
2794
2794
|
setup(e, { emit: t }) {
|
|
2795
|
-
const a = e, r = t,
|
|
2795
|
+
const a = e, r = t, n = it("history"), { t: o } = D();
|
|
2796
2796
|
function s(d) {
|
|
2797
|
-
r("update:activeTab", d), a.useSearchParams && (
|
|
2797
|
+
r("update:activeTab", d), a.useSearchParams && (n.tab = d);
|
|
2798
2798
|
}
|
|
2799
2799
|
return (d, c) => (m(), b("div", us, [
|
|
2800
2800
|
l("button", {
|
|
2801
|
-
class: H(["tab-button", { "is-active": e.activeTab ===
|
|
2802
|
-
onClick: c[0] || (c[0] = (u) => s(
|
|
2803
|
-
}, g(
|
|
2801
|
+
class: H(["tab-button", { "is-active": e.activeTab === i(Ne) }]),
|
|
2802
|
+
onClick: c[0] || (c[0] = (u) => s(i(Ne)))
|
|
2803
|
+
}, g(i(o)("menu.events")), 3),
|
|
2804
2804
|
l("button", {
|
|
2805
|
-
class: H(["tab-button", { "is-active": e.activeTab ===
|
|
2806
|
-
onClick: c[1] || (c[1] = (u) => s(
|
|
2807
|
-
}, g(
|
|
2805
|
+
class: H(["tab-button", { "is-active": e.activeTab === i(We) }]),
|
|
2806
|
+
onClick: c[1] || (c[1] = (u) => s(i(We)))
|
|
2807
|
+
}, g(i(o)("menu.lineups")), 3),
|
|
2808
2808
|
l("button", {
|
|
2809
|
-
class: H(["tab-button", { "is-active": e.activeTab ===
|
|
2810
|
-
onClick: c[2] || (c[2] = (u) => s(
|
|
2811
|
-
}, g(
|
|
2809
|
+
class: H(["tab-button", { "is-active": e.activeTab === i(Qe) }]),
|
|
2810
|
+
onClick: c[2] || (c[2] = (u) => s(i(Qe)))
|
|
2811
|
+
}, g(i(o)("menu.teamStats")), 3),
|
|
2812
2812
|
l("button", {
|
|
2813
|
-
class: H(["tab-button", { "is-active": e.activeTab ===
|
|
2814
|
-
onClick: c[3] || (c[3] = (u) => s(
|
|
2815
|
-
}, g(
|
|
2813
|
+
class: H(["tab-button", { "is-active": e.activeTab === i(Je) }]),
|
|
2814
|
+
onClick: c[3] || (c[3] = (u) => s(i(Je)))
|
|
2815
|
+
}, g(i(o)("menu.playerStats")), 3),
|
|
2816
2816
|
l("button", {
|
|
2817
|
-
class: H(["tab-button", { "is-active": e.activeTab ===
|
|
2818
|
-
onClick: c[4] || (c[4] = (u) => s(
|
|
2819
|
-
}, g(
|
|
2817
|
+
class: H(["tab-button", { "is-active": e.activeTab === i(Ze) }]),
|
|
2818
|
+
onClick: c[4] || (c[4] = (u) => s(i(Ze)))
|
|
2819
|
+
}, g(i(o)("menu.officials")), 3)
|
|
2820
2820
|
]));
|
|
2821
2821
|
}
|
|
2822
2822
|
}, bs = { class: "statistics-double-bar" }, ps = { class: "is-value is-value-start" }, fs = { class: "is-bar is-bar-start" }, hs = { class: "is-bar is-bar-end" }, ys = { class: "is-value is-value-end" }, ws = { class: "is-title" }, J = {
|
|
@@ -2845,13 +2845,13 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2845
2845
|
},
|
|
2846
2846
|
setup(e) {
|
|
2847
2847
|
const t = e, a = w(() => ({ width: `${t.valueStart / t.max * 100 || 0}%` })), r = w(() => ({ width: `${t.valueEnd / t.max * 100 || 0}%` }));
|
|
2848
|
-
return (
|
|
2848
|
+
return (n, o) => (m(), b("div", bs, [
|
|
2849
2849
|
l("div", ps, [
|
|
2850
|
-
W(
|
|
2850
|
+
W(n.$slots, "value-start", {}, () => [
|
|
2851
2851
|
x(g(e.valueStart) + " ", 1),
|
|
2852
2852
|
e.valueSuffix ? (m(), b(k, { key: 0 }, [
|
|
2853
2853
|
x(g(e.valueSuffix), 1)
|
|
2854
|
-
], 64)) :
|
|
2854
|
+
], 64)) : h("", !0)
|
|
2855
2855
|
])
|
|
2856
2856
|
]),
|
|
2857
2857
|
l("div", fs, [
|
|
@@ -2867,11 +2867,11 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2867
2867
|
}, null, 4)
|
|
2868
2868
|
]),
|
|
2869
2869
|
l("div", ys, [
|
|
2870
|
-
W(
|
|
2870
|
+
W(n.$slots, "value-end", {}, () => [
|
|
2871
2871
|
x(g(e.valueEnd) + " ", 1),
|
|
2872
2872
|
e.valueSuffix ? (m(), b(k, { key: 0 }, [
|
|
2873
2873
|
x(g(e.valueSuffix), 1)
|
|
2874
|
-
], 64)) :
|
|
2874
|
+
], 64)) : h("", !0)
|
|
2875
2875
|
])
|
|
2876
2876
|
]),
|
|
2877
2877
|
l("div", ws, g(e.title), 1)
|
|
@@ -2891,21 +2891,21 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2891
2891
|
},
|
|
2892
2892
|
setup(e) {
|
|
2893
2893
|
const t = e, { t: a } = D(), r = w(() => {
|
|
2894
|
-
var v,
|
|
2895
|
-
return ((
|
|
2896
|
-
}),
|
|
2897
|
-
var v,
|
|
2898
|
-
return ((
|
|
2894
|
+
var v, y;
|
|
2895
|
+
return ((y = (v = t.gameData) == null ? void 0 : v.homeTeam) == null ? void 0 : y.id) ?? "";
|
|
2896
|
+
}), n = w(() => {
|
|
2897
|
+
var v, y;
|
|
2898
|
+
return ((y = (v = t.gameData) == null ? void 0 : v.awayTeam) == null ? void 0 : y.id) ?? "";
|
|
2899
2899
|
}), o = w(() => {
|
|
2900
2900
|
var v;
|
|
2901
|
-
return Ve(((v = t.gameStats) == null ? void 0 : v.teamSOG) ?? [],
|
|
2901
|
+
return Ve(((v = t.gameStats) == null ? void 0 : v.teamSOG) ?? [], n.value, r.value, "shots");
|
|
2902
2902
|
}), s = w(() => {
|
|
2903
2903
|
var v;
|
|
2904
|
-
return Ve(((v = t.gameStats) == null ? void 0 : v.teamSOG) ?? [], r.value,
|
|
2904
|
+
return Ve(((v = t.gameStats) == null ? void 0 : v.teamSOG) ?? [], r.value, n.value, "saves");
|
|
2905
2905
|
}), d = w(
|
|
2906
2906
|
() => {
|
|
2907
2907
|
var v;
|
|
2908
|
-
return Ve(((v = t.gameStats) == null ? void 0 : v.teamPenalties) ?? [], r.value,
|
|
2908
|
+
return Ve(((v = t.gameStats) == null ? void 0 : v.teamPenalties) ?? [], r.value, n.value, "penaltyLength");
|
|
2909
2909
|
}
|
|
2910
2910
|
), c = w(() => {
|
|
2911
2911
|
var v;
|
|
@@ -2917,72 +2917,72 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2917
2917
|
var v;
|
|
2918
2918
|
return pn(((v = t.gameStats) == null ? void 0 : v.teamPowerPlay) ?? {});
|
|
2919
2919
|
});
|
|
2920
|
-
return (v,
|
|
2921
|
-
l("h1", ks, g(
|
|
2920
|
+
return (v, y) => (m(), b("div", xs, [
|
|
2921
|
+
l("h1", ks, g(i(a)("teamsStats.sog")), 1),
|
|
2922
2922
|
l("div", Ts, [
|
|
2923
2923
|
(m(!0), b(k, null, N(o.value, ({ max: z, valueStart: P, valueEnd: E }, j) => (m(), T(J, {
|
|
2924
2924
|
key: j,
|
|
2925
2925
|
max: z,
|
|
2926
2926
|
"value-start": P,
|
|
2927
2927
|
"value-end": E,
|
|
2928
|
-
title:
|
|
2928
|
+
title: i(a)(`section.${j}`)
|
|
2929
2929
|
}, null, 8, ["max", "value-start", "value-end", "title"]))), 128))
|
|
2930
2930
|
]),
|
|
2931
|
-
l("h1", Ss, g(
|
|
2931
|
+
l("h1", Ss, g(i(a)("teamsStats.saves")), 1),
|
|
2932
2932
|
l("div", zs, [
|
|
2933
2933
|
(m(!0), b(k, null, N(s.value, ({ max: z, valueStart: P, valueEnd: E }, j) => (m(), T(J, {
|
|
2934
2934
|
key: j,
|
|
2935
2935
|
max: z,
|
|
2936
2936
|
"value-start": P,
|
|
2937
2937
|
"value-end": E,
|
|
2938
|
-
title:
|
|
2938
|
+
title: i(a)(`section.${j}`)
|
|
2939
2939
|
}, null, 8, ["max", "value-start", "value-end", "title"]))), 128))
|
|
2940
2940
|
]),
|
|
2941
|
-
l("h1", $s, g(
|
|
2941
|
+
l("h1", $s, g(i(a)("teamsStats.pim")), 1),
|
|
2942
2942
|
l("div", Ps, [
|
|
2943
2943
|
(m(!0), b(k, null, N(d.value, ({ max: z, valueStart: P, valueEnd: E }, j) => (m(), T(J, {
|
|
2944
2944
|
key: j,
|
|
2945
2945
|
max: z,
|
|
2946
2946
|
"value-start": P,
|
|
2947
2947
|
"value-end": E,
|
|
2948
|
-
title:
|
|
2948
|
+
title: i(a)(`section.${j}`)
|
|
2949
2949
|
}, null, 8, ["max", "value-start", "value-end", "title"]))), 128))
|
|
2950
2950
|
]),
|
|
2951
|
-
l("h1", js, g(
|
|
2951
|
+
l("h1", js, g(i(a)("teamsStats.advPercent")), 1),
|
|
2952
2952
|
l("div", Es, [
|
|
2953
2953
|
(m(!0), b(k, null, N(c.value, ({ max: z, valueStart: P, valueEnd: E, suffix: j }, G) => (m(), T(J, {
|
|
2954
2954
|
key: G,
|
|
2955
2955
|
max: z,
|
|
2956
2956
|
"value-start": P,
|
|
2957
2957
|
"value-end": E,
|
|
2958
|
-
title:
|
|
2958
|
+
title: i(a)(`stats.${G}`),
|
|
2959
2959
|
"value-suffix": j
|
|
2960
2960
|
}, null, 8, ["max", "value-start", "value-end", "title", "value-suffix"]))), 128))
|
|
2961
2961
|
]),
|
|
2962
|
-
l("h1", Ns, g(
|
|
2962
|
+
l("h1", Ns, g(i(a)("teamsStats.penaltyKilling")), 1),
|
|
2963
2963
|
l("div", Os, [
|
|
2964
2964
|
(m(!0), b(k, null, N(u.value, ({ max: z, valueStart: P, valueEnd: E, suffix: j }, G) => (m(), T(J, {
|
|
2965
2965
|
key: G,
|
|
2966
2966
|
max: z,
|
|
2967
2967
|
"value-start": P,
|
|
2968
2968
|
"value-end": E,
|
|
2969
|
-
title:
|
|
2969
|
+
title: i(a)(`stats.${G}`),
|
|
2970
2970
|
"value-suffix": j
|
|
2971
2971
|
}, null, 8, ["max", "value-start", "value-end", "title", "value-suffix"]))), 128))
|
|
2972
2972
|
]),
|
|
2973
|
-
l("h1", Is, g(
|
|
2973
|
+
l("h1", Is, g(i(a)("teamsStats.advantageTime")), 1),
|
|
2974
2974
|
l("div", As, [
|
|
2975
2975
|
f(J, {
|
|
2976
2976
|
max: p.value.advTime.max,
|
|
2977
2977
|
"value-start": p.value.advTime.valueStart,
|
|
2978
2978
|
"value-end": p.value.advTime.valueEnd,
|
|
2979
|
-
title:
|
|
2979
|
+
title: i(a)("section.all")
|
|
2980
2980
|
}, {
|
|
2981
2981
|
"value-start": S(() => [
|
|
2982
|
-
x(g(
|
|
2982
|
+
x(g(i(R)(p.value.advTime.valueStart)), 1)
|
|
2983
2983
|
]),
|
|
2984
2984
|
"value-end": S(() => [
|
|
2985
|
-
x(g(
|
|
2985
|
+
x(g(i(R)(p.value.advTime.valueEnd)), 1)
|
|
2986
2986
|
]),
|
|
2987
2987
|
_: 1
|
|
2988
2988
|
}, 8, ["max", "value-start", "value-end", "title"]),
|
|
@@ -2990,13 +2990,13 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2990
2990
|
max: p.value.advTimePP1.max,
|
|
2991
2991
|
"value-start": p.value.advTimePP1.valueStart,
|
|
2992
2992
|
"value-end": p.value.advTimePP1.valueEnd,
|
|
2993
|
-
title:
|
|
2993
|
+
title: i(a)("teamsStats.advantageTimePP1")
|
|
2994
2994
|
}, {
|
|
2995
2995
|
"value-start": S(() => [
|
|
2996
|
-
x(g(
|
|
2996
|
+
x(g(i(R)(p.value.advTimePP1.valueStart)), 1)
|
|
2997
2997
|
]),
|
|
2998
2998
|
"value-end": S(() => [
|
|
2999
|
-
x(g(
|
|
2999
|
+
x(g(i(R)(p.value.advTimePP1.valueEnd)), 1)
|
|
3000
3000
|
]),
|
|
3001
3001
|
_: 1
|
|
3002
3002
|
}, 8, ["max", "value-start", "value-end", "title"]),
|
|
@@ -3004,13 +3004,13 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3004
3004
|
max: p.value.advTimePP2.max,
|
|
3005
3005
|
"value-start": p.value.advTimePP2.valueStart,
|
|
3006
3006
|
"value-end": p.value.advTimePP2.valueEnd,
|
|
3007
|
-
title:
|
|
3007
|
+
title: i(a)("teamsStats.advantageTimePP2")
|
|
3008
3008
|
}, {
|
|
3009
3009
|
"value-start": S(() => [
|
|
3010
|
-
x(g(
|
|
3010
|
+
x(g(i(R)(p.value.advTimePP2.valueStart)), 1)
|
|
3011
3011
|
]),
|
|
3012
3012
|
"value-end": S(() => [
|
|
3013
|
-
x(g(
|
|
3013
|
+
x(g(i(R)(p.value.advTimePP2.valueEnd)), 1)
|
|
3014
3014
|
]),
|
|
3015
3015
|
_: 1
|
|
3016
3016
|
}, 8, ["max", "value-start", "value-end", "title"])
|
|
@@ -3019,8 +3019,8 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3019
3019
|
}
|
|
3020
3020
|
}, ha = "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: .6275rem;--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-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-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-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--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-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}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s 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)}.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)}.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;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 .icon{margin-right:15px}.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}", Ds = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", Ms = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, Ls = '.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-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)}', Cs = '.progress{display:flex;height:var(--vbr-widget-progress-height);overflow:hidden;font-size:var(--vbr-widget-typography-font-size-50);background-color:var(--vbr-widget-progress-bg-color);border-radius:var(--vbr-widget-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;width:100%;color:var(--vbr-widget-primary-color-0);text-align:center;white-space:nowrap;background-color:var(--vbr-widget-progress-bar-color)}.progress-bar-stripped{--color: var(--vbr-widget-progress-bar-stripe-color);--angle: var(--vbr-widget-progress-bar-stripe-angle);background-image:linear-gradient(var(--angle),var(--color) 25%,transparent 25%,transparent 50%,var(--color) 50%,var(--color) 75%,transparent 75%,transparent);background-size:var(--vbr-widget-progress-height) var(--vbr-widget-progress-height)}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}@keyframes progress-bar-stripes{0%{background-position-x:var(--vbr-widget-progress-height)}}.statistics-double-bar{display:grid;grid-template-columns:.3fr 1fr 1fr .3fr;grid-template-areas:"value-start title title value-end" "bar-start bar-start bar-end bar-end";align-items:center}@media (width > 500px){.statistics-double-bar{grid-template-areas:"title title title title" "value-start bar-start bar-end value-end"}}.statistics-double-bar .is-value{font-weight:700;color:var(--vbr-widget-primary-color-900)}.statistics-double-bar .is-value-start{grid-area:value-start;padding-inline-end:.5rem;justify-self:end}.statistics-double-bar .is-value-end{grid-area:value-end;padding-inline-start:.5rem}.statistics-double-bar .is-bar{background-color:var(--vbr-widget-primary-color-50);height:8px;margin-block:5px}.statistics-double-bar .is-bar-start{grid-area:bar-start;display:flex;justify-content:flex-end}.statistics-double-bar .is-bar-start--progress{background-color:var(--vbr-widget-gamecenter-home-team-identifier-color);outline:1px solid var(--vbr-widget-gamecenter-home-team-identifier-border-color);outline-offset:-1px;height:100%;transition:width .3s ease-out}.statistics-double-bar .is-bar-end{grid-area:bar-end}.statistics-double-bar .is-bar-end--progress{background-color:var(--vbr-widget-gamecenter-away-team-identifier-color);outline:1px solid var(--vbr-widget-gamecenter-away-team-identifier-border-color);outline-offset:-1px;height:100%}.statistics-double-bar .is-title{grid-area:title;justify-self:center;font-size:var(--vbr-widget-typography-font-size-400);font-weight:700;line-height:1.5rem;color:var(--vbr-widget-primary-color-500)}', Gs = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Bs = '.gamecenter-timeline{container-name:rows;container-type:inline-size}.gamecenter-timeline-game-data{margin-bottom:30px;text-align:center}.gamecenter-timeline-game-data .is-teams-and-results{display:grid;grid-template-columns:1fr;justify-items:center;align-items:start;row-gap:1rem;background-color:var(--vbr-widget-primary-color-0)}@media all and (min-width: 576px){.gamecenter-timeline-game-data .is-teams-and-results{grid-template-columns:repeat(3,1fr)}}.gamecenter-timeline-game-data .is-title-container{margin-bottom:30px}.gamecenter-timeline-game-data .is-title-container .is-title{color:var(--vbr-widget-gamecenter-title-color);font-size:var(--vbr-widget-gamecenter-title-size);font-weight:var(--vbr-widget-gamecenter-title-weight);text-transform:uppercase}.gamecenter-timeline-game-data .is-title-container .is-gamedate{color:var(--vbr-widget-gamecenter-gamedate-color);font-size:var(--vbr-widget-gamecenter-gamedate-size);text-transform:uppercase}.gamecenter-timeline-game-data .is-title-container .is-local-gamedate{color:var(--vbr-widget-gamecenter-local-gamedate-color);font-size:var(--vbr-widget-gamecenter-local-gamedate-size);text-transform:uppercase}.gamecenter-timeline-game-data .is-game-result{color:var(--vbr-widget-gamecenter-result-color);font-weight:var(--vbr-widget-gamecenter-result-weight);font-size:var(--vbr-widget-gamecenter-result-size);line-height:var(--vbr-widget-gamecenter-result-size)}.gamecenter-timeline-game-data .is-team-name{display:block;padding:8px 0;color:var(--vbr-widget-gamecenter-teamname-color);font-weight:var(--vbr-widget-gamecenter-teamname-weight);font-size:var(--vbr-widget-gamecenter-teamname-size)}.gamecenter-timeline-game-data .is-game-status{color:var(--vbr-widget-gamecenter-gamestatus-color);font-size:var(--vbr-widget-gamecenter-gamestatus-size);text-transform:uppercase}.gamecenter-timeline-game-data .is-period-results{color:var(--vbr-widget-gamecenter-periodresults-color);font-size:var(--vbr-widget-gamecenter-periodresults-size);font-weight:500}.gamecenter-timeline-game-data .is-team-logo{margin:auto;display:block;width:128px;height:128px}.gamecenter-timeline-game-data .is-game-status-live{color:var(--vbr-widget-live-game-color)}.gamecenter-timeline-game-data .is-external-contents{padding:5px;display:flex;align-items:center;justify-content:center}.gamecenter-timeline-game-data .is-external-contents a{display:flex;align-items:center;font-size:var(--vbr-widget-gamecenter-local-gamedate-size)}.gamecenter-timeline-game-data .is-external-contents a:after{content:"/";margin:0 5px}.gamecenter-timeline-game-data .is-external-contents a:last-of-type:after{content:""}.gamecenter-timeline-game-data .is-external-contents .is-icon{margin-right:5px;display:inline-block;width:15px;height:15px}.gamecenter-timeline-game-data .is-attendance{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-600);color:var(--vbr-widget-primary-color-500)}.gamecenter-timeline-game-data .is-goal-scorers{font-size:var(--vbr-widget-typography-font-size-200);font-weight:700;line-height:var(--vbr-widget-typography-font-lineheight-200);color:var(--vbr-widget-primary-color-500)}.gamecenter-timeline-game-data .is-goal-scorers span{font-weight:400}.gamecenter-timeline-score-board{grid-template-columns:50px auto auto auto 50px;grid-template-rows:50px;align-items:center;justify-items:center;gap:1rem;padding:.5rem;width:100%;color:#fff;background-color:var(--vbr-widget-primary-color-700);position:sticky;top:0;display:none;z-index:100}.gamecenter-timeline-score-board.is-visible{display:grid}.gamecenter-timeline-score-board .is-score{font-size:var(--vbr-widget-typography-font-size-950);font-weight:700}.gamecenter-timeline-score-board .is-team{display:none;font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;color:var(--vbr-widget-primary-color-100)}.gamecenter-timeline-score-board .is-home-team{justify-self:end;text-align:right}.gamecenter-timeline-score-board .is-away-team{justify-self:start}.gamecenter-timeline-score-board .is-game-status{font-size:var(--vbr-widget-typography-font-size-200);font-weight:500;text-transform:uppercase;color:var(--vbr-widget-live-game-color)}.gamecenter-timeline-score-board img{display:block;width:100%;height:100%}@media all and (min-width: 576px){.gamecenter-timeline-score-board{grid-template-columns:1fr 50px auto auto auto 50px 1fr}.gamecenter-timeline-score-board .is-team{display:block}}.gamecenter-timeline .is-heading-1{margin-block-start:3rem;margin-block-end:1rem;font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800);text-align:center;text-transform:uppercase}.gamecenter-timeline .is-heading-2{margin-block-start:3rem;margin-block-end:1rem;font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;color:var(--vbr-widget-primary-color-800);text-align:center;text-transform:uppercase}.gamecenter-timeline-tab-buttons{display:flex;flex-wrap:wrap;justify-content:center;border-bottom:1px solid var(--vbr-widget-primary-color-100);margin-block-end:2rem}.gamecenter-timeline .period-results{width:100%}.gamecenter-timeline .period-results tr:first-of-type{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.gamecenter-timeline .period-results td{font-size:var(--vbr-widget-typography-font-size-500);font-weight:500;color:var(--vbr-widget-primary-color-700)}.gamecenter-timeline .period-results td:nth-child(2){font-size:var(--vbr-widget-typography-font-size-400);text-align:left}.gamecenter-timeline .period-results span{display:inline-block;width:9px;height:9px;border:1px solid #fff;border-radius:50%}.gamecenter-timeline .period-results span.is-home-team{background-color:var(--vbr-widget-gamecenter-home-team-identifier-color);outline:1px solid var(--vbr-widget-gamecenter-home-team-identifier-border-color);outline-offset:-2px}.gamecenter-timeline .period-results span.is-away-team{background-color:var(--vbr-widget-gamecenter-away-team-identifier-color);outline:1px solid var(--vbr-widget-gamecenter-away-team-identifier-border-color);outline-offset:-2px}.gamecenter-timeline-game-events .is-no-action{padding-block:.5rem;text-align:center;color:var(--vbr-widget-primary-color-300)}.gamecenter-timeline-game-events .is-period-header{padding-block:1rem;display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:auto 1fr 1px 1fr}.gamecenter-timeline-game-events .is-period-header p{grid-column:2;grid-row:1;justify-self:center;margin-bottom:.25rem;padding-inline:.5rem;width:max-content;color:#fff;font-size:var(--vbr-widget-typography-font-size-500);font-weight:500;line-height:var(--vbr-widget-typography-font-lineheight-500);background-color:var(--vbr-widget-primary-color-900);border-radius:6px}.gamecenter-timeline-game-events .is-period-header span{grid-column:2;grid-row:2/-1;padding-inline:.5rem;padding-block:.25rem;font-size:small;font-weight:500;color:var(--vbr-widget-primary-color-500);background-color:var(--vbr-widget-primary-color-100);border-radius:.5rem}.gamecenter-timeline-game-events .is-period-header span svg{display:inline-block;width:14px;height:14px;vertical-align:sub}.gamecenter-timeline-game-events .is-period-header div{grid-column:1/-1;grid-row:3;background-color:var(--vbr-widget-primary-color-100)}.gamecenter-timeline-game-event{--columns: .15fr 2px .15fr 1fr;--areas: ". . . ." "time time time details" ". . . .";display:grid;grid-template-columns:var(--columns);grid-template-rows:.5rem 1fr .5rem;grid-template-areas:var(--areas);gap:.25rem}.gamecenter-timeline-game-event .is-timeline{grid-column:2/3;grid-row:1/-1;background-color:var(--vbr-widget-primary-color-200)}.gamecenter-timeline-game-event .is-details-container{grid-area:details;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"type-icon detail-title" "type-icon detail-list";column-gap:1rem;padding:1rem;border-inline-end:5px solid var(--vbr-widget-gamecenter-home-team-identifier-color);background-color:var(--vbr-widget-gamecenter-card-bg-color);border-radius:.5rem;align-items:start;outline:1px solid var(--vbr-widget-gamecenter-card-border-color)}.gamecenter-timeline-game-event .is-details-container:not(:has(.is-details-list)){grid-template-areas:"type-icon detail-title";align-items:center}.gamecenter-timeline-game-event .is-details-container .is-details-title{grid-area:detail-title;font-weight:700;text-transform:uppercase;color:var(--vbr-widget-gamecenter-card-title-color)}.gamecenter-timeline-game-event .is-details-container .is-details-list{grid-area:detail-list;margin:0;padding:0;list-style:none}.gamecenter-timeline-game-event .is-details-container .is-details-list .is-details-sub-title{font-size:var(--vbr-widget-typography-font-size-400);color:var(--vbr-widget-gamecenter-card-secondary-color)}.gamecenter-timeline-game-event .is-details-container .is-details-list .is-evented-person{font-weight:var(--vbr-widget-gamecenter-events-evented-person-weight);color:var(--vbr-widget-gamecenter-card-secondary-color)}.gamecenter-timeline-game-event .is-details-container .is-details-list .is-player-number{font-weight:400;font-style:italic}.gamecenter-timeline-game-event .is-details-container .is-team-logo{grid-area:team-logo;display:none;justify-self:center;align-self:center}.gamecenter-timeline-game-event .is-details-container .is-team-logo img{width:40px;height:40px}.gamecenter-timeline-game-event .is-details-container .is-event-type-icon{grid-area:type-icon;padding:.5rem;border-radius:100%}.gamecenter-timeline-game-event .is-details-container .is-event-type-icon svg{display:block;width:14px;height:14px}@container rows (width > 410px){.gamecenter-timeline-game-event .is-details-container .is-event-type-icon svg{width:24px;height:24px}}.gamecenter-timeline-game-event .is-details-container.is-penalty .is-event-type-icon{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.gamecenter-timeline-game-event .is-details-container.is-timeout .is-event-type-icon{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-gamecenter-events-timeout-bg-color)}.gamecenter-timeline-game-event .is-details-container.is-goalies .is-event-type-icon{color:var(--vbr-widget-primary-color-900);background-color:var(--vbr-widget-neutral-color)}.gamecenter-timeline-game-event .is-details-container.is-penalty-shot-goal .is-event-type-icon{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.gamecenter-timeline-game-event .is-details-container.is-penalty-shot-no-goal .is-event-type-icon{color:var(--vbr-widget-primary-color-400);background-color:var(--vbr-widget-primary-color-100)}.gamecenter-timeline-game-event .is-details-container.is-goal{background-color:var(--vbr-widget-gamecenter-card-event-goal-bg-color);outline-color:var(--vbr-widget-gamecenter-card-event-goal-border-color)}.gamecenter-timeline-game-event .is-details-container.is-goal .is-event-type-icon{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.gamecenter-timeline-game-event .is-details-container.is-goal .is-details-title{color:var(--vbr-widget-primary-color-0)}.gamecenter-timeline-game-event .is-details-container.is-goal .is-evented-person{color:var(--vbr-widget-primary-color-100)}.gamecenter-timeline-game-event .is-details-container.is-goal .is-assists-list{font-size:var(--vbr-widget-typography-font-size-400)}.gamecenter-timeline-game-event .is-details-container.is-goal .is-assists-list span:not(:last-of-type):after{content:"/";margin-inline:.25rem}.gamecenter-timeline-game-event .is-details-container.is-goal .is-poi-data{display:flex;flex-wrap:wrap;gap:.25rem;font-size:var(--vbr-widget-typography-font-size-200);color:var(--vbr-widget-gamecenter-card-tertiary-color)}.gamecenter-timeline-game-event .is-details-container.is-goal .is-poi-data ul{display:flex;gap:.125rem}.gamecenter-timeline-game-event .is-details-container.is-goal .is-poi-data ul li:not(:last-of-type):after{content:","}.gamecenter-timeline-game-event .is-details-container.is-goal .is-badge.is-invert{color:var(--vbr-widget-danger-color-50);background-color:var(--vbr-widget-danger-color-500)}@container rows (width > 410px){.gamecenter-timeline-game-event .is-details-container{grid-template-columns:auto 1fr auto;grid-template-areas:"type-icon detail-title team-logo" "type-icon detail-list team-logo"}.gamecenter-timeline-game-event .is-details-container:not(:has(.is-details-list)){grid-template-areas:"type-icon detail-title team-logo";align-items:center}.gamecenter-timeline-game-event .is-details-container .is-team-logo{display:block}}.gamecenter-timeline-game-event .is-timestamp{grid-area:time;justify-self:center;align-self:center}.gamecenter-timeline-game-event .is-timestamp p{margin:0;padding-inline:.5rem;width:max-content;color:#fff;font-size:var(--vbr-widget-typography-font-size-500);font-weight:500;line-height:var(--vbr-widget-typography-font-lineheight-500);background-color:var(--vbr-widget-primary-color-900);border-radius:6px}.gamecenter-timeline-game-event[data-team=away] .is-details-container{border-color:var(--vbr-widget-gamecenter-away-team-identifier-color)}@container rows (width > 500px){.gamecenter-timeline-game-event{--columns: 1fr .15fr 2px .15fr 1fr;--areas: ". . . . ." "details time time time ." ". . . . ."}.gamecenter-timeline-game-event .is-timeline{grid-column:3/4;grid-row:1/-1}.gamecenter-timeline-game-event[data-team=away]{--areas: ". . . . ." ". time time time details" ". . . . ."}.gamecenter-timeline-game-event[data-team=home] .is-details-container{grid-template-columns:auto 1fr;grid-template-areas:"team-logo detail-title type-icon" "team-logo detail-list type-icon";border-inline-end:none;border-inline-start:5px solid var(--vbr-widget-gamecenter-home-team-identifier-color)}.gamecenter-timeline-game-event[data-team=home] .is-details-container:not(:has(.is-details-list)){grid-template-areas:"team-logo detail-title type-icon"}.gamecenter-timeline-game-event[data-team=home] .is-details-container .is-details-list,.gamecenter-timeline-game-event[data-team=home] .is-details-container .is-details-title{text-align:right}.gamecenter-timeline-game-event[data-team=home] .is-details-container .is-poi-data{justify-content:flex-end}}.gamecenter-timeline-lineups{margin-block-start:1rem;padding-block-end:2rem}.gamecenter-timeline-lineups hr{margin-block:1.5rem;border-top:1px solid var(--vbr-widget-primary-color-100)}.gamecenter-timeline-lineups .is-container{display:grid;gap:2rem}@container rows (width >= 768px){.gamecenter-timeline-lineups .is-container{grid-template-columns:1fr 1fr}}.gamecenter-timeline-lineups-lines{display:grid;grid-template-columns:1fr;grid-template-areas:"ld" "rd" "lw" "c" "rw";gap:.5rem}.gamecenter-timeline-lineups-lines.is-away-team{grid-template-areas:"ld" "rd" "lw" "c" "rw"}.gamecenter-timeline-lineups-lines .is-ld{grid-area:ld}.gamecenter-timeline-lineups-lines .is-rd{grid-area:rd}.gamecenter-timeline-lineups-lines .is-lw{grid-area:lw}.gamecenter-timeline-lineups-lines .is-c{grid-area:c}.gamecenter-timeline-lineups-lines .is-rw{grid-area:rw}.gamecenter-timeline-lineups-lines .is-gk{width:100%}.gamecenter-timeline-lineups-lines.is-away-team .is-player-wrapper{border-inline-start:none;border-inline-end:3px solid var(--vbr-widget-gamecenter-away-team-identifier-color)}@container rows (width >= 768px){.gamecenter-timeline-lineups-lines{grid-template-columns:1fr 1fr;grid-template-areas:". lw" "ld lw" "ld c" "rd c" "rd rw" ". rw";grid-template-rows:1fr 1fr 1fr 1fr 1fr 1fr}.gamecenter-timeline-lineups-lines.is-away-team{grid-template-areas:"lw ." "lw ld" "c ld" "c rd" "rw rd" "rw ."}.gamecenter-timeline-lineups-lines:has(.is-gk){display:flex;justify-content:center;grid-template-columns:none;grid-template-areas:none}.gamecenter-timeline-lineups-lines .is-gk{width:50%}}.gamecenter-timeline-lineups-lines-simple{display:grid;grid-template-columns:1fr;gap:.5rem}@container rows (width >= 768px){.gamecenter-timeline-lineups-lines-simple{grid-template-columns:1fr 1fr}}.gamecenter-timeline-lineups-lines-referees{display:grid;grid-template-columns:1fr;gap:.5rem}@container rows (width >= 768px){.gamecenter-timeline-lineups-lines-referees{grid-template-columns:1fr 1fr 1fr 1fr}}.gamecenter-timeline-lineups .is-official-person-container{display:grid;grid-template-columns:40px 1fr;grid-template-areas:"img name" "img role";align-content:start;column-gap:.5rem;padding:.75rem;outline:1px solid var(--vbr-widget-gamecenter-card-border-color);background-color:var(--vbr-widget-gamecenter-card-bg-color);border-radius:.5rem}.gamecenter-timeline-lineups .is-official-person-container.is-home-team{border-inline-start:3px solid var(--vbr-widget-gamecenter-home-team-identifier-color)}.gamecenter-timeline-lineups .is-official-person-container.is-away-team{border-inline-end:3px solid var(--vbr-widget-gamecenter-away-team-identifier-color)}.gamecenter-timeline-lineups .is-official-person-container li:nth-child(1){grid-area:img}.gamecenter-timeline-lineups .is-official-person-container li:nth-child(2){grid-area:name;font-weight:600;color:var(--vbr-widget-primary-color-700)}.gamecenter-timeline-lineups .is-official-person-container li:nth-child(3){grid-area:role;align-self:center;font-size:var(--vbr-widget-typography-font-size-200);line-height:1;color:var(--vbr-widget-gamecenter-card-tertiary-color);text-transform:uppercase}.gamecenter-timeline-lineups .is-official-person-container img{display:block;width:40px;height:40px;border-radius:50%}.gamecenter-timeline-lineups .is-player-wrapper{display:grid;grid-template-columns:40px auto 1fr;grid-template-areas:"img number name" "img position name";column-gap:.5rem;padding:.75rem;background-color:var(--vbr-widget-gamecenter-card-bg-color);border-inline-start:3px solid var(--vbr-widget-gamecenter-home-team-identifier-color);outline:1px solid var(--vbr-widget-gamecenter-card-border-color);border-radius:.5rem;overflow:hidden}.gamecenter-timeline-lineups .is-player-wrapper li{line-height:var(--vbr-widget-typography-font-lineheight-200)}.gamecenter-timeline-lineups .is-player-wrapper li:nth-child(1){grid-area:img}.gamecenter-timeline-lineups .is-player-wrapper li:nth-child(2){grid-area:number;font-style:italic;color:var(--vbr-widget-primary-color-500)}.gamecenter-timeline-lineups .is-player-wrapper li:nth-child(3){grid-area:name;font-weight:600;color:var(--vbr-widget-primary-color-700);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.gamecenter-timeline-lineups .is-player-wrapper li:nth-child(3) ul{display:inline-flex;gap:.125rem;vertical-align:middle}.gamecenter-timeline-lineups .is-player-wrapper li:nth-child(3) svg{display:inline-block;padding:.2rem;width:12px;height:12px;color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color);border-radius:100%}.gamecenter-timeline-lineups .is-player-wrapper li:nth-child(4){grid-area:position;align-self:center;font-size:var(--vbr-widget-typography-font-size-200);line-height:1;color:var(--vbr-widget-gamecenter-card-tertiary-color);text-transform:uppercase}.gamecenter-timeline-lineups .is-player-wrapper img{display:block;width:40px;height:40px;border-radius:50%}.gamecenter-timeline-team-stats .is-stat-container{display:grid;gap:1rem;margin-inline:auto;width:min(100%,700px)}.gamecenter-timeline-game-officials .is-game-officials-container{display:flex;flex-direction:column;gap:1rem}.gamecenter-timeline-game-officials .is-game-officials-container>div{flex:1}@container rows (width >= 768px){.gamecenter-timeline-game-officials .is-game-officials-container{flex-direction:row}}.gamecenter-timeline-data-table{margin-block-end:1rem;min-width:0}.gamecenter-timeline-data-table h2{padding:8px;font-size:var(--vbr-widget-gamecenter-team-container-title-size);font-weight:700;color:var(--vbr-widget-gamecenter-team-container-title-color)}.gamecenter-timeline-data-table h2:before{display:inline-block;content:"";width:0;aspect-ratio:1;background-color:transparent;border-radius:100%;margin-inline-end:.25rem;margin-block-end:1px}.gamecenter-timeline-data-table.is-home-team h2:before{width:8px;background-color:var(--vbr-widget-gamecenter-home-team-identifier-color);outline:1px solid var(--vbr-widget-gamecenter-home-team-identifier-border-color);outline-offset:-1px}.gamecenter-timeline-data-table.is-away-team h2:before{width:8px;background-color:var(--vbr-widget-gamecenter-away-team-identifier-color);outline:1px solid var(--vbr-widget-gamecenter-away-team-identifier-border-color);outline-offset:-1px}', ya = (e, t) => {
|
|
3021
3021
|
const a = e.__vccOpts || e;
|
|
3022
|
-
for (const [r,
|
|
3023
|
-
a[r] =
|
|
3022
|
+
for (const [r, n] of t)
|
|
3023
|
+
a[r] = n;
|
|
3024
3024
|
return a;
|
|
3025
3025
|
}, Hs = 3e4, Fs = {
|
|
3026
3026
|
__name: "GameTimeline.ce",
|
|
@@ -3039,17 +3039,17 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3039
3039
|
}
|
|
3040
3040
|
},
|
|
3041
3041
|
setup(e) {
|
|
3042
|
-
const t = e, a = { en: { ...na, ...mi }, hu: { ...oa, ...Di } }, r = C(null),
|
|
3042
|
+
const t = e, a = { en: { ...na, ...mi }, hu: { ...oa, ...Di } }, r = C(null), n = C(!1), o = it("history"), s = C(o.tab || Ne);
|
|
3043
3043
|
Va(
|
|
3044
3044
|
r,
|
|
3045
3045
|
([{ isIntersecting: $ }]) => {
|
|
3046
|
-
|
|
3046
|
+
n.value = !$;
|
|
3047
3047
|
},
|
|
3048
3048
|
{
|
|
3049
3049
|
threshold: 0.25
|
|
3050
3050
|
}
|
|
3051
3051
|
);
|
|
3052
|
-
const { errors: d, add: c, remove: u } = ua(), p = w(() => (o == null ? void 0 : o.gameid) || (o == null ? void 0 : o.gameId) || t.gameId), { state: v, execute:
|
|
3052
|
+
const { errors: d, add: c, remove: u } = ua(), p = w(() => (o == null ? void 0 : o.gameid) || (o == null ? void 0 : o.gameId) || t.gameId), { state: v, execute: y } = Z({
|
|
3053
3053
|
options: {
|
|
3054
3054
|
path: "/v2/game-data",
|
|
3055
3055
|
apiKey: t.apiKey,
|
|
@@ -3085,77 +3085,77 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3085
3085
|
});
|
|
3086
3086
|
ga({
|
|
3087
3087
|
data: v,
|
|
3088
|
-
services: { getGameData:
|
|
3088
|
+
services: { getGameData: y, getGameStats: j, getEvents: P, getGameOfficials: ie },
|
|
3089
3089
|
interval: Hs
|
|
3090
3090
|
});
|
|
3091
|
-
const
|
|
3091
|
+
const A = Qi(v);
|
|
3092
3092
|
return ($, L) => (m(), b("div", {
|
|
3093
3093
|
class: "gamecenter-timeline",
|
|
3094
|
-
style: ze(
|
|
3094
|
+
style: ze(i(A))
|
|
3095
3095
|
}, [
|
|
3096
|
-
f(
|
|
3096
|
+
f(i(Gt), {
|
|
3097
3097
|
locale: t.locale,
|
|
3098
3098
|
messages: a
|
|
3099
3099
|
}, {
|
|
3100
3100
|
default: S(() => {
|
|
3101
3101
|
var V, pt;
|
|
3102
3102
|
return [
|
|
3103
|
-
(m(!0), b(k, null, N(
|
|
3103
|
+
(m(!0), b(k, null, N(i(d), (we) => (m(), T(i(Bt), {
|
|
3104
3104
|
key: we.key,
|
|
3105
3105
|
error: we
|
|
3106
3106
|
}, null, 8, ["error"]))), 128)),
|
|
3107
|
-
((V =
|
|
3107
|
+
((V = i(v)) == null ? void 0 : V.gameStatus) === 1 ? (m(), T(Wi, {
|
|
3108
3108
|
key: 0,
|
|
3109
|
-
class: H({ "is-visible":
|
|
3110
|
-
"game-data":
|
|
3111
|
-
}, null, 8, ["class", "game-data"])) :
|
|
3112
|
-
|
|
3109
|
+
class: H({ "is-visible": n.value }),
|
|
3110
|
+
"game-data": i(v)
|
|
3111
|
+
}, null, 8, ["class", "game-data"])) : h("", !0),
|
|
3112
|
+
i(I)(i(v)) ? h("", !0) : (m(), T(Un, {
|
|
3113
3113
|
key: 1,
|
|
3114
3114
|
ref_key: "contentElementRef",
|
|
3115
3115
|
ref: r,
|
|
3116
|
-
"game-events":
|
|
3117
|
-
"game-data":
|
|
3116
|
+
"game-events": i(z),
|
|
3117
|
+
"game-data": i(v),
|
|
3118
3118
|
locale: e.locale
|
|
3119
3119
|
}, null, 8, ["game-events", "game-data", "locale"])),
|
|
3120
|
-
((pt =
|
|
3120
|
+
((pt = i(v)) == null ? void 0 : pt.gameStatus) > 0 ? (m(), b(k, { key: 2 }, [
|
|
3121
3121
|
f(vs, {
|
|
3122
3122
|
"active-tab": s.value,
|
|
3123
3123
|
"onUpdate:activeTab": L[0] || (L[0] = (we) => s.value = we)
|
|
3124
3124
|
}, null, 8, ["active-tab"]),
|
|
3125
|
-
s.value ===
|
|
3125
|
+
s.value === i(Ne) && !i(I)(i(z)) && !i(I)(i(v)) ? (m(), T(Ro, {
|
|
3126
3126
|
key: 0,
|
|
3127
|
-
"game-events":
|
|
3128
|
-
"game-data":
|
|
3129
|
-
}, null, 8, ["game-events", "game-data"])) :
|
|
3130
|
-
s.value ===
|
|
3127
|
+
"game-events": i(z),
|
|
3128
|
+
"game-data": i(v)
|
|
3129
|
+
}, null, 8, ["game-events", "game-data"])) : h("", !0),
|
|
3130
|
+
s.value === i(We) ? (m(), T(Jo, {
|
|
3131
3131
|
key: 1,
|
|
3132
|
-
data:
|
|
3133
|
-
"game-officials":
|
|
3134
|
-
"home-team-id":
|
|
3135
|
-
"home-team-name":
|
|
3136
|
-
"away-team-id":
|
|
3137
|
-
"away-team-name":
|
|
3138
|
-
}, null, 8, ["data", "game-officials", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) :
|
|
3139
|
-
s.value ===
|
|
3132
|
+
data: i(E).players,
|
|
3133
|
+
"game-officials": i(G),
|
|
3134
|
+
"home-team-id": i(v).homeTeam.id,
|
|
3135
|
+
"home-team-name": i(v).homeTeam.longName,
|
|
3136
|
+
"away-team-id": i(v).awayTeam.id,
|
|
3137
|
+
"away-team-name": i(v).awayTeam.longName
|
|
3138
|
+
}, null, 8, ["data", "game-officials", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) : h("", !0),
|
|
3139
|
+
s.value === i(Qe) ? (m(), T(_s, {
|
|
3140
3140
|
key: 2,
|
|
3141
|
-
"game-data":
|
|
3142
|
-
"game-stats":
|
|
3143
|
-
}, null, 8, ["game-data", "game-stats"])) :
|
|
3144
|
-
s.value ===
|
|
3141
|
+
"game-data": i(v),
|
|
3142
|
+
"game-stats": i(E)
|
|
3143
|
+
}, null, 8, ["game-data", "game-stats"])) : h("", !0),
|
|
3144
|
+
s.value === i(Je) && !i(I)(i(E)) ? (m(), T(gs, {
|
|
3145
3145
|
key: 3,
|
|
3146
|
-
data:
|
|
3147
|
-
"home-team-id":
|
|
3148
|
-
"home-team-name":
|
|
3149
|
-
"away-team-id":
|
|
3150
|
-
"away-team-name":
|
|
3151
|
-
}, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) :
|
|
3152
|
-
s.value ===
|
|
3146
|
+
data: i(E),
|
|
3147
|
+
"home-team-id": i(v).homeTeam.id,
|
|
3148
|
+
"home-team-name": i(v).homeTeam.longName,
|
|
3149
|
+
"away-team-id": i(v).awayTeam.id,
|
|
3150
|
+
"away-team-name": i(v).awayTeam.longName
|
|
3151
|
+
}, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) : h("", !0),
|
|
3152
|
+
s.value === i(Ze) && !i(I)(i(G)) && !i(I)(i(v)) ? (m(), T(ss, {
|
|
3153
3153
|
key: 4,
|
|
3154
|
-
"game-officials":
|
|
3155
|
-
"home-team-name":
|
|
3156
|
-
"away-team-name":
|
|
3157
|
-
}, null, 8, ["game-officials", "home-team-name", "away-team-name"])) :
|
|
3158
|
-
], 64)) :
|
|
3154
|
+
"game-officials": i(G),
|
|
3155
|
+
"home-team-name": i(v).homeTeam.longName,
|
|
3156
|
+
"away-team-name": i(v).awayTeam.longName
|
|
3157
|
+
}, null, 8, ["game-officials", "home-team-name", "away-team-name"])) : h("", !0)
|
|
3158
|
+
], 64)) : h("", !0)
|
|
3159
3159
|
];
|
|
3160
3160
|
}),
|
|
3161
3161
|
_: 1
|
|
@@ -3191,10 +3191,10 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3191
3191
|
x(g(e.gameData.championshipName) + " - " + g(e.gameData.divisionName) + " - " + g(e.gameData.gameName) + " / " + g(e.gameData.location.locationName), 1)
|
|
3192
3192
|
])).cacheIndex = 0, B(1), r[0]),
|
|
3193
3193
|
r[1] || (B(-1, !0), (r[1] = l("div", { class: "is-gamedate" }, [
|
|
3194
|
-
x(g(
|
|
3194
|
+
x(g(i($e)(e.gameData.gameDate, "L dddd - HH:mm", null, e.locale)) + " (" + g(i(Pe)(new Date(e.gameData.gameDate), null, e.locale)) + ") ", 1)
|
|
3195
3195
|
])).cacheIndex = 1, B(1), r[1]),
|
|
3196
3196
|
r[2] || (B(-1, !0), (r[2] = l("div", { class: "is-local-gamedate" }, [
|
|
3197
|
-
x(g(
|
|
3197
|
+
x(g(i(t)("localTime")) + " (" + g(e.gameData.location.locationCountryISO || e.gameData.location.locationName) + "): " + g(i($e)(e.gameData.gameDate, "L dddd - HH:mm", e.gameData.location.timezone, e.locale)) + " (" + g(i(Pe)(new Date(e.gameData.gameDate), e.gameData.location.timezone, e.locale)) + ") ", 1)
|
|
3198
3198
|
])).cacheIndex = 2, B(1), r[2]),
|
|
3199
3199
|
l("div", Vs, [
|
|
3200
3200
|
e.gameData.electronicReportUrl ? (m(), b("a", {
|
|
@@ -3202,52 +3202,52 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3202
3202
|
href: e.gameData.electronicReportUrl,
|
|
3203
3203
|
target: "_blank"
|
|
3204
3204
|
}, [
|
|
3205
|
-
f(
|
|
3206
|
-
x(" " + g(
|
|
3207
|
-
], 8, qs)) :
|
|
3205
|
+
f(i(Oe), { class: "is-icon" }),
|
|
3206
|
+
x(" " + g(i(t)("sheet")), 1)
|
|
3207
|
+
], 8, qs)) : h("", !0),
|
|
3208
3208
|
e.gameData.toiReportUrl ? (m(), b("a", {
|
|
3209
3209
|
key: 1,
|
|
3210
3210
|
href: e.gameData.toiReportUrl,
|
|
3211
3211
|
target: "_blank"
|
|
3212
3212
|
}, [
|
|
3213
|
-
f(
|
|
3214
|
-
x(" " + g(
|
|
3215
|
-
], 8, Ys)) :
|
|
3213
|
+
f(i(Oe), { class: "is-icon" }),
|
|
3214
|
+
x(" " + g(i(t)("toiSheet")), 1)
|
|
3215
|
+
], 8, Ys)) : h("", !0),
|
|
3216
3216
|
e.gameData.video ? (m(), b("a", {
|
|
3217
3217
|
key: 2,
|
|
3218
3218
|
href: e.gameData.video,
|
|
3219
3219
|
target: "_blank"
|
|
3220
3220
|
}, [
|
|
3221
|
-
f(
|
|
3222
|
-
x(" " + g(
|
|
3223
|
-
], 8, Ws)) :
|
|
3221
|
+
f(i(va), { class: "is-icon" }),
|
|
3222
|
+
x(" " + g(i(t)("video")), 1)
|
|
3223
|
+
], 8, Ws)) : h("", !0)
|
|
3224
3224
|
])
|
|
3225
3225
|
]),
|
|
3226
3226
|
l("div", Qs, [
|
|
3227
3227
|
r[3] || (B(-1, !0), (r[3] = l("div", null, [
|
|
3228
|
-
f(
|
|
3228
|
+
f(i(U), {
|
|
3229
3229
|
src: e.gameData.homeTeam.logo,
|
|
3230
3230
|
class: "is-team-logo",
|
|
3231
|
-
"default-src":
|
|
3231
|
+
"default-src": i(Be)
|
|
3232
3232
|
}, null, 8, ["src", "default-src"]),
|
|
3233
3233
|
l("h1", Js, g(e.gameData.homeTeam.longName), 1)
|
|
3234
3234
|
])).cacheIndex = 3, B(1), r[3]),
|
|
3235
3235
|
l("div", null, [
|
|
3236
|
-
e.gameData.gameStatus > 1 ? (m(), b("p", Zs, g(
|
|
3237
|
-
e.gameData.gameStatus === 1 ? (m(), b("p", Xs, g(
|
|
3236
|
+
e.gameData.gameStatus > 1 ? (m(), b("p", Zs, g(i(t)(`gameStatus.status-${e.gameData.gameStatus}`)), 1)) : h("", !0),
|
|
3237
|
+
e.gameData.gameStatus === 1 ? (m(), b("p", Xs, g(i(t)(`periods.${i(Fe)(e.gameData.period)}`)), 1)) : h("", !0),
|
|
3238
3238
|
e.gameData.gameStatus > 1 ? (m(), b(k, { key: 2 }, [
|
|
3239
3239
|
e.gameData.isOvertime ? (m(), b("p", el, [
|
|
3240
|
-
l("span", tl, g(
|
|
3241
|
-
])) :
|
|
3240
|
+
l("span", tl, g(i(t)("afterOvertime")), 1)
|
|
3241
|
+
])) : h("", !0),
|
|
3242
3242
|
e.gameData.isShootout ? (m(), b("p", al, [
|
|
3243
|
-
l("span", rl, g(
|
|
3244
|
-
])) :
|
|
3245
|
-
], 64)) :
|
|
3246
|
-
e.gameData.gameStatus === 1 ? (m(), b("p", il, g(e.gameData.actualTime), 1)) :
|
|
3243
|
+
l("span", rl, g(i(t)("afterShootout")), 1)
|
|
3244
|
+
])) : h("", !0)
|
|
3245
|
+
], 64)) : h("", !0),
|
|
3246
|
+
e.gameData.gameStatus === 1 ? (m(), b("p", il, g(e.gameData.actualTime), 1)) : h("", !0),
|
|
3247
3247
|
e.gameData.gameStatus === 1 ? (m(), T(ba, {
|
|
3248
3248
|
key: 4,
|
|
3249
3249
|
"game-data": e.gameData
|
|
3250
|
-
}, null, 8, ["game-data"])) :
|
|
3250
|
+
}, null, 8, ["game-data"])) : h("", !0),
|
|
3251
3251
|
l("div", {
|
|
3252
3252
|
class: H(["is-game-result", [{ "is-game-status-live": e.gameData.gameStatus === 1 }]])
|
|
3253
3253
|
}, [
|
|
@@ -3258,9 +3258,9 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3258
3258
|
l("p", cl, g(e.gameData.periodResults), 1)
|
|
3259
3259
|
]),
|
|
3260
3260
|
r[4] || (B(-1, !0), (r[4] = l("div", null, [
|
|
3261
|
-
f(
|
|
3261
|
+
f(i(U), {
|
|
3262
3262
|
src: e.gameData.awayTeam.logo,
|
|
3263
|
-
"default-src":
|
|
3263
|
+
"default-src": i(He),
|
|
3264
3264
|
class: "is-team-logo"
|
|
3265
3265
|
}, null, 8, ["src", "default-src"]),
|
|
3266
3266
|
l("h1", dl, g(e.gameData.awayTeam.longName), 1)
|
|
@@ -3285,8 +3285,8 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3285
3285
|
},
|
|
3286
3286
|
setup(e) {
|
|
3287
3287
|
const t = e, a = C(null), r = w(() => t.isHomeTeam ? Be : He);
|
|
3288
|
-
return (
|
|
3289
|
-
f(
|
|
3288
|
+
return (n, o) => (m(), b(k, null, [
|
|
3289
|
+
f(i(Q), {
|
|
3290
3290
|
offset: 2,
|
|
3291
3291
|
placement: "top",
|
|
3292
3292
|
theme: "tooltip",
|
|
@@ -3299,7 +3299,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3299
3299
|
tabindex: 0,
|
|
3300
3300
|
"aria-label": e.name
|
|
3301
3301
|
}, oe(d, !0)), [
|
|
3302
|
-
f(
|
|
3302
|
+
f(i(U), {
|
|
3303
3303
|
src: e.logo,
|
|
3304
3304
|
"default-src": r.value
|
|
3305
3305
|
}, null, 8, ["src", "default-src"])
|
|
@@ -3338,7 +3338,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3338
3338
|
}
|
|
3339
3339
|
},
|
|
3340
3340
|
setup(e) {
|
|
3341
|
-
const t = e, a = C(null), r = w(() => te((s) =>
|
|
3341
|
+
const t = e, a = C(null), r = w(() => te((s) => I(s), [t.event.assists1, t.event.assists2])), n = w(() => t.event.homeOnIce), o = w(() => t.event.awayOnIce);
|
|
3342
3342
|
return (s, d) => (m(), b(k, null, [
|
|
3343
3343
|
l("div", ul, g(e.event.eventTime), 1),
|
|
3344
3344
|
l("div", vl, [
|
|
@@ -3350,25 +3350,25 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3350
3350
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3351
3351
|
]),
|
|
3352
3352
|
l("div", bl, [
|
|
3353
|
-
f(
|
|
3353
|
+
f(i(pe), { class: "is-goal-icon" })
|
|
3354
3354
|
]),
|
|
3355
3355
|
l("div", pl, g(e.event.score), 1),
|
|
3356
3356
|
l("div", null, [
|
|
3357
|
-
e.event.advantage ? (m(), b("span", fl, g(e.event.advantage), 1)) :
|
|
3358
|
-
e.event.en ? (m(), b("span", hl, " EN ")) :
|
|
3357
|
+
e.event.advantage ? (m(), b("span", fl, g(e.event.advantage), 1)) : h("", !0),
|
|
3358
|
+
e.event.en ? (m(), b("span", hl, " EN ")) : h("", !0)
|
|
3359
3359
|
]),
|
|
3360
3360
|
l("div", null, [
|
|
3361
3361
|
e.event.ps || e.event.gws || e.event.gwg ? (m(), b("span", yl, [
|
|
3362
3362
|
e.event.ps ? (m(), b(k, { key: 0 }, [
|
|
3363
3363
|
x("PS")
|
|
3364
|
-
], 64)) :
|
|
3364
|
+
], 64)) : h("", !0),
|
|
3365
3365
|
e.event.gws ? (m(), b(k, { key: 1 }, [
|
|
3366
3366
|
x("GWS")
|
|
3367
|
-
], 64)) :
|
|
3367
|
+
], 64)) : h("", !0),
|
|
3368
3368
|
e.event.gwg ? (m(), b(k, { key: 2 }, [
|
|
3369
3369
|
x("GWG")
|
|
3370
|
-
], 64)) :
|
|
3371
|
-
])) :
|
|
3370
|
+
], 64)) : h("", !0)
|
|
3371
|
+
])) : h("", !0)
|
|
3372
3372
|
]),
|
|
3373
3373
|
l("div", null, [
|
|
3374
3374
|
l("dl", null, [
|
|
@@ -3382,9 +3382,9 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3382
3382
|
x(" " + g(c.lastName) + " " + g(c.firstName), 1)
|
|
3383
3383
|
]))), 128))
|
|
3384
3384
|
]),
|
|
3385
|
-
!
|
|
3385
|
+
!i(I)(n.value) || !i(I)(o.value) ? (m(), b("dd", Tl, [
|
|
3386
3386
|
l("ul", null, [
|
|
3387
|
-
(m(!0), b(k, null, N(
|
|
3387
|
+
(m(!0), b(k, null, N(n.value, (c) => (m(), T(i(Q), {
|
|
3388
3388
|
key: c.playerId,
|
|
3389
3389
|
offset: 2,
|
|
3390
3390
|
placement: "top",
|
|
@@ -3405,7 +3405,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3405
3405
|
]),
|
|
3406
3406
|
d[0] || (d[0] = l("span", null, " / ", -1)),
|
|
3407
3407
|
l("ul", null, [
|
|
3408
|
-
(m(!0), b(k, null, N(o.value, (c) => (m(), T(
|
|
3408
|
+
(m(!0), b(k, null, N(o.value, (c) => (m(), T(i(Q), {
|
|
3409
3409
|
key: c.playerId,
|
|
3410
3410
|
offset: 2,
|
|
3411
3411
|
placement: "top",
|
|
@@ -3424,7 +3424,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3424
3424
|
_: 2
|
|
3425
3425
|
}, 1032, ["content", "append-to"]))), 128))
|
|
3426
3426
|
])
|
|
3427
|
-
])) :
|
|
3427
|
+
])) : h("", !0)
|
|
3428
3428
|
]),
|
|
3429
3429
|
l("div", {
|
|
3430
3430
|
ref_key: "tooltipContainer",
|
|
@@ -3457,18 +3457,18 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3457
3457
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3458
3458
|
]),
|
|
3459
3459
|
l("div", El, [
|
|
3460
|
-
e.event.gkDirection === "CSERE" ? (m(), T(
|
|
3460
|
+
e.event.gkDirection === "CSERE" ? (m(), T(i(Xe), {
|
|
3461
3461
|
key: 0,
|
|
3462
3462
|
width: "24",
|
|
3463
3463
|
height: "24",
|
|
3464
3464
|
class: "is-goalie-in-icon"
|
|
3465
|
-
})) :
|
|
3466
|
-
e.event.gkDirection === "BE" ? (m(), T(
|
|
3465
|
+
})) : h("", !0),
|
|
3466
|
+
e.event.gkDirection === "BE" ? (m(), T(i(Xe), {
|
|
3467
3467
|
key: 1,
|
|
3468
3468
|
width: "24",
|
|
3469
3469
|
height: "24",
|
|
3470
3470
|
class: "is-goalie-in-icon"
|
|
3471
|
-
})) : (m(), T(
|
|
3471
|
+
})) : (m(), T(i(pa), {
|
|
3472
3472
|
key: 2,
|
|
3473
3473
|
width: "24",
|
|
3474
3474
|
height: "24",
|
|
@@ -3497,7 +3497,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3497
3497
|
}
|
|
3498
3498
|
},
|
|
3499
3499
|
setup(e) {
|
|
3500
|
-
const t = e, a = C(null), { t: r } = D(),
|
|
3500
|
+
const t = e, a = C(null), { t: r } = D(), n = w(() => ma(t.event));
|
|
3501
3501
|
return (o, s) => (m(), b(k, null, [
|
|
3502
3502
|
l("div", _l, g(e.event.eventTime), 1),
|
|
3503
3503
|
l("div", Dl, [
|
|
@@ -3509,26 +3509,26 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3509
3509
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3510
3510
|
]),
|
|
3511
3511
|
l("div", Ml, [
|
|
3512
|
-
f(
|
|
3512
|
+
f(i(fa), {
|
|
3513
3513
|
width: "24",
|
|
3514
3514
|
height: "24",
|
|
3515
3515
|
class: "is-penalty-icon"
|
|
3516
3516
|
})
|
|
3517
3517
|
]),
|
|
3518
3518
|
l("div", Ll, [
|
|
3519
|
-
f(
|
|
3519
|
+
f(i(Q), {
|
|
3520
3520
|
offset: 2,
|
|
3521
3521
|
placement: "top",
|
|
3522
3522
|
theme: "tooltip",
|
|
3523
|
-
content:
|
|
3523
|
+
content: i(r)(`penalties.${n.value.penaltyCause}`),
|
|
3524
3524
|
"append-to": a.value
|
|
3525
3525
|
}, {
|
|
3526
3526
|
default: S(({ setRef: d, events: c }) => [
|
|
3527
3527
|
l("span", ne({
|
|
3528
3528
|
ref: d,
|
|
3529
3529
|
tabindex: 0,
|
|
3530
|
-
"aria-label":
|
|
3531
|
-
}, oe(c, !0)), g(
|
|
3530
|
+
"aria-label": i(r)(`penalties.${n.value.penaltyCause}`)
|
|
3531
|
+
}, oe(c, !0)), g(n.value.penaltyCause), 17, Cl)
|
|
3532
3532
|
]),
|
|
3533
3533
|
_: 1
|
|
3534
3534
|
}, 8, ["content", "append-to"]),
|
|
@@ -3539,15 +3539,15 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3539
3539
|
]),
|
|
3540
3540
|
l("div", Gl, [
|
|
3541
3541
|
e.event.penaltyLength !== 0 ? (m(), b(k, { key: 0 }, [
|
|
3542
|
-
x(g(
|
|
3543
|
-
], 64)) :
|
|
3542
|
+
x(g(i(r)("events.penaltyLength", [e.event.penaltyLength])), 1)
|
|
3543
|
+
], 64)) : h("", !0),
|
|
3544
3544
|
e.event.perc === 0 ? (m(), b(k, { key: 1 }, [
|
|
3545
3545
|
x(" PS ")
|
|
3546
|
-
], 64)) :
|
|
3546
|
+
], 64)) : h("", !0)
|
|
3547
3547
|
]),
|
|
3548
3548
|
l("div", Bl, g(e.event.penaltyEnd), 1),
|
|
3549
3549
|
l("div", Hl, [
|
|
3550
|
-
e.event.jerseyNumber === null ? (m(), b("span", Fl, g(
|
|
3550
|
+
e.event.jerseyNumber === null ? (m(), b("span", Fl, g(i(r)("events.teamPenalty")), 1)) : (m(), b(k, { key: 1 }, [
|
|
3551
3551
|
l("span", Rl, g(e.event.jerseyNumber), 1),
|
|
3552
3552
|
x(" " + g(e.event.lastName) + " " + g(e.event.firstName), 1)
|
|
3553
3553
|
], 64))
|
|
@@ -3579,7 +3579,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3579
3579
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3580
3580
|
]),
|
|
3581
3581
|
l("div", ql, [
|
|
3582
|
-
f(
|
|
3582
|
+
f(i(pe), { class: "is-goal-so-icon" })
|
|
3583
3583
|
]),
|
|
3584
3584
|
l("div", {
|
|
3585
3585
|
class: H(["is-score-so", [{ "is-score-so-goal": e.event.goal }]])
|
|
@@ -3589,9 +3589,9 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3589
3589
|
class: H(["is-badge is-large", [{ "is-green": e.event.goal }]])
|
|
3590
3590
|
}, [
|
|
3591
3591
|
e.event.goal ? (m(), b(k, { key: 0 }, [
|
|
3592
|
-
x(g(
|
|
3592
|
+
x(g(i(t)("events.score")), 1)
|
|
3593
3593
|
], 64)) : (m(), b(k, { key: 1 }, [
|
|
3594
|
-
x(g(
|
|
3594
|
+
x(g(i(t)("events.missed")), 1)
|
|
3595
3595
|
], 64))
|
|
3596
3596
|
], 2)
|
|
3597
3597
|
]),
|
|
@@ -3627,12 +3627,12 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3627
3627
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3628
3628
|
]),
|
|
3629
3629
|
l("div", Xl, [
|
|
3630
|
-
f(
|
|
3630
|
+
f(i(bt), { class: "is-timer-icon" })
|
|
3631
3631
|
]),
|
|
3632
3632
|
r[0] || (r[0] = l("div", null, null, -1)),
|
|
3633
3633
|
r[1] || (r[1] = l("div", null, null, -1)),
|
|
3634
3634
|
r[2] || (r[2] = l("div", null, null, -1)),
|
|
3635
|
-
l("div", null, g(
|
|
3635
|
+
l("div", null, g(i(t)("events.timeout")), 1)
|
|
3636
3636
|
], 64));
|
|
3637
3637
|
}
|
|
3638
3638
|
}, tc = {
|
|
@@ -3648,13 +3648,13 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3648
3648
|
}
|
|
3649
3649
|
},
|
|
3650
3650
|
setup(e) {
|
|
3651
|
-
const t = e, a = (/* @__PURE__ */ new Map()).set("Gól", $l).set("Kiállítás", Kl).set("Kapus", Al).set("Idő", ec).set("Büntető", Ql), r = w(() => a.get(t.event.type)),
|
|
3651
|
+
const t = e, a = (/* @__PURE__ */ new Map()).set("Gól", $l).set("Kiállítás", Kl).set("Kapus", Al).set("Idő", ec).set("Büntető", Ql), r = w(() => a.get(t.event.type)), n = w(() => {
|
|
3652
3652
|
var o;
|
|
3653
3653
|
return ((o = t.event.team) == null ? void 0 : o.id) === t.homeTeamId;
|
|
3654
3654
|
});
|
|
3655
3655
|
return (o, s) => (m(), T(Lt(r.value), {
|
|
3656
3656
|
event: e.event,
|
|
3657
|
-
"is-home-team":
|
|
3657
|
+
"is-home-team": n.value
|
|
3658
3658
|
}, null, 8, ["event", "is-home-team"]));
|
|
3659
3659
|
}
|
|
3660
3660
|
}, ac = { class: "gamecenter-game-events" }, rc = { class: "is-period-header" }, ic = {
|
|
@@ -3674,10 +3674,10 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3674
3674
|
},
|
|
3675
3675
|
setup(e) {
|
|
3676
3676
|
const t = e, { t: a } = D(), r = w(() => Mi(t.gameData, t.gameEvents));
|
|
3677
|
-
return (
|
|
3677
|
+
return (n, o) => (m(), b("div", ac, [
|
|
3678
3678
|
(m(!0), b(k, null, N(r.value, (s, d) => (m(), b(k, { key: d }, [
|
|
3679
|
-
l("div", rc, g(
|
|
3680
|
-
s.length === 0 ? (m(), b("div", ic, g(
|
|
3679
|
+
l("div", rc, g(i(a)(`periods.${i(Fe)(d)}`)), 1),
|
|
3680
|
+
s.length === 0 ? (m(), b("div", ic, g(i(a)("events.noEventsInPeriod")), 1)) : h("", !0),
|
|
3681
3681
|
(m(!0), b(k, null, N(s, (c) => (m(), b("div", {
|
|
3682
3682
|
key: c.id,
|
|
3683
3683
|
class: "gamecenter-game-event"
|
|
@@ -3714,7 +3714,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3714
3714
|
}
|
|
3715
3715
|
},
|
|
3716
3716
|
setup(e) {
|
|
3717
|
-
const t = e, a = ia([ta(re("startingFive"))]), { columns: r } = se(la),
|
|
3717
|
+
const t = e, a = ia([ta(re("startingFive"))]), { columns: r } = se(la), n = w(() => {
|
|
3718
3718
|
var s;
|
|
3719
3719
|
return a(((s = t.data) == null ? void 0 : s[t.homeTeamId]) ?? []);
|
|
3720
3720
|
}), o = w(() => {
|
|
@@ -3722,11 +3722,11 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3722
3722
|
return a(((s = t.data) == null ? void 0 : s[t.awayTeamId]) ?? []);
|
|
3723
3723
|
});
|
|
3724
3724
|
return (s, d) => (m(), b("div", oc, [
|
|
3725
|
-
f(Ae, { rows:
|
|
3725
|
+
f(Ae, { rows: n.value }, {
|
|
3726
3726
|
default: S(({ rows: c }) => [
|
|
3727
3727
|
f(F, {
|
|
3728
3728
|
class: "gamecenter-data-table",
|
|
3729
|
-
columns:
|
|
3729
|
+
columns: i(r),
|
|
3730
3730
|
rows: c,
|
|
3731
3731
|
title: e.homeTeamName
|
|
3732
3732
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -3737,7 +3737,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3737
3737
|
default: S(({ rows: c }) => [
|
|
3738
3738
|
f(F, {
|
|
3739
3739
|
class: "gamecenter-data-table",
|
|
3740
|
-
columns:
|
|
3740
|
+
columns: i(r),
|
|
3741
3741
|
rows: c,
|
|
3742
3742
|
title: e.awayTeamName
|
|
3743
3743
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -3768,7 +3768,10 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3768
3768
|
l("dd", { innerHTML: e.data }, null, 8, cc)
|
|
3769
3769
|
]));
|
|
3770
3770
|
}
|
|
3771
|
-
}, dc = {
|
|
3771
|
+
}, dc = {
|
|
3772
|
+
key: 0,
|
|
3773
|
+
class: "gamecenter-game-stats"
|
|
3774
|
+
}, mc = { class: "gamecenter-game-stats-container-wrapper" }, gc = {
|
|
3772
3775
|
__name: "GameOfficials",
|
|
3773
3776
|
props: {
|
|
3774
3777
|
gameOfficials: {
|
|
@@ -3790,7 +3793,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3790
3793
|
te((u) => !u)
|
|
3791
3794
|
)([(s = (o = t.gameOfficials) == null ? void 0 : o.gameOfficials) == null ? void 0 : s.first_referee, (c = (d = t.gameOfficials) == null ? void 0 : d.gameOfficials) == null ? void 0 : c.second_referee]);
|
|
3792
3795
|
}
|
|
3793
|
-
),
|
|
3796
|
+
), n = w(
|
|
3794
3797
|
() => {
|
|
3795
3798
|
var o, s, d, c;
|
|
3796
3799
|
return ae(
|
|
@@ -3805,23 +3808,23 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3805
3808
|
);
|
|
3806
3809
|
return (o, s) => {
|
|
3807
3810
|
var d;
|
|
3808
|
-
return m(), b("div", dc, [
|
|
3811
|
+
return !i(I)(r.value) || !i(I)(n.value) ? (m(), b("div", dc, [
|
|
3809
3812
|
l("div", mc, [
|
|
3810
3813
|
f(K, {
|
|
3811
|
-
title:
|
|
3814
|
+
title: i(a)("gameStats.referees"),
|
|
3812
3815
|
data: r.value
|
|
3813
3816
|
}, null, 8, ["title", "data"]),
|
|
3814
3817
|
f(K, {
|
|
3815
|
-
title:
|
|
3816
|
-
data:
|
|
3818
|
+
title: i(a)("gameStats.linesmen"),
|
|
3819
|
+
data: n.value
|
|
3817
3820
|
}, null, 8, ["title", "data"]),
|
|
3818
3821
|
e.gameData.attendance ? (m(), T(K, {
|
|
3819
3822
|
key: 0,
|
|
3820
|
-
title:
|
|
3823
|
+
title: i(a)("gameStats.attendance"),
|
|
3821
3824
|
data: ((d = e.gameData) == null ? void 0 : d.attendance) ?? 0
|
|
3822
|
-
}, null, 8, ["title", "data"])) :
|
|
3825
|
+
}, null, 8, ["title", "data"])) : h("", !0)
|
|
3823
3826
|
])
|
|
3824
|
-
]);
|
|
3827
|
+
])) : h("", !0);
|
|
3825
3828
|
};
|
|
3826
3829
|
}
|
|
3827
3830
|
}, uc = { class: "gamecenter-data-column" }, vc = {
|
|
@@ -3850,7 +3853,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3850
3853
|
const t = e, { columns: a } = se(sa), r = w(() => {
|
|
3851
3854
|
var o;
|
|
3852
3855
|
return Ee(((o = t.data) == null ? void 0 : o[t.homeTeamId]) ?? []);
|
|
3853
|
-
}),
|
|
3856
|
+
}), n = w(() => {
|
|
3854
3857
|
var o;
|
|
3855
3858
|
return Ee(((o = t.data) == null ? void 0 : o[t.awayTeamId]) ?? []);
|
|
3856
3859
|
});
|
|
@@ -3859,7 +3862,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3859
3862
|
default: S(({ rows: d, sort: c, onSort: u }) => [
|
|
3860
3863
|
f(F, {
|
|
3861
3864
|
class: "gamecenter-data-table",
|
|
3862
|
-
columns:
|
|
3865
|
+
columns: i(a),
|
|
3863
3866
|
rows: d,
|
|
3864
3867
|
title: e.homeTeamName,
|
|
3865
3868
|
sort: c,
|
|
@@ -3868,11 +3871,11 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3868
3871
|
]),
|
|
3869
3872
|
_: 1
|
|
3870
3873
|
}, 8, ["rows"]),
|
|
3871
|
-
f(_e, { rows:
|
|
3874
|
+
f(_e, { rows: n.value }, {
|
|
3872
3875
|
default: S(({ rows: d, sort: c, onSort: u }) => [
|
|
3873
3876
|
f(F, {
|
|
3874
3877
|
class: "gamecenter-data-table",
|
|
3875
|
-
columns:
|
|
3878
|
+
columns: i(a),
|
|
3876
3879
|
rows: d,
|
|
3877
3880
|
title: e.awayTeamName,
|
|
3878
3881
|
sort: c,
|
|
@@ -3925,15 +3928,15 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
3925
3928
|
},
|
|
3926
3929
|
setup(e) {
|
|
3927
3930
|
const t = e, { t: a } = D(), r = w(() => {
|
|
3928
|
-
var v,
|
|
3929
|
-
return ((
|
|
3930
|
-
}),
|
|
3931
|
-
var v,
|
|
3932
|
-
return ((
|
|
3931
|
+
var v, y;
|
|
3932
|
+
return ((y = (v = t.gameData) == null ? void 0 : v.homeTeam) == null ? void 0 : y.id) ?? "";
|
|
3933
|
+
}), n = w(() => {
|
|
3934
|
+
var v, y;
|
|
3935
|
+
return ((y = (v = t.gameData) == null ? void 0 : v.awayTeam) == null ? void 0 : y.id) ?? "";
|
|
3933
3936
|
}), o = w(
|
|
3934
3937
|
() => {
|
|
3935
3938
|
var v;
|
|
3936
|
-
return Et(((v = t.gameStats) == null ? void 0 : v.teamSOG) ?? [],
|
|
3939
|
+
return Et(((v = t.gameStats) == null ? void 0 : v.teamSOG) ?? [], n.value, r.value, "shots");
|
|
3937
3940
|
}
|
|
3938
3941
|
), s = w(
|
|
3939
3942
|
() => {
|
|
@@ -3941,7 +3944,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
3941
3944
|
return Li(
|
|
3942
3945
|
((v = t.gameStats) == null ? void 0 : v.teamSOG) ?? [],
|
|
3943
3946
|
r.value,
|
|
3944
|
-
|
|
3947
|
+
n.value,
|
|
3945
3948
|
"saves"
|
|
3946
3949
|
);
|
|
3947
3950
|
}
|
|
@@ -3951,7 +3954,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
3951
3954
|
return Et(
|
|
3952
3955
|
((v = t.gameStats) == null ? void 0 : v.teamPenalties) ?? [],
|
|
3953
3956
|
r.value,
|
|
3954
|
-
|
|
3957
|
+
n.value,
|
|
3955
3958
|
"penaltyLength"
|
|
3956
3959
|
);
|
|
3957
3960
|
}
|
|
@@ -3965,34 +3968,34 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
3965
3968
|
var v;
|
|
3966
3969
|
return Bi(((v = t.gameStats) == null ? void 0 : v.teamPowerPlay) ?? {});
|
|
3967
3970
|
});
|
|
3968
|
-
return (v,
|
|
3971
|
+
return (v, y) => (m(), b("div", hc, [
|
|
3969
3972
|
l("div", yc, [
|
|
3970
3973
|
f(K, {
|
|
3971
|
-
title:
|
|
3974
|
+
title: i(a)("teamsStats.sog"),
|
|
3972
3975
|
data: o.value
|
|
3973
3976
|
}, null, 8, ["title", "data"]),
|
|
3974
3977
|
f(K, {
|
|
3975
|
-
title:
|
|
3978
|
+
title: i(a)("teamsStats.saves"),
|
|
3976
3979
|
data: s.value
|
|
3977
3980
|
}, null, 8, ["title", "data"]),
|
|
3978
3981
|
f(K, {
|
|
3979
|
-
title:
|
|
3982
|
+
title: i(a)("teamsStats.pim"),
|
|
3980
3983
|
data: d.value
|
|
3981
3984
|
}, null, 8, ["title", "data"]),
|
|
3982
3985
|
f(K, {
|
|
3983
|
-
title:
|
|
3986
|
+
title: i(a)("teamsStats.advPercent"),
|
|
3984
3987
|
data: u.value
|
|
3985
3988
|
}, null, 8, ["title", "data"]),
|
|
3986
3989
|
f(K, {
|
|
3987
|
-
title:
|
|
3990
|
+
title: i(a)("teamsStats.penaltyKilling"),
|
|
3988
3991
|
data: p.value
|
|
3989
3992
|
}, null, 8, ["title", "data"]),
|
|
3990
3993
|
f(K, {
|
|
3991
3994
|
data: c.value.advTime
|
|
3992
3995
|
}, {
|
|
3993
3996
|
default: S(() => [
|
|
3994
|
-
x(g(
|
|
3995
|
-
f(
|
|
3997
|
+
x(g(i(a)("teamsStats.advantageTime")) + " ", 1),
|
|
3998
|
+
f(i(Q), {
|
|
3996
3999
|
offset: 2,
|
|
3997
4000
|
placement: "top",
|
|
3998
4001
|
theme: "content",
|
|
@@ -4005,17 +4008,17 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
4005
4008
|
onFocus: P,
|
|
4006
4009
|
onBlur: E
|
|
4007
4010
|
}, [
|
|
4008
|
-
f(
|
|
4011
|
+
f(i(fc))
|
|
4009
4012
|
], 40, wc)
|
|
4010
4013
|
]),
|
|
4011
4014
|
content: S(() => [
|
|
4012
4015
|
l("div", xc, [
|
|
4013
4016
|
f(K, {
|
|
4014
|
-
title:
|
|
4017
|
+
title: i(a)("teamsStats.advantageTimePP1"),
|
|
4015
4018
|
data: c.value.advTimePP1
|
|
4016
4019
|
}, null, 8, ["title", "data"]),
|
|
4017
4020
|
f(K, {
|
|
4018
|
-
title:
|
|
4021
|
+
title: i(a)("teamsStats.advantageTimePP2"),
|
|
4019
4022
|
data: c.value.advTimePP2
|
|
4020
4023
|
}, null, 8, ["title", "data"])
|
|
4021
4024
|
])
|
|
@@ -4026,7 +4029,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
4026
4029
|
_: 1
|
|
4027
4030
|
}, 8, ["data"])
|
|
4028
4031
|
]),
|
|
4029
|
-
|
|
4032
|
+
y[0] || (y[0] = l("div", { id: "popover-container" }, null, -1))
|
|
4030
4033
|
]));
|
|
4031
4034
|
}
|
|
4032
4035
|
}, Tc = { class: "gamecenter-data-columns" }, Sc = {
|
|
@@ -4046,7 +4049,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
4046
4049
|
}
|
|
4047
4050
|
},
|
|
4048
4051
|
setup(e) {
|
|
4049
|
-
const t = e, { columns: a } = se(ca), { t: r } = D(),
|
|
4052
|
+
const t = e, { columns: a } = se(ca), { t: r } = D(), n = w(() => {
|
|
4050
4053
|
var s, d;
|
|
4051
4054
|
return Ie(((d = (s = t.gameOfficials) == null ? void 0 : s.gameTeamMembers) == null ? void 0 : d.home) ?? [], r);
|
|
4052
4055
|
}), o = w(() => {
|
|
@@ -4056,13 +4059,13 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
4056
4059
|
return (s, d) => (m(), b("div", Tc, [
|
|
4057
4060
|
f(F, {
|
|
4058
4061
|
class: "gamecenter-data-table",
|
|
4059
|
-
columns:
|
|
4060
|
-
rows:
|
|
4062
|
+
columns: i(a),
|
|
4063
|
+
rows: n.value,
|
|
4061
4064
|
title: e.homeTeamName
|
|
4062
4065
|
}, null, 8, ["columns", "rows", "title"]),
|
|
4063
4066
|
f(F, {
|
|
4064
4067
|
class: "gamecenter-data-table",
|
|
4065
|
-
columns:
|
|
4068
|
+
columns: i(a),
|
|
4066
4069
|
rows: o.value,
|
|
4067
4070
|
title: e.awayTeamName
|
|
4068
4071
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -4085,7 +4088,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
4085
4088
|
}
|
|
4086
4089
|
},
|
|
4087
4090
|
setup(e) {
|
|
4088
|
-
const t = e, a = { en: na, hu: oa }, r = it("history"), { errors:
|
|
4091
|
+
const t = e, a = { en: na, hu: oa }, r = it("history"), { errors: n, add: o, remove: s } = ua(), d = w(() => r.gameId || r.gameid || r["game-id"] || t.gameId), { state: c, execute: u } = Z({
|
|
4089
4092
|
options: {
|
|
4090
4093
|
path: "/v2/game-data",
|
|
4091
4094
|
apiKey: t.apiKey,
|
|
@@ -4102,7 +4105,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
4102
4105
|
transform: (j) => ae(mt(re("eventPeriod")), Ge, te(ut("Period", "type")))(j != null && j.isEmpty ? [] : j),
|
|
4103
4106
|
onError: (j) => o("gameEvents", j),
|
|
4104
4107
|
onSuccess: () => s("gameEvents")
|
|
4105
|
-
}), { state:
|
|
4108
|
+
}), { state: y, execute: z } = Z({
|
|
4106
4109
|
options: {
|
|
4107
4110
|
path: "/v2/game-stats",
|
|
4108
4111
|
apiKey: t.apiKey,
|
|
@@ -4124,61 +4127,61 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
|
|
|
4124
4127
|
services: { getGameData: u, getGameStats: z, getEvents: v, getGameOfficials: E },
|
|
4125
4128
|
interval: Oc
|
|
4126
4129
|
}), (j, G) => (m(), b("div", Nc, [
|
|
4127
|
-
f(
|
|
4130
|
+
f(i(Gt), {
|
|
4128
4131
|
locale: t.locale,
|
|
4129
4132
|
messages: a
|
|
4130
4133
|
}, {
|
|
4131
4134
|
default: S(() => {
|
|
4132
4135
|
var ie;
|
|
4133
4136
|
return [
|
|
4134
|
-
(m(!0), b(k, null, N(n
|
|
4135
|
-
key:
|
|
4136
|
-
error:
|
|
4137
|
+
(m(!0), b(k, null, N(i(n), (A) => (m(), T(i(Bt), {
|
|
4138
|
+
key: A.key,
|
|
4139
|
+
error: A
|
|
4137
4140
|
}, null, 8, ["error"]))), 128)),
|
|
4138
|
-
|
|
4141
|
+
i(I)(i(c)) ? h("", !0) : (m(), T(ml, {
|
|
4139
4142
|
key: 0,
|
|
4140
|
-
"game-data":
|
|
4143
|
+
"game-data": i(c),
|
|
4141
4144
|
locale: t.locale
|
|
4142
4145
|
}, null, 8, ["game-data", "locale"])),
|
|
4143
|
-
|
|
4146
|
+
i(I)(i(c)) ? h("", !0) : (m(), T(gc, {
|
|
4144
4147
|
key: 1,
|
|
4145
|
-
"game-data":
|
|
4146
|
-
"game-officials":
|
|
4148
|
+
"game-data": i(c),
|
|
4149
|
+
"game-officials": i(P)
|
|
4147
4150
|
}, null, 8, ["game-data", "game-officials"])),
|
|
4148
|
-
((ie =
|
|
4149
|
-
|
|
4151
|
+
((ie = i(c)) == null ? void 0 : ie.gameStatus) > 0 ? (m(), b(k, { key: 2 }, [
|
|
4152
|
+
i(I)(i(y)) ? h("", !0) : (m(), T(kc, {
|
|
4150
4153
|
key: 0,
|
|
4151
|
-
"game-data":
|
|
4152
|
-
"game-stats":
|
|
4154
|
+
"game-data": i(c),
|
|
4155
|
+
"game-stats": i(y)
|
|
4153
4156
|
}, null, 8, ["game-data", "game-stats"])),
|
|
4154
|
-
!
|
|
4157
|
+
!i(I)(i(p)) && !i(I)(i(c)) ? (m(), T(nc, {
|
|
4155
4158
|
key: 1,
|
|
4156
|
-
"game-events":
|
|
4157
|
-
"game-data":
|
|
4158
|
-
}, null, 8, ["game-events", "game-data"])) :
|
|
4159
|
-
|
|
4159
|
+
"game-events": i(p),
|
|
4160
|
+
"game-data": i(c)
|
|
4161
|
+
}, null, 8, ["game-events", "game-data"])) : h("", !0),
|
|
4162
|
+
i(I)(i(y)) ? h("", !0) : (m(), T(vc, {
|
|
4160
4163
|
key: 2,
|
|
4161
|
-
data:
|
|
4162
|
-
"home-team-id":
|
|
4163
|
-
"home-team-name":
|
|
4164
|
-
"away-team-id":
|
|
4165
|
-
"away-team-name":
|
|
4164
|
+
data: i(y).players,
|
|
4165
|
+
"home-team-id": i(c).homeTeam.id,
|
|
4166
|
+
"home-team-name": i(c).homeTeam.longName,
|
|
4167
|
+
"away-team-id": i(c).awayTeam.id,
|
|
4168
|
+
"away-team-name": i(c).awayTeam.longName
|
|
4166
4169
|
}, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])),
|
|
4167
|
-
|
|
4170
|
+
i(I)(i(y)) ? h("", !0) : (m(), T(sc, {
|
|
4168
4171
|
key: 3,
|
|
4169
|
-
data:
|
|
4170
|
-
"home-team-id":
|
|
4171
|
-
"home-team-name":
|
|
4172
|
-
"away-team-id":
|
|
4173
|
-
"away-team-name":
|
|
4172
|
+
data: i(y).goalies,
|
|
4173
|
+
"home-team-id": i(c).homeTeam.id,
|
|
4174
|
+
"home-team-name": i(c).homeTeam.longName,
|
|
4175
|
+
"away-team-id": i(c).awayTeam.id,
|
|
4176
|
+
"away-team-name": i(c).awayTeam.longName
|
|
4174
4177
|
}, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])),
|
|
4175
|
-
!
|
|
4178
|
+
!i(I)(i(P)) && !i(I)(i(c)) ? (m(), T(Sc, {
|
|
4176
4179
|
key: 4,
|
|
4177
|
-
"game-officials":
|
|
4178
|
-
"home-team-name":
|
|
4179
|
-
"away-team-name":
|
|
4180
|
-
}, null, 8, ["game-officials", "home-team-name", "away-team-name"])) :
|
|
4181
|
-
], 64)) :
|
|
4180
|
+
"game-officials": i(P),
|
|
4181
|
+
"home-team-name": i(c).homeTeam.longName,
|
|
4182
|
+
"away-team-name": i(c).awayTeam.longName
|
|
4183
|
+
}, null, 8, ["game-officials", "home-team-name", "away-team-name"])) : h("", !0)
|
|
4184
|
+
], 64)) : h("", !0)
|
|
4182
4185
|
];
|
|
4183
4186
|
}),
|
|
4184
4187
|
_: 1
|