@mjsz-vbr-elements/gamecenter 2.30.1 → 2.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +562 -562
- 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.30.
|
|
3
|
+
* version: v2.30.2 - 24/10/2025, 19:34:54
|
|
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 { readonly as Yt, watch as ge, getCurrentScope as Ga, onScopeDispose as Ba, shallowRef as He, shallowReadonly as Qt, ref as F, toValue as Q, toRef as Ha, customRef as Ra, isRef as Jt, reactive as Et, computed as f, unref as
|
|
8
|
+
import { readonly as Yt, watch as ge, getCurrentScope as Ga, onScopeDispose as Ba, shallowRef as He, shallowReadonly as Qt, ref as F, toValue as Q, toRef as Ha, customRef as Ra, isRef as Jt, reactive as Et, computed as f, unref as i, createElementBlock as u, openBlock as c, createElementVNode as s, normalizeStyle as Ee, toDisplayString as m, Fragment as k, renderList as E, toRefs as dt, setBlockTracking as R, createTextVNode as w, createCommentVNode as h, createVNode as b, createBlock as x, normalizeClass as q, renderSlot as te, withCtx as T, mergeProps as oe, toHandlers as se, resolveDynamicComponent as Zt, TransitionGroup as Fa, withModifiers as Ka, defineCustomElement as Xt } from "vue";
|
|
9
9
|
import { Image as ae, FloatingPanel as Z, ResponsiveTable as Va, DataTable as Ua, I18NProvider as ea, ErrorNotice as ta } from "@mjsz-vbr-elements/core/components";
|
|
10
10
|
import { useVisibilityChange as qa, useI18n as L, useColumns as ue, useSort as Wa, useServices as ie, useGameDataSocket as Ya } from "@mjsz-vbr-elements/core/composables";
|
|
11
11
|
import { rawConvert as gt, convertSecToMin as U, convertTimesSecToMin as aa, convertMinToSec as Qa, format as Ne, offsetName as Oe, playerName as mt, upperCase as Ja, convert as Za, resolveApiKey as ra, getWebsocketURL as et } from "@mjsz-vbr-elements/core/utils";
|
|
@@ -22,70 +22,70 @@ function ia(...e) {
|
|
|
22
22
|
return typeof t == "function" ? Yt(Ra(() => ({ get: t, set: tt }))) : F(t);
|
|
23
23
|
}
|
|
24
24
|
function na(e, t) {
|
|
25
|
-
function a(...
|
|
25
|
+
function a(...r) {
|
|
26
26
|
return new Promise((n, o) => {
|
|
27
|
-
Promise.resolve(e(() => t.apply(this,
|
|
27
|
+
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(n).catch(o);
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
return a;
|
|
31
31
|
}
|
|
32
32
|
const oa = (e) => e();
|
|
33
33
|
function rr(...e) {
|
|
34
|
-
let t = 0, a,
|
|
34
|
+
let t = 0, a, r = !0, n = tt, o, l, d, g, v;
|
|
35
35
|
!Jt(e[0]) && typeof e[0] == "object" ? { delay: l, trailing: d = !0, leading: g = !0, rejectOnCancel: v = !1 } = e[0] : [l, d = !0, g = !0, v = !1] = e;
|
|
36
36
|
const p = () => {
|
|
37
37
|
a && (clearTimeout(a), a = void 0, n(), n = tt);
|
|
38
38
|
};
|
|
39
39
|
return (y) => {
|
|
40
40
|
const z = Q(l), P = Date.now() - t, N = () => o = y();
|
|
41
|
-
return p(), z <= 0 ? (t = Date.now(), N()) : (P > z && (g || !
|
|
41
|
+
return p(), z <= 0 ? (t = Date.now(), N()) : (P > z && (g || !r) ? (t = Date.now(), N()) : d && (o = new Promise(($, G) => {
|
|
42
42
|
n = v ? G : $, a = setTimeout(() => {
|
|
43
|
-
t = Date.now(),
|
|
43
|
+
t = Date.now(), r = !0, $(N()), p();
|
|
44
44
|
}, Math.max(0, z - P));
|
|
45
|
-
})), !g && !a && (a = setTimeout(() =>
|
|
45
|
+
})), !g && !a && (a = setTimeout(() => r = !0, z)), r = !1, o);
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
function ir(e = oa, t = {}) {
|
|
49
49
|
const {
|
|
50
50
|
initialState: a = "active"
|
|
51
|
-
} = t,
|
|
51
|
+
} = t, r = ia(a === "active");
|
|
52
52
|
function n() {
|
|
53
|
-
|
|
53
|
+
r.value = !1;
|
|
54
54
|
}
|
|
55
55
|
function o() {
|
|
56
|
-
|
|
56
|
+
r.value = !0;
|
|
57
57
|
}
|
|
58
58
|
const l = (...d) => {
|
|
59
|
-
|
|
59
|
+
r.value && e(...d);
|
|
60
60
|
};
|
|
61
|
-
return { isActive: Yt(
|
|
61
|
+
return { isActive: Yt(r), pause: n, resume: o, eventFilter: l };
|
|
62
62
|
}
|
|
63
63
|
function Ye(e) {
|
|
64
64
|
return Array.isArray(e) ? e : [e];
|
|
65
65
|
}
|
|
66
|
-
function nr(e, t = 200, a = !1,
|
|
66
|
+
function nr(e, t = 200, a = !1, r = !0, n = !1) {
|
|
67
67
|
return na(
|
|
68
|
-
rr(t, a,
|
|
68
|
+
rr(t, a, r, n),
|
|
69
69
|
e
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
|
-
function or(e, t = 200, a = !0,
|
|
72
|
+
function or(e, t = 200, a = !0, r = !0) {
|
|
73
73
|
if (t <= 0)
|
|
74
74
|
return e;
|
|
75
75
|
const n = F(Q(e)), o = nr(() => {
|
|
76
76
|
n.value = e.value;
|
|
77
|
-
}, t, a,
|
|
77
|
+
}, t, a, r);
|
|
78
78
|
return ge(e, () => o()), n;
|
|
79
79
|
}
|
|
80
80
|
function sr(e, t, a = {}) {
|
|
81
81
|
const {
|
|
82
|
-
eventFilter:
|
|
82
|
+
eventFilter: r = oa,
|
|
83
83
|
...n
|
|
84
84
|
} = a;
|
|
85
85
|
return ge(
|
|
86
86
|
e,
|
|
87
87
|
na(
|
|
88
|
-
|
|
88
|
+
r,
|
|
89
89
|
t
|
|
90
90
|
),
|
|
91
91
|
n
|
|
@@ -93,10 +93,10 @@ function sr(e, t, a = {}) {
|
|
|
93
93
|
}
|
|
94
94
|
function lr(e, t, a = {}) {
|
|
95
95
|
const {
|
|
96
|
-
eventFilter:
|
|
96
|
+
eventFilter: r,
|
|
97
97
|
initialState: n = "active",
|
|
98
98
|
...o
|
|
99
|
-
} = a, { eventFilter: l, pause: d, resume: g, isActive: v } = ir(
|
|
99
|
+
} = a, { eventFilter: l, pause: d, resume: g, isActive: v } = ir(r, { initialState: n });
|
|
100
100
|
return { stop: sr(
|
|
101
101
|
e,
|
|
102
102
|
t,
|
|
@@ -108,7 +108,7 @@ function lr(e, t, a = {}) {
|
|
|
108
108
|
}
|
|
109
109
|
function cr(e, t = 1e3, a = {}) {
|
|
110
110
|
const {
|
|
111
|
-
immediate:
|
|
111
|
+
immediate: r = !0,
|
|
112
112
|
immediateCallback: n = !1
|
|
113
113
|
} = a;
|
|
114
114
|
let o = null;
|
|
@@ -123,7 +123,7 @@ function cr(e, t = 1e3, a = {}) {
|
|
|
123
123
|
const p = Q(t);
|
|
124
124
|
p <= 0 || (l.value = !0, n && e(), d(), l.value && (o = setInterval(e, p)));
|
|
125
125
|
}
|
|
126
|
-
if (
|
|
126
|
+
if (r && ne && v(), Jt(t) || typeof t == "function") {
|
|
127
127
|
const p = ge(t, () => {
|
|
128
128
|
l.value && ne && v();
|
|
129
129
|
});
|
|
@@ -137,7 +137,7 @@ function cr(e, t = 1e3, a = {}) {
|
|
|
137
137
|
}
|
|
138
138
|
function dr(e, t, a = {}) {
|
|
139
139
|
const {
|
|
140
|
-
immediate:
|
|
140
|
+
immediate: r = !0,
|
|
141
141
|
immediateCallback: n = !1
|
|
142
142
|
} = a, o = He(!1);
|
|
143
143
|
let l;
|
|
@@ -152,7 +152,7 @@ function dr(e, t, a = {}) {
|
|
|
152
152
|
o.value = !1, l = void 0, e(...p);
|
|
153
153
|
}, Q(t));
|
|
154
154
|
}
|
|
155
|
-
return
|
|
155
|
+
return r && (o.value = !0, ne && v()), be(g), {
|
|
156
156
|
isPending: Qt(o),
|
|
157
157
|
start: v,
|
|
158
158
|
stop: g
|
|
@@ -177,7 +177,7 @@ function mr(e) {
|
|
|
177
177
|
function at(...e) {
|
|
178
178
|
const t = [], a = () => {
|
|
179
179
|
t.forEach((d) => d()), t.length = 0;
|
|
180
|
-
},
|
|
180
|
+
}, r = (d, g, v, p) => (d.addEventListener(g, v, p), () => d.removeEventListener(g, v, p)), n = f(() => {
|
|
181
181
|
const d = Ye(Q(e[0])).filter((g) => g != null);
|
|
182
182
|
return d.every((g) => typeof g != "string") ? d : void 0;
|
|
183
183
|
}), o = gr(
|
|
@@ -186,7 +186,7 @@ function at(...e) {
|
|
|
186
186
|
return [
|
|
187
187
|
(g = (d = n.value) == null ? void 0 : d.map((v) => mr(v))) != null ? g : [sa].filter((v) => v != null),
|
|
188
188
|
Ye(Q(n.value ? e[1] : e[0])),
|
|
189
|
-
Ye(
|
|
189
|
+
Ye(i(n.value ? e[2] : e[1])),
|
|
190
190
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
191
191
|
Q(n.value ? e[3] : e[2])
|
|
192
192
|
];
|
|
@@ -198,7 +198,7 @@ function at(...e) {
|
|
|
198
198
|
t.push(
|
|
199
199
|
...d.flatMap(
|
|
200
200
|
(y) => g.flatMap(
|
|
201
|
-
(z) => v.map((P) =>
|
|
201
|
+
(z) => v.map((P) => r(y, z, P, S))
|
|
202
202
|
)
|
|
203
203
|
)
|
|
204
204
|
);
|
|
@@ -211,9 +211,9 @@ function at(...e) {
|
|
|
211
211
|
}
|
|
212
212
|
function pe(e, t, a = {}) {
|
|
213
213
|
const {
|
|
214
|
-
immediate:
|
|
214
|
+
immediate: r = !0,
|
|
215
215
|
immediateCallback: n = !1
|
|
216
|
-
} = a, { start: o } = dr(d, t, { immediate:
|
|
216
|
+
} = a, { start: o } = dr(d, t, { immediate: r }), l = He(!1);
|
|
217
217
|
async function d() {
|
|
218
218
|
l.value && (await e(), o());
|
|
219
219
|
}
|
|
@@ -223,7 +223,7 @@ function pe(e, t, a = {}) {
|
|
|
223
223
|
function v() {
|
|
224
224
|
l.value = !1;
|
|
225
225
|
}
|
|
226
|
-
return
|
|
226
|
+
return r && ne && g(), be(v), {
|
|
227
227
|
isActive: l,
|
|
228
228
|
pause: v,
|
|
229
229
|
resume: g
|
|
@@ -232,7 +232,7 @@ function pe(e, t, a = {}) {
|
|
|
232
232
|
function vt(e = "history", t = {}) {
|
|
233
233
|
const {
|
|
234
234
|
initialValue: a = {},
|
|
235
|
-
removeNullishValues:
|
|
235
|
+
removeNullishValues: r = !0,
|
|
236
236
|
removeFalsyValues: n = !1,
|
|
237
237
|
write: o = !0,
|
|
238
238
|
writeMode: l = "replace",
|
|
@@ -277,7 +277,7 @@ function vt(e = "history", t = {}) {
|
|
|
277
277
|
const j = new URLSearchParams("");
|
|
278
278
|
Object.keys(v).forEach((_) => {
|
|
279
279
|
const D = v[_];
|
|
280
|
-
Array.isArray(D) ? D.forEach((H) => j.append(_, H)) :
|
|
280
|
+
Array.isArray(D) ? D.forEach((H) => j.append(_, H)) : r && D == null || n && !D ? j.delete(_) : j.set(_, D);
|
|
281
281
|
}), $(j, !1);
|
|
282
282
|
},
|
|
283
283
|
{ deep: !0 }
|
|
@@ -308,7 +308,7 @@ function Qe(e) {
|
|
|
308
308
|
function ur(e, t = {}) {
|
|
309
309
|
const {
|
|
310
310
|
onConnected: a,
|
|
311
|
-
onDisconnected:
|
|
311
|
+
onDisconnected: r,
|
|
312
312
|
onError: n,
|
|
313
313
|
onMessage: o,
|
|
314
314
|
immediate: l = !0,
|
|
@@ -336,7 +336,7 @@ function ur(e, t = {}) {
|
|
|
336
336
|
y.value = B, S.value = "CONNECTING", B.onopen = () => {
|
|
337
337
|
S.value = "OPEN", G = 0, a?.(B), N?.(), _();
|
|
338
338
|
}, B.onclose = (K) => {
|
|
339
|
-
if (S.value = "CLOSED", H(), P?.(),
|
|
339
|
+
if (S.value = "CLOSED", H(), P?.(), r?.(B, K), !$ && t.autoReconnect && (y.value == null || B === y.value)) {
|
|
340
340
|
const {
|
|
341
341
|
retries: ee = -1,
|
|
342
342
|
delay: ye = 1e3,
|
|
@@ -397,7 +397,7 @@ function M(e) {
|
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
399
|
function A(e) {
|
|
400
|
-
return function t(a,
|
|
400
|
+
return function t(a, r) {
|
|
401
401
|
switch (arguments.length) {
|
|
402
402
|
case 0:
|
|
403
403
|
return t;
|
|
@@ -406,11 +406,11 @@ function A(e) {
|
|
|
406
406
|
return e(a, n);
|
|
407
407
|
});
|
|
408
408
|
default:
|
|
409
|
-
return O(a) && O(
|
|
410
|
-
return e(n,
|
|
411
|
-
}) : O(
|
|
409
|
+
return O(a) && O(r) ? t : O(a) ? M(function(n) {
|
|
410
|
+
return e(n, r);
|
|
411
|
+
}) : O(r) ? M(function(n) {
|
|
412
412
|
return e(a, n);
|
|
413
|
-
}) : e(a,
|
|
413
|
+
}) : e(a, r);
|
|
414
414
|
}
|
|
415
415
|
};
|
|
416
416
|
}
|
|
@@ -425,39 +425,39 @@ function Re(e, t) {
|
|
|
425
425
|
return t.apply(this, arguments);
|
|
426
426
|
};
|
|
427
427
|
case 2:
|
|
428
|
-
return function(a,
|
|
428
|
+
return function(a, r) {
|
|
429
429
|
return t.apply(this, arguments);
|
|
430
430
|
};
|
|
431
431
|
case 3:
|
|
432
|
-
return function(a,
|
|
432
|
+
return function(a, r, n) {
|
|
433
433
|
return t.apply(this, arguments);
|
|
434
434
|
};
|
|
435
435
|
case 4:
|
|
436
|
-
return function(a,
|
|
436
|
+
return function(a, r, n, o) {
|
|
437
437
|
return t.apply(this, arguments);
|
|
438
438
|
};
|
|
439
439
|
case 5:
|
|
440
|
-
return function(a,
|
|
440
|
+
return function(a, r, n, o, l) {
|
|
441
441
|
return t.apply(this, arguments);
|
|
442
442
|
};
|
|
443
443
|
case 6:
|
|
444
|
-
return function(a,
|
|
444
|
+
return function(a, r, n, o, l, d) {
|
|
445
445
|
return t.apply(this, arguments);
|
|
446
446
|
};
|
|
447
447
|
case 7:
|
|
448
|
-
return function(a,
|
|
448
|
+
return function(a, r, n, o, l, d, g) {
|
|
449
449
|
return t.apply(this, arguments);
|
|
450
450
|
};
|
|
451
451
|
case 8:
|
|
452
|
-
return function(a,
|
|
452
|
+
return function(a, r, n, o, l, d, g, v) {
|
|
453
453
|
return t.apply(this, arguments);
|
|
454
454
|
};
|
|
455
455
|
case 9:
|
|
456
|
-
return function(a,
|
|
456
|
+
return function(a, r, n, o, l, d, g, v, p) {
|
|
457
457
|
return t.apply(this, arguments);
|
|
458
458
|
};
|
|
459
459
|
case 10:
|
|
460
|
-
return function(a,
|
|
460
|
+
return function(a, r, n, o, l, d, g, v, p, S) {
|
|
461
461
|
return t.apply(this, arguments);
|
|
462
462
|
};
|
|
463
463
|
default:
|
|
@@ -466,18 +466,18 @@ function Re(e, t) {
|
|
|
466
466
|
}
|
|
467
467
|
function pt(e, t, a) {
|
|
468
468
|
return function() {
|
|
469
|
-
for (var
|
|
469
|
+
for (var r = [], n = 0, o = e, l = 0, d = !1; l < t.length || n < arguments.length; ) {
|
|
470
470
|
var g;
|
|
471
|
-
l < t.length && (!O(t[l]) || n >= arguments.length) ? g = t[l] : (g = arguments[n], n += 1),
|
|
471
|
+
l < t.length && (!O(t[l]) || n >= arguments.length) ? g = t[l] : (g = arguments[n], n += 1), r[l] = g, O(g) ? d = !0 : o -= 1, l += 1;
|
|
472
472
|
}
|
|
473
|
-
return !d && o <= 0 ? a.apply(this,
|
|
473
|
+
return !d && o <= 0 ? a.apply(this, r) : Re(Math.max(0, o), pt(e, r, a));
|
|
474
474
|
};
|
|
475
475
|
}
|
|
476
476
|
var bt = /* @__PURE__ */ A(function(t, a) {
|
|
477
477
|
return t === 1 ? M(a) : Re(t, pt(t, [], a));
|
|
478
478
|
});
|
|
479
479
|
function fe(e) {
|
|
480
|
-
return function t(a,
|
|
480
|
+
return function t(a, r, n) {
|
|
481
481
|
switch (arguments.length) {
|
|
482
482
|
case 0:
|
|
483
483
|
return t;
|
|
@@ -486,27 +486,27 @@ function fe(e) {
|
|
|
486
486
|
return e(a, o, l);
|
|
487
487
|
});
|
|
488
488
|
case 2:
|
|
489
|
-
return O(a) && O(
|
|
490
|
-
return e(o,
|
|
491
|
-
}) : O(
|
|
489
|
+
return O(a) && O(r) ? t : O(a) ? A(function(o, l) {
|
|
490
|
+
return e(o, r, l);
|
|
491
|
+
}) : O(r) ? A(function(o, l) {
|
|
492
492
|
return e(a, o, l);
|
|
493
493
|
}) : M(function(o) {
|
|
494
|
-
return e(a,
|
|
494
|
+
return e(a, r, o);
|
|
495
495
|
});
|
|
496
496
|
default:
|
|
497
|
-
return O(a) && O(
|
|
497
|
+
return O(a) && O(r) && O(n) ? t : O(a) && O(r) ? A(function(o, l) {
|
|
498
498
|
return e(o, l, n);
|
|
499
499
|
}) : O(a) && O(n) ? A(function(o, l) {
|
|
500
|
-
return e(o,
|
|
501
|
-
}) : O(
|
|
500
|
+
return e(o, r, l);
|
|
501
|
+
}) : O(r) && O(n) ? A(function(o, l) {
|
|
502
502
|
return e(a, o, l);
|
|
503
503
|
}) : O(a) ? M(function(o) {
|
|
504
|
-
return e(o,
|
|
505
|
-
}) : O(
|
|
504
|
+
return e(o, r, n);
|
|
505
|
+
}) : O(r) ? M(function(o) {
|
|
506
506
|
return e(a, o, n);
|
|
507
507
|
}) : O(n) ? M(function(o) {
|
|
508
|
-
return e(a,
|
|
509
|
-
}) : e(a,
|
|
508
|
+
return e(a, r, o);
|
|
509
|
+
}) : e(a, r, n);
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
512
|
}
|
|
@@ -520,16 +520,16 @@ function ft(e, t, a) {
|
|
|
520
520
|
return function() {
|
|
521
521
|
if (arguments.length === 0)
|
|
522
522
|
return a();
|
|
523
|
-
var
|
|
524
|
-
if (!Fe(
|
|
523
|
+
var r = arguments[arguments.length - 1];
|
|
524
|
+
if (!Fe(r)) {
|
|
525
525
|
for (var n = 0; n < e.length; ) {
|
|
526
|
-
if (typeof
|
|
527
|
-
return
|
|
526
|
+
if (typeof r[e[n]] == "function")
|
|
527
|
+
return r[e[n]].apply(r, Array.prototype.slice.call(arguments, 0, -1));
|
|
528
528
|
n += 1;
|
|
529
529
|
}
|
|
530
|
-
if (vr(
|
|
530
|
+
if (vr(r)) {
|
|
531
531
|
var o = t.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
532
|
-
return o(
|
|
532
|
+
return o(r);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
return a.apply(this, arguments);
|
|
@@ -555,10 +555,10 @@ function It(e) {
|
|
|
555
555
|
return t;
|
|
556
556
|
}
|
|
557
557
|
function At(e, t, a) {
|
|
558
|
-
for (var
|
|
559
|
-
if (e(t, a[
|
|
558
|
+
for (var r = 0, n = a.length; r < n; ) {
|
|
559
|
+
if (e(t, a[r]))
|
|
560
560
|
return !0;
|
|
561
|
-
|
|
561
|
+
r += 1;
|
|
562
562
|
}
|
|
563
563
|
return !1;
|
|
564
564
|
}
|
|
@@ -584,10 +584,10 @@ var Mt = Object.prototype.toString, la = /* @__PURE__ */ function() {
|
|
|
584
584
|
}.propertyIsEnumerable("toString"), Lt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Ct = /* @__PURE__ */ function() {
|
|
585
585
|
return arguments.propertyIsEnumerable("length");
|
|
586
586
|
}(), yr = function(t, a) {
|
|
587
|
-
for (var
|
|
588
|
-
if (t[
|
|
587
|
+
for (var r = 0; r < t.length; ) {
|
|
588
|
+
if (t[r] === a)
|
|
589
589
|
return !0;
|
|
590
|
-
|
|
590
|
+
r += 1;
|
|
591
591
|
}
|
|
592
592
|
return !1;
|
|
593
593
|
}, le = /* @__PURE__ */ M(typeof Object.keys == "function" && !Ct ? function(t) {
|
|
@@ -595,26 +595,26 @@ var Mt = Object.prototype.toString, la = /* @__PURE__ */ function() {
|
|
|
595
595
|
} : function(t) {
|
|
596
596
|
if (Object(t) !== t)
|
|
597
597
|
return [];
|
|
598
|
-
var a,
|
|
598
|
+
var a, r, n = [], o = Ct && la(t);
|
|
599
599
|
for (a in t)
|
|
600
600
|
ve(a, t) && (!o || a !== "length") && (n[n.length] = a);
|
|
601
601
|
if (hr)
|
|
602
|
-
for (
|
|
603
|
-
a = Lt[
|
|
602
|
+
for (r = Lt.length - 1; r >= 0; )
|
|
603
|
+
a = Lt[r], ve(a, t) && !yr(n, a) && (n[n.length] = a), r -= 1;
|
|
604
604
|
return n;
|
|
605
605
|
}), rt = /* @__PURE__ */ M(function(t) {
|
|
606
606
|
return t === null ? "Null" : t === void 0 ? "Undefined" : Object.prototype.toString.call(t).slice(8, -1);
|
|
607
607
|
});
|
|
608
|
-
function Dt(e, t, a,
|
|
608
|
+
function Dt(e, t, a, r) {
|
|
609
609
|
var n = It(e), o = It(t);
|
|
610
610
|
function l(d, g) {
|
|
611
|
-
return ht(d, g, a.slice(),
|
|
611
|
+
return ht(d, g, a.slice(), r.slice());
|
|
612
612
|
}
|
|
613
613
|
return !At(function(d, g) {
|
|
614
614
|
return !At(l, g, d);
|
|
615
615
|
}, o, n);
|
|
616
616
|
}
|
|
617
|
-
function ht(e, t, a,
|
|
617
|
+
function ht(e, t, a, r) {
|
|
618
618
|
if (Je(e, t))
|
|
619
619
|
return !0;
|
|
620
620
|
var n = rt(e);
|
|
@@ -650,14 +650,14 @@ function ht(e, t, a, i) {
|
|
|
650
650
|
}
|
|
651
651
|
for (var o = a.length - 1; o >= 0; ) {
|
|
652
652
|
if (a[o] === e)
|
|
653
|
-
return
|
|
653
|
+
return r[o] === t;
|
|
654
654
|
o -= 1;
|
|
655
655
|
}
|
|
656
656
|
switch (n) {
|
|
657
657
|
case "Map":
|
|
658
|
-
return e.size !== t.size ? !1 : Dt(e.entries(), t.entries(), a.concat([e]),
|
|
658
|
+
return e.size !== t.size ? !1 : Dt(e.entries(), t.entries(), a.concat([e]), r.concat([t]));
|
|
659
659
|
case "Set":
|
|
660
|
-
return e.size !== t.size ? !1 : Dt(e.values(), t.values(), a.concat([e]),
|
|
660
|
+
return e.size !== t.size ? !1 : Dt(e.values(), t.values(), a.concat([e]), r.concat([t]));
|
|
661
661
|
case "Arguments":
|
|
662
662
|
case "Array":
|
|
663
663
|
case "Object":
|
|
@@ -684,7 +684,7 @@ function ht(e, t, a, i) {
|
|
|
684
684
|
var l = le(e);
|
|
685
685
|
if (l.length !== le(t).length)
|
|
686
686
|
return !1;
|
|
687
|
-
var d = a.concat([e]), g =
|
|
687
|
+
var d = a.concat([e]), g = r.concat([t]);
|
|
688
688
|
for (o = l.length - 1; o >= 0; ) {
|
|
689
689
|
var v = l[o];
|
|
690
690
|
if (!(ve(v, t) && ht(t[v], e[v], d, g)))
|
|
@@ -697,13 +697,13 @@ var Ke = /* @__PURE__ */ A(function(t, a) {
|
|
|
697
697
|
return ht(t, a, [], []);
|
|
698
698
|
});
|
|
699
699
|
function wr(e, t, a) {
|
|
700
|
-
var
|
|
700
|
+
var r, n;
|
|
701
701
|
if (typeof e.indexOf == "function")
|
|
702
702
|
switch (typeof t) {
|
|
703
703
|
case "number":
|
|
704
704
|
if (t === 0) {
|
|
705
|
-
for (
|
|
706
|
-
if (n = e[a], n === 0 && 1 / n ===
|
|
705
|
+
for (r = 1 / t; a < e.length; ) {
|
|
706
|
+
if (n = e[a], n === 0 && 1 / n === r)
|
|
707
707
|
return a;
|
|
708
708
|
a += 1;
|
|
709
709
|
}
|
|
@@ -738,7 +738,7 @@ function kr(e, t) {
|
|
|
738
738
|
return wr(t, e, 0) >= 0;
|
|
739
739
|
}
|
|
740
740
|
function je(e, t) {
|
|
741
|
-
for (var a = 0,
|
|
741
|
+
for (var a = 0, r = t.length, n = Array(r); a < r; )
|
|
742
742
|
n[a] = e(t[a]), a += 1;
|
|
743
743
|
return n;
|
|
744
744
|
}
|
|
@@ -759,18 +759,18 @@ function Tr(e) {
|
|
|
759
759
|
};
|
|
760
760
|
}
|
|
761
761
|
function ca(e, t, a) {
|
|
762
|
-
for (var
|
|
763
|
-
t = e(t, a[
|
|
762
|
+
for (var r = 0, n = a.length; r < n; )
|
|
763
|
+
t = e(t, a[r]), r += 1;
|
|
764
764
|
return t;
|
|
765
765
|
}
|
|
766
766
|
function Sr(e, t) {
|
|
767
|
-
for (var a = 0,
|
|
767
|
+
for (var a = 0, r = t.length, n = []; a < r; )
|
|
768
768
|
e(t[a]) && (n[n.length] = t[a]), a += 1;
|
|
769
769
|
return n;
|
|
770
770
|
}
|
|
771
771
|
function zr(e, t) {
|
|
772
|
-
for (var a = /* @__PURE__ */ new Map(),
|
|
773
|
-
e(n.value[1]) && a.set(n.value[0], n.value[1]), n =
|
|
772
|
+
for (var a = /* @__PURE__ */ new Map(), r = t.entries(), n = r.next(); !n.done; )
|
|
773
|
+
e(n.value[1]) && a.set(n.value[0], n.value[1]), n = r.next();
|
|
774
774
|
return a;
|
|
775
775
|
}
|
|
776
776
|
function _r(e) {
|
|
@@ -793,8 +793,8 @@ function $r(e) {
|
|
|
793
793
|
};
|
|
794
794
|
}
|
|
795
795
|
var ga = /* @__PURE__ */ A(/* @__PURE__ */ ft(["fantasy-land/filter", "filter"], $r, function(e, t) {
|
|
796
|
-
return da(t) ? ca(function(a,
|
|
797
|
-
return e(t[
|
|
796
|
+
return da(t) ? ca(function(a, r) {
|
|
797
|
+
return e(t[r]) && (a[r] = t[r]), a;
|
|
798
798
|
}, {}, le(t)) : _r(t) ? zr(e, t) : (
|
|
799
799
|
// else
|
|
800
800
|
Sr(e, t)
|
|
@@ -806,7 +806,7 @@ function ma(e, t) {
|
|
|
806
806
|
var a = function(l) {
|
|
807
807
|
var d = t.concat([e]);
|
|
808
808
|
return kr(l, d) ? "<Circular>" : ma(l, d);
|
|
809
|
-
},
|
|
809
|
+
}, r = function(o, l) {
|
|
810
810
|
return je(function(d) {
|
|
811
811
|
return Ze(d) + ": " + a(o[d]);
|
|
812
812
|
}, l.slice().sort());
|
|
@@ -815,7 +815,7 @@ function ma(e, t) {
|
|
|
815
815
|
case "[object Arguments]":
|
|
816
816
|
return "(function() { return arguments; }(" + je(a, e).join(", ") + "))";
|
|
817
817
|
case "[object Array]":
|
|
818
|
-
return "[" + je(a, e).concat(
|
|
818
|
+
return "[" + je(a, e).concat(r(e, ce(function(o) {
|
|
819
819
|
return /^\d+$/.test(o);
|
|
820
820
|
}, le(e)))).join(", ") + "]";
|
|
821
821
|
case "[object Boolean]":
|
|
@@ -840,7 +840,7 @@ function ma(e, t) {
|
|
|
840
840
|
if (n !== "[object Object]")
|
|
841
841
|
return n;
|
|
842
842
|
}
|
|
843
|
-
return "{" +
|
|
843
|
+
return "{" + r(e, le(e)).join(", ") + "}";
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
846
|
var Ie = /* @__PURE__ */ M(function(t) {
|
|
@@ -848,17 +848,17 @@ var Ie = /* @__PURE__ */ M(function(t) {
|
|
|
848
848
|
}), jr = /* @__PURE__ */ A(function(t, a) {
|
|
849
849
|
if (t === a)
|
|
850
850
|
return a;
|
|
851
|
-
function
|
|
851
|
+
function r(g, v) {
|
|
852
852
|
if (g > v != v > g)
|
|
853
853
|
return v > g ? v : g;
|
|
854
854
|
}
|
|
855
|
-
var n =
|
|
855
|
+
var n = r(t, a);
|
|
856
856
|
if (n !== void 0)
|
|
857
857
|
return n;
|
|
858
|
-
var o =
|
|
858
|
+
var o = r(typeof t, typeof a);
|
|
859
859
|
if (o !== void 0)
|
|
860
860
|
return o === typeof t ? t : a;
|
|
861
|
-
var l = Ie(t), d =
|
|
861
|
+
var l = Ie(t), d = r(l, Ie(a));
|
|
862
862
|
return d !== void 0 && d === l ? t : a;
|
|
863
863
|
}), Er = /* @__PURE__ */ function() {
|
|
864
864
|
function e(t, a) {
|
|
@@ -878,8 +878,8 @@ var Ie = /* @__PURE__ */ M(function(t) {
|
|
|
878
878
|
return t.call(this, a.apply(this, arguments));
|
|
879
879
|
});
|
|
880
880
|
case "[object Object]":
|
|
881
|
-
return ca(function(
|
|
882
|
-
return
|
|
881
|
+
return ca(function(r, n) {
|
|
882
|
+
return r[n] = t(a[n]), r;
|
|
883
883
|
}, {}, le(a));
|
|
884
884
|
default:
|
|
885
885
|
return je(t, a);
|
|
@@ -923,12 +923,12 @@ function Mr(e, t, a) {
|
|
|
923
923
|
};
|
|
924
924
|
}
|
|
925
925
|
function Lr(e, t, a) {
|
|
926
|
-
for (var
|
|
927
|
-
if (t = e["@@transducer/step"](t, a[
|
|
926
|
+
for (var r = 0, n = a.length; r < n; ) {
|
|
927
|
+
if (t = e["@@transducer/step"](t, a[r]), t && t["@@transducer/reduced"]) {
|
|
928
928
|
t = t["@@transducer/value"];
|
|
929
929
|
break;
|
|
930
930
|
}
|
|
931
|
-
|
|
931
|
+
r += 1;
|
|
932
932
|
}
|
|
933
933
|
return e["@@transducer/result"](t);
|
|
934
934
|
}
|
|
@@ -938,17 +938,17 @@ var Cr = /* @__PURE__ */ A(function(t, a) {
|
|
|
938
938
|
});
|
|
939
939
|
});
|
|
940
940
|
function Dr(e, t, a) {
|
|
941
|
-
for (var
|
|
942
|
-
if (t = e["@@transducer/step"](t,
|
|
941
|
+
for (var r = a.next(); !r.done; ) {
|
|
942
|
+
if (t = e["@@transducer/step"](t, r.value), t && t["@@transducer/reduced"]) {
|
|
943
943
|
t = t["@@transducer/value"];
|
|
944
944
|
break;
|
|
945
945
|
}
|
|
946
|
-
|
|
946
|
+
r = a.next();
|
|
947
947
|
}
|
|
948
948
|
return e["@@transducer/result"](t);
|
|
949
949
|
}
|
|
950
|
-
function Gr(e, t, a,
|
|
951
|
-
return e["@@transducer/result"](a[
|
|
950
|
+
function Gr(e, t, a, r) {
|
|
951
|
+
return e["@@transducer/result"](a[r](Cr(e["@@transducer/step"], e), t));
|
|
952
952
|
}
|
|
953
953
|
var pa = /* @__PURE__ */ Mr(Lr, Gr, Dr), Br = /* @__PURE__ */ function() {
|
|
954
954
|
function e(t) {
|
|
@@ -969,7 +969,7 @@ var wt = /* @__PURE__ */ fe(function(e, t, a) {
|
|
|
969
969
|
return pa(typeof e == "function" ? ba(e) : e, t, a);
|
|
970
970
|
}), Hr = /* @__PURE__ */ M(function(t) {
|
|
971
971
|
return bt(wt(jr, 0, Ir("length", t)), function() {
|
|
972
|
-
for (var a = 0,
|
|
972
|
+
for (var a = 0, r = t.length; a < r; ) {
|
|
973
973
|
if (!t[a].apply(this, arguments))
|
|
974
974
|
return !1;
|
|
975
975
|
a += 1;
|
|
@@ -977,7 +977,7 @@ var wt = /* @__PURE__ */ fe(function(e, t, a) {
|
|
|
977
977
|
return !0;
|
|
978
978
|
});
|
|
979
979
|
}), fa = /* @__PURE__ */ M(function(t) {
|
|
980
|
-
for (var a = le(t),
|
|
980
|
+
for (var a = le(t), r = a.length, n = [], o = 0; o < r; )
|
|
981
981
|
n[o] = t[a[o]], o += 1;
|
|
982
982
|
return n;
|
|
983
983
|
});
|
|
@@ -991,7 +991,7 @@ function ha(e) {
|
|
|
991
991
|
function ya(e, t, a) {
|
|
992
992
|
if (a || (a = new Kr()), Fr(e))
|
|
993
993
|
return e;
|
|
994
|
-
var
|
|
994
|
+
var r = function(o) {
|
|
995
995
|
var l = a.get(e);
|
|
996
996
|
if (l)
|
|
997
997
|
return l;
|
|
@@ -1002,9 +1002,9 @@ function ya(e, t, a) {
|
|
|
1002
1002
|
};
|
|
1003
1003
|
switch (rt(e)) {
|
|
1004
1004
|
case "Object":
|
|
1005
|
-
return
|
|
1005
|
+
return r(Object.create(Object.getPrototypeOf(e)));
|
|
1006
1006
|
case "Array":
|
|
1007
|
-
return
|
|
1007
|
+
return r(Array(e.length));
|
|
1008
1008
|
case "Date":
|
|
1009
1009
|
return new Date(e.valueOf());
|
|
1010
1010
|
case "RegExp":
|
|
@@ -1034,18 +1034,18 @@ var Kr = /* @__PURE__ */ function() {
|
|
|
1034
1034
|
this.map = {}, this.length = 0;
|
|
1035
1035
|
}
|
|
1036
1036
|
return e.prototype.set = function(t, a) {
|
|
1037
|
-
var
|
|
1038
|
-
n || (this.map[
|
|
1037
|
+
var r = this.hash(t), n = this.map[r];
|
|
1038
|
+
n || (this.map[r] = n = []), n.push([t, a]), this.length += 1;
|
|
1039
1039
|
}, e.prototype.hash = function(t) {
|
|
1040
1040
|
var a = [];
|
|
1041
|
-
for (var
|
|
1042
|
-
a.push(Object.prototype.toString.call(t[
|
|
1041
|
+
for (var r in t)
|
|
1042
|
+
a.push(Object.prototype.toString.call(t[r]));
|
|
1043
1043
|
return a.join();
|
|
1044
1044
|
}, e.prototype.get = function(t) {
|
|
1045
1045
|
if (this.length <= 180) {
|
|
1046
1046
|
for (var a in this.map)
|
|
1047
|
-
for (var l = this.map[a],
|
|
1048
|
-
var n = l[
|
|
1047
|
+
for (var l = this.map[a], r = 0; r < l.length; r += 1) {
|
|
1048
|
+
var n = l[r];
|
|
1049
1049
|
if (n[0] === t)
|
|
1050
1050
|
return n[1];
|
|
1051
1051
|
}
|
|
@@ -1053,8 +1053,8 @@ var Kr = /* @__PURE__ */ function() {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
var o = this.hash(t), l = this.map[o];
|
|
1055
1055
|
if (l)
|
|
1056
|
-
for (var
|
|
1057
|
-
var n = l[
|
|
1056
|
+
for (var r = 0; r < l.length; r += 1) {
|
|
1057
|
+
var n = l[r];
|
|
1058
1058
|
if (n[0] === t)
|
|
1059
1059
|
return n[1];
|
|
1060
1060
|
}
|
|
@@ -1070,12 +1070,12 @@ function kt(e, t) {
|
|
|
1070
1070
|
var a = arguments.length;
|
|
1071
1071
|
if (a === 0)
|
|
1072
1072
|
return t();
|
|
1073
|
-
var
|
|
1074
|
-
return Fe(
|
|
1073
|
+
var r = arguments[a - 1];
|
|
1074
|
+
return Fe(r) || typeof r[e] != "function" ? t.apply(this, arguments) : r[e].apply(r, Array.prototype.slice.call(arguments, 0, a - 1));
|
|
1075
1075
|
};
|
|
1076
1076
|
}
|
|
1077
|
-
var Ur = /* @__PURE__ */ fe(/* @__PURE__ */ kt("slice", function(t, a,
|
|
1078
|
-
return Array.prototype.slice.call(
|
|
1077
|
+
var Ur = /* @__PURE__ */ fe(/* @__PURE__ */ kt("slice", function(t, a, r) {
|
|
1078
|
+
return Array.prototype.slice.call(r, t, a);
|
|
1079
1079
|
})), qr = /* @__PURE__ */ M(/* @__PURE__ */ kt("tail", /* @__PURE__ */ Ur(1, 1 / 0)));
|
|
1080
1080
|
function Wr() {
|
|
1081
1081
|
if (arguments.length === 0)
|
|
@@ -1091,8 +1091,8 @@ function de() {
|
|
|
1091
1091
|
return Wr.apply(this, Ve(arguments));
|
|
1092
1092
|
}
|
|
1093
1093
|
var Yr = /* @__PURE__ */ function() {
|
|
1094
|
-
function e(t, a,
|
|
1095
|
-
this.valueFn = t, this.valueAcc = a, this.keyFn =
|
|
1094
|
+
function e(t, a, r, n) {
|
|
1095
|
+
this.valueFn = t, this.valueAcc = a, this.keyFn = r, this.xf = n, this.inputs = {};
|
|
1096
1096
|
}
|
|
1097
1097
|
return e.prototype["@@transducer/init"] = xe.init, e.prototype["@@transducer/result"] = function(t) {
|
|
1098
1098
|
var a;
|
|
@@ -1103,23 +1103,23 @@ var Yr = /* @__PURE__ */ function() {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
return this.inputs = null, this.xf["@@transducer/result"](t);
|
|
1105
1105
|
}, e.prototype["@@transducer/step"] = function(t, a) {
|
|
1106
|
-
var
|
|
1107
|
-
return this.inputs[
|
|
1106
|
+
var r = this.keyFn(a);
|
|
1107
|
+
return this.inputs[r] = this.inputs[r] || [r, ya(this.valueAcc)], this.inputs[r][1] = this.valueFn(this.inputs[r][1], a), t;
|
|
1108
1108
|
}, e;
|
|
1109
1109
|
}();
|
|
1110
1110
|
function Qr(e, t, a) {
|
|
1111
|
-
return function(
|
|
1112
|
-
return new Yr(e, t, a,
|
|
1111
|
+
return function(r) {
|
|
1112
|
+
return new Yr(e, t, a, r);
|
|
1113
1113
|
};
|
|
1114
1114
|
}
|
|
1115
|
-
var Jr = /* @__PURE__ */ pt(4, [], /* @__PURE__ */ ft([], Qr, function(t, a,
|
|
1115
|
+
var Jr = /* @__PURE__ */ pt(4, [], /* @__PURE__ */ ft([], Qr, function(t, a, r, n) {
|
|
1116
1116
|
var o = ba(function(l, d) {
|
|
1117
|
-
var g =
|
|
1117
|
+
var g = r(d), v = t(ve(g, l) ? l[g] : ya(a), d);
|
|
1118
1118
|
return v && v["@@transducer/reduced"] ? pr(l) : (l[g] = v, l);
|
|
1119
1119
|
});
|
|
1120
1120
|
return pa(o, {}, n);
|
|
1121
|
-
})), wa = /* @__PURE__ */ fe(function(t, a,
|
|
1122
|
-
var n = t(a), o = t(
|
|
1121
|
+
})), wa = /* @__PURE__ */ fe(function(t, a, r) {
|
|
1122
|
+
var n = t(a), o = t(r);
|
|
1123
1123
|
return n > o ? -1 : n < o ? 1 : 0;
|
|
1124
1124
|
});
|
|
1125
1125
|
function Zr(e) {
|
|
@@ -1136,7 +1136,7 @@ var Xr = /* @__PURE__ */ M(function(t) {
|
|
|
1136
1136
|
function ei(e) {
|
|
1137
1137
|
if (e == null)
|
|
1138
1138
|
throw new TypeError("Cannot convert undefined or null to object");
|
|
1139
|
-
for (var t = Object(e), a = 1,
|
|
1139
|
+
for (var t = Object(e), a = 1, r = arguments.length; a < r; ) {
|
|
1140
1140
|
var n = arguments[a];
|
|
1141
1141
|
if (n != null)
|
|
1142
1142
|
for (var o in n)
|
|
@@ -1148,10 +1148,10 @@ function ei(e) {
|
|
|
1148
1148
|
const ti = typeof Object.assign == "function" ? Object.assign : ei;
|
|
1149
1149
|
var Tt = /* @__PURE__ */ A(function(t, a) {
|
|
1150
1150
|
return bt(t + 1, function() {
|
|
1151
|
-
var
|
|
1152
|
-
if (
|
|
1153
|
-
return
|
|
1154
|
-
throw new TypeError(Ie(
|
|
1151
|
+
var r = arguments[t];
|
|
1152
|
+
if (r != null && Rr(r[a]))
|
|
1153
|
+
return r[a].apply(r, Array.prototype.slice.call(arguments, 0, t));
|
|
1154
|
+
throw new TypeError(Ie(r) + ' does not have a method named "' + a + '"');
|
|
1155
1155
|
});
|
|
1156
1156
|
}), I = /* @__PURE__ */ M(function(t) {
|
|
1157
1157
|
return t != null && Ke(t, Xr(t));
|
|
@@ -1159,35 +1159,35 @@ var Tt = /* @__PURE__ */ A(function(t, a) {
|
|
|
1159
1159
|
return !I(t);
|
|
1160
1160
|
}), Bt = /* @__PURE__ */ Tt(1, "join");
|
|
1161
1161
|
function ri(e, t) {
|
|
1162
|
-
for (var a = t,
|
|
1162
|
+
for (var a = t, r = 0; r < e.length; r += 1) {
|
|
1163
1163
|
if (a == null)
|
|
1164
1164
|
return;
|
|
1165
|
-
var n = e[
|
|
1165
|
+
var n = e[r];
|
|
1166
1166
|
ua(n) ? a = va(n, a) : a = a[n];
|
|
1167
1167
|
}
|
|
1168
1168
|
return a;
|
|
1169
1169
|
}
|
|
1170
1170
|
var ii = /* @__PURE__ */ A(function(t, a) {
|
|
1171
1171
|
return ti({}, a, t);
|
|
1172
|
-
}), ni = /* @__PURE__ */ fe(function(t, a,
|
|
1173
|
-
return Ke(ri(a,
|
|
1172
|
+
}), ni = /* @__PURE__ */ fe(function(t, a, r) {
|
|
1173
|
+
return Ke(ri(a, r), t);
|
|
1174
1174
|
}), ka = /* @__PURE__ */ A(function(t, a) {
|
|
1175
|
-
for (var
|
|
1176
|
-
t[n] in a && (
|
|
1177
|
-
return
|
|
1178
|
-
}), St = /* @__PURE__ */ fe(function(t, a,
|
|
1179
|
-
return Ke(t, me(a,
|
|
1180
|
-
}), zt = /* @__PURE__ */ fe(function(t, a,
|
|
1181
|
-
return
|
|
1175
|
+
for (var r = {}, n = 0; n < t.length; )
|
|
1176
|
+
t[n] in a && (r[t[n]] = a[t[n]]), n += 1;
|
|
1177
|
+
return r;
|
|
1178
|
+
}), St = /* @__PURE__ */ fe(function(t, a, r) {
|
|
1179
|
+
return Ke(t, me(a, r));
|
|
1180
|
+
}), zt = /* @__PURE__ */ fe(function(t, a, r) {
|
|
1181
|
+
return r.replace(t, a);
|
|
1182
1182
|
}), xa = /* @__PURE__ */ A(function(t, a) {
|
|
1183
|
-
return Array.prototype.slice.call(a, 0).sort(function(
|
|
1184
|
-
var o = t(
|
|
1183
|
+
return Array.prototype.slice.call(a, 0).sort(function(r, n) {
|
|
1184
|
+
var o = t(r), l = t(n);
|
|
1185
1185
|
return o < l ? -1 : o > l ? 1 : 0;
|
|
1186
1186
|
});
|
|
1187
1187
|
}), Ta = /* @__PURE__ */ A(function(t, a) {
|
|
1188
|
-
return Array.prototype.slice.call(a, 0).sort(function(
|
|
1188
|
+
return Array.prototype.slice.call(a, 0).sort(function(r, n) {
|
|
1189
1189
|
for (var o = 0, l = 0; o === 0 && l < t.length; )
|
|
1190
|
-
o = t[l](
|
|
1190
|
+
o = t[l](r, n), l += 1;
|
|
1191
1191
|
return o;
|
|
1192
1192
|
});
|
|
1193
1193
|
}), it = /* @__PURE__ */ Tt(1, "split");
|
|
@@ -1200,8 +1200,8 @@ var si = /* @__PURE__ */ A(function(t, a) {
|
|
|
1200
1200
|
return ha(t).test(a);
|
|
1201
1201
|
}), li = /* @__PURE__ */ Tt(0, "toUpperCase"), ke = `
|
|
1202
1202
|
\v\f\r \u2028\u2029\uFEFF`, ci = "", di = typeof String.prototype.trim == "function", gi = /* @__PURE__ */ M(!di || /* @__PURE__ */ ke.trim() || !/* @__PURE__ */ ci.trim() ? function(t) {
|
|
1203
|
-
var a = new RegExp("^[" + ke + "][" + ke + "]*"),
|
|
1204
|
-
return t.replace(a, "").replace(
|
|
1203
|
+
var a = new RegExp("^[" + ke + "][" + ke + "]*"), r = new RegExp("[" + ke + "][" + ke + "]*$");
|
|
1204
|
+
return t.replace(a, "").replace(r, "");
|
|
1205
1205
|
} : function(t) {
|
|
1206
1206
|
return t.trim();
|
|
1207
1207
|
});
|
|
@@ -1388,41 +1388,41 @@ function ja(e) {
|
|
|
1388
1388
|
return e.isShootout && (a = a - 2), e.isOvertime && (a = a - 1), a;
|
|
1389
1389
|
}
|
|
1390
1390
|
function sn(e, t) {
|
|
1391
|
-
const a = e?.actualPeriod ?? ja(e),
|
|
1392
|
-
e.isShootout && (
|
|
1391
|
+
const a = e?.actualPeriod ?? ja(e), r = {};
|
|
1392
|
+
e.isShootout && (r.so = [], r.ot = []), e.isOvertime && (r.ot = []);
|
|
1393
1393
|
for (let o = a; o > 0; o--)
|
|
1394
|
-
|
|
1395
|
-
return ii(t,
|
|
1394
|
+
r[`p${o}`] = [];
|
|
1395
|
+
return ii(t, r);
|
|
1396
1396
|
}
|
|
1397
|
-
function Ht(e, t, a,
|
|
1397
|
+
function Ht(e, t, a, r) {
|
|
1398
1398
|
const n = [];
|
|
1399
1399
|
let o = 0, l = 0;
|
|
1400
1400
|
for (let d = 0; d < e.length; d++)
|
|
1401
|
-
n.push(`${e[d][t]?.[
|
|
1401
|
+
n.push(`${e[d][t]?.[r] ?? 0}:${e[d][a]?.[r] ?? 0}`), o = o + (e[d][t]?.[r] ?? 0), l = l + (e[d][a]?.[r] ?? 0);
|
|
1402
1402
|
return `(${n.join(", ")}) ${o}:${l}`;
|
|
1403
1403
|
}
|
|
1404
|
-
function ln(e, t, a,
|
|
1404
|
+
function ln(e, t, a, r) {
|
|
1405
1405
|
const n = [];
|
|
1406
1406
|
let o = 0, l = 0;
|
|
1407
1407
|
for (let d = 0; d < e.length; d++)
|
|
1408
|
-
n.push(`${e[d][t]?.[
|
|
1408
|
+
n.push(`${e[d][t]?.[r] ?? 0}:${e[d][a]?.[r] ?? 0}`), o = o + (e[d][t]?.[r] ?? 0), l = l + (e[d][a]?.[r] ?? 0);
|
|
1409
1409
|
return `(${n.join(", ")}) ${o}:${l}`;
|
|
1410
1410
|
}
|
|
1411
1411
|
function cn(e) {
|
|
1412
|
-
const t = e?.home?.advTime ?? 0, a = e?.away?.advTime ?? 0,
|
|
1412
|
+
const t = e?.home?.advTime ?? 0, a = e?.away?.advTime ?? 0, r = e?.home?.advTimePP1 ?? 0, n = e?.away?.advTimePP1 ?? 0, o = e?.home?.advTimePP2 ?? 0, l = e?.away?.advTimePP2 ?? 0;
|
|
1413
1413
|
return {
|
|
1414
1414
|
advTime: `${U(t)} / ${U(a)}`,
|
|
1415
|
-
advTimePP1: `${U(
|
|
1415
|
+
advTimePP1: `${U(r)} / ${U(n)}`,
|
|
1416
1416
|
advTimePP2: `${U(o)} / ${U(l)}`
|
|
1417
1417
|
};
|
|
1418
1418
|
}
|
|
1419
1419
|
function dn(e) {
|
|
1420
|
-
const t = e?.home?.adv ?? 0, a = e?.home?.ppgf ?? 0,
|
|
1421
|
-
return `(${t}/${a}) <b>${o}%</b> / (${
|
|
1420
|
+
const t = e?.home?.adv ?? 0, a = e?.home?.ppgf ?? 0, r = e?.away?.adv ?? 0, n = e?.away?.ppgf ?? 0, o = (e?.home?.ppPercent ?? 0).toFixed(2), l = (e?.away?.ppPercent ?? 0).toFixed(2);
|
|
1421
|
+
return `(${t}/${a}) <b>${o}%</b> / (${r}/${n}) <b>${l}%</b>`;
|
|
1422
1422
|
}
|
|
1423
1423
|
function gn(e) {
|
|
1424
|
-
const t = e?.home?.dvg ?? 0, a = e?.home?.pk ?? 0,
|
|
1425
|
-
return `(${t}/${a}) <b>${o}%</b> / (${
|
|
1424
|
+
const t = e?.home?.dvg ?? 0, a = e?.home?.pk ?? 0, r = e?.away?.dvg ?? 0, n = e?.away?.pk ?? 0, o = (e?.home?.pkPercent ?? 0).toFixed(2), l = (e?.away?.pkPercent ?? 0).toFixed(2);
|
|
1425
|
+
return `(${t}/${a}) <b>${o}%</b> / (${r}/${n}) <b>${l}%</b>`;
|
|
1426
1426
|
}
|
|
1427
1427
|
function Ea(e) {
|
|
1428
1428
|
return {
|
|
@@ -1432,12 +1432,12 @@ function Ea(e) {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
const Me = (e) => gt(e, aa(["toi"])), mn = 20, un = 1e3 * 30, Rt = 1e3 * 60 * 5;
|
|
1434
1434
|
function vn(e = {}) {
|
|
1435
|
-
const { data: t, services: a } = e, { getGameData:
|
|
1436
|
-
() => Ae(n, o),
|
|
1435
|
+
const { data: t, services: a } = e, { getGameData: r, getGameStats: n, getEvents: o, getGameOfficials: l } = a, d = F(!1), { resume: g, pause: v, isActive: p } = pe(
|
|
1436
|
+
() => Ae(r, n, o),
|
|
1437
1437
|
un,
|
|
1438
1438
|
{ immediate: !1, immediateCallback: !1 }
|
|
1439
1439
|
), { pause: S } = pe(
|
|
1440
|
-
() =>
|
|
1440
|
+
() => r(),
|
|
1441
1441
|
Rt,
|
|
1442
1442
|
{
|
|
1443
1443
|
immediate: !0,
|
|
@@ -1452,7 +1452,7 @@ function vn(e = {}) {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
);
|
|
1454
1454
|
qa(d, () => {
|
|
1455
|
-
g(),
|
|
1455
|
+
g(), r();
|
|
1456
1456
|
}, () => {
|
|
1457
1457
|
v();
|
|
1458
1458
|
}), ge(t, (z) => {
|
|
@@ -1462,12 +1462,12 @@ function vn(e = {}) {
|
|
|
1462
1462
|
function pn(e = {}) {
|
|
1463
1463
|
const t = e?.periodLength ?? mn, a = f(() => {
|
|
1464
1464
|
let n = t * 60;
|
|
1465
|
-
return (
|
|
1465
|
+
return (i(e).isOvertime || i(e).isShootout) && (n = i(e).overtimeLength * 60), n;
|
|
1466
1466
|
});
|
|
1467
1467
|
return {
|
|
1468
1468
|
value: f(() => {
|
|
1469
|
-
const n =
|
|
1470
|
-
let l = ja(
|
|
1469
|
+
const n = i(e), o = a.value - Number.parseInt(n.periodTime, 10) * 60;
|
|
1470
|
+
let l = ja(i(e)) - 1;
|
|
1471
1471
|
(n.isOvertime || n.isShootout) && l++;
|
|
1472
1472
|
const d = Qa(n.actualTime) - l * t * 60;
|
|
1473
1473
|
return Math.max(o, d);
|
|
@@ -1477,13 +1477,13 @@ function pn(e = {}) {
|
|
|
1477
1477
|
}
|
|
1478
1478
|
function Na() {
|
|
1479
1479
|
const e = F([]);
|
|
1480
|
-
function t(
|
|
1481
|
-
typeof n == "object" && n !== null && (n = n.message), e.value.push({ key:
|
|
1480
|
+
function t(r, n) {
|
|
1481
|
+
typeof n == "object" && n !== null && (n = n.message), e.value.push({ key: r, message: n });
|
|
1482
1482
|
}
|
|
1483
|
-
function a(
|
|
1483
|
+
function a(r) {
|
|
1484
1484
|
if (I(e.value))
|
|
1485
1485
|
return;
|
|
1486
|
-
const n = e.value.findIndex((o) => o.key ===
|
|
1486
|
+
const n = e.value.findIndex((o) => o.key === r);
|
|
1487
1487
|
e.value.splice(n, 1);
|
|
1488
1488
|
}
|
|
1489
1489
|
return {
|
|
@@ -1494,14 +1494,14 @@ function Na() {
|
|
|
1494
1494
|
}
|
|
1495
1495
|
function bn(e) {
|
|
1496
1496
|
return f(() => {
|
|
1497
|
-
const { homeTeam: a, awayTeam:
|
|
1498
|
-
return !a?.color || !
|
|
1497
|
+
const { homeTeam: a, awayTeam: r } = Q(e);
|
|
1498
|
+
return !a?.color || !r?.color ? {} : {
|
|
1499
1499
|
"--vbr-widget-gamecenter-home-team-identifier-color": `#${a.color}`,
|
|
1500
|
-
"--vbr-widget-gamecenter-away-team-identifier-color": `#${
|
|
1500
|
+
"--vbr-widget-gamecenter-away-team-identifier-color": `#${r.color}`,
|
|
1501
1501
|
...a.color === "ffffff" && {
|
|
1502
1502
|
"--vbr-widget-gamecenter-home-team-identifie-borderr-color": "#343434"
|
|
1503
1503
|
},
|
|
1504
|
-
...
|
|
1504
|
+
...r.color === "ffffff" && {
|
|
1505
1505
|
"--vbr-widget-gamecenter-away-team-identifier-border-color": "#343434"
|
|
1506
1506
|
}
|
|
1507
1507
|
};
|
|
@@ -1557,13 +1557,13 @@ function zn(e, t) {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
const Oa = { render: zn };
|
|
1559
1559
|
function Ia(e, t) {
|
|
1560
|
-
const { t: a } = L(), { data:
|
|
1560
|
+
const { t: a } = L(), { data: r, open: n, close: o } = ur(i(e), {
|
|
1561
1561
|
autoReconnect: {
|
|
1562
1562
|
retries: 3
|
|
1563
1563
|
},
|
|
1564
1564
|
immediate: !1
|
|
1565
|
-
}), l = f(() => JSON.parse(
|
|
1566
|
-
return ge(() =>
|
|
1565
|
+
}), l = f(() => JSON.parse(r.value)?.visitor ?? 0), d = or(l, 5e3), g = f(() => d.value > 0), v = f(() => i(t).gameStatus === 0 ? a("gameData.visitorsWaiting", [d.value]) : a("gameData.visitors", [d.value]));
|
|
1566
|
+
return ge(() => i(t).gameStatus, (p) => {
|
|
1567
1567
|
if (p <= 1)
|
|
1568
1568
|
return n();
|
|
1569
1569
|
o();
|
|
@@ -1584,15 +1584,15 @@ const _n = { class: "progress" }, Pn = ["aria-valuenow", "aria-valuemax"], Aa =
|
|
|
1584
1584
|
}
|
|
1585
1585
|
},
|
|
1586
1586
|
setup(e) {
|
|
1587
|
-
const t = e, { max: a, value:
|
|
1587
|
+
const t = e, { max: a, value: r } = pn(f(() => t.gameData));
|
|
1588
1588
|
return (n, o) => (c(), u("div", _n, [
|
|
1589
1589
|
s("div", {
|
|
1590
1590
|
class: "progress-bar progress-bar-stripped progress-bar-animated",
|
|
1591
1591
|
role: "progressbar",
|
|
1592
|
-
style: Ee(`width: ${r
|
|
1593
|
-
"aria-valuenow": r
|
|
1592
|
+
style: Ee(`width: ${i(r) / i(a) * 100}%`),
|
|
1593
|
+
"aria-valuenow": i(r),
|
|
1594
1594
|
"aria-valuemin": "0",
|
|
1595
|
-
"aria-valuemax":
|
|
1595
|
+
"aria-valuemax": i(a)
|
|
1596
1596
|
}, null, 12, Pn)
|
|
1597
1597
|
]));
|
|
1598
1598
|
}
|
|
@@ -1620,14 +1620,14 @@ const _n = { class: "progress" }, Pn = ["aria-valuenow", "aria-valuemax"], Aa =
|
|
|
1620
1620
|
s("span", { class: "is-home-team" })
|
|
1621
1621
|
], -1)),
|
|
1622
1622
|
s("td", null, m(e.homeTeamName), 1),
|
|
1623
|
-
(c(!0), u(k, null, E(e.results.home, (
|
|
1623
|
+
(c(!0), u(k, null, E(e.results.home, (r, n) => (c(), u("td", { key: n }, m(r), 1))), 128))
|
|
1624
1624
|
]),
|
|
1625
1625
|
s("tr", null, [
|
|
1626
1626
|
a[1] || (a[1] = s("td", null, [
|
|
1627
1627
|
s("span", { class: "is-away-team" })
|
|
1628
1628
|
], -1)),
|
|
1629
1629
|
s("td", null, m(e.awayTeamName), 1),
|
|
1630
|
-
(c(!0), u(k, null, E(e.results.away, (
|
|
1630
|
+
(c(!0), u(k, null, E(e.results.away, (r, n) => (c(), u("td", { key: n }, m(r), 1))), 128))
|
|
1631
1631
|
])
|
|
1632
1632
|
])
|
|
1633
1633
|
]));
|
|
@@ -1643,13 +1643,13 @@ function An(e) {
|
|
|
1643
1643
|
home: [],
|
|
1644
1644
|
away: []
|
|
1645
1645
|
};
|
|
1646
|
-
return e ? de(X(it(":")), X(gi), it(","), zt(/^\(|\)$/g, ""))(e).reduce((
|
|
1646
|
+
return e ? de(X(it(":")), X(gi), it(","), zt(/^\(|\)$/g, ""))(e).reduce((r, n) => (r.home.push(n[0]), r.away.push(n[1]), r), t) : t;
|
|
1647
1647
|
}
|
|
1648
1648
|
const Vt = (e) => xt(me("row"), e);
|
|
1649
1649
|
function Mn(e, t, a) {
|
|
1650
|
-
const
|
|
1650
|
+
const r = Vt(e?.[t] ?? []), n = Vt(e?.[a] ?? []);
|
|
1651
1651
|
return ["1", "2", "3", "4", "gk"].reduce(
|
|
1652
|
-
(o, l) => (o[l].home =
|
|
1652
|
+
(o, l) => (o[l].home = r[l], o[l].away = n[l], o),
|
|
1653
1653
|
{
|
|
1654
1654
|
1: { home: [], away: [] },
|
|
1655
1655
|
2: { home: [], away: [] },
|
|
@@ -1659,10 +1659,10 @@ function Mn(e, t, a) {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
);
|
|
1661
1661
|
}
|
|
1662
|
-
function Xe(e, t, a,
|
|
1662
|
+
function Xe(e, t, a, r) {
|
|
1663
1663
|
let n = 0, o = 0;
|
|
1664
1664
|
const l = e.reduce((d, g) => {
|
|
1665
|
-
const v = g[t]?.period ?? "p1", p = g[t]?.[
|
|
1665
|
+
const v = g[t]?.period ?? "p1", p = g[t]?.[r] ?? 0, S = g[a]?.[r] ?? 0, y = p + S;
|
|
1666
1666
|
return n += p, o += S, d[v] = {
|
|
1667
1667
|
max: y,
|
|
1668
1668
|
valueStart: p,
|
|
@@ -1676,7 +1676,7 @@ function Xe(e, t, a, i) {
|
|
|
1676
1676
|
}, l;
|
|
1677
1677
|
}
|
|
1678
1678
|
function Ln(e) {
|
|
1679
|
-
const t = e?.home?.advTime ?? 0, a = e?.away?.advTime ?? 0,
|
|
1679
|
+
const t = e?.home?.advTime ?? 0, a = e?.away?.advTime ?? 0, r = e?.home?.advTimePP1 ?? 0, n = e?.away?.advTimePP1 ?? 0, o = e?.home?.advTimePP2 ?? 0, l = e?.away?.advTimePP2 ?? 0;
|
|
1680
1680
|
return {
|
|
1681
1681
|
advTime: {
|
|
1682
1682
|
max: t + a,
|
|
@@ -1684,8 +1684,8 @@ function Ln(e) {
|
|
|
1684
1684
|
valueEnd: a
|
|
1685
1685
|
},
|
|
1686
1686
|
advTimePP1: {
|
|
1687
|
-
max:
|
|
1688
|
-
valueStart:
|
|
1687
|
+
max: r + n,
|
|
1688
|
+
valueStart: r,
|
|
1689
1689
|
valueEnd: n
|
|
1690
1690
|
},
|
|
1691
1691
|
advTimePP2: {
|
|
@@ -1696,12 +1696,12 @@ function Ln(e) {
|
|
|
1696
1696
|
};
|
|
1697
1697
|
}
|
|
1698
1698
|
function Cn(e) {
|
|
1699
|
-
const t = e?.home?.adv ?? 0, a = e?.home?.ppgf ?? 0,
|
|
1699
|
+
const t = e?.home?.adv ?? 0, a = e?.home?.ppgf ?? 0, r = e?.away?.adv ?? 0, n = e?.away?.ppgf ?? 0, o = (e?.home?.ppPercent ?? 0).toFixed(2), l = (e?.away?.ppPercent ?? 0).toFixed(2);
|
|
1700
1700
|
return {
|
|
1701
1701
|
powerPlays: {
|
|
1702
|
-
max: t +
|
|
1702
|
+
max: t + r,
|
|
1703
1703
|
valueStart: t,
|
|
1704
|
-
valueEnd:
|
|
1704
|
+
valueEnd: r,
|
|
1705
1705
|
suffix: ""
|
|
1706
1706
|
},
|
|
1707
1707
|
powerPlaysGoalFor: {
|
|
@@ -1719,12 +1719,12 @@ function Cn(e) {
|
|
|
1719
1719
|
};
|
|
1720
1720
|
}
|
|
1721
1721
|
function Dn(e) {
|
|
1722
|
-
const t = e?.home?.dvg ?? 0, a = e?.home?.pk ?? 0,
|
|
1722
|
+
const t = e?.home?.dvg ?? 0, a = e?.home?.pk ?? 0, r = e?.away?.dvg ?? 0, n = e?.away?.pk ?? 0, o = (e?.home?.pkPercent ?? 0).toFixed(2), l = (e?.away?.pkPercent ?? 0).toFixed(2);
|
|
1723
1723
|
return {
|
|
1724
1724
|
penaltyKill: {
|
|
1725
|
-
max: t +
|
|
1725
|
+
max: t + r,
|
|
1726
1726
|
valueStart: t,
|
|
1727
|
-
valueEnd:
|
|
1727
|
+
valueEnd: r,
|
|
1728
1728
|
suffix: ""
|
|
1729
1729
|
},
|
|
1730
1730
|
powerPlaysKilled: {
|
|
@@ -1745,8 +1745,8 @@ function Gn(e, t) {
|
|
|
1745
1745
|
const a = (n) => {
|
|
1746
1746
|
const o = ["first_referee", "second_referee", "first_line_judge", "second_line_judge"].indexOf(n.role);
|
|
1747
1747
|
return o > -1 ? o : 4;
|
|
1748
|
-
},
|
|
1749
|
-
return xt(me("type"), X(
|
|
1748
|
+
}, r = (n) => ({ ...ut(n), role: t(`role.${n.role}`) });
|
|
1749
|
+
return xt(me("type"), X(r, xa(a, fa(e))));
|
|
1750
1750
|
}
|
|
1751
1751
|
const Ut = Ta([wa(me("startingFive"))]);
|
|
1752
1752
|
function qt(e) {
|
|
@@ -1754,7 +1754,7 @@ function qt(e) {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
ka(["first_referee", "second_referee", "first_line_judge", "second_line_judge"]);
|
|
1756
1756
|
function Wt(e, t) {
|
|
1757
|
-
const a = ga(Hr([ni(t, ["team", "id"]), St("Gól", "type")]), Ve(e)),
|
|
1757
|
+
const a = ga(Hr([ni(t, ["team", "id"]), St("Gól", "type")]), Ve(e)), r = X((l) => ({ ...l, eventTimeSec: er(l.eventTime) }), a), n = wt(
|
|
1758
1758
|
(l, d) => (l[d.playerId] ? l[d.playerId].eventTime += `, ${d.eventTime}` : l[d.playerId] = {
|
|
1759
1759
|
id: d.playerId,
|
|
1760
1760
|
name: `${d.lastName} ${d.firstName}`,
|
|
@@ -1762,18 +1762,18 @@ function Wt(e, t) {
|
|
|
1762
1762
|
eventTimeSec: d.eventTimeSec
|
|
1763
1763
|
}, l),
|
|
1764
1764
|
{},
|
|
1765
|
-
|
|
1765
|
+
r
|
|
1766
1766
|
);
|
|
1767
1767
|
return xa(me("eventTimeSec"), fa(n));
|
|
1768
1768
|
}
|
|
1769
1769
|
function Bn(e = {}) {
|
|
1770
|
-
const { data: t, services: a } = e, { getGameData:
|
|
1770
|
+
const { data: t, services: a } = e, { getGameData: r, getGameStats: n, getEvents: o, getGameOfficials: l } = a, d = F(!1), { resume: g, pause: v, isActive: p } = pe(
|
|
1771
1771
|
() => Ae(n, o),
|
|
1772
1772
|
En,
|
|
1773
1773
|
{ immediate: !1, immediateCallback: !1 }
|
|
1774
1774
|
);
|
|
1775
1775
|
pe(
|
|
1776
|
-
() =>
|
|
1776
|
+
() => r(),
|
|
1777
1777
|
Kt,
|
|
1778
1778
|
{
|
|
1779
1779
|
immediate: !0,
|
|
@@ -1789,7 +1789,7 @@ function Bn(e = {}) {
|
|
|
1789
1789
|
}
|
|
1790
1790
|
);
|
|
1791
1791
|
Xa(d, () => {
|
|
1792
|
-
g(),
|
|
1792
|
+
g(), r();
|
|
1793
1793
|
}, () => {
|
|
1794
1794
|
v();
|
|
1795
1795
|
}), ge(t, (y) => {
|
|
@@ -1829,49 +1829,49 @@ const Hn = { class: "gamecenter-timeline-game-data" }, Rn = { class: "is-title-c
|
|
|
1829
1829
|
}
|
|
1830
1830
|
},
|
|
1831
1831
|
setup(e) {
|
|
1832
|
-
const t = e, { gameData: a, websocketUrl:
|
|
1832
|
+
const t = e, { gameData: a, websocketUrl: r } = dt(t), { t: n } = L(), o = f(() => An(t.gameData.periodResults)), l = f(() => Wt(t.gameEvents, t.gameData.homeTeam?.id)), d = f(() => Wt(t.gameEvents, t.gameData.awayTeam?.id)), { visitorsLabel: g, isVisible: v } = Ia(r, a), p = f(() => a.value.gameStatus <= 1 ? g.value : n("gameData.attendance", [a.value?.attendance ?? 0]));
|
|
1833
1833
|
return (S, y) => (c(), u("div", Hn, [
|
|
1834
1834
|
s("div", Rn, [
|
|
1835
1835
|
y[0] || (R(-1, !0), (y[0] = s("div", { class: "is-title" }, [
|
|
1836
|
-
w(m(
|
|
1836
|
+
w(m(i(a).championshipName) + " - " + m(i(a).divisionName) + " - " + m(i(a).gameName) + " / " + m(i(a).location.locationName), 1)
|
|
1837
1837
|
])).cacheIndex = 0, R(1), y[0]),
|
|
1838
|
-
s("div", Fn, m(
|
|
1839
|
-
s("div", Kn, m(
|
|
1838
|
+
s("div", Fn, m(i(Ne)(i(a).gameDate, "L dddd - HH:mm", null, e.locale)) + " (" + m(i(Oe)(new Date(i(a).gameDate), null, e.locale)) + ") ", 1),
|
|
1839
|
+
s("div", Kn, m(i(n)("localTime")) + " (" + m(i(a).location.locationCountryISO || i(a).location.locationName) + "): " + m(i(Ne)(i(a).gameDate, "L dddd - HH:mm", i(a).location.timezone, e.locale)) + " (" + m(i(Oe)(new Date(i(a).gameDate), i(a).location.timezone, e.locale)) + ") ", 1),
|
|
1840
1840
|
s("div", Vn, [
|
|
1841
|
-
|
|
1841
|
+
i(a).electronicReportUrl ? (c(), u("a", {
|
|
1842
1842
|
key: 0,
|
|
1843
|
-
href:
|
|
1843
|
+
href: i(a).electronicReportUrl,
|
|
1844
1844
|
target: "_blank"
|
|
1845
1845
|
}, [
|
|
1846
|
-
b(
|
|
1847
|
-
w(" " + m(
|
|
1846
|
+
b(i(Ce), { class: "is-icon" }),
|
|
1847
|
+
w(" " + m(i(n)("sheet")), 1)
|
|
1848
1848
|
], 8, Un)) : h("", !0),
|
|
1849
|
-
|
|
1849
|
+
i(a).toiReportUrl ? (c(), u("a", {
|
|
1850
1850
|
key: 1,
|
|
1851
|
-
href:
|
|
1851
|
+
href: i(a).toiReportUrl,
|
|
1852
1852
|
target: "_blank"
|
|
1853
1853
|
}, [
|
|
1854
|
-
b(
|
|
1855
|
-
w(" " + m(
|
|
1854
|
+
b(i(Ce), { class: "is-icon" }),
|
|
1855
|
+
w(" " + m(i(n)("toiSheet")), 1)
|
|
1856
1856
|
], 8, qn)) : h("", !0),
|
|
1857
|
-
|
|
1857
|
+
i(a).video ? (c(), u("a", {
|
|
1858
1858
|
key: 2,
|
|
1859
|
-
href:
|
|
1859
|
+
href: i(a).video,
|
|
1860
1860
|
target: "_blank"
|
|
1861
1861
|
}, [
|
|
1862
|
-
b(
|
|
1863
|
-
w(" " + m(
|
|
1862
|
+
b(i(Oa), { class: "is-icon" }),
|
|
1863
|
+
w(" " + m(i(n)("video")), 1)
|
|
1864
1864
|
], 8, Wn)) : h("", !0)
|
|
1865
1865
|
])
|
|
1866
1866
|
]),
|
|
1867
1867
|
s("div", Yn, [
|
|
1868
1868
|
s("div", null, [
|
|
1869
|
-
y[1] || (R(-1, !0), (y[1] = b(
|
|
1870
|
-
src:
|
|
1869
|
+
y[1] || (R(-1, !0), (y[1] = b(i(ae), {
|
|
1870
|
+
src: i(a).homeTeam?.logo,
|
|
1871
1871
|
class: "is-team-logo",
|
|
1872
|
-
"default-src":
|
|
1872
|
+
"default-src": i(Ue)
|
|
1873
1873
|
}, null, 8, ["src", "default-src"])).cacheIndex = 1, R(1), y[1]),
|
|
1874
|
-
s("h1", Qn, m(
|
|
1874
|
+
s("h1", Qn, m(i(a).homeTeam?.longName), 1),
|
|
1875
1875
|
s("ul", Jn, [
|
|
1876
1876
|
(c(!0), u(k, null, E(l.value, (z) => (c(), u("li", {
|
|
1877
1877
|
key: z.id
|
|
@@ -1882,43 +1882,43 @@ const Hn = { class: "gamecenter-timeline-game-data" }, Rn = { class: "is-title-c
|
|
|
1882
1882
|
])
|
|
1883
1883
|
]),
|
|
1884
1884
|
s("div", null, [
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
s("span", to, m(
|
|
1885
|
+
i(a).gameStatus > 1 ? (c(), u("p", Zn, m(i(n)(`gameStatus.status-${i(a).gameStatus}`)), 1)) : h("", !0),
|
|
1886
|
+
i(a).gameStatus === 1 ? (c(), u("p", Xn, m(i(n)(`periods.${i(_t)(i(a).period)}`)), 1)) : h("", !0),
|
|
1887
|
+
i(a).gameStatus > 1 ? (c(), u(k, { key: 2 }, [
|
|
1888
|
+
i(a).isOvertime ? (c(), u("p", eo, [
|
|
1889
|
+
s("span", to, m(i(n)("afterOvertime")), 1)
|
|
1890
1890
|
])) : h("", !0),
|
|
1891
|
-
|
|
1892
|
-
s("span", ro, m(
|
|
1891
|
+
i(a).isShootout ? (c(), u("p", ao, [
|
|
1892
|
+
s("span", ro, m(i(n)("afterShootout")), 1)
|
|
1893
1893
|
])) : h("", !0)
|
|
1894
1894
|
], 64)) : h("", !0),
|
|
1895
|
-
|
|
1896
|
-
|
|
1895
|
+
i(a).gameStatus === 1 ? (c(), u("p", io, m(i(a).actualTime), 1)) : h("", !0),
|
|
1896
|
+
i(a).gameStatus === 1 ? (c(), x(Aa, {
|
|
1897
1897
|
key: 4,
|
|
1898
|
-
"game-data":
|
|
1898
|
+
"game-data": i(a)
|
|
1899
1899
|
}, null, 8, ["game-data"])) : h("", !0),
|
|
1900
1900
|
s("div", {
|
|
1901
|
-
class: q(["is-game-result", [{ "is-game-status-live":
|
|
1901
|
+
class: q(["is-game-result", [{ "is-game-status-live": i(a).gameStatus === 1 }]])
|
|
1902
1902
|
}, [
|
|
1903
|
-
|
|
1903
|
+
i(a).gameStatus === 0 ? (c(), u("span", no, "-")) : (c(), u("span", oo, m(i(a).homeTeamScore), 1)),
|
|
1904
1904
|
y[3] || (y[3] = w(":", -1)),
|
|
1905
|
-
|
|
1905
|
+
i(a).gameStatus === 0 ? (c(), u("span", so, "-")) : (c(), u("span", lo, m(i(a).awayTeamScore), 1))
|
|
1906
1906
|
], 2),
|
|
1907
|
-
|
|
1908
|
-
|
|
1907
|
+
i(v) || i(a)?.attendance ? (c(), u("p", co, m(p.value), 1)) : h("", !0),
|
|
1908
|
+
i(a).gameStatus > 0 ? (c(), x(jn, {
|
|
1909
1909
|
key: 6,
|
|
1910
1910
|
results: o.value,
|
|
1911
|
-
"home-team-name":
|
|
1912
|
-
"away-team-name":
|
|
1911
|
+
"home-team-name": i(a).homeTeam?.shortName,
|
|
1912
|
+
"away-team-name": i(a).awayTeam?.shortName
|
|
1913
1913
|
}, null, 8, ["results", "home-team-name", "away-team-name"])) : h("", !0)
|
|
1914
1914
|
]),
|
|
1915
1915
|
s("div", null, [
|
|
1916
|
-
y[2] || (R(-1, !0), (y[2] = b(
|
|
1917
|
-
src:
|
|
1918
|
-
"default-src":
|
|
1916
|
+
y[2] || (R(-1, !0), (y[2] = b(i(ae), {
|
|
1917
|
+
src: i(a).awayTeam?.logo,
|
|
1918
|
+
"default-src": i(qe),
|
|
1919
1919
|
class: "is-team-logo"
|
|
1920
1920
|
}, null, 8, ["src", "default-src"])).cacheIndex = 2, R(1), y[2]),
|
|
1921
|
-
s("h1", go, m(
|
|
1921
|
+
s("h1", go, m(i(a).awayTeam?.longName), 1),
|
|
1922
1922
|
s("ul", mo, [
|
|
1923
1923
|
(c(!0), u(k, null, E(d.value, (z) => (c(), u("li", {
|
|
1924
1924
|
key: z.id
|
|
@@ -1975,12 +1975,12 @@ const Te = { render: po }, bo = ["data-team"], fo = { class: "is-details-title"
|
|
|
1975
1975
|
s("div", {
|
|
1976
1976
|
class: q(["is-details-container", [
|
|
1977
1977
|
{
|
|
1978
|
-
"is-goal": e.eventType ===
|
|
1979
|
-
"is-penalty": e.eventType ===
|
|
1980
|
-
"is-timeout": e.eventType ===
|
|
1981
|
-
"is-goalies": e.eventType ===
|
|
1982
|
-
"is-penalty-shot-goal": e.eventType ===
|
|
1983
|
-
"is-penalty-shot-no-goal": e.eventType ===
|
|
1978
|
+
"is-goal": e.eventType === i(fn),
|
|
1979
|
+
"is-penalty": e.eventType === i(hn),
|
|
1980
|
+
"is-timeout": e.eventType === i(wn),
|
|
1981
|
+
"is-goalies": e.eventType === i(yn),
|
|
1982
|
+
"is-penalty-shot-goal": e.eventType === i(Ft) && e.event.goal,
|
|
1983
|
+
"is-penalty-shot-no-goal": e.eventType === i(Ft) && !e.event.goal
|
|
1984
1984
|
}
|
|
1985
1985
|
]])
|
|
1986
1986
|
}, [
|
|
@@ -2016,9 +2016,9 @@ const Te = { render: po }, bo = ["data-team"], fo = { class: "is-details-title"
|
|
|
2016
2016
|
}
|
|
2017
2017
|
},
|
|
2018
2018
|
setup(e) {
|
|
2019
|
-
const t = e, a = F(null),
|
|
2019
|
+
const t = e, a = F(null), r = f(() => t.isHomeTeam ? Ue : qe);
|
|
2020
2020
|
return (n, o) => (c(), u(k, null, [
|
|
2021
|
-
b(
|
|
2021
|
+
b(i(Z), {
|
|
2022
2022
|
offset: 2,
|
|
2023
2023
|
placement: "top",
|
|
2024
2024
|
theme: "tooltip",
|
|
@@ -2031,9 +2031,9 @@ const Te = { render: po }, bo = ["data-team"], fo = { class: "is-details-title"
|
|
|
2031
2031
|
tabindex: 0,
|
|
2032
2032
|
"aria-label": e.name
|
|
2033
2033
|
}, se(d, !0)), [
|
|
2034
|
-
b(
|
|
2034
|
+
b(i(ae), {
|
|
2035
2035
|
src: e.logo,
|
|
2036
|
-
"default-src":
|
|
2036
|
+
"default-src": r.value
|
|
2037
2037
|
}, null, 8, ["src", "default-src"])
|
|
2038
2038
|
], 16, ko)
|
|
2039
2039
|
]),
|
|
@@ -2064,7 +2064,7 @@ const Te = { render: po }, bo = ["data-team"], fo = { class: "is-details-title"
|
|
|
2064
2064
|
}
|
|
2065
2065
|
},
|
|
2066
2066
|
setup(e) {
|
|
2067
|
-
const t = e, a = F(null), { t:
|
|
2067
|
+
const t = e, a = F(null), { t: r } = L(), n = f(() => ce((d) => I(d), [t.event.assists1, t.event.assists2])), o = f(() => t.event.homeOnIce), l = f(() => t.event.awayOnIce);
|
|
2068
2068
|
return (d, g) => (c(), x(Se, {
|
|
2069
2069
|
timestamp: e.event.eventTime,
|
|
2070
2070
|
"is-home-team": e.isHomeTeam,
|
|
@@ -2072,7 +2072,7 @@ const Te = { render: po }, bo = ["data-team"], fo = { class: "is-details-title"
|
|
|
2072
2072
|
event: e.event
|
|
2073
2073
|
}, {
|
|
2074
2074
|
title: T(() => [
|
|
2075
|
-
w(m(r
|
|
2075
|
+
w(m(i(r)("eventType.Gól")) + " ", 1),
|
|
2076
2076
|
e.event.advantage ? (c(), u("span", xo, m(e.event.advantage), 1)) : h("", !0),
|
|
2077
2077
|
e.event.en ? (c(), u("span", To, " EN ")) : h("", !0),
|
|
2078
2078
|
w(" (" + m(e.event.score) + ") ", 1)
|
|
@@ -2092,9 +2092,9 @@ const Te = { render: po }, bo = ["data-team"], fo = { class: "is-details-title"
|
|
|
2092
2092
|
w(" " + m(v.lastName) + " " + m(v.firstName), 1)
|
|
2093
2093
|
]))), 128))
|
|
2094
2094
|
]),
|
|
2095
|
-
!
|
|
2095
|
+
!i(I)(o.value) || !i(I)(l.value) ? (c(), u("li", jo, [
|
|
2096
2096
|
s("ul", null, [
|
|
2097
|
-
(c(!0), u(k, null, E(o.value, (v) => (c(), x(
|
|
2097
|
+
(c(!0), u(k, null, E(o.value, (v) => (c(), x(i(Z), {
|
|
2098
2098
|
key: v.playerId,
|
|
2099
2099
|
offset: 2,
|
|
2100
2100
|
placement: "top",
|
|
@@ -2115,7 +2115,7 @@ const Te = { render: po }, bo = ["data-team"], fo = { class: "is-details-title"
|
|
|
2115
2115
|
]),
|
|
2116
2116
|
g[0] || (g[0] = s("span", null, " / ", -1)),
|
|
2117
2117
|
s("ul", null, [
|
|
2118
|
-
(c(!0), u(k, null, E(l.value, (v) => (c(), x(
|
|
2118
|
+
(c(!0), u(k, null, E(l.value, (v) => (c(), x(i(Z), {
|
|
2119
2119
|
key: v.playerId,
|
|
2120
2120
|
offset: 2,
|
|
2121
2121
|
placement: "top",
|
|
@@ -2159,7 +2159,7 @@ const Te = { render: po }, bo = ["data-team"], fo = { class: "is-details-title"
|
|
|
2159
2159
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2160
2160
|
]),
|
|
2161
2161
|
"event-type-icon": T(() => [
|
|
2162
|
-
b(
|
|
2162
|
+
b(i(Te))
|
|
2163
2163
|
]),
|
|
2164
2164
|
_: 1
|
|
2165
2165
|
}, 8, ["timestamp", "is-home-team", "event-type", "event"]));
|
|
@@ -2215,14 +2215,14 @@ const Bo = { render: Go }, Ho = { class: "is-details-list" }, Ro = { class: "is-
|
|
|
2215
2215
|
},
|
|
2216
2216
|
setup(e) {
|
|
2217
2217
|
const { t } = L();
|
|
2218
|
-
return (a,
|
|
2218
|
+
return (a, r) => (c(), x(Se, {
|
|
2219
2219
|
timestamp: e.event.eventTime,
|
|
2220
2220
|
"is-home-team": e.isHomeTeam,
|
|
2221
2221
|
"event-type": e.event.type,
|
|
2222
2222
|
event: e.event
|
|
2223
2223
|
}, {
|
|
2224
2224
|
title: T(() => [
|
|
2225
|
-
w(m(
|
|
2225
|
+
w(m(i(t)("eventType.Kapus")) + " - " + m(i(t)(`eventType.goalie.${e.event.gkDirection}`)), 1)
|
|
2226
2226
|
]),
|
|
2227
2227
|
"details-list": T(() => [
|
|
2228
2228
|
s("ul", Ho, [
|
|
@@ -2241,19 +2241,19 @@ const Bo = { render: Go }, Ho = { class: "is-details-list" }, Ro = { class: "is-
|
|
|
2241
2241
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2242
2242
|
]),
|
|
2243
2243
|
"event-type-icon": T(() => [
|
|
2244
|
-
e.event.gkDirection === "CSERE" ? (c(), x(
|
|
2244
|
+
e.event.gkDirection === "CSERE" ? (c(), x(i(Bo), {
|
|
2245
2245
|
key: 0,
|
|
2246
2246
|
width: "24",
|
|
2247
2247
|
height: "24",
|
|
2248
2248
|
class: "is-goalie-in-icon"
|
|
2249
2249
|
})) : h("", !0),
|
|
2250
|
-
e.event.gkDirection === "BE" ? (c(), x(
|
|
2250
|
+
e.event.gkDirection === "BE" ? (c(), x(i(ct), {
|
|
2251
2251
|
key: 1,
|
|
2252
2252
|
width: "24",
|
|
2253
2253
|
height: "24",
|
|
2254
2254
|
class: "is-goalie-in-icon"
|
|
2255
2255
|
})) : h("", !0),
|
|
2256
|
-
e.event.gkDirection === "KI" ? (c(), x(
|
|
2256
|
+
e.event.gkDirection === "KI" ? (c(), x(i(Ma), {
|
|
2257
2257
|
key: 2,
|
|
2258
2258
|
width: "24",
|
|
2259
2259
|
height: "24",
|
|
@@ -2285,35 +2285,35 @@ const La = { render: Uo }, qo = { key: 0 }, Wo = { class: "is-details-list" }, Y
|
|
|
2285
2285
|
}
|
|
2286
2286
|
},
|
|
2287
2287
|
setup(e) {
|
|
2288
|
-
const t = e, { t: a } = L(),
|
|
2288
|
+
const t = e, { t: a } = L(), r = f(() => Ea(t.event));
|
|
2289
2289
|
return (n, o) => (c(), x(Se, {
|
|
2290
2290
|
timestamp: e.event.eventTime,
|
|
2291
2291
|
"is-home-team": e.isHomeTeam,
|
|
2292
2292
|
"event-type": e.event.type
|
|
2293
2293
|
}, {
|
|
2294
2294
|
title: T(() => [
|
|
2295
|
-
e.event.ps ? h("", !0) : (c(), u("span", qo, m(
|
|
2295
|
+
e.event.ps ? h("", !0) : (c(), u("span", qo, m(i(a)("eventType.Kiállítás")) + " ", 1)),
|
|
2296
2296
|
e.event.penaltyLength ? (c(), u(k, { key: 1 }, [
|
|
2297
|
-
w(m(
|
|
2297
|
+
w(m(i(a)("events.penaltyLength", [e.event.penaltyLength])) + " ", 1),
|
|
2298
2298
|
e.event.penaltyEnd ? (c(), u(k, { key: 0 }, [
|
|
2299
2299
|
w(" (" + m(e.event.penaltyEnd) + ") ", 1)
|
|
2300
2300
|
], 64)) : h("", !0)
|
|
2301
2301
|
], 64)) : h("", !0),
|
|
2302
2302
|
e.event.ps ? (c(), u(k, { key: 2 }, [
|
|
2303
|
-
w(m(
|
|
2303
|
+
w(m(i(a)("penalties.PS")), 1)
|
|
2304
2304
|
], 64)) : h("", !0)
|
|
2305
2305
|
]),
|
|
2306
2306
|
"details-list": T(() => [
|
|
2307
2307
|
s("ul", Wo, [
|
|
2308
2308
|
s("li", Yo, [
|
|
2309
|
-
e.event.jerseyNumber === null ? (c(), u("span", Qo, m(
|
|
2309
|
+
e.event.jerseyNumber === null ? (c(), u("span", Qo, m(i(a)("events.teamPenalty")), 1)) : (c(), u(k, { key: 1 }, [
|
|
2310
2310
|
s("span", Jo, m(e.event.jerseyNumber), 1),
|
|
2311
2311
|
w(" " + m(e.event.lastName) + " " + m(e.event.firstName), 1)
|
|
2312
2312
|
], 64))
|
|
2313
2313
|
]),
|
|
2314
2314
|
s("li", Zo, [
|
|
2315
|
-
w(m(
|
|
2316
|
-
s("b", null, "(" + m(
|
|
2315
|
+
w(m(i(a)(`penalties.${r.value.penaltyCause}`)) + " ", 1),
|
|
2316
|
+
s("b", null, "(" + m(r.value.penaltyCause) + ")", 1)
|
|
2317
2317
|
])
|
|
2318
2318
|
])
|
|
2319
2319
|
]),
|
|
@@ -2326,7 +2326,7 @@ const La = { render: Uo }, qo = { key: 0 }, Wo = { class: "is-details-list" }, Y
|
|
|
2326
2326
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2327
2327
|
]),
|
|
2328
2328
|
"event-type-icon": T(() => [
|
|
2329
|
-
b(
|
|
2329
|
+
b(i(La))
|
|
2330
2330
|
]),
|
|
2331
2331
|
_: 1
|
|
2332
2332
|
}, 8, ["timestamp", "is-home-team", "event-type"]));
|
|
@@ -2345,18 +2345,18 @@ const La = { render: Uo }, qo = { key: 0 }, Wo = { class: "is-details-list" }, Y
|
|
|
2345
2345
|
},
|
|
2346
2346
|
setup(e) {
|
|
2347
2347
|
const { t } = L();
|
|
2348
|
-
return (a,
|
|
2348
|
+
return (a, r) => (c(), x(Se, {
|
|
2349
2349
|
timestamp: e.event.eventTime,
|
|
2350
2350
|
"is-home-team": e.isHomeTeam,
|
|
2351
2351
|
"event-type": e.event.type,
|
|
2352
2352
|
event: e.event
|
|
2353
2353
|
}, {
|
|
2354
2354
|
title: T(() => [
|
|
2355
|
-
w(m(
|
|
2355
|
+
w(m(i(t)("eventType.Büntető")) + " - ", 1),
|
|
2356
2356
|
e.event.goal ? (c(), u(k, { key: 0 }, [
|
|
2357
|
-
w(m(
|
|
2357
|
+
w(m(i(t)("events.score")), 1)
|
|
2358
2358
|
], 64)) : (c(), u(k, { key: 1 }, [
|
|
2359
|
-
w(m(
|
|
2359
|
+
w(m(i(t)("events.missed")), 1)
|
|
2360
2360
|
], 64)),
|
|
2361
2361
|
w(" - (" + m(e.event.score) + ") ", 1)
|
|
2362
2362
|
]),
|
|
@@ -2377,7 +2377,7 @@ const La = { render: Uo }, qo = { key: 0 }, Wo = { class: "is-details-list" }, Y
|
|
|
2377
2377
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2378
2378
|
]),
|
|
2379
2379
|
"event-type-icon": T(() => [
|
|
2380
|
-
b(
|
|
2380
|
+
b(i(Te))
|
|
2381
2381
|
]),
|
|
2382
2382
|
_: 1
|
|
2383
2383
|
}, 8, ["timestamp", "is-home-team", "event-type", "event"]));
|
|
@@ -2405,12 +2405,12 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2405
2405
|
},
|
|
2406
2406
|
setup(e) {
|
|
2407
2407
|
const { t } = L();
|
|
2408
|
-
return (a,
|
|
2409
|
-
|
|
2408
|
+
return (a, r) => (c(), u("div", os, [
|
|
2409
|
+
r[0] || (r[0] = s("div", null, null, -1)),
|
|
2410
2410
|
s("p", null, m(e.event.eventPeriod === "pre" ? "-20:00" : e.event.eventTime), 1),
|
|
2411
2411
|
s("span", null, [
|
|
2412
|
-
b(
|
|
2413
|
-
w(" " + m(
|
|
2412
|
+
b(i(Pt)),
|
|
2413
|
+
w(" " + m(i(t)(`periods.${e.event.eventPeriod}`)), 1)
|
|
2414
2414
|
])
|
|
2415
2415
|
]));
|
|
2416
2416
|
}
|
|
@@ -2428,13 +2428,13 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2428
2428
|
},
|
|
2429
2429
|
setup(e) {
|
|
2430
2430
|
const { t } = L();
|
|
2431
|
-
return (a,
|
|
2431
|
+
return (a, r) => (c(), x(Se, {
|
|
2432
2432
|
timestamp: e.event.eventTime,
|
|
2433
2433
|
"is-home-team": e.isHomeTeam,
|
|
2434
2434
|
"event-type": e.event.type
|
|
2435
2435
|
}, {
|
|
2436
2436
|
title: T(() => [
|
|
2437
|
-
w(m(
|
|
2437
|
+
w(m(i(t)("events.timeout")), 1)
|
|
2438
2438
|
]),
|
|
2439
2439
|
"team-logo": T(() => [
|
|
2440
2440
|
(c(), x(ze, {
|
|
@@ -2445,7 +2445,7 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2445
2445
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
2446
2446
|
]),
|
|
2447
2447
|
"event-type-icon": T(() => [
|
|
2448
|
-
b(
|
|
2448
|
+
b(i(Pt))
|
|
2449
2449
|
]),
|
|
2450
2450
|
_: 1
|
|
2451
2451
|
}, 8, ["timestamp", "is-home-team", "event-type"]));
|
|
@@ -2463,8 +2463,8 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2463
2463
|
}
|
|
2464
2464
|
},
|
|
2465
2465
|
setup(e) {
|
|
2466
|
-
const t = e, a = (/* @__PURE__ */ new Map()).set("Gól", Io).set("Kiállítás", Xo).set("Kapus", Ko).set("Idő", ls).set("Büntető", rs).set("Period", ss),
|
|
2467
|
-
return (o, l) => (c(), x(Zt(
|
|
2466
|
+
const t = e, a = (/* @__PURE__ */ new Map()).set("Gól", Io).set("Kiállítás", Xo).set("Kapus", Ko).set("Idő", ls).set("Büntető", rs).set("Period", ss), r = f(() => a.get(t.event.type)), n = f(() => t.event?.team?.id === t.homeTeamId);
|
|
2467
|
+
return (o, l) => (c(), x(Zt(r.value), {
|
|
2468
2468
|
event: e.event,
|
|
2469
2469
|
"is-home-team": n.value
|
|
2470
2470
|
}, null, 8, ["event", "is-home-team"]));
|
|
@@ -2485,9 +2485,9 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2485
2485
|
return (t, a) => (c(), u("div", ds, [
|
|
2486
2486
|
b(Fa, { name: "transition-event" }, {
|
|
2487
2487
|
default: T(() => [
|
|
2488
|
-
(c(!0), u(k, null, E(e.gameEvents, (
|
|
2489
|
-
key:
|
|
2490
|
-
event:
|
|
2488
|
+
(c(!0), u(k, null, E(e.gameEvents, (r) => (c(), x(cs, {
|
|
2489
|
+
key: r.eventId,
|
|
2490
|
+
event: r,
|
|
2491
2491
|
"home-team-id": e.gameData.homeTeam.id
|
|
2492
2492
|
}, null, 8, ["event", "home-team-id"]))), 128))
|
|
2493
2493
|
]),
|
|
@@ -2523,10 +2523,10 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
},
|
|
2525
2525
|
setup(e) {
|
|
2526
|
-
const t = e, { t: a } = L(),
|
|
2526
|
+
const t = e, { t: a } = L(), r = f(() => Mn(t.data, t.homeTeamId, t.awayTeamId)), n = f(() => qt(t.gameOfficials?.gameTeamMembers?.home ?? [])), o = f(() => qt(t.gameOfficials?.gameTeamMembers?.away ?? []));
|
|
2527
2527
|
return (l, d) => (c(), u("div", ms, [
|
|
2528
|
-
(c(!0), u(k, null, E(
|
|
2529
|
-
s("h2", us, m(
|
|
2528
|
+
(c(!0), u(k, null, E(r.value, (g, v) => (c(), u(k, { key: v }, [
|
|
2529
|
+
s("h2", us, m(i(a)(`rows.row-${v}`)), 1),
|
|
2530
2530
|
s("div", vs, [
|
|
2531
2531
|
(c(!0), u(k, null, E(g, (p, S) => (c(), u("div", {
|
|
2532
2532
|
key: S,
|
|
@@ -2537,16 +2537,16 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2537
2537
|
class: q(["is-player-wrapper", [`is-${y.position}`]])
|
|
2538
2538
|
}, [
|
|
2539
2539
|
s("li", null, [
|
|
2540
|
-
b(
|
|
2540
|
+
b(i(ae), {
|
|
2541
2541
|
src: y.player.picture
|
|
2542
2542
|
}, null, 8, ["src"])
|
|
2543
2543
|
]),
|
|
2544
2544
|
s("li", null, m(y.number), 1),
|
|
2545
2545
|
s("li", null, [
|
|
2546
|
-
w(m(
|
|
2546
|
+
w(m(i(mt)(y)?.name ?? "") + " ", 1),
|
|
2547
2547
|
s("ul", null, [
|
|
2548
2548
|
(c(!0), u(k, null, E(y.goal, (z) => (c(), u("li", { key: z }, [
|
|
2549
|
-
b(
|
|
2549
|
+
b(i(Te))
|
|
2550
2550
|
]))), 128))
|
|
2551
2551
|
])
|
|
2552
2552
|
]),
|
|
@@ -2556,7 +2556,7 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2556
2556
|
])
|
|
2557
2557
|
], 64))), 128)),
|
|
2558
2558
|
d[0] || (d[0] = s("hr", null, null, -1)),
|
|
2559
|
-
s("h2", ps, m(
|
|
2559
|
+
s("h2", ps, m(i(a)("title.coaches")), 1),
|
|
2560
2560
|
s("div", bs, [
|
|
2561
2561
|
s("div", fs, [
|
|
2562
2562
|
(c(!0), u(k, null, E(n.value, (g, v) => (c(), u("ul", {
|
|
@@ -2564,12 +2564,12 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2564
2564
|
class: "is-official-person-container is-home-team"
|
|
2565
2565
|
}, [
|
|
2566
2566
|
s("li", null, [
|
|
2567
|
-
b(
|
|
2567
|
+
b(i(ae), {
|
|
2568
2568
|
src: g.picture
|
|
2569
2569
|
}, null, 8, ["src"])
|
|
2570
2570
|
]),
|
|
2571
2571
|
s("li", null, m(g.name), 1),
|
|
2572
|
-
s("li", null, m(
|
|
2572
|
+
s("li", null, m(i(a)(`teamMembers.${v}`)), 1)
|
|
2573
2573
|
]))), 128))
|
|
2574
2574
|
]),
|
|
2575
2575
|
s("div", hs, [
|
|
@@ -2578,12 +2578,12 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2578
2578
|
class: "is-official-person-container is-away-team"
|
|
2579
2579
|
}, [
|
|
2580
2580
|
s("li", null, [
|
|
2581
|
-
b(
|
|
2581
|
+
b(i(ae), {
|
|
2582
2582
|
src: g.picture
|
|
2583
2583
|
}, null, 8, ["src"])
|
|
2584
2584
|
]),
|
|
2585
2585
|
s("li", null, m(g.name), 1),
|
|
2586
|
-
s("li", null, m(
|
|
2586
|
+
s("li", null, m(i(a)(`teamMembers.${v}`)), 1)
|
|
2587
2587
|
]))), 128))
|
|
2588
2588
|
])
|
|
2589
2589
|
])
|
|
@@ -2591,9 +2591,9 @@ const Pt = { render: ns }, os = { class: "is-period-header" }, ss = {
|
|
|
2591
2591
|
}
|
|
2592
2592
|
};
|
|
2593
2593
|
function De(e, t) {
|
|
2594
|
-
return X((
|
|
2595
|
-
...e[
|
|
2596
|
-
role: t(`teamMembers.${
|
|
2594
|
+
return X((r) => ({
|
|
2595
|
+
...e[r].name ? { name: e[r].name } : e[r].firstName ? ut(e[r]) : { name: "" },
|
|
2596
|
+
role: t(`teamMembers.${r}`)
|
|
2597
2597
|
}))(le(e));
|
|
2598
2598
|
}
|
|
2599
2599
|
const ws = {
|
|
@@ -2635,12 +2635,12 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2635
2635
|
},
|
|
2636
2636
|
emits: ["sort"],
|
|
2637
2637
|
setup(e, { emit: t }) {
|
|
2638
|
-
const a = e,
|
|
2638
|
+
const a = e, r = t, n = F(null), { t: o } = L(), l = (d) => r("sort", d);
|
|
2639
2639
|
return (d, g) => (c(), u("div", null, [
|
|
2640
2640
|
s("h2", null, m(e.title), 1),
|
|
2641
|
-
b(
|
|
2641
|
+
b(i(Va), null, {
|
|
2642
2642
|
default: T(({ el: v }) => [
|
|
2643
|
-
b(
|
|
2643
|
+
b(i(Ua), {
|
|
2644
2644
|
columns: a.columns,
|
|
2645
2645
|
rows: a.rows,
|
|
2646
2646
|
"append-to": n.value || v,
|
|
@@ -2649,10 +2649,10 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2649
2649
|
}, {
|
|
2650
2650
|
"cell-name": T(({ row: p }) => [
|
|
2651
2651
|
w(m(p.name) + " ", 1),
|
|
2652
|
-
p.isBP ? (c(), x(
|
|
2652
|
+
p.isBP ? (c(), x(i(Z), {
|
|
2653
2653
|
key: 0,
|
|
2654
2654
|
placement: "top",
|
|
2655
|
-
content:
|
|
2655
|
+
content: i(o)("bestPlayer"),
|
|
2656
2656
|
"append-to": n.value
|
|
2657
2657
|
}, {
|
|
2658
2658
|
default: T(({ setRef: S, show: y, hide: z }) => [
|
|
@@ -2664,7 +2664,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2664
2664
|
onFocus: y,
|
|
2665
2665
|
onBlur: z
|
|
2666
2666
|
}, [
|
|
2667
|
-
b(
|
|
2667
|
+
b(i(xs))
|
|
2668
2668
|
], 40, Ts)
|
|
2669
2669
|
]),
|
|
2670
2670
|
_: 1
|
|
@@ -2706,31 +2706,31 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2706
2706
|
}
|
|
2707
2707
|
},
|
|
2708
2708
|
setup(e) {
|
|
2709
|
-
const t = e, { columns: a } = ue($a), { columns:
|
|
2709
|
+
const t = e, { columns: a } = ue($a), { columns: r } = ue(kn), { t: n } = L(), o = f(() => De(t.gameOfficials?.gameTeamMembers?.home ?? [], n)), l = f(() => De(t.gameOfficials?.gameTeamMembers?.away ?? [], n)), d = f(() => Gn(t.gameOfficials.gameOfficials, n));
|
|
2710
2710
|
return (g, v) => (c(), u("div", Ss, [
|
|
2711
|
-
s("h2", zs, m(
|
|
2711
|
+
s("h2", zs, m(i(n)("title.teamOfficials")), 1),
|
|
2712
2712
|
s("div", _s, [
|
|
2713
2713
|
b(V, {
|
|
2714
2714
|
class: "is-home-team gamecenter-timeline-data-table",
|
|
2715
|
-
columns:
|
|
2715
|
+
columns: i(a),
|
|
2716
2716
|
rows: o.value,
|
|
2717
2717
|
title: e.homeTeamName
|
|
2718
2718
|
}, null, 8, ["columns", "rows", "title"]),
|
|
2719
2719
|
b(V, {
|
|
2720
2720
|
class: "is-away-team gamecenter-timeline-data-table",
|
|
2721
|
-
columns:
|
|
2721
|
+
columns: i(a),
|
|
2722
2722
|
rows: l.value,
|
|
2723
2723
|
title: e.awayTeamName
|
|
2724
2724
|
}, null, 8, ["columns", "rows", "title"])
|
|
2725
2725
|
]),
|
|
2726
|
-
s("h2", Ps, m(
|
|
2726
|
+
s("h2", Ps, m(i(n)("title.gameOfficials")), 1),
|
|
2727
2727
|
s("div", $s, [
|
|
2728
2728
|
(c(!0), u(k, null, E(d.value, (p, S) => (c(), x(V, {
|
|
2729
2729
|
key: S,
|
|
2730
2730
|
class: "gamecenter-timeline-data-table",
|
|
2731
|
-
columns: r
|
|
2731
|
+
columns: i(r),
|
|
2732
2732
|
rows: p,
|
|
2733
|
-
title:
|
|
2733
|
+
title: i(n)(`roleType.${S}`)
|
|
2734
2734
|
}, null, 8, ["columns", "rows", "title"]))), 128))
|
|
2735
2735
|
])
|
|
2736
2736
|
]));
|
|
@@ -2745,7 +2745,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2745
2745
|
},
|
|
2746
2746
|
setup(e) {
|
|
2747
2747
|
const t = e, a = f(() => gt(t.rows, mt, aa(["mip"])));
|
|
2748
|
-
return (
|
|
2748
|
+
return (r, n) => te(r.$slots, "default", { rows: a.value });
|
|
2749
2749
|
}
|
|
2750
2750
|
}, Be = {
|
|
2751
2751
|
__name: "GamePlayerStatsProvider",
|
|
@@ -2756,13 +2756,13 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2756
2756
|
}
|
|
2757
2757
|
},
|
|
2758
2758
|
setup(e) {
|
|
2759
|
-
const t = e, { sort: a, change:
|
|
2759
|
+
const t = e, { sort: a, change: r } = Wa(), n = f(
|
|
2760
2760
|
() => gt(ce(St("gk", "row"), t.rows), Ja("position"), mt)
|
|
2761
2761
|
), o = f(() => Za(n.value).sorted(a).value());
|
|
2762
2762
|
return (l, d) => te(l.$slots, "default", {
|
|
2763
2763
|
rows: o.value.rows,
|
|
2764
|
-
sort:
|
|
2765
|
-
onSort: r
|
|
2764
|
+
sort: i(a),
|
|
2765
|
+
onSort: i(r)
|
|
2766
2766
|
});
|
|
2767
2767
|
}
|
|
2768
2768
|
}, Es = { class: "is-heading-2" }, Ns = { class: "gamecenter-data-column" }, Os = { class: "is-heading-2" }, Is = { class: "gamecenter-data-columns" }, As = {
|
|
@@ -2788,15 +2788,15 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2788
2788
|
}
|
|
2789
2789
|
},
|
|
2790
2790
|
setup(e) {
|
|
2791
|
-
const t = e, { t: a } = L(), { columns:
|
|
2791
|
+
const t = e, { t: a } = L(), { columns: r } = ue(_a), { columns: n } = ue(Pa), o = f(() => Me(t.data?.players?.[t.homeTeamId] ?? [])), l = f(() => Me(t.data?.players?.[t.awayTeamId] ?? [])), d = f(() => Ut(t.data?.goalies?.[t.homeTeamId] ?? [])), g = f(() => Ut(t.data?.goalies?.[t.awayTeamId] ?? []));
|
|
2792
2792
|
return (v, p) => (c(), u(k, null, [
|
|
2793
|
-
s("h2", Es, m(
|
|
2793
|
+
s("h2", Es, m(i(a)("title.fieldPlayers")), 1),
|
|
2794
2794
|
s("div", Ns, [
|
|
2795
2795
|
b(Be, { rows: o.value }, {
|
|
2796
2796
|
default: T(({ rows: S, sort: y, onSort: z }) => [
|
|
2797
2797
|
b(V, {
|
|
2798
2798
|
class: "is-home-team 'gamecenter-timeline-data-table",
|
|
2799
|
-
columns: r
|
|
2799
|
+
columns: i(r),
|
|
2800
2800
|
rows: S,
|
|
2801
2801
|
title: e.homeTeamName,
|
|
2802
2802
|
sort: y,
|
|
@@ -2809,7 +2809,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2809
2809
|
default: T(({ rows: S, sort: y, onSort: z }) => [
|
|
2810
2810
|
b(V, {
|
|
2811
2811
|
class: "is-away-team gamecenter-timeline-data-table",
|
|
2812
|
-
columns: r
|
|
2812
|
+
columns: i(r),
|
|
2813
2813
|
rows: S,
|
|
2814
2814
|
title: e.awayTeamName,
|
|
2815
2815
|
sort: y,
|
|
@@ -2819,13 +2819,13 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2819
2819
|
_: 1
|
|
2820
2820
|
}, 8, ["rows"])
|
|
2821
2821
|
]),
|
|
2822
|
-
s("h2", Os, m(
|
|
2822
|
+
s("h2", Os, m(i(a)("title.goalies")), 1),
|
|
2823
2823
|
s("div", Is, [
|
|
2824
2824
|
b(Ge, { rows: d.value }, {
|
|
2825
2825
|
default: T(({ rows: S }) => [
|
|
2826
2826
|
b(V, {
|
|
2827
2827
|
class: "is-home-team gamecenter-timeline-data-table",
|
|
2828
|
-
columns:
|
|
2828
|
+
columns: i(n),
|
|
2829
2829
|
rows: S,
|
|
2830
2830
|
title: e.homeTeamName
|
|
2831
2831
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -2836,7 +2836,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2836
2836
|
default: T(({ rows: S }) => [
|
|
2837
2837
|
b(V, {
|
|
2838
2838
|
class: "is-away-team gamecenter-timeline-data-table",
|
|
2839
|
-
columns:
|
|
2839
|
+
columns: i(n),
|
|
2840
2840
|
rows: S,
|
|
2841
2841
|
title: e.awayTeamName
|
|
2842
2842
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -2860,31 +2860,31 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2860
2860
|
},
|
|
2861
2861
|
emits: ["update:activeTab"],
|
|
2862
2862
|
setup(e, { emit: t }) {
|
|
2863
|
-
const a = e,
|
|
2863
|
+
const a = e, r = t, n = vt("history"), { t: o } = L();
|
|
2864
2864
|
function l(d) {
|
|
2865
|
-
|
|
2865
|
+
r("update:activeTab", d), a.useSearchParams && (n.tab = d);
|
|
2866
2866
|
}
|
|
2867
2867
|
return (d, g) => (c(), u("div", Ms, [
|
|
2868
2868
|
s("button", {
|
|
2869
|
-
class: q(["tab-button", { "is-active": e.activeTab ===
|
|
2870
|
-
onClick: g[0] || (g[0] = (v) => l(
|
|
2871
|
-
}, m(
|
|
2869
|
+
class: q(["tab-button", { "is-active": e.activeTab === i(Le) }]),
|
|
2870
|
+
onClick: g[0] || (g[0] = (v) => l(i(Le)))
|
|
2871
|
+
}, m(i(o)("menu.events")), 3),
|
|
2872
2872
|
s("button", {
|
|
2873
|
-
class: q(["tab-button", { "is-active": e.activeTab ===
|
|
2874
|
-
onClick: g[1] || (g[1] = (v) => l(
|
|
2875
|
-
}, m(
|
|
2873
|
+
class: q(["tab-button", { "is-active": e.activeTab === i(nt) }]),
|
|
2874
|
+
onClick: g[1] || (g[1] = (v) => l(i(nt)))
|
|
2875
|
+
}, m(i(o)("menu.lineups")), 3),
|
|
2876
2876
|
s("button", {
|
|
2877
|
-
class: q(["tab-button", { "is-active": e.activeTab ===
|
|
2878
|
-
onClick: g[2] || (g[2] = (v) => l(
|
|
2879
|
-
}, m(
|
|
2877
|
+
class: q(["tab-button", { "is-active": e.activeTab === i(ot) }]),
|
|
2878
|
+
onClick: g[2] || (g[2] = (v) => l(i(ot)))
|
|
2879
|
+
}, m(i(o)("menu.teamStats")), 3),
|
|
2880
2880
|
s("button", {
|
|
2881
|
-
class: q(["tab-button", { "is-active": e.activeTab ===
|
|
2882
|
-
onClick: g[3] || (g[3] = (v) => l(
|
|
2883
|
-
}, m(
|
|
2881
|
+
class: q(["tab-button", { "is-active": e.activeTab === i(st) }]),
|
|
2882
|
+
onClick: g[3] || (g[3] = (v) => l(i(st)))
|
|
2883
|
+
}, m(i(o)("menu.playerStats")), 3),
|
|
2884
2884
|
s("button", {
|
|
2885
|
-
class: q(["tab-button", { "is-active": e.activeTab ===
|
|
2886
|
-
onClick: g[4] || (g[4] = (v) => l(
|
|
2887
|
-
}, m(
|
|
2885
|
+
class: q(["tab-button", { "is-active": e.activeTab === i(lt) }]),
|
|
2886
|
+
onClick: g[4] || (g[4] = (v) => l(i(lt)))
|
|
2887
|
+
}, m(i(o)("menu.officials")), 3)
|
|
2888
2888
|
]));
|
|
2889
2889
|
}
|
|
2890
2890
|
}, Cs = { class: "statistics-double-bar" }, Ds = { class: "is-value is-value-start" }, Gs = { class: "is-bar is-bar-start" }, Bs = { class: "is-bar is-bar-end" }, Hs = { class: "is-value is-value-end" }, Rs = { class: "is-title" }, re = {
|
|
@@ -2912,7 +2912,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2912
2912
|
}
|
|
2913
2913
|
},
|
|
2914
2914
|
setup(e) {
|
|
2915
|
-
const t = e, a = f(() => ({ width: `${t.valueStart / t.max * 100 || 0}%` })),
|
|
2915
|
+
const t = e, a = f(() => ({ width: `${t.valueStart / t.max * 100 || 0}%` })), r = f(() => ({ width: `${t.valueEnd / t.max * 100 || 0}%` }));
|
|
2916
2916
|
return (n, o) => (c(), u("div", Cs, [
|
|
2917
2917
|
s("div", Ds, [
|
|
2918
2918
|
te(n.$slots, "value-start", {}, () => [
|
|
@@ -2931,7 +2931,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2931
2931
|
s("div", Bs, [
|
|
2932
2932
|
s("div", {
|
|
2933
2933
|
class: "is-bar-end--progress",
|
|
2934
|
-
style: Ee(
|
|
2934
|
+
style: Ee(r.value)
|
|
2935
2935
|
}, null, 4)
|
|
2936
2936
|
]),
|
|
2937
2937
|
s("div", Hs, [
|
|
@@ -2958,75 +2958,75 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
2958
2958
|
}
|
|
2959
2959
|
},
|
|
2960
2960
|
setup(e) {
|
|
2961
|
-
const t = e, { t: a } = L(),
|
|
2962
|
-
() => Xe(t.gameStats?.teamPenalties ?? [],
|
|
2961
|
+
const t = e, { t: a } = L(), r = f(() => t.gameData?.homeTeam?.id ?? ""), n = f(() => t.gameData?.awayTeam?.id ?? ""), o = f(() => Xe(t.gameStats?.teamSOG ?? [], n.value, r.value, "shots")), l = f(() => Xe(t.gameStats?.teamSOG ?? [], r.value, n.value, "saves")), d = f(
|
|
2962
|
+
() => Xe(t.gameStats?.teamPenalties ?? [], r.value, n.value, "penaltyLength")
|
|
2963
2963
|
), g = f(() => Cn(t.gameStats?.teamPowerPlay ?? {})), v = f(() => Dn(t.gameStats?.teamPowerPlay ?? {})), p = f(() => Ln(t.gameStats?.teamPowerPlay ?? {}));
|
|
2964
2964
|
return (S, y) => (c(), u("div", Fs, [
|
|
2965
|
-
s("h1", Ks, m(
|
|
2965
|
+
s("h1", Ks, m(i(a)("teamsStats.sog")), 1),
|
|
2966
2966
|
s("div", Vs, [
|
|
2967
2967
|
(c(!0), u(k, null, E(o.value, ({ max: z, valueStart: P, valueEnd: N }, $) => (c(), x(re, {
|
|
2968
2968
|
key: $,
|
|
2969
2969
|
max: z,
|
|
2970
2970
|
"value-start": P,
|
|
2971
2971
|
"value-end": N,
|
|
2972
|
-
title:
|
|
2972
|
+
title: i(a)(`section.${$}`)
|
|
2973
2973
|
}, null, 8, ["max", "value-start", "value-end", "title"]))), 128))
|
|
2974
2974
|
]),
|
|
2975
|
-
s("h1", Us, m(
|
|
2975
|
+
s("h1", Us, m(i(a)("teamsStats.saves")), 1),
|
|
2976
2976
|
s("div", qs, [
|
|
2977
2977
|
(c(!0), u(k, null, E(l.value, ({ max: z, valueStart: P, valueEnd: N }, $) => (c(), x(re, {
|
|
2978
2978
|
key: $,
|
|
2979
2979
|
max: z,
|
|
2980
2980
|
"value-start": P,
|
|
2981
2981
|
"value-end": N,
|
|
2982
|
-
title:
|
|
2982
|
+
title: i(a)(`section.${$}`)
|
|
2983
2983
|
}, null, 8, ["max", "value-start", "value-end", "title"]))), 128))
|
|
2984
2984
|
]),
|
|
2985
|
-
s("h1", Ws, m(
|
|
2985
|
+
s("h1", Ws, m(i(a)("teamsStats.pim")), 1),
|
|
2986
2986
|
s("div", Ys, [
|
|
2987
2987
|
(c(!0), u(k, null, E(d.value, ({ max: z, valueStart: P, valueEnd: N }, $) => (c(), x(re, {
|
|
2988
2988
|
key: $,
|
|
2989
2989
|
max: z,
|
|
2990
2990
|
"value-start": P,
|
|
2991
2991
|
"value-end": N,
|
|
2992
|
-
title:
|
|
2992
|
+
title: i(a)(`section.${$}`)
|
|
2993
2993
|
}, null, 8, ["max", "value-start", "value-end", "title"]))), 128))
|
|
2994
2994
|
]),
|
|
2995
|
-
s("h1", Qs, m(
|
|
2995
|
+
s("h1", Qs, m(i(a)("teamsStats.advPercent")), 1),
|
|
2996
2996
|
s("div", Js, [
|
|
2997
2997
|
(c(!0), u(k, null, E(g.value, ({ max: z, valueStart: P, valueEnd: N, suffix: $ }, G) => (c(), x(re, {
|
|
2998
2998
|
key: G,
|
|
2999
2999
|
max: z,
|
|
3000
3000
|
"value-start": P,
|
|
3001
3001
|
"value-end": N,
|
|
3002
|
-
title:
|
|
3002
|
+
title: i(a)(`stats.${G}`),
|
|
3003
3003
|
"value-suffix": $
|
|
3004
3004
|
}, null, 8, ["max", "value-start", "value-end", "title", "value-suffix"]))), 128))
|
|
3005
3005
|
]),
|
|
3006
|
-
s("h1", Zs, m(
|
|
3006
|
+
s("h1", Zs, m(i(a)("teamsStats.penaltyKilling")), 1),
|
|
3007
3007
|
s("div", Xs, [
|
|
3008
3008
|
(c(!0), u(k, null, E(v.value, ({ max: z, valueStart: P, valueEnd: N, suffix: $ }, G) => (c(), x(re, {
|
|
3009
3009
|
key: G,
|
|
3010
3010
|
max: z,
|
|
3011
3011
|
"value-start": P,
|
|
3012
3012
|
"value-end": N,
|
|
3013
|
-
title:
|
|
3013
|
+
title: i(a)(`stats.${G}`),
|
|
3014
3014
|
"value-suffix": $
|
|
3015
3015
|
}, null, 8, ["max", "value-start", "value-end", "title", "value-suffix"]))), 128))
|
|
3016
3016
|
]),
|
|
3017
|
-
s("h1", el, m(
|
|
3017
|
+
s("h1", el, m(i(a)("teamsStats.advantageTime")), 1),
|
|
3018
3018
|
s("div", tl, [
|
|
3019
3019
|
b(re, {
|
|
3020
3020
|
max: p.value.advTime.max,
|
|
3021
3021
|
"value-start": p.value.advTime.valueStart,
|
|
3022
3022
|
"value-end": p.value.advTime.valueEnd,
|
|
3023
|
-
title:
|
|
3023
|
+
title: i(a)("section.all")
|
|
3024
3024
|
}, {
|
|
3025
3025
|
"value-start": T(() => [
|
|
3026
|
-
w(m(
|
|
3026
|
+
w(m(i(U)(p.value.advTime.valueStart)), 1)
|
|
3027
3027
|
]),
|
|
3028
3028
|
"value-end": T(() => [
|
|
3029
|
-
w(m(
|
|
3029
|
+
w(m(i(U)(p.value.advTime.valueEnd)), 1)
|
|
3030
3030
|
]),
|
|
3031
3031
|
_: 1
|
|
3032
3032
|
}, 8, ["max", "value-start", "value-end", "title"]),
|
|
@@ -3034,13 +3034,13 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3034
3034
|
max: p.value.advTimePP1.max,
|
|
3035
3035
|
"value-start": p.value.advTimePP1.valueStart,
|
|
3036
3036
|
"value-end": p.value.advTimePP1.valueEnd,
|
|
3037
|
-
title:
|
|
3037
|
+
title: i(a)("teamsStats.advantageTimePP1")
|
|
3038
3038
|
}, {
|
|
3039
3039
|
"value-start": T(() => [
|
|
3040
|
-
w(m(
|
|
3040
|
+
w(m(i(U)(p.value.advTimePP1.valueStart)), 1)
|
|
3041
3041
|
]),
|
|
3042
3042
|
"value-end": T(() => [
|
|
3043
|
-
w(m(
|
|
3043
|
+
w(m(i(U)(p.value.advTimePP1.valueEnd)), 1)
|
|
3044
3044
|
]),
|
|
3045
3045
|
_: 1
|
|
3046
3046
|
}, 8, ["max", "value-start", "value-end", "title"]),
|
|
@@ -3048,13 +3048,13 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3048
3048
|
max: p.value.advTimePP2.max,
|
|
3049
3049
|
"value-start": p.value.advTimePP2.valueStart,
|
|
3050
3050
|
"value-end": p.value.advTimePP2.valueEnd,
|
|
3051
|
-
title:
|
|
3051
|
+
title: i(a)("teamsStats.advantageTimePP2")
|
|
3052
3052
|
}, {
|
|
3053
3053
|
"value-start": T(() => [
|
|
3054
|
-
w(m(
|
|
3054
|
+
w(m(i(U)(p.value.advTimePP2.valueStart)), 1)
|
|
3055
3055
|
]),
|
|
3056
3056
|
"value-end": T(() => [
|
|
3057
|
-
w(m(
|
|
3057
|
+
w(m(i(U)(p.value.advTimePP2.valueEnd)), 1)
|
|
3058
3058
|
]),
|
|
3059
3059
|
_: 1
|
|
3060
3060
|
}, 8, ["max", "value-start", "value-end", "title"])
|
|
@@ -3063,8 +3063,8 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3063
3063
|
}
|
|
3064
3064
|
}, Ca = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .625rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-loading-indicator-text-color: var(--vbr-widget-hover-color);--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-title-color: var(--vbr-widget-primary-color-50);--vbr-widget-top-list-title-separator-color: var(--vbr-widget-primary-color-700);--vbr-widget-top-list-value-color: var(--vbr-widget-primary-color-300);--vbr-widget-top-list-player-separator-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-image-border-color: var(--vbr-widget-primary-color-600);--vbr-widget-top-list-image-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-selector-border-color: var(--vbr-widget-primary-color-400);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-color: var(--vbr-widget-primary-color-100);--vbr-widget-playoffs-header-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-playoffs-details-bg: var(--vbr-widget-primary-color-50);--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-loading-indicator-text-color);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice button{text-decoration:underline}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", rl = ".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)}}", il = `.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;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)}`, nl = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', ol = '.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)}', sl = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", ll = '.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}', Da = (e, t) => {
|
|
3065
3065
|
const a = e.__vccOpts || e;
|
|
3066
|
-
for (const [
|
|
3067
|
-
a[
|
|
3066
|
+
for (const [r, n] of t)
|
|
3067
|
+
a[r] = n;
|
|
3068
3068
|
return a;
|
|
3069
3069
|
}, cl = {
|
|
3070
3070
|
__name: "GameTimeline.ce",
|
|
@@ -3083,7 +3083,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3083
3083
|
}
|
|
3084
3084
|
},
|
|
3085
3085
|
setup(e) {
|
|
3086
|
-
const t = e, a = { en: { ...Sa, ...Mi }, hu: { ...za, ...on } },
|
|
3086
|
+
const t = e, a = { en: { ...Sa, ...Mi }, hu: { ...za, ...on } }, r = F(null), n = vt("history"), o = F(n.tab || Le), { errors: l, add: d, remove: g } = Na(), v = f(() => n?.gameid || n?.gameId || t.gameId), { state: p, execute: S } = ie({
|
|
3087
3087
|
options: {
|
|
3088
3088
|
path: "/v2/game-data",
|
|
3089
3089
|
apiKey: t.apiKey,
|
|
@@ -3124,63 +3124,63 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3124
3124
|
const C = bn(p), W = ra(t.apiKey), j = f(() => et(`/v2/game-attendance?gameid=${v.value}&apiKey=${W}`));
|
|
3125
3125
|
return Ya(et(`/v2/game-data?gameid=${v.value}&apiKey=${W}`), p), (_, D) => (c(), u("div", {
|
|
3126
3126
|
class: "gamecenter-timeline",
|
|
3127
|
-
style: Ee(
|
|
3127
|
+
style: Ee(i(C))
|
|
3128
3128
|
}, [
|
|
3129
|
-
b(
|
|
3129
|
+
b(i(ea), {
|
|
3130
3130
|
locale: t.locale,
|
|
3131
3131
|
messages: a
|
|
3132
3132
|
}, {
|
|
3133
3133
|
default: T(() => [
|
|
3134
|
-
(c(!0), u(k, null, E(
|
|
3134
|
+
(c(!0), u(k, null, E(i(l), (H) => (c(), x(i(ta), {
|
|
3135
3135
|
key: H.key,
|
|
3136
3136
|
error: H
|
|
3137
3137
|
}, null, 8, ["error"]))), 128)),
|
|
3138
|
-
|
|
3138
|
+
i(I)(i(p)) ? h("", !0) : (c(), x(uo, {
|
|
3139
3139
|
key: 0,
|
|
3140
3140
|
ref_key: "contentElementRef",
|
|
3141
|
-
ref:
|
|
3142
|
-
"game-events":
|
|
3143
|
-
"game-data":
|
|
3141
|
+
ref: r,
|
|
3142
|
+
"game-events": i(y),
|
|
3143
|
+
"game-data": i(p),
|
|
3144
3144
|
"websocket-url": j.value,
|
|
3145
3145
|
locale: e.locale
|
|
3146
3146
|
}, null, 8, ["game-events", "game-data", "websocket-url", "locale"])),
|
|
3147
|
-
|
|
3147
|
+
i(p)?.gameStatus > 0 ? (c(), u(k, { key: 1 }, [
|
|
3148
3148
|
b(Ls, {
|
|
3149
3149
|
"active-tab": o.value,
|
|
3150
3150
|
"onUpdate:activeTab": D[0] || (D[0] = (H) => o.value = H)
|
|
3151
3151
|
}, null, 8, ["active-tab"]),
|
|
3152
|
-
o.value ===
|
|
3152
|
+
o.value === i(Le) && !i(I)(i(y)) && !i(I)(i(p)) ? (c(), x(gs, {
|
|
3153
3153
|
key: 0,
|
|
3154
|
-
"game-events":
|
|
3155
|
-
"game-data":
|
|
3154
|
+
"game-events": i(y),
|
|
3155
|
+
"game-data": i(p)
|
|
3156
3156
|
}, null, 8, ["game-events", "game-data"])) : h("", !0),
|
|
3157
|
-
o.value ===
|
|
3157
|
+
o.value === i(nt) ? (c(), x(ys, {
|
|
3158
3158
|
key: 1,
|
|
3159
|
-
data:
|
|
3160
|
-
"game-officials":
|
|
3161
|
-
"home-team-id":
|
|
3162
|
-
"home-team-name":
|
|
3163
|
-
"away-team-id":
|
|
3164
|
-
"away-team-name":
|
|
3159
|
+
data: i(P).players,
|
|
3160
|
+
"game-officials": i($),
|
|
3161
|
+
"home-team-id": i(p).homeTeam.id,
|
|
3162
|
+
"home-team-name": i(p).homeTeam.longName,
|
|
3163
|
+
"away-team-id": i(p).awayTeam.id,
|
|
3164
|
+
"away-team-name": i(p).awayTeam.longName
|
|
3165
3165
|
}, null, 8, ["data", "game-officials", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) : h("", !0),
|
|
3166
|
-
o.value ===
|
|
3166
|
+
o.value === i(ot) ? (c(), x(al, {
|
|
3167
3167
|
key: 2,
|
|
3168
|
-
"game-data":
|
|
3169
|
-
"game-stats":
|
|
3168
|
+
"game-data": i(p),
|
|
3169
|
+
"game-stats": i(P)
|
|
3170
3170
|
}, null, 8, ["game-data", "game-stats"])) : h("", !0),
|
|
3171
|
-
o.value ===
|
|
3171
|
+
o.value === i(st) && !i(I)(i(P)) ? (c(), x(As, {
|
|
3172
3172
|
key: 3,
|
|
3173
|
-
data:
|
|
3174
|
-
"home-team-id":
|
|
3175
|
-
"home-team-name":
|
|
3176
|
-
"away-team-id":
|
|
3177
|
-
"away-team-name":
|
|
3173
|
+
data: i(P),
|
|
3174
|
+
"home-team-id": i(p).homeTeam.id,
|
|
3175
|
+
"home-team-name": i(p).homeTeam.longName,
|
|
3176
|
+
"away-team-id": i(p).awayTeam.id,
|
|
3177
|
+
"away-team-name": i(p).awayTeam.longName
|
|
3178
3178
|
}, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) : h("", !0),
|
|
3179
|
-
o.value ===
|
|
3179
|
+
o.value === i(lt) && !i(I)(i($)) && !i(I)(i(p)) ? (c(), x(js, {
|
|
3180
3180
|
key: 4,
|
|
3181
|
-
"game-officials":
|
|
3182
|
-
"home-team-name":
|
|
3183
|
-
"away-team-name":
|
|
3181
|
+
"game-officials": i($),
|
|
3182
|
+
"home-team-name": i(p).homeTeam.longName,
|
|
3183
|
+
"away-team-name": i(p).awayTeam.longName
|
|
3184
3184
|
}, null, 8, ["game-officials", "home-team-name", "away-team-name"])) : h("", !0)
|
|
3185
3185
|
], 64)) : h("", !0)
|
|
3186
3186
|
]),
|
|
@@ -3217,87 +3217,87 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3217
3217
|
}
|
|
3218
3218
|
},
|
|
3219
3219
|
setup(e) {
|
|
3220
|
-
const t = e, { gameData: a, websocketUrl:
|
|
3220
|
+
const t = e, { gameData: a, websocketUrl: r } = dt(t), { t: n } = L(), { visitorsLabel: o, isVisible: l } = Ia(r, a);
|
|
3221
3221
|
return (d, g) => (c(), u("div", gl, [
|
|
3222
3222
|
s("div", ml, [
|
|
3223
3223
|
g[0] || (R(-1, !0), (g[0] = s("div", { class: "is-title" }, [
|
|
3224
|
-
w(m(
|
|
3224
|
+
w(m(i(a).championshipName) + " - " + m(i(a).divisionName) + " - " + m(i(a).gameName) + " / " + m(i(a).location.locationName), 1)
|
|
3225
3225
|
])).cacheIndex = 0, R(1), g[0]),
|
|
3226
3226
|
g[1] || (R(-1, !0), (g[1] = s("div", { class: "is-gamedate" }, [
|
|
3227
|
-
w(m(
|
|
3227
|
+
w(m(i(Ne)(i(a).gameDate, "L dddd - HH:mm", null, e.locale)) + " (" + m(i(Oe)(new Date(i(a).gameDate), null, e.locale)) + ") ", 1)
|
|
3228
3228
|
])).cacheIndex = 1, R(1), g[1]),
|
|
3229
3229
|
g[2] || (R(-1, !0), (g[2] = s("div", { class: "is-local-gamedate" }, [
|
|
3230
|
-
w(m(
|
|
3230
|
+
w(m(i(n)("localTime")) + " (" + m(i(a).location.locationCountryISO || i(a).location.locationName) + "): " + m(i(Ne)(i(a).gameDate, "L dddd - HH:mm", i(a).location.timezone, e.locale)) + " (" + m(i(Oe)(new Date(i(a).gameDate), i(a).location.timezone, e.locale)) + ") ", 1)
|
|
3231
3231
|
])).cacheIndex = 2, R(1), g[2]),
|
|
3232
3232
|
s("div", ul, [
|
|
3233
|
-
|
|
3233
|
+
i(a).electronicReportUrl ? (c(), u("a", {
|
|
3234
3234
|
key: 0,
|
|
3235
|
-
href:
|
|
3235
|
+
href: i(a).electronicReportUrl,
|
|
3236
3236
|
target: "_blank"
|
|
3237
3237
|
}, [
|
|
3238
|
-
b(
|
|
3239
|
-
w(" " + m(
|
|
3238
|
+
b(i(Ce), { class: "is-icon" }),
|
|
3239
|
+
w(" " + m(i(n)("sheet")), 1)
|
|
3240
3240
|
], 8, vl)) : h("", !0),
|
|
3241
|
-
|
|
3241
|
+
i(a).toiReportUrl ? (c(), u("a", {
|
|
3242
3242
|
key: 1,
|
|
3243
|
-
href:
|
|
3243
|
+
href: i(a).toiReportUrl,
|
|
3244
3244
|
target: "_blank"
|
|
3245
3245
|
}, [
|
|
3246
|
-
b(
|
|
3247
|
-
w(" " + m(
|
|
3246
|
+
b(i(Ce), { class: "is-icon" }),
|
|
3247
|
+
w(" " + m(i(n)("toiSheet")), 1)
|
|
3248
3248
|
], 8, pl)) : h("", !0),
|
|
3249
|
-
|
|
3249
|
+
i(a).video ? (c(), u("a", {
|
|
3250
3250
|
key: 2,
|
|
3251
|
-
href:
|
|
3251
|
+
href: i(a).video,
|
|
3252
3252
|
target: "_blank"
|
|
3253
3253
|
}, [
|
|
3254
|
-
b(
|
|
3255
|
-
w(" " + m(
|
|
3254
|
+
b(i(Oa), { class: "is-icon" }),
|
|
3255
|
+
w(" " + m(i(n)("video")), 1)
|
|
3256
3256
|
], 8, bl)) : h("", !0)
|
|
3257
3257
|
]),
|
|
3258
|
-
|
|
3258
|
+
i(a).gameStatus <= 1 && i(l) ? (c(), u("p", fl, m(i(o)), 1)) : h("", !0)
|
|
3259
3259
|
]),
|
|
3260
3260
|
s("div", hl, [
|
|
3261
3261
|
g[3] || (R(-1, !0), (g[3] = s("div", null, [
|
|
3262
|
-
b(
|
|
3263
|
-
src:
|
|
3262
|
+
b(i(ae), {
|
|
3263
|
+
src: i(a).homeTeam?.logo,
|
|
3264
3264
|
class: "is-team-logo",
|
|
3265
|
-
"default-src":
|
|
3265
|
+
"default-src": i(Ue)
|
|
3266
3266
|
}, null, 8, ["src", "default-src"]),
|
|
3267
|
-
s("h1", yl, m(
|
|
3267
|
+
s("h1", yl, m(i(a).homeTeam?.longName), 1)
|
|
3268
3268
|
])).cacheIndex = 3, R(1), g[3]),
|
|
3269
3269
|
s("div", null, [
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
s("span", Tl, m(
|
|
3270
|
+
i(a).gameStatus > 1 ? (c(), u("p", wl, m(i(n)(`gameStatus.status-${i(a).gameStatus}`)), 1)) : h("", !0),
|
|
3271
|
+
i(a).gameStatus === 1 ? (c(), u("p", kl, m(i(n)(`periods.${i(_t)(i(a).period)}`)), 1)) : h("", !0),
|
|
3272
|
+
i(a).gameStatus > 1 ? (c(), u(k, { key: 2 }, [
|
|
3273
|
+
i(a).isOvertime ? (c(), u("p", xl, [
|
|
3274
|
+
s("span", Tl, m(i(n)("afterOvertime")), 1)
|
|
3275
3275
|
])) : h("", !0),
|
|
3276
|
-
|
|
3277
|
-
s("span", zl, m(
|
|
3276
|
+
i(a).isShootout ? (c(), u("p", Sl, [
|
|
3277
|
+
s("span", zl, m(i(n)("afterShootout")), 1)
|
|
3278
3278
|
])) : h("", !0)
|
|
3279
3279
|
], 64)) : h("", !0),
|
|
3280
|
-
|
|
3281
|
-
|
|
3280
|
+
i(a).gameStatus === 1 ? (c(), u("p", _l, m(i(a).actualTime), 1)) : h("", !0),
|
|
3281
|
+
i(a).gameStatus === 1 ? (c(), x(Aa, {
|
|
3282
3282
|
key: 4,
|
|
3283
|
-
"game-data":
|
|
3283
|
+
"game-data": i(a)
|
|
3284
3284
|
}, null, 8, ["game-data"])) : h("", !0),
|
|
3285
3285
|
s("div", {
|
|
3286
|
-
class: q(["is-game-result", [{ "is-game-status-live":
|
|
3286
|
+
class: q(["is-game-result", [{ "is-game-status-live": i(a).gameStatus === 1 }]])
|
|
3287
3287
|
}, [
|
|
3288
|
-
|
|
3288
|
+
i(a).gameStatus === 0 ? (c(), u("span", Pl, "-")) : (c(), u("span", $l, m(i(a).homeTeamScore), 1)),
|
|
3289
3289
|
g[5] || (g[5] = w(":", -1)),
|
|
3290
|
-
|
|
3290
|
+
i(a).gameStatus === 0 ? (c(), u("span", jl, "-")) : (c(), u("span", El, m(i(a).awayTeamScore), 1))
|
|
3291
3291
|
], 2),
|
|
3292
|
-
s("p", Nl, m(
|
|
3292
|
+
s("p", Nl, m(i(a).periodResults), 1)
|
|
3293
3293
|
]),
|
|
3294
3294
|
g[4] || (R(-1, !0), (g[4] = s("div", null, [
|
|
3295
|
-
b(
|
|
3296
|
-
src:
|
|
3297
|
-
"default-src":
|
|
3295
|
+
b(i(ae), {
|
|
3296
|
+
src: i(a).awayTeam?.logo,
|
|
3297
|
+
"default-src": i(qe),
|
|
3298
3298
|
class: "is-team-logo"
|
|
3299
3299
|
}, null, 8, ["src", "default-src"]),
|
|
3300
|
-
s("h1", Ol, m(
|
|
3300
|
+
s("h1", Ol, m(i(a).awayTeam?.longName), 1)
|
|
3301
3301
|
])).cacheIndex = 4, R(1), g[4])
|
|
3302
3302
|
])
|
|
3303
3303
|
]));
|
|
@@ -3318,9 +3318,9 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3318
3318
|
}
|
|
3319
3319
|
},
|
|
3320
3320
|
setup(e) {
|
|
3321
|
-
const t = e, a = F(null),
|
|
3321
|
+
const t = e, a = F(null), r = f(() => t.isHomeTeam ? Ue : qe);
|
|
3322
3322
|
return (n, o) => (c(), u(k, null, [
|
|
3323
|
-
b(
|
|
3323
|
+
b(i(Z), {
|
|
3324
3324
|
offset: 2,
|
|
3325
3325
|
placement: "top",
|
|
3326
3326
|
theme: "tooltip",
|
|
@@ -3333,9 +3333,9 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3333
3333
|
tabindex: 0,
|
|
3334
3334
|
"aria-label": e.name
|
|
3335
3335
|
}, se(d, !0)), [
|
|
3336
|
-
b(
|
|
3336
|
+
b(i(ae), {
|
|
3337
3337
|
src: e.logo,
|
|
3338
|
-
"default-src":
|
|
3338
|
+
"default-src": r.value
|
|
3339
3339
|
}, null, 8, ["src", "default-src"])
|
|
3340
3340
|
], 16, Al)
|
|
3341
3341
|
]),
|
|
@@ -3372,7 +3372,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3372
3372
|
}
|
|
3373
3373
|
},
|
|
3374
3374
|
setup(e) {
|
|
3375
|
-
const t = e, a = F(null),
|
|
3375
|
+
const t = e, a = F(null), r = f(() => ce((l) => I(l), [t.event.assists1, t.event.assists2])), n = f(() => t.event.homeOnIce), o = f(() => t.event.awayOnIce);
|
|
3376
3376
|
return (l, d) => (c(), u(k, null, [
|
|
3377
3377
|
s("div", Ml, m(e.event.eventTime), 1),
|
|
3378
3378
|
s("div", Ll, [
|
|
@@ -3384,7 +3384,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3384
3384
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3385
3385
|
]),
|
|
3386
3386
|
s("div", Cl, [
|
|
3387
|
-
b(
|
|
3387
|
+
b(i(Te), { class: "is-goal-icon" })
|
|
3388
3388
|
]),
|
|
3389
3389
|
s("div", Dl, m(e.event.score), 1),
|
|
3390
3390
|
s("div", null, [
|
|
@@ -3411,14 +3411,14 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3411
3411
|
w(" " + m(e.event.lastName) + " " + m(e.event.firstName), 1)
|
|
3412
3412
|
]),
|
|
3413
3413
|
s("dt", Kl, [
|
|
3414
|
-
(c(!0), u(k, null, E(
|
|
3414
|
+
(c(!0), u(k, null, E(r.value, (g) => (c(), u("span", { key: g }, [
|
|
3415
3415
|
s("i", null, m(g.jerseyNumber), 1),
|
|
3416
3416
|
w(" " + m(g.lastName) + " " + m(g.firstName), 1)
|
|
3417
3417
|
]))), 128))
|
|
3418
3418
|
]),
|
|
3419
|
-
!
|
|
3419
|
+
!i(I)(n.value) || !i(I)(o.value) ? (c(), u("dd", Vl, [
|
|
3420
3420
|
s("ul", null, [
|
|
3421
|
-
(c(!0), u(k, null, E(n.value, (g) => (c(), x(
|
|
3421
|
+
(c(!0), u(k, null, E(n.value, (g) => (c(), x(i(Z), {
|
|
3422
3422
|
key: g.playerId,
|
|
3423
3423
|
offset: 2,
|
|
3424
3424
|
placement: "top",
|
|
@@ -3439,7 +3439,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3439
3439
|
]),
|
|
3440
3440
|
d[0] || (d[0] = s("span", null, " / ", -1)),
|
|
3441
3441
|
s("ul", null, [
|
|
3442
|
-
(c(!0), u(k, null, E(o.value, (g) => (c(), x(
|
|
3442
|
+
(c(!0), u(k, null, E(o.value, (g) => (c(), x(i(Z), {
|
|
3443
3443
|
key: g.playerId,
|
|
3444
3444
|
offset: 2,
|
|
3445
3445
|
placement: "top",
|
|
@@ -3491,18 +3491,18 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3491
3491
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3492
3492
|
]),
|
|
3493
3493
|
s("div", Jl, [
|
|
3494
|
-
e.event.gkDirection === "CSERE" ? (c(), x(
|
|
3494
|
+
e.event.gkDirection === "CSERE" ? (c(), x(i(ct), {
|
|
3495
3495
|
key: 0,
|
|
3496
3496
|
width: "24",
|
|
3497
3497
|
height: "24",
|
|
3498
3498
|
class: "is-goalie-in-icon"
|
|
3499
3499
|
})) : h("", !0),
|
|
3500
|
-
e.event.gkDirection === "BE" ? (c(), x(
|
|
3500
|
+
e.event.gkDirection === "BE" ? (c(), x(i(ct), {
|
|
3501
3501
|
key: 1,
|
|
3502
3502
|
width: "24",
|
|
3503
3503
|
height: "24",
|
|
3504
3504
|
class: "is-goalie-in-icon"
|
|
3505
|
-
})) : (c(), x(
|
|
3505
|
+
})) : (c(), x(i(Ma), {
|
|
3506
3506
|
key: 2,
|
|
3507
3507
|
width: "24",
|
|
3508
3508
|
height: "24",
|
|
@@ -3531,7 +3531,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3531
3531
|
}
|
|
3532
3532
|
},
|
|
3533
3533
|
setup(e) {
|
|
3534
|
-
const t = e, a = F(null), { t:
|
|
3534
|
+
const t = e, a = F(null), { t: r } = L(), n = f(() => Ea(t.event));
|
|
3535
3535
|
return (o, l) => (c(), u(k, null, [
|
|
3536
3536
|
s("div", ac, m(e.event.eventTime), 1),
|
|
3537
3537
|
s("div", rc, [
|
|
@@ -3543,25 +3543,25 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3543
3543
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3544
3544
|
]),
|
|
3545
3545
|
s("div", ic, [
|
|
3546
|
-
b(
|
|
3546
|
+
b(i(La), {
|
|
3547
3547
|
width: "24",
|
|
3548
3548
|
height: "24",
|
|
3549
3549
|
class: "is-penalty-icon"
|
|
3550
3550
|
})
|
|
3551
3551
|
]),
|
|
3552
3552
|
s("div", nc, [
|
|
3553
|
-
b(
|
|
3553
|
+
b(i(Z), {
|
|
3554
3554
|
offset: 2,
|
|
3555
3555
|
placement: "top",
|
|
3556
3556
|
theme: "tooltip",
|
|
3557
|
-
content: r
|
|
3557
|
+
content: i(r)(`penalties.${n.value.penaltyCause}`),
|
|
3558
3558
|
"append-to": a.value
|
|
3559
3559
|
}, {
|
|
3560
3560
|
default: T(({ setRef: d, events: g }) => [
|
|
3561
3561
|
s("span", oe({
|
|
3562
3562
|
ref: d,
|
|
3563
3563
|
tabindex: 0,
|
|
3564
|
-
"aria-label": r
|
|
3564
|
+
"aria-label": i(r)(`penalties.${n.value.penaltyCause}`)
|
|
3565
3565
|
}, se(g, !0)), m(n.value.penaltyCause), 17, oc)
|
|
3566
3566
|
]),
|
|
3567
3567
|
_: 1
|
|
@@ -3573,21 +3573,21 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3573
3573
|
]),
|
|
3574
3574
|
s("div", sc, [
|
|
3575
3575
|
e.event.penaltyLength ? (c(), u(k, { key: 0 }, [
|
|
3576
|
-
w(m(r
|
|
3576
|
+
w(m(i(r)("events.penaltyLength", [e.event.penaltyLength])), 1)
|
|
3577
3577
|
], 64)) : h("", !0),
|
|
3578
|
-
e.event.ps ? (c(), x(
|
|
3578
|
+
e.event.ps ? (c(), x(i(Z), {
|
|
3579
3579
|
key: 1,
|
|
3580
3580
|
offset: 2,
|
|
3581
3581
|
placement: "top",
|
|
3582
3582
|
theme: "tooltip",
|
|
3583
|
-
content: r
|
|
3583
|
+
content: i(r)("penalties.PS"),
|
|
3584
3584
|
"append-to": a.value
|
|
3585
3585
|
}, {
|
|
3586
3586
|
default: T(({ setRef: d, events: g }) => [
|
|
3587
3587
|
s("span", oe({
|
|
3588
3588
|
ref: d,
|
|
3589
3589
|
tabindex: 0,
|
|
3590
|
-
"aria-label": r
|
|
3590
|
+
"aria-label": i(r)(`penalties.${n.value.penaltyCause}`)
|
|
3591
3591
|
}, se(g, !0)), " PS ", 16, lc)
|
|
3592
3592
|
]),
|
|
3593
3593
|
_: 1
|
|
@@ -3595,7 +3595,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3595
3595
|
]),
|
|
3596
3596
|
s("div", cc, m(e.event.penaltyEnd), 1),
|
|
3597
3597
|
s("div", dc, [
|
|
3598
|
-
e.event.jerseyNumber === null ? (c(), u("span", gc, m(r
|
|
3598
|
+
e.event.jerseyNumber === null ? (c(), u("span", gc, m(i(r)("events.teamPenalty")), 1)) : (c(), u(k, { key: 1 }, [
|
|
3599
3599
|
s("span", mc, m(e.event.jerseyNumber), 1),
|
|
3600
3600
|
w(" " + m(e.event.lastName) + " " + m(e.event.firstName), 1)
|
|
3601
3601
|
], 64))
|
|
@@ -3616,7 +3616,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3616
3616
|
},
|
|
3617
3617
|
setup(e) {
|
|
3618
3618
|
const { t } = L();
|
|
3619
|
-
return (a,
|
|
3619
|
+
return (a, r) => (c(), u(k, null, [
|
|
3620
3620
|
s("div", vc, m(e.event.eventTime), 1),
|
|
3621
3621
|
s("div", pc, [
|
|
3622
3622
|
(c(), x(_e, {
|
|
@@ -3627,7 +3627,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3627
3627
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3628
3628
|
]),
|
|
3629
3629
|
s("div", bc, [
|
|
3630
|
-
b(
|
|
3630
|
+
b(i(Te), { class: "is-goal-so-icon" })
|
|
3631
3631
|
]),
|
|
3632
3632
|
s("div", {
|
|
3633
3633
|
class: q(["is-score-so", [{ "is-score-so-goal": e.event.goal }]])
|
|
@@ -3637,13 +3637,13 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3637
3637
|
class: q(["is-badge is-large", [{ "is-green": e.event.goal }]])
|
|
3638
3638
|
}, [
|
|
3639
3639
|
e.event.goal ? (c(), u(k, { key: 0 }, [
|
|
3640
|
-
w(m(
|
|
3640
|
+
w(m(i(t)("events.score")), 1)
|
|
3641
3641
|
], 64)) : (c(), u(k, { key: 1 }, [
|
|
3642
|
-
w(m(
|
|
3642
|
+
w(m(i(t)("events.missed")), 1)
|
|
3643
3643
|
], 64))
|
|
3644
3644
|
], 2)
|
|
3645
3645
|
]),
|
|
3646
|
-
|
|
3646
|
+
r[0] || (r[0] = s("div", null, null, -1)),
|
|
3647
3647
|
s("div", fc, [
|
|
3648
3648
|
s("span", hc, m(e.event.jerseyNumber), 1),
|
|
3649
3649
|
w(" " + m(e.event.lastName) + " " + m(e.event.firstName), 1)
|
|
@@ -3664,7 +3664,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3664
3664
|
},
|
|
3665
3665
|
setup(e) {
|
|
3666
3666
|
const { t } = L();
|
|
3667
|
-
return (a,
|
|
3667
|
+
return (a, r) => (c(), u(k, null, [
|
|
3668
3668
|
s("div", wc, m(e.event.eventTime), 1),
|
|
3669
3669
|
s("div", kc, [
|
|
3670
3670
|
(c(), x(_e, {
|
|
@@ -3675,12 +3675,12 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3675
3675
|
}, null, 8, ["name", "logo", "is-home-team"]))
|
|
3676
3676
|
]),
|
|
3677
3677
|
s("div", xc, [
|
|
3678
|
-
b(
|
|
3678
|
+
b(i(Pt), { class: "is-timer-icon" })
|
|
3679
3679
|
]),
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
s("div", null, m(
|
|
3680
|
+
r[0] || (r[0] = s("div", null, null, -1)),
|
|
3681
|
+
r[1] || (r[1] = s("div", null, null, -1)),
|
|
3682
|
+
r[2] || (r[2] = s("div", null, null, -1)),
|
|
3683
|
+
s("div", null, m(i(t)("events.timeout")), 1)
|
|
3684
3684
|
], 64));
|
|
3685
3685
|
}
|
|
3686
3686
|
}, Sc = {
|
|
@@ -3696,8 +3696,8 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3696
3696
|
}
|
|
3697
3697
|
},
|
|
3698
3698
|
setup(e) {
|
|
3699
|
-
const t = e, a = (/* @__PURE__ */ new Map()).set("Gól", Wl).set("Kiállítás", uc).set("Kapus", tc).set("Idő", Tc).set("Büntető", yc),
|
|
3700
|
-
return (o, l) => (c(), x(Zt(
|
|
3699
|
+
const t = e, a = (/* @__PURE__ */ new Map()).set("Gól", Wl).set("Kiállítás", uc).set("Kapus", tc).set("Idő", Tc).set("Büntető", yc), r = f(() => a.get(t.event.type)), n = f(() => t.event.team?.id === t.homeTeamId);
|
|
3700
|
+
return (o, l) => (c(), x(Zt(r.value), {
|
|
3701
3701
|
event: e.event,
|
|
3702
3702
|
"is-home-team": n.value
|
|
3703
3703
|
}, null, 8, ["event", "is-home-team"]));
|
|
@@ -3718,11 +3718,11 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3718
3718
|
}
|
|
3719
3719
|
},
|
|
3720
3720
|
setup(e) {
|
|
3721
|
-
const t = e, { t: a } = L(),
|
|
3721
|
+
const t = e, { t: a } = L(), r = f(() => sn(t.gameData, t.gameEvents));
|
|
3722
3722
|
return (n, o) => (c(), u("div", zc, [
|
|
3723
|
-
(c(!0), u(k, null, E(
|
|
3724
|
-
s("div", _c, m(
|
|
3725
|
-
l.length === 0 ? (c(), u("div", Pc, m(
|
|
3723
|
+
(c(!0), u(k, null, E(r.value, (l, d) => (c(), u(k, { key: d }, [
|
|
3724
|
+
s("div", _c, m(i(a)(`periods.${i(_t)(d)}`)), 1),
|
|
3725
|
+
l.length === 0 ? (c(), u("div", Pc, m(i(a)("events.noEventsInPeriod")), 1)) : h("", !0),
|
|
3726
3726
|
(c(!0), u(k, null, E(l, (g) => (c(), u("div", {
|
|
3727
3727
|
key: g.id,
|
|
3728
3728
|
class: "gamecenter-game-event"
|
|
@@ -3759,13 +3759,13 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3759
3759
|
}
|
|
3760
3760
|
},
|
|
3761
3761
|
setup(e) {
|
|
3762
|
-
const t = e, a = Ta([wa(me("startingFive"))]), { columns:
|
|
3762
|
+
const t = e, a = Ta([wa(me("startingFive"))]), { columns: r } = ue(Pa), n = f(() => a(t.data?.[t.homeTeamId] ?? [])), o = f(() => a(t.data?.[t.awayTeamId] ?? []));
|
|
3763
3763
|
return (l, d) => (c(), u("div", jc, [
|
|
3764
3764
|
b(Ge, { rows: n.value }, {
|
|
3765
3765
|
default: T(({ rows: g }) => [
|
|
3766
3766
|
b(V, {
|
|
3767
3767
|
class: "gamecenter-data-table",
|
|
3768
|
-
columns: r
|
|
3768
|
+
columns: i(r),
|
|
3769
3769
|
rows: g,
|
|
3770
3770
|
title: e.homeTeamName
|
|
3771
3771
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -3776,7 +3776,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3776
3776
|
default: T(({ rows: g }) => [
|
|
3777
3777
|
b(V, {
|
|
3778
3778
|
class: "gamecenter-data-table",
|
|
3779
|
-
columns: r
|
|
3779
|
+
columns: i(r),
|
|
3780
3780
|
rows: g,
|
|
3781
3781
|
title: e.awayTeamName
|
|
3782
3782
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -3823,7 +3823,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3823
3823
|
}
|
|
3824
3824
|
},
|
|
3825
3825
|
setup(e) {
|
|
3826
|
-
const t = e, { gameData: a } = dt(t), { t:
|
|
3826
|
+
const t = e, { gameData: a } = dt(t), { t: r } = L(), n = f(() => a.value?.attendance ?? 0), o = f(
|
|
3827
3827
|
() => de(
|
|
3828
3828
|
Bt(", "),
|
|
3829
3829
|
X((d) => `${d.lastName} ${d.firstName}`),
|
|
@@ -3839,19 +3839,19 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3839
3839
|
t.gameOfficials?.gameOfficials?.second_line_judge
|
|
3840
3840
|
])
|
|
3841
3841
|
);
|
|
3842
|
-
return (d, g) => !
|
|
3842
|
+
return (d, g) => !i(I)(o.value) || !i(I)(l.value) ? (c(), u("div", Ic, [
|
|
3843
3843
|
s("div", Ac, [
|
|
3844
3844
|
b(Y, {
|
|
3845
|
-
title: r
|
|
3845
|
+
title: i(r)("gameStats.referees"),
|
|
3846
3846
|
data: o.value
|
|
3847
3847
|
}, null, 8, ["title", "data"]),
|
|
3848
3848
|
b(Y, {
|
|
3849
|
-
title: r
|
|
3849
|
+
title: i(r)("gameStats.linesmen"),
|
|
3850
3850
|
data: l.value
|
|
3851
3851
|
}, null, 8, ["title", "data"]),
|
|
3852
|
-
|
|
3852
|
+
i(a).attendance ? (c(), x(Y, {
|
|
3853
3853
|
key: 0,
|
|
3854
|
-
title: r
|
|
3854
|
+
title: i(r)("gameStats.attendance"),
|
|
3855
3855
|
data: n.value
|
|
3856
3856
|
}, null, 8, ["title", "data"])) : h("", !0)
|
|
3857
3857
|
])
|
|
@@ -3880,13 +3880,13 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3880
3880
|
}
|
|
3881
3881
|
},
|
|
3882
3882
|
setup(e) {
|
|
3883
|
-
const t = e, { columns: a } = ue(_a),
|
|
3883
|
+
const t = e, { columns: a } = ue(_a), r = f(() => Me(t.data?.[t.homeTeamId] ?? [])), n = f(() => Me(t.data?.[t.awayTeamId] ?? []));
|
|
3884
3884
|
return (o, l) => (c(), u("div", Lc, [
|
|
3885
|
-
b(Be, { rows:
|
|
3885
|
+
b(Be, { rows: r.value }, {
|
|
3886
3886
|
default: T(({ rows: d, sort: g, onSort: v }) => [
|
|
3887
3887
|
b(V, {
|
|
3888
3888
|
class: "gamecenter-data-table",
|
|
3889
|
-
columns:
|
|
3889
|
+
columns: i(a),
|
|
3890
3890
|
rows: d,
|
|
3891
3891
|
title: e.homeTeamName,
|
|
3892
3892
|
sort: g,
|
|
@@ -3899,7 +3899,7 @@ const xs = { render: ks }, Ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
|
|
|
3899
3899
|
default: T(({ rows: d, sort: g, onSort: v }) => [
|
|
3900
3900
|
b(V, {
|
|
3901
3901
|
class: "gamecenter-data-table",
|
|
3902
|
-
columns:
|
|
3902
|
+
columns: i(a),
|
|
3903
3903
|
rows: d,
|
|
3904
3904
|
title: e.awayTeamName,
|
|
3905
3905
|
sort: g,
|
|
@@ -3951,19 +3951,19 @@ const Bc = { render: Gc }, Hc = { class: "gamecenter-game-stats" }, Rc = { class
|
|
|
3951
3951
|
}
|
|
3952
3952
|
},
|
|
3953
3953
|
setup(e) {
|
|
3954
|
-
const t = e, { t: a } = L(),
|
|
3955
|
-
() => Ht(t.gameStats?.teamSOG ?? [], n.value,
|
|
3954
|
+
const t = e, { t: a } = L(), r = f(() => t.gameData?.homeTeam?.id ?? ""), n = f(() => t.gameData?.awayTeam?.id ?? ""), o = f(
|
|
3955
|
+
() => Ht(t.gameStats?.teamSOG ?? [], n.value, r.value, "shots")
|
|
3956
3956
|
), l = f(
|
|
3957
3957
|
() => ln(
|
|
3958
3958
|
t.gameStats?.teamSOG ?? [],
|
|
3959
|
-
|
|
3959
|
+
r.value,
|
|
3960
3960
|
n.value,
|
|
3961
3961
|
"saves"
|
|
3962
3962
|
)
|
|
3963
3963
|
), d = f(
|
|
3964
3964
|
() => Ht(
|
|
3965
3965
|
t.gameStats?.teamPenalties ?? [],
|
|
3966
|
-
|
|
3966
|
+
r.value,
|
|
3967
3967
|
n.value,
|
|
3968
3968
|
"penaltyLength"
|
|
3969
3969
|
)
|
|
@@ -3971,31 +3971,31 @@ const Bc = { render: Gc }, Hc = { class: "gamecenter-game-stats" }, Rc = { class
|
|
|
3971
3971
|
return (S, y) => (c(), u("div", Hc, [
|
|
3972
3972
|
s("div", Rc, [
|
|
3973
3973
|
b(Y, {
|
|
3974
|
-
title:
|
|
3974
|
+
title: i(a)("teamsStats.sog"),
|
|
3975
3975
|
data: o.value
|
|
3976
3976
|
}, null, 8, ["title", "data"]),
|
|
3977
3977
|
b(Y, {
|
|
3978
|
-
title:
|
|
3978
|
+
title: i(a)("teamsStats.saves"),
|
|
3979
3979
|
data: l.value
|
|
3980
3980
|
}, null, 8, ["title", "data"]),
|
|
3981
3981
|
b(Y, {
|
|
3982
|
-
title:
|
|
3982
|
+
title: i(a)("teamsStats.pim"),
|
|
3983
3983
|
data: d.value
|
|
3984
3984
|
}, null, 8, ["title", "data"]),
|
|
3985
3985
|
b(Y, {
|
|
3986
|
-
title:
|
|
3986
|
+
title: i(a)("teamsStats.advPercent"),
|
|
3987
3987
|
data: v.value
|
|
3988
3988
|
}, null, 8, ["title", "data"]),
|
|
3989
3989
|
b(Y, {
|
|
3990
|
-
title:
|
|
3990
|
+
title: i(a)("teamsStats.penaltyKilling"),
|
|
3991
3991
|
data: p.value
|
|
3992
3992
|
}, null, 8, ["title", "data"]),
|
|
3993
3993
|
b(Y, {
|
|
3994
3994
|
data: g.value.advTime
|
|
3995
3995
|
}, {
|
|
3996
3996
|
default: T(() => [
|
|
3997
|
-
w(m(
|
|
3998
|
-
b(
|
|
3997
|
+
w(m(i(a)("teamsStats.advantageTime")) + " ", 1),
|
|
3998
|
+
b(i(Z), {
|
|
3999
3999
|
offset: 2,
|
|
4000
4000
|
placement: "top",
|
|
4001
4001
|
theme: "content",
|
|
@@ -4008,17 +4008,17 @@ const Bc = { render: Gc }, Hc = { class: "gamecenter-game-stats" }, Rc = { class
|
|
|
4008
4008
|
onFocus: P,
|
|
4009
4009
|
onBlur: N
|
|
4010
4010
|
}, [
|
|
4011
|
-
b(
|
|
4011
|
+
b(i(Bc))
|
|
4012
4012
|
], 40, Fc)
|
|
4013
4013
|
]),
|
|
4014
4014
|
content: T(() => [
|
|
4015
4015
|
s("div", Kc, [
|
|
4016
4016
|
b(Y, {
|
|
4017
|
-
title:
|
|
4017
|
+
title: i(a)("teamsStats.advantageTimePP1"),
|
|
4018
4018
|
data: g.value.advTimePP1
|
|
4019
4019
|
}, null, 8, ["title", "data"]),
|
|
4020
4020
|
b(Y, {
|
|
4021
|
-
title:
|
|
4021
|
+
title: i(a)("teamsStats.advantageTimePP2"),
|
|
4022
4022
|
data: g.value.advTimePP2
|
|
4023
4023
|
}, null, 8, ["title", "data"])
|
|
4024
4024
|
])
|
|
@@ -4049,17 +4049,17 @@ const Bc = { render: Gc }, Hc = { class: "gamecenter-game-stats" }, Rc = { class
|
|
|
4049
4049
|
}
|
|
4050
4050
|
},
|
|
4051
4051
|
setup(e) {
|
|
4052
|
-
const t = e, { columns: a } = ue($a), { t:
|
|
4052
|
+
const t = e, { columns: a } = ue($a), { t: r } = L(), n = f(() => De(t.gameOfficials?.gameTeamMembers?.home ?? [], r)), o = f(() => De(t.gameOfficials?.gameTeamMembers?.away ?? [], r));
|
|
4053
4053
|
return (l, d) => (c(), u("div", Uc, [
|
|
4054
4054
|
b(V, {
|
|
4055
4055
|
class: "gamecenter-data-table",
|
|
4056
|
-
columns:
|
|
4056
|
+
columns: i(a),
|
|
4057
4057
|
rows: n.value,
|
|
4058
4058
|
title: e.homeTeamName
|
|
4059
4059
|
}, null, 8, ["columns", "rows", "title"]),
|
|
4060
4060
|
b(V, {
|
|
4061
4061
|
class: "gamecenter-data-table",
|
|
4062
|
-
columns:
|
|
4062
|
+
columns: i(a),
|
|
4063
4063
|
rows: o.value,
|
|
4064
4064
|
title: e.awayTeamName
|
|
4065
4065
|
}, null, 8, ["columns", "rows", "title"])
|
|
@@ -4082,7 +4082,7 @@ const Bc = { render: Gc }, Hc = { class: "gamecenter-game-stats" }, Rc = { class
|
|
|
4082
4082
|
}
|
|
4083
4083
|
},
|
|
4084
4084
|
setup(e) {
|
|
4085
|
-
const t = e, a = { en: Sa, hu: za },
|
|
4085
|
+
const t = e, a = { en: Sa, hu: za }, r = vt("history"), { errors: n, add: o, remove: l } = Na(), d = f(() => r.gameId || r.gameid || r["game-id"] || t.gameId), { state: g, execute: v } = ie({
|
|
4086
4086
|
options: {
|
|
4087
4087
|
path: "/v2/game-data",
|
|
4088
4088
|
apiKey: t.apiKey,
|
|
@@ -4122,58 +4122,58 @@ const Bc = { render: Gc }, Hc = { class: "gamecenter-game-stats" }, Rc = { class
|
|
|
4122
4122
|
});
|
|
4123
4123
|
const $ = ra(t.apiKey), G = f(() => et(`/v2/game-attendance?gameid=${d.value}&apiKey=${$}`));
|
|
4124
4124
|
return (C, W) => (c(), u("div", Xc, [
|
|
4125
|
-
b(
|
|
4125
|
+
b(i(ea), {
|
|
4126
4126
|
locale: t.locale,
|
|
4127
4127
|
messages: a
|
|
4128
4128
|
}, {
|
|
4129
4129
|
default: T(() => [
|
|
4130
|
-
(c(!0), u(k, null, E(
|
|
4130
|
+
(c(!0), u(k, null, E(i(n), (j) => (c(), x(i(ta), {
|
|
4131
4131
|
key: j.key,
|
|
4132
4132
|
error: j
|
|
4133
4133
|
}, null, 8, ["error"]))), 128)),
|
|
4134
|
-
|
|
4134
|
+
i(I)(i(g)) ? h("", !0) : (c(), x(Il, {
|
|
4135
4135
|
key: 0,
|
|
4136
|
-
"game-data":
|
|
4136
|
+
"game-data": i(g),
|
|
4137
4137
|
locale: t.locale,
|
|
4138
4138
|
"websocket-url": G.value
|
|
4139
4139
|
}, null, 8, ["game-data", "locale", "websocket-url"])),
|
|
4140
|
-
|
|
4140
|
+
i(ai)(i(g)) ? (c(), x(Mc, {
|
|
4141
4141
|
key: 1,
|
|
4142
|
-
"game-data":
|
|
4143
|
-
"game-officials":
|
|
4142
|
+
"game-data": i(g),
|
|
4143
|
+
"game-officials": i(P)
|
|
4144
4144
|
}, null, 8, ["game-data", "game-officials"])) : h("", !0),
|
|
4145
|
-
|
|
4146
|
-
|
|
4145
|
+
i(g)?.gameStatus > 0 ? (c(), u(k, { key: 2 }, [
|
|
4146
|
+
i(I)(i(y)) ? h("", !0) : (c(), x(Vc, {
|
|
4147
4147
|
key: 0,
|
|
4148
|
-
"game-data":
|
|
4149
|
-
"game-stats":
|
|
4148
|
+
"game-data": i(g),
|
|
4149
|
+
"game-stats": i(y)
|
|
4150
4150
|
}, null, 8, ["game-data", "game-stats"])),
|
|
4151
|
-
!
|
|
4151
|
+
!i(I)(i(p)) && !i(I)(i(g)) ? (c(), x($c, {
|
|
4152
4152
|
key: 1,
|
|
4153
|
-
"game-events":
|
|
4154
|
-
"game-data":
|
|
4153
|
+
"game-events": i(p),
|
|
4154
|
+
"game-data": i(g)
|
|
4155
4155
|
}, null, 8, ["game-events", "game-data"])) : h("", !0),
|
|
4156
|
-
|
|
4156
|
+
i(I)(i(y)) ? h("", !0) : (c(), x(Cc, {
|
|
4157
4157
|
key: 2,
|
|
4158
|
-
data:
|
|
4159
|
-
"home-team-id":
|
|
4160
|
-
"home-team-name":
|
|
4161
|
-
"away-team-id":
|
|
4162
|
-
"away-team-name":
|
|
4158
|
+
data: i(y).players,
|
|
4159
|
+
"home-team-id": i(g).homeTeam.id,
|
|
4160
|
+
"home-team-name": i(g).homeTeam.longName,
|
|
4161
|
+
"away-team-id": i(g).awayTeam.id,
|
|
4162
|
+
"away-team-name": i(g).awayTeam.longName
|
|
4163
4163
|
}, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])),
|
|
4164
|
-
|
|
4164
|
+
i(I)(i(y)) ? h("", !0) : (c(), x(Ec, {
|
|
4165
4165
|
key: 3,
|
|
4166
|
-
data:
|
|
4167
|
-
"home-team-id":
|
|
4168
|
-
"home-team-name":
|
|
4169
|
-
"away-team-id":
|
|
4170
|
-
"away-team-name":
|
|
4166
|
+
data: i(y).goalies,
|
|
4167
|
+
"home-team-id": i(g).homeTeam.id,
|
|
4168
|
+
"home-team-name": i(g).homeTeam.longName,
|
|
4169
|
+
"away-team-id": i(g).awayTeam.id,
|
|
4170
|
+
"away-team-name": i(g).awayTeam.longName
|
|
4171
4171
|
}, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])),
|
|
4172
|
-
!
|
|
4172
|
+
!i(I)(i(P)) && !i(I)(i(g)) ? (c(), x(qc, {
|
|
4173
4173
|
key: 4,
|
|
4174
|
-
"game-officials":
|
|
4175
|
-
"home-team-name":
|
|
4176
|
-
"away-team-name":
|
|
4174
|
+
"game-officials": i(P),
|
|
4175
|
+
"home-team-name": i(g).homeTeam.longName,
|
|
4176
|
+
"away-team-name": i(g).awayTeam.longName
|
|
4177
4177
|
}, null, 8, ["game-officials", "home-team-name", "away-team-name"])) : h("", !0)
|
|
4178
4178
|
], 64)) : h("", !0)
|
|
4179
4179
|
]),
|