@golstats/gsc-timeline-reports 1.0.12 → 1.0.13
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as O, onMounted as
|
|
1
|
+
import { ref as O, onMounted as mt, nextTick as ie, onBeforeUnmount as gt, watch as Y, createElementBlock as I, openBlock as C, normalizeStyle as Q, normalizeClass as Be, createCommentVNode as Fe, createElementVNode as S, Fragment as De, renderList as et, createStaticVNode as be, toDisplayString as tt, createBlock as Jt } from "vue";
|
|
2
2
|
function yt(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
@@ -16,25 +16,25 @@ function Kt(e) {
|
|
|
16
16
|
let t;
|
|
17
17
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && wt(e.buffer), t;
|
|
18
18
|
}
|
|
19
|
-
const Xt = Me("string"), D = Me("function"), bt = Me("number"),
|
|
19
|
+
const Xt = Me("string"), D = Me("function"), bt = Me("number"), pe = (e) => e !== null && typeof e == "object", Gt = (e) => e === !0 || e === !1, xe = (e) => {
|
|
20
20
|
if (Oe(e) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const t = Ve(e);
|
|
23
23
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(vt in e) && !(Te in e);
|
|
24
24
|
}, Qt = (e) => {
|
|
25
|
-
if (!
|
|
25
|
+
if (!pe(e) || he(e))
|
|
26
26
|
return !1;
|
|
27
27
|
try {
|
|
28
28
|
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
29
29
|
} catch {
|
|
30
30
|
return !1;
|
|
31
31
|
}
|
|
32
|
-
}, Yt = q("Date"), en = q("File"), tn = q("Blob"), nn = q("FileList"), sn = (e) =>
|
|
32
|
+
}, Yt = q("Date"), en = q("File"), tn = q("Blob"), nn = q("FileList"), sn = (e) => pe(e) && D(e.pipe), rn = (e) => {
|
|
33
33
|
let t;
|
|
34
34
|
return e && (typeof FormData == "function" && e instanceof FormData || D(e.append) && ((t = Oe(e)) === "formdata" || // detect form-data instance
|
|
35
35
|
t === "object" && D(e.toString) && e.toString() === "[object FormData]"));
|
|
36
36
|
}, on = q("URLSearchParams"), [an, ln, un, cn] = ["ReadableStream", "Request", "Response", "Headers"].map(q), fn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
37
|
-
function
|
|
37
|
+
function me(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
38
38
|
if (e === null || typeof e > "u")
|
|
39
39
|
return;
|
|
40
40
|
let s, i;
|
|
@@ -68,16 +68,16 @@ function qe() {
|
|
|
68
68
|
xe(t[r]) && xe(s) ? t[r] = qe(t[r], s) : xe(s) ? t[r] = qe({}, s) : re(s) ? t[r] = s.slice() : t[r] = s;
|
|
69
69
|
};
|
|
70
70
|
for (let s = 0, i = arguments.length; s < i; s++)
|
|
71
|
-
arguments[s] &&
|
|
71
|
+
arguments[s] && me(arguments[s], n);
|
|
72
72
|
return t;
|
|
73
73
|
}
|
|
74
|
-
const dn = (e, t, n, { allOwnKeys: s } = {}) => (
|
|
74
|
+
const dn = (e, t, n, { allOwnKeys: s } = {}) => (me(t, (i, r) => {
|
|
75
75
|
n && D(i) ? e[r] = yt(i, n) : e[r] = i;
|
|
76
|
-
}, { allOwnKeys: s }), e), hn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e),
|
|
76
|
+
}, { allOwnKeys: s }), e), hn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), pn = (e, t, n, s) => {
|
|
77
77
|
e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
78
78
|
value: t.prototype
|
|
79
79
|
}), n && Object.assign(e.prototype, n);
|
|
80
|
-
},
|
|
80
|
+
}, mn = (e, t, n, s) => {
|
|
81
81
|
let i, r, o;
|
|
82
82
|
const c = {};
|
|
83
83
|
if (t = t || {}, e == null) return t;
|
|
@@ -120,7 +120,7 @@ const dn = (e, t, n, { allOwnKeys: s } = {}) => (pe(t, (i, r) => {
|
|
|
120
120
|
}
|
|
121
121
|
), nt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), En = q("RegExp"), Et = (e, t) => {
|
|
122
122
|
const n = Object.getOwnPropertyDescriptors(e), s = {};
|
|
123
|
-
|
|
123
|
+
me(n, (i, r) => {
|
|
124
124
|
let o;
|
|
125
125
|
(o = t(i, r, e)) !== !1 && (s[r] = o || i);
|
|
126
126
|
}), Object.defineProperties(e, s);
|
|
@@ -153,7 +153,7 @@ function Mn(e) {
|
|
|
153
153
|
}
|
|
154
154
|
const An = (e) => {
|
|
155
155
|
const t = new Array(10), n = (s, i) => {
|
|
156
|
-
if (
|
|
156
|
+
if (pe(s)) {
|
|
157
157
|
if (t.indexOf(s) >= 0)
|
|
158
158
|
return;
|
|
159
159
|
if (he(s))
|
|
@@ -161,7 +161,7 @@ const An = (e) => {
|
|
|
161
161
|
if (!("toJSON" in s)) {
|
|
162
162
|
t[i] = s;
|
|
163
163
|
const r = re(s) ? [] : {};
|
|
164
|
-
return
|
|
164
|
+
return me(s, (o, c) => {
|
|
165
165
|
const v = n(o, i + 1);
|
|
166
166
|
!de(v) && (r[c] = v);
|
|
167
167
|
}), t[i] = void 0, r;
|
|
@@ -170,7 +170,7 @@ const An = (e) => {
|
|
|
170
170
|
return s;
|
|
171
171
|
};
|
|
172
172
|
return n(e, 0);
|
|
173
|
-
}, Cn = q("AsyncFunction"), In = (e) => e && (
|
|
173
|
+
}, Cn = q("AsyncFunction"), In = (e) => e && (pe(e) || D(e)) && D(e.then) && D(e.catch), St = ((e, t) => e ? setImmediate : t ? ((n, s) => (ee.addEventListener("message", ({ source: i, data: r }) => {
|
|
174
174
|
i === ee && r === n && s.length && s.shift()();
|
|
175
175
|
}, !1), (i) => {
|
|
176
176
|
s.push(i), ee.postMessage(n, "*");
|
|
@@ -186,7 +186,7 @@ const An = (e) => {
|
|
|
186
186
|
isString: Xt,
|
|
187
187
|
isNumber: bt,
|
|
188
188
|
isBoolean: Gt,
|
|
189
|
-
isObject:
|
|
189
|
+
isObject: pe,
|
|
190
190
|
isPlainObject: xe,
|
|
191
191
|
isEmptyObject: Qt,
|
|
192
192
|
isReadableStream: an,
|
|
@@ -203,13 +203,13 @@ const An = (e) => {
|
|
|
203
203
|
isURLSearchParams: on,
|
|
204
204
|
isTypedArray: vn,
|
|
205
205
|
isFileList: nn,
|
|
206
|
-
forEach:
|
|
206
|
+
forEach: me,
|
|
207
207
|
merge: qe,
|
|
208
208
|
extend: dn,
|
|
209
209
|
trim: fn,
|
|
210
210
|
stripBOM: hn,
|
|
211
|
-
inherits:
|
|
212
|
-
toFlatObject:
|
|
211
|
+
inherits: pn,
|
|
212
|
+
toFlatObject: mn,
|
|
213
213
|
kindOf: Oe,
|
|
214
214
|
kindOfTest: q,
|
|
215
215
|
endsWith: gn,
|
|
@@ -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(p) {
|
|
322
|
+
if (p === null) return "";
|
|
323
|
+
if (u.isDate(p))
|
|
324
|
+
return p.toISOString();
|
|
325
|
+
if (u.isBoolean(p))
|
|
326
|
+
return p.toString();
|
|
327
|
+
if (!v && u.isBlob(p))
|
|
328
328
|
throw new E("Blob is not supported. Use a Buffer instead.");
|
|
329
|
-
return u.isArrayBuffer(
|
|
329
|
+
return u.isArrayBuffer(p) || u.isTypedArray(p) ? v && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
330
330
|
}
|
|
331
|
-
function d(
|
|
332
|
-
let R =
|
|
333
|
-
if (
|
|
331
|
+
function d(p, _, b) {
|
|
332
|
+
let R = p;
|
|
333
|
+
if (p && !b && typeof p == "object") {
|
|
334
334
|
if (u.endsWith(_, "{}"))
|
|
335
|
-
_ = s ? _ : _.slice(0, -2),
|
|
336
|
-
else if (u.isArray(
|
|
335
|
+
_ = s ? _ : _.slice(0, -2), p = JSON.stringify(p);
|
|
336
|
+
else if (u.isArray(p) && kn(p) || (u.isFileList(p) || u.endsWith(_, "[]")) && (R = u.toArray(p)))
|
|
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,18 +342,18 @@ function Ae(e, t, n) {
|
|
|
342
342
|
);
|
|
343
343
|
}), !1;
|
|
344
344
|
}
|
|
345
|
-
return We(
|
|
345
|
+
return We(p) ? !0 : (t.append(st(b, _, r), f(p)), !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 P(
|
|
353
|
-
if (!u.isUndefined(
|
|
354
|
-
if (w.indexOf(
|
|
352
|
+
function P(p, _) {
|
|
353
|
+
if (!u.isUndefined(p)) {
|
|
354
|
+
if (w.indexOf(p) !== -1)
|
|
355
355
|
throw Error("Circular reference detected in " + _.join("."));
|
|
356
|
-
w.push(
|
|
356
|
+
w.push(p), u.forEach(p, function(R, M) {
|
|
357
357
|
(!(u.isUndefined(R) || R === null) && i.call(
|
|
358
358
|
t,
|
|
359
359
|
R,
|
|
@@ -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, P,
|
|
1026
|
+
let { responseType: c, onUploadProgress: v, onDownloadProgress: f } = i, d, w, h, P, p;
|
|
1027
1027
|
function _() {
|
|
1028
|
-
P && P(),
|
|
1028
|
+
P && P(), p && p(), 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;
|
|
@@ -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, p] = 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);
|
|
@@ -1108,9 +1108,9 @@ const kt = (e) => {
|
|
|
1108
1108
|
for (; s < n; )
|
|
1109
1109
|
i = s + t, yield e.slice(s, i), s = i;
|
|
1110
1110
|
}, hs = async function* (e, t) {
|
|
1111
|
-
for await (const n of
|
|
1111
|
+
for await (const n of ps(e))
|
|
1112
1112
|
yield* ds(n, t);
|
|
1113
|
-
},
|
|
1113
|
+
}, ps = async function* (e) {
|
|
1114
1114
|
if (e[Symbol.asyncIterator]) {
|
|
1115
1115
|
yield* e;
|
|
1116
1116
|
return;
|
|
@@ -1155,7 +1155,7 @@ const kt = (e) => {
|
|
|
1155
1155
|
}, {
|
|
1156
1156
|
highWaterMark: 2
|
|
1157
1157
|
});
|
|
1158
|
-
}, Ce = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Bt = Ce && typeof ReadableStream == "function",
|
|
1158
|
+
}, Ce = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Bt = Ce && typeof ReadableStream == "function", ms = Ce && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Ft = (e, ...t) => {
|
|
1159
1159
|
try {
|
|
1160
1160
|
return !!e(...t);
|
|
1161
1161
|
} catch {
|
|
@@ -1194,7 +1194,7 @@ const ys = async (e) => {
|
|
|
1194
1194
|
if (u.isArrayBufferView(e) || u.isArrayBuffer(e))
|
|
1195
1195
|
return e.byteLength;
|
|
1196
1196
|
if (u.isURLSearchParams(e) && (e = e + ""), u.isString(e))
|
|
1197
|
-
return (await
|
|
1197
|
+
return (await ms(e)).byteLength;
|
|
1198
1198
|
}, vs = async (e, t) => {
|
|
1199
1199
|
const n = u.toFiniteNumber(e.getContentLength());
|
|
1200
1200
|
return n ?? ys(t);
|
|
@@ -1214,7 +1214,7 @@ const ys = async (e) => {
|
|
|
1214
1214
|
fetchOptions: h
|
|
1215
1215
|
} = kt(e);
|
|
1216
1216
|
f = f ? (f + "").toLowerCase() : "text";
|
|
1217
|
-
let P = fs([i, r && r.toAbortSignal()], o),
|
|
1217
|
+
let P = fs([i, r && r.toAbortSignal()], o), p;
|
|
1218
1218
|
const _ = P && P.unsubscribe && (() => {
|
|
1219
1219
|
P.unsubscribe();
|
|
1220
1220
|
});
|
|
@@ -1236,7 +1236,7 @@ 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
|
+
p = new Request(t, {
|
|
1240
1240
|
...h,
|
|
1241
1241
|
signal: P,
|
|
1242
1242
|
method: n.toUpperCase(),
|
|
@@ -1245,7 +1245,7 @@ const ys = async (e) => {
|
|
|
1245
1245
|
duplex: "half",
|
|
1246
1246
|
credentials: R ? w : void 0
|
|
1247
1247
|
});
|
|
1248
|
-
let M = await fetch(
|
|
1248
|
+
let M = await fetch(p, h);
|
|
1249
1249
|
const T = Ze && (f === "stream" || f === "response");
|
|
1250
1250
|
if (Ze && (c || T && _)) {
|
|
1251
1251
|
const L = {};
|
|
@@ -1272,16 +1272,16 @@ const ys = async (e) => {
|
|
|
1272
1272
|
status: M.status,
|
|
1273
1273
|
statusText: M.statusText,
|
|
1274
1274
|
config: e,
|
|
1275
|
-
request:
|
|
1275
|
+
request: p
|
|
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, p),
|
|
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, p);
|
|
1285
1285
|
}
|
|
1286
1286
|
}), $e = {
|
|
1287
1287
|
http: Ln,
|
|
@@ -1356,7 +1356,7 @@ const Ut = "1.11.0", Ie = {};
|
|
|
1356
1356
|
return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1357
1357
|
};
|
|
1358
1358
|
});
|
|
1359
|
-
const
|
|
1359
|
+
const pt = {};
|
|
1360
1360
|
Ie.transitional = function(t, n, s) {
|
|
1361
1361
|
function i(r, o) {
|
|
1362
1362
|
return "[Axios v" + Ut + "] Transitional option '" + r + "'" + o + (s ? ". " + s : "");
|
|
@@ -1367,7 +1367,7 @@ Ie.transitional = function(t, n, s) {
|
|
|
1367
1367
|
i(o, " has been removed" + (n ? " in " + n : "")),
|
|
1368
1368
|
E.ERR_DEPRECATED
|
|
1369
1369
|
);
|
|
1370
|
-
return n && !
|
|
1370
|
+
return n && !pt[o] && (pt[o] = !0, console.warn(
|
|
1371
1371
|
i(
|
|
1372
1372
|
o,
|
|
1373
1373
|
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
@@ -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
|
+
(p) => {
|
|
1457
|
+
delete r[p];
|
|
1458
1458
|
}
|
|
1459
1459
|
), n.headers = U.concat(o, r);
|
|
1460
1460
|
const c = [];
|
|
@@ -1468,17 +1468,17 @@ 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 p = [ht.bind(this), void 0];
|
|
1472
|
+
for (p.unshift(...c), p.push(...f), h = p.length, d = Promise.resolve(n); w < h; )
|
|
1473
|
+
d = d.then(p[w++], p[w++]);
|
|
1474
1474
|
return d;
|
|
1475
1475
|
}
|
|
1476
1476
|
h = c.length;
|
|
1477
1477
|
let P = n;
|
|
1478
1478
|
for (w = 0; w < h; ) {
|
|
1479
|
-
const
|
|
1479
|
+
const p = c[w++], _ = c[w++];
|
|
1480
1480
|
try {
|
|
1481
|
-
P =
|
|
1481
|
+
P = p(P);
|
|
1482
1482
|
} catch (b) {
|
|
1483
1483
|
_.call(this, b);
|
|
1484
1484
|
break;
|
|
@@ -1486,8 +1486,8 @@ let te = class {
|
|
|
1486
1486
|
}
|
|
1487
1487
|
try {
|
|
1488
1488
|
d = ht.call(this, P);
|
|
1489
|
-
} catch (
|
|
1490
|
-
return Promise.reject(
|
|
1489
|
+
} catch (p) {
|
|
1490
|
+
return Promise.reject(p);
|
|
1491
1491
|
}
|
|
1492
1492
|
for (w = 0, h = f.length; w < h; )
|
|
1493
1493
|
d = d.then(f[w++], f[w++]);
|
|
@@ -1857,9 +1857,9 @@ 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([]), P = 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([]), P = t, p = e, _ = N.create({
|
|
1861
1861
|
headers: {
|
|
1862
|
-
Authorization: `${
|
|
1862
|
+
Authorization: `${p.token}`
|
|
1863
1863
|
}
|
|
1864
1864
|
}), b = O([]);
|
|
1865
1865
|
let R = null;
|
|
@@ -2080,8 +2080,8 @@ const {
|
|
|
2080
2080
|
];
|
|
2081
2081
|
function ae() {
|
|
2082
2082
|
if (Ne.value) {
|
|
2083
|
-
const l = Ne.value, a = l.scrollWidth - l.clientWidth,
|
|
2084
|
-
W.value = y &&
|
|
2083
|
+
const l = Ne.value, a = l.scrollWidth - l.clientWidth, m = l.scrollLeft, y = l.scrollWidth > l.clientWidth;
|
|
2084
|
+
W.value = y && m > 0, Z.value = y && Math.ceil(m) < 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 (p.isDefault) {
|
|
2103
2103
|
const l = qt.map((a) => {
|
|
2104
2104
|
if (!a.event) return a;
|
|
2105
|
-
const
|
|
2105
|
+
const m = a.event.filter((y) => !(y.icon === "icon-goal" && !p.goals || y.icon === "icon-yellow-card" && !p.yellowCards || y.icon === "icon-red-card" && !p.redCards || y.icon === "icon-change" && !p.substitutions));
|
|
2106
2106
|
return {
|
|
2107
2107
|
...a,
|
|
2108
|
-
event:
|
|
2108
|
+
event: m.length > 0 ? m : 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,10 +2114,10 @@ const {
|
|
|
2114
2114
|
try {
|
|
2115
2115
|
console.log(
|
|
2116
2116
|
"///////////////////////////////////////////////// Componente de timeline: ",
|
|
2117
|
-
|
|
2117
|
+
p.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/${p.gameId}`
|
|
2121
2121
|
);
|
|
2122
2122
|
if (l.data && l.data.plays) {
|
|
2123
2123
|
const a = l.data.plays.find(
|
|
@@ -2127,8 +2127,8 @@ const {
|
|
|
2127
2127
|
}
|
|
2128
2128
|
);
|
|
2129
2129
|
a && (o.value = a.minute);
|
|
2130
|
-
const
|
|
2131
|
-
v.value =
|
|
2130
|
+
const m = Math.max(...l.data.plays.map((y) => y.minute));
|
|
2131
|
+
v.value = m, K.value = m, s.value = K.value, h.value = [];
|
|
2132
2132
|
for (let y = 0; y <= o.value; y++) {
|
|
2133
2133
|
const g = l.data.plays.filter(
|
|
2134
2134
|
(x) => {
|
|
@@ -2141,10 +2141,10 @@ const {
|
|
|
2141
2141
|
minute: x.minute,
|
|
2142
2142
|
minuteLabel: x.event_type_id === 6 ? "MT" : x.minute.toString(),
|
|
2143
2143
|
icon: Qe(
|
|
2144
|
-
x.event_type_id === 1 || x.event_type_id ===
|
|
2144
|
+
x.event_type_id === 1 || x.event_type_id === 3 ? x.event_type_id : x.category_id,
|
|
2145
2145
|
x
|
|
2146
2146
|
),
|
|
2147
|
-
team: x.team_id ===
|
|
2147
|
+
team: x.team_id === p.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({
|
|
@@ -2162,10 +2162,10 @@ const {
|
|
|
2162
2162
|
minute: x.minute,
|
|
2163
2163
|
minuteLabel: x.event_type_id === 6 ? "MT" : x.minute.toString(),
|
|
2164
2164
|
icon: Qe(
|
|
2165
|
-
x.event_type_id === 1 || x.event_type_id ===
|
|
2165
|
+
x.event_type_id === 1 || x.event_type_id === 3 ? x.event_type_id : x.category_id,
|
|
2166
2166
|
x
|
|
2167
2167
|
),
|
|
2168
|
-
team: x.team_id ===
|
|
2168
|
+
team: x.team_id === p.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({
|
|
@@ -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) * (p.timelineWidth - 40), ce = x / (A - 1) * (p.timelineWidth - 40);
|
|
2199
2199
|
w.value = `${ce - F}px`;
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
|
@@ -2205,21 +2205,19 @@ const {
|
|
|
2205
2205
|
}
|
|
2206
2206
|
}
|
|
2207
2207
|
function Qe(l, a) {
|
|
2208
|
-
|
|
2209
|
-
3: "icon-goal",
|
|
2208
|
+
return {
|
|
2210
2209
|
1: "icon-goal",
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2210
|
+
8: "icon-yellow-card",
|
|
2211
|
+
9: "icon-red-card",
|
|
2212
|
+
3: "icon-change"
|
|
2214
2213
|
// Agregar más mapeos según sea necesario
|
|
2215
|
-
};
|
|
2216
|
-
return l === 2 ? "icon-yellow-card" : l === 9 ? a && a.comments && a.comments.includes("roja") ? "icon-red-card" : "icon-yellow-card" : p[l] || "";
|
|
2214
|
+
}[l] || "";
|
|
2217
2215
|
}
|
|
2218
2216
|
function Ye(l) {
|
|
2219
|
-
var a,
|
|
2220
|
-
return l.event_type_id === 1 || l.category_id === 3 || l.category_id === 13 ? !!
|
|
2217
|
+
var a, m;
|
|
2218
|
+
return l.event_type_id === 1 || l.category_id === 3 || l.category_id === 13 ? !!p.goals : l.event_type_id === 2 || l.category_id === 9 && !((a = l.comments) != null && a.includes("roja")) ? !!p.yellowCards : l.category_id === 9 && ((m = l.comments) != null && m.includes("roja")) ? !!p.redCards : l.category_id === 10 ? !!p.substitutions : !0;
|
|
2221
2219
|
}
|
|
2222
|
-
|
|
2220
|
+
mt(() => {
|
|
2223
2221
|
Wt(), Ge(), zt(), ie(() => {
|
|
2224
2222
|
ae();
|
|
2225
2223
|
}), window.addEventListener("resize", () => {
|
|
@@ -2249,8 +2247,8 @@ const {
|
|
|
2249
2247
|
if (i.value === "1") {
|
|
2250
2248
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2251
2249
|
if (l.length > 0) {
|
|
2252
|
-
const a = l[0],
|
|
2253
|
-
(n.value < a.minute || n.value >
|
|
2250
|
+
const a = l[0], m = l[l.length - 1];
|
|
2251
|
+
(n.value < a.minute || n.value > m.minute) && (n.value = a.minute);
|
|
2254
2252
|
const y = h.value.findIndex(
|
|
2255
2253
|
(g) => g.minute === n.value && g.match_lapse === 1
|
|
2256
2254
|
);
|
|
@@ -2259,8 +2257,8 @@ const {
|
|
|
2259
2257
|
} else if (i.value === "2") {
|
|
2260
2258
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2261
2259
|
if (l.length > 0) {
|
|
2262
|
-
const a = l[0],
|
|
2263
|
-
(n.value < a.minute || n.value >
|
|
2260
|
+
const a = l[0], m = l[l.length - 1];
|
|
2261
|
+
(n.value < a.minute || n.value > m.minute) && (n.value = a.minute);
|
|
2264
2262
|
const y = h.value.findIndex(
|
|
2265
2263
|
(g) => g.minute === n.value && g.match_lapse === 2
|
|
2266
2264
|
);
|
|
@@ -2272,20 +2270,20 @@ const {
|
|
|
2272
2270
|
if (l.length > 0) {
|
|
2273
2271
|
const a = l[0];
|
|
2274
2272
|
n.value = a.minute;
|
|
2275
|
-
const
|
|
2273
|
+
const m = h.value.findIndex(
|
|
2276
2274
|
(y) => y.minute === a.minute && y.match_lapse === 1
|
|
2277
2275
|
);
|
|
2278
|
-
|
|
2276
|
+
m !== -1 && (f.value = m);
|
|
2279
2277
|
}
|
|
2280
2278
|
} else if (i.value === "2") {
|
|
2281
2279
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2282
2280
|
if (l.length > 0) {
|
|
2283
2281
|
const a = l[0];
|
|
2284
2282
|
n.value = a.minute;
|
|
2285
|
-
const
|
|
2283
|
+
const m = h.value.findIndex(
|
|
2286
2284
|
(y) => y.minute === a.minute && y.match_lapse === 2
|
|
2287
2285
|
);
|
|
2288
|
-
|
|
2286
|
+
m !== -1 && (f.value = m);
|
|
2289
2287
|
}
|
|
2290
2288
|
}
|
|
2291
2289
|
$.value = !1, ue();
|
|
@@ -2300,8 +2298,8 @@ const {
|
|
|
2300
2298
|
if (r.value === "1") {
|
|
2301
2299
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2302
2300
|
if (l.length > 0) {
|
|
2303
|
-
const a = l[0],
|
|
2304
|
-
(s.value < a.minute || s.value >
|
|
2301
|
+
const a = l[0], m = l[l.length - 1];
|
|
2302
|
+
(s.value < a.minute || s.value > m.minute) && (s.value = m.minute);
|
|
2305
2303
|
const y = h.value.findIndex(
|
|
2306
2304
|
(g) => g.minute === s.value && g.match_lapse === 1
|
|
2307
2305
|
);
|
|
@@ -2310,8 +2308,8 @@ const {
|
|
|
2310
2308
|
} else if (r.value === "2") {
|
|
2311
2309
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2312
2310
|
if (l.length > 0) {
|
|
2313
|
-
const a = l[0],
|
|
2314
|
-
(s.value < a.minute || s.value >
|
|
2311
|
+
const a = l[0], m = l[l.length - 1];
|
|
2312
|
+
(s.value < a.minute || s.value > m.minute) && (s.value = m.minute);
|
|
2315
2313
|
const y = h.value.findIndex(
|
|
2316
2314
|
(g) => g.minute === s.value && g.match_lapse === 2
|
|
2317
2315
|
);
|
|
@@ -2323,20 +2321,20 @@ const {
|
|
|
2323
2321
|
if (l.length > 0) {
|
|
2324
2322
|
const a = l[l.length - 1];
|
|
2325
2323
|
s.value = a.minute;
|
|
2326
|
-
const
|
|
2324
|
+
const m = h.value.findIndex(
|
|
2327
2325
|
(y) => y.minute === a.minute && y.match_lapse === 1
|
|
2328
2326
|
);
|
|
2329
|
-
|
|
2327
|
+
m !== -1 && (d.value = m);
|
|
2330
2328
|
}
|
|
2331
2329
|
} else if (r.value === "2") {
|
|
2332
2330
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2333
2331
|
if (l.length > 0) {
|
|
2334
2332
|
const a = l[l.length - 1];
|
|
2335
2333
|
s.value = a.minute;
|
|
2336
|
-
const
|
|
2334
|
+
const m = h.value.findIndex(
|
|
2337
2335
|
(y) => y.minute === a.minute && y.match_lapse === 2
|
|
2338
2336
|
);
|
|
2339
|
-
|
|
2337
|
+
m !== -1 && (d.value = m);
|
|
2340
2338
|
}
|
|
2341
2339
|
}
|
|
2342
2340
|
$.value = !1, ue();
|
|
@@ -2348,8 +2346,8 @@ const {
|
|
|
2348
2346
|
if (i.value === "1") {
|
|
2349
2347
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2350
2348
|
if (l.length > 0) {
|
|
2351
|
-
const a = l[0],
|
|
2352
|
-
n.value < a.minute ? n.value = a.minute : n.value >
|
|
2349
|
+
const a = l[0], m = l[l.length - 1];
|
|
2350
|
+
n.value < a.minute ? n.value = a.minute : n.value > m.minute && (n.value = m.minute);
|
|
2353
2351
|
const y = h.value.findIndex(
|
|
2354
2352
|
(g) => g.minute === n.value && g.match_lapse === 1
|
|
2355
2353
|
);
|
|
@@ -2358,8 +2356,8 @@ const {
|
|
|
2358
2356
|
} else if (i.value === "2") {
|
|
2359
2357
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2360
2358
|
if (l.length > 0) {
|
|
2361
|
-
const a = l[0],
|
|
2362
|
-
n.value < a.minute ? n.value = a.minute : n.value >
|
|
2359
|
+
const a = l[0], m = l[l.length - 1];
|
|
2360
|
+
n.value < a.minute ? n.value = a.minute : n.value > m.minute && (n.value = m.minute);
|
|
2363
2361
|
const y = h.value.findIndex(
|
|
2364
2362
|
(g) => g.minute === n.value && g.match_lapse === 2
|
|
2365
2363
|
);
|
|
@@ -2388,8 +2386,8 @@ const {
|
|
|
2388
2386
|
if (r.value === "1") {
|
|
2389
2387
|
const l = h.value.filter((a) => a.match_lapse === 1);
|
|
2390
2388
|
if (l.length > 0) {
|
|
2391
|
-
const a = l[0],
|
|
2392
|
-
s.value < a.minute ? s.value = a.minute : s.value >
|
|
2389
|
+
const a = l[0], m = l[l.length - 1];
|
|
2390
|
+
s.value < a.minute ? s.value = a.minute : s.value > m.minute && (s.value = m.minute);
|
|
2393
2391
|
const y = h.value.findIndex(
|
|
2394
2392
|
(g) => g.minute === s.value && g.match_lapse === 1
|
|
2395
2393
|
);
|
|
@@ -2398,8 +2396,8 @@ const {
|
|
|
2398
2396
|
} else if (r.value === "2") {
|
|
2399
2397
|
const l = h.value.filter((a) => a.match_lapse === 2);
|
|
2400
2398
|
if (l.length > 0) {
|
|
2401
|
-
const a = l[0],
|
|
2402
|
-
s.value < a.minute ? s.value = a.minute : s.value >
|
|
2399
|
+
const a = l[0], m = l[l.length - 1];
|
|
2400
|
+
s.value < a.minute ? s.value = a.minute : s.value > m.minute && (s.value = m.minute);
|
|
2403
2401
|
const y = h.value.findIndex(
|
|
2404
2402
|
(g) => g.minute === s.value && g.match_lapse === 2
|
|
2405
2403
|
);
|
|
@@ -2426,12 +2424,12 @@ const {
|
|
|
2426
2424
|
});
|
|
2427
2425
|
function le(l) {
|
|
2428
2426
|
const a = h.value.length;
|
|
2429
|
-
return l < 0 || a === 0 || a === 1 ? "0px" : `${l / (a - 1) * (
|
|
2427
|
+
return l < 0 || a === 0 || a === 1 ? "0px" : `${l / (a - 1) * (p.timelineWidth - 40)}px`;
|
|
2430
2428
|
}
|
|
2431
2429
|
function Zt() {
|
|
2432
2430
|
const l = h.value.length;
|
|
2433
2431
|
if (l === 0 || l === 1) return "0px";
|
|
2434
|
-
const a = (l - 1) / (l - 1) * (
|
|
2432
|
+
const a = (l - 1) / (l - 1) * (p.timelineWidth - 40);
|
|
2435
2433
|
return `${parseInt(a) + 10}px`;
|
|
2436
2434
|
}
|
|
2437
2435
|
function V(l, a) {
|
|
@@ -2446,7 +2444,7 @@ const {
|
|
|
2446
2444
|
return;
|
|
2447
2445
|
J = !0;
|
|
2448
2446
|
}
|
|
2449
|
-
const
|
|
2447
|
+
const m = $t(), y = h.value.length, g = a - se, k = m / (y - 1), x = Math.round(g / k);
|
|
2450
2448
|
let A = Pe.value + x;
|
|
2451
2449
|
const F = Math.max(0, Math.min(A, y - 1));
|
|
2452
2450
|
if (R === "left") {
|
|
@@ -2472,7 +2470,7 @@ const {
|
|
|
2472
2470
|
(H) => H.minute === s.value && H.match_lapse === parseInt(r.value)
|
|
2473
2471
|
);
|
|
2474
2472
|
if (ce !== -1 && ke !== -1 && ce < ke) {
|
|
2475
|
-
const H = h.value.length, X = ce / (H - 1) * (
|
|
2473
|
+
const H = h.value.length, X = ce / (H - 1) * (p.timelineWidth - 40), G = ke / (H - 1) * (p.timelineWidth - 40);
|
|
2476
2474
|
w.value = `${G - X}px`;
|
|
2477
2475
|
}
|
|
2478
2476
|
ie(() => {
|
|
@@ -2506,12 +2504,12 @@ const {
|
|
|
2506
2504
|
}
|
|
2507
2505
|
function ue() {
|
|
2508
2506
|
const l = h.value.findIndex(
|
|
2509
|
-
(
|
|
2507
|
+
(m) => m.minute === n.value && m.match_lapse === parseInt(i.value)
|
|
2510
2508
|
), a = h.value.findIndex(
|
|
2511
|
-
(
|
|
2509
|
+
(m) => m.minute === s.value && m.match_lapse === parseInt(r.value)
|
|
2512
2510
|
);
|
|
2513
2511
|
if (l !== -1 && a !== -1 && l < a) {
|
|
2514
|
-
const
|
|
2512
|
+
const m = h.value.length, y = l / (m - 1) * (p.timelineWidth - 40), g = a / (m - 1) * (p.timelineWidth - 40);
|
|
2515
2513
|
w.value = `${g - y}px`;
|
|
2516
2514
|
}
|
|
2517
2515
|
}
|
|
@@ -2535,13 +2533,13 @@ const {
|
|
|
2535
2533
|
}, [
|
|
2536
2534
|
S("div", Os, [
|
|
2537
2535
|
S("img", {
|
|
2538
|
-
src:
|
|
2536
|
+
src: p.isDefault ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo1.png" : `https://golstatsimages.blob.core.windows.net/teams-80/${p.homeTeam}.png`,
|
|
2539
2537
|
alt: "Equipo local"
|
|
2540
2538
|
}, null, 8, Ms)
|
|
2541
2539
|
]),
|
|
2542
2540
|
S("div", As, [
|
|
2543
2541
|
S("img", {
|
|
2544
|
-
src:
|
|
2542
|
+
src: p.isDefault ? "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo2.png" : `https://golstatsimages.blob.core.windows.net/teams-80/${p.awayTeam}.png`,
|
|
2545
2543
|
alt: "Equipo visitante"
|
|
2546
2544
|
}, null, 8, Cs)
|
|
2547
2545
|
]),
|
|
@@ -2554,8 +2552,8 @@ const {
|
|
|
2554
2552
|
class: "minute-ball minute-ball-initial minute-ball-center",
|
|
2555
2553
|
style: Q({ left: le(0) })
|
|
2556
2554
|
}, "0'", 4),
|
|
2557
|
-
(C(!0), I(De, null, et(h.value, (
|
|
2558
|
-
(C(!0), I(De, null, et(
|
|
2555
|
+
(C(!0), I(De, null, et(h.value, (m, y) => (C(), I(De, null, [
|
|
2556
|
+
(C(!0), I(De, null, et(m.event, (g, k) => (C(), I("div", {
|
|
2559
2557
|
key: "event-" + y + "-" + k,
|
|
2560
2558
|
class: "event",
|
|
2561
2559
|
style: Q({
|
|
@@ -2596,15 +2594,15 @@ const {
|
|
|
2596
2594
|
fill: "#E5152D"
|
|
2597
2595
|
}, null, -1)
|
|
2598
2596
|
]))) : (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-
|
|
2597
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-79fd5517></circle><ellipse fill="none" cx="24" cy="24" rx="14.82" ry="14.85" data-v-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></path>', 14)
|
|
2600
2598
|
]))) : (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-
|
|
2599
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></path>', 5)
|
|
2602
2600
|
]))) : (C(), I("span", {
|
|
2603
2601
|
key: 4,
|
|
2604
2602
|
class: Be(g == null ? void 0 : g.icon)
|
|
2605
2603
|
}, null, 2))
|
|
2606
2604
|
])) : Fe("", !0),
|
|
2607
|
-
S("span", Fs, tt((g == null ? void 0 : g.minuteLabel) ||
|
|
2605
|
+
S("span", Fs, tt((g == null ? void 0 : g.minuteLabel) || m.minute) + "'", 1),
|
|
2608
2606
|
(g == null ? void 0 : g.team) === "visitante" ? (C(), I("span", Ds, [
|
|
2609
2607
|
(g == null ? void 0 : g.icon) === "icon-yellow-card" ? (C(), I("svg", Us, a[26] || (a[26] = [
|
|
2610
2608
|
S("rect", {
|
|
@@ -2639,9 +2637,9 @@ const {
|
|
|
2639
2637
|
fill: "#E5152D"
|
|
2640
2638
|
}, null, -1)
|
|
2641
2639
|
]))) : (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-
|
|
2640
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-79fd5517></circle><ellipse fill="none" cx="24" cy="24" rx="14.82" ry="14.85" data-v-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></path>', 14)
|
|
2643
2641
|
]))) : (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-
|
|
2642
|
+
be('<circle fill="none" cx="24" cy="24" r="24" data-v-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></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-79fd5517></path>', 5)
|
|
2645
2643
|
]))) : (C(), I("span", {
|
|
2646
2644
|
key: 4,
|
|
2647
2645
|
class: Be(g == null ? void 0 : g.icon)
|
|
@@ -2659,8 +2657,8 @@ const {
|
|
|
2659
2657
|
}, [
|
|
2660
2658
|
S("div", {
|
|
2661
2659
|
class: "handle left",
|
|
2662
|
-
onMousedown: a[4] || (a[4] = (
|
|
2663
|
-
onTouchstart: a[5] || (a[5] = (
|
|
2660
|
+
onMousedown: a[4] || (a[4] = (m) => V("left", m)),
|
|
2661
|
+
onTouchstart: a[5] || (a[5] = (m) => V("left", m))
|
|
2664
2662
|
}, [
|
|
2665
2663
|
(C(), I("svg", Ws, a[30] || (a[30] = [
|
|
2666
2664
|
S("polygon", { points: "6,8 0,0 12,0" }, null, -1)
|
|
@@ -2672,19 +2670,19 @@ const {
|
|
|
2672
2670
|
], 32),
|
|
2673
2671
|
S("span", {
|
|
2674
2672
|
class: "range-dot range-dot-left",
|
|
2675
|
-
onMousedown: a[6] || (a[6] = (
|
|
2676
|
-
onTouchstart: a[7] || (a[7] = (
|
|
2673
|
+
onMousedown: a[6] || (a[6] = (m) => V("left", m)),
|
|
2674
|
+
onTouchstart: a[7] || (a[7] = (m) => V("left", m))
|
|
2677
2675
|
}, null, 32),
|
|
2678
2676
|
a[36] || (a[36] = S("div", { class: "range-line" }, null, -1)),
|
|
2679
2677
|
S("span", {
|
|
2680
2678
|
class: "range-dot range-dot-right",
|
|
2681
|
-
onMousedown: a[8] || (a[8] = (
|
|
2682
|
-
onTouchstart: a[9] || (a[9] = (
|
|
2679
|
+
onMousedown: a[8] || (a[8] = (m) => V("right", m)),
|
|
2680
|
+
onTouchstart: a[9] || (a[9] = (m) => V("right", m))
|
|
2683
2681
|
}, null, 32),
|
|
2684
2682
|
S("div", {
|
|
2685
2683
|
class: "handle right",
|
|
2686
|
-
onMousedown: a[10] || (a[10] = (
|
|
2687
|
-
onTouchstart: a[11] || (a[11] = (
|
|
2684
|
+
onMousedown: a[10] || (a[10] = (m) => V("right", m)),
|
|
2685
|
+
onTouchstart: a[11] || (a[11] = (m) => V("right", m))
|
|
2688
2686
|
}, [
|
|
2689
2687
|
(C(), I("svg", Zs, a[33] || (a[33] = [
|
|
2690
2688
|
S("polygon", { points: "6,8 0,0 12,0" }, null, -1)
|
|
@@ -2701,7 +2699,7 @@ const {
|
|
|
2701
2699
|
])
|
|
2702
2700
|
], 6));
|
|
2703
2701
|
}
|
|
2704
|
-
}, Vs = /* @__PURE__ */ Rs(Js, [["__scopeId", "data-v-
|
|
2702
|
+
}, Vs = /* @__PURE__ */ Rs(Js, [["__scopeId", "data-v-79fd5517"]]), pi = {
|
|
2705
2703
|
__name: "gsc-timeline-reports",
|
|
2706
2704
|
props: {
|
|
2707
2705
|
gameId: {
|
|
@@ -2754,7 +2752,7 @@ const {
|
|
|
2754
2752
|
c !== v && setTimeout(() => {
|
|
2755
2753
|
i.value++;
|
|
2756
2754
|
}, 100);
|
|
2757
|
-
}),
|
|
2755
|
+
}), mt(() => {
|
|
2758
2756
|
ie(() => {
|
|
2759
2757
|
setTimeout(() => {
|
|
2760
2758
|
o();
|
|
@@ -2786,5 +2784,5 @@ const {
|
|
|
2786
2784
|
}
|
|
2787
2785
|
};
|
|
2788
2786
|
export {
|
|
2789
|
-
|
|
2787
|
+
pi as GSCTimelineReports
|
|
2790
2788
|
};
|