@golstats/gsc-timeline-reports 1.0.11 → 1.0.12
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.
|
@@ -177,7 +177,7 @@ const An = (e) => {
|
|
|
177
177
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
178
178
|
typeof setImmediate == "function",
|
|
179
179
|
D(ee.postMessage)
|
|
180
|
-
),
|
|
180
|
+
), Pn = typeof queueMicrotask < "u" ? queueMicrotask.bind(ee) : typeof process < "u" && process.nextTick || St, Nn = (e) => e != null && D(e[Te]), u = {
|
|
181
181
|
isArray: re,
|
|
182
182
|
isArrayBuffer: wt,
|
|
183
183
|
isBuffer: he,
|
|
@@ -234,8 +234,8 @@ const An = (e) => {
|
|
|
234
234
|
isAsyncFn: Cn,
|
|
235
235
|
isThenable: In,
|
|
236
236
|
setImmediate: St,
|
|
237
|
-
asap:
|
|
238
|
-
isIterable:
|
|
237
|
+
asap: Pn,
|
|
238
|
+
isIterable: Nn
|
|
239
239
|
};
|
|
240
240
|
function E(e, t, n, s, i) {
|
|
241
241
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), s && (this.request = s), i && (this.response = i, this.status = i.status ? i.status : null);
|
|
@@ -318,22 +318,22 @@ function Ae(e, t, n) {
|
|
|
318
318
|
const s = n.metaTokens, i = n.visitor || d, r = n.dots, o = n.indexes, v = (n.Blob || typeof Blob < "u" && Blob) && u.isSpecCompliantForm(t);
|
|
319
319
|
if (!u.isFunction(i))
|
|
320
320
|
throw new TypeError("visitor must be a function");
|
|
321
|
-
function f(
|
|
322
|
-
if (
|
|
323
|
-
if (u.isDate(
|
|
324
|
-
return
|
|
325
|
-
if (u.isBoolean(
|
|
326
|
-
return
|
|
327
|
-
if (!v && u.isBlob(
|
|
321
|
+
function f(m) {
|
|
322
|
+
if (m === null) return "";
|
|
323
|
+
if (u.isDate(m))
|
|
324
|
+
return m.toISOString();
|
|
325
|
+
if (u.isBoolean(m))
|
|
326
|
+
return m.toString();
|
|
327
|
+
if (!v && u.isBlob(m))
|
|
328
328
|
throw new E("Blob is not supported. Use a Buffer instead.");
|
|
329
|
-
return u.isArrayBuffer(
|
|
329
|
+
return u.isArrayBuffer(m) || u.isTypedArray(m) ? v && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
|
|
330
330
|
}
|
|
331
|
-
function d(
|
|
332
|
-
let R =
|
|
333
|
-
if (
|
|
331
|
+
function d(m, _, b) {
|
|
332
|
+
let R = m;
|
|
333
|
+
if (m && !b && typeof m == "object") {
|
|
334
334
|
if (u.endsWith(_, "{}"))
|
|
335
|
-
_ = s ? _ : _.slice(0, -2),
|
|
336
|
-
else if (u.isArray(
|
|
335
|
+
_ = s ? _ : _.slice(0, -2), m = JSON.stringify(m);
|
|
336
|
+
else if (u.isArray(m) && kn(m) || (u.isFileList(m) || u.endsWith(_, "[]")) && (R = u.toArray(m)))
|
|
337
337
|
return _ = Ot(_), R.forEach(function(T, j) {
|
|
338
338
|
!(u.isUndefined(T) || T === null) && t.append(
|
|
339
339
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -342,31 +342,31 @@ function Ae(e, t, n) {
|
|
|
342
342
|
);
|
|
343
343
|
}), !1;
|
|
344
344
|
}
|
|
345
|
-
return We(
|
|
345
|
+
return We(m) ? !0 : (t.append(st(b, _, r), f(m)), !1);
|
|
346
346
|
}
|
|
347
347
|
const w = [], h = Object.assign(Bn, {
|
|
348
348
|
defaultVisitor: d,
|
|
349
349
|
convertValue: f,
|
|
350
350
|
isVisitable: We
|
|
351
351
|
});
|
|
352
|
-
function
|
|
353
|
-
if (!u.isUndefined(
|
|
354
|
-
if (w.indexOf(
|
|
352
|
+
function P(m, _) {
|
|
353
|
+
if (!u.isUndefined(m)) {
|
|
354
|
+
if (w.indexOf(m) !== -1)
|
|
355
355
|
throw Error("Circular reference detected in " + _.join("."));
|
|
356
|
-
w.push(
|
|
356
|
+
w.push(m), u.forEach(m, function(R, M) {
|
|
357
357
|
(!(u.isUndefined(R) || R === null) && i.call(
|
|
358
358
|
t,
|
|
359
359
|
R,
|
|
360
360
|
u.isString(M) ? M.trim() : M,
|
|
361
361
|
_,
|
|
362
362
|
h
|
|
363
|
-
)) === !0 &&
|
|
363
|
+
)) === !0 && P(R, _ ? _.concat(M) : [M]);
|
|
364
364
|
}), w.pop();
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
if (!u.isObject(e))
|
|
368
368
|
throw new TypeError("data must be an object");
|
|
369
|
-
return
|
|
369
|
+
return P(e), t;
|
|
370
370
|
}
|
|
371
371
|
function it(e) {
|
|
372
372
|
const t = {
|
|
@@ -815,7 +815,7 @@ function He(e, t) {
|
|
|
815
815
|
r = c.call(n, r, i.normalize(), t ? t.status : void 0);
|
|
816
816
|
}), i.normalize(), r;
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function Pt(e) {
|
|
819
819
|
return !!(e && e.__CANCEL__);
|
|
820
820
|
}
|
|
821
821
|
function oe(e, t, n) {
|
|
@@ -824,7 +824,7 @@ function oe(e, t, n) {
|
|
|
824
824
|
u.inherits(oe, E, {
|
|
825
825
|
__CANCEL__: !0
|
|
826
826
|
});
|
|
827
|
-
function
|
|
827
|
+
function Nt(e, t, n) {
|
|
828
828
|
const s = n.config.validateStatus;
|
|
829
829
|
!n.status || !s || s(n.status) ? e(n) : t(new E(
|
|
830
830
|
"Request failed with status code " + n.status,
|
|
@@ -850,8 +850,8 @@ function ss(e, t) {
|
|
|
850
850
|
h += n[w++], w = w % e;
|
|
851
851
|
if (i = (i + 1) % e, i === r && (r = (r + 1) % e), f - o < t)
|
|
852
852
|
return;
|
|
853
|
-
const
|
|
854
|
-
return
|
|
853
|
+
const P = d && f - d;
|
|
854
|
+
return P ? Math.round(h * 1e3 / P) : void 0;
|
|
855
855
|
};
|
|
856
856
|
}
|
|
857
857
|
function is(e, t) {
|
|
@@ -1023,9 +1023,9 @@ const kt = (e) => {
|
|
|
1023
1023
|
const i = kt(e);
|
|
1024
1024
|
let r = i.data;
|
|
1025
1025
|
const o = U.from(i.headers).normalize();
|
|
1026
|
-
let { responseType: c, onUploadProgress: v, onDownloadProgress: f } = i, d, w, h,
|
|
1026
|
+
let { responseType: c, onUploadProgress: v, onDownloadProgress: f } = i, d, w, h, P, m;
|
|
1027
1027
|
function _() {
|
|
1028
|
-
|
|
1028
|
+
P && P(), m && m(), i.cancelToken && i.cancelToken.unsubscribe(d), i.signal && i.signal.removeEventListener("abort", d);
|
|
1029
1029
|
}
|
|
1030
1030
|
let b = new XMLHttpRequest();
|
|
1031
1031
|
b.open(i.method.toUpperCase(), i.url, !0), b.timeout = i.timeout;
|
|
@@ -1042,7 +1042,7 @@ const kt = (e) => {
|
|
|
1042
1042
|
config: e,
|
|
1043
1043
|
request: b
|
|
1044
1044
|
};
|
|
1045
|
-
|
|
1045
|
+
Nt(function(Z) {
|
|
1046
1046
|
n(Z), _();
|
|
1047
1047
|
}, function(Z) {
|
|
1048
1048
|
s(Z), _();
|
|
@@ -1065,7 +1065,7 @@ const kt = (e) => {
|
|
|
1065
1065
|
)), b = null;
|
|
1066
1066
|
}, r === void 0 && o.setContentType(null), "setRequestHeader" in b && u.forEach(o.toJSON(), function(j, L) {
|
|
1067
1067
|
b.setRequestHeader(L, j);
|
|
1068
|
-
}), u.isUndefined(i.withCredentials) || (b.withCredentials = !!i.withCredentials), c && c !== "json" && (b.responseType = i.responseType), f && ([h,
|
|
1068
|
+
}), u.isUndefined(i.withCredentials) || (b.withCredentials = !!i.withCredentials), c && c !== "json" && (b.responseType = i.responseType), f && ([h, m] = Se(f, !0), b.addEventListener("progress", h)), v && b.upload && ([w, P] = Se(v), b.upload.addEventListener("progress", w), b.upload.addEventListener("loadend", P)), (i.cancelToken || i.signal) && (d = (T) => {
|
|
1069
1069
|
b && (s(!T || T.type ? new oe(null, e, b) : T), b.abort(), b = null);
|
|
1070
1070
|
}, i.cancelToken && i.cancelToken.subscribe(d), i.signal && (i.signal.aborted ? d() : i.signal.addEventListener("abort", d)));
|
|
1071
1071
|
const M = ns(i.url);
|
|
@@ -1214,9 +1214,9 @@ const ys = async (e) => {
|
|
|
1214
1214
|
fetchOptions: h
|
|
1215
1215
|
} = kt(e);
|
|
1216
1216
|
f = f ? (f + "").toLowerCase() : "text";
|
|
1217
|
-
let
|
|
1218
|
-
const _ =
|
|
1219
|
-
|
|
1217
|
+
let P = fs([i, r && r.toAbortSignal()], o), m;
|
|
1218
|
+
const _ = P && P.unsubscribe && (() => {
|
|
1219
|
+
P.unsubscribe();
|
|
1220
1220
|
});
|
|
1221
1221
|
let b;
|
|
1222
1222
|
try {
|
|
@@ -1236,16 +1236,16 @@ const ys = async (e) => {
|
|
|
1236
1236
|
}
|
|
1237
1237
|
u.isString(w) || (w = w ? "include" : "omit");
|
|
1238
1238
|
const R = "credentials" in Request.prototype;
|
|
1239
|
-
|
|
1239
|
+
m = new Request(t, {
|
|
1240
1240
|
...h,
|
|
1241
|
-
signal:
|
|
1241
|
+
signal: P,
|
|
1242
1242
|
method: n.toUpperCase(),
|
|
1243
1243
|
headers: d.normalize().toJSON(),
|
|
1244
1244
|
body: s,
|
|
1245
1245
|
duplex: "half",
|
|
1246
1246
|
credentials: R ? w : void 0
|
|
1247
1247
|
});
|
|
1248
|
-
let M = await fetch(
|
|
1248
|
+
let M = await fetch(m, h);
|
|
1249
1249
|
const T = Ze && (f === "stream" || f === "response");
|
|
1250
1250
|
if (Ze && (c || T && _)) {
|
|
1251
1251
|
const L = {};
|
|
@@ -1266,22 +1266,22 @@ const ys = async (e) => {
|
|
|
1266
1266
|
f = f || "text";
|
|
1267
1267
|
let j = await Re[u.findKey(Re, f) || "text"](M, e);
|
|
1268
1268
|
return !T && _ && _(), await new Promise((L, W) => {
|
|
1269
|
-
|
|
1269
|
+
Nt(L, W, {
|
|
1270
1270
|
data: j,
|
|
1271
1271
|
headers: U.from(M.headers),
|
|
1272
1272
|
status: M.status,
|
|
1273
1273
|
statusText: M.statusText,
|
|
1274
1274
|
config: e,
|
|
1275
|
-
request:
|
|
1275
|
+
request: m
|
|
1276
1276
|
});
|
|
1277
1277
|
});
|
|
1278
1278
|
} catch (R) {
|
|
1279
1279
|
throw _ && _(), R && R.name === "TypeError" && /Load failed|fetch/i.test(R.message) ? Object.assign(
|
|
1280
|
-
new E("Network Error", E.ERR_NETWORK, e,
|
|
1280
|
+
new E("Network Error", E.ERR_NETWORK, e, m),
|
|
1281
1281
|
{
|
|
1282
1282
|
cause: R.cause || R
|
|
1283
1283
|
}
|
|
1284
|
-
) : E.from(R, R && R.code, e,
|
|
1284
|
+
) : E.from(R, R && R.code, e, m);
|
|
1285
1285
|
}
|
|
1286
1286
|
}), $e = {
|
|
1287
1287
|
http: Ln,
|
|
@@ -1343,7 +1343,7 @@ function ht(e) {
|
|
|
1343
1343
|
s
|
|
1344
1344
|
), s.headers = U.from(s.headers), s;
|
|
1345
1345
|
}, function(s) {
|
|
1346
|
-
return
|
|
1346
|
+
return Pt(s) || (je(e), s && s.response && (s.response.data = He.call(
|
|
1347
1347
|
e,
|
|
1348
1348
|
e.transformResponse,
|
|
1349
1349
|
s.response
|
|
@@ -1453,8 +1453,8 @@ let te = class {
|
|
|
1453
1453
|
);
|
|
1454
1454
|
r && u.forEach(
|
|
1455
1455
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1456
|
-
(
|
|
1457
|
-
delete r[
|
|
1456
|
+
(m) => {
|
|
1457
|
+
delete r[m];
|
|
1458
1458
|
}
|
|
1459
1459
|
), n.headers = U.concat(o, r);
|
|
1460
1460
|
const c = [];
|
|
@@ -1468,26 +1468,26 @@ let te = class {
|
|
|
1468
1468
|
});
|
|
1469
1469
|
let d, w = 0, h;
|
|
1470
1470
|
if (!v) {
|
|
1471
|
-
const
|
|
1472
|
-
for (
|
|
1473
|
-
d = d.then(
|
|
1471
|
+
const m = [ht.bind(this), void 0];
|
|
1472
|
+
for (m.unshift(...c), m.push(...f), h = m.length, d = Promise.resolve(n); w < h; )
|
|
1473
|
+
d = d.then(m[w++], m[w++]);
|
|
1474
1474
|
return d;
|
|
1475
1475
|
}
|
|
1476
1476
|
h = c.length;
|
|
1477
|
-
let
|
|
1477
|
+
let P = n;
|
|
1478
1478
|
for (w = 0; w < h; ) {
|
|
1479
|
-
const
|
|
1479
|
+
const m = c[w++], _ = c[w++];
|
|
1480
1480
|
try {
|
|
1481
|
-
|
|
1481
|
+
P = m(P);
|
|
1482
1482
|
} catch (b) {
|
|
1483
1483
|
_.call(this, b);
|
|
1484
1484
|
break;
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
1487
|
try {
|
|
1488
|
-
d = ht.call(this,
|
|
1489
|
-
} catch (
|
|
1490
|
-
return Promise.reject(
|
|
1488
|
+
d = ht.call(this, P);
|
|
1489
|
+
} catch (m) {
|
|
1490
|
+
return Promise.reject(m);
|
|
1491
1491
|
}
|
|
1492
1492
|
for (w = 0, h = f.length; w < h; )
|
|
1493
1493
|
d = d.then(f[w++], f[w++]);
|
|
@@ -1678,26 +1678,26 @@ function jt(e) {
|
|
|
1678
1678
|
return jt(ne(e, i));
|
|
1679
1679
|
}, n;
|
|
1680
1680
|
}
|
|
1681
|
-
const
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1681
|
+
const N = jt(ge);
|
|
1682
|
+
N.Axios = te;
|
|
1683
|
+
N.CanceledError = oe;
|
|
1684
|
+
N.CancelToken = _s;
|
|
1685
|
+
N.isCancel = Pt;
|
|
1686
|
+
N.VERSION = Ut;
|
|
1687
|
+
N.toFormData = Ae;
|
|
1688
|
+
N.AxiosError = E;
|
|
1689
|
+
N.Cancel = N.CanceledError;
|
|
1690
|
+
N.all = function(t) {
|
|
1691
1691
|
return Promise.all(t);
|
|
1692
1692
|
};
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1693
|
+
N.spread = Es;
|
|
1694
|
+
N.isAxiosError = Ss;
|
|
1695
|
+
N.mergeConfig = ne;
|
|
1696
|
+
N.AxiosHeaders = U;
|
|
1697
|
+
N.formToJSON = (e) => It(u.isHTMLForm(e) ? new FormData(e) : e);
|
|
1698
|
+
N.getAdapter = Dt.getAdapter;
|
|
1699
|
+
N.HttpStatusCode = Je;
|
|
1700
|
+
N.default = N;
|
|
1701
1701
|
const {
|
|
1702
1702
|
Axios: Qs,
|
|
1703
1703
|
AxiosError: Ys,
|
|
@@ -1715,15 +1715,15 @@ const {
|
|
|
1715
1715
|
formToJSON: fi,
|
|
1716
1716
|
getAdapter: di,
|
|
1717
1717
|
mergeConfig: hi
|
|
1718
|
-
} =
|
|
1718
|
+
} = N, Rs = (e, t) => {
|
|
1719
1719
|
const n = e.__vccOpts || e;
|
|
1720
1720
|
for (const [s, i] of t)
|
|
1721
1721
|
n[s] = i;
|
|
1722
1722
|
return n;
|
|
1723
|
-
}, Ts = { class: "timeline-container" }, Os = { class: "team-circle team-circle-top" }, Ms = ["src"], As = { class: "team-circle team-circle-bottom" }, Cs = ["src"], Is = { class: "timeline-line" },
|
|
1723
|
+
}, Ts = { class: "timeline-container" }, Os = { class: "team-circle team-circle-top" }, Ms = ["src"], As = { class: "team-circle team-circle-bottom" }, Cs = ["src"], Is = { class: "timeline-line" }, Ps = {
|
|
1724
1724
|
key: 0,
|
|
1725
1725
|
class: "event-icon event-icon-top"
|
|
1726
|
-
},
|
|
1726
|
+
}, Ns = {
|
|
1727
1727
|
key: 0,
|
|
1728
1728
|
width: "24",
|
|
1729
1729
|
height: "24",
|
|
@@ -1857,15 +1857,15 @@ const {
|
|
|
1857
1857
|
},
|
|
1858
1858
|
emits: ["range-change"],
|
|
1859
1859
|
setup(e, { emit: t }) {
|
|
1860
|
-
const n = O(0), s = O(96), i = O("1"), r = O("2"), o = O(0), c = O(45), v = O(96), f = O(0), d = O(0), w = O("0px"), h = O([]),
|
|
1860
|
+
const n = O(0), s = O(96), i = O("1"), r = O("2"), o = O(0), c = O(45), v = O(96), f = O(0), d = O(0), w = O("0px"), h = O([]), P = t, m = e, _ = N.create({
|
|
1861
1861
|
headers: {
|
|
1862
|
-
Authorization: `${
|
|
1862
|
+
Authorization: `${m.token}`
|
|
1863
1863
|
}
|
|
1864
1864
|
}), b = O([]);
|
|
1865
1865
|
let R = null;
|
|
1866
1866
|
const M = O(null), T = O(!1), j = O(0), L = O(0), W = O(!1), Z = O(!1);
|
|
1867
1867
|
let J = !1, se = 0;
|
|
1868
|
-
const
|
|
1868
|
+
const Pe = O(0), $ = O(!1), ye = O(!1), K = O(96), Ne = O(null), qt = [
|
|
1869
1869
|
// Primer tiempo (0-45)
|
|
1870
1870
|
{
|
|
1871
1871
|
minute: 5,
|
|
@@ -2079,9 +2079,9 @@ const {
|
|
|
2079
2079
|
}
|
|
2080
2080
|
];
|
|
2081
2081
|
function ae() {
|
|
2082
|
-
if (
|
|
2083
|
-
const l =
|
|
2084
|
-
W.value = y &&
|
|
2082
|
+
if (Ne.value) {
|
|
2083
|
+
const l = Ne.value, a = l.scrollWidth - l.clientWidth, p = l.scrollLeft, y = l.scrollWidth > l.clientWidth;
|
|
2084
|
+
W.value = y && p > 0, Z.value = y && Math.ceil(p) < Math.floor(a);
|
|
2085
2085
|
}
|
|
2086
2086
|
}
|
|
2087
2087
|
function Ge() {
|
|
@@ -2099,13 +2099,13 @@ const {
|
|
|
2099
2099
|
}
|
|
2100
2100
|
}
|
|
2101
2101
|
async function zt() {
|
|
2102
|
-
if (
|
|
2102
|
+
if (m.isDefault) {
|
|
2103
2103
|
const l = qt.map((a) => {
|
|
2104
2104
|
if (!a.event) return a;
|
|
2105
|
-
const
|
|
2105
|
+
const p = a.event.filter((y) => !(y.icon === "icon-goal" && !m.goals || y.icon === "icon-yellow-card" && !m.yellowCards || y.icon === "icon-red-card" && !m.redCards || y.icon === "icon-change" && !m.substitutions));
|
|
2106
2106
|
return {
|
|
2107
2107
|
...a,
|
|
2108
|
-
event:
|
|
2108
|
+
event: p.length > 0 ? p : null
|
|
2109
2109
|
};
|
|
2110
2110
|
}).filter((a) => a.event !== null);
|
|
2111
2111
|
h.value = l, b.value = l.map((a) => a.event), l.length > 0 && (n.value = l[0].minute, s.value = l[l.length - 1].minute, i.value = l[0].match_lapse.toString(), r.value = l[l.length - 1].match_lapse.toString(), f.value = 0, d.value = l.length - 1, v.value = l[l.length - 1].minute, K.value = l[l.length - 1].minute, ue());
|
|
@@ -2114,29 +2114,29 @@ const {
|
|
|
2114
2114
|
try {
|
|
2115
2115
|
console.log(
|
|
2116
2116
|
"///////////////////////////////////////////////// Componente de timeline: ",
|
|
2117
|
-
|
|
2117
|
+
m.token
|
|
2118
2118
|
);
|
|
2119
2119
|
const l = await _.get(
|
|
2120
|
-
`https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/${
|
|
2120
|
+
`https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/${m.gameId}`
|
|
2121
2121
|
);
|
|
2122
2122
|
if (l.data && l.data.plays) {
|
|
2123
2123
|
const a = l.data.plays.find(
|
|
2124
2124
|
(y) => {
|
|
2125
|
-
var
|
|
2126
|
-
return y.event_type_id === 6 && ((
|
|
2125
|
+
var g;
|
|
2126
|
+
return y.event_type_id === 6 && ((g = y.comments) == null ? void 0 : g.includes("El árbitro silba el Final del Primer Tiempo"));
|
|
2127
2127
|
}
|
|
2128
2128
|
);
|
|
2129
2129
|
a && (o.value = a.minute);
|
|
2130
|
-
const
|
|
2131
|
-
v.value =
|
|
2130
|
+
const p = Math.max(...l.data.plays.map((y) => y.minute));
|
|
2131
|
+
v.value = p, K.value = p, s.value = K.value, h.value = [];
|
|
2132
2132
|
for (let y = 0; y <= o.value; y++) {
|
|
2133
|
-
const
|
|
2133
|
+
const g = l.data.plays.filter(
|
|
2134
2134
|
(x) => {
|
|
2135
2135
|
var A;
|
|
2136
2136
|
return x.minute === y && x.match_lapse === 1 && Ye(x) && (x.category_id === 9 || x.category_id === 3 || x.event_type_id === 1 || x.event_type_id === 2 || x.category_id === 10 || x.category_id === 13 || x.event_type_id === 6 && ((A = x.comments) == null ? void 0 : A.includes("El árbitro silba el Final del Primer Tiempo")));
|
|
2137
2137
|
}
|
|
2138
2138
|
), k = [];
|
|
2139
|
-
|
|
2139
|
+
g.forEach((x) => {
|
|
2140
2140
|
k.push({
|
|
2141
2141
|
minute: x.minute,
|
|
2142
2142
|
minuteLabel: x.event_type_id === 6 ? "MT" : x.minute.toString(),
|
|
@@ -2144,7 +2144,7 @@ const {
|
|
|
2144
2144
|
x.event_type_id === 1 || x.event_type_id === 2 ? x.event_type_id : x.category_id,
|
|
2145
2145
|
x
|
|
2146
2146
|
),
|
|
2147
|
-
team: x.team_id ===
|
|
2147
|
+
team: x.team_id === m.homeTeam ? x.category_id === 13 ? "visitante" : "local" : x.category_id === 13 ? "local" : "visitante",
|
|
2148
2148
|
match_lapse: x.match_lapse
|
|
2149
2149
|
});
|
|
2150
2150
|
}), h.value.push({
|
|
@@ -2154,10 +2154,10 @@ const {
|
|
|
2154
2154
|
});
|
|
2155
2155
|
}
|
|
2156
2156
|
for (let y = c.value; y <= v.value; y++) {
|
|
2157
|
-
const
|
|
2157
|
+
const g = l.data.plays.filter(
|
|
2158
2158
|
(x) => x.minute === y && x.match_lapse === 2 && Ye(x) && (x.category_id === 9 || x.category_id === 3 || x.event_type_id === 1 || x.event_type_id === 2 || x.category_id === 10 || x.category_id === 13)
|
|
2159
2159
|
), k = [];
|
|
2160
|
-
|
|
2160
|
+
g.forEach((x) => {
|
|
2161
2161
|
k.push({
|
|
2162
2162
|
minute: x.minute,
|
|
2163
2163
|
minuteLabel: x.event_type_id === 6 ? "MT" : x.minute.toString(),
|
|
@@ -2165,7 +2165,7 @@ const {
|
|
|
2165
2165
|
x.event_type_id === 1 || x.event_type_id === 2 ? x.event_type_id : x.category_id,
|
|
2166
2166
|
x
|
|
2167
2167
|
),
|
|
2168
|
-
team: x.team_id ===
|
|
2168
|
+
team: x.team_id === m.homeTeam ? x.category_id === 13 ? "visitante" : "local" : x.category_id === 13 ? "local" : "visitante",
|
|
2169
2169
|
match_lapse: x.match_lapse
|
|
2170
2170
|
});
|
|
2171
2171
|
}), h.value.push({
|
|
@@ -2182,9 +2182,9 @@ const {
|
|
|
2182
2182
|
(F) => F.minute === A.minute && F.match_lapse === 1
|
|
2183
2183
|
);
|
|
2184
2184
|
}
|
|
2185
|
-
const
|
|
2186
|
-
if (
|
|
2187
|
-
const A =
|
|
2185
|
+
const g = h.value.filter((A) => A.match_lapse === 2);
|
|
2186
|
+
if (g.length > 0) {
|
|
2187
|
+
const A = g[g.length - 1];
|
|
2188
2188
|
s.value = A.minute, r.value = "2", d.value = h.value.findIndex(
|
|
2189
2189
|
(F) => F.minute === A.minute && F.match_lapse === 2
|
|
2190
2190
|
);
|
|
@@ -2195,7 +2195,7 @@ const {
|
|
|
2195
2195
|
(A) => A.minute === s.value && A.match_lapse === parseInt(r.value)
|
|
2196
2196
|
);
|
|
2197
2197
|
if (k !== -1 && x !== -1 && k < x) {
|
|
2198
|
-
const A = h.value.length, F = k / (A - 1) * (
|
|
2198
|
+
const A = h.value.length, F = k / (A - 1) * (m.timelineWidth - 40), ce = x / (A - 1) * (m.timelineWidth - 40);
|
|
2199
2199
|
w.value = `${ce - F}px`;
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
|
@@ -2205,7 +2205,7 @@ const {
|
|
|
2205
2205
|
}
|
|
2206
2206
|
}
|
|
2207
2207
|
function Qe(l, a) {
|
|
2208
|
-
const
|
|
2208
|
+
const p = {
|
|
2209
2209
|
3: "icon-goal",
|
|
2210
2210
|
1: "icon-goal",
|
|
2211
2211
|
13: "icon-goal",
|
|
@@ -2213,11 +2213,11 @@ const {
|
|
|
2213
2213
|
10: "icon-change"
|
|
2214
2214
|
// Agregar más mapeos según sea necesario
|
|
2215
2215
|
};
|
|
2216
|
-
return l === 2 ? "icon-yellow-card" : l === 9 ? a && a.comments && a.comments.includes("roja") ? "icon-red-card" : "icon-yellow-card" :
|
|
2216
|
+
return l === 2 ? "icon-yellow-card" : l === 9 ? a && a.comments && a.comments.includes("roja") ? "icon-red-card" : "icon-yellow-card" : p[l] || "";
|
|
2217
2217
|
}
|
|
2218
2218
|
function Ye(l) {
|
|
2219
|
-
var a,
|
|
2220
|
-
return l.event_type_id === 1 || l.category_id === 3 || l.category_id === 13 ? !!
|
|
2219
|
+
var a, p;
|
|
2220
|
+
return l.event_type_id === 1 || l.category_id === 3 || l.category_id === 13 ? !!m.goals : l.event_type_id === 2 || l.category_id === 9 && !((a = l.comments) != null && a.includes("roja")) ? !!m.yellowCards : l.category_id === 9 && ((p = l.comments) != null && p.includes("roja")) ? !!m.redCards : l.category_id === 10 ? !!m.substitutions : !0;
|
|
2221
2221
|
}
|
|
2222
2222
|
pt(() => {
|
|
2223
2223
|
Wt(), Ge(), zt(), ie(() => {
|
|
@@ -2249,20 +2249,20 @@ const {
|
|
|
2249
2249
|
if (i.value === "1") {
|
|
2250
2250
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2251
2251
|
if (l.length > 0) {
|
|
2252
|
-
const a = l[0],
|
|
2253
|
-
(n.value < a.minute || n.value >
|
|
2252
|
+
const a = l[0], p = l[l.length - 1];
|
|
2253
|
+
(n.value < a.minute || n.value > p.minute) && (n.value = a.minute);
|
|
2254
2254
|
const y = h.value.findIndex(
|
|
2255
|
-
(
|
|
2255
|
+
(g) => g.minute === n.value && g.match_lapse === 1
|
|
2256
2256
|
);
|
|
2257
2257
|
y !== -1 && (f.value = y);
|
|
2258
2258
|
}
|
|
2259
2259
|
} else if (i.value === "2") {
|
|
2260
2260
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2261
2261
|
if (l.length > 0) {
|
|
2262
|
-
const a = l[0],
|
|
2263
|
-
(n.value < a.minute || n.value >
|
|
2262
|
+
const a = l[0], p = l[l.length - 1];
|
|
2263
|
+
(n.value < a.minute || n.value > p.minute) && (n.value = a.minute);
|
|
2264
2264
|
const y = h.value.findIndex(
|
|
2265
|
-
(
|
|
2265
|
+
(g) => g.minute === n.value && g.match_lapse === 2
|
|
2266
2266
|
);
|
|
2267
2267
|
y !== -1 && (f.value = y);
|
|
2268
2268
|
}
|
|
@@ -2272,20 +2272,20 @@ const {
|
|
|
2272
2272
|
if (l.length > 0) {
|
|
2273
2273
|
const a = l[0];
|
|
2274
2274
|
n.value = a.minute;
|
|
2275
|
-
const
|
|
2275
|
+
const p = h.value.findIndex(
|
|
2276
2276
|
(y) => y.minute === a.minute && y.match_lapse === 1
|
|
2277
2277
|
);
|
|
2278
|
-
|
|
2278
|
+
p !== -1 && (f.value = p);
|
|
2279
2279
|
}
|
|
2280
2280
|
} else if (i.value === "2") {
|
|
2281
2281
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2282
2282
|
if (l.length > 0) {
|
|
2283
2283
|
const a = l[0];
|
|
2284
2284
|
n.value = a.minute;
|
|
2285
|
-
const
|
|
2285
|
+
const p = h.value.findIndex(
|
|
2286
2286
|
(y) => y.minute === a.minute && y.match_lapse === 2
|
|
2287
2287
|
);
|
|
2288
|
-
|
|
2288
|
+
p !== -1 && (f.value = p);
|
|
2289
2289
|
}
|
|
2290
2290
|
}
|
|
2291
2291
|
$.value = !1, ue();
|
|
@@ -2300,20 +2300,20 @@ const {
|
|
|
2300
2300
|
if (r.value === "1") {
|
|
2301
2301
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2302
2302
|
if (l.length > 0) {
|
|
2303
|
-
const a = l[0],
|
|
2304
|
-
(s.value < a.minute || s.value >
|
|
2303
|
+
const a = l[0], p = l[l.length - 1];
|
|
2304
|
+
(s.value < a.minute || s.value > p.minute) && (s.value = p.minute);
|
|
2305
2305
|
const y = h.value.findIndex(
|
|
2306
|
-
(
|
|
2306
|
+
(g) => g.minute === s.value && g.match_lapse === 1
|
|
2307
2307
|
);
|
|
2308
2308
|
y !== -1 && (d.value = y);
|
|
2309
2309
|
}
|
|
2310
2310
|
} else if (r.value === "2") {
|
|
2311
2311
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2312
2312
|
if (l.length > 0) {
|
|
2313
|
-
const a = l[0],
|
|
2314
|
-
(s.value < a.minute || s.value >
|
|
2313
|
+
const a = l[0], p = l[l.length - 1];
|
|
2314
|
+
(s.value < a.minute || s.value > p.minute) && (s.value = p.minute);
|
|
2315
2315
|
const y = h.value.findIndex(
|
|
2316
|
-
(
|
|
2316
|
+
(g) => g.minute === s.value && g.match_lapse === 2
|
|
2317
2317
|
);
|
|
2318
2318
|
y !== -1 && (d.value = y);
|
|
2319
2319
|
}
|
|
@@ -2323,20 +2323,20 @@ const {
|
|
|
2323
2323
|
if (l.length > 0) {
|
|
2324
2324
|
const a = l[l.length - 1];
|
|
2325
2325
|
s.value = a.minute;
|
|
2326
|
-
const
|
|
2326
|
+
const p = h.value.findIndex(
|
|
2327
2327
|
(y) => y.minute === a.minute && y.match_lapse === 1
|
|
2328
2328
|
);
|
|
2329
|
-
|
|
2329
|
+
p !== -1 && (d.value = p);
|
|
2330
2330
|
}
|
|
2331
2331
|
} else if (r.value === "2") {
|
|
2332
2332
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2333
2333
|
if (l.length > 0) {
|
|
2334
2334
|
const a = l[l.length - 1];
|
|
2335
2335
|
s.value = a.minute;
|
|
2336
|
-
const
|
|
2336
|
+
const p = h.value.findIndex(
|
|
2337
2337
|
(y) => y.minute === a.minute && y.match_lapse === 2
|
|
2338
2338
|
);
|
|
2339
|
-
|
|
2339
|
+
p !== -1 && (d.value = p);
|
|
2340
2340
|
}
|
|
2341
2341
|
}
|
|
2342
2342
|
$.value = !1, ue();
|
|
@@ -2348,20 +2348,20 @@ const {
|
|
|
2348
2348
|
if (i.value === "1") {
|
|
2349
2349
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2350
2350
|
if (l.length > 0) {
|
|
2351
|
-
const a = l[0],
|
|
2352
|
-
n.value < a.minute ? n.value = a.minute : n.value >
|
|
2351
|
+
const a = l[0], p = l[l.length - 1];
|
|
2352
|
+
n.value < a.minute ? n.value = a.minute : n.value > p.minute && (n.value = p.minute);
|
|
2353
2353
|
const y = h.value.findIndex(
|
|
2354
|
-
(
|
|
2354
|
+
(g) => g.minute === n.value && g.match_lapse === 1
|
|
2355
2355
|
);
|
|
2356
2356
|
y !== -1 && (f.value = y);
|
|
2357
2357
|
}
|
|
2358
2358
|
} else if (i.value === "2") {
|
|
2359
2359
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2360
2360
|
if (l.length > 0) {
|
|
2361
|
-
const a = l[0],
|
|
2362
|
-
n.value < a.minute ? n.value = a.minute : n.value >
|
|
2361
|
+
const a = l[0], p = l[l.length - 1];
|
|
2362
|
+
n.value < a.minute ? n.value = a.minute : n.value > p.minute && (n.value = p.minute);
|
|
2363
2363
|
const y = h.value.findIndex(
|
|
2364
|
-
(
|
|
2364
|
+
(g) => g.minute === n.value && g.match_lapse === 2
|
|
2365
2365
|
);
|
|
2366
2366
|
y !== -1 && (f.value = y);
|
|
2367
2367
|
}
|
|
@@ -2388,20 +2388,20 @@ const {
|
|
|
2388
2388
|
if (r.value === "1") {
|
|
2389
2389
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2390
2390
|
if (l.length > 0) {
|
|
2391
|
-
const a = l[0],
|
|
2392
|
-
s.value < a.minute ? s.value = a.minute : s.value >
|
|
2391
|
+
const a = l[0], p = l[l.length - 1];
|
|
2392
|
+
s.value < a.minute ? s.value = a.minute : s.value > p.minute && (s.value = p.minute);
|
|
2393
2393
|
const y = h.value.findIndex(
|
|
2394
|
-
(
|
|
2394
|
+
(g) => g.minute === s.value && g.match_lapse === 1
|
|
2395
2395
|
);
|
|
2396
2396
|
y !== -1 && (d.value = y);
|
|
2397
2397
|
}
|
|
2398
2398
|
} else if (r.value === "2") {
|
|
2399
2399
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2400
2400
|
if (l.length > 0) {
|
|
2401
|
-
const a = l[0],
|
|
2402
|
-
s.value < a.minute ? s.value = a.minute : s.value >
|
|
2401
|
+
const a = l[0], p = l[l.length - 1];
|
|
2402
|
+
s.value < a.minute ? s.value = a.minute : s.value > p.minute && (s.value = p.minute);
|
|
2403
2403
|
const y = h.value.findIndex(
|
|
2404
|
-
(
|
|
2404
|
+
(g) => g.minute === s.value && g.match_lapse === 2
|
|
2405
2405
|
);
|
|
2406
2406
|
y !== -1 && (d.value = y);
|
|
2407
2407
|
}
|
|
@@ -2426,21 +2426,16 @@ const {
|
|
|
2426
2426
|
});
|
|
2427
2427
|
function le(l) {
|
|
2428
2428
|
const a = h.value.length;
|
|
2429
|
-
return l < 0 || a === 0 || a === 1 ? "0px" : `${l / (a - 1) * (
|
|
2429
|
+
return l < 0 || a === 0 || a === 1 ? "0px" : `${l / (a - 1) * (m.timelineWidth - 40)}px`;
|
|
2430
2430
|
}
|
|
2431
2431
|
function Zt() {
|
|
2432
2432
|
const l = h.value.length;
|
|
2433
2433
|
if (l === 0 || l === 1) return "0px";
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
if (h.value[m] && h.value[m].event) {
|
|
2437
|
-
a = m;
|
|
2438
|
-
break;
|
|
2439
|
-
}
|
|
2440
|
-
return `${a / (l - 1) * (p.timelineWidth - 40) + 10}px`;
|
|
2434
|
+
const a = (l - 1) / (l - 1) * (m.timelineWidth - 40);
|
|
2435
|
+
return `${parseInt(a) + 10}px`;
|
|
2441
2436
|
}
|
|
2442
2437
|
function V(l, a) {
|
|
2443
|
-
a.preventDefault(), R = l, se = a.type.includes("touch") ? a.touches[0].clientX : a.clientX, J = !1, l === "left" ?
|
|
2438
|
+
a.preventDefault(), R = l, se = a.type.includes("touch") ? a.touches[0].clientX : a.clientX, J = !1, l === "left" ? Pe.value = f.value : l === "right" && (Pe.value = d.value), document.addEventListener("mousemove", ve), document.addEventListener("touchmove", ve, { passive: !1 }), document.addEventListener("mouseup", we), document.addEventListener("touchend", we), T.value = !0;
|
|
2444
2439
|
}
|
|
2445
2440
|
function ve(l) {
|
|
2446
2441
|
if (!R) return;
|
|
@@ -2451,8 +2446,8 @@ const {
|
|
|
2451
2446
|
return;
|
|
2452
2447
|
J = !0;
|
|
2453
2448
|
}
|
|
2454
|
-
const
|
|
2455
|
-
let A =
|
|
2449
|
+
const p = $t(), y = h.value.length, g = a - se, k = p / (y - 1), x = Math.round(g / k);
|
|
2450
|
+
let A = Pe.value + x;
|
|
2456
2451
|
const F = Math.max(0, Math.min(A, y - 1));
|
|
2457
2452
|
if (R === "left") {
|
|
2458
2453
|
const H = h.value.findIndex(
|
|
@@ -2477,7 +2472,7 @@ const {
|
|
|
2477
2472
|
(H) => H.minute === s.value && H.match_lapse === parseInt(r.value)
|
|
2478
2473
|
);
|
|
2479
2474
|
if (ce !== -1 && ke !== -1 && ce < ke) {
|
|
2480
|
-
const H = h.value.length, X = ce / (H - 1) * (
|
|
2475
|
+
const H = h.value.length, X = ce / (H - 1) * (m.timelineWidth - 40), G = ke / (H - 1) * (m.timelineWidth - 40);
|
|
2481
2476
|
w.value = `${G - X}px`;
|
|
2482
2477
|
}
|
|
2483
2478
|
ie(() => {
|
|
@@ -2494,7 +2489,7 @@ const {
|
|
|
2494
2489
|
}
|
|
2495
2490
|
function Le() {
|
|
2496
2491
|
const l = n.value * 60, a = s.value * 60;
|
|
2497
|
-
|
|
2492
|
+
P("range-change", {
|
|
2498
2493
|
start: {
|
|
2499
2494
|
minutes: n.value,
|
|
2500
2495
|
seconds: l,
|
|
@@ -2511,13 +2506,13 @@ const {
|
|
|
2511
2506
|
}
|
|
2512
2507
|
function ue() {
|
|
2513
2508
|
const l = h.value.findIndex(
|
|
2514
|
-
(
|
|
2509
|
+
(p) => p.minute === n.value && p.match_lapse === parseInt(i.value)
|
|
2515
2510
|
), a = h.value.findIndex(
|
|
2516
|
-
(
|
|
2511
|
+
(p) => p.minute === s.value && p.match_lapse === parseInt(r.value)
|
|
2517
2512
|
);
|
|
2518
2513
|
if (l !== -1 && a !== -1 && l < a) {
|
|
2519
|
-
const
|
|
2520
|
-
w.value = `${
|
|
2514
|
+
const p = h.value.length, y = l / (p - 1) * (m.timelineWidth - 40), g = a / (p - 1) * (m.timelineWidth - 40);
|
|
2515
|
+
w.value = `${g - y}px`;
|
|
2521
2516
|
}
|
|
2522
2517
|
}
|
|
2523
2518
|
return (l, a) => (C(), I("div", {
|
|
@@ -2531,7 +2526,7 @@ const {
|
|
|
2531
2526
|
S("div", {
|
|
2532
2527
|
class: "timeline-scroll no-scrollbar",
|
|
2533
2528
|
ref_key: "scrollContainer",
|
|
2534
|
-
ref:
|
|
2529
|
+
ref: Ne,
|
|
2535
2530
|
onScroll: ae
|
|
2536
2531
|
}, [
|
|
2537
2532
|
S("div", {
|
|
@@ -2540,13 +2535,13 @@ const {
|
|
|
2540
2535
|
}, [
|
|
2541
2536
|
S("div", Os, [
|
|
2542
2537
|
S("img", {
|
|
2543
|
-
src:
|
|
2538
|
+
src: m.isDefault ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo1.png" : `https://golstatsimages.blob.core.windows.net/teams-80/${m.homeTeam}.png`,
|
|
2544
2539
|
alt: "Equipo local"
|
|
2545
2540
|
}, null, 8, Ms)
|
|
2546
2541
|
]),
|
|
2547
2542
|
S("div", As, [
|
|
2548
2543
|
S("img", {
|
|
2549
|
-
src:
|
|
2544
|
+
src: m.isDefault ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo2.png" : `https://golstatsimages.blob.core.windows.net/teams-80/${m.awayTeam}.png`,
|
|
2550
2545
|
alt: "Equipo visitante"
|
|
2551
2546
|
}, null, 8, Cs)
|
|
2552
2547
|
]),
|
|
@@ -2559,16 +2554,16 @@ const {
|
|
|
2559
2554
|
class: "minute-ball minute-ball-initial minute-ball-center",
|
|
2560
2555
|
style: Q({ left: le(0) })
|
|
2561
2556
|
}, "0'", 4),
|
|
2562
|
-
(C(!0), I(De, null, et(h.value, (
|
|
2563
|
-
(C(!0), I(De, null, et(
|
|
2557
|
+
(C(!0), I(De, null, et(h.value, (p, y) => (C(), I(De, null, [
|
|
2558
|
+
(C(!0), I(De, null, et(p.event, (g, k) => (C(), I("div", {
|
|
2564
2559
|
key: "event-" + y + "-" + k,
|
|
2565
2560
|
class: "event",
|
|
2566
2561
|
style: Q({
|
|
2567
2562
|
left: le(k === 0 ? y - 1.5 : y - 1.5 + k * 0.3)
|
|
2568
2563
|
})
|
|
2569
2564
|
}, [
|
|
2570
|
-
(
|
|
2571
|
-
(
|
|
2565
|
+
(g == null ? void 0 : g.team) === "local" ? (C(), I("span", Ps, [
|
|
2566
|
+
(g == null ? void 0 : g.icon) === "icon-yellow-card" ? (C(), I("svg", Ns, a[22] || (a[22] = [
|
|
2572
2567
|
S("rect", {
|
|
2573
2568
|
x: "0.507812",
|
|
2574
2569
|
y: "0.375488",
|
|
@@ -2585,7 +2580,7 @@ const {
|
|
|
2585
2580
|
rx: "2.28119",
|
|
2586
2581
|
fill: "#F7C330"
|
|
2587
2582
|
}, null, -1)
|
|
2588
|
-
]))) : (
|
|
2583
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-red-card" ? (C(), I("svg", Ls, a[23] || (a[23] = [
|
|
2589
2584
|
S("rect", {
|
|
2590
2585
|
width: "22.7873",
|
|
2591
2586
|
height: "22.8364",
|
|
@@ -2600,18 +2595,18 @@ const {
|
|
|
2600
2595
|
rx: "2.28119",
|
|
2601
2596
|
fill: "#E5152D"
|
|
2602
2597
|
}, null, -1)
|
|
2603
|
-
]))) : (
|
|
2604
|
-
be('<circle fill="none" cx="24" cy="24" r="24" data-v-
|
|
2605
|
-
]))) : (
|
|
2606
|
-
be('<circle fill="none" cx="24" cy="24" r="24" data-v-
|
|
2598
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-goal" ? (C(), I("svg", ks, a[24] || (a[24] = [
|
|
2599
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-070b9484></circle><ellipse fill="none" cx="24" cy="24" rx="14.82" ry="14.85" data-v-070b9484></ellipse><path fill="#fff" d="M24.03,36.05c-6.65,0-12.05-5.41-12.05-12.05s5.41-12.05,12.05-12.05,12.05,5.41,12.05,12.05-5.41,12.05-12.05,12.05Zm0-23.1c-6.1,0-11.05,4.96-11.05,11.05s4.96,11.05,11.05,11.05,11.05-4.96,11.05-11.05-4.96-11.05-11.05-11.05Z" data-v-070b9484></path><path fill="#fff" d="M27.22,29.38h-6.35c-.22,0-.41-.14-.48-.35l-1.96-6.06c-.07-.21,0-.43,.18-.56l5.14-3.74c.18-.13,.41-.13,.59,0l5.14,3.74c.17,.13,.25,.35,.18,.56l-1.96,6.06c-.07,.21-.26,.35-.48,.35Zm-5.99-1h5.62l1.74-5.37-4.55-3.32-4.55,3.32,1.74,5.37Z" data-v-070b9484></path><path fill="#fff" d="M24.06,15.71c-.07,0-.13-.01-.2-.04l-4.38-1.87c-.25-.11-.37-.4-.26-.66,.11-.25,.4-.37,.66-.26l4.18,1.78,4.18-1.78c.25-.11,.55,0,.66,.26,.11,.25,0,.55-.26,.66l-4.38,1.87c-.06,.03-.13,.04-.2,.04Z" data-v-070b9484></path><path fill="#fff" d="M12.62,25.37c-.12,0-.23-.04-.33-.12-.21-.18-.23-.5-.05-.71l2.99-3.44-.4-4.54c-.02-.27,.18-.52,.45-.54,.27-.03,.52,.18,.54,.45l.42,4.75c.01,.14-.03,.27-.12,.37l-3.12,3.6c-.1,.11-.24,.17-.38,.17Z" data-v-070b9484></path><path fill="#fff" d="M21.37,35.66c-.17,0-.34-.09-.43-.24l-2.34-3.91-4.43-1.02c-.27-.06-.44-.33-.38-.6s.33-.44,.6-.38l4.64,1.07c.13,.03,.25,.11,.32,.23l2.45,4.09c.14,.24,.06,.54-.17,.69-.08,.05-.17,.07-.26,.07Z" data-v-070b9484></path><path fill="#fff" d="M26.75,35.66c-.09,0-.18-.02-.26-.07-.24-.14-.31-.45-.17-.69l2.44-4.09c.07-.12,.18-.2,.32-.23l4.63-1.07c.27-.06,.54,.11,.6,.38s-.11,.54-.38,.6l-4.43,1.02-2.33,3.91c-.09,.16-.26,.24-.43,.24Z" data-v-070b9484></path><path fill="#fff" d="M35.5,25.37c-.14,0-.28-.06-.38-.17l-3.13-3.6c-.09-.1-.13-.24-.12-.37l.42-4.75c.02-.27,.27-.48,.54-.45,.28,.02,.48,.27,.45,.54l-.4,4.54,2.99,3.44c.18,.21,.16,.52-.05,.71-.09,.08-.21,.12-.33,.12Z" data-v-070b9484></path><path fill="#fff" d="M24.05,19.58c-.28,0-.5-.22-.5-.5v-3.87c0-.28,.22-.5,.5-.5s.5,.22,.5,.5v3.87c0,.28-.22,.5-.5,.5Z" data-v-070b9484></path><path fill="#fff" d="M29.21,23.47c-.18,0-.35-.1-.44-.26-.13-.24-.04-.55,.2-.68l3.17-1.7c.25-.13,.55-.04,.68,.2,.13,.24,.04,.55-.2,.68l-3.17,1.7c-.08,.04-.16,.06-.24,.06Z" data-v-070b9484></path><path fill="#fff" d="M29.2,31.57c-.14,0-.27-.06-.37-.17l-1.96-2.19c-.18-.21-.17-.52,.04-.71,.21-.18,.52-.17,.71,.04l1.96,2.19c.18,.21,.17,.52-.04,.71-.1,.09-.21,.13-.33,.13Z" data-v-070b9484></path><path fill="#fff" d="M18.91,31.57c-.12,0-.24-.04-.33-.13-.21-.18-.22-.5-.04-.71l1.96-2.19c.19-.21,.5-.22,.71-.04,.21,.18,.22,.5,.04,.71l-1.96,2.19c-.1,.11-.24,.17-.37,.17Z" data-v-070b9484></path><path fill="#fff" d="M18.93,23.32c-.07,0-.15-.02-.22-.05l-3.17-1.55c-.25-.12-.35-.42-.23-.67,.12-.25,.42-.35,.67-.23l3.17,1.55c.25,.12,.35,.42,.23,.67-.09,.18-.26,.28-.45,.28Z" data-v-070b9484></path>', 14)
|
|
2600
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-change" ? (C(), I("svg", Bs, a[25] || (a[25] = [
|
|
2601
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-070b9484></circle><path fill="#fff" d="M31.62,23.86c-.19,0-.37-.07-.52-.21-.3-.29-.31-.76-.03-1.06l2.89-3.04-2.89-3.04c-.29-.3-.27-.77,.03-1.06,.3-.29,.77-.27,1.06,.03l3.39,3.56c.28,.29,.28,.74,0,1.03l-3.39,3.56c-.15,.15-.34,.23-.54,.23Z" data-v-070b9484></path><path fill="#fff" d="M34.99,20.31H16.37c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75h18.62c.41,0,.75,.34,.75,.75s-.34,.75-.75,.75Z" data-v-070b9484></path><path fill="#fff" d="M16.38,32.75c-.2,0-.4-.08-.54-.23l-3.38-3.56c-.28-.29-.28-.74,0-1.03l3.38-3.56c.28-.3,.76-.31,1.06-.03,.3,.29,.31,.76,.03,1.06l-2.89,3.04,2.89,3.04c.29,.3,.27,.78-.03,1.06-.15,.14-.33,.21-.52,.21Z" data-v-070b9484></path><path fill="#fff" d="M31.62,29.19H13c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75H31.62c.41,0,.75,.34,.75,.75s-.34,.75-.75,.75Z" data-v-070b9484></path>', 5)
|
|
2607
2602
|
]))) : (C(), I("span", {
|
|
2608
2603
|
key: 4,
|
|
2609
|
-
class: Be(
|
|
2604
|
+
class: Be(g == null ? void 0 : g.icon)
|
|
2610
2605
|
}, null, 2))
|
|
2611
2606
|
])) : Fe("", !0),
|
|
2612
|
-
S("span", Fs, tt((
|
|
2613
|
-
(
|
|
2614
|
-
(
|
|
2607
|
+
S("span", Fs, tt((g == null ? void 0 : g.minuteLabel) || p.minute) + "'", 1),
|
|
2608
|
+
(g == null ? void 0 : g.team) === "visitante" ? (C(), I("span", Ds, [
|
|
2609
|
+
(g == null ? void 0 : g.icon) === "icon-yellow-card" ? (C(), I("svg", Us, a[26] || (a[26] = [
|
|
2615
2610
|
S("rect", {
|
|
2616
2611
|
x: "0.507812",
|
|
2617
2612
|
y: "0.375488",
|
|
@@ -2628,7 +2623,7 @@ const {
|
|
|
2628
2623
|
rx: "2.28119",
|
|
2629
2624
|
fill: "#F7C330"
|
|
2630
2625
|
}, null, -1)
|
|
2631
|
-
]))) : (
|
|
2626
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-red-card" ? (C(), I("svg", Hs, a[27] || (a[27] = [
|
|
2632
2627
|
S("rect", {
|
|
2633
2628
|
width: "22.7873",
|
|
2634
2629
|
height: "22.8364",
|
|
@@ -2643,13 +2638,13 @@ const {
|
|
|
2643
2638
|
rx: "2.28119",
|
|
2644
2639
|
fill: "#E5152D"
|
|
2645
2640
|
}, null, -1)
|
|
2646
|
-
]))) : (
|
|
2647
|
-
be('<circle fill="none" cx="24" cy="24" r="24" data-v-
|
|
2648
|
-
]))) : (
|
|
2649
|
-
be('<circle fill="none" cx="24" cy="24" r="24" data-v-
|
|
2641
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-goal" ? (C(), I("svg", js, a[28] || (a[28] = [
|
|
2642
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-070b9484></circle><ellipse fill="none" cx="24" cy="24" rx="14.82" ry="14.85" data-v-070b9484></ellipse><path fill="#fff" d="M24.03,36.05c-6.65,0-12.05-5.41-12.05-12.05s5.41-12.05,12.05-12.05,12.05,5.41,12.05,12.05-5.41,12.05-12.05,12.05Zm0-23.1c-6.1,0-11.05,4.96-11.05,11.05s4.96,11.05,11.05,11.05,11.05-4.96,11.05-11.05-4.96-11.05-11.05-11.05Z" data-v-070b9484></path><path fill="#fff" d="M27.22,29.38h-6.35c-.22,0-.41-.14-.48-.35l-1.96-6.06c-.07-.21,0-.43,.18-.56l5.14-3.74c.18-.13,.41-.13,.59,0l5.14,3.74c.17,.13,.25,.35,.18,.56l-1.96,6.06c-.07,.21-.26,.35-.48,.35Zm-5.99-1h5.62l1.74-5.37-4.55-3.32-4.55,3.32,1.74,5.37Z" data-v-070b9484></path><path fill="#fff" d="M24.06,15.71c-.07,0-.13-.01-.2-.04l-4.38-1.87c-.25-.11-.37-.4-.26-.66,.11-.25,.4-.37,.66-.26l4.18,1.78,4.18-1.78c.25-.11,.55,0,.66,.26,.11,.25,0,.55-.26,.66l-4.38,1.87c-.06,.03-.13,.04-.2,.04Z" data-v-070b9484></path><path fill="#fff" d="M12.62,25.37c-.12,0-.23-.04-.33-.12-.21-.18-.23-.5-.05-.71l2.99-3.44-.4-4.54c-.02-.27,.18-.52,.45-.54,.27-.03,.52,.18,.54,.45l.42,4.75c.01,.14-.03,.27-.12,.37l-3.12,3.6c-.1,.11-.24,.17-.38,.17Z" data-v-070b9484></path><path fill="#fff" d="M21.37,35.66c-.17,0-.34-.09-.43-.24l-2.34-3.91-4.43-1.02c-.27-.06-.44-.33-.38-.6s.33-.44,.6-.38l4.64,1.07c.13,.03,.25,.11,.32,.23l2.45,4.09c.14,.24,.06,.54-.17,.69-.08,.05-.17,.07-.26,.07Z" data-v-070b9484></path><path fill="#fff" d="M26.75,35.66c-.09,0-.18-.02-.26-.07-.24-.14-.31-.45-.17-.69l2.44-4.09c.07-.12,.18-.2,.32-.23l4.63-1.07c.27-.06,.54,.11,.6,.38s-.11,.54-.38,.6l-4.43,1.02-2.33,3.91c-.09,.16-.26,.24-.43,.24Z" data-v-070b9484></path><path fill="#fff" d="M35.5,25.37c-.14,0-.28-.06-.38-.17l-3.13-3.6c-.09-.1-.13-.24-.12-.37l.42-4.75c.02-.27,.27-.48,.54-.45,.28,.02,.48,.27,.45,.54l-.4,4.54,2.99,3.44c.18,.21,.16,.52-.05,.71-.09,.08-.21,.12-.33,.12Z" data-v-070b9484></path><path fill="#fff" d="M24.05,19.58c-.28,0-.5-.22-.5-.5v-3.87c0-.28,.22-.5,.5-.5s.5,.22,.5,.5v3.87c0,.28-.22,.5-.5,.5Z" data-v-070b9484></path><path fill="#fff" d="M29.21,23.47c-.18,0-.35-.1-.44-.26-.13-.24-.04-.55,.2-.68l3.17-1.7c.25-.13,.55-.04,.68,.2,.13,.24,.04,.55-.2,.68l-3.17,1.7c-.08,.04-.16,.06-.24,.06Z" data-v-070b9484></path><path fill="#fff" d="M29.2,31.57c-.14,0-.27-.06-.37-.17l-1.96-2.19c-.18-.21-.17-.52,.04-.71,.21-.18,.52-.17,.71,.04l1.96,2.19c.18,.21,.17,.52-.04,.71-.1,.09-.21,.13-.33,.13Z" data-v-070b9484></path><path fill="#fff" d="M18.91,31.57c-.12,0-.24-.04-.33-.13-.21-.18-.22-.5-.04-.71l1.96-2.19c.19-.21,.5-.22,.71-.04,.21,.18,.22,.5,.04,.71l-1.96,2.19c-.1,.11-.24,.17-.37,.17Z" data-v-070b9484></path><path fill="#fff" d="M18.93,23.32c-.07,0-.15-.02-.22-.05l-3.17-1.55c-.25-.12-.35-.42-.23-.67,.12-.25,.42-.35,.67-.23l3.17,1.55c.25,.12,.35,.42,.23,.67-.09,.18-.26,.28-.45,.28Z" data-v-070b9484></path>', 14)
|
|
2643
|
+
]))) : (g == null ? void 0 : g.icon) === "icon-change" ? (C(), I("svg", qs, a[29] || (a[29] = [
|
|
2644
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-070b9484></circle><path fill="#fff" d="M31.62,23.86c-.19,0-.37-.07-.52-.21-.3-.29-.31-.76-.03-1.06l2.89-3.04-2.89-3.04c-.29-.3-.27-.77,.03-1.06,.3-.29,.77-.27,1.06,.03l3.39,3.56c.28,.29,.28,.74,0,1.03l-3.39,3.56c-.15,.15-.34,.23-.54,.23Z" data-v-070b9484></path><path fill="#fff" d="M34.99,20.31H16.37c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75h18.62c.41,0,.75,.34,.75,.75s-.34,.75-.75,.75Z" data-v-070b9484></path><path fill="#fff" d="M16.38,32.75c-.2,0-.4-.08-.54-.23l-3.38-3.56c-.28-.29-.28-.74,0-1.03l3.38-3.56c.28-.3,.76-.31,1.06-.03,.3,.29,.31,.76,.03,1.06l-2.89,3.04,2.89,3.04c.29,.3,.27,.78-.03,1.06-.15,.14-.33,.21-.52,.21Z" data-v-070b9484></path><path fill="#fff" d="M31.62,29.19H13c-.41,0-.75-.34-.75-.75s.34-.75,.75-.75H31.62c.41,0,.75,.34,.75,.75s-.34,.75-.75,.75Z" data-v-070b9484></path>', 5)
|
|
2650
2645
|
]))) : (C(), I("span", {
|
|
2651
2646
|
key: 4,
|
|
2652
|
-
class: Be(
|
|
2647
|
+
class: Be(g == null ? void 0 : g.icon)
|
|
2653
2648
|
}, null, 2))
|
|
2654
2649
|
])) : Fe("", !0)
|
|
2655
2650
|
], 4))), 128))
|
|
@@ -2664,8 +2659,8 @@ const {
|
|
|
2664
2659
|
}, [
|
|
2665
2660
|
S("div", {
|
|
2666
2661
|
class: "handle left",
|
|
2667
|
-
onMousedown: a[4] || (a[4] = (
|
|
2668
|
-
onTouchstart: a[5] || (a[5] = (
|
|
2662
|
+
onMousedown: a[4] || (a[4] = (p) => V("left", p)),
|
|
2663
|
+
onTouchstart: a[5] || (a[5] = (p) => V("left", p))
|
|
2669
2664
|
}, [
|
|
2670
2665
|
(C(), I("svg", Ws, a[30] || (a[30] = [
|
|
2671
2666
|
S("polygon", { points: "6,8 0,0 12,0" }, null, -1)
|
|
@@ -2677,19 +2672,19 @@ const {
|
|
|
2677
2672
|
], 32),
|
|
2678
2673
|
S("span", {
|
|
2679
2674
|
class: "range-dot range-dot-left",
|
|
2680
|
-
onMousedown: a[6] || (a[6] = (
|
|
2681
|
-
onTouchstart: a[7] || (a[7] = (
|
|
2675
|
+
onMousedown: a[6] || (a[6] = (p) => V("left", p)),
|
|
2676
|
+
onTouchstart: a[7] || (a[7] = (p) => V("left", p))
|
|
2682
2677
|
}, null, 32),
|
|
2683
2678
|
a[36] || (a[36] = S("div", { class: "range-line" }, null, -1)),
|
|
2684
2679
|
S("span", {
|
|
2685
2680
|
class: "range-dot range-dot-right",
|
|
2686
|
-
onMousedown: a[8] || (a[8] = (
|
|
2687
|
-
onTouchstart: a[9] || (a[9] = (
|
|
2681
|
+
onMousedown: a[8] || (a[8] = (p) => V("right", p)),
|
|
2682
|
+
onTouchstart: a[9] || (a[9] = (p) => V("right", p))
|
|
2688
2683
|
}, null, 32),
|
|
2689
2684
|
S("div", {
|
|
2690
2685
|
class: "handle right",
|
|
2691
|
-
onMousedown: a[10] || (a[10] = (
|
|
2692
|
-
onTouchstart: a[11] || (a[11] = (
|
|
2686
|
+
onMousedown: a[10] || (a[10] = (p) => V("right", p)),
|
|
2687
|
+
onTouchstart: a[11] || (a[11] = (p) => V("right", p))
|
|
2693
2688
|
}, [
|
|
2694
2689
|
(C(), I("svg", Zs, a[33] || (a[33] = [
|
|
2695
2690
|
S("polygon", { points: "6,8 0,0 12,0" }, null, -1)
|
|
@@ -2706,7 +2701,7 @@ const {
|
|
|
2706
2701
|
])
|
|
2707
2702
|
], 6));
|
|
2708
2703
|
}
|
|
2709
|
-
}, Vs = /* @__PURE__ */ Rs(Js, [["__scopeId", "data-v-
|
|
2704
|
+
}, Vs = /* @__PURE__ */ Rs(Js, [["__scopeId", "data-v-070b9484"]]), mi = {
|
|
2710
2705
|
__name: "gsc-timeline-reports",
|
|
2711
2706
|
props: {
|
|
2712
2707
|
gameId: {
|