@golstats/gsc-lineups-reports 1.0.8 → 1.0.9
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 { createElementBlock as g, openBlock as m, Fragment as F, createCommentVNode as k, createElementVNode as o, createTextVNode as
|
|
1
|
+
import { createElementBlock as g, openBlock as m, Fragment as F, createCommentVNode as k, createElementVNode as o, createTextVNode as M, toDisplayString as T, normalizeStyle as q, normalizeClass as r, renderList as te, defineComponent as Et, inject as ve, reactive as Le, ref as H, h as ke, provide as pe, onMounted as xt, nextTick as Ms, onUnmounted as Bi, computed as Te, watch as ce, cloneVNode as ri, useCssVars as Re, createVNode as B, unref as It, withCtx as x, createBlock as ee, renderSlot as He, pushScopeId as Vi, popScopeId as Wi, resolveComponent as le, onBeforeMount as Ds, Transition as js, withDirectives as li, vShow as ci, createStaticVNode as qi } from "vue";
|
|
2
2
|
function zi(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
@@ -7,16 +7,16 @@ function zi(e, t) {
|
|
|
7
7
|
const { toString: Ps } = Object.prototype, { getPrototypeOf: Bt } = Object, { iterator: et, toStringTag: Ni } = Symbol, tt = /* @__PURE__ */ ((e) => (t) => {
|
|
8
8
|
const i = Ps.call(t);
|
|
9
9
|
return e[i] || (e[i] = i.slice(8, -1).toLowerCase());
|
|
10
|
-
})(/* @__PURE__ */ Object.create(null)), de = (e) => (e = e.toLowerCase(), (t) => tt(t) === e), it = (e) => (t) => typeof t === e, { isArray: Fe } = Array,
|
|
10
|
+
})(/* @__PURE__ */ Object.create(null)), de = (e) => (e = e.toLowerCase(), (t) => tt(t) === e), it = (e) => (t) => typeof t === e, { isArray: Fe } = Array, Ue = it("undefined");
|
|
11
11
|
function Ls(e) {
|
|
12
|
-
return e !== null && !
|
|
12
|
+
return e !== null && !Ue(e) && e.constructor !== null && !Ue(e.constructor) && ie(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13
13
|
}
|
|
14
|
-
const
|
|
15
|
-
function
|
|
14
|
+
const Gi = de("ArrayBuffer");
|
|
15
|
+
function Hs(e) {
|
|
16
16
|
let t;
|
|
17
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
17
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Gi(e.buffer), t;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const Us = it("string"), ie = it("function"), Xi = it("number"), st = (e) => e !== null && typeof e == "object", Es = (e) => e === !0 || e === !1, qe = (e) => {
|
|
20
20
|
if (tt(e) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const t = Bt(e);
|
|
@@ -25,7 +25,7 @@ const Hs = it("string"), ie = it("function"), Gi = it("number"), st = (e) => e !
|
|
|
25
25
|
let t;
|
|
26
26
|
return e && (typeof FormData == "function" && e instanceof FormData || ie(e.append) && ((t = tt(e)) === "formdata" || // detect form-data instance
|
|
27
27
|
t === "object" && ie(e.toString) && e.toString() === "[object FormData]"));
|
|
28
|
-
}, Ns = de("URLSearchParams"), [
|
|
28
|
+
}, Ns = de("URLSearchParams"), [Gs, Xs, Js, Ys] = ["ReadableStream", "Request", "Response", "Headers"].map(de), Ks = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
29
|
function Ee(e, t, { allOwnKeys: i = !1 } = {}) {
|
|
30
30
|
if (e === null || typeof e > "u")
|
|
31
31
|
return;
|
|
@@ -49,7 +49,7 @@ function Ji(e, t) {
|
|
|
49
49
|
return a;
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
-
const Se = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Yi = (e) => !
|
|
52
|
+
const Se = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Yi = (e) => !Ue(e) && e !== Se;
|
|
53
53
|
function kt() {
|
|
54
54
|
const { caseless: e } = Yi(this) && this || {}, t = {}, i = (s, a) => {
|
|
55
55
|
const n = e && Ji(t, a) || a;
|
|
@@ -83,7 +83,7 @@ const Zs = (e, t, i, { allOwnKeys: s } = {}) => (Ee(t, (a, n) => {
|
|
|
83
83
|
if (!e) return null;
|
|
84
84
|
if (Fe(e)) return e;
|
|
85
85
|
let t = e.length;
|
|
86
|
-
if (!
|
|
86
|
+
if (!Xi(t)) return null;
|
|
87
87
|
const i = new Array(t);
|
|
88
88
|
for (; t-- > 0; )
|
|
89
89
|
i[t] = e[t];
|
|
@@ -149,7 +149,7 @@ const fa = (e) => {
|
|
|
149
149
|
const n = Fe(s) ? [] : {};
|
|
150
150
|
return Ee(s, (l, d) => {
|
|
151
151
|
const p = i(l, a + 1);
|
|
152
|
-
!
|
|
152
|
+
!Ue(p) && (n[d] = p);
|
|
153
153
|
}), t[a] = void 0, n;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -165,20 +165,20 @@ const fa = (e) => {
|
|
|
165
165
|
ie(Se.postMessage)
|
|
166
166
|
), _a = typeof queueMicrotask < "u" ? queueMicrotask.bind(Se) : typeof process < "u" && process.nextTick || Zi, ba = (e) => e != null && ie(e[et]), C = {
|
|
167
167
|
isArray: Fe,
|
|
168
|
-
isArrayBuffer:
|
|
168
|
+
isArrayBuffer: Gi,
|
|
169
169
|
isBuffer: Ls,
|
|
170
170
|
isFormData: zs,
|
|
171
|
-
isArrayBufferView:
|
|
172
|
-
isString:
|
|
173
|
-
isNumber:
|
|
171
|
+
isArrayBufferView: Hs,
|
|
172
|
+
isString: Us,
|
|
173
|
+
isNumber: Xi,
|
|
174
174
|
isBoolean: Es,
|
|
175
175
|
isObject: st,
|
|
176
176
|
isPlainObject: qe,
|
|
177
|
-
isReadableStream:
|
|
178
|
-
isRequest:
|
|
177
|
+
isReadableStream: Gs,
|
|
178
|
+
isRequest: Xs,
|
|
179
179
|
isResponse: Js,
|
|
180
180
|
isHeaders: Ys,
|
|
181
|
-
isUndefined:
|
|
181
|
+
isUndefined: Ue,
|
|
182
182
|
isDate: xs,
|
|
183
183
|
isFile: Bs,
|
|
184
184
|
isBlob: Vs,
|
|
@@ -303,50 +303,50 @@ function at(e, t, i) {
|
|
|
303
303
|
const s = i.metaTokens, a = i.visitor || f, n = i.dots, l = i.indexes, p = (i.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(t);
|
|
304
304
|
if (!C.isFunction(a))
|
|
305
305
|
throw new TypeError("visitor must be a function");
|
|
306
|
-
function y(
|
|
307
|
-
if (
|
|
308
|
-
if (C.isDate(
|
|
309
|
-
return
|
|
310
|
-
if (C.isBoolean(
|
|
311
|
-
return
|
|
312
|
-
if (!p && C.isBlob(
|
|
306
|
+
function y(v) {
|
|
307
|
+
if (v === null) return "";
|
|
308
|
+
if (C.isDate(v))
|
|
309
|
+
return v.toISOString();
|
|
310
|
+
if (C.isBoolean(v))
|
|
311
|
+
return v.toString();
|
|
312
|
+
if (!p && C.isBlob(v))
|
|
313
313
|
throw new L("Blob is not supported. Use a Buffer instead.");
|
|
314
|
-
return C.isArrayBuffer(
|
|
314
|
+
return C.isArrayBuffer(v) || C.isTypedArray(v) ? p && typeof Blob == "function" ? new Blob([v]) : Buffer.from(v) : v;
|
|
315
315
|
}
|
|
316
|
-
function f(
|
|
317
|
-
let O =
|
|
318
|
-
if (
|
|
316
|
+
function f(v, _, u) {
|
|
317
|
+
let O = v;
|
|
318
|
+
if (v && !u && typeof v == "object") {
|
|
319
319
|
if (C.endsWith(_, "{}"))
|
|
320
|
-
_ = s ? _ : _.slice(0, -2),
|
|
321
|
-
else if (C.isArray(
|
|
322
|
-
return _ = ts(_), O.forEach(function(
|
|
323
|
-
!(C.isUndefined(
|
|
320
|
+
_ = s ? _ : _.slice(0, -2), v = JSON.stringify(v);
|
|
321
|
+
else if (C.isArray(v) && va(v) || (C.isFileList(v) || C.endsWith(_, "[]")) && (O = C.toArray(v)))
|
|
322
|
+
return _ = ts(_), O.forEach(function(b, h) {
|
|
323
|
+
!(C.isUndefined(b) || b === null) && t.append(
|
|
324
324
|
// eslint-disable-next-line no-nested-ternary
|
|
325
325
|
l === !0 ? hi([_], h, n) : l === null ? _ : _ + "[]",
|
|
326
|
-
y(
|
|
326
|
+
y(b)
|
|
327
327
|
);
|
|
328
328
|
}), !1;
|
|
329
329
|
}
|
|
330
|
-
return Ot(
|
|
330
|
+
return Ot(v) ? !0 : (t.append(hi(u, _, n), y(v)), !1);
|
|
331
331
|
}
|
|
332
|
-
const
|
|
332
|
+
const w = [], c = Object.assign(Sa, {
|
|
333
333
|
defaultVisitor: f,
|
|
334
334
|
convertValue: y,
|
|
335
335
|
isVisitable: Ot
|
|
336
336
|
});
|
|
337
|
-
function I(
|
|
338
|
-
if (!C.isUndefined(
|
|
339
|
-
if (
|
|
337
|
+
function I(v, _) {
|
|
338
|
+
if (!C.isUndefined(v)) {
|
|
339
|
+
if (w.indexOf(v) !== -1)
|
|
340
340
|
throw Error("Circular reference detected in " + _.join("."));
|
|
341
|
-
|
|
341
|
+
w.push(v), C.forEach(v, function(O, j) {
|
|
342
342
|
(!(C.isUndefined(O) || O === null) && a.call(
|
|
343
343
|
t,
|
|
344
344
|
O,
|
|
345
|
-
C.isString(
|
|
345
|
+
C.isString(j) ? j.trim() : j,
|
|
346
346
|
_,
|
|
347
347
|
c
|
|
348
|
-
)) === !0 && I(O, _ ? _.concat(
|
|
349
|
-
}),
|
|
348
|
+
)) === !0 && I(O, _ ? _.concat(j) : [j]);
|
|
349
|
+
}), w.pop();
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
if (!C.isObject(e))
|
|
@@ -467,7 +467,7 @@ const as = {
|
|
|
467
467
|
},
|
|
468
468
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
469
469
|
}, Wt = typeof window < "u" && typeof document < "u", Tt = typeof navigator == "object" && navigator || void 0, Ra = Wt && (!Tt || ["ReactNative", "NativeScript", "NS"].indexOf(Tt.product) < 0), Fa = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
470
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", $a = Wt && window.location.href || "http://localhost",
|
|
470
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", $a = Wt && window.location.href || "http://localhost", Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
471
471
|
__proto__: null,
|
|
472
472
|
hasBrowserEnv: Wt,
|
|
473
473
|
hasStandardBrowserEnv: Ra,
|
|
@@ -475,20 +475,20 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", $a
|
|
|
475
475
|
navigator: Tt,
|
|
476
476
|
origin: $a
|
|
477
477
|
}, Symbol.toStringTag, { value: "Module" })), K = {
|
|
478
|
-
...
|
|
478
|
+
...Aa,
|
|
479
479
|
...Ta
|
|
480
480
|
};
|
|
481
|
-
function
|
|
481
|
+
function Ma(e, t) {
|
|
482
482
|
return at(e, new K.classes.URLSearchParams(), Object.assign({
|
|
483
483
|
visitor: function(i, s, a, n) {
|
|
484
484
|
return K.isNode && C.isBuffer(i) ? (this.append(s, i.toString("base64")), !1) : n.defaultVisitor.apply(this, arguments);
|
|
485
485
|
}
|
|
486
486
|
}, t));
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function Da(e) {
|
|
489
489
|
return C.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function ja(e) {
|
|
492
492
|
const t = {}, i = Object.keys(e);
|
|
493
493
|
let s;
|
|
494
494
|
const a = i.length;
|
|
@@ -502,12 +502,12 @@ function ns(e) {
|
|
|
502
502
|
let l = i[n++];
|
|
503
503
|
if (l === "__proto__") return !0;
|
|
504
504
|
const d = Number.isFinite(+l), p = n >= i.length;
|
|
505
|
-
return l = !l && C.isArray(a) ? a.length : l, p ? (C.hasOwnProp(a, l) ? a[l] = [a[l], s] : a[l] = s, !d) : ((!a[l] || !C.isObject(a[l])) && (a[l] = []), t(i, s, a[l], n) && C.isArray(a[l]) && (a[l] =
|
|
505
|
+
return l = !l && C.isArray(a) ? a.length : l, p ? (C.hasOwnProp(a, l) ? a[l] = [a[l], s] : a[l] = s, !d) : ((!a[l] || !C.isObject(a[l])) && (a[l] = []), t(i, s, a[l], n) && C.isArray(a[l]) && (a[l] = ja(a[l])), !d);
|
|
506
506
|
}
|
|
507
507
|
if (C.isFormData(e) && C.isFunction(e.entries)) {
|
|
508
508
|
const i = {};
|
|
509
509
|
return C.forEachEntry(e, (s, a) => {
|
|
510
|
-
t(
|
|
510
|
+
t(Da(s), a, i, 0);
|
|
511
511
|
}), i;
|
|
512
512
|
}
|
|
513
513
|
return null;
|
|
@@ -538,7 +538,7 @@ const xe = {
|
|
|
538
538
|
let d;
|
|
539
539
|
if (n) {
|
|
540
540
|
if (s.indexOf("application/x-www-form-urlencoded") > -1)
|
|
541
|
-
return
|
|
541
|
+
return Ma(t, this.formSerializer).toString();
|
|
542
542
|
if ((d = C.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
|
|
543
543
|
const p = this.env && this.env.FormData;
|
|
544
544
|
return at(
|
|
@@ -609,7 +609,7 @@ const La = C.toObjectSet([
|
|
|
609
609
|
"referer",
|
|
610
610
|
"retry-after",
|
|
611
611
|
"user-agent"
|
|
612
|
-
]),
|
|
612
|
+
]), Ha = (e) => {
|
|
613
613
|
const t = {};
|
|
614
614
|
let i, s, a;
|
|
615
615
|
return e && e.split(`
|
|
@@ -617,13 +617,13 @@ const La = C.toObjectSet([
|
|
|
617
617
|
a = l.indexOf(":"), i = l.substring(0, a).trim().toLowerCase(), s = l.substring(a + 1).trim(), !(!i || t[i] && La[i]) && (i === "set-cookie" ? t[i] ? t[i].push(s) : t[i] = [s] : t[i] = t[i] ? t[i] + ", " + s : s);
|
|
618
618
|
}), t;
|
|
619
619
|
}, pi = Symbol("internals");
|
|
620
|
-
function
|
|
620
|
+
function De(e) {
|
|
621
621
|
return e && String(e).trim().toLowerCase();
|
|
622
622
|
}
|
|
623
623
|
function ze(e) {
|
|
624
624
|
return e === !1 || e == null ? e : C.isArray(e) ? e.map(ze) : String(e);
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Ua(e) {
|
|
627
627
|
const t = /* @__PURE__ */ Object.create(null), i = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
628
628
|
let s;
|
|
629
629
|
for (; s = i.exec(e); )
|
|
@@ -662,17 +662,17 @@ let se = class {
|
|
|
662
662
|
set(t, i, s) {
|
|
663
663
|
const a = this;
|
|
664
664
|
function n(d, p, y) {
|
|
665
|
-
const f =
|
|
665
|
+
const f = De(p);
|
|
666
666
|
if (!f)
|
|
667
667
|
throw new Error("header name must be a non-empty string");
|
|
668
|
-
const
|
|
669
|
-
(!
|
|
668
|
+
const w = C.findKey(a, f);
|
|
669
|
+
(!w || a[w] === void 0 || y === !0 || y === void 0 && a[w] !== !1) && (a[w || p] = ze(d));
|
|
670
670
|
}
|
|
671
671
|
const l = (d, p) => C.forEach(d, (y, f) => n(y, f, p));
|
|
672
672
|
if (C.isPlainObject(t) || t instanceof this.constructor)
|
|
673
673
|
l(t, i);
|
|
674
674
|
else if (C.isString(t) && (t = t.trim()) && !Ea(t))
|
|
675
|
-
l(
|
|
675
|
+
l(Ha(t), i);
|
|
676
676
|
else if (C.isObject(t) && C.isIterable(t)) {
|
|
677
677
|
let d = {}, p, y;
|
|
678
678
|
for (const f of t) {
|
|
@@ -686,14 +686,14 @@ let se = class {
|
|
|
686
686
|
return this;
|
|
687
687
|
}
|
|
688
688
|
get(t, i) {
|
|
689
|
-
if (t =
|
|
689
|
+
if (t = De(t), t) {
|
|
690
690
|
const s = C.findKey(this, t);
|
|
691
691
|
if (s) {
|
|
692
692
|
const a = this[s];
|
|
693
693
|
if (!i)
|
|
694
694
|
return a;
|
|
695
695
|
if (i === !0)
|
|
696
|
-
return
|
|
696
|
+
return Ua(a);
|
|
697
697
|
if (C.isFunction(i))
|
|
698
698
|
return i.call(this, a, s);
|
|
699
699
|
if (C.isRegExp(i))
|
|
@@ -703,7 +703,7 @@ let se = class {
|
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
705
|
has(t, i) {
|
|
706
|
-
if (t =
|
|
706
|
+
if (t = De(t), t) {
|
|
707
707
|
const s = C.findKey(this, t);
|
|
708
708
|
return !!(s && this[s] !== void 0 && (!i || yt(this, this[s], s, i)));
|
|
709
709
|
}
|
|
@@ -713,7 +713,7 @@ let se = class {
|
|
|
713
713
|
const s = this;
|
|
714
714
|
let a = !1;
|
|
715
715
|
function n(l) {
|
|
716
|
-
if (l =
|
|
716
|
+
if (l = De(l), l) {
|
|
717
717
|
const d = C.findKey(s, l);
|
|
718
718
|
d && (!i || yt(s, s[d], d, i)) && (delete s[d], a = !0);
|
|
719
719
|
}
|
|
@@ -775,7 +775,7 @@ let se = class {
|
|
|
775
775
|
accessors: {}
|
|
776
776
|
}).accessors, a = this.prototype;
|
|
777
777
|
function n(l) {
|
|
778
|
-
const d =
|
|
778
|
+
const d = De(l);
|
|
779
779
|
s[d] || (Ba(a, l), s[d] = !0);
|
|
780
780
|
}
|
|
781
781
|
return C.isArray(t) ? t.forEach(n) : n(t), this;
|
|
@@ -829,9 +829,9 @@ function Wa(e, t) {
|
|
|
829
829
|
return t = t !== void 0 ? t : 1e3, function(p) {
|
|
830
830
|
const y = Date.now(), f = s[n];
|
|
831
831
|
l || (l = y), i[a] = p, s[a] = y;
|
|
832
|
-
let
|
|
833
|
-
for (;
|
|
834
|
-
c += i[
|
|
832
|
+
let w = n, c = 0;
|
|
833
|
+
for (; w !== a; )
|
|
834
|
+
c += i[w++], w = w % e;
|
|
835
835
|
if (a = (a + 1) % e, a === n && (n = (n + 1) % e), y - l < t)
|
|
836
836
|
return;
|
|
837
837
|
const I = f && y - f;
|
|
@@ -844,10 +844,10 @@ function qa(e, t) {
|
|
|
844
844
|
i = f, a = null, n && (clearTimeout(n), n = null), e.apply(null, y);
|
|
845
845
|
};
|
|
846
846
|
return [(...y) => {
|
|
847
|
-
const f = Date.now(),
|
|
848
|
-
|
|
847
|
+
const f = Date.now(), w = f - i;
|
|
848
|
+
w >= s ? l(y, f) : (a = y, n || (n = setTimeout(() => {
|
|
849
849
|
n = null, l(a);
|
|
850
|
-
}, s -
|
|
850
|
+
}, s - w)));
|
|
851
851
|
}, () => a && l(a)];
|
|
852
852
|
}
|
|
853
853
|
const Ze = (e, t, i = 3) => {
|
|
@@ -856,7 +856,7 @@ const Ze = (e, t, i = 3) => {
|
|
|
856
856
|
return qa((n) => {
|
|
857
857
|
const l = n.loaded, d = n.lengthComputable ? n.total : void 0, p = l - s, y = a(p), f = l <= d;
|
|
858
858
|
s = l;
|
|
859
|
-
const
|
|
859
|
+
const w = {
|
|
860
860
|
loaded: l,
|
|
861
861
|
total: d,
|
|
862
862
|
progress: d ? l / d : void 0,
|
|
@@ -867,7 +867,7 @@ const Ze = (e, t, i = 3) => {
|
|
|
867
867
|
lengthComputable: d != null,
|
|
868
868
|
[t ? "download" : "upload"]: !0
|
|
869
869
|
};
|
|
870
|
-
e(
|
|
870
|
+
e(w);
|
|
871
871
|
}, i);
|
|
872
872
|
}, fi = (e, t) => {
|
|
873
873
|
const i = e != null;
|
|
@@ -906,28 +906,28 @@ const Ze = (e, t, i = 3) => {
|
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
908
|
);
|
|
909
|
-
function
|
|
909
|
+
function Ga(e) {
|
|
910
910
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
911
911
|
}
|
|
912
|
-
function
|
|
912
|
+
function Xa(e, t) {
|
|
913
913
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
914
914
|
}
|
|
915
915
|
function ls(e, t, i) {
|
|
916
|
-
let s = !
|
|
917
|
-
return e && (s || i == !1) ?
|
|
916
|
+
let s = !Ga(t);
|
|
917
|
+
return e && (s || i == !1) ? Xa(e, t) : t;
|
|
918
918
|
}
|
|
919
919
|
const yi = (e) => e instanceof se ? { ...e } : e;
|
|
920
920
|
function Ie(e, t) {
|
|
921
921
|
t = t || {};
|
|
922
922
|
const i = {};
|
|
923
|
-
function s(y, f,
|
|
923
|
+
function s(y, f, w, c) {
|
|
924
924
|
return C.isPlainObject(y) && C.isPlainObject(f) ? C.merge.call({ caseless: c }, y, f) : C.isPlainObject(f) ? C.merge({}, f) : C.isArray(f) ? f.slice() : f;
|
|
925
925
|
}
|
|
926
|
-
function a(y, f,
|
|
926
|
+
function a(y, f, w, c) {
|
|
927
927
|
if (C.isUndefined(f)) {
|
|
928
928
|
if (!C.isUndefined(y))
|
|
929
|
-
return s(void 0, y,
|
|
930
|
-
} else return s(y, f,
|
|
929
|
+
return s(void 0, y, w, c);
|
|
930
|
+
} else return s(y, f, w, c);
|
|
931
931
|
}
|
|
932
932
|
function n(y, f) {
|
|
933
933
|
if (!C.isUndefined(f))
|
|
@@ -939,10 +939,10 @@ function Ie(e, t) {
|
|
|
939
939
|
return s(void 0, y);
|
|
940
940
|
} else return s(void 0, f);
|
|
941
941
|
}
|
|
942
|
-
function d(y, f,
|
|
943
|
-
if (
|
|
942
|
+
function d(y, f, w) {
|
|
943
|
+
if (w in t)
|
|
944
944
|
return s(y, f);
|
|
945
|
-
if (
|
|
945
|
+
if (w in e)
|
|
946
946
|
return s(void 0, y);
|
|
947
947
|
}
|
|
948
948
|
const p = {
|
|
@@ -974,11 +974,11 @@ function Ie(e, t) {
|
|
|
974
974
|
socketPath: l,
|
|
975
975
|
responseEncoding: l,
|
|
976
976
|
validateStatus: d,
|
|
977
|
-
headers: (y, f,
|
|
977
|
+
headers: (y, f, w) => a(yi(y), yi(f), w, !0)
|
|
978
978
|
};
|
|
979
979
|
return C.forEach(Object.keys(Object.assign({}, e, t)), function(f) {
|
|
980
|
-
const
|
|
981
|
-
C.isUndefined(c) &&
|
|
980
|
+
const w = p[f] || a, c = w(e[f], t[f], f);
|
|
981
|
+
C.isUndefined(c) && w !== d || (i[f] = c);
|
|
982
982
|
}), i;
|
|
983
983
|
}
|
|
984
984
|
const cs = (e) => {
|
|
@@ -993,7 +993,7 @@ const cs = (e) => {
|
|
|
993
993
|
if (K.hasStandardBrowserEnv || K.hasStandardBrowserWebWorkerEnv)
|
|
994
994
|
l.setContentType(void 0);
|
|
995
995
|
else if ((p = l.getContentType()) !== !1) {
|
|
996
|
-
const [y, ...f] = p ? p.split(";").map((
|
|
996
|
+
const [y, ...f] = p ? p.split(";").map((w) => w.trim()).filter(Boolean) : [];
|
|
997
997
|
l.setContentType([y || "multipart/form-data", ...f].join("; "));
|
|
998
998
|
}
|
|
999
999
|
}
|
|
@@ -1007,22 +1007,22 @@ const cs = (e) => {
|
|
|
1007
1007
|
const a = cs(e);
|
|
1008
1008
|
let n = a.data;
|
|
1009
1009
|
const l = se.from(a.headers).normalize();
|
|
1010
|
-
let { responseType: d, onUploadProgress: p, onDownloadProgress: y } = a, f,
|
|
1010
|
+
let { responseType: d, onUploadProgress: p, onDownloadProgress: y } = a, f, w, c, I, v;
|
|
1011
1011
|
function _() {
|
|
1012
|
-
I && I(),
|
|
1012
|
+
I && I(), v && v(), a.cancelToken && a.cancelToken.unsubscribe(f), a.signal && a.signal.removeEventListener("abort", f);
|
|
1013
1013
|
}
|
|
1014
1014
|
let u = new XMLHttpRequest();
|
|
1015
1015
|
u.open(a.method.toUpperCase(), a.url, !0), u.timeout = a.timeout;
|
|
1016
1016
|
function O() {
|
|
1017
1017
|
if (!u)
|
|
1018
1018
|
return;
|
|
1019
|
-
const
|
|
1019
|
+
const b = se.from(
|
|
1020
1020
|
"getAllResponseHeaders" in u && u.getAllResponseHeaders()
|
|
1021
1021
|
), S = {
|
|
1022
1022
|
data: !d || d === "text" || d === "json" ? u.responseText : u.response,
|
|
1023
1023
|
status: u.status,
|
|
1024
1024
|
statusText: u.statusText,
|
|
1025
|
-
headers:
|
|
1025
|
+
headers: b,
|
|
1026
1026
|
config: e,
|
|
1027
1027
|
request: u
|
|
1028
1028
|
};
|
|
@@ -1049,12 +1049,12 @@ const cs = (e) => {
|
|
|
1049
1049
|
)), u = null;
|
|
1050
1050
|
}, n === void 0 && l.setContentType(null), "setRequestHeader" in u && C.forEach(l.toJSON(), function(h, S) {
|
|
1051
1051
|
u.setRequestHeader(S, h);
|
|
1052
|
-
}), C.isUndefined(a.withCredentials) || (u.withCredentials = !!a.withCredentials), d && d !== "json" && (u.responseType = a.responseType), y && ([c,
|
|
1053
|
-
u && (s(!
|
|
1052
|
+
}), C.isUndefined(a.withCredentials) || (u.withCredentials = !!a.withCredentials), d && d !== "json" && (u.responseType = a.responseType), y && ([c, v] = Ze(y, !0), u.addEventListener("progress", c)), p && u.upload && ([w, I] = Ze(p), u.upload.addEventListener("progress", w), u.upload.addEventListener("loadend", I)), (a.cancelToken || a.signal) && (f = (b) => {
|
|
1053
|
+
u && (s(!b || b.type ? new $e(null, e, u) : b), u.abort(), u = null);
|
|
1054
1054
|
}, a.cancelToken && a.cancelToken.subscribe(f), a.signal && (a.signal.aborted ? f() : a.signal.addEventListener("abort", f)));
|
|
1055
|
-
const
|
|
1056
|
-
if (
|
|
1057
|
-
s(new L("Unsupported protocol " +
|
|
1055
|
+
const j = Va(a.url);
|
|
1056
|
+
if (j && K.protocols.indexOf(j) === -1) {
|
|
1057
|
+
s(new L("Unsupported protocol " + j + ":", L.ERR_BAD_REQUEST, e));
|
|
1058
1058
|
return;
|
|
1059
1059
|
}
|
|
1060
1060
|
u.send(n || null);
|
|
@@ -1123,9 +1123,9 @@ const cs = (e) => {
|
|
|
1123
1123
|
d(), p.close();
|
|
1124
1124
|
return;
|
|
1125
1125
|
}
|
|
1126
|
-
let
|
|
1126
|
+
let w = f.byteLength;
|
|
1127
1127
|
if (i) {
|
|
1128
|
-
let c = n +=
|
|
1128
|
+
let c = n += w;
|
|
1129
1129
|
i(c);
|
|
1130
1130
|
}
|
|
1131
1131
|
p.enqueue(new Uint8Array(f));
|
|
@@ -1194,11 +1194,11 @@ const an = async (e) => {
|
|
|
1194
1194
|
onUploadProgress: p,
|
|
1195
1195
|
responseType: y,
|
|
1196
1196
|
headers: f,
|
|
1197
|
-
withCredentials:
|
|
1197
|
+
withCredentials: w = "same-origin",
|
|
1198
1198
|
fetchOptions: c
|
|
1199
1199
|
} = cs(e);
|
|
1200
1200
|
y = y ? (y + "").toLowerCase() : "text";
|
|
1201
|
-
let I = Ka([a, n && n.toAbortSignal()], l),
|
|
1201
|
+
let I = Ka([a, n && n.toAbortSignal()], l), v;
|
|
1202
1202
|
const _ = I && I.unsubscribe && (() => {
|
|
1203
1203
|
I.unsubscribe();
|
|
1204
1204
|
});
|
|
@@ -1211,61 +1211,61 @@ const an = async (e) => {
|
|
|
1211
1211
|
duplex: "half"
|
|
1212
1212
|
}), $;
|
|
1213
1213
|
if (C.isFormData(s) && ($ = S.headers.get("content-type")) && f.setContentType($), S.body) {
|
|
1214
|
-
const [V,
|
|
1214
|
+
const [V, D] = fi(
|
|
1215
1215
|
u,
|
|
1216
1216
|
Ze(gi(p))
|
|
1217
1217
|
);
|
|
1218
|
-
s = _i(S.body, bi, V,
|
|
1218
|
+
s = _i(S.body, bi, V, D);
|
|
1219
1219
|
}
|
|
1220
1220
|
}
|
|
1221
|
-
C.isString(
|
|
1221
|
+
C.isString(w) || (w = w ? "include" : "omit");
|
|
1222
1222
|
const O = "credentials" in Request.prototype;
|
|
1223
|
-
|
|
1223
|
+
v = new Request(t, {
|
|
1224
1224
|
...c,
|
|
1225
1225
|
signal: I,
|
|
1226
1226
|
method: i.toUpperCase(),
|
|
1227
1227
|
headers: f.normalize().toJSON(),
|
|
1228
1228
|
body: s,
|
|
1229
1229
|
duplex: "half",
|
|
1230
|
-
credentials: O ?
|
|
1230
|
+
credentials: O ? w : void 0
|
|
1231
1231
|
});
|
|
1232
|
-
let
|
|
1233
|
-
const
|
|
1234
|
-
if (Rt && (d ||
|
|
1232
|
+
let j = await fetch(v, c);
|
|
1233
|
+
const b = Rt && (y === "stream" || y === "response");
|
|
1234
|
+
if (Rt && (d || b && _)) {
|
|
1235
1235
|
const S = {};
|
|
1236
1236
|
["status", "statusText", "headers"].forEach((z) => {
|
|
1237
|
-
S[z] =
|
|
1237
|
+
S[z] = j[z];
|
|
1238
1238
|
});
|
|
1239
|
-
const $ = C.toFiniteNumber(
|
|
1239
|
+
const $ = C.toFiniteNumber(j.headers.get("content-length")), [V, D] = d && fi(
|
|
1240
1240
|
$,
|
|
1241
1241
|
Ze(gi(d), !0)
|
|
1242
1242
|
) || [];
|
|
1243
|
-
|
|
1244
|
-
_i(
|
|
1245
|
-
|
|
1243
|
+
j = new Response(
|
|
1244
|
+
_i(j.body, bi, V, () => {
|
|
1245
|
+
D && D(), _ && _();
|
|
1246
1246
|
}),
|
|
1247
1247
|
S
|
|
1248
1248
|
);
|
|
1249
1249
|
}
|
|
1250
1250
|
y = y || "text";
|
|
1251
|
-
let h = await Qe[C.findKey(Qe, y) || "text"](
|
|
1252
|
-
return !
|
|
1251
|
+
let h = await Qe[C.findKey(Qe, y) || "text"](j, e);
|
|
1252
|
+
return !b && _ && _(), await new Promise((S, $) => {
|
|
1253
1253
|
rs(S, $, {
|
|
1254
1254
|
data: h,
|
|
1255
|
-
headers: se.from(
|
|
1256
|
-
status:
|
|
1257
|
-
statusText:
|
|
1255
|
+
headers: se.from(j.headers),
|
|
1256
|
+
status: j.status,
|
|
1257
|
+
statusText: j.statusText,
|
|
1258
1258
|
config: e,
|
|
1259
|
-
request:
|
|
1259
|
+
request: v
|
|
1260
1260
|
});
|
|
1261
1261
|
});
|
|
1262
1262
|
} catch (O) {
|
|
1263
1263
|
throw _ && _(), O && O.name === "TypeError" && /Load failed|fetch/i.test(O.message) ? Object.assign(
|
|
1264
|
-
new L("Network Error", L.ERR_NETWORK, e,
|
|
1264
|
+
new L("Network Error", L.ERR_NETWORK, e, v),
|
|
1265
1265
|
{
|
|
1266
1266
|
cause: O.cause || O
|
|
1267
1267
|
}
|
|
1268
|
-
) : L.from(O, O && O.code, e,
|
|
1268
|
+
) : L.from(O, O && O.code, e, v);
|
|
1269
1269
|
}
|
|
1270
1270
|
}), Ft = {
|
|
1271
1271
|
http: wa,
|
|
@@ -1437,8 +1437,8 @@ let Ce = class {
|
|
|
1437
1437
|
);
|
|
1438
1438
|
n && C.forEach(
|
|
1439
1439
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1440
|
-
(
|
|
1441
|
-
delete n[
|
|
1440
|
+
(v) => {
|
|
1441
|
+
delete n[v];
|
|
1442
1442
|
}
|
|
1443
1443
|
), i.headers = se.concat(l, n);
|
|
1444
1444
|
const d = [];
|
|
@@ -1450,19 +1450,19 @@ let Ce = class {
|
|
|
1450
1450
|
this.interceptors.response.forEach(function(_) {
|
|
1451
1451
|
y.push(_.fulfilled, _.rejected);
|
|
1452
1452
|
});
|
|
1453
|
-
let f,
|
|
1453
|
+
let f, w = 0, c;
|
|
1454
1454
|
if (!p) {
|
|
1455
|
-
const
|
|
1456
|
-
for (
|
|
1457
|
-
f = f.then(w
|
|
1455
|
+
const v = [vi.bind(this), void 0];
|
|
1456
|
+
for (v.unshift.apply(v, d), v.push.apply(v, y), c = v.length, f = Promise.resolve(i); w < c; )
|
|
1457
|
+
f = f.then(v[w++], v[w++]);
|
|
1458
1458
|
return f;
|
|
1459
1459
|
}
|
|
1460
1460
|
c = d.length;
|
|
1461
1461
|
let I = i;
|
|
1462
|
-
for (
|
|
1463
|
-
const
|
|
1462
|
+
for (w = 0; w < c; ) {
|
|
1463
|
+
const v = d[w++], _ = d[w++];
|
|
1464
1464
|
try {
|
|
1465
|
-
I =
|
|
1465
|
+
I = v(I);
|
|
1466
1466
|
} catch (u) {
|
|
1467
1467
|
_.call(this, u);
|
|
1468
1468
|
break;
|
|
@@ -1470,11 +1470,11 @@ let Ce = class {
|
|
|
1470
1470
|
}
|
|
1471
1471
|
try {
|
|
1472
1472
|
f = vi.call(this, I);
|
|
1473
|
-
} catch (
|
|
1474
|
-
return Promise.reject(
|
|
1473
|
+
} catch (v) {
|
|
1474
|
+
return Promise.reject(v);
|
|
1475
1475
|
}
|
|
1476
|
-
for (
|
|
1477
|
-
f = f.then(y[
|
|
1476
|
+
for (w = 0, c = y.length; w < c; )
|
|
1477
|
+
f = f.then(y[w++], y[w++]);
|
|
1478
1478
|
return f;
|
|
1479
1479
|
}
|
|
1480
1480
|
getUri(t) {
|
|
@@ -1686,8 +1686,8 @@ const {
|
|
|
1686
1686
|
Axios: qf,
|
|
1687
1687
|
AxiosError: zf,
|
|
1688
1688
|
CanceledError: Nf,
|
|
1689
|
-
isCancel:
|
|
1690
|
-
CancelToken:
|
|
1689
|
+
isCancel: Gf,
|
|
1690
|
+
CancelToken: Xf,
|
|
1691
1691
|
VERSION: Jf,
|
|
1692
1692
|
all: Yf,
|
|
1693
1693
|
Cancel: Kf,
|
|
@@ -1707,11 +1707,11 @@ ue.pong = "3";
|
|
|
1707
1707
|
ue.message = "4";
|
|
1708
1708
|
ue.upgrade = "5";
|
|
1709
1709
|
ue.noop = "6";
|
|
1710
|
-
const
|
|
1710
|
+
const Ge = /* @__PURE__ */ Object.create(null);
|
|
1711
1711
|
Object.keys(ue).forEach((e) => {
|
|
1712
|
-
|
|
1712
|
+
Ge[ue[e]] = e;
|
|
1713
1713
|
});
|
|
1714
|
-
const
|
|
1714
|
+
const At = { type: "error", data: "parser error" }, gs = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", ys = typeof ArrayBuffer == "function", _s = (e) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(e) : e && e.buffer instanceof ArrayBuffer, qt = ({ type: e, data: t }, i, s) => gs && t instanceof Blob ? i ? s(t) : Ci(t, s) : ys && (t instanceof ArrayBuffer || _s(t)) ? i ? s(t) : Ci(new Blob([t]), s) : s(ue[e] + (t || "")), Ci = (e, t) => {
|
|
1715
1715
|
const i = new FileReader();
|
|
1716
1716
|
return i.onload = function() {
|
|
1717
1717
|
const s = i.result.split(",")[1];
|
|
@@ -1751,12 +1751,12 @@ const mn = (e) => {
|
|
|
1751
1751
|
return i === "b" ? {
|
|
1752
1752
|
type: "message",
|
|
1753
1753
|
data: fn(e.substring(1), t)
|
|
1754
|
-
} :
|
|
1755
|
-
type:
|
|
1754
|
+
} : Ge[i] ? e.length > 1 ? {
|
|
1755
|
+
type: Ge[i],
|
|
1756
1756
|
data: e.substring(1)
|
|
1757
1757
|
} : {
|
|
1758
|
-
type:
|
|
1759
|
-
} :
|
|
1758
|
+
type: Ge[i]
|
|
1759
|
+
} : At;
|
|
1760
1760
|
}, fn = (e, t) => {
|
|
1761
1761
|
if (pn) {
|
|
1762
1762
|
const i = mn(e);
|
|
@@ -1845,7 +1845,7 @@ function bn(e, t) {
|
|
|
1845
1845
|
break;
|
|
1846
1846
|
const p = We(i, 8), y = new DataView(p.buffer, p.byteOffset, p.length), f = y.getUint32(0);
|
|
1847
1847
|
if (f > Math.pow(2, 21) - 1) {
|
|
1848
|
-
d.enqueue(
|
|
1848
|
+
d.enqueue(At);
|
|
1849
1849
|
break;
|
|
1850
1850
|
}
|
|
1851
1851
|
a = f * Math.pow(2, 32) + y.getUint32(4), s = 3;
|
|
@@ -1856,7 +1856,7 @@ function bn(e, t) {
|
|
|
1856
1856
|
d.enqueue(zt(n ? p : vt.decode(p), t)), s = 0;
|
|
1857
1857
|
}
|
|
1858
1858
|
if (a === 0 || a > e) {
|
|
1859
|
-
d.enqueue(
|
|
1859
|
+
d.enqueue(At);
|
|
1860
1860
|
break;
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
@@ -1864,24 +1864,24 @@ function bn(e, t) {
|
|
|
1864
1864
|
});
|
|
1865
1865
|
}
|
|
1866
1866
|
const vs = 4;
|
|
1867
|
-
function
|
|
1867
|
+
function G(e) {
|
|
1868
1868
|
if (e) return wn(e);
|
|
1869
1869
|
}
|
|
1870
1870
|
function wn(e) {
|
|
1871
|
-
for (var t in
|
|
1872
|
-
e[t] =
|
|
1871
|
+
for (var t in G.prototype)
|
|
1872
|
+
e[t] = G.prototype[t];
|
|
1873
1873
|
return e;
|
|
1874
1874
|
}
|
|
1875
|
-
|
|
1875
|
+
G.prototype.on = G.prototype.addEventListener = function(e, t) {
|
|
1876
1876
|
return this._callbacks = this._callbacks || {}, (this._callbacks["$" + e] = this._callbacks["$" + e] || []).push(t), this;
|
|
1877
1877
|
};
|
|
1878
|
-
|
|
1878
|
+
G.prototype.once = function(e, t) {
|
|
1879
1879
|
function i() {
|
|
1880
1880
|
this.off(e, i), t.apply(this, arguments);
|
|
1881
1881
|
}
|
|
1882
1882
|
return i.fn = t, this.on(e, i), this;
|
|
1883
1883
|
};
|
|
1884
|
-
|
|
1884
|
+
G.prototype.off = G.prototype.removeListener = G.prototype.removeAllListeners = G.prototype.removeEventListener = function(e, t) {
|
|
1885
1885
|
if (this._callbacks = this._callbacks || {}, arguments.length == 0)
|
|
1886
1886
|
return this._callbacks = {}, this;
|
|
1887
1887
|
var i = this._callbacks["$" + e];
|
|
@@ -1895,7 +1895,7 @@ X.prototype.off = X.prototype.removeListener = X.prototype.removeAllListeners =
|
|
|
1895
1895
|
}
|
|
1896
1896
|
return i.length === 0 && delete this._callbacks["$" + e], this;
|
|
1897
1897
|
};
|
|
1898
|
-
|
|
1898
|
+
G.prototype.emit = function(e) {
|
|
1899
1899
|
this._callbacks = this._callbacks || {};
|
|
1900
1900
|
for (var t = new Array(arguments.length - 1), i = this._callbacks["$" + e], s = 1; s < arguments.length; s++)
|
|
1901
1901
|
t[s - 1] = arguments[s];
|
|
@@ -1906,11 +1906,11 @@ X.prototype.emit = function(e) {
|
|
|
1906
1906
|
}
|
|
1907
1907
|
return this;
|
|
1908
1908
|
};
|
|
1909
|
-
|
|
1910
|
-
|
|
1909
|
+
G.prototype.emitReserved = G.prototype.emit;
|
|
1910
|
+
G.prototype.listeners = function(e) {
|
|
1911
1911
|
return this._callbacks = this._callbacks || {}, this._callbacks["$" + e] || [];
|
|
1912
1912
|
};
|
|
1913
|
-
|
|
1913
|
+
G.prototype.hasListeners = function(e) {
|
|
1914
1914
|
return !!this.listeners(e).length;
|
|
1915
1915
|
};
|
|
1916
1916
|
const rt = typeof Promise == "function" && typeof Promise.resolve == "function" ? (t) => Promise.resolve().then(t) : (t, i) => i(t, 0), ne = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")(), vn = "arraybuffer";
|
|
@@ -1953,7 +1953,7 @@ class Fn extends Error {
|
|
|
1953
1953
|
super(t), this.description = i, this.context = s, this.type = "TransportError";
|
|
1954
1954
|
}
|
|
1955
1955
|
}
|
|
1956
|
-
class Nt extends
|
|
1956
|
+
class Nt extends G {
|
|
1957
1957
|
/**
|
|
1958
1958
|
* Transport abstract constructor.
|
|
1959
1959
|
*
|
|
@@ -2148,10 +2148,10 @@ try {
|
|
|
2148
2148
|
Is = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
|
|
2149
2149
|
} catch {
|
|
2150
2150
|
}
|
|
2151
|
-
const
|
|
2152
|
-
function
|
|
2151
|
+
const An = Is;
|
|
2152
|
+
function Mn() {
|
|
2153
2153
|
}
|
|
2154
|
-
class
|
|
2154
|
+
class Dn extends $n {
|
|
2155
2155
|
/**
|
|
2156
2156
|
* XHR Polling constructor.
|
|
2157
2157
|
*
|
|
@@ -2193,7 +2193,7 @@ class jn extends $n {
|
|
|
2193
2193
|
}), this.pollXhr = t;
|
|
2194
2194
|
}
|
|
2195
2195
|
}
|
|
2196
|
-
let Oe = class
|
|
2196
|
+
let Oe = class Xe extends G {
|
|
2197
2197
|
/**
|
|
2198
2198
|
* Request constructor
|
|
2199
2199
|
*
|
|
@@ -2247,7 +2247,7 @@ let Oe = class Ge extends X {
|
|
|
2247
2247
|
}, 0);
|
|
2248
2248
|
return;
|
|
2249
2249
|
}
|
|
2250
|
-
typeof document < "u" && (this._index =
|
|
2250
|
+
typeof document < "u" && (this._index = Xe.requestsCount++, Xe.requests[this._index] = this);
|
|
2251
2251
|
}
|
|
2252
2252
|
/**
|
|
2253
2253
|
* Called upon error.
|
|
@@ -2264,12 +2264,12 @@ let Oe = class Ge extends X {
|
|
|
2264
2264
|
*/
|
|
2265
2265
|
_cleanup(t) {
|
|
2266
2266
|
if (!(typeof this._xhr > "u" || this._xhr === null)) {
|
|
2267
|
-
if (this._xhr.onreadystatechange =
|
|
2267
|
+
if (this._xhr.onreadystatechange = Mn, t)
|
|
2268
2268
|
try {
|
|
2269
2269
|
this._xhr.abort();
|
|
2270
2270
|
} catch {
|
|
2271
2271
|
}
|
|
2272
|
-
typeof document < "u" && delete
|
|
2272
|
+
typeof document < "u" && delete Xe.requests[this._index], this._xhr = null;
|
|
2273
2273
|
}
|
|
2274
2274
|
}
|
|
2275
2275
|
/**
|
|
@@ -2304,17 +2304,17 @@ function Oi() {
|
|
|
2304
2304
|
for (let e in Oe.requests)
|
|
2305
2305
|
Oe.requests.hasOwnProperty(e) && Oe.requests[e].abort();
|
|
2306
2306
|
}
|
|
2307
|
-
const
|
|
2307
|
+
const jn = function() {
|
|
2308
2308
|
const e = ks({
|
|
2309
2309
|
xdomain: !1
|
|
2310
2310
|
});
|
|
2311
2311
|
return e && e.responseType !== null;
|
|
2312
2312
|
}();
|
|
2313
|
-
class Pn extends
|
|
2313
|
+
class Pn extends Dn {
|
|
2314
2314
|
constructor(t) {
|
|
2315
2315
|
super(t);
|
|
2316
2316
|
const i = t && t.forceBase64;
|
|
2317
|
-
this.supportsBinary =
|
|
2317
|
+
this.supportsBinary = jn && !i;
|
|
2318
2318
|
}
|
|
2319
2319
|
request(t = {}) {
|
|
2320
2320
|
return Object.assign(t, { xd: this.xd }, this.opts), new Oe(ks, this.uri(), t);
|
|
@@ -2323,7 +2323,7 @@ class Pn extends jn {
|
|
|
2323
2323
|
function ks(e) {
|
|
2324
2324
|
const t = e.xdomain;
|
|
2325
2325
|
try {
|
|
2326
|
-
if (typeof XMLHttpRequest < "u" && (!t ||
|
|
2326
|
+
if (typeof XMLHttpRequest < "u" && (!t || An))
|
|
2327
2327
|
return new XMLHttpRequest();
|
|
2328
2328
|
} catch {
|
|
2329
2329
|
}
|
|
@@ -2391,7 +2391,7 @@ class Ln extends Nt {
|
|
|
2391
2391
|
}
|
|
2392
2392
|
}
|
|
2393
2393
|
const St = ne.WebSocket || ne.MozWebSocket;
|
|
2394
|
-
class
|
|
2394
|
+
class Hn extends Ln {
|
|
2395
2395
|
createSocket(t, i, s) {
|
|
2396
2396
|
return Os ? new St(t, i, s) : i ? new St(t, i) : new St(t);
|
|
2397
2397
|
}
|
|
@@ -2399,7 +2399,7 @@ class Un extends Ln {
|
|
|
2399
2399
|
this.ws.send(i);
|
|
2400
2400
|
}
|
|
2401
2401
|
}
|
|
2402
|
-
class
|
|
2402
|
+
class Un extends Nt {
|
|
2403
2403
|
get name() {
|
|
2404
2404
|
return "webtransport";
|
|
2405
2405
|
}
|
|
@@ -2446,8 +2446,8 @@ class Hn extends Nt {
|
|
|
2446
2446
|
}
|
|
2447
2447
|
}
|
|
2448
2448
|
const En = {
|
|
2449
|
-
websocket:
|
|
2450
|
-
webtransport:
|
|
2449
|
+
websocket: Hn,
|
|
2450
|
+
webtransport: Un,
|
|
2451
2451
|
polling: Pn
|
|
2452
2452
|
}, xn = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, Bn = [
|
|
2453
2453
|
"source",
|
|
@@ -2465,7 +2465,7 @@ const En = {
|
|
|
2465
2465
|
"query",
|
|
2466
2466
|
"anchor"
|
|
2467
2467
|
];
|
|
2468
|
-
function
|
|
2468
|
+
function Mt(e) {
|
|
2469
2469
|
if (e.length > 8e3)
|
|
2470
2470
|
throw "URI too long";
|
|
2471
2471
|
const t = e, i = e.indexOf("["), s = e.indexOf("]");
|
|
@@ -2485,11 +2485,11 @@ function Wn(e, t) {
|
|
|
2485
2485
|
a && (i[a] = n);
|
|
2486
2486
|
}), i;
|
|
2487
2487
|
}
|
|
2488
|
-
const
|
|
2489
|
-
|
|
2488
|
+
const Dt = typeof addEventListener == "function" && typeof removeEventListener == "function", Je = [];
|
|
2489
|
+
Dt && addEventListener("offline", () => {
|
|
2490
2490
|
Je.forEach((e) => e());
|
|
2491
2491
|
}, !1);
|
|
2492
|
-
class ge extends
|
|
2492
|
+
class ge extends G {
|
|
2493
2493
|
/**
|
|
2494
2494
|
* Socket constructor.
|
|
2495
2495
|
*
|
|
@@ -2498,9 +2498,9 @@ class ge extends X {
|
|
|
2498
2498
|
*/
|
|
2499
2499
|
constructor(t, i) {
|
|
2500
2500
|
if (super(), this.binaryType = vn, this.writeBuffer = [], this._prevBufferLen = 0, this._pingInterval = -1, this._pingTimeout = -1, this._maxPayload = -1, this._pingTimeoutTime = 1 / 0, t && typeof t == "object" && (i = t, t = null), t) {
|
|
2501
|
-
const s =
|
|
2501
|
+
const s = Mt(t);
|
|
2502
2502
|
i.hostname = s.host, i.secure = s.protocol === "https" || s.protocol === "wss", i.port = s.port, s.query && (i.query = s.query);
|
|
2503
|
-
} else i.host && (i.hostname =
|
|
2503
|
+
} else i.host && (i.hostname = Mt(i.host).host);
|
|
2504
2504
|
lt(this, i), this.secure = i.secure != null ? i.secure : typeof location < "u" && location.protocol === "https:", i.hostname && !i.port && (i.port = this.secure ? "443" : "80"), this.hostname = i.hostname || (typeof location < "u" ? location.hostname : "localhost"), this.port = i.port || (typeof location < "u" && location.port ? location.port : this.secure ? "443" : "80"), this.transports = [], this._transportsByName = {}, i.transports.forEach((s) => {
|
|
2505
2505
|
const a = s.prototype.name;
|
|
2506
2506
|
this.transports.push(a), this._transportsByName[a] = s;
|
|
@@ -2518,7 +2518,7 @@ class ge extends X {
|
|
|
2518
2518
|
},
|
|
2519
2519
|
transportOptions: {},
|
|
2520
2520
|
closeOnBeforeunload: !1
|
|
2521
|
-
}, i), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = Rn(this.opts.query)),
|
|
2521
|
+
}, i), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = Rn(this.opts.query)), Dt && (this.opts.closeOnBeforeunload && (this._beforeunloadEventListener = () => {
|
|
2522
2522
|
this.transport && (this.transport.removeAllListeners(), this.transport.close());
|
|
2523
2523
|
}, addEventListener("beforeunload", this._beforeunloadEventListener, !1)), this.hostname !== "localhost" && (this._offlineEventListener = () => {
|
|
2524
2524
|
this._onClose("transport close", {
|
|
@@ -2751,7 +2751,7 @@ class ge extends X {
|
|
|
2751
2751
|
*/
|
|
2752
2752
|
_onClose(t, i) {
|
|
2753
2753
|
if (this.readyState === "opening" || this.readyState === "open" || this.readyState === "closing") {
|
|
2754
|
-
if (this.clearTimeoutFn(this._pingTimeoutTimer), this.transport.removeAllListeners("close"), this.transport.close(), this.transport.removeAllListeners(),
|
|
2754
|
+
if (this.clearTimeoutFn(this._pingTimeoutTimer), this.transport.removeAllListeners("close"), this.transport.close(), this.transport.removeAllListeners(), Dt && (this._beforeunloadEventListener && removeEventListener("beforeunload", this._beforeunloadEventListener, !1), this._offlineEventListener)) {
|
|
2755
2755
|
const s = Je.indexOf(this._offlineEventListener);
|
|
2756
2756
|
s !== -1 && Je.splice(s, 1);
|
|
2757
2757
|
}
|
|
@@ -2779,9 +2779,9 @@ class qn extends ge {
|
|
|
2779
2779
|
let i = this.createTransport(t), s = !1;
|
|
2780
2780
|
ge.priorWebsocketSuccess = !1;
|
|
2781
2781
|
const a = () => {
|
|
2782
|
-
s || (i.send([{ type: "ping", data: "probe" }]), i.once("packet", (
|
|
2782
|
+
s || (i.send([{ type: "ping", data: "probe" }]), i.once("packet", (w) => {
|
|
2783
2783
|
if (!s)
|
|
2784
|
-
if (
|
|
2784
|
+
if (w.type === "pong" && w.data === "probe") {
|
|
2785
2785
|
if (this.upgrading = !0, this.emitReserved("upgrading", i), !i)
|
|
2786
2786
|
return;
|
|
2787
2787
|
ge.priorWebsocketSuccess = i.name === "websocket", this.transport.pause(() => {
|
|
@@ -2796,8 +2796,8 @@ class qn extends ge {
|
|
|
2796
2796
|
function n() {
|
|
2797
2797
|
s || (s = !0, f(), i.close(), i = null);
|
|
2798
2798
|
}
|
|
2799
|
-
const l = (
|
|
2800
|
-
const c = new Error("probe error: " +
|
|
2799
|
+
const l = (w) => {
|
|
2800
|
+
const c = new Error("probe error: " + w);
|
|
2801
2801
|
c.transport = i.name, n(), this.emitReserved("upgradeError", c);
|
|
2802
2802
|
};
|
|
2803
2803
|
function d() {
|
|
@@ -2806,8 +2806,8 @@ class qn extends ge {
|
|
|
2806
2806
|
function p() {
|
|
2807
2807
|
l("socket closed");
|
|
2808
2808
|
}
|
|
2809
|
-
function y(
|
|
2810
|
-
i &&
|
|
2809
|
+
function y(w) {
|
|
2810
|
+
i && w.name !== i.name && n();
|
|
2811
2811
|
}
|
|
2812
2812
|
const f = () => {
|
|
2813
2813
|
i.removeListener("open", a), i.removeListener("error", l), i.removeListener("close", d), this.off("close", p), this.off("upgrading", y);
|
|
@@ -2840,13 +2840,13 @@ let zn = class extends qn {
|
|
|
2840
2840
|
};
|
|
2841
2841
|
function Nn(e, t = "", i) {
|
|
2842
2842
|
let s = e;
|
|
2843
|
-
i = i || typeof location < "u" && location, e == null && (e = i.protocol + "//" + i.host), typeof e == "string" && (e.charAt(0) === "/" && (e.charAt(1) === "/" ? e = i.protocol + e : e = i.host + e), /^(https?|wss?):\/\//.test(e) || (typeof i < "u" ? e = i.protocol + "//" + e : e = "https://" + e), s =
|
|
2843
|
+
i = i || typeof location < "u" && location, e == null && (e = i.protocol + "//" + i.host), typeof e == "string" && (e.charAt(0) === "/" && (e.charAt(1) === "/" ? e = i.protocol + e : e = i.host + e), /^(https?|wss?):\/\//.test(e) || (typeof i < "u" ? e = i.protocol + "//" + e : e = "https://" + e), s = Mt(e)), s.port || (/^(http|ws)$/.test(s.protocol) ? s.port = "80" : /^(http|ws)s$/.test(s.protocol) && (s.port = "443")), s.path = s.path || "/";
|
|
2844
2844
|
const n = s.host.indexOf(":") !== -1 ? "[" + s.host + "]" : s.host;
|
|
2845
2845
|
return s.id = s.protocol + "://" + n + ":" + s.port + t, s.href = s.protocol + "://" + n + (i && i.port === s.port ? "" : ":" + s.port), s;
|
|
2846
2846
|
}
|
|
2847
|
-
const
|
|
2848
|
-
function
|
|
2849
|
-
return
|
|
2847
|
+
const Gn = typeof ArrayBuffer == "function", Xn = (e) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(e) : e.buffer instanceof ArrayBuffer, Ts = Object.prototype.toString, Jn = typeof Blob == "function" || typeof Blob < "u" && Ts.call(Blob) === "[object BlobConstructor]", Yn = typeof File == "function" || typeof File < "u" && Ts.call(File) === "[object FileConstructor]";
|
|
2848
|
+
function Gt(e) {
|
|
2849
|
+
return Gn && (e instanceof ArrayBuffer || Xn(e)) || Jn && e instanceof Blob || Yn && e instanceof File;
|
|
2850
2850
|
}
|
|
2851
2851
|
function Ye(e, t) {
|
|
2852
2852
|
if (!e || typeof e != "object")
|
|
@@ -2857,7 +2857,7 @@ function Ye(e, t) {
|
|
|
2857
2857
|
return !0;
|
|
2858
2858
|
return !1;
|
|
2859
2859
|
}
|
|
2860
|
-
if (
|
|
2860
|
+
if (Gt(e))
|
|
2861
2861
|
return !0;
|
|
2862
2862
|
if (e.toJSON && typeof e.toJSON == "function" && arguments.length === 1)
|
|
2863
2863
|
return Ye(e.toJSON(), !0);
|
|
@@ -2868,23 +2868,23 @@ function Ye(e, t) {
|
|
|
2868
2868
|
}
|
|
2869
2869
|
function Kn(e) {
|
|
2870
2870
|
const t = [], i = e.data, s = e;
|
|
2871
|
-
return s.data =
|
|
2871
|
+
return s.data = jt(i, t), s.attachments = t.length, { packet: s, buffers: t };
|
|
2872
2872
|
}
|
|
2873
|
-
function
|
|
2873
|
+
function jt(e, t) {
|
|
2874
2874
|
if (!e)
|
|
2875
2875
|
return e;
|
|
2876
|
-
if (
|
|
2876
|
+
if (Gt(e)) {
|
|
2877
2877
|
const i = { _placeholder: !0, num: t.length };
|
|
2878
2878
|
return t.push(e), i;
|
|
2879
2879
|
} else if (Array.isArray(e)) {
|
|
2880
2880
|
const i = new Array(e.length);
|
|
2881
2881
|
for (let s = 0; s < e.length; s++)
|
|
2882
|
-
i[s] =
|
|
2882
|
+
i[s] = jt(e[s], t);
|
|
2883
2883
|
return i;
|
|
2884
2884
|
} else if (typeof e == "object" && !(e instanceof Date)) {
|
|
2885
2885
|
const i = {};
|
|
2886
2886
|
for (const s in e)
|
|
2887
|
-
Object.prototype.hasOwnProperty.call(e, s) && (i[s] =
|
|
2887
|
+
Object.prototype.hasOwnProperty.call(e, s) && (i[s] = jt(e[s], t));
|
|
2888
2888
|
return i;
|
|
2889
2889
|
}
|
|
2890
2890
|
return e;
|
|
@@ -2916,10 +2916,10 @@ const Qn = [
|
|
|
2916
2916
|
"removeListener"
|
|
2917
2917
|
// used by the Node.js EventEmitter
|
|
2918
2918
|
], eo = 5;
|
|
2919
|
-
var
|
|
2919
|
+
var U;
|
|
2920
2920
|
(function(e) {
|
|
2921
2921
|
e[e.CONNECT = 0] = "CONNECT", e[e.DISCONNECT = 1] = "DISCONNECT", e[e.EVENT = 2] = "EVENT", e[e.ACK = 3] = "ACK", e[e.CONNECT_ERROR = 4] = "CONNECT_ERROR", e[e.BINARY_EVENT = 5] = "BINARY_EVENT", e[e.BINARY_ACK = 6] = "BINARY_ACK";
|
|
2922
|
-
})(
|
|
2922
|
+
})(U || (U = {}));
|
|
2923
2923
|
class to {
|
|
2924
2924
|
/**
|
|
2925
2925
|
* Encoder constructor
|
|
@@ -2936,8 +2936,8 @@ class to {
|
|
|
2936
2936
|
* @param {Object} obj - packet object
|
|
2937
2937
|
*/
|
|
2938
2938
|
encode(t) {
|
|
2939
|
-
return (t.type ===
|
|
2940
|
-
type: t.type ===
|
|
2939
|
+
return (t.type === U.EVENT || t.type === U.ACK) && Ye(t) ? this.encodeAsBinary({
|
|
2940
|
+
type: t.type === U.EVENT ? U.BINARY_EVENT : U.BINARY_ACK,
|
|
2941
2941
|
nsp: t.nsp,
|
|
2942
2942
|
data: t.data,
|
|
2943
2943
|
id: t.id
|
|
@@ -2948,7 +2948,7 @@ class to {
|
|
|
2948
2948
|
*/
|
|
2949
2949
|
encodeAsString(t) {
|
|
2950
2950
|
let i = "" + t.type;
|
|
2951
|
-
return (t.type ===
|
|
2951
|
+
return (t.type === U.BINARY_EVENT || t.type === U.BINARY_ACK) && (i += t.attachments + "-"), t.nsp && t.nsp !== "/" && (i += t.nsp + ","), t.id != null && (i += t.id), t.data != null && (i += JSON.stringify(t.data, this.replacer)), i;
|
|
2952
2952
|
}
|
|
2953
2953
|
/**
|
|
2954
2954
|
* Encode packet as 'buffer sequence' by removing blobs, and
|
|
@@ -2963,7 +2963,7 @@ class to {
|
|
|
2963
2963
|
function Ti(e) {
|
|
2964
2964
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
2965
2965
|
}
|
|
2966
|
-
class
|
|
2966
|
+
class Xt extends G {
|
|
2967
2967
|
/**
|
|
2968
2968
|
* Decoder constructor
|
|
2969
2969
|
*
|
|
@@ -2983,9 +2983,9 @@ class Gt extends X {
|
|
|
2983
2983
|
if (this.reconstructor)
|
|
2984
2984
|
throw new Error("got plaintext data when reconstructing a packet");
|
|
2985
2985
|
i = this.decodeString(t);
|
|
2986
|
-
const s = i.type ===
|
|
2987
|
-
s || i.type ===
|
|
2988
|
-
} else if (
|
|
2986
|
+
const s = i.type === U.BINARY_EVENT;
|
|
2987
|
+
s || i.type === U.BINARY_ACK ? (i.type = s ? U.EVENT : U.ACK, this.reconstructor = new io(i), i.attachments === 0 && super.emitReserved("decoded", i)) : super.emitReserved("decoded", i);
|
|
2988
|
+
} else if (Gt(t) || t.base64)
|
|
2989
2989
|
if (this.reconstructor)
|
|
2990
2990
|
i = this.reconstructor.takeBinaryData(t), i && (this.reconstructor = null, super.emitReserved("decoded", i));
|
|
2991
2991
|
else
|
|
@@ -3004,9 +3004,9 @@ class Gt extends X {
|
|
|
3004
3004
|
const s = {
|
|
3005
3005
|
type: Number(t.charAt(0))
|
|
3006
3006
|
};
|
|
3007
|
-
if (
|
|
3007
|
+
if (U[s.type] === void 0)
|
|
3008
3008
|
throw new Error("unknown packet type " + s.type);
|
|
3009
|
-
if (s.type ===
|
|
3009
|
+
if (s.type === U.BINARY_EVENT || s.type === U.BINARY_ACK) {
|
|
3010
3010
|
const n = i + 1;
|
|
3011
3011
|
for (; t.charAt(++i) !== "-" && i != t.length; )
|
|
3012
3012
|
;
|
|
@@ -3038,7 +3038,7 @@ class Gt extends X {
|
|
|
3038
3038
|
}
|
|
3039
3039
|
if (t.charAt(++i)) {
|
|
3040
3040
|
const n = this.tryParse(t.substr(i));
|
|
3041
|
-
if (
|
|
3041
|
+
if (Xt.isPayloadValid(s.type, n))
|
|
3042
3042
|
s.data = n;
|
|
3043
3043
|
else
|
|
3044
3044
|
throw new Error("invalid payload");
|
|
@@ -3054,17 +3054,17 @@ class Gt extends X {
|
|
|
3054
3054
|
}
|
|
3055
3055
|
static isPayloadValid(t, i) {
|
|
3056
3056
|
switch (t) {
|
|
3057
|
-
case
|
|
3057
|
+
case U.CONNECT:
|
|
3058
3058
|
return Ti(i);
|
|
3059
|
-
case
|
|
3059
|
+
case U.DISCONNECT:
|
|
3060
3060
|
return i === void 0;
|
|
3061
|
-
case
|
|
3061
|
+
case U.CONNECT_ERROR:
|
|
3062
3062
|
return typeof i == "string" || Ti(i);
|
|
3063
|
-
case
|
|
3064
|
-
case
|
|
3063
|
+
case U.EVENT:
|
|
3064
|
+
case U.BINARY_EVENT:
|
|
3065
3065
|
return Array.isArray(i) && (typeof i[0] == "number" || typeof i[0] == "string" && Qn.indexOf(i[0]) === -1);
|
|
3066
|
-
case
|
|
3067
|
-
case
|
|
3066
|
+
case U.ACK:
|
|
3067
|
+
case U.BINARY_ACK:
|
|
3068
3068
|
return Array.isArray(i);
|
|
3069
3069
|
}
|
|
3070
3070
|
}
|
|
@@ -3103,10 +3103,10 @@ class io {
|
|
|
3103
3103
|
}
|
|
3104
3104
|
const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3105
3105
|
__proto__: null,
|
|
3106
|
-
Decoder:
|
|
3106
|
+
Decoder: Xt,
|
|
3107
3107
|
Encoder: to,
|
|
3108
3108
|
get PacketType() {
|
|
3109
|
-
return
|
|
3109
|
+
return U;
|
|
3110
3110
|
},
|
|
3111
3111
|
protocol: eo
|
|
3112
3112
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -3124,7 +3124,7 @@ const ao = Object.freeze({
|
|
|
3124
3124
|
newListener: 1,
|
|
3125
3125
|
removeListener: 1
|
|
3126
3126
|
});
|
|
3127
|
-
class Rs extends
|
|
3127
|
+
class Rs extends G {
|
|
3128
3128
|
/**
|
|
3129
3129
|
* `Socket` constructor.
|
|
3130
3130
|
*/
|
|
@@ -3245,12 +3245,12 @@ class Rs extends X {
|
|
|
3245
3245
|
if (i.unshift(t), this._opts.retries && !this.flags.fromQueue && !this.flags.volatile)
|
|
3246
3246
|
return this._addToQueue(i), this;
|
|
3247
3247
|
const l = {
|
|
3248
|
-
type:
|
|
3248
|
+
type: U.EVENT,
|
|
3249
3249
|
data: i
|
|
3250
3250
|
};
|
|
3251
3251
|
if (l.options = {}, l.options.compress = this.flags.compress !== !1, typeof i[i.length - 1] == "function") {
|
|
3252
|
-
const f = this.ids++,
|
|
3253
|
-
this._registerAckCallback(f,
|
|
3252
|
+
const f = this.ids++, w = i.pop();
|
|
3253
|
+
this._registerAckCallback(f, w), l.id = f;
|
|
3254
3254
|
}
|
|
3255
3255
|
const d = (a = (s = this.io.engine) === null || s === void 0 ? void 0 : s.transport) === null || a === void 0 ? void 0 : a.writable, p = this.connected && !(!((n = this.io.engine) === null || n === void 0) && n._hasPingExpired());
|
|
3256
3256
|
return this.flags.volatile && !d || (p ? (this.notifyOutgoingListeners(l), this.packet(l)) : this.sendBuffer.push(l)), this.flags = {}, this;
|
|
@@ -3353,7 +3353,7 @@ class Rs extends X {
|
|
|
3353
3353
|
*/
|
|
3354
3354
|
_sendConnectPacket(t) {
|
|
3355
3355
|
this.packet({
|
|
3356
|
-
type:
|
|
3356
|
+
type: U.CONNECT,
|
|
3357
3357
|
data: this._pid ? Object.assign({ pid: this._pid, offset: this._lastOffset }, t) : t
|
|
3358
3358
|
});
|
|
3359
3359
|
}
|
|
@@ -3399,21 +3399,21 @@ class Rs extends X {
|
|
|
3399
3399
|
onpacket(t) {
|
|
3400
3400
|
if (t.nsp === this.nsp)
|
|
3401
3401
|
switch (t.type) {
|
|
3402
|
-
case
|
|
3402
|
+
case U.CONNECT:
|
|
3403
3403
|
t.data && t.data.sid ? this.onconnect(t.data.sid, t.data.pid) : this.emitReserved("connect_error", new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));
|
|
3404
3404
|
break;
|
|
3405
|
-
case
|
|
3406
|
-
case
|
|
3405
|
+
case U.EVENT:
|
|
3406
|
+
case U.BINARY_EVENT:
|
|
3407
3407
|
this.onevent(t);
|
|
3408
3408
|
break;
|
|
3409
|
-
case
|
|
3410
|
-
case
|
|
3409
|
+
case U.ACK:
|
|
3410
|
+
case U.BINARY_ACK:
|
|
3411
3411
|
this.onack(t);
|
|
3412
3412
|
break;
|
|
3413
|
-
case
|
|
3413
|
+
case U.DISCONNECT:
|
|
3414
3414
|
this.ondisconnect();
|
|
3415
3415
|
break;
|
|
3416
|
-
case
|
|
3416
|
+
case U.CONNECT_ERROR:
|
|
3417
3417
|
this.destroy();
|
|
3418
3418
|
const s = new Error(t.data.message);
|
|
3419
3419
|
s.data = t.data.data, this.emitReserved("connect_error", s);
|
|
@@ -3448,7 +3448,7 @@ class Rs extends X {
|
|
|
3448
3448
|
let s = !1;
|
|
3449
3449
|
return function(...a) {
|
|
3450
3450
|
s || (s = !0, i.packet({
|
|
3451
|
-
type:
|
|
3451
|
+
type: U.ACK,
|
|
3452
3452
|
id: t,
|
|
3453
3453
|
data: a
|
|
3454
3454
|
}));
|
|
@@ -3517,7 +3517,7 @@ class Rs extends X {
|
|
|
3517
3517
|
* @return self
|
|
3518
3518
|
*/
|
|
3519
3519
|
disconnect() {
|
|
3520
|
-
return this.connected && this.packet({ type:
|
|
3520
|
+
return this.connected && this.packet({ type: U.DISCONNECT }), this.destroy(), this.connected && this.onclose("io client disconnect"), this;
|
|
3521
3521
|
}
|
|
3522
3522
|
/**
|
|
3523
3523
|
* Alias for {@link disconnect()}.
|
|
@@ -3716,10 +3716,10 @@ class Rs extends X {
|
|
|
3716
3716
|
}
|
|
3717
3717
|
}
|
|
3718
3718
|
}
|
|
3719
|
-
function
|
|
3719
|
+
function Ae(e) {
|
|
3720
3720
|
e = e || {}, this.ms = e.min || 100, this.max = e.max || 1e4, this.factor = e.factor || 2, this.jitter = e.jitter > 0 && e.jitter <= 1 ? e.jitter : 0, this.attempts = 0;
|
|
3721
3721
|
}
|
|
3722
|
-
|
|
3722
|
+
Ae.prototype.duration = function() {
|
|
3723
3723
|
var e = this.ms * Math.pow(this.factor, this.attempts++);
|
|
3724
3724
|
if (this.jitter) {
|
|
3725
3725
|
var t = Math.random(), i = Math.floor(t * this.jitter * e);
|
|
@@ -3727,22 +3727,22 @@ Me.prototype.duration = function() {
|
|
|
3727
3727
|
}
|
|
3728
3728
|
return Math.min(e, this.max) | 0;
|
|
3729
3729
|
};
|
|
3730
|
-
|
|
3730
|
+
Ae.prototype.reset = function() {
|
|
3731
3731
|
this.attempts = 0;
|
|
3732
3732
|
};
|
|
3733
|
-
|
|
3733
|
+
Ae.prototype.setMin = function(e) {
|
|
3734
3734
|
this.ms = e;
|
|
3735
3735
|
};
|
|
3736
|
-
|
|
3736
|
+
Ae.prototype.setMax = function(e) {
|
|
3737
3737
|
this.max = e;
|
|
3738
3738
|
};
|
|
3739
|
-
|
|
3739
|
+
Ae.prototype.setJitter = function(e) {
|
|
3740
3740
|
this.jitter = e;
|
|
3741
3741
|
};
|
|
3742
|
-
class Lt extends
|
|
3742
|
+
class Lt extends G {
|
|
3743
3743
|
constructor(t, i) {
|
|
3744
3744
|
var s;
|
|
3745
|
-
super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (i = t, t = void 0), i = i || {}, i.path = i.path || "/socket.io", this.opts = i, lt(this, i), this.reconnection(i.reconnection !== !1), this.reconnectionAttempts(i.reconnectionAttempts || 1 / 0), this.reconnectionDelay(i.reconnectionDelay || 1e3), this.reconnectionDelayMax(i.reconnectionDelayMax || 5e3), this.randomizationFactor((s = i.randomizationFactor) !== null && s !== void 0 ? s : 0.5), this.backoff = new
|
|
3745
|
+
super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (i = t, t = void 0), i = i || {}, i.path = i.path || "/socket.io", this.opts = i, lt(this, i), this.reconnection(i.reconnection !== !1), this.reconnectionAttempts(i.reconnectionAttempts || 1 / 0), this.reconnectionDelay(i.reconnectionDelay || 1e3), this.reconnectionDelayMax(i.reconnectionDelayMax || 5e3), this.randomizationFactor((s = i.randomizationFactor) !== null && s !== void 0 ? s : 0.5), this.backoff = new Ae({
|
|
3746
3746
|
min: this.reconnectionDelay(),
|
|
3747
3747
|
max: this.reconnectionDelayMax(),
|
|
3748
3748
|
jitter: this.randomizationFactor()
|
|
@@ -3977,12 +3977,12 @@ class Lt extends X {
|
|
|
3977
3977
|
this._reconnecting = !1, this.backoff.reset(), this.emitReserved("reconnect", t);
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
|
-
const
|
|
3980
|
+
const je = {};
|
|
3981
3981
|
function Ke(e, t) {
|
|
3982
3982
|
typeof e == "object" && (t = e, e = void 0), t = t || {};
|
|
3983
|
-
const i = Nn(e, t.path || "/socket.io"), s = i.source, a = i.id, n = i.path, l =
|
|
3983
|
+
const i = Nn(e, t.path || "/socket.io"), s = i.source, a = i.id, n = i.path, l = je[a] && n in je[a].nsps, d = t.forceNew || t["force new connection"] || t.multiplex === !1 || l;
|
|
3984
3984
|
let p;
|
|
3985
|
-
return d ? p = new Lt(s, t) : (
|
|
3985
|
+
return d ? p = new Lt(s, t) : (je[a] || (je[a] = new Lt(s, t)), p = je[a]), i.query && !t.query && (t.query = i.queryKey), p.socket(i.path, t);
|
|
3986
3986
|
}
|
|
3987
3987
|
Object.assign(Ke, {
|
|
3988
3988
|
Manager: Lt,
|
|
@@ -4059,24 +4059,24 @@ const fe = (e, t) => {
|
|
|
4059
4059
|
}, ko = { class: "gsc-num-player2" }, Oo = { class: "gsc-cont-info-by-player2" }, To = { class: "gsc-cont-info-by-player-row2" }, Ro = { class: "gsc-cont-info-by-player-row2-line-data" }, Fo = { class: "gsc-cont-cards2" }, $o = {
|
|
4060
4060
|
key: 0,
|
|
4061
4061
|
class: "gsc-yellow_card_div"
|
|
4062
|
-
},
|
|
4062
|
+
}, Ao = {
|
|
4063
4063
|
key: 1,
|
|
4064
4064
|
class: "gsc-red_card_div"
|
|
4065
|
-
},
|
|
4065
|
+
}, Mo = {
|
|
4066
4066
|
key: 2,
|
|
4067
4067
|
class: "gsc-yellowred_card_div"
|
|
4068
|
-
},
|
|
4068
|
+
}, Do = {
|
|
4069
4069
|
key: 5,
|
|
4070
4070
|
class: "gsc-goal_card_div_wrapper"
|
|
4071
|
-
},
|
|
4071
|
+
}, jo = { class: "cont-display-gsc" }, Po = ["src"], Lo = { class: "gsc-cont-info-by-player-row1" }, Ho = { class: "shield-player-cont" }, Uo = ["src"];
|
|
4072
4072
|
function Eo(e, t, i, s, a, n) {
|
|
4073
4073
|
return m(), g(F, null, [
|
|
4074
4074
|
i.type == 1 ? (m(), g("div", lo, [
|
|
4075
4075
|
o("div", co, [
|
|
4076
4076
|
i.data.shirt < 10 ? (m(), g(F, { key: 0 }, [
|
|
4077
|
-
|
|
4077
|
+
M("0")
|
|
4078
4078
|
], 64)) : k("", !0),
|
|
4079
|
-
|
|
4079
|
+
M(" " + T(i.data.shirt), 1)
|
|
4080
4080
|
]),
|
|
4081
4081
|
o("div", ho, [
|
|
4082
4082
|
o("div", uo, [
|
|
@@ -4116,10 +4116,10 @@ function Eo(e, t, i, s, a, n) {
|
|
|
4116
4116
|
i.data.redcard >= 1 && i.data.yellowcard == 0 ? (m(), g("div", vo)) : k("", !0),
|
|
4117
4117
|
i.data.yellowcard >= 1 && i.data.redcard >= 1 ? (m(), g("div", So)) : k("", !0),
|
|
4118
4118
|
i.data.yellowcard >= 1 && i.data.redcard == 0 ? (m(), g(F, { key: 3 }, [
|
|
4119
|
-
|
|
4119
|
+
M("'" + T(i.data.yellowcardmin), 1)
|
|
4120
4120
|
], 64)) : k("", !0),
|
|
4121
4121
|
i.data.redcard >= 1 ? (m(), g(F, { key: 4 }, [
|
|
4122
|
-
|
|
4122
|
+
M("'" + T(i.data.redcardmin), 1)
|
|
4123
4123
|
], 64)) : k("", !0),
|
|
4124
4124
|
(m(!0), g(F, null, te(i.data.goalsMin, (l, d) => (m(), g("div", {
|
|
4125
4125
|
class: "gsc-goal_card_div_wrapper",
|
|
@@ -4140,9 +4140,9 @@ function Eo(e, t, i, s, a, n) {
|
|
|
4140
4140
|
i.type == 2 ? (m(), g("div", Io, [
|
|
4141
4141
|
o("div", ko, [
|
|
4142
4142
|
i.data.shirt < 10 ? (m(), g(F, { key: 0 }, [
|
|
4143
|
-
|
|
4143
|
+
M("0")
|
|
4144
4144
|
], 64)) : k("", !0),
|
|
4145
|
-
|
|
4145
|
+
M(" " + T(i.data.shirt), 1)
|
|
4146
4146
|
]),
|
|
4147
4147
|
o("div", Oo, [
|
|
4148
4148
|
o("div", To, [
|
|
@@ -4162,13 +4162,13 @@ function Eo(e, t, i, s, a, n) {
|
|
|
4162
4162
|
o("div", Ro, [
|
|
4163
4163
|
o("div", Fo, [
|
|
4164
4164
|
i.data.yellowcard >= 1 && i.data.redcard == 0 ? (m(), g("div", $o)) : k("", !0),
|
|
4165
|
-
i.data.redcard >= 1 && i.data.yellowcard == 0 ? (m(), g("div",
|
|
4166
|
-
i.data.yellowcard >= 1 && i.data.redcard >= 1 ? (m(), g("div",
|
|
4165
|
+
i.data.redcard >= 1 && i.data.yellowcard == 0 ? (m(), g("div", Ao)) : k("", !0),
|
|
4166
|
+
i.data.yellowcard >= 1 && i.data.redcard >= 1 ? (m(), g("div", Mo)) : k("", !0),
|
|
4167
4167
|
i.data.yellowcard >= 1 && i.data.redcard == 0 ? (m(), g(F, { key: 3 }, [
|
|
4168
|
-
|
|
4168
|
+
M("'" + T(i.data.yellowcardmin), 1)
|
|
4169
4169
|
], 64)) : k("", !0),
|
|
4170
4170
|
i.data.redcard >= 1 ? (m(), g(F, { key: 4 }, [
|
|
4171
|
-
|
|
4171
|
+
M("'" + T(i.data.redcardmin), 1)
|
|
4172
4172
|
], 64)) : k("", !0),
|
|
4173
4173
|
(m(!0), g(F, null, te(i.data.goalsMin, (l, d) => (m(), g("div", {
|
|
4174
4174
|
class: "gsc-goal_card_div_wrapper",
|
|
@@ -4177,12 +4177,12 @@ function Eo(e, t, i, s, a, n) {
|
|
|
4177
4177
|
t[4] || (t[4] = o("div", { class: "gsc-goal_card_div" }, null, -1)),
|
|
4178
4178
|
o("div", null, "'" + T(l), 1)
|
|
4179
4179
|
]))), 128)),
|
|
4180
|
-
i.data.substitutionIn || i.data.substitutionOut ? (m(), g("div",
|
|
4180
|
+
i.data.substitutionIn || i.data.substitutionOut ? (m(), g("div", Do, [
|
|
4181
4181
|
t[5] || (t[5] = o("div", { class: "gsc-change_card_div" }, null, -1)),
|
|
4182
4182
|
o("div", null, "'" + T(i.data.substitutionMin), 1)
|
|
4183
4183
|
])) : k("", !0)
|
|
4184
4184
|
]),
|
|
4185
|
-
o("div",
|
|
4185
|
+
o("div", jo, [
|
|
4186
4186
|
o("div", {
|
|
4187
4187
|
class: r(i.position)
|
|
4188
4188
|
}, T(i.data.position), 3),
|
|
@@ -4194,11 +4194,11 @@ function Eo(e, t, i, s, a, n) {
|
|
|
4194
4194
|
])
|
|
4195
4195
|
]),
|
|
4196
4196
|
o("div", Lo, [
|
|
4197
|
-
o("div",
|
|
4197
|
+
o("div", Ho, [
|
|
4198
4198
|
o("img", {
|
|
4199
4199
|
class: "gsc-logo-player",
|
|
4200
4200
|
src: i.data.img
|
|
4201
|
-
}, null, 8,
|
|
4201
|
+
}, null, 8, Uo)
|
|
4202
4202
|
])
|
|
4203
4203
|
])
|
|
4204
4204
|
])
|
|
@@ -4369,7 +4369,7 @@ function Vo({ config: e, slidesCount: t }) {
|
|
|
4369
4369
|
}
|
|
4370
4370
|
return n;
|
|
4371
4371
|
}
|
|
4372
|
-
function
|
|
4372
|
+
function Ht({ val: e, max: t, min: i }) {
|
|
4373
4373
|
return t < i ? e : Math.min(Math.max(e, i), t);
|
|
4374
4374
|
}
|
|
4375
4375
|
function Wo({ config: e, currentSlide: t, slidesCount: i }) {
|
|
@@ -4387,7 +4387,7 @@ function Wo({ config: e, currentSlide: t, slidesCount: i }) {
|
|
|
4387
4387
|
l -= n - 1;
|
|
4388
4388
|
break;
|
|
4389
4389
|
}
|
|
4390
|
-
return a ? l :
|
|
4390
|
+
return a ? l : Ht({
|
|
4391
4391
|
val: l,
|
|
4392
4392
|
max: i - n,
|
|
4393
4393
|
min: 0
|
|
@@ -4399,8 +4399,8 @@ function Fs(e) {
|
|
|
4399
4399
|
return i.type === F ? [...t, ...Fs(i.children)] : ((s = i.type) === null || s === void 0 ? void 0 : s.name) === "CarouselSlide" ? [...t, i] : t;
|
|
4400
4400
|
}, []) : [];
|
|
4401
4401
|
}
|
|
4402
|
-
function
|
|
4403
|
-
return e > t ?
|
|
4402
|
+
function Ut({ val: e, max: t, min: i = 0 }) {
|
|
4403
|
+
return e > t ? Ut({ val: e - (t + 1), max: t, min: i }) : e < i ? Ut({ val: e + (t + 1), max: t, min: i }) : e;
|
|
4404
4404
|
}
|
|
4405
4405
|
function qo(e, t) {
|
|
4406
4406
|
let i;
|
|
@@ -4420,10 +4420,10 @@ function zo(e, t) {
|
|
|
4420
4420
|
function No(e = "", t = {}) {
|
|
4421
4421
|
return Object.entries(t).reduce((i, [s, a]) => i.replace(`{${s}}`, String(a)), e);
|
|
4422
4422
|
}
|
|
4423
|
-
var
|
|
4423
|
+
var Go = Et({
|
|
4424
4424
|
name: "ARIA",
|
|
4425
4425
|
setup() {
|
|
4426
|
-
const e = ve("config", Le(Object.assign({}, Y))), t = ve("currentSlide",
|
|
4426
|
+
const e = ve("config", Le(Object.assign({}, Y))), t = ve("currentSlide", H(0)), i = ve("slidesCount", H(0));
|
|
4427
4427
|
return () => ke("div", {
|
|
4428
4428
|
class: ["carousel__liveregion", "carousel__sr-only"],
|
|
4429
4429
|
"aria-live": "polite",
|
|
@@ -4433,31 +4433,31 @@ var Xo = Et({
|
|
|
4433
4433
|
slidesCount: i.value
|
|
4434
4434
|
}));
|
|
4435
4435
|
}
|
|
4436
|
-
}),
|
|
4436
|
+
}), Xo = Et({
|
|
4437
4437
|
name: "Carousel",
|
|
4438
4438
|
props: Ri,
|
|
4439
4439
|
setup(e, { slots: t, emit: i, expose: s }) {
|
|
4440
4440
|
var a;
|
|
4441
|
-
const n =
|
|
4442
|
-
let f = Object.assign({}, Y),
|
|
4443
|
-
const c =
|
|
4444
|
-
let O,
|
|
4441
|
+
const n = H(null), l = H([]), d = H(0), p = H(0), y = Le(Object.assign({}, Y));
|
|
4442
|
+
let f = Object.assign({}, Y), w;
|
|
4443
|
+
const c = H((a = e.modelValue) !== null && a !== void 0 ? a : 0), I = H(0), v = H(0), _ = H(0), u = H(0);
|
|
4444
|
+
let O, j;
|
|
4445
4445
|
pe("config", y), pe("slidesCount", p), pe("currentSlide", c), pe("maxSlide", _), pe("minSlide", u), pe("slideWidth", d);
|
|
4446
|
-
function
|
|
4447
|
-
|
|
4446
|
+
function b() {
|
|
4447
|
+
w = Object.assign({}, e.breakpoints), f = Object.assign(Object.assign(Object.assign({}, f), e), { i18n: Object.assign(Object.assign({}, f.i18n), e.i18n), breakpoints: void 0 }), S(f);
|
|
4448
4448
|
}
|
|
4449
4449
|
function h() {
|
|
4450
|
-
if (!
|
|
4450
|
+
if (!w || !Object.keys(w).length)
|
|
4451
4451
|
return;
|
|
4452
|
-
const P = Object.keys(
|
|
4452
|
+
const P = Object.keys(w).map((X) => Number(X)).sort((X, me) => +me - +X);
|
|
4453
4453
|
let J = Object.assign({}, f);
|
|
4454
|
-
P.some((
|
|
4455
|
-
const me = window.matchMedia(`(min-width: ${
|
|
4456
|
-
return me && (J = Object.assign(Object.assign({}, J),
|
|
4454
|
+
P.some((X) => {
|
|
4455
|
+
const me = window.matchMedia(`(min-width: ${X}px)`).matches;
|
|
4456
|
+
return me && (J = Object.assign(Object.assign({}, J), w[X])), me;
|
|
4457
4457
|
}), S(J);
|
|
4458
4458
|
}
|
|
4459
4459
|
function S(P) {
|
|
4460
|
-
Object.entries(P).forEach(([J,
|
|
4460
|
+
Object.entries(P).forEach(([J, X]) => y[J] = X);
|
|
4461
4461
|
}
|
|
4462
4462
|
const $ = zo(() => {
|
|
4463
4463
|
h(), V();
|
|
@@ -4468,22 +4468,22 @@ var Xo = Et({
|
|
|
4468
4468
|
const P = n.value.getBoundingClientRect();
|
|
4469
4469
|
d.value = P.width / y.itemsToShow;
|
|
4470
4470
|
}
|
|
4471
|
-
function
|
|
4472
|
-
p.value <= 0 || (
|
|
4471
|
+
function D() {
|
|
4472
|
+
p.value <= 0 || (v.value = Math.ceil((p.value - 1) / 2), _.value = Bo({ config: y, slidesCount: p.value }), u.value = Vo({ config: y, slidesCount: p.value }), y.wrapAround || (c.value = Ht({
|
|
4473
4473
|
val: c.value,
|
|
4474
4474
|
max: _.value,
|
|
4475
4475
|
min: u.value
|
|
4476
4476
|
})));
|
|
4477
4477
|
}
|
|
4478
4478
|
xt(() => {
|
|
4479
|
-
|
|
4479
|
+
Ms(() => V()), setTimeout(() => V(), 1e3), h(), A(), window.addEventListener("resize", $, { passive: !0 }), i("init");
|
|
4480
4480
|
}), Bi(() => {
|
|
4481
|
-
|
|
4481
|
+
j && clearTimeout(j), O && clearInterval(O), window.removeEventListener("resize", $, {
|
|
4482
4482
|
passive: !0
|
|
4483
4483
|
});
|
|
4484
4484
|
});
|
|
4485
4485
|
let z = !1;
|
|
4486
|
-
const oe = { x: 0, y: 0 }, ye = { x: 0, y: 0 }, N = Le({ x: 0, y: 0 }), Z =
|
|
4486
|
+
const oe = { x: 0, y: 0 }, ye = { x: 0, y: 0 }, N = Le({ x: 0, y: 0 }), Z = H(!1), Q = H(!1), dt = () => {
|
|
4487
4487
|
Z.value = !0;
|
|
4488
4488
|
}, ht = () => {
|
|
4489
4489
|
Z.value = !1;
|
|
@@ -4493,30 +4493,30 @@ var Xo = Et({
|
|
|
4493
4493
|
}
|
|
4494
4494
|
const _e = qo((P) => {
|
|
4495
4495
|
Q.value = !0, ye.x = z ? P.touches[0].clientX : P.clientX, ye.y = z ? P.touches[0].clientY : P.clientY;
|
|
4496
|
-
const J = ye.x - oe.x,
|
|
4497
|
-
N.y =
|
|
4496
|
+
const J = ye.x - oe.x, X = ye.y - oe.y;
|
|
4497
|
+
N.y = X, N.x = J;
|
|
4498
4498
|
}, y.throttle);
|
|
4499
4499
|
function R() {
|
|
4500
|
-
const P = y.dir === "rtl" ? -1 : 1, J = Math.sign(N.x) * 0.4,
|
|
4501
|
-
if (
|
|
4500
|
+
const P = y.dir === "rtl" ? -1 : 1, J = Math.sign(N.x) * 0.4, X = Math.round(N.x / d.value + J) * P;
|
|
4501
|
+
if (X && !z) {
|
|
4502
4502
|
const me = (mt) => {
|
|
4503
4503
|
mt.stopPropagation(), window.removeEventListener("click", me, !0);
|
|
4504
4504
|
};
|
|
4505
4505
|
window.addEventListener("click", me, !0);
|
|
4506
4506
|
}
|
|
4507
|
-
we(c.value -
|
|
4507
|
+
we(c.value - X), N.x = 0, N.y = 0, Q.value = !1, document.removeEventListener(z ? "touchmove" : "mousemove", _e, !0), document.removeEventListener(z ? "touchend" : "mouseup", R, !0);
|
|
4508
4508
|
}
|
|
4509
|
-
function
|
|
4509
|
+
function A() {
|
|
4510
4510
|
!y.autoplay || y.autoplay <= 0 || (O = setInterval(() => {
|
|
4511
4511
|
y.pauseAutoplayOnHover && Z.value || Be();
|
|
4512
4512
|
}, y.autoplay));
|
|
4513
4513
|
}
|
|
4514
4514
|
function W() {
|
|
4515
|
-
O && (clearInterval(O), O = null),
|
|
4515
|
+
O && (clearInterval(O), O = null), A();
|
|
4516
4516
|
}
|
|
4517
|
-
const be =
|
|
4517
|
+
const be = H(!1);
|
|
4518
4518
|
function we(P) {
|
|
4519
|
-
const J = y.wrapAround ? P :
|
|
4519
|
+
const J = y.wrapAround ? P : Ht({
|
|
4520
4520
|
val: P,
|
|
4521
4521
|
max: _.value,
|
|
4522
4522
|
min: u.value
|
|
@@ -4526,14 +4526,14 @@ var Xo = Et({
|
|
|
4526
4526
|
currentSlideIndex: c.value,
|
|
4527
4527
|
prevSlideIndex: I.value,
|
|
4528
4528
|
slidesCount: p.value
|
|
4529
|
-
}), be.value = !0, I.value = c.value, c.value = J,
|
|
4529
|
+
}), be.value = !0, I.value = c.value, c.value = J, j = setTimeout(() => {
|
|
4530
4530
|
if (y.wrapAround) {
|
|
4531
|
-
const
|
|
4531
|
+
const X = Ut({
|
|
4532
4532
|
val: J,
|
|
4533
4533
|
max: _.value,
|
|
4534
4534
|
min: 0
|
|
4535
4535
|
});
|
|
4536
|
-
|
|
4536
|
+
X !== c.value && (c.value = X, i("loop", {
|
|
4537
4537
|
currentSlideIndex: c.value,
|
|
4538
4538
|
slidingToIndex: P
|
|
4539
4539
|
}));
|
|
@@ -4559,7 +4559,7 @@ var Xo = Et({
|
|
|
4559
4559
|
slidesCount: p.value
|
|
4560
4560
|
}));
|
|
4561
4561
|
pe("slidesToScroll", ti);
|
|
4562
|
-
const
|
|
4562
|
+
const As = Te(() => {
|
|
4563
4563
|
const P = y.dir === "rtl" ? -1 : 1, J = ti.value * d.value * P;
|
|
4564
4564
|
return {
|
|
4565
4565
|
transform: `translateX(${N.x - J}px)`,
|
|
@@ -4569,13 +4569,13 @@ var Xo = Et({
|
|
|
4569
4569
|
};
|
|
4570
4570
|
});
|
|
4571
4571
|
function ii() {
|
|
4572
|
-
|
|
4572
|
+
b(), h(), D(), V(), W();
|
|
4573
4573
|
}
|
|
4574
4574
|
Object.keys(Ri).forEach((P) => {
|
|
4575
4575
|
["modelValue"].includes(P) || ce(() => e[P], ii);
|
|
4576
4576
|
}), ce(() => e.modelValue, (P) => {
|
|
4577
4577
|
P !== c.value && we(Number(P));
|
|
4578
|
-
}), ce(p,
|
|
4578
|
+
}), ce(p, D), i("before-init"), b();
|
|
4579
4579
|
const si = {
|
|
4580
4580
|
config: y,
|
|
4581
4581
|
slidesCount: p,
|
|
@@ -4586,13 +4586,13 @@ var Xo = Et({
|
|
|
4586
4586
|
currentSlide: c,
|
|
4587
4587
|
maxSlide: _,
|
|
4588
4588
|
minSlide: u,
|
|
4589
|
-
middleSlide:
|
|
4589
|
+
middleSlide: v
|
|
4590
4590
|
};
|
|
4591
4591
|
s({
|
|
4592
4592
|
updateBreakpointsConfigs: h,
|
|
4593
|
-
updateSlidesData:
|
|
4593
|
+
updateSlidesData: D,
|
|
4594
4594
|
updateSlideWidth: V,
|
|
4595
|
-
initDefaultConfigs:
|
|
4595
|
+
initDefaultConfigs: b,
|
|
4596
4596
|
restartCarousel: ii,
|
|
4597
4597
|
slideTo: we,
|
|
4598
4598
|
next: Be,
|
|
@@ -4604,26 +4604,26 @@ var Xo = Et({
|
|
|
4604
4604
|
return () => {
|
|
4605
4605
|
const P = Fs(ai == null ? void 0 : ai(oi)), J = (ni == null ? void 0 : ni(oi)) || [];
|
|
4606
4606
|
P.forEach((pt, ft) => pt.props.index = ft);
|
|
4607
|
-
let
|
|
4607
|
+
let X = P;
|
|
4608
4608
|
if (y.wrapAround) {
|
|
4609
|
-
const pt = P.map((gt,
|
|
4610
|
-
index: -P.length +
|
|
4609
|
+
const pt = P.map((gt, Me) => ri(gt, {
|
|
4610
|
+
index: -P.length + Me,
|
|
4611
4611
|
isClone: !0,
|
|
4612
|
-
key: `clone-before-${
|
|
4613
|
-
})), ft = P.map((gt,
|
|
4614
|
-
index: P.length +
|
|
4612
|
+
key: `clone-before-${Me}`
|
|
4613
|
+
})), ft = P.map((gt, Me) => ri(gt, {
|
|
4614
|
+
index: P.length + Me,
|
|
4615
4615
|
isClone: !0,
|
|
4616
|
-
key: `clone-after-${
|
|
4616
|
+
key: `clone-after-${Me}`
|
|
4617
4617
|
}));
|
|
4618
|
-
|
|
4618
|
+
X = [...pt, ...P, ...ft];
|
|
4619
4619
|
}
|
|
4620
4620
|
l.value = P, p.value = Math.max(P.length, 1);
|
|
4621
4621
|
const me = ke("ol", {
|
|
4622
4622
|
class: "carousel__track",
|
|
4623
|
-
style:
|
|
4623
|
+
style: As.value,
|
|
4624
4624
|
onMousedownCapture: y.mouseDrag ? ae : null,
|
|
4625
4625
|
onTouchstartPassiveCapture: y.touchDrag ? ae : null
|
|
4626
|
-
},
|
|
4626
|
+
}, X), mt = ke("div", { class: "carousel__viewport" }, me);
|
|
4627
4627
|
return ke("section", {
|
|
4628
4628
|
ref: n,
|
|
4629
4629
|
class: {
|
|
@@ -4638,7 +4638,7 @@ var Xo = Et({
|
|
|
4638
4638
|
tabindex: "0",
|
|
4639
4639
|
onMouseenter: dt,
|
|
4640
4640
|
onMouseleave: ht
|
|
4641
|
-
}, [mt, J, ke(
|
|
4641
|
+
}, [mt, J, ke(Go)]);
|
|
4642
4642
|
};
|
|
4643
4643
|
}
|
|
4644
4644
|
}), Fi;
|
|
@@ -4658,9 +4658,9 @@ var Jo = Et({
|
|
|
4658
4658
|
}
|
|
4659
4659
|
},
|
|
4660
4660
|
setup(e, { slots: t }) {
|
|
4661
|
-
const i = ve("config", Le(Object.assign({}, Y))), s = ve("currentSlide",
|
|
4662
|
-
const f = Math.floor(a.value),
|
|
4663
|
-
return e.index >= f && e.index <=
|
|
4661
|
+
const i = ve("config", Le(Object.assign({}, Y))), s = ve("currentSlide", H(0)), a = ve("slidesToScroll", H(0)), n = ve("isSliding", H(!1)), l = () => e.index === s.value, d = () => e.index === s.value - 1, p = () => e.index === s.value + 1, y = () => {
|
|
4662
|
+
const f = Math.floor(a.value), w = Math.ceil(a.value + i.itemsToShow - 1);
|
|
4663
|
+
return e.index >= f && e.index <= w;
|
|
4664
4664
|
};
|
|
4665
4665
|
return () => {
|
|
4666
4666
|
var f;
|
|
@@ -4825,7 +4825,7 @@ const Yo = (e, t) => {
|
|
|
4825
4825
|
"1904d43f": e.marginTop,
|
|
4826
4826
|
cfb58986: e.secondarySlidesOpacity
|
|
4827
4827
|
}));
|
|
4828
|
-
const a =
|
|
4828
|
+
const a = H(null), n = H({}), l = H(0), d = H(!1);
|
|
4829
4829
|
ce(
|
|
4830
4830
|
a,
|
|
4831
4831
|
(_) => {
|
|
@@ -4864,7 +4864,7 @@ const Yo = (e, t) => {
|
|
|
4864
4864
|
function f() {
|
|
4865
4865
|
a.value && a.value.prev();
|
|
4866
4866
|
}
|
|
4867
|
-
function
|
|
4867
|
+
function w() {
|
|
4868
4868
|
a.value && a.value.updateSlideWidth();
|
|
4869
4869
|
}
|
|
4870
4870
|
function c(_) {
|
|
@@ -4873,14 +4873,14 @@ const Yo = (e, t) => {
|
|
|
4873
4873
|
function I(_) {
|
|
4874
4874
|
a.value.slideTo(_);
|
|
4875
4875
|
}
|
|
4876
|
-
function
|
|
4876
|
+
function v(_) {
|
|
4877
4877
|
const u = _.slidingToIndex < 0 ? s.items.length - 1 : _.slidingToIndex === s.items.length ? 0 : _.slidingToIndex;
|
|
4878
4878
|
l.value = u, n.value = s.items[u], i("update:currentItemIndex", u), i("input", { selectedItem: n.value, selectedItemIndex: l.value });
|
|
4879
4879
|
}
|
|
4880
4880
|
return t({
|
|
4881
4881
|
prev: f,
|
|
4882
4882
|
next: y,
|
|
4883
|
-
updateSlideWidth:
|
|
4883
|
+
updateSlideWidth: w,
|
|
4884
4884
|
slideTo: c
|
|
4885
4885
|
}), (_, u) => (m(), g("div", Zo, [
|
|
4886
4886
|
s.is3d ? (m(), g("div", Qo, tr)) : (m(), g("div", {
|
|
@@ -4888,17 +4888,17 @@ const Yo = (e, t) => {
|
|
|
4888
4888
|
class: r(["gsc-carousel__2d", { "main-slide-priority": e.isMainSlidePriority }])
|
|
4889
4889
|
}, [
|
|
4890
4890
|
o("div", ir, [
|
|
4891
|
-
B(It(
|
|
4891
|
+
B(It(Xo), {
|
|
4892
4892
|
ref_key: "carousel2d",
|
|
4893
4893
|
ref: a,
|
|
4894
4894
|
"items-to-show": e.itemsToShow,
|
|
4895
4895
|
"wrap-around": e.wrapAround,
|
|
4896
|
-
onSlideStart:
|
|
4896
|
+
onSlideStart: v
|
|
4897
4897
|
}, {
|
|
4898
4898
|
default: x(() => [
|
|
4899
|
-
(m(!0), g(F, null, te(e.items, (O,
|
|
4899
|
+
(m(!0), g(F, null, te(e.items, (O, j) => (m(), ee(It(Jo), { key: j }, {
|
|
4900
4900
|
default: x(() => [
|
|
4901
|
-
|
|
4901
|
+
He(_.$slots, "default", { item: O }, void 0, !0)
|
|
4902
4902
|
]),
|
|
4903
4903
|
_: 2
|
|
4904
4904
|
}, 1024))), 128))
|
|
@@ -4958,17 +4958,17 @@ const Yo = (e, t) => {
|
|
|
4958
4958
|
]))
|
|
4959
4959
|
])) : k("", !0),
|
|
4960
4960
|
e.isPaginationVisible ? (m(), g("div", dr, [
|
|
4961
|
-
(m(!0), g(F, null, te(e.items, (O,
|
|
4962
|
-
key: `i-${
|
|
4961
|
+
(m(!0), g(F, null, te(e.items, (O, j) => (m(), g("div", {
|
|
4962
|
+
key: `i-${j}`,
|
|
4963
4963
|
class: "gsc-carousel__2d__navigation__pagination__item",
|
|
4964
4964
|
style: q({
|
|
4965
4965
|
height: `${s.navigationHeight}px`,
|
|
4966
|
-
width: `${l.value ===
|
|
4966
|
+
width: `${l.value === j ? s.navigationActiveWidth : s.navigationActiveWidth / 2}px`,
|
|
4967
4967
|
borderRadius: `${s.navigationBorderRadius}px`,
|
|
4968
|
-
backgroundColor: `${l.value ===
|
|
4968
|
+
backgroundColor: `${l.value === j ? s.navigationActiveColor : s.navigationColor}`,
|
|
4969
4969
|
transition: "all 0.1s ease-in-out"
|
|
4970
4970
|
}),
|
|
4971
|
-
onClick: (
|
|
4971
|
+
onClick: (b) => I(j)
|
|
4972
4972
|
}, null, 12, hr))), 128))
|
|
4973
4973
|
])) : k("", !0),
|
|
4974
4974
|
e.areNavigationArrowsVisible ? (m(), g("div", {
|
|
@@ -4989,7 +4989,7 @@ const Yo = (e, t) => {
|
|
|
4989
4989
|
}
|
|
4990
4990
|
}, Jt = /* @__PURE__ */ Yo(pr, [["__scopeId", "data-v-54620d25"]]);
|
|
4991
4991
|
function fr(e) {
|
|
4992
|
-
const t =
|
|
4992
|
+
const t = H({ width: 0, height: 0 });
|
|
4993
4993
|
function i() {
|
|
4994
4994
|
const s = e.value.getBoundingClientRect();
|
|
4995
4995
|
t.value.width = s.width, t.value.height = s.height;
|
|
@@ -5092,8 +5092,8 @@ const gr = (e, t) => {
|
|
|
5092
5092
|
"423a44be": e.arrowsContainerBgR,
|
|
5093
5093
|
"10b117ee": e.scrollColor
|
|
5094
5094
|
}));
|
|
5095
|
-
},
|
|
5096
|
-
Yt.setup =
|
|
5095
|
+
}, Ai = Yt.setup;
|
|
5096
|
+
Yt.setup = Ai ? (e, t) => ($i(), Ai(e, t)) : $i;
|
|
5097
5097
|
const yr = {
|
|
5098
5098
|
ref: "gscScrollableContainer",
|
|
5099
5099
|
class: "scrollable-container"
|
|
@@ -5126,7 +5126,7 @@ function kr(e, t, i, s, a, n) {
|
|
|
5126
5126
|
onScroll: t[1] || (t[1] = (...l) => n.getScroll && n.getScroll(...l))
|
|
5127
5127
|
}, [
|
|
5128
5128
|
o("div", vr, [
|
|
5129
|
-
|
|
5129
|
+
He(e.$slots, "default", {}, void 0, !0)
|
|
5130
5130
|
])
|
|
5131
5131
|
], 544),
|
|
5132
5132
|
i.arrows ? (m(), g("div", {
|
|
@@ -5246,7 +5246,7 @@ const Or = /* @__PURE__ */ gr(Yt, [["render", kr], ["__scopeId", "data-v-b548a08
|
|
|
5246
5246
|
arrowsBorder: { type: String, default: "none" }
|
|
5247
5247
|
},
|
|
5248
5248
|
setup() {
|
|
5249
|
-
const e =
|
|
5249
|
+
const e = H("myDivRef"), {
|
|
5250
5250
|
elementSize: t
|
|
5251
5251
|
} = fr(e);
|
|
5252
5252
|
return {
|
|
@@ -5269,7 +5269,7 @@ const Or = /* @__PURE__ */ gr(Yt, [["render", kr], ["__scopeId", "data-v-b548a08
|
|
|
5269
5269
|
}, t;
|
|
5270
5270
|
}
|
|
5271
5271
|
}
|
|
5272
|
-
},
|
|
5272
|
+
}, Mi = () => {
|
|
5273
5273
|
Re((e) => ({
|
|
5274
5274
|
cff4a118: e.fontSize,
|
|
5275
5275
|
"42aab7f6": e.borderWidth,
|
|
@@ -5281,18 +5281,18 @@ const Or = /* @__PURE__ */ gr(Yt, [["render", kr], ["__scopeId", "data-v-b548a08
|
|
|
5281
5281
|
"179494da": e.colorOptionActive,
|
|
5282
5282
|
cea5647c: e.width
|
|
5283
5283
|
}));
|
|
5284
|
-
},
|
|
5285
|
-
Kt.setup =
|
|
5284
|
+
}, Di = Kt.setup;
|
|
5285
|
+
Kt.setup = Di ? (e, t) => (Mi(), Di(e, t)) : Mi;
|
|
5286
5286
|
const Rr = { ref: "myDivRef" }, Fr = {
|
|
5287
5287
|
key: 0,
|
|
5288
5288
|
class: "gs-switch-container"
|
|
5289
|
-
}, $r = ["onClick"],
|
|
5289
|
+
}, $r = ["onClick"], Ar = {
|
|
5290
5290
|
key: 1,
|
|
5291
5291
|
class: "gs-switch-container-type"
|
|
5292
|
-
},
|
|
5292
|
+
}, Mr = ["onClick"], Dr = {
|
|
5293
5293
|
key: 2,
|
|
5294
5294
|
class: "gs-switch-container-carousel"
|
|
5295
|
-
},
|
|
5295
|
+
}, jr = ["onClick"];
|
|
5296
5296
|
function Pr(e, t, i, s, a, n) {
|
|
5297
5297
|
const l = le("GSCSlider");
|
|
5298
5298
|
return m(), g("div", Rr, [
|
|
@@ -5308,9 +5308,9 @@ function Pr(e, t, i, s, a, n) {
|
|
|
5308
5308
|
onClick: (y) => (i.selectedOption = d, n.clickEmitEvent(d))
|
|
5309
5309
|
}, T(d), 13, $r))), 128))
|
|
5310
5310
|
], 4),
|
|
5311
|
-
|
|
5311
|
+
He(e.$slots, i.selectedOption, {}, void 0, !0)
|
|
5312
5312
|
])) : k("", !0),
|
|
5313
|
-
i.type == 1 ? (m(), g("div",
|
|
5313
|
+
i.type == 1 ? (m(), g("div", Ar, [
|
|
5314
5314
|
o("div", {
|
|
5315
5315
|
class: "gs-switch-container-type__control",
|
|
5316
5316
|
style: q([n.customGrid(s.elementSize)])
|
|
@@ -5320,10 +5320,10 @@ function Pr(e, t, i, s, a, n) {
|
|
|
5320
5320
|
style: q([{ height: i.height }, i.selectedOption == d ? { borderColor: i.colorOptionActive, color: i.colorFont + "!important", background: i.backgroundOptionActive } : { borderColor: i.colorOptionDisable, borderWidth: "0px", borderWidth: "0px !important", color: "grey !important", background: i.backgroundOptionDisable }]),
|
|
5321
5321
|
key: p,
|
|
5322
5322
|
onClick: (y) => (i.selectedOption = d, n.clickEmitEvent(d))
|
|
5323
|
-
}, T(d), 13,
|
|
5323
|
+
}, T(d), 13, Mr))), 128))
|
|
5324
5324
|
], 4)
|
|
5325
5325
|
])) : k("", !0),
|
|
5326
|
-
i.type == 2 ? (m(), g("div",
|
|
5326
|
+
i.type == 2 ? (m(), g("div", Dr, [
|
|
5327
5327
|
B(l, {
|
|
5328
5328
|
arrows: i.arrow,
|
|
5329
5329
|
"background-color": i.background,
|
|
@@ -5344,17 +5344,17 @@ function Pr(e, t, i, s, a, n) {
|
|
|
5344
5344
|
style: q([{ height: i.height }, i.selectedOption == d ? { borderColor: i.colorOptionActive, color: i.colorFont + "!important", background: i.backgroundOptionActive } : { borderColor: i.colorOptionDisable, color: "grey !important" }]),
|
|
5345
5345
|
key: p,
|
|
5346
5346
|
onClick: (y) => (i.selectedOption = d, n.clickEmitEvent(d))
|
|
5347
|
-
}, T(d), 13,
|
|
5347
|
+
}, T(d), 13, jr))), 128))
|
|
5348
5348
|
]),
|
|
5349
5349
|
_: 1
|
|
5350
5350
|
}, 8, ["arrows", "background-color", "px-scroll", "scroll-color", "arrows-position", "arrowsScrollHide", "arrows-background", "arrows-container-bg-l", "arrows-container-bg-r", "arrows-margin", "arrows-radius", "arrows-border"])
|
|
5351
5351
|
])) : k("", !0)
|
|
5352
5352
|
], 512);
|
|
5353
5353
|
}
|
|
5354
|
-
const ct = /* @__PURE__ */ Tr(Kt, [["render", Pr], ["__scopeId", "data-v-8a86dfaf"]]), Lr = "_selectoritem_1hm4i_137",
|
|
5354
|
+
const ct = /* @__PURE__ */ Tr(Kt, [["render", Pr], ["__scopeId", "data-v-8a86dfaf"]]), Lr = "_selectoritem_1hm4i_137", Hr = "_selectoritem2_1hm4i_157", Ur = "_gscheaderlineup_1hm4i_177", Er = "_anNoEstn_1hm4i_191", xr = "_groupsLeague_1hm4i_197", Br = "_jugadores_1hm4i_209", Vr = "_switchOption_1hm4i_219", Wr = "_jugadores1_1hm4i_239", qr = "_switchOption1_1hm4i_249", zr = "_switchStatesBig_1hm4i_265", Nr = "_groupsLeagueParent_1hm4i_283", Gr = "_imgHomeTeamIcon_1hm4i_301", Xr = "_imgHomeTeamWrapper_1hm4i_313", Jr = "_teamContainer_1hm4i_337", Yr = "_name_1hm4i_361", Kr = "_homeTeamContainer_1hm4i_373", Zr = "_div_1hm4i_393", Qr = "_scoreContainer_1hm4i_401", el = "_scoreContainerWrapper_1hm4i_421", tl = "_teamContainer1_1hm4i_447", il = "_awayTeamContainer_1hm4i_471", sl = "_matchContainer_1hm4i_491", al = "_sliderMatchesChild_1hm4i_509", nl = "_manchesterUnited_1hm4i_521", ol = "_sliderMatchesItem_1hm4i_533", rl = "_sliderMatches_1hm4i_509", ll = "_sortIcon_1hm4i_569", cl = "_filtros_1hm4i_583", dl = "_sortParent_1hm4i_599", hl = "_shapeIcon_1hm4i_613", ul = "_btnFilter_1hm4i_623", ml = "_btnFilter1_1hm4i_651", pl = "_btnFilterParent_1hm4i_679", fl = "_backArrowIcon_1hm4i_695", gl = "_teamContainer2_1hm4i_707", yl = "_homeTeam_1hm4i_373", _l = "_div4_1hm4i_735", bl = "_finalScore_1hm4i_745", wl = "_manchesterUnited1_1hm4i_771", vl = "_scoreContainer1_1hm4i_785", Sl = "_match_1hm4i_491", Cl = "_manchesterUnited2_1hm4i_821", Il = "_btnDetails_1hm4i_831", kl = "_matchContainer1_1hm4i_851", Ol = "_goalChild_1hm4i_867", Tl = "_goal_1hm4i_867", Rl = "_manchesterUnited3_1hm4i_893", Fl = "_minuteEvent_1hm4i_907", $l = "_yellowCard_1hm4i_921", Al = "_awayTeamEvents_1hm4i_935", Ml = "_rectangle_1hm4i_949", Dl = "_homeTeamEvents_1hm4i_963", jl = "_totalEvents_1hm4i_979", Pl = "_headerSeccionAlineaciones1_1hm4i_995", Ll = "_switchOption3_1hm4i_1017", Hl = "_switchOption4_1hm4i_1041", Ul = "_switchStatesBig1_1hm4i_1061", El = "_manchesterUnited13_1hm4i_1075", xl = "_homeTeamContainer1_1hm4i_1085", Bl = "_scoreContainer2_1hm4i_1099", Vl = "_matchContainer2_1hm4i_1127", Wl = "_manchesterUnited14_1hm4i_1147", ql = "_sliderMatchesInner_1hm4i_1161", zl = "_rectangleIcon_1hm4i_1181", Nl = "_sliderMatches1_1hm4i_1201", Gl = "_containerData_1hm4i_1217", Xl = "_headerSeccionAlineaciones2_1hm4i_1245", Jl = "_headerSeccionAlineaciones_1hm4i_995", Yl = "_headerSeccionAlineaciones21200_1hm4i_1293", Kl = "_headerSeccionAlineaciones1540_1hm4i_1299", Zl = "_headerSeccionAlineaciones2540_1hm4i_1307", Ql = {
|
|
5355
5355
|
selectoritem: Lr,
|
|
5356
|
-
selectoritem2:
|
|
5357
|
-
gscheaderlineup:
|
|
5356
|
+
selectoritem2: Hr,
|
|
5357
|
+
gscheaderlineup: Ur,
|
|
5358
5358
|
anNoEstn: Er,
|
|
5359
5359
|
groupsLeague: xr,
|
|
5360
5360
|
jugadores: Br,
|
|
@@ -5363,8 +5363,8 @@ const ct = /* @__PURE__ */ Tr(Kt, [["render", Pr], ["__scopeId", "data-v-8a86dfa
|
|
|
5363
5363
|
switchOption1: qr,
|
|
5364
5364
|
switchStatesBig: zr,
|
|
5365
5365
|
groupsLeagueParent: Nr,
|
|
5366
|
-
imgHomeTeamIcon:
|
|
5367
|
-
imgHomeTeamWrapper:
|
|
5366
|
+
imgHomeTeamIcon: Gr,
|
|
5367
|
+
imgHomeTeamWrapper: Xr,
|
|
5368
5368
|
teamContainer: Jr,
|
|
5369
5369
|
name: Yr,
|
|
5370
5370
|
homeTeamContainer: Kr,
|
|
@@ -5401,14 +5401,14 @@ const ct = /* @__PURE__ */ Tr(Kt, [["render", Pr], ["__scopeId", "data-v-8a86dfa
|
|
|
5401
5401
|
manchesterUnited3: Rl,
|
|
5402
5402
|
minuteEvent: Fl,
|
|
5403
5403
|
yellowCard: $l,
|
|
5404
|
-
awayTeamEvents:
|
|
5405
|
-
rectangle:
|
|
5406
|
-
homeTeamEvents:
|
|
5407
|
-
totalEvents:
|
|
5404
|
+
awayTeamEvents: Al,
|
|
5405
|
+
rectangle: Ml,
|
|
5406
|
+
homeTeamEvents: Dl,
|
|
5407
|
+
totalEvents: jl,
|
|
5408
5408
|
headerSeccionAlineaciones1: Pl,
|
|
5409
5409
|
switchOption3: Ll,
|
|
5410
|
-
switchOption4:
|
|
5411
|
-
switchStatesBig1:
|
|
5410
|
+
switchOption4: Hl,
|
|
5411
|
+
switchStatesBig1: Ul,
|
|
5412
5412
|
manchesterUnited13: El,
|
|
5413
5413
|
homeTeamContainer1: xl,
|
|
5414
5414
|
scoreContainer2: Bl,
|
|
@@ -5417,8 +5417,8 @@ const ct = /* @__PURE__ */ Tr(Kt, [["render", Pr], ["__scopeId", "data-v-8a86dfa
|
|
|
5417
5417
|
sliderMatchesInner: ql,
|
|
5418
5418
|
rectangleIcon: zl,
|
|
5419
5419
|
sliderMatches1: Nl,
|
|
5420
|
-
containerData:
|
|
5421
|
-
headerSeccionAlineaciones2:
|
|
5420
|
+
containerData: Gl,
|
|
5421
|
+
headerSeccionAlineaciones2: Xl,
|
|
5422
5422
|
headerSeccionAlineaciones: Jl,
|
|
5423
5423
|
headerSeccionAlineaciones21200: Yl,
|
|
5424
5424
|
headerSeccionAlineaciones1540: Kl,
|
|
@@ -5734,23 +5734,23 @@ function rc(e, t, i, s, a, n) {
|
|
|
5734
5734
|
}, [
|
|
5735
5735
|
i.teamActive == "home" ? (m(), g(F, { key: 0 }, [
|
|
5736
5736
|
Object.home_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
5737
|
-
|
|
5737
|
+
M(" Ganado ")
|
|
5738
5738
|
], 64)) : k("", !0),
|
|
5739
5739
|
Object.home_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
5740
|
-
|
|
5740
|
+
M(" Perdido ")
|
|
5741
5741
|
], 64)) : k("", !0),
|
|
5742
5742
|
Object.home_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
5743
|
-
|
|
5743
|
+
M(" Empatado ")
|
|
5744
5744
|
], 64)) : k("", !0)
|
|
5745
5745
|
], 64)) : (m(), g(F, { key: 1 }, [
|
|
5746
5746
|
Object.visiting_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
5747
|
-
|
|
5747
|
+
M(" Ganado ")
|
|
5748
5748
|
], 64)) : k("", !0),
|
|
5749
5749
|
Object.visiting_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
5750
|
-
|
|
5750
|
+
M(" Perdido ")
|
|
5751
5751
|
], 64)) : k("", !0),
|
|
5752
5752
|
Object.visiting_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
5753
|
-
|
|
5753
|
+
M(" Empatado ")
|
|
5754
5754
|
], 64)) : k("", !0)
|
|
5755
5755
|
], 64))
|
|
5756
5756
|
], 2)
|
|
@@ -5992,7 +5992,7 @@ const lc = {
|
|
|
5992
5992
|
this.$emit("click", e), this.typeOnOff && (this.status = !this.status, this.$emit("status", this.status));
|
|
5993
5993
|
}
|
|
5994
5994
|
}
|
|
5995
|
-
},
|
|
5995
|
+
}, ji = () => {
|
|
5996
5996
|
Re((e) => ({
|
|
5997
5997
|
"9d01acb4": e.height,
|
|
5998
5998
|
"14e95081": e.borderWidthBtn,
|
|
@@ -6009,7 +6009,7 @@ const lc = {
|
|
|
6009
6009
|
c7f7beba: e.fontSizeStat
|
|
6010
6010
|
}));
|
|
6011
6011
|
}, Pi = Zt.setup;
|
|
6012
|
-
Zt.setup = Pi ? (e, t) => (
|
|
6012
|
+
Zt.setup = Pi ? (e, t) => (ji(), Pi(e, t)) : ji;
|
|
6013
6013
|
const hc = (e) => (Vi("data-v-f3ee6b2b"), e = e(), Wi(), e), uc = ["src"], mc = {
|
|
6014
6014
|
key: 1,
|
|
6015
6015
|
class: "text"
|
|
@@ -6231,11 +6231,11 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6231
6231
|
},
|
|
6232
6232
|
emits: ["input", "click-ready", "update:modelValue"],
|
|
6233
6233
|
setup(e, { emit: t }) {
|
|
6234
|
-
const i = e, s =
|
|
6234
|
+
const i = e, s = H({}), a = H(null), n = H(i.isMultipleOption ? -1 : 0), l = H(!1);
|
|
6235
6235
|
ce(
|
|
6236
6236
|
() => i.items,
|
|
6237
|
-
(I,
|
|
6238
|
-
if (!i.modelValue && (!i.onlyFirstTime || !
|
|
6237
|
+
(I, v) => {
|
|
6238
|
+
if (!i.modelValue && (!i.onlyFirstTime || !v || !v.length) && I && I.length) {
|
|
6239
6239
|
if (i.defaultItemByProp) {
|
|
6240
6240
|
const _ = i.items.findIndex(
|
|
6241
6241
|
(u) => u[i.defaultItemByProp.propName] === i.defaultItemByProp.value
|
|
@@ -6251,8 +6251,8 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6251
6251
|
() => i.modelValue,
|
|
6252
6252
|
(I) => {
|
|
6253
6253
|
if (I) {
|
|
6254
|
-
const
|
|
6255
|
-
|
|
6254
|
+
const v = i.items.findIndex((_) => typeof I == "object" ? JSON.stringify(_) === JSON.stringify(I) : _ === I);
|
|
6255
|
+
v !== -1 && (n.value = v, s.value = i.items[v], t("update:modelValue", s.value));
|
|
6256
6256
|
}
|
|
6257
6257
|
},
|
|
6258
6258
|
{ immediate: !0 }
|
|
@@ -6295,17 +6295,17 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6295
6295
|
function f(I) {
|
|
6296
6296
|
a.value && !a.value.contains(I.target) && (l.value = !1);
|
|
6297
6297
|
}
|
|
6298
|
-
function
|
|
6299
|
-
i.isMultipleOption ? n.value = -1 : (n.value =
|
|
6298
|
+
function w(I, v) {
|
|
6299
|
+
i.isMultipleOption ? n.value = -1 : (n.value = v, l.value = !1), s.value = I, t("input", s.value), t("update:modelValue", s.value);
|
|
6300
6300
|
}
|
|
6301
6301
|
function c() {
|
|
6302
6302
|
l.value = !1, t("click-ready");
|
|
6303
6303
|
}
|
|
6304
6304
|
return xt(() => {
|
|
6305
6305
|
document.addEventListener("click", f);
|
|
6306
|
-
}),
|
|
6306
|
+
}), Ds(() => {
|
|
6307
6307
|
document.removeEventListener("click", f);
|
|
6308
|
-
}), (I,
|
|
6308
|
+
}), (I, v) => (m(), g("div", {
|
|
6309
6309
|
ref_key: "dropDown",
|
|
6310
6310
|
ref: a,
|
|
6311
6311
|
class: "gsc-dropdown",
|
|
@@ -6317,7 +6317,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6317
6317
|
onClick: y
|
|
6318
6318
|
}, [
|
|
6319
6319
|
o("div", vc, [
|
|
6320
|
-
|
|
6320
|
+
He(I.$slots, "default", { selectedItem: s.value })
|
|
6321
6321
|
]),
|
|
6322
6322
|
o("div", {
|
|
6323
6323
|
class: r(["gsc-dropdown__main-container__icon", { "rotated-180": l.value }]),
|
|
@@ -6345,7 +6345,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6345
6345
|
]))
|
|
6346
6346
|
], 6)
|
|
6347
6347
|
], 4),
|
|
6348
|
-
B(
|
|
6348
|
+
B(js, null, {
|
|
6349
6349
|
default: x(() => [
|
|
6350
6350
|
li(o("div", Oc, [
|
|
6351
6351
|
o("div", null, [
|
|
@@ -6357,9 +6357,9 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6357
6357
|
li((m(), g("div", {
|
|
6358
6358
|
class: r(["gsc-dropdown__items__item", { selected: u === n.value }]),
|
|
6359
6359
|
key: u,
|
|
6360
|
-
onClick: (O) =>
|
|
6360
|
+
onClick: (O) => w(_, u)
|
|
6361
6361
|
}, [
|
|
6362
|
-
|
|
6362
|
+
He(I.$slots, "availableItem", { item: _ })
|
|
6363
6363
|
], 10, Tc)), [
|
|
6364
6364
|
[ci, !_.isHidden]
|
|
6365
6365
|
])
|
|
@@ -6386,7 +6386,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6386
6386
|
})
|
|
6387
6387
|
], 4));
|
|
6388
6388
|
}
|
|
6389
|
-
}, Fc = ["for"], $c = ["name"],
|
|
6389
|
+
}, Fc = ["for"], $c = ["name"], Ac = {
|
|
6390
6390
|
key: 2,
|
|
6391
6391
|
width: "19",
|
|
6392
6392
|
height: "19",
|
|
@@ -6423,7 +6423,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6423
6423
|
fill: "#CBEE6B",
|
|
6424
6424
|
d: "M13.4872 0.5H5.52225C2.06253 0.5 0 2.5615 0 6.0195V13.971C0 17.4385 2.06253 19.5 5.52225 19.5H13.4777C16.9374 19.5 19 17.4385 19 13.9805V6.0195C19.0095 2.5615 16.9469 0.5 13.4872 0.5ZM14.048 7.815L8.65881 13.2015C8.52575 13.3345 8.34516 13.4105 8.15506 13.4105C7.96497 13.4105 7.78438 13.3345 7.65131 13.2015L4.96147 10.513C4.68583 10.2375 4.68583 9.7815 4.96147 9.506C5.23711 9.2305 5.69334 9.2305 5.96897 9.506L8.15506 11.691L13.0405 6.808C13.3161 6.5325 13.7724 6.5325 14.048 6.808C14.3236 7.0835 14.3236 7.53 14.048 7.815Z"
|
|
6425
6425
|
}, null, -1)
|
|
6426
|
-
]), 8, $c)) : (m(), g("svg",
|
|
6426
|
+
]), 8, $c)) : (m(), g("svg", Ac, a[2] || (a[2] = [
|
|
6427
6427
|
o("path", {
|
|
6428
6428
|
id: "Vector",
|
|
6429
6429
|
d: "M7.65 20.5H13.35C18.1 20.5 20 18.6 20 13.85V8.15C20 3.4 18.1 1.5 13.35 1.5H7.65C2.9 1.5 1 3.4 1 8.15V13.85C1 18.6 2.9 20.5 7.65 20.5Z",
|
|
@@ -6436,7 +6436,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6436
6436
|
])))
|
|
6437
6437
|
]));
|
|
6438
6438
|
}
|
|
6439
|
-
},
|
|
6439
|
+
}, Mc = ["value"], Dc = { class: "filter-modal__padding" }, jc = { class: "filter-modal__content-header" }, Pc = { class: "filter-modal__content-options" }, Lc = ["onClick"], Hc = { class: "filter-modal__content-header" }, Uc = { class: "filter-modal__content-options" }, Ec = ["onClick"], xc = {
|
|
6440
6440
|
__name: "gsc-filter",
|
|
6441
6441
|
props: {
|
|
6442
6442
|
name: {
|
|
@@ -6481,25 +6481,25 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6481
6481
|
Re((h) => ({
|
|
6482
6482
|
d00c78a6: e.marginModal
|
|
6483
6483
|
}));
|
|
6484
|
-
const i = e, s = [{ id: "local", name: "Local" }, { id: "visit", name: "Visitante" }], a = [{ id: "win", name: "Ganado" }, { id: "draw", name: "Empatados" }, { id: "lose", name: "Perdidos" }], n =
|
|
6485
|
-
n.value.focus(), d.value = JSON.parse(JSON.stringify(I.value)), p.value = JSON.parse(JSON.stringify(
|
|
6484
|
+
const i = e, s = [{ id: "local", name: "Local" }, { id: "visit", name: "Visitante" }], a = [{ id: "win", name: "Ganado" }, { id: "draw", name: "Empatados" }, { id: "lose", name: "Perdidos" }], n = H(null), l = t, d = H(["local", "visit"]), p = H(["win", "draw", "lose"]), y = H(!0), f = H(!0), w = H(!0), c = H(!0), I = H(["local", "visit"]), v = H(["win", "draw", "lose"]), _ = () => {
|
|
6485
|
+
n.value.focus(), d.value = JSON.parse(JSON.stringify(I.value)), p.value = JSON.parse(JSON.stringify(v.value)), y.value = w.value, f.value = c.value;
|
|
6486
6486
|
};
|
|
6487
6487
|
ce(() => i.itemSelect, (h) => {
|
|
6488
|
-
h && (I.value = h.selectedFilterTeam,
|
|
6488
|
+
h && (I.value = h.selectedFilterTeam, v.value = h.selectedFilterResults);
|
|
6489
6489
|
}), ce(() => i.reset, (h) => {
|
|
6490
6490
|
h && O();
|
|
6491
6491
|
});
|
|
6492
6492
|
const u = (h, S) => {
|
|
6493
6493
|
let $;
|
|
6494
|
-
S === "team" ? $ = I.value : $ =
|
|
6495
|
-
const V = $.findIndex((
|
|
6496
|
-
V == -1 ? $.push(h) : S == "team" && I.value.length == 2 ? $.splice(V, 1) : (S == "team" && $.push(h),
|
|
6494
|
+
S === "team" ? $ = I.value : $ = v.value;
|
|
6495
|
+
const V = $.findIndex((D) => D === h);
|
|
6496
|
+
V == -1 ? $.push(h) : S == "team" && I.value.length == 2 ? $.splice(V, 1) : (S == "team" && $.push(h), v.value.length > 1 && $.splice(V, 1)), w.value = I.value.length == 2, c.value = v.value.length == 3;
|
|
6497
6497
|
}, O = () => {
|
|
6498
|
-
I.value = ["local", "visit"],
|
|
6499
|
-
},
|
|
6500
|
-
l("change", { selectedFilterTeam: I.value, selectedFilterResults:
|
|
6501
|
-
},
|
|
6502
|
-
l("change", { selectedFilterTeam: I.value, selectedFilterResults:
|
|
6498
|
+
I.value = ["local", "visit"], v.value = ["win", "draw", "lose"], w.value = !0, c.value = !0, l("change", { selectedFilterTeam: I.value, selectedFilterResults: v.value });
|
|
6499
|
+
}, j = () => {
|
|
6500
|
+
l("change", { selectedFilterTeam: I.value, selectedFilterResults: v.value });
|
|
6501
|
+
}, b = () => {
|
|
6502
|
+
l("change", { selectedFilterTeam: I.value, selectedFilterResults: v.value });
|
|
6503
6503
|
};
|
|
6504
6504
|
return (h, S) => (m(), g("div", {
|
|
6505
6505
|
class: "filter-modal",
|
|
@@ -6515,7 +6515,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6515
6515
|
type: "text",
|
|
6516
6516
|
value: e.name,
|
|
6517
6517
|
readonly: ""
|
|
6518
|
-
}, null, 8,
|
|
6518
|
+
}, null, 8, Mc),
|
|
6519
6519
|
S[6] || (S[6] = o("svg", {
|
|
6520
6520
|
width: "8",
|
|
6521
6521
|
height: "4",
|
|
@@ -6537,16 +6537,16 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6537
6537
|
ref_key: "filterElement",
|
|
6538
6538
|
ref: n,
|
|
6539
6539
|
onFocusout: S[4] || (S[4] = ($) => {
|
|
6540
|
-
e.isOpen = !1,
|
|
6540
|
+
e.isOpen = !1, b();
|
|
6541
6541
|
})
|
|
6542
6542
|
}, [
|
|
6543
|
-
o("div",
|
|
6544
|
-
o("div",
|
|
6543
|
+
o("div", Dc, [
|
|
6544
|
+
o("div", jc, [
|
|
6545
6545
|
S[7] || (S[7] = o("h3", null, "Jugando como:", -1)),
|
|
6546
6546
|
B(Li, {
|
|
6547
|
-
modelValue:
|
|
6547
|
+
modelValue: w.value,
|
|
6548
6548
|
"onUpdate:modelValue": [
|
|
6549
|
-
S[0] || (S[0] = ($) =>
|
|
6549
|
+
S[0] || (S[0] = ($) => w.value = $),
|
|
6550
6550
|
S[1] || (S[1] = ($) => $ && (I.value = ["local", "visit"]))
|
|
6551
6551
|
],
|
|
6552
6552
|
label: "Todos"
|
|
@@ -6558,21 +6558,21 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6558
6558
|
class: r({ active: I.value.includes($.id) })
|
|
6559
6559
|
}, T($.name), 11, Lc)), 64))
|
|
6560
6560
|
]),
|
|
6561
|
-
o("div",
|
|
6561
|
+
o("div", Hc, [
|
|
6562
6562
|
S[8] || (S[8] = o("h3", null, "Resultados:", -1)),
|
|
6563
6563
|
B(Li, {
|
|
6564
6564
|
modelValue: c.value,
|
|
6565
6565
|
"onUpdate:modelValue": [
|
|
6566
6566
|
S[2] || (S[2] = ($) => c.value = $),
|
|
6567
|
-
S[3] || (S[3] = ($) => $ && (
|
|
6567
|
+
S[3] || (S[3] = ($) => $ && (v.value = ["win", "lose", "draw"]))
|
|
6568
6568
|
],
|
|
6569
6569
|
label: "Todos"
|
|
6570
6570
|
}, null, 8, ["modelValue"])
|
|
6571
6571
|
]),
|
|
6572
|
-
o("ul",
|
|
6572
|
+
o("ul", Uc, [
|
|
6573
6573
|
(m(), g(F, null, te(a, ($) => o("li", {
|
|
6574
6574
|
onClick: (V) => u($.id, "player"),
|
|
6575
|
-
class: r({ active:
|
|
6575
|
+
class: r({ active: v.value.includes($.id) })
|
|
6576
6576
|
}, T($.name), 11, Ec)), 64))
|
|
6577
6577
|
])
|
|
6578
6578
|
]),
|
|
@@ -6584,7 +6584,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6584
6584
|
}, "Quitar filtros"),
|
|
6585
6585
|
o("div", {
|
|
6586
6586
|
class: "button filter-modal__outline-btn",
|
|
6587
|
-
onClick:
|
|
6587
|
+
onClick: j
|
|
6588
6588
|
}, "Listo")
|
|
6589
6589
|
])
|
|
6590
6590
|
], 34)
|
|
@@ -6611,7 +6611,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6611
6611
|
viewBox: "0 0 4 6",
|
|
6612
6612
|
fill: "none",
|
|
6613
6613
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6614
|
-
},
|
|
6614
|
+
}, Hi = {
|
|
6615
6615
|
__name: "Icons",
|
|
6616
6616
|
props: {
|
|
6617
6617
|
icon: {
|
|
@@ -6638,7 +6638,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6638
6638
|
}, null, -1)
|
|
6639
6639
|
]))) : k("", !0);
|
|
6640
6640
|
}
|
|
6641
|
-
}, zc = { class: "match-details" }, Nc = { class: "match-details__list" },
|
|
6641
|
+
}, zc = { class: "match-details" }, Nc = { class: "match-details__list" }, Gc = { class: "match-details__list right" }, Xc = {
|
|
6642
6642
|
__name: "MatchDetails",
|
|
6643
6643
|
props: {
|
|
6644
6644
|
localDetails: {
|
|
@@ -6654,17 +6654,17 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6654
6654
|
return (t, i) => (m(), g("div", zc, [
|
|
6655
6655
|
o("ul", Nc, [
|
|
6656
6656
|
(m(!0), g(F, null, te(e.localDetails, (s) => (m(), g("li", null, [
|
|
6657
|
-
B(
|
|
6657
|
+
B(Hi, {
|
|
6658
6658
|
class: "icon",
|
|
6659
6659
|
icon: s.icon
|
|
6660
6660
|
}, null, 8, ["icon"]),
|
|
6661
6661
|
o("span", null, T(s.description), 1)
|
|
6662
6662
|
]))), 256))
|
|
6663
6663
|
]),
|
|
6664
|
-
o("ul",
|
|
6664
|
+
o("ul", Gc, [
|
|
6665
6665
|
(m(!0), g(F, null, te(e.foreignDetails, (s) => (m(), g("li", null, [
|
|
6666
6666
|
o("span", null, T(s.description), 1),
|
|
6667
|
-
B(
|
|
6667
|
+
B(Hi, {
|
|
6668
6668
|
class: "icon",
|
|
6669
6669
|
icon: s.icon
|
|
6670
6670
|
}, null, 8, ["icon"])
|
|
@@ -6672,7 +6672,7 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6672
6672
|
])
|
|
6673
6673
|
]));
|
|
6674
6674
|
}
|
|
6675
|
-
}, Jc = /* @__PURE__ */ fe(
|
|
6675
|
+
}, Jc = /* @__PURE__ */ fe(Xc, [["__scopeId", "data-v-ad3b88e3"]]), Yc = (e, t) => {
|
|
6676
6676
|
const i = e.__vccOpts || e;
|
|
6677
6677
|
for (const [s, a] of t)
|
|
6678
6678
|
i[s] = a;
|
|
@@ -6741,13 +6741,13 @@ const wc = /* @__PURE__ */ dc(Zt, [["render", bc], ["__scopeId", "data-v-f3ee6b2
|
|
|
6741
6741
|
e.target.checked ? this.$emit("change", this.textOptionRight) : this.$emit("change", this.textOptionLeft);
|
|
6742
6742
|
}
|
|
6743
6743
|
}
|
|
6744
|
-
},
|
|
6744
|
+
}, Ui = () => {
|
|
6745
6745
|
Re((e) => ({
|
|
6746
6746
|
"1b04779e": e.widthCircle,
|
|
6747
6747
|
c974bf22: e.heightCircle
|
|
6748
6748
|
}));
|
|
6749
6749
|
}, Ei = Qt.setup;
|
|
6750
|
-
Qt.setup = Ei ? (e, t) => (
|
|
6750
|
+
Qt.setup = Ei ? (e, t) => (Ui(), Ei(e, t)) : Ui;
|
|
6751
6751
|
const Kc = {
|
|
6752
6752
|
key: 0,
|
|
6753
6753
|
class: "text-left"
|
|
@@ -6784,7 +6784,7 @@ function id(e, t, i, s, a, n) {
|
|
|
6784
6784
|
i.textOptionRight != "" && !i.hiddenLabels ? (m(), g("span", td, T(i.textOptionRight), 1)) : k("", !0)
|
|
6785
6785
|
], 4);
|
|
6786
6786
|
}
|
|
6787
|
-
const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a20444"]]), ad = "_containernofoundsearchrecientes_nc3mr_159", nd = "_btndeletefilters_nc3mr_215", od = "_leyenddeleteshow_nc3mr_247", rd = "_selectoritem_nc3mr_261", ld = "_anNoEstn_nc3mr_279", cd = "_groupsLeague_nc3mr_287", dd = "_historicas_nc3mr_297", hd = "_switchOption_nc3mr_309", ud = "_recientes_nc3mr_331", md = "_switchOption1_nc3mr_343", pd = "_switchOption2_nc3mr_369", fd = "_switchStatesBig_nc3mr_387", gd = "_groupsLeagueParent_nc3mr_407", yd = "_imgHomeTeamIcon_nc3mr_427", _d = "_imgHomeTeamWrapper_nc3mr_441", bd = "_teamContainer_nc3mr_467", wd = "_name_nc3mr_493", vd = "_homeTeamContainer_nc3mr_507", Sd = "_div_nc3mr_529", Cd = "_scoreContainer_nc3mr_539", Id = "_scoreContainerWrapper_nc3mr_561", kd = "_teamContainer1_nc3mr_587", Od = "_awayTeamContainer_nc3mr_613", Td = "_matchContainer_nc3mr_635", Rd = "_sliderMatchesChild_nc3mr_655", Fd = "_manchesterUnited_nc3mr_669", $d = "_sliderMatchesItem_nc3mr_683",
|
|
6787
|
+
const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a20444"]]), ad = "_containernofoundsearchrecientes_nc3mr_159", nd = "_btndeletefilters_nc3mr_215", od = "_leyenddeleteshow_nc3mr_247", rd = "_selectoritem_nc3mr_261", ld = "_anNoEstn_nc3mr_279", cd = "_groupsLeague_nc3mr_287", dd = "_historicas_nc3mr_297", hd = "_switchOption_nc3mr_309", ud = "_recientes_nc3mr_331", md = "_switchOption1_nc3mr_343", pd = "_switchOption2_nc3mr_369", fd = "_switchStatesBig_nc3mr_387", gd = "_groupsLeagueParent_nc3mr_407", yd = "_imgHomeTeamIcon_nc3mr_427", _d = "_imgHomeTeamWrapper_nc3mr_441", bd = "_teamContainer_nc3mr_467", wd = "_name_nc3mr_493", vd = "_homeTeamContainer_nc3mr_507", Sd = "_div_nc3mr_529", Cd = "_scoreContainer_nc3mr_539", Id = "_scoreContainerWrapper_nc3mr_561", kd = "_teamContainer1_nc3mr_587", Od = "_awayTeamContainer_nc3mr_613", Td = "_matchContainer_nc3mr_635", Rd = "_sliderMatchesChild_nc3mr_655", Fd = "_manchesterUnited_nc3mr_669", $d = "_sliderMatchesItem_nc3mr_683", Ad = "_sliderMatches_nc3mr_655", Md = "_sortIcon_nc3mr_719", Dd = "_filtros_nc3mr_735", jd = "_sortParent_nc3mr_753", Pd = "_shapeIcon_nc3mr_769", Ld = "_btnFilter_nc3mr_781", Hd = "_btnFilter1_nc3mr_813", Ud = "_btnFilterParent_nc3mr_843", Ed = "_backArrowIcon_nc3mr_861", xd = "_teamContainer2_nc3mr_875", Bd = "_homeTeam_nc3mr_507", Vd = "_div4_nc3mr_907", Wd = "_finalScore_nc3mr_919", qd = "_manchesterUnited1_nc3mr_947", zd = "_scoreContainer1_nc3mr_963", Nd = "_match_nc3mr_635", Gd = "_manchesterUnited2_nc3mr_997", Xd = "_btnDetails_nc3mr_1023", Jd = "_matchContainer1_nc3mr_1045", Yd = "_goalChild_nc3mr_1063", Kd = "_goal_nc3mr_1063", Zd = "_manchesterUnited3_nc3mr_1093", Qd = "_minuteEvent_nc3mr_1109", eh = "_yellowCard_nc3mr_1125", th = "_awayTeamEvents_nc3mr_1141", ih = "_rectangle_nc3mr_1157", sh = "_homeTeamEvents_nc3mr_1173", ah = "_totalEvents_nc3mr_1191", nh = "_headerSeccionAlineaciones1_nc3mr_1209", oh = "_sliderMatchesInner_nc3mr_1231", rh = "_btnFilter2_nc3mr_1245", lh = "_btnDetails1_nc3mr_1279", ch = "_matchContainer3_nc3mr_1297", dh = "_backArrowIcon1_nc3mr_1319", hh = "_match1_nc3mr_1333", uh = "_headerSeccionAlineaciones2_nc3mr_1345", mh = "_jugadores2_nc3mr_1367", ph = "_switchOption6_nc3mr_1381", fh = "_switchOption7_nc3mr_1403", gh = "_switchStatesBig2_nc3mr_1429", yh = "_manchesterUnited26_nc3mr_1445", _h = "_homeTeamContainer2_nc3mr_1457", bh = "_vectorIcon_nc3mr_1473", wh = "_teamSwitch_nc3mr_1485", vh = "_matchContainer5_nc3mr_1511", Sh = "_manchesterUnited27_nc3mr_1533", Ch = "_sliderMatchesChild1_nc3mr_1549", Ih = "_sliderMatchesChild2_nc3mr_1571", kh = "_sliderMatches2_nc3mr_1593", Oh = "_filtros2_nc3mr_1613", Th = "_btnFilter4_nc3mr_1633", Rh = "_jornada2_nc3mr_1665", Fh = "_filterMatchday_nc3mr_1679", $h = "_btnDetails2_nc3mr_1701", Ah = "_filtersContainer_nc3mr_1723", Mh = "_matchContainer6_nc3mr_1743", Dh = "_matchDetailContainer_nc3mr_1761", jh = "_containerData_nc3mr_1781", Ph = "_headerSeccionAlineaciones3_nc3mr_1811", Lh = "_headerSeccionAlineaciones_nc3mr_1209", Hh = "_headerSeccionAlineaciones31200_nc3mr_1863", Uh = "_headerSeccionAlineaciones3420_nc3mr_1889", Eh = "_headerSeccionAlineaciones3880_nc3mr_1915", xh = "_headerSeccionAlineaciones3540_nc3mr_1939", Bh = "_headerSeccionAlineaciones11200_nc3mr_1965", Vh = "_headerSeccionAlineaciones1420_nc3mr_1993", Wh = "_headerSeccionAlineaciones1880_nc3mr_2015", qh = "_headerSeccionAlineaciones21200_nc3mr_2037", zh = "_headerSeccionAlineaciones2420_nc3mr_2065", Nh = "_headerSeccionAlineaciones2880_nc3mr_2089", Gh = "_headerSeccionAlineaciones2540_nc3mr_2111", Xh = {
|
|
6788
6788
|
containernofoundsearchrecientes: ad,
|
|
6789
6789
|
"text-containernofoundsearchrecientes": "_text-containernofoundsearchrecientes_nc3mr_171",
|
|
6790
6790
|
"btn-delete-filters": "_btn-delete-filters_nc3mr_183",
|
|
@@ -6814,14 +6814,14 @@ const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a2044
|
|
|
6814
6814
|
sliderMatchesChild: Rd,
|
|
6815
6815
|
manchesterUnited: Fd,
|
|
6816
6816
|
sliderMatchesItem: $d,
|
|
6817
|
-
sliderMatches:
|
|
6818
|
-
sortIcon:
|
|
6819
|
-
filtros:
|
|
6820
|
-
sortParent:
|
|
6817
|
+
sliderMatches: Ad,
|
|
6818
|
+
sortIcon: Md,
|
|
6819
|
+
filtros: Dd,
|
|
6820
|
+
sortParent: jd,
|
|
6821
6821
|
shapeIcon: Pd,
|
|
6822
6822
|
btnFilter: Ld,
|
|
6823
|
-
btnFilter1:
|
|
6824
|
-
btnFilterParent:
|
|
6823
|
+
btnFilter1: Hd,
|
|
6824
|
+
btnFilterParent: Ud,
|
|
6825
6825
|
backArrowIcon: Ed,
|
|
6826
6826
|
teamContainer2: xd,
|
|
6827
6827
|
homeTeam: Bd,
|
|
@@ -6830,8 +6830,8 @@ const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a2044
|
|
|
6830
6830
|
manchesterUnited1: qd,
|
|
6831
6831
|
scoreContainer1: zd,
|
|
6832
6832
|
match: Nd,
|
|
6833
|
-
manchesterUnited2:
|
|
6834
|
-
btnDetails:
|
|
6833
|
+
manchesterUnited2: Gd,
|
|
6834
|
+
btnDetails: Xd,
|
|
6835
6835
|
matchContainer1: Jd,
|
|
6836
6836
|
goalChild: Yd,
|
|
6837
6837
|
goal: Kd,
|
|
@@ -6868,14 +6868,14 @@ const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a2044
|
|
|
6868
6868
|
jornada2: Rh,
|
|
6869
6869
|
filterMatchday: Fh,
|
|
6870
6870
|
btnDetails2: $h,
|
|
6871
|
-
filtersContainer:
|
|
6872
|
-
matchContainer6:
|
|
6873
|
-
matchDetailContainer:
|
|
6874
|
-
containerData:
|
|
6871
|
+
filtersContainer: Ah,
|
|
6872
|
+
matchContainer6: Mh,
|
|
6873
|
+
matchDetailContainer: Dh,
|
|
6874
|
+
containerData: jh,
|
|
6875
6875
|
headerSeccionAlineaciones3: Ph,
|
|
6876
6876
|
headerSeccionAlineaciones: Lh,
|
|
6877
|
-
headerSeccionAlineaciones31200:
|
|
6878
|
-
headerSeccionAlineaciones3420:
|
|
6877
|
+
headerSeccionAlineaciones31200: Hh,
|
|
6878
|
+
headerSeccionAlineaciones3420: Uh,
|
|
6879
6879
|
headerSeccionAlineaciones3880: Eh,
|
|
6880
6880
|
headerSeccionAlineaciones3540: xh,
|
|
6881
6881
|
headerSeccionAlineaciones11200: Bh,
|
|
@@ -6884,7 +6884,7 @@ const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a2044
|
|
|
6884
6884
|
headerSeccionAlineaciones21200: qh,
|
|
6885
6885
|
headerSeccionAlineaciones2420: zh,
|
|
6886
6886
|
headerSeccionAlineaciones2880: Nh,
|
|
6887
|
-
headerSeccionAlineaciones2540:
|
|
6887
|
+
headerSeccionAlineaciones2540: Gh
|
|
6888
6888
|
}, Jh = {
|
|
6889
6889
|
components: {
|
|
6890
6890
|
GSCCarousel: Jt,
|
|
@@ -7194,7 +7194,7 @@ const sd = /* @__PURE__ */ Yc(Qt, [["render", id], ["__scopeId", "data-v-e2a2044
|
|
|
7194
7194
|
}
|
|
7195
7195
|
}, Yh = ["src"], Kh = ["src"], Zh = { class: "selector-tournaments" }, Qh = ["src"], eu = ["src"], tu = { key: 1 }, iu = ["src"], su = ["src"], au = { class: "selector-tournaments" }, nu = ["src"], ou = ["src"], ru = { key: 1 }, lu = ["src"], cu = ["src"], du = { class: "selector-tournaments" }, hu = ["src"], uu = ["src"], mu = { key: 1 };
|
|
7196
7196
|
function pu(e, t, i, s, a, n) {
|
|
7197
|
-
const l = le("GscSwitchComponent"), d = le("GSCSwitchRadio"), p = le("GSCFilter"), y = le("GSCDropdown"), f = le("GSCCarousel"),
|
|
7197
|
+
const l = le("GscSwitchComponent"), d = le("GSCSwitchRadio"), p = le("GSCFilter"), y = le("GSCDropdown"), f = le("GSCCarousel"), w = le("GSCMatchDetails");
|
|
7198
7198
|
return m(), g("div", {
|
|
7199
7199
|
class: r(e.$style.headerSeccionAlineaciones)
|
|
7200
7200
|
}, [
|
|
@@ -7425,9 +7425,9 @@ function pu(e, t, i, s, a, n) {
|
|
|
7425
7425
|
class: r(e.$style.div4)
|
|
7426
7426
|
}, [
|
|
7427
7427
|
Array.isArray(c.score) ? (m(), g(F, { key: 0 }, [
|
|
7428
|
-
|
|
7428
|
+
M(T(c.score[1]), 1)
|
|
7429
7429
|
], 64)) : (m(), g(F, { key: 1 }, [
|
|
7430
|
-
|
|
7430
|
+
M(T(c.score[4]), 1)
|
|
7431
7431
|
], 64))
|
|
7432
7432
|
], 2)) : k("", !0)
|
|
7433
7433
|
], 2),
|
|
@@ -7436,24 +7436,24 @@ function pu(e, t, i, s, a, n) {
|
|
|
7436
7436
|
}, [
|
|
7437
7437
|
c.home_team_abbreviation == a.teamSelect ? (m(), g(F, { key: 0 }, [
|
|
7438
7438
|
c.home_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
7439
|
-
|
|
7439
|
+
M("Ganado")
|
|
7440
7440
|
], 64)) : k("", !0),
|
|
7441
7441
|
c.home_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
7442
|
-
|
|
7442
|
+
M("Perdido")
|
|
7443
7443
|
], 64)) : k("", !0),
|
|
7444
7444
|
c.home_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
7445
|
-
|
|
7445
|
+
M("Empatado")
|
|
7446
7446
|
], 64)) : k("", !0)
|
|
7447
7447
|
], 64)) : k("", !0),
|
|
7448
7448
|
c.away_team_abbreviation == a.teamSelect ? (m(), g(F, { key: 1 }, [
|
|
7449
7449
|
c.visiting_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
7450
|
-
|
|
7450
|
+
M("Ganado")
|
|
7451
7451
|
], 64)) : k("", !0),
|
|
7452
7452
|
c.visiting_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
7453
|
-
|
|
7453
|
+
M("Perdido")
|
|
7454
7454
|
], 64)) : k("", !0),
|
|
7455
7455
|
c.visiting_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
7456
|
-
|
|
7456
|
+
M("Empatado")
|
|
7457
7457
|
], 64)) : k("", !0)
|
|
7458
7458
|
], 64)) : k("", !0)
|
|
7459
7459
|
], 2)
|
|
@@ -7484,9 +7484,9 @@ function pu(e, t, i, s, a, n) {
|
|
|
7484
7484
|
o("div", {
|
|
7485
7485
|
class: r(e.$style.leyenddeleteshow)
|
|
7486
7486
|
}, t[11] || (t[11] = [
|
|
7487
|
-
|
|
7487
|
+
M(" No hay resultados con los criterios"),
|
|
7488
7488
|
o("br", null, null, -1),
|
|
7489
|
-
|
|
7489
|
+
M("de búsqueda aplicados. ")
|
|
7490
7490
|
]), 2),
|
|
7491
7491
|
o("div", {
|
|
7492
7492
|
class: r(e.$style.btndeletefilters),
|
|
@@ -7494,7 +7494,7 @@ function pu(e, t, i, s, a, n) {
|
|
|
7494
7494
|
}, " Eliminar filtros aplicados ", 2)
|
|
7495
7495
|
], 2)
|
|
7496
7496
|
])),
|
|
7497
|
-
a.showDetails ? (m(), ee(
|
|
7497
|
+
a.showDetails ? (m(), ee(w, {
|
|
7498
7498
|
key: 2,
|
|
7499
7499
|
style: { "margin-top": "30px" },
|
|
7500
7500
|
localDetails: a.localDetails,
|
|
@@ -7509,9 +7509,9 @@ function pu(e, t, i, s, a, n) {
|
|
|
7509
7509
|
onClick: t[2] || (t[2] = (...c) => n.clickShowDetails && n.clickShowDetails(...c))
|
|
7510
7510
|
}, [
|
|
7511
7511
|
a.showDetails ? (m(), g(F, { key: 0 }, [
|
|
7512
|
-
|
|
7512
|
+
M("Ocultar detalles")
|
|
7513
7513
|
], 64)) : (m(), g(F, { key: 1 }, [
|
|
7514
|
-
|
|
7514
|
+
M("Ver detalles")
|
|
7515
7515
|
], 64))
|
|
7516
7516
|
], 2)
|
|
7517
7517
|
], 2)
|
|
@@ -7693,9 +7693,9 @@ function pu(e, t, i, s, a, n) {
|
|
|
7693
7693
|
onClick: t[4] || (t[4] = (...c) => n.clickShowDetails && n.clickShowDetails(...c))
|
|
7694
7694
|
}, [
|
|
7695
7695
|
a.showDetails ? (m(), g(F, { key: 0 }, [
|
|
7696
|
-
|
|
7696
|
+
M("Ocultar detalles")
|
|
7697
7697
|
], 64)) : (m(), g(F, { key: 1 }, [
|
|
7698
|
-
|
|
7698
|
+
M("Ver detalles")
|
|
7699
7699
|
], 64))
|
|
7700
7700
|
], 2)
|
|
7701
7701
|
], 2)
|
|
@@ -7756,9 +7756,9 @@ function pu(e, t, i, s, a, n) {
|
|
|
7756
7756
|
class: r(e.$style.div4)
|
|
7757
7757
|
}, [
|
|
7758
7758
|
Array.isArray(c.score) ? (m(), g(F, { key: 0 }, [
|
|
7759
|
-
|
|
7759
|
+
M(T(c.score[1]), 1)
|
|
7760
7760
|
], 64)) : (m(), g(F, { key: 1 }, [
|
|
7761
|
-
|
|
7761
|
+
M(T(c.score[4]), 1)
|
|
7762
7762
|
], 64))
|
|
7763
7763
|
], 2)) : k("", !0)
|
|
7764
7764
|
], 2),
|
|
@@ -7767,24 +7767,24 @@ function pu(e, t, i, s, a, n) {
|
|
|
7767
7767
|
}, [
|
|
7768
7768
|
c.home_team_abbreviation == a.teamSelect ? (m(), g(F, { key: 0 }, [
|
|
7769
7769
|
c.home_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
7770
|
-
|
|
7770
|
+
M("Ganado")
|
|
7771
7771
|
], 64)) : k("", !0),
|
|
7772
7772
|
c.home_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
7773
|
-
|
|
7773
|
+
M("Perdido")
|
|
7774
7774
|
], 64)) : k("", !0),
|
|
7775
7775
|
c.home_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
7776
|
-
|
|
7776
|
+
M("Empatado")
|
|
7777
7777
|
], 64)) : k("", !0)
|
|
7778
7778
|
], 64)) : k("", !0),
|
|
7779
7779
|
c.away_team_abbreviation == a.teamSelect ? (m(), g(F, { key: 1 }, [
|
|
7780
7780
|
c.visiting_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
7781
|
-
|
|
7781
|
+
M("Ganado")
|
|
7782
7782
|
], 64)) : k("", !0),
|
|
7783
7783
|
c.visiting_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
7784
|
-
|
|
7784
|
+
M("Perdido")
|
|
7785
7785
|
], 64)) : k("", !0),
|
|
7786
7786
|
c.visiting_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
7787
|
-
|
|
7787
|
+
M("Empatado")
|
|
7788
7788
|
], 64)) : k("", !0)
|
|
7789
7789
|
], 64)) : k("", !0)
|
|
7790
7790
|
], 2)
|
|
@@ -7815,9 +7815,9 @@ function pu(e, t, i, s, a, n) {
|
|
|
7815
7815
|
o("div", {
|
|
7816
7816
|
class: r(e.$style.leyenddeleteshow)
|
|
7817
7817
|
}, t[14] || (t[14] = [
|
|
7818
|
-
|
|
7818
|
+
M(" No hay resultados con los criterios"),
|
|
7819
7819
|
o("br", null, null, -1),
|
|
7820
|
-
|
|
7820
|
+
M("de búsqueda aplicados. ")
|
|
7821
7821
|
]), 2),
|
|
7822
7822
|
o("div", {
|
|
7823
7823
|
class: r(e.$style.btndeletefilters),
|
|
@@ -7825,7 +7825,7 @@ function pu(e, t, i, s, a, n) {
|
|
|
7825
7825
|
}, " Eliminar filtros aplicados ", 2)
|
|
7826
7826
|
], 2)
|
|
7827
7827
|
])),
|
|
7828
|
-
a.showDetails ? (m(), ee(
|
|
7828
|
+
a.showDetails ? (m(), ee(w, {
|
|
7829
7829
|
key: 2,
|
|
7830
7830
|
style: { "margin-top": "30px" },
|
|
7831
7831
|
localDetails: a.localDetails,
|
|
@@ -8003,9 +8003,9 @@ function pu(e, t, i, s, a, n) {
|
|
|
8003
8003
|
onClick: t[7] || (t[7] = (...c) => n.clickShowDetails && n.clickShowDetails(...c))
|
|
8004
8004
|
}, [
|
|
8005
8005
|
a.showDetails ? (m(), g(F, { key: 0 }, [
|
|
8006
|
-
|
|
8006
|
+
M("Ocultar detalles")
|
|
8007
8007
|
], 64)) : (m(), g(F, { key: 1 }, [
|
|
8008
|
-
|
|
8008
|
+
M("Ver detalles")
|
|
8009
8009
|
], 64))
|
|
8010
8010
|
], 2)
|
|
8011
8011
|
], 2)
|
|
@@ -8069,9 +8069,9 @@ function pu(e, t, i, s, a, n) {
|
|
|
8069
8069
|
class: r(e.$style.div4)
|
|
8070
8070
|
}, [
|
|
8071
8071
|
Array.isArray(c.score) ? (m(), g(F, { key: 0 }, [
|
|
8072
|
-
|
|
8072
|
+
M(T(c.score[1]), 1)
|
|
8073
8073
|
], 64)) : (m(), g(F, { key: 1 }, [
|
|
8074
|
-
|
|
8074
|
+
M(T(c.score[4]), 1)
|
|
8075
8075
|
], 64))
|
|
8076
8076
|
], 2)) : k("", !0)
|
|
8077
8077
|
], 2),
|
|
@@ -8080,24 +8080,24 @@ function pu(e, t, i, s, a, n) {
|
|
|
8080
8080
|
}, [
|
|
8081
8081
|
c.home_team_abbreviation == a.teamSelect ? (m(), g(F, { key: 0 }, [
|
|
8082
8082
|
c.home_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
8083
|
-
|
|
8083
|
+
M("Ganado")
|
|
8084
8084
|
], 64)) : k("", !0),
|
|
8085
8085
|
c.home_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
8086
|
-
|
|
8086
|
+
M("Perdido")
|
|
8087
8087
|
], 64)) : k("", !0),
|
|
8088
8088
|
c.home_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
8089
|
-
|
|
8089
|
+
M("Empatado")
|
|
8090
8090
|
], 64)) : k("", !0)
|
|
8091
8091
|
], 64)) : k("", !0),
|
|
8092
8092
|
c.away_team_abbreviation == a.teamSelect ? (m(), g(F, { key: 1 }, [
|
|
8093
8093
|
c.visiting_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
8094
|
-
|
|
8094
|
+
M("Ganado")
|
|
8095
8095
|
], 64)) : k("", !0),
|
|
8096
8096
|
c.visiting_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
8097
|
-
|
|
8097
|
+
M("Perdido")
|
|
8098
8098
|
], 64)) : k("", !0),
|
|
8099
8099
|
c.visiting_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
8100
|
-
|
|
8100
|
+
M("Empatado")
|
|
8101
8101
|
], 64)) : k("", !0)
|
|
8102
8102
|
], 64)) : k("", !0)
|
|
8103
8103
|
], 2)
|
|
@@ -8128,9 +8128,9 @@ function pu(e, t, i, s, a, n) {
|
|
|
8128
8128
|
o("div", {
|
|
8129
8129
|
class: r(e.$style.leyenddeleteshow)
|
|
8130
8130
|
}, t[15] || (t[15] = [
|
|
8131
|
-
|
|
8131
|
+
M(" No hay resultados con los criterios"),
|
|
8132
8132
|
o("br", null, null, -1),
|
|
8133
|
-
|
|
8133
|
+
M("de búsqueda aplicados. ")
|
|
8134
8134
|
]), 2),
|
|
8135
8135
|
o("div", {
|
|
8136
8136
|
class: r(e.$style.btndeletefilters),
|
|
@@ -8138,7 +8138,7 @@ function pu(e, t, i, s, a, n) {
|
|
|
8138
8138
|
}, " Eliminar filtros aplicados ", 2)
|
|
8139
8139
|
], 2)
|
|
8140
8140
|
])),
|
|
8141
|
-
a.showDetails ? (m(), ee(
|
|
8141
|
+
a.showDetails ? (m(), ee(w, {
|
|
8142
8142
|
key: 2,
|
|
8143
8143
|
style: { "margin-top": "30px" },
|
|
8144
8144
|
localDetails: a.localDetails,
|
|
@@ -8152,8 +8152,8 @@ function pu(e, t, i, s, a, n) {
|
|
|
8152
8152
|
], 2);
|
|
8153
8153
|
}
|
|
8154
8154
|
const fu = {
|
|
8155
|
-
$style:
|
|
8156
|
-
}, gu = /* @__PURE__ */ fe(Jh, [["render", pu], ["__cssModules", fu]]), yu = "_selectoritem_125nf_179", _u = "_selectoritem2_125nf_199", bu = "_gscheaderlineup_125nf_219", wu = "_anNoEstn_125nf_233", vu = "_groupsLeague_125nf_239", Su = "_jugadores_125nf_249", Cu = "_switchOption_125nf_259", Iu = "_jugadores1_125nf_279", ku = "_switchOption1_125nf_289", Ou = "_switchStatesBig_125nf_305", Tu = "_groupsLeagueParent_125nf_323", Ru = "_imgHomeTeamIcon_125nf_341", Fu = "_imgHomeTeamWrapper_125nf_353", $u = "_teamContainer_125nf_377",
|
|
8155
|
+
$style: Xh
|
|
8156
|
+
}, gu = /* @__PURE__ */ fe(Jh, [["render", pu], ["__cssModules", fu]]), yu = "_selectoritem_125nf_179", _u = "_selectoritem2_125nf_199", bu = "_gscheaderlineup_125nf_219", wu = "_anNoEstn_125nf_233", vu = "_groupsLeague_125nf_239", Su = "_jugadores_125nf_249", Cu = "_switchOption_125nf_259", Iu = "_jugadores1_125nf_279", ku = "_switchOption1_125nf_289", Ou = "_switchStatesBig_125nf_305", Tu = "_groupsLeagueParent_125nf_323", Ru = "_imgHomeTeamIcon_125nf_341", Fu = "_imgHomeTeamWrapper_125nf_353", $u = "_teamContainer_125nf_377", Au = "_name_125nf_401", Mu = "_homeTeamContainer_125nf_413", Du = "_div_125nf_433", ju = "_titleSession_125nf_441", Pu = "_scoreContainer_125nf_461", Lu = "_scoreContainerWrapper_125nf_481", Hu = "_teamContainer1_125nf_505", Uu = "_awayTeamContainer_125nf_529", Eu = "_matchContainer_125nf_549", xu = "_sliderMatchesChild_125nf_567", Bu = "_manchesterUnited_125nf_579", Vu = "_sliderMatchesItem_125nf_591", Wu = "_sliderMatches_125nf_567", qu = "_sortIcon_125nf_627", zu = "_filtros_125nf_641", Nu = "_sortParent_125nf_657", Gu = "_shapeIcon_125nf_671", Xu = "_btnFilter_125nf_681", Ju = "_btnFilter1_125nf_709", Yu = "_btnFilterParent_125nf_737", Ku = "_backArrowIcon_125nf_753", Zu = "_teamContainer2_125nf_765", Qu = "_homeTeam_125nf_413", em = "_div4_125nf_793", tm = "_finalScore_125nf_803", im = "_manchesterUnited1_125nf_829", sm = "_scoreContainer1_125nf_843", am = "_match_125nf_549", nm = "_manchesterUnited2_125nf_879", om = "_btnDetails_125nf_889", rm = "_matchContainer1_125nf_909", lm = "_goalChild_125nf_925", cm = "_goal_125nf_925", dm = "_manchesterUnited3_125nf_951", hm = "_minuteEvent_125nf_965", um = "_yellowCard_125nf_979", mm = "_awayTeamEvents_125nf_993", pm = "_rectangle_125nf_1007", fm = "_homeTeamEvents_125nf_1021", gm = "_totalEvents_125nf_1037", ym = "_headerSeccionAlineaciones1_125nf_1053", _m = "_switchOption3_125nf_1075", bm = "_switchOption4_125nf_1099", wm = "_switchStatesBig1_125nf_1119", vm = "_manchesterUnited13_125nf_1133", Sm = "_homeTeamContainer1_125nf_1143", Cm = "_scoreContainer2_125nf_1157", Im = "_matchContainer2_125nf_1185", km = "_manchesterUnited14_125nf_1205", Om = "_sliderMatchesInner_125nf_1219", Tm = "_rectangleIcon_125nf_1239", Rm = "_sliderMatches1_125nf_1259", Fm = "_containerData_125nf_1275", $m = "_headerSeccionAlineaciones2_125nf_1303", Am = "_headerSeccionAlineaciones_125nf_1053", Mm = "_headerSeccionAlineaciones21200_125nf_1351", Dm = "_headerSeccionAlineaciones1540_125nf_1357", jm = "_headerSeccionAlineaciones2540_125nf_1365", Pm = {
|
|
8157
8157
|
selectoritem: yu,
|
|
8158
8158
|
selectoritem2: _u,
|
|
8159
8159
|
gscheaderlineup: bu,
|
|
@@ -8168,14 +8168,14 @@ const fu = {
|
|
|
8168
8168
|
imgHomeTeamIcon: Ru,
|
|
8169
8169
|
imgHomeTeamWrapper: Fu,
|
|
8170
8170
|
teamContainer: $u,
|
|
8171
|
-
name:
|
|
8172
|
-
homeTeamContainer:
|
|
8173
|
-
div:
|
|
8174
|
-
titleSession:
|
|
8171
|
+
name: Au,
|
|
8172
|
+
homeTeamContainer: Mu,
|
|
8173
|
+
div: Du,
|
|
8174
|
+
titleSession: ju,
|
|
8175
8175
|
scoreContainer: Pu,
|
|
8176
8176
|
scoreContainerWrapper: Lu,
|
|
8177
|
-
teamContainer1:
|
|
8178
|
-
awayTeamContainer:
|
|
8177
|
+
teamContainer1: Hu,
|
|
8178
|
+
awayTeamContainer: Uu,
|
|
8179
8179
|
matchContainer: Eu,
|
|
8180
8180
|
sliderMatchesChild: xu,
|
|
8181
8181
|
manchesterUnited: Bu,
|
|
@@ -8184,8 +8184,8 @@ const fu = {
|
|
|
8184
8184
|
sortIcon: qu,
|
|
8185
8185
|
filtros: zu,
|
|
8186
8186
|
sortParent: Nu,
|
|
8187
|
-
shapeIcon:
|
|
8188
|
-
btnFilter:
|
|
8187
|
+
shapeIcon: Gu,
|
|
8188
|
+
btnFilter: Xu,
|
|
8189
8189
|
btnFilter1: Ju,
|
|
8190
8190
|
btnFilterParent: Yu,
|
|
8191
8191
|
backArrowIcon: Ku,
|
|
@@ -8222,10 +8222,10 @@ const fu = {
|
|
|
8222
8222
|
sliderMatches1: Rm,
|
|
8223
8223
|
containerData: Fm,
|
|
8224
8224
|
headerSeccionAlineaciones2: $m,
|
|
8225
|
-
headerSeccionAlineaciones:
|
|
8226
|
-
headerSeccionAlineaciones21200:
|
|
8227
|
-
headerSeccionAlineaciones1540:
|
|
8228
|
-
headerSeccionAlineaciones2540:
|
|
8225
|
+
headerSeccionAlineaciones: Am,
|
|
8226
|
+
headerSeccionAlineaciones21200: Mm,
|
|
8227
|
+
headerSeccionAlineaciones1540: Dm,
|
|
8228
|
+
headerSeccionAlineaciones2540: jm
|
|
8229
8229
|
}, Lm = {
|
|
8230
8230
|
components: { GSCCarousel: Jt, GscSwitchComponent: ct },
|
|
8231
8231
|
props: {
|
|
@@ -8304,7 +8304,7 @@ const fu = {
|
|
|
8304
8304
|
this.$emit("clickOnSelectOption", e);
|
|
8305
8305
|
}
|
|
8306
8306
|
}
|
|
8307
|
-
},
|
|
8307
|
+
}, Hm = ["src"], Um = ["src"], Em = ["src"], xm = ["src"], Bm = ["src"], Vm = ["src"];
|
|
8308
8308
|
function Wm(e, t, i, s, a, n) {
|
|
8309
8309
|
return m(), g("div", {
|
|
8310
8310
|
class: r(e.$style.gscheaderlineup)
|
|
@@ -8350,7 +8350,7 @@ function Wm(e, t, i, s, a, n) {
|
|
|
8350
8350
|
class: r(e.$style.imgHomeTeamIcon),
|
|
8351
8351
|
alt: "",
|
|
8352
8352
|
src: "https://golstatsimages.blob.core.windows.net/teams-80/" + i.gameInfo.home_team + ".png"
|
|
8353
|
-
}, null, 10,
|
|
8353
|
+
}, null, 10, Hm)
|
|
8354
8354
|
], 2)
|
|
8355
8355
|
], 2),
|
|
8356
8356
|
o("div", {
|
|
@@ -8396,7 +8396,7 @@ function Wm(e, t, i, s, a, n) {
|
|
|
8396
8396
|
class: r(e.$style.imgHomeTeamIcon),
|
|
8397
8397
|
alt: "",
|
|
8398
8398
|
src: "https://golstatsimages.blob.core.windows.net/teams-80/" + i.gameInfo.away_team + ".png"
|
|
8399
|
-
}, null, 10,
|
|
8399
|
+
}, null, 10, Um)
|
|
8400
8400
|
], 2)
|
|
8401
8401
|
], 2)
|
|
8402
8402
|
], 2)
|
|
@@ -8501,23 +8501,23 @@ function Wm(e, t, i, s, a, n) {
|
|
|
8501
8501
|
}, [
|
|
8502
8502
|
i.teamActive == "home" ? (m(), g(F, { key: 0 }, [
|
|
8503
8503
|
Object.home_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
8504
|
-
|
|
8504
|
+
M(" Ganado ")
|
|
8505
8505
|
], 64)) : k("", !0),
|
|
8506
8506
|
Object.home_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
8507
|
-
|
|
8507
|
+
M(" Perdido ")
|
|
8508
8508
|
], 64)) : k("", !0),
|
|
8509
8509
|
Object.home_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
8510
|
-
|
|
8510
|
+
M(" Empatado ")
|
|
8511
8511
|
], 64)) : k("", !0)
|
|
8512
8512
|
], 64)) : (m(), g(F, { key: 1 }, [
|
|
8513
8513
|
Object.visiting_match_result == 1 ? (m(), g(F, { key: 0 }, [
|
|
8514
|
-
|
|
8514
|
+
M(" Ganado ")
|
|
8515
8515
|
], 64)) : k("", !0),
|
|
8516
8516
|
Object.visiting_match_result == 2 ? (m(), g(F, { key: 1 }, [
|
|
8517
|
-
|
|
8517
|
+
M(" Perdido ")
|
|
8518
8518
|
], 64)) : k("", !0),
|
|
8519
8519
|
Object.visiting_match_result == 3 ? (m(), g(F, { key: 2 }, [
|
|
8520
|
-
|
|
8520
|
+
M(" Empatado ")
|
|
8521
8521
|
], 64)) : k("", !0)
|
|
8522
8522
|
], 64))
|
|
8523
8523
|
], 2)
|
|
@@ -8638,10 +8638,10 @@ function Wm(e, t, i, s, a, n) {
|
|
|
8638
8638
|
}
|
|
8639
8639
|
const qm = {
|
|
8640
8640
|
$style: Pm
|
|
8641
|
-
}, zm = /* @__PURE__ */ fe(Lm, [["render", Wm], ["__cssModules", qm]]), Nm = "_anNoEstn_j98j7_139",
|
|
8641
|
+
}, zm = /* @__PURE__ */ fe(Lm, [["render", Wm], ["__cssModules", qm]]), Nm = "_anNoEstn_j98j7_139", Gm = "_groupsLeague_j98j7_145", Xm = "_historicas_j98j7_153", Jm = "_switchOption_j98j7_163", Ym = "_switchOption1_j98j7_183", Km = "_probables_j98j7_203", Zm = "_switchOption2_j98j7_213", Qm = "_switchStatesBig_j98j7_237", ep = "_groupsLeagueParent_j98j7_255", tp = "_imgHomeTeamIcon_j98j7_273", ip = "_imgHomeTeamWrapper_j98j7_285", sp = "_teamContainer_j98j7_309", ap = "_name_j98j7_333", np = "_jor_j98j7_345", op = "_jorParent_j98j7_357", rp = "_shapeIcon_j98j7_373", lp = "_frameParent_j98j7_383", cp = "_manchesterUnited_j98j7_413", dp = "_necaxaIcon_j98j7_435", hp = "_manchesterUnited1_j98j7_447", up = "_team_j98j7_309", mp = "_homeTeamContainer_j98j7_475", pp = "_div1_j98j7_495", fp = "_scoreContainer_j98j7_503", gp = "_scoreContainerWrapper_j98j7_525", yp = "_team1_j98j7_549", _p = "_name1_j98j7_563", bp = "_teamContainer1_j98j7_577", wp = "_awayTeamContainer_j98j7_601", vp = "_matchContainer_j98j7_623", Sp = "_goalChild_j98j7_641", Cp = "_goal_j98j7_641", Ip = "_manchesterUnited4_j98j7_667", kp = "_minuteEvent_j98j7_681", Op = "_yellowCard_j98j7_695", Tp = "_awayTeamEvents_j98j7_709", Rp = "_rectangle_j98j7_723", Fp = "_homeTeamEvents_j98j7_737", $p = "_totalEvents_j98j7_753", Ap = "_headerSeccionAlineaciones1_j98j7_769", Mp = "_homeTeamContainer1_j98j7_789", Dp = "_awayTeamContainer1_j98j7_813", jp = "_headerSeccionAlineaciones2_j98j7_837", Pp = "_jugadores_j98j7_857", Lp = "_switchOption6_j98j7_869", Hp = "_switchOption8_j98j7_889", Up = "_switchStatesBig2_j98j7_913", Ep = "_manchesterUnited28_j98j7_927", xp = "_homeTeamContainer2_j98j7_935", Bp = "_matchContainer2_j98j7_949", Vp = "_manchesterUnited29_j98j7_971", Wp = "_sliderMatchesChild_j98j7_985", qp = "_sliderMatchesItem_j98j7_1005", zp = "_sliderMatches_j98j7_985", Np = "_jorParent2_j98j7_1045", Gp = "_filterMatchday_j98j7_1059", Xp = "_necaxaIcon4_j98j7_1081", Jp = "_team4_j98j7_1093", Yp = "_filterMatchdayParent_j98j7_1113", Kp = "_filterMatchday1_j98j7_1127", Zp = "_teamParent_j98j7_1157", Qp = "_filtersContainer_j98j7_1177", ef = "_containerData_j98j7_1195", tf = "_headerSeccionAlineaciones3_j98j7_1223", sf = "_headerSeccionAlineaciones_j98j7_769", af = {
|
|
8642
8642
|
anNoEstn: Nm,
|
|
8643
|
-
groupsLeague:
|
|
8644
|
-
historicas:
|
|
8643
|
+
groupsLeague: Gm,
|
|
8644
|
+
historicas: Xm,
|
|
8645
8645
|
switchOption: Jm,
|
|
8646
8646
|
switchOption1: Ym,
|
|
8647
8647
|
probables: Km,
|
|
@@ -8678,14 +8678,14 @@ const qm = {
|
|
|
8678
8678
|
rectangle: Rp,
|
|
8679
8679
|
homeTeamEvents: Fp,
|
|
8680
8680
|
totalEvents: $p,
|
|
8681
|
-
headerSeccionAlineaciones1:
|
|
8682
|
-
homeTeamContainer1:
|
|
8683
|
-
awayTeamContainer1:
|
|
8684
|
-
headerSeccionAlineaciones2:
|
|
8681
|
+
headerSeccionAlineaciones1: Ap,
|
|
8682
|
+
homeTeamContainer1: Mp,
|
|
8683
|
+
awayTeamContainer1: Dp,
|
|
8684
|
+
headerSeccionAlineaciones2: jp,
|
|
8685
8685
|
jugadores: Pp,
|
|
8686
8686
|
switchOption6: Lp,
|
|
8687
|
-
switchOption8:
|
|
8688
|
-
switchStatesBig2:
|
|
8687
|
+
switchOption8: Hp,
|
|
8688
|
+
switchStatesBig2: Up,
|
|
8689
8689
|
manchesterUnited28: Ep,
|
|
8690
8690
|
homeTeamContainer2: xp,
|
|
8691
8691
|
matchContainer2: Bp,
|
|
@@ -8694,8 +8694,8 @@ const qm = {
|
|
|
8694
8694
|
sliderMatchesItem: qp,
|
|
8695
8695
|
sliderMatches: zp,
|
|
8696
8696
|
jorParent2: Np,
|
|
8697
|
-
filterMatchday:
|
|
8698
|
-
necaxaIcon4:
|
|
8697
|
+
filterMatchday: Gp,
|
|
8698
|
+
necaxaIcon4: Xp,
|
|
8699
8699
|
team4: Jp,
|
|
8700
8700
|
filterMatchdayParent: Yp,
|
|
8701
8701
|
filterMatchday1: Kp,
|
|
@@ -9492,6 +9492,8 @@ const Tf = {
|
|
|
9492
9492
|
pendingRequests: /* @__PURE__ */ new Set(),
|
|
9493
9493
|
// Debounce timer para evitar peticiones excesivas
|
|
9494
9494
|
debounceTimer: null,
|
|
9495
|
+
// Timer para evitar múltiples cargas de probables
|
|
9496
|
+
probablesDebounceTimer: null,
|
|
9495
9497
|
matchdaysPerTeam: [],
|
|
9496
9498
|
lastGetGame: 0,
|
|
9497
9499
|
lastSection: ""
|
|
@@ -9588,6 +9590,12 @@ const Tf = {
|
|
|
9588
9590
|
numPlayer() {
|
|
9589
9591
|
return Number(this.playersAway.length) + Number(this.playersHome.length);
|
|
9590
9592
|
},
|
|
9593
|
+
shouldShowNoLineupsMessage() {
|
|
9594
|
+
const e = (this.gameForAnalysis.game_status == 4 || this.gameForAnalysis.game_status == 1) && this.gameForAnalysis.is_live == 0 && this.numPlayer == 0;
|
|
9595
|
+
return console.log(
|
|
9596
|
+
`🔍 Condición mensaje: status=${this.gameForAnalysis.game_status}, is_live=${this.gameForAnalysis.is_live}, numPlayer=${this.numPlayer} -> ${e}`
|
|
9597
|
+
), e;
|
|
9598
|
+
},
|
|
9591
9599
|
benchFillHome() {
|
|
9592
9600
|
return this.playersHome.length < this.playersAway.length ? this.playersAway.length - this.playersHome.length : 0;
|
|
9593
9601
|
},
|
|
@@ -9605,6 +9613,9 @@ const Tf = {
|
|
|
9605
9613
|
throw new Error(e);
|
|
9606
9614
|
}
|
|
9607
9615
|
},
|
|
9616
|
+
beforeUnmount() {
|
|
9617
|
+
this.probablesDebounceTimer && clearTimeout(this.probablesDebounceTimer), this.debounceTimer && clearTimeout(this.debounceTimer);
|
|
9618
|
+
},
|
|
9608
9619
|
watch: {
|
|
9609
9620
|
/*'homeTeam.acronym': {
|
|
9610
9621
|
handler(newValue) {
|
|
@@ -9623,21 +9634,84 @@ const Tf = {
|
|
|
9623
9634
|
selectOptMenuheader: {
|
|
9624
9635
|
immediate: !0,
|
|
9625
9636
|
async handler(e, t) {
|
|
9626
|
-
e != t && this.selectedOption !== "Postmatch" && (e === "Probables" && setTimeout(() => {
|
|
9637
|
+
e != t && this.selectedOption !== "Postmatch" && (e === "Probables" && (this.probablesDebounceTimer && clearTimeout(this.probablesDebounceTimer), this.probablesDebounceTimer = setTimeout(async () => {
|
|
9627
9638
|
var i, s;
|
|
9628
|
-
this.gamehome && this.gamehome.game_id && this.gamehome.game_id !== 0 && this.gameaway && this.gameaway.game_id && this.gameaway.game_id !== 0
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
|
|
9637
|
-
|
|
9639
|
+
if (this.gamehome && this.gamehome.game_id && this.gamehome.game_id !== 0 && this.gameaway && this.gameaway.game_id && this.gameaway.game_id !== 0) {
|
|
9640
|
+
const a = this.areProbablesAlreadyLoaded(
|
|
9641
|
+
this.gamehome.game_id,
|
|
9642
|
+
this.gameaway.game_id
|
|
9643
|
+
);
|
|
9644
|
+
if (this.areProbablesRequestsPending(
|
|
9645
|
+
this.gamehome.game_id,
|
|
9646
|
+
this.gameaway.game_id
|
|
9647
|
+
)) {
|
|
9648
|
+
console.log("⏳ Peticiones de alineaciones probables ya en curso, saltando...");
|
|
9649
|
+
return;
|
|
9650
|
+
}
|
|
9651
|
+
if (a)
|
|
9652
|
+
console.log(
|
|
9653
|
+
"⏭️ Alineaciones probables ya cargadas para estos game_ids - Home:",
|
|
9654
|
+
this.gamehome.game_id,
|
|
9655
|
+
"Away:",
|
|
9656
|
+
this.gameaway.game_id
|
|
9657
|
+
);
|
|
9658
|
+
else {
|
|
9659
|
+
console.log(
|
|
9660
|
+
"✅ Cargando alineaciones probables - Home:",
|
|
9661
|
+
this.gamehome.game_id,
|
|
9662
|
+
"Away:",
|
|
9663
|
+
this.gameaway.game_id
|
|
9664
|
+
), this.auxProbablesIDGameHome = this.gamehome.game_id, this.auxProbablesIDGameAway = this.gameaway.game_id, console.log("🧹 Limpiando datos antes de cargar nuevas alineaciones..."), this.cleaneDataAway(), this.cleaneDataHome(), console.log(
|
|
9665
|
+
"📊 Estado después de limpiar - Home:",
|
|
9666
|
+
this.playersHome.length,
|
|
9667
|
+
"Away:",
|
|
9668
|
+
this.playersAway.length
|
|
9669
|
+
), console.log("📋 Obteniendo información del header para probables...");
|
|
9670
|
+
try {
|
|
9671
|
+
if (!this.game || !this.game.game_id) {
|
|
9672
|
+
console.warn("❌ Prop game no disponible para obtener header info");
|
|
9673
|
+
return;
|
|
9674
|
+
}
|
|
9675
|
+
await this.getHeaderInfo(this.game), console.log(
|
|
9676
|
+
"✅ Header info obtenido para el partido principal:",
|
|
9677
|
+
this.game.game_id
|
|
9678
|
+
);
|
|
9679
|
+
} catch (l) {
|
|
9680
|
+
console.error("❌ Error obteniendo header info:", l);
|
|
9681
|
+
}
|
|
9682
|
+
this.getLineUpProbablesHome3D(this.gamehome.game_id), this.getLineUpProbablesAway3D(this.gameaway.game_id), setTimeout(() => {
|
|
9683
|
+
console.log(
|
|
9684
|
+
`📊 Estado después de iniciar peticiones - Home: ${this.playersHome.length}, Away: ${this.playersAway.length}, numPlayer: ${this.numPlayer}`
|
|
9685
|
+
);
|
|
9686
|
+
}, 100);
|
|
9638
9687
|
}
|
|
9639
|
-
|
|
9640
|
-
|
|
9688
|
+
} else
|
|
9689
|
+
console.warn(
|
|
9690
|
+
"❌ No se pueden cargar alineaciones probables - game_id inválidos:",
|
|
9691
|
+
{
|
|
9692
|
+
home: (i = this.gamehome) == null ? void 0 : i.game_id,
|
|
9693
|
+
away: (s = this.gameaway) == null ? void 0 : s.game_id
|
|
9694
|
+
}
|
|
9695
|
+
);
|
|
9696
|
+
this.lastSection = e;
|
|
9697
|
+
}, 1e3)), e === "Historicos" && this.gamesHistoric[0] && await this.getLineUp(this.gamesHistoric[0].game));
|
|
9698
|
+
}
|
|
9699
|
+
},
|
|
9700
|
+
numPlayer: {
|
|
9701
|
+
handler(e, t) {
|
|
9702
|
+
e !== t && console.log(
|
|
9703
|
+
`👥 numPlayer cambió de ${t} a ${e} (Home: ${this.playersHome.length}, Away: ${this.playersAway.length})`
|
|
9704
|
+
);
|
|
9705
|
+
}
|
|
9706
|
+
},
|
|
9707
|
+
"gameForAnalysis.game_status": {
|
|
9708
|
+
handler(e) {
|
|
9709
|
+
console.log(`🎮 game_status cambió a: ${e}`);
|
|
9710
|
+
}
|
|
9711
|
+
},
|
|
9712
|
+
"gameForAnalysis.is_live": {
|
|
9713
|
+
handler(e) {
|
|
9714
|
+
console.log(`📡 is_live cambió a: ${e}`);
|
|
9641
9715
|
}
|
|
9642
9716
|
},
|
|
9643
9717
|
"socket.connected": {
|
|
@@ -9734,11 +9808,11 @@ const Tf = {
|
|
|
9734
9808
|
for (let u = 0; u < t[this.away_team_id].length; u++)
|
|
9735
9809
|
if (!t[this.away_team_id][u].isTitular) {
|
|
9736
9810
|
this.subsTitle = !0;
|
|
9737
|
-
var y = t[this.away_team_id][u].playerName.split(","), f = y[0].split(" "),
|
|
9811
|
+
var y = t[this.away_team_id][u].playerName.split(","), f = y[0].split(" "), w = i[1].trim().split(" "), c = "";
|
|
9738
9812
|
f.length == 2 || f.length == 1 ? f[0].length < 4 ? c = f[0] + " " + f[1] : c = f[0] : f.length == 3 ? c = f[0] + " " + f[1] : f.length == 4 && (c = f[1] + " " + f[2] + " " + f[3]);
|
|
9739
|
-
var I =
|
|
9813
|
+
var I = w[w.length - 1] != "" ? w[w.length - 1].charAt(0) : w[w.length - 2] ? w[w.length - 2].charAt(0) : "";
|
|
9740
9814
|
c = c.replace(",", "");
|
|
9741
|
-
var
|
|
9815
|
+
var v = I + ". " + c, _ = this.dataPlayersAway.findIndex(
|
|
9742
9816
|
(O) => O.player_id == t[this.away_team_id][u].playerID
|
|
9743
9817
|
);
|
|
9744
9818
|
this.playersAway.push({
|
|
@@ -9751,7 +9825,7 @@ const Tf = {
|
|
|
9751
9825
|
imgNationality: _ != -1 ? this.dataPlayersAway[_].nationality_photo : "",
|
|
9752
9826
|
substitutionIn: !1,
|
|
9753
9827
|
substitutionOut: !1,
|
|
9754
|
-
abrevNamePlayer:
|
|
9828
|
+
abrevNamePlayer: v,
|
|
9755
9829
|
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + this.away_team_id + ".png",
|
|
9756
9830
|
substitutionMin: "",
|
|
9757
9831
|
substitutionDataID: "",
|
|
@@ -9850,23 +9924,23 @@ const Tf = {
|
|
|
9850
9924
|
"away",
|
|
9851
9925
|
0
|
|
9852
9926
|
);
|
|
9853
|
-
var
|
|
9854
|
-
c.length == 2 || c.length == 1 ? c[0].length < 4 ?
|
|
9927
|
+
var w = t.data[h].player_name.split(","), c = w[0].split(" "), I = w[1].trim().split(" "), v = "";
|
|
9928
|
+
c.length == 2 || c.length == 1 ? c[0].length < 4 ? v = c[0] + " " + c[1] : v = c[0] : c.length == 3 ? v = c[0] + " " + c[1] : c.length == 4 && (v = c[1] + " " + c[2] + " " + c[3]);
|
|
9855
9929
|
var _ = I[I.length - 1] != "" ? I[I.length - 1].charAt(0) : I[I.length - 2] ? I[I.length - 2].charAt(0) : "";
|
|
9856
|
-
|
|
9857
|
-
var u = _ + ". " +
|
|
9858
|
-
|
|
9859
|
-
var
|
|
9930
|
+
v = v.replace(",", "");
|
|
9931
|
+
var u = _ + ". " + v, O = t.data[h].x, j = 100 - (100 - O) * 50 / 100;
|
|
9932
|
+
j = j * 0.9;
|
|
9933
|
+
var b = t.away_team.players.findIndex(
|
|
9860
9934
|
(S) => S.player_id == t.data[h].player_id
|
|
9861
9935
|
);
|
|
9862
9936
|
this.playersAway.push({
|
|
9863
9937
|
played: !0,
|
|
9864
9938
|
name: t.data[h].player_name,
|
|
9865
|
-
position:
|
|
9866
|
-
position_id: t.away_team.players[
|
|
9939
|
+
position: b != -1 ? this.isFemale ? this.positions[t.away_team.players[b].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[t.away_team.players[b].position_id - 1].name : "",
|
|
9940
|
+
position_id: t.away_team.players[b].position_id,
|
|
9867
9941
|
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + t.data[h].player_id + ".png",
|
|
9868
|
-
nationality:
|
|
9869
|
-
imgNationality:
|
|
9942
|
+
nationality: b != -1 && t.away_team.players[b].nationality ? t.away_team.players[b].nationality.substring(0, 3) : "",
|
|
9943
|
+
imgNationality: b != -1 ? t.away_team.players[b].nationality_photo : "",
|
|
9870
9944
|
substitutionIn: !1,
|
|
9871
9945
|
substitutionOut: !1,
|
|
9872
9946
|
abrevNamePlayer: u,
|
|
@@ -9875,7 +9949,7 @@ const Tf = {
|
|
|
9875
9949
|
substitutionDataID: "",
|
|
9876
9950
|
shirt_number: t.data[h].jersey_number,
|
|
9877
9951
|
positionX: t.data[h].y - 13,
|
|
9878
|
-
positionY:
|
|
9952
|
+
positionY: j + 2,
|
|
9879
9953
|
positionXOrigin: t.data[h].y - 17,
|
|
9880
9954
|
positionYOrigin: t.data[h].x - 7,
|
|
9881
9955
|
playerId: t.data[h].player_id,
|
|
@@ -9902,33 +9976,33 @@ const Tf = {
|
|
|
9902
9976
|
var i = -1, s = -1;
|
|
9903
9977
|
if (this.playersHome.length > 0) {
|
|
9904
9978
|
var a = this.playersHome.findIndex(
|
|
9905
|
-
(
|
|
9979
|
+
(D) => D.idredcards == t.play_id
|
|
9906
9980
|
), n = this.playersHome.findIndex(
|
|
9907
|
-
(
|
|
9981
|
+
(D) => D.idyellowcards == t.play_id
|
|
9908
9982
|
), l = this.playersHome.findIndex(
|
|
9909
|
-
(
|
|
9983
|
+
(D) => D.idSubstitution == t.play_id
|
|
9910
9984
|
);
|
|
9911
|
-
for (let
|
|
9912
|
-
var d = this.playersHome[
|
|
9985
|
+
for (let D = 0; D < this.playersHome.length; D++) {
|
|
9986
|
+
var d = this.playersHome[D].idsGoals.findIndex(
|
|
9913
9987
|
(z) => z == t.play_id
|
|
9914
9988
|
);
|
|
9915
|
-
d != -1 && (i = d, s =
|
|
9989
|
+
d != -1 && (i = d, s = D);
|
|
9916
9990
|
}
|
|
9917
9991
|
a != -1 && this.resetPlayUpdate("RedCard", "Home", a, s), n != -1 && this.resetPlayUpdate("YellowCard", "Home", n, s), l != -1 && this.resetPlayUpdate("Substitution", "Home", l, s), i != -1 && this.resetPlayUpdate("Goals", "Home", i, s);
|
|
9918
9992
|
}
|
|
9919
9993
|
if (this.playersAway.length > 0) {
|
|
9920
9994
|
var p = this.playersAway.findIndex(
|
|
9921
|
-
(
|
|
9995
|
+
(D) => D.idredcards == t.play_id
|
|
9922
9996
|
), y = this.playersAway.findIndex(
|
|
9923
|
-
(
|
|
9997
|
+
(D) => D.idyellowcards == t.play_id
|
|
9924
9998
|
), f = this.playersAway.findIndex(
|
|
9925
|
-
(
|
|
9999
|
+
(D) => D.idSubstitution == t.play_id
|
|
9926
10000
|
);
|
|
9927
|
-
for (let
|
|
9928
|
-
var
|
|
10001
|
+
for (let D = 0; D < this.playersAway.length; D++) {
|
|
10002
|
+
var w = this.playersAway[D].idsGoals.findIndex(
|
|
9929
10003
|
(z) => z == t.play_id
|
|
9930
10004
|
);
|
|
9931
|
-
|
|
10005
|
+
w != -1 && (i = w, s = D);
|
|
9932
10006
|
}
|
|
9933
10007
|
p != -1 && this.resetPlayUpdate("RedCard", "Away", p, s), y != -1 && this.resetPlayUpdate("YellowCard", "Away", y, s), f != -1 && this.resetPlayUpdate("Substitution", "Away", f, s), i != -1 && this.resetPlayUpdate("Goals", "Away", i, s);
|
|
9934
10008
|
}
|
|
@@ -9936,17 +10010,17 @@ const Tf = {
|
|
|
9936
10010
|
if (t.team_id == this.home_team_id) {
|
|
9937
10011
|
if (this.playersHome.length > 0) {
|
|
9938
10012
|
var c = t.player_id.split("@"), I = this.playersHome.findIndex(
|
|
9939
|
-
(
|
|
9940
|
-
),
|
|
9941
|
-
(
|
|
10013
|
+
(D) => D.playerId == c[0]
|
|
10014
|
+
), v = this.playersHome.findIndex(
|
|
10015
|
+
(D) => D.playerId == c[1]
|
|
9942
10016
|
);
|
|
9943
|
-
I != -1 && (this.playersHome[I].idSubstitution = t.play_id, this.playersHome[I].substitutionOut = !0, this.playersHome[I].substitutionMin = t.minute, this.playersHome[I].substitutionDataID = t.team_id + "@" + t.player_id),
|
|
10017
|
+
I != -1 && (this.playersHome[I].idSubstitution = t.play_id, this.playersHome[I].substitutionOut = !0, this.playersHome[I].substitutionMin = t.minute, this.playersHome[I].substitutionDataID = t.team_id + "@" + t.player_id), v != -1 && (this.playersHome[v].idSubstitution = t.play_id, this.playersHome[v].substitutionIn = !0, this.playersHome[v].substitutionMin = t.minute, this.playersHome[v].substitutionDataID = t.team_id + "@" + t.player_id);
|
|
9944
10018
|
}
|
|
9945
10019
|
} else if (this.playersAway.length > 0) {
|
|
9946
10020
|
var _ = t.player_id.split("@"), u = this.playersAway.findIndex(
|
|
9947
|
-
(
|
|
10021
|
+
(D) => D.playerId == _[0]
|
|
9948
10022
|
), O = this.playersAway.findIndex(
|
|
9949
|
-
(
|
|
10023
|
+
(D) => D.playerId == _[1]
|
|
9950
10024
|
);
|
|
9951
10025
|
I != -1 && (this.playersAway[u].idSubstitution = t.play_id, this.playersAway[u].substitutionOut = !0, this.playersAway[u].substitutionMin = t.minute, this.playersAway[u].substitutionDataID = t.team_id + "@" + t.player_id), O != -1 && (this.playersAway[O].idSubstitution = t.play_id, this.playersAway[O].substitutionIn = !0, this.playersAway[O].substitutionMin = t.minute, this.playersAway[O].substitutionDataID = t.team_id + "@" + t.player_id);
|
|
9952
10026
|
}
|
|
@@ -9954,16 +10028,16 @@ const Tf = {
|
|
|
9954
10028
|
if (t.event_type_id == 1) {
|
|
9955
10029
|
if (t.team_id == this.home_team_id) {
|
|
9956
10030
|
if (this.playersHome.length > 0) {
|
|
9957
|
-
var
|
|
9958
|
-
(
|
|
10031
|
+
var j = this.playersHome.findIndex(
|
|
10032
|
+
(D) => D.playerId == t.player_id
|
|
9959
10033
|
);
|
|
9960
|
-
|
|
10034
|
+
j != -1 && (this.playersHome[j].goals += 1, this.playersHome[j].goalsMin.push(t.minute), this.playersHome[j].idsGoals.push(t.play_id));
|
|
9961
10035
|
}
|
|
9962
10036
|
} else if (this.playersAway.length > 0) {
|
|
9963
|
-
var
|
|
9964
|
-
(
|
|
10037
|
+
var b = this.playersAway.findIndex(
|
|
10038
|
+
(D) => D.playerId == t.player_id
|
|
9965
10039
|
);
|
|
9966
|
-
|
|
10040
|
+
b != -1 && (this.playersAway[b].goals += 1, this.playersAway[b].goalsMin.push(t.minute), this.playersAway[b].idsGoals.push(t.play_id));
|
|
9967
10041
|
}
|
|
9968
10042
|
}
|
|
9969
10043
|
if (t.event_type_id == 2) {
|
|
@@ -9971,13 +10045,13 @@ const Tf = {
|
|
|
9971
10045
|
if (t.team_id == this.home_team_id) {
|
|
9972
10046
|
if (this.playersHome.length > 0) {
|
|
9973
10047
|
var h = this.playersHome.findIndex(
|
|
9974
|
-
(
|
|
10048
|
+
(D) => D.playerId == t.player_id
|
|
9975
10049
|
);
|
|
9976
10050
|
h != -1 && (this.playersHome[h].yellowcards += 1, this.playersHome[h].yellowcardsMin = t.minute, this.playersHome[h].idyellowcards = t.play_id);
|
|
9977
10051
|
}
|
|
9978
10052
|
} else if (this.playersAway.length > 0) {
|
|
9979
10053
|
var S = this.playersAway.findIndex(
|
|
9980
|
-
(
|
|
10054
|
+
(D) => D.playerId == t.player_id
|
|
9981
10055
|
);
|
|
9982
10056
|
S != -1 && (this.playersAway[S].yellowcards += 1, this.playersAway[S].yellowcardsMin = t.minute, this.playersAway[S].idyellowcards = t.play_id);
|
|
9983
10057
|
}
|
|
@@ -9986,13 +10060,13 @@ const Tf = {
|
|
|
9986
10060
|
if (t.team_id == this.home_team_id) {
|
|
9987
10061
|
if (this.playersHome.length > 0) {
|
|
9988
10062
|
var $ = this.playersHome.findIndex(
|
|
9989
|
-
(
|
|
10063
|
+
(D) => D.playerId == t.player_id
|
|
9990
10064
|
);
|
|
9991
10065
|
$ != -1 && (this.playersHome[$].redcards += 1, this.playersHome[$].redcardsMin = t.minute, this.playersHome[$].idredcards = t.play_id);
|
|
9992
10066
|
}
|
|
9993
10067
|
} else if (this.playersAway.length > 0) {
|
|
9994
10068
|
var V = this.playersAway.findIndex(
|
|
9995
|
-
(
|
|
10069
|
+
(D) => D.playerId == t.player_id
|
|
9996
10070
|
);
|
|
9997
10071
|
V != -1 && (this.playersAway[V].redcards += 1, this.playersAway[V].redcardsMin = t.minute, this.playersAway[V].idredcards = t.play_id);
|
|
9998
10072
|
}
|
|
@@ -10038,17 +10112,17 @@ const Tf = {
|
|
|
10038
10112
|
if (t.team_id == this.home_team_id) {
|
|
10039
10113
|
if (this.playersHome.length > 0) {
|
|
10040
10114
|
var i = t.player_id.split("@"), s = this.playersHome.findIndex(
|
|
10041
|
-
(
|
|
10115
|
+
(v) => v.playerId == i[0]
|
|
10042
10116
|
), a = this.playersHome.findIndex(
|
|
10043
|
-
(
|
|
10117
|
+
(v) => v.playerId == i[1]
|
|
10044
10118
|
);
|
|
10045
10119
|
s != -1 && (this.playersHome[s].idSubstitution = t.play_id, this.playersHome[s].substitutionOut = !0, this.playersHome[s].substitutionMin = t.minute, this.playersHome[s].substitutionDataID = t.team_id + "@" + t.player_id), a != -1 && (this.playersHome[a].idSubstitution = t.play_id, this.playersHome[a].substitutionIn = !0, this.playersHome[a].substitutionMin = t.minute, this.playersHome[a].substitutionDataID = t.team_id + "@" + t.player_id);
|
|
10046
10120
|
}
|
|
10047
10121
|
} else if (this.playersAway.length > 0) {
|
|
10048
10122
|
var n = t.player_id.split("@"), l = this.playersAway.findIndex(
|
|
10049
|
-
(
|
|
10123
|
+
(v) => v.playerId == n[0]
|
|
10050
10124
|
), d = this.playersAway.findIndex(
|
|
10051
|
-
(
|
|
10125
|
+
(v) => v.playerId == n[1]
|
|
10052
10126
|
);
|
|
10053
10127
|
s != -1 && (this.playersAway[l].idSubstitution = t.play_id, this.playersAway[l].substitutionOut = !0, this.playersAway[l].substitutionMin = t.minute, this.playersAway[l].substitutionDataID = t.team_id + "@" + t.player_id), d != -1 && (this.playersAway[d].idSubstitution = t.play_id, this.playersAway[d].substitutionIn = !0, this.playersAway[d].substitutionMin = t.minute, this.playersAway[d].substitutionDataID = t.team_id + "@" + t.player_id);
|
|
10054
10128
|
}
|
|
@@ -10057,13 +10131,13 @@ const Tf = {
|
|
|
10057
10131
|
if (t.team_id == this.home_team_id) {
|
|
10058
10132
|
if (this.playersHome.length > 0) {
|
|
10059
10133
|
var p = this.playersHome.findIndex(
|
|
10060
|
-
(
|
|
10134
|
+
(v) => v.playerId == t.player_id
|
|
10061
10135
|
);
|
|
10062
10136
|
p != -1 && (this.playersHome[p].goals += 1, this.playersHome[p].goalsMin.push(t.minute), this.playersHome[p].idsGoals.push(t.play_id));
|
|
10063
10137
|
}
|
|
10064
10138
|
} else if (this.playersAway.length > 0) {
|
|
10065
10139
|
var y = this.playersAway.findIndex(
|
|
10066
|
-
(
|
|
10140
|
+
(v) => v.playerId == t.player_id
|
|
10067
10141
|
);
|
|
10068
10142
|
y != -1 && (this.playersAway[y].goals += 1, this.playersAway[y].goalsMin.push(t.minute), this.playersAway[y].idsGoals.push(t.play_id));
|
|
10069
10143
|
}
|
|
@@ -10073,28 +10147,28 @@ const Tf = {
|
|
|
10073
10147
|
if (t.team_id == this.home_team_id) {
|
|
10074
10148
|
if (this.playersHome.length > 0) {
|
|
10075
10149
|
var f = this.playersHome.findIndex(
|
|
10076
|
-
(
|
|
10150
|
+
(v) => v.playerId == t.player_id
|
|
10077
10151
|
);
|
|
10078
10152
|
f != -1 && (this.playersHome[f].yellowcards += 1, this.playersHome[f].yellowcardsMin = t.minute, this.playersHome[f].idyellowcards = t.play_id);
|
|
10079
10153
|
}
|
|
10080
10154
|
} else if (this.playersAway.length > 0) {
|
|
10081
|
-
var
|
|
10082
|
-
(
|
|
10155
|
+
var w = this.playersAway.findIndex(
|
|
10156
|
+
(v) => v.playerId == t.player_id
|
|
10083
10157
|
);
|
|
10084
|
-
|
|
10158
|
+
w != -1 && (this.playersAway[w].yellowcards += 1, this.playersAway[w].yellowcardsMin = t.minute, this.playersAway[w].idyellowcards = t.play_id);
|
|
10085
10159
|
}
|
|
10086
10160
|
}
|
|
10087
10161
|
if (t.category_id == 9) {
|
|
10088
10162
|
if (t.team_id == this.home_team_id) {
|
|
10089
10163
|
if (this.playersHome.length > 0) {
|
|
10090
10164
|
var c = this.playersHome.findIndex(
|
|
10091
|
-
(
|
|
10165
|
+
(v) => v.playerId == t.player_id
|
|
10092
10166
|
);
|
|
10093
10167
|
c != -1 && (this.playersHome[c].redcards += 1, this.playersHome[c].redcardsMin = t.minute, this.playersHome[c].idredcards = t.play_id);
|
|
10094
10168
|
}
|
|
10095
10169
|
} else if (this.playersAway.length > 0) {
|
|
10096
10170
|
var I = this.playersAway.findIndex(
|
|
10097
|
-
(
|
|
10171
|
+
(v) => v.playerId == t.player_id
|
|
10098
10172
|
);
|
|
10099
10173
|
I != -1 && (this.playersAway[I].redcards += 1, this.playersAway[I].redcardsMin = t.minute, this.playersAway[I].idredcards = t.play_id);
|
|
10100
10174
|
}
|
|
@@ -10118,6 +10192,14 @@ const Tf = {
|
|
|
10118
10192
|
const i = `${t}_${e}`;
|
|
10119
10193
|
this.pendingRequests.delete(i), console.log(`🔓 Removiendo petición pendiente: ${i}`);
|
|
10120
10194
|
},
|
|
10195
|
+
// Función para verificar si las alineaciones probables ya están cargadas
|
|
10196
|
+
areProbablesAlreadyLoaded(e, t) {
|
|
10197
|
+
return this.auxProbablesIDGameHome === e && this.auxProbablesIDGameAway === t;
|
|
10198
|
+
},
|
|
10199
|
+
// Función para verificar si hay peticiones pendientes para probables
|
|
10200
|
+
areProbablesRequestsPending(e, t) {
|
|
10201
|
+
return this.isRequestPending(e, "home") || this.isRequestPending(t, "away");
|
|
10202
|
+
},
|
|
10121
10203
|
// Función para calcular el ajuste de perspectiva basado en la posición X
|
|
10122
10204
|
calculatePerspectiveAdjustment(e) {
|
|
10123
10205
|
const i = Math.max(0, Math.min(100, e)), s = 12 * (1 - Math.pow(i / 100, 2));
|
|
@@ -10132,13 +10214,23 @@ const Tf = {
|
|
|
10132
10214
|
this.$emit("onOpenProfile", e);
|
|
10133
10215
|
},
|
|
10134
10216
|
async getLineUpProbablesHome3D(e) {
|
|
10135
|
-
if (e == null || e === 0) {
|
|
10217
|
+
if (console.log("🏠 Iniciando petición de alineaciones probables HOME para game_id:", e), e == null || e === 0) {
|
|
10136
10218
|
console.warn(
|
|
10137
10219
|
"❌ getLineUpProbablesHome3D: Se intentó hacer petición con game_id inválido:",
|
|
10138
10220
|
e
|
|
10139
10221
|
);
|
|
10140
10222
|
return;
|
|
10141
10223
|
}
|
|
10224
|
+
if (!this.gameInfoheader) {
|
|
10225
|
+
console.warn("❌ getLineUpProbablesHome3D: gameInfoheader no está disponible");
|
|
10226
|
+
return;
|
|
10227
|
+
}
|
|
10228
|
+
if (this.game && this.gameInfoheader.id !== this.game.game_id) {
|
|
10229
|
+
console.warn(
|
|
10230
|
+
`❌ getLineUpProbablesHome3D: gameInfoheader (${this.gameInfoheader.id}) no corresponde al partido actual (${this.game.game_id})`
|
|
10231
|
+
);
|
|
10232
|
+
return;
|
|
10233
|
+
}
|
|
10142
10234
|
if (this.isRequestPending(e, "home")) {
|
|
10143
10235
|
console.warn(
|
|
10144
10236
|
`🔒 getLineUpProbablesHome3D: Ya hay una petición en curso para game_id: ${e}`
|
|
@@ -10175,7 +10267,9 @@ const Tf = {
|
|
|
10175
10267
|
var l = n + ". " + a, d = h.data.home_team.starting_lineup[0].lineup[S].x, p = d * 50 / 100, y = h.data.home_team.players.findIndex(
|
|
10176
10268
|
($) => $.player_id == h.data.home_team.starting_lineup[0].lineup[S].player_id
|
|
10177
10269
|
);
|
|
10178
|
-
|
|
10270
|
+
console.log(
|
|
10271
|
+
`🏠 Agregando jugador HOME: ${h.data.home_team.starting_lineup[0].lineup[S].player_name}`
|
|
10272
|
+
), this.playersHome.push({
|
|
10179
10273
|
played: !0,
|
|
10180
10274
|
name: h.data.home_team.starting_lineup[0].lineup[S].player_name,
|
|
10181
10275
|
position: this.isFemale ? this.positions[h.data.home_team.players[y].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[h.data.home_team.players[y].position_id - 1].name,
|
|
@@ -10214,11 +10308,11 @@ const Tf = {
|
|
|
10214
10308
|
), h.data.home_team.bench) {
|
|
10215
10309
|
for (let S = 0; S < h.data.home_team.bench.length; S++) {
|
|
10216
10310
|
this.subsTitle = !0;
|
|
10217
|
-
var f = h.data.home_team.bench[S].playerName.split(","),
|
|
10218
|
-
|
|
10219
|
-
var
|
|
10311
|
+
var f = h.data.home_team.bench[S].playerName.split(","), w = f[0].split(" "), c = f[1].trim().split(" "), I = "";
|
|
10312
|
+
w.length == 2 || w.length == 1 ? w[0].length < 4 ? I = w[0] + " " + w[1] : I = w[0] : w.length == 3 ? I = w[0] + " " + w[1] : w.length == 4 && (I = w[1] + " " + w[2] + " " + w[3]);
|
|
10313
|
+
var v = c[c.length - 1] != "" ? c[c.length - 1].charAt(0) : c[c.length - 2] ? c[c.length - 2].charAt(0) : "";
|
|
10220
10314
|
I = I.replace(",", "");
|
|
10221
|
-
var _ =
|
|
10315
|
+
var _ = v + ". " + I, u = h.data.home_team.players.findIndex(
|
|
10222
10316
|
($) => $.player_id == h.data.home_team.bench[S].playerID
|
|
10223
10317
|
);
|
|
10224
10318
|
this.playersHome.push({
|
|
@@ -10283,8 +10377,8 @@ const Tf = {
|
|
|
10283
10377
|
a = a.replace(",", "");
|
|
10284
10378
|
var l = n + ". " + a, O = h.data.away_team.starting_lineup[0].lineup[S].x;
|
|
10285
10379
|
O = Math.abs(O - 100);
|
|
10286
|
-
var p = O * 50 / 100,
|
|
10287
|
-
|
|
10380
|
+
var p = O * 50 / 100, j = h.data.away_team.starting_lineup[0].lineup[S].y;
|
|
10381
|
+
j = Math.abs(j - 100);
|
|
10288
10382
|
var y = h.data.away_team.players.findIndex(
|
|
10289
10383
|
(Q) => Q.player_id == h.data.away_team.starting_lineup[0].lineup[S].player_id
|
|
10290
10384
|
);
|
|
@@ -10303,7 +10397,7 @@ const Tf = {
|
|
|
10303
10397
|
substitutionMin: "",
|
|
10304
10398
|
substitutionDataID: "",
|
|
10305
10399
|
shirt_number: h.data.away_team.starting_lineup[0].lineup[S].jersey_number,
|
|
10306
|
-
positionX:
|
|
10400
|
+
positionX: j - 20,
|
|
10307
10401
|
positionY: p * 0.9,
|
|
10308
10402
|
positionXOrigin: h.data.away_team.starting_lineup[0].lineup[S].y - 17,
|
|
10309
10403
|
positionYOrigin: h.data.away_team.starting_lineup[0].lineup[S].x - 2,
|
|
@@ -10327,11 +10421,11 @@ const Tf = {
|
|
|
10327
10421
|
), h.data.away_team.bench) {
|
|
10328
10422
|
for (let S = 0; S < h.data.away_team.bench.length; S++) {
|
|
10329
10423
|
this.subsTitle = !0;
|
|
10330
|
-
var f = h.data.away_team.bench[S].playerName.split(","),
|
|
10331
|
-
|
|
10332
|
-
var
|
|
10424
|
+
var f = h.data.away_team.bench[S].playerName.split(","), w = f[0].split(" "), c = f[1].trim().split(" "), I = "";
|
|
10425
|
+
w.length == 2 || w.length == 1 ? w[0].length < 4 ? I = w[0] + " " + w[1] : I = w[0] : w.length == 3 ? I = w[0] + " " + w[1] : w.length == 4 && (I = w[1] + " " + w[2] + " " + w[3]);
|
|
10426
|
+
var v = c[c.length - 1] != "" ? c[c.length - 1].charAt(0) : c[c.length - 2] ? c[c.length - 2].charAt(0) : "";
|
|
10333
10427
|
I = I.replace(",", "");
|
|
10334
|
-
var _ =
|
|
10428
|
+
var _ = v + ". " + I, u = h.data.away_team.players.findIndex(
|
|
10335
10429
|
(Z) => Z.player_id == h.data.away_team.bench[S].playerID
|
|
10336
10430
|
);
|
|
10337
10431
|
this.playersHome.push({
|
|
@@ -10378,9 +10472,9 @@ const Tf = {
|
|
|
10378
10472
|
}
|
|
10379
10473
|
await this.getMXM(e), this.removeRequestPending(e, "home"), console.log(
|
|
10380
10474
|
`✅ getLineUpProbablesHome3D: Petición completada exitosamente para game_id: ${e}`
|
|
10381
|
-
);
|
|
10382
|
-
} catch (
|
|
10383
|
-
return this.removeRequestPending(e, "home"), console.error(`❌ getLineUpProbablesHome3D: Error en petición para game_id: ${e}`,
|
|
10475
|
+
), console.log(`📊 Jugadores HOME cargados: ${this.playersHome.length}`);
|
|
10476
|
+
} catch (b) {
|
|
10477
|
+
return this.removeRequestPending(e, "home"), console.error(`❌ getLineUpProbablesHome3D: Error en petición para game_id: ${e}`, b), Promise.reject(b);
|
|
10384
10478
|
}
|
|
10385
10479
|
},
|
|
10386
10480
|
cleaneDataHome() {
|
|
@@ -10426,13 +10520,23 @@ const Tf = {
|
|
|
10426
10520
|
}, this.movil = !1;
|
|
10427
10521
|
},
|
|
10428
10522
|
async getLineUpProbablesAway3D(e) {
|
|
10429
|
-
if (e == null || e === 0) {
|
|
10523
|
+
if (console.log("✈️ Iniciando petición de alineaciones probables AWAY para game_id:", e), e == null || e === 0) {
|
|
10430
10524
|
console.warn(
|
|
10431
10525
|
"❌ getLineUpProbablesAway3D: Se intentó hacer petición con game_id inválido:",
|
|
10432
10526
|
e
|
|
10433
10527
|
);
|
|
10434
10528
|
return;
|
|
10435
10529
|
}
|
|
10530
|
+
if (!this.gameInfoheader) {
|
|
10531
|
+
console.warn("❌ getLineUpProbablesAway3D: gameInfoheader no está disponible");
|
|
10532
|
+
return;
|
|
10533
|
+
}
|
|
10534
|
+
if (this.game && this.gameInfoheader.id !== this.game.game_id) {
|
|
10535
|
+
console.warn(
|
|
10536
|
+
`❌ getLineUpProbablesAway3D: gameInfoheader (${this.gameInfoheader.id}) no corresponde al partido actual (${this.game.game_id})`
|
|
10537
|
+
);
|
|
10538
|
+
return;
|
|
10539
|
+
}
|
|
10436
10540
|
if (this.isRequestPending(e, "away")) {
|
|
10437
10541
|
console.warn(
|
|
10438
10542
|
`🔒 getLineUpProbablesAway3D: Ya hay una petición en curso para game_id: ${e}`
|
|
@@ -10441,58 +10545,60 @@ const Tf = {
|
|
|
10441
10545
|
}
|
|
10442
10546
|
this.markRequestPending(e, "away");
|
|
10443
10547
|
try {
|
|
10444
|
-
const
|
|
10548
|
+
const b = await E.create({
|
|
10445
10549
|
headers: {
|
|
10446
10550
|
Authorization: `${this.tokenPremium}`
|
|
10447
10551
|
}
|
|
10448
10552
|
}).get(this.url + e);
|
|
10449
|
-
if (!
|
|
10553
|
+
if (!b || !b.data)
|
|
10450
10554
|
throw new Error("There is not lineups for this game.");
|
|
10451
|
-
if (this.awayTeamAbrev = this.gameInfoheader.away_team_abbreviation,
|
|
10452
|
-
this.dataPlayersAway =
|
|
10453
|
-
for (let h = 0; h <
|
|
10454
|
-
this.away_team_id =
|
|
10455
|
-
"https://golstatsimages.blob.core.windows.net/jersey-teams/" +
|
|
10555
|
+
if (this.awayTeamAbrev = this.gameInfoheader.away_team_abbreviation, b.data.home_team.team_id == this.gameInfoheader.away_team) {
|
|
10556
|
+
this.dataPlayersAway = b.data.home_team.players, this.gameInfoheader.away_team == this.homeTeam.team_id && (this.awayTeamAbrev = this.homeTeam.acronym), this.gameInfoheader.away_team == this.visitingTeam.team_id && (this.awayTeamAbrev = this.visitingTeam.acronym);
|
|
10557
|
+
for (let h = 0; h < b.data.home_team.starting_lineup[0].lineup.length; h++) {
|
|
10558
|
+
this.away_team_id = b.data.home_team.team_id, this.imageExists(
|
|
10559
|
+
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + b.data.home_team.team_id + ".svg",
|
|
10456
10560
|
"away",
|
|
10457
10561
|
1
|
|
10458
10562
|
), this.imageExists(
|
|
10459
|
-
"https://golstatsimages.blob.core.windows.net/jersey-teams/" +
|
|
10563
|
+
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + b.data.home_team.team_id + "_g.svg",
|
|
10460
10564
|
"away",
|
|
10461
10565
|
0
|
|
10462
10566
|
);
|
|
10463
|
-
var t =
|
|
10567
|
+
var t = b.data.home_team.starting_lineup[0].lineup[h].player_name.split(","), i = t[0].split(" "), s = t[1].trim().split(" "), a = "";
|
|
10464
10568
|
i.length == 2 || i.length == 1 ? i[0].length < 4 ? a = i[0] + " " + i[1] : a = i[0] : i.length == 3 ? a = i[0] + " " + i[1] : i.length == 4 && (a = i[1] + " " + i[2] + " " + i[3]);
|
|
10465
10569
|
var n = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
|
|
10466
10570
|
a = a.replace(",", "");
|
|
10467
|
-
var l = n + ". " + a, d =
|
|
10571
|
+
var l = n + ". " + a, d = b.data.home_team.starting_lineup[0].lineup[h].x;
|
|
10468
10572
|
d = Math.abs(d - 100);
|
|
10469
|
-
var p =
|
|
10573
|
+
var p = b.data.home_team.starting_lineup[0].lineup[h].y;
|
|
10470
10574
|
p = Math.abs(p - 100);
|
|
10471
10575
|
var y = 100 - (100 - d) * 50 / 100;
|
|
10472
10576
|
y = y * 0.9;
|
|
10473
|
-
var f =
|
|
10474
|
-
(S) => S.player_id ==
|
|
10577
|
+
var f = b.data.home_team.players.findIndex(
|
|
10578
|
+
(S) => S.player_id == b.data.home_team.starting_lineup[0].lineup[h].player_id
|
|
10475
10579
|
);
|
|
10476
|
-
|
|
10580
|
+
console.log(
|
|
10581
|
+
`✈️ Agregando jugador AWAY: ${b.data.home_team.starting_lineup[0].lineup[h].player_name}`
|
|
10582
|
+
), this.playersAway.push({
|
|
10477
10583
|
played: !0,
|
|
10478
|
-
name:
|
|
10479
|
-
position: this.isFemale ? this.positions[
|
|
10480
|
-
position_id:
|
|
10481
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" +
|
|
10482
|
-
nationality:
|
|
10483
|
-
imgNationality:
|
|
10584
|
+
name: b.data.home_team.starting_lineup[0].lineup[h].player_name,
|
|
10585
|
+
position: this.isFemale ? this.positions[b.data.home_team.players[f].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[b.data.home_team.players[f].position_id - 1].name,
|
|
10586
|
+
position_id: b.data.home_team.players[f].position_id,
|
|
10587
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + b.data.home_team.starting_lineup[0].lineup[h].player_id + ".png",
|
|
10588
|
+
nationality: b.data.home_team.players[f].nationality ? b.data.home_team.players[f].nationality.substring(0, 3) : "",
|
|
10589
|
+
imgNationality: b.data.home_team.players[f].nationality_photo,
|
|
10484
10590
|
substitutionIn: !1,
|
|
10485
10591
|
substitutionOut: !1,
|
|
10486
10592
|
abrevNamePlayer: l,
|
|
10487
|
-
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" +
|
|
10593
|
+
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + b.data.home_team.team_id + ".png",
|
|
10488
10594
|
substitutionMin: "",
|
|
10489
10595
|
substitutionDataID: "",
|
|
10490
|
-
shirt_number:
|
|
10596
|
+
shirt_number: b.data.home_team.starting_lineup[0].lineup[h].jersey_number,
|
|
10491
10597
|
positionX: p - 23,
|
|
10492
10598
|
positionY: y,
|
|
10493
|
-
positionXOrigin:
|
|
10494
|
-
positionYOrigin:
|
|
10495
|
-
playerId:
|
|
10599
|
+
positionXOrigin: b.data.home_team.starting_lineup[0].lineup[h].y - 17,
|
|
10600
|
+
positionYOrigin: b.data.home_team.starting_lineup[0].lineup[h].x - 7,
|
|
10601
|
+
playerId: b.data.home_team.starting_lineup[0].lineup[h].player_id,
|
|
10496
10602
|
goals: 0,
|
|
10497
10603
|
yellowcards: 0,
|
|
10498
10604
|
redcards: 0,
|
|
@@ -10504,44 +10610,44 @@ const Tf = {
|
|
|
10504
10610
|
idsGoals: [],
|
|
10505
10611
|
idSubstitution: 0,
|
|
10506
10612
|
isbench: !1,
|
|
10507
|
-
id_team:
|
|
10508
|
-
}), this.awayTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" +
|
|
10613
|
+
id_team: b.data.home_team.team_id
|
|
10614
|
+
}), this.awayTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + b.data.home_team.team_id + ".png";
|
|
10509
10615
|
}
|
|
10510
10616
|
if (this.playersAway.sort(
|
|
10511
10617
|
(h, S) => h.position_id > S.position_id ? 1 : S.position_id > h.position_id ? -1 : 0
|
|
10512
|
-
),
|
|
10513
|
-
for (let h = 0; h <
|
|
10618
|
+
), b.data.home_team.bench) {
|
|
10619
|
+
for (let h = 0; h < b.data.home_team.bench.length; h++) {
|
|
10514
10620
|
this.subsTitle = !0;
|
|
10515
|
-
var
|
|
10516
|
-
c.length == 2 || c.length == 1 ? c[0].length < 4 ?
|
|
10621
|
+
var w = b.data.home_team.bench[h].playerName.split(","), c = w[0].split(" "), I = w[1].trim().split(" "), v = "";
|
|
10622
|
+
c.length == 2 || c.length == 1 ? c[0].length < 4 ? v = c[0] + " " + c[1] : v = c[0] : c.length == 3 ? v = c[0] + " " + c[1] : c.length == 4 && (v = c[1] + " " + c[2] + " " + c[3]);
|
|
10517
10623
|
var _ = I[I.length - 1] != "" ? I[I.length - 1].charAt(0) : I[I.length - 2] ? I[I.length - 2].charAt(0) : "";
|
|
10518
|
-
|
|
10519
|
-
var u = _ + ". " +
|
|
10520
|
-
(S) => S.player_id ==
|
|
10624
|
+
v = v.replace(",", "");
|
|
10625
|
+
var u = _ + ". " + v, O = b.data.home_team.players.findIndex(
|
|
10626
|
+
(S) => S.player_id == b.data.home_team.bench[h].playerID
|
|
10521
10627
|
);
|
|
10522
10628
|
this.playersAway.push({
|
|
10523
10629
|
played: !1,
|
|
10524
|
-
name:
|
|
10525
|
-
position: O != -1 ? this.isFemale ? this.positions[
|
|
10526
|
-
position_id:
|
|
10527
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" +
|
|
10528
|
-
nationality: O != -1 &&
|
|
10630
|
+
name: b.data.home_team.bench[h].playerName,
|
|
10631
|
+
position: O != -1 ? this.isFemale ? this.positions[b.data.home_team.players[O].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[b.data.home_team.players[O].position_id - 1].name : "",
|
|
10632
|
+
position_id: b.data.home_team.players[O].position_id,
|
|
10633
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + b.data.home_team.bench[h].playerID + ".png",
|
|
10634
|
+
nationality: O != -1 && b.data.home_team.players[O].nationality ? b.data.home_team.players[O].nationality.substring(
|
|
10529
10635
|
0,
|
|
10530
10636
|
3
|
|
10531
10637
|
) : "",
|
|
10532
|
-
imgNationality: O != -1 ?
|
|
10638
|
+
imgNationality: O != -1 ? b.data.home_team.players[O].nationality_photo : "",
|
|
10533
10639
|
substitutionIn: !1,
|
|
10534
10640
|
substitutionOut: !1,
|
|
10535
10641
|
abrevNamePlayer: u,
|
|
10536
|
-
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" +
|
|
10642
|
+
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + b.data.home_team.team_id + ".png",
|
|
10537
10643
|
substitutionMin: "",
|
|
10538
10644
|
substitutionDataID: "",
|
|
10539
|
-
shirt_number:
|
|
10645
|
+
shirt_number: b.data.home_team.bench[h].jerseyNumber,
|
|
10540
10646
|
positionX: "",
|
|
10541
10647
|
positionY: "",
|
|
10542
10648
|
positionXOrigin: "",
|
|
10543
10649
|
positionYOrigin: "",
|
|
10544
|
-
playerId:
|
|
10650
|
+
playerId: b.data.home_team.bench[h].playerID,
|
|
10545
10651
|
goals: 0,
|
|
10546
10652
|
yellowcards: 0,
|
|
10547
10653
|
redcards: 0,
|
|
@@ -10553,7 +10659,7 @@ const Tf = {
|
|
|
10553
10659
|
idsGoals: [],
|
|
10554
10660
|
idSubstitution: 0,
|
|
10555
10661
|
isbench: !0,
|
|
10556
|
-
id_team:
|
|
10662
|
+
id_team: b.data.home_team.team_id
|
|
10557
10663
|
});
|
|
10558
10664
|
}
|
|
10559
10665
|
this.playersAway.sort(
|
|
@@ -10561,47 +10667,47 @@ const Tf = {
|
|
|
10561
10667
|
);
|
|
10562
10668
|
}
|
|
10563
10669
|
}
|
|
10564
|
-
if (
|
|
10565
|
-
this.gameInfoheader.away_team == this.homeTeam.team_id && (this.awayTeamAbrev = this.homeTeam.acronym), this.gameInfoheader.away_team == this.visitingTeam.team_id && (this.awayTeamAbrev = this.visitingTeam.acronym), this.dataPlayersAway =
|
|
10566
|
-
for (let h = 0; h <
|
|
10567
|
-
this.away_team_id =
|
|
10568
|
-
"https://golstatsimages.blob.core.windows.net/jersey-teams/" +
|
|
10670
|
+
if (b.data.away_team.team_id == this.gameInfoheader.away_team) {
|
|
10671
|
+
this.gameInfoheader.away_team == this.homeTeam.team_id && (this.awayTeamAbrev = this.homeTeam.acronym), this.gameInfoheader.away_team == this.visitingTeam.team_id && (this.awayTeamAbrev = this.visitingTeam.acronym), this.dataPlayersAway = b.data.away_team.players;
|
|
10672
|
+
for (let h = 0; h < b.data.away_team.starting_lineup[0].lineup.length; h++) {
|
|
10673
|
+
this.away_team_id = b.data.away_team.team_id, this.imageExists(
|
|
10674
|
+
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + b.data.away_team.team_id + ".svg",
|
|
10569
10675
|
"away",
|
|
10570
10676
|
1
|
|
10571
10677
|
), this.imageExists(
|
|
10572
|
-
"https://golstatsimages.blob.core.windows.net/jersey-teams/" +
|
|
10678
|
+
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + b.data.away_team.team_id + "_g.svg",
|
|
10573
10679
|
"away",
|
|
10574
10680
|
0
|
|
10575
10681
|
);
|
|
10576
|
-
var t =
|
|
10682
|
+
var t = b.data.away_team.starting_lineup[0].lineup[h].player_name.split(","), i = t[0].split(" "), s = t[1].trim().split(" "), a = "";
|
|
10577
10683
|
i.length == 2 || i.length == 1 ? i[0].length < 4 ? a = i[0] + " " + i[1] : a = i[0] : i.length == 3 ? a = i[0] + " " + i[1] : i.length == 4 && (a = i[1] + " " + i[2] + " " + i[3]);
|
|
10578
10684
|
var n = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
|
|
10579
10685
|
a = a.replace(",", "");
|
|
10580
|
-
var l = n + ". " + a, d =
|
|
10686
|
+
var l = n + ". " + a, d = b.data.away_team.starting_lineup[0].lineup[h].x, y = 100 - (100 - d) * 50 / 100;
|
|
10581
10687
|
y = y * 0.9;
|
|
10582
|
-
var f =
|
|
10583
|
-
(Q) => Q.player_id ==
|
|
10688
|
+
var f = b.data.away_team.players.findIndex(
|
|
10689
|
+
(Q) => Q.player_id == b.data.away_team.starting_lineup[0].lineup[h].player_id
|
|
10584
10690
|
);
|
|
10585
10691
|
this.playersAway.push({
|
|
10586
10692
|
played: !0,
|
|
10587
|
-
name:
|
|
10588
|
-
position: this.isFemale ? this.positions[
|
|
10589
|
-
position_id:
|
|
10590
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" +
|
|
10591
|
-
nationality:
|
|
10592
|
-
imgNationality:
|
|
10693
|
+
name: b.data.away_team.starting_lineup[0].lineup[h].player_name,
|
|
10694
|
+
position: this.isFemale ? this.positions[b.data.away_team.players[f].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[b.data.away_team.players[f].position_id - 1].name,
|
|
10695
|
+
position_id: b.data.away_team.players[f].position_id,
|
|
10696
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + b.data.away_team.starting_lineup[0].lineup[h].player_id + ".png",
|
|
10697
|
+
nationality: b.data.away_team.players[f].nationality ? b.data.away_team.players[f].nationality.substring(0, 3) : "",
|
|
10698
|
+
imgNationality: b.data.away_team.players[f].nationality_photo,
|
|
10593
10699
|
substitutionIn: !1,
|
|
10594
10700
|
substitutionOut: !1,
|
|
10595
10701
|
abrevNamePlayer: l,
|
|
10596
|
-
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" +
|
|
10702
|
+
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + b.data.away_team.team_id + ".png",
|
|
10597
10703
|
substitutionMin: "",
|
|
10598
10704
|
substitutionDataID: "",
|
|
10599
|
-
shirt_number:
|
|
10600
|
-
positionX:
|
|
10705
|
+
shirt_number: b.data.away_team.starting_lineup[0].lineup[h].jersey_number,
|
|
10706
|
+
positionX: b.data.away_team.starting_lineup[0].lineup[h].y - 13,
|
|
10601
10707
|
positionY: y,
|
|
10602
|
-
positionXOrigin:
|
|
10603
|
-
positionYOrigin:
|
|
10604
|
-
playerId:
|
|
10708
|
+
positionXOrigin: b.data.away_team.starting_lineup[0].lineup[h].y - 17,
|
|
10709
|
+
positionYOrigin: b.data.away_team.starting_lineup[0].lineup[h].x - 7,
|
|
10710
|
+
playerId: b.data.away_team.starting_lineup[0].lineup[h].player_id,
|
|
10605
10711
|
goals: 0,
|
|
10606
10712
|
yellowcards: 0,
|
|
10607
10713
|
redcards: 0,
|
|
@@ -10613,44 +10719,44 @@ const Tf = {
|
|
|
10613
10719
|
idsGoals: [],
|
|
10614
10720
|
idSubstitution: 0,
|
|
10615
10721
|
isbench: !1,
|
|
10616
|
-
id_team:
|
|
10617
|
-
}), this.awayTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" +
|
|
10722
|
+
id_team: b.data.away_team.team_id
|
|
10723
|
+
}), this.awayTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + b.data.away_team.team_id + ".png";
|
|
10618
10724
|
}
|
|
10619
10725
|
if (this.playersAway.sort(
|
|
10620
10726
|
(h, S) => h.position_id > S.position_id ? 1 : S.position_id > h.position_id ? -1 : 0
|
|
10621
|
-
),
|
|
10622
|
-
for (let h = 0; h <
|
|
10727
|
+
), b.data.away_team.bench) {
|
|
10728
|
+
for (let h = 0; h < b.data.away_team.bench.length; h++) {
|
|
10623
10729
|
this.subsTitle = !0;
|
|
10624
|
-
var
|
|
10625
|
-
c.length == 2 || c.length == 1 ? c[0].length < 4 ?
|
|
10730
|
+
var w = b.data.away_team.bench[h].playerName.split(","), c = w[0].split(" "), I = w[1].trim().split(" "), v = "";
|
|
10731
|
+
c.length == 2 || c.length == 1 ? c[0].length < 4 ? v = c[0] + " " + c[1] : v = c[0] : c.length == 3 ? v = c[0] + " " + c[1] : c.length == 4 && (v = c[1] + " " + c[2] + " " + c[3]);
|
|
10626
10732
|
var _ = I[I.length - 1] != "" ? I[I.length - 1].charAt(0) : I[I.length - 2] ? I[I.length - 2].charAt(0) : "";
|
|
10627
|
-
|
|
10628
|
-
var u = _ + ". " +
|
|
10629
|
-
(N) => N.player_id ==
|
|
10733
|
+
v = v.replace(",", "");
|
|
10734
|
+
var u = _ + ". " + v, O = b.data.away_team.players.findIndex(
|
|
10735
|
+
(N) => N.player_id == b.data.away_team.bench[h].playerID
|
|
10630
10736
|
);
|
|
10631
10737
|
this.playersAway.push({
|
|
10632
10738
|
played: !1,
|
|
10633
|
-
name:
|
|
10634
|
-
position: O != -1 ? this.isFemale ? this.positions[
|
|
10635
|
-
position_id:
|
|
10636
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" +
|
|
10637
|
-
nationality: O != -1 &&
|
|
10739
|
+
name: b.data.away_team.bench[h].playerName,
|
|
10740
|
+
position: O != -1 ? this.isFemale ? this.positions[b.data.away_team.players[O].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[b.data.away_team.players[O].position_id - 1].name : "",
|
|
10741
|
+
position_id: b.data.away_team.players[O].position_id,
|
|
10742
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + b.data.away_team.bench[h].playerID + ".png",
|
|
10743
|
+
nationality: O != -1 && b.data.away_team.players[O].nationality ? b.data.away_team.players[O].nationality.substring(
|
|
10638
10744
|
0,
|
|
10639
10745
|
3
|
|
10640
10746
|
) : "",
|
|
10641
|
-
imgNationality: O != -1 ?
|
|
10747
|
+
imgNationality: O != -1 ? b.data.away_team.players[O].nationality_photo : "",
|
|
10642
10748
|
substitutionIn: !1,
|
|
10643
10749
|
substitutionOut: !1,
|
|
10644
10750
|
abrevNamePlayer: u,
|
|
10645
|
-
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" +
|
|
10751
|
+
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + b.data.away_team.team_id + ".png",
|
|
10646
10752
|
substitutionMin: "",
|
|
10647
10753
|
substitutionDataID: "",
|
|
10648
|
-
shirt_number:
|
|
10754
|
+
shirt_number: b.data.away_team.bench[h].jerseyNumber,
|
|
10649
10755
|
positionX: "",
|
|
10650
10756
|
positionY: "",
|
|
10651
10757
|
positionXOrigin: "",
|
|
10652
10758
|
positionYOrigin: "",
|
|
10653
|
-
playerId:
|
|
10759
|
+
playerId: b.data.away_team.bench[h].playerID,
|
|
10654
10760
|
goals: 0,
|
|
10655
10761
|
yellowcards: 0,
|
|
10656
10762
|
redcards: 0,
|
|
@@ -10662,7 +10768,7 @@ const Tf = {
|
|
|
10662
10768
|
idsGoals: [],
|
|
10663
10769
|
idSubstitution: 0,
|
|
10664
10770
|
isbench: !0,
|
|
10665
|
-
id_team:
|
|
10771
|
+
id_team: b.data.away_team.team_id
|
|
10666
10772
|
});
|
|
10667
10773
|
}
|
|
10668
10774
|
this.playersAway.sort(
|
|
@@ -10672,16 +10778,16 @@ const Tf = {
|
|
|
10672
10778
|
}
|
|
10673
10779
|
await this.getMXM(e), this.removeRequestPending(e, "away"), console.log(
|
|
10674
10780
|
`✅ getLineUpProbablesAway3D: Petición completada exitosamente para game_id: ${e}`
|
|
10675
|
-
);
|
|
10676
|
-
} catch (
|
|
10677
|
-
return this.removeRequestPending(e, "away"), console.error(`❌ getLineUpProbablesAway3D: Error en petición para game_id: ${e}`,
|
|
10781
|
+
), console.log(`📊 Jugadores AWAY cargados: ${this.playersAway.length}`);
|
|
10782
|
+
} catch (j) {
|
|
10783
|
+
return this.removeRequestPending(e, "away"), console.error(`❌ getLineUpProbablesAway3D: Error en petición para game_id: ${e}`, j), Promise.reject(j);
|
|
10678
10784
|
}
|
|
10679
10785
|
},
|
|
10680
10786
|
async getLineupProbablesHome(e) {
|
|
10681
|
-
e && e.id && e.id !== 0 ? this.auxProbablesIDGameHome != e.id && (console.log("✅ getLineupProbablesHome: Cargando alineaciones para game_id:", e.id), this.auxProbablesIDGameHome = e.id
|
|
10787
|
+
e && e.id && e.id !== 0 ? this.auxProbablesIDGameHome != e.id && (console.log("✅ getLineupProbablesHome: Cargando alineaciones para game_id:", e.id), this.auxProbablesIDGameHome = e.id) : console.warn("❌ getLineupProbablesHome: game_id inválido:", e == null ? void 0 : e.id);
|
|
10682
10788
|
},
|
|
10683
10789
|
async getLineupProbablesAway(e) {
|
|
10684
|
-
e && e.id && e.id !== 0 ? this.auxProbablesIDGameAway != e.id && (console.log("✅ getLineupProbablesAway: Cargando alineaciones para game_id:", e.id), this.auxProbablesIDGameAway = e.id
|
|
10790
|
+
e && e.id && e.id !== 0 ? this.auxProbablesIDGameAway != e.id && (console.log("✅ getLineupProbablesAway: Cargando alineaciones para game_id:", e.id), this.auxProbablesIDGameAway = e.id) : console.warn("❌ getLineupProbablesAway: game_id inválido:", e == null ? void 0 : e.id);
|
|
10685
10791
|
},
|
|
10686
10792
|
async getLineupProbables(e) {
|
|
10687
10793
|
if (e && e.id && e.id !== 0) {
|
|
@@ -10712,7 +10818,15 @@ const Tf = {
|
|
|
10712
10818
|
}), s = t || await i.get(
|
|
10713
10819
|
"https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/seasons/" + e.season_id + "/games/" + e.game_id + "/lineups"
|
|
10714
10820
|
);
|
|
10715
|
-
if (
|
|
10821
|
+
if (console.log(
|
|
10822
|
+
"GAME INFO HEADER --------------------------------------------------------> ",
|
|
10823
|
+
e.game_id
|
|
10824
|
+
), this.gameInfoheader = s.data.game, console.log(
|
|
10825
|
+
"📋 gameInfoheader establecido para game_id:",
|
|
10826
|
+
this.gameInfoheader.id,
|
|
10827
|
+
"del partido:",
|
|
10828
|
+
e.game_id
|
|
10829
|
+
), this.selectedOption != "Postmatch") {
|
|
10716
10830
|
for (let a = 0; a < s.data.games_historic.length; a++)
|
|
10717
10831
|
this.gamesHistoric.push({
|
|
10718
10832
|
objgame: s.data.games_historic[a],
|
|
@@ -10888,10 +11002,10 @@ const Tf = {
|
|
|
10888
11002
|
if (_.data.plays[u].category_id == 9) {
|
|
10889
11003
|
if (_.data.plays[u].team_id == this.home_team_id) {
|
|
10890
11004
|
if (this.playersHome.length > 0) {
|
|
10891
|
-
var
|
|
11005
|
+
var w = this.playersHome.findIndex(
|
|
10892
11006
|
(O) => O.playerId == _.data.plays[u].player_id
|
|
10893
11007
|
);
|
|
10894
|
-
|
|
11008
|
+
w != -1 && (this.playersHome[w].redcards += 1, this.playersHome[w].redcardsMin = _.data.plays[u].minute, this.playersHome[w].idredcards = _.data.plays[u].play_id);
|
|
10895
11009
|
}
|
|
10896
11010
|
} else if (this.playersAway.length > 0) {
|
|
10897
11011
|
var c = this.playersAway.findIndex(
|
|
@@ -10911,7 +11025,10 @@ const Tf = {
|
|
|
10911
11025
|
console.warn("❌ getLineUp: Se intentó hacer petición con game_id inválido:", e);
|
|
10912
11026
|
return;
|
|
10913
11027
|
}
|
|
10914
|
-
if (
|
|
11028
|
+
if (console.log(
|
|
11029
|
+
"------------------------------------------------> SE HIZO LA PETICION ----> DEL PARTIDO ID: ",
|
|
11030
|
+
e
|
|
11031
|
+
), this.isRequestPending(e, "general")) {
|
|
10915
11032
|
console.warn(`🔒 getLineUp: Ya hay una petición en curso para game_id: ${e}`);
|
|
10916
11033
|
return;
|
|
10917
11034
|
}
|
|
@@ -10926,9 +11043,9 @@ const Tf = {
|
|
|
10926
11043
|
if (!R || !R.data)
|
|
10927
11044
|
throw new Error("There is not lineups for this game.");
|
|
10928
11045
|
this.dataPlayersHome = R.data.home_team.players, this.dataPlayersAway = R.data.away_team.players, R.data.home_team.starting_lineup[0].lineup.sort(
|
|
10929
|
-
(
|
|
11046
|
+
(A, W) => A.position_id > W.position_id ? 1 : W.position_id > A.position_id ? -1 : 0
|
|
10930
11047
|
);
|
|
10931
|
-
for (let
|
|
11048
|
+
for (let A = 0; A < R.data.home_team.starting_lineup[0].lineup.length; A++) {
|
|
10932
11049
|
this.home_team_id = R.data.home_team.team_id, this.imageExists(
|
|
10933
11050
|
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + R.data.home_team.team_id + ".svg",
|
|
10934
11051
|
"home",
|
|
@@ -10938,19 +11055,19 @@ const Tf = {
|
|
|
10938
11055
|
"home",
|
|
10939
11056
|
0
|
|
10940
11057
|
);
|
|
10941
|
-
var i = R.data.home_team.starting_lineup[0].lineup[
|
|
11058
|
+
var i = R.data.home_team.starting_lineup[0].lineup[A].player_name.split(","), s = i[0].split(" "), a = i[1].trim().split(" "), n = "";
|
|
10942
11059
|
s.length == 2 || s.length == 1 ? s[0].length < 4 ? n = s[0] + " " + s[1] : n = s[0] : s.length == 3 ? n = s[0] + " " + s[1] : s.length == 4 && (n = s[1] + " " + s[2] + " " + s[3]);
|
|
10943
11060
|
var l = a[a.length - 1] != "" ? a[a.length - 1].charAt(0) : a[a.length - 2] ? a[a.length - 2].charAt(0) : "";
|
|
10944
11061
|
n = n.replace(",", "");
|
|
10945
|
-
var d = l + ". " + n, p = R.data.home_team.starting_lineup[0].lineup[
|
|
10946
|
-
(W) => W.player_id == R.data.home_team.starting_lineup[0].lineup[
|
|
11062
|
+
var d = l + ". " + n, p = R.data.home_team.starting_lineup[0].lineup[A].x, y = p * 50 / 100, f = R.data.home_team.players.findIndex(
|
|
11063
|
+
(W) => W.player_id == R.data.home_team.starting_lineup[0].lineup[A].player_id
|
|
10947
11064
|
);
|
|
10948
11065
|
this.playersHome.push({
|
|
10949
11066
|
played: !0,
|
|
10950
|
-
name: R.data.home_team.starting_lineup[0].lineup[
|
|
11067
|
+
name: R.data.home_team.starting_lineup[0].lineup[A].player_name,
|
|
10951
11068
|
position: this.isFemale ? this.positions[R.data.home_team.players[f].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[R.data.home_team.players[f].position_id - 1].name,
|
|
10952
11069
|
position_id: R.data.home_team.players[f].position_id - 1,
|
|
10953
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.home_team.starting_lineup[0].lineup[
|
|
11070
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.home_team.starting_lineup[0].lineup[A].player_id + ".png",
|
|
10954
11071
|
nationality: R.data.home_team.players[f].nationality ? R.data.home_team.players[f].nationality.substring(0, 3) : "",
|
|
10955
11072
|
imgNationality: R.data.home_team.players[f].nationality_photo,
|
|
10956
11073
|
substitutionIn: !1,
|
|
@@ -10959,12 +11076,12 @@ const Tf = {
|
|
|
10959
11076
|
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png",
|
|
10960
11077
|
substitutionMin: "",
|
|
10961
11078
|
substitutionDataID: "",
|
|
10962
|
-
shirt_number: R.data.home_team.starting_lineup[0].lineup[
|
|
10963
|
-
positionX: R.data.home_team.starting_lineup[0].lineup[
|
|
11079
|
+
shirt_number: R.data.home_team.starting_lineup[0].lineup[A].jersey_number,
|
|
11080
|
+
positionX: R.data.home_team.starting_lineup[0].lineup[A].y - 13,
|
|
10964
11081
|
positionY: y * 0.9,
|
|
10965
|
-
positionXOrigin: R.data.home_team.starting_lineup[0].lineup[
|
|
10966
|
-
positionYOrigin: R.data.home_team.starting_lineup[0].lineup[
|
|
10967
|
-
playerId: R.data.home_team.starting_lineup[0].lineup[
|
|
11082
|
+
positionXOrigin: R.data.home_team.starting_lineup[0].lineup[A].y - 17,
|
|
11083
|
+
positionYOrigin: R.data.home_team.starting_lineup[0].lineup[A].x - 2,
|
|
11084
|
+
playerId: R.data.home_team.starting_lineup[0].lineup[A].player_id,
|
|
10968
11085
|
goals: 0,
|
|
10969
11086
|
yellowcards: 0,
|
|
10970
11087
|
redcards: 0,
|
|
@@ -10980,23 +11097,23 @@ const Tf = {
|
|
|
10980
11097
|
}), this.homeTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png", this.homeTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png", this.selectOptMenuheader == "Historicos" ? (R.data.home_team.team_id == this.homeTeam.team_id && (this.homeTeamAbrev = this.homeTeam.acronym), R.data.home_team.team_id == this.visitingTeam.team_id && (this.homeTeamAbrev = this.visitingTeam.acronym)) : this.homeTeamAbrev = this.homeTeam.acronymrecientes;
|
|
10981
11098
|
}
|
|
10982
11099
|
if (this.playersHome.sort(
|
|
10983
|
-
(
|
|
11100
|
+
(A, W) => A.position_id > W.position_id ? 1 : W.position_id > A.position_id ? -1 : 0
|
|
10984
11101
|
), R.data.home_team.bench) {
|
|
10985
|
-
for (let
|
|
11102
|
+
for (let A = 0; A < R.data.home_team.bench.length; A++) {
|
|
10986
11103
|
this.subsTitle = !0;
|
|
10987
|
-
var
|
|
10988
|
-
c.length == 2 || c.length == 1 ? c[0].length < 4 ?
|
|
11104
|
+
var w = R.data.home_team.bench[A].playerName.split(","), c = w[0].split(" "), I = w[1].trim().split(" "), v = "";
|
|
11105
|
+
c.length == 2 || c.length == 1 ? c[0].length < 4 ? v = c[0] + " " + c[1] : v = c[0] : c.length == 3 ? v = c[0] + " " + c[1] : c.length == 4 && (v = c[1] + " " + c[2] + " " + c[3]);
|
|
10989
11106
|
var _ = I[I.length - 1] != "" ? I[I.length - 1].charAt(0) : I[I.length - 2] ? I[I.length - 2].charAt(0) : "";
|
|
10990
|
-
|
|
10991
|
-
var u = _ + ". " +
|
|
10992
|
-
(W) => W.player_id == R.data.home_team.bench[
|
|
11107
|
+
v = v.replace(",", "");
|
|
11108
|
+
var u = _ + ". " + v, O = R.data.home_team.players.findIndex(
|
|
11109
|
+
(W) => W.player_id == R.data.home_team.bench[A].playerID
|
|
10993
11110
|
);
|
|
10994
11111
|
this.playersHome.push({
|
|
10995
11112
|
played: !1,
|
|
10996
|
-
name: R.data.home_team.bench[
|
|
11113
|
+
name: R.data.home_team.bench[A].playerName,
|
|
10997
11114
|
position: O != -1 ? this.isFemale ? this.positions[R.data.home_team.players[O].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[R.data.home_team.players[O].position_id - 1].name : "",
|
|
10998
11115
|
position_id: R.data.home_team.players[O].position_id,
|
|
10999
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.home_team.bench[
|
|
11116
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.home_team.bench[A].playerID + ".png",
|
|
11000
11117
|
nationality: O != -1 && R.data.home_team.players[O].nationality ? R.data.home_team.players[O].nationality.substring(
|
|
11001
11118
|
0,
|
|
11002
11119
|
3
|
|
@@ -11008,12 +11125,12 @@ const Tf = {
|
|
|
11008
11125
|
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.home_team.team_id + ".png",
|
|
11009
11126
|
substitutionMin: "",
|
|
11010
11127
|
substitutionDataID: "",
|
|
11011
|
-
shirt_number: R.data.home_team.bench[
|
|
11128
|
+
shirt_number: R.data.home_team.bench[A].jerseyNumber,
|
|
11012
11129
|
positionX: "",
|
|
11013
11130
|
positionY: "",
|
|
11014
11131
|
positionXOrigin: "",
|
|
11015
11132
|
positionYOrigin: "",
|
|
11016
|
-
playerId: R.data.home_team.bench[
|
|
11133
|
+
playerId: R.data.home_team.bench[A].playerID,
|
|
11017
11134
|
goals: 0,
|
|
11018
11135
|
yellowcards: 0,
|
|
11019
11136
|
redcards: 0,
|
|
@@ -11029,10 +11146,10 @@ const Tf = {
|
|
|
11029
11146
|
});
|
|
11030
11147
|
}
|
|
11031
11148
|
this.playersHome.sort(
|
|
11032
|
-
(
|
|
11149
|
+
(A, W) => A.position_id > W.position_id ? 1 : W.position_id > A.position_id ? -1 : 0
|
|
11033
11150
|
);
|
|
11034
11151
|
}
|
|
11035
|
-
for (let
|
|
11152
|
+
for (let A = 0; A < R.data.away_team.starting_lineup[0].lineup.length; A++) {
|
|
11036
11153
|
this.away_team_id = R.data.away_team.team_id, this.imageExists(
|
|
11037
11154
|
"https://golstatsimages.blob.core.windows.net/jersey-teams/" + R.data.away_team.team_id + ".svg",
|
|
11038
11155
|
"away",
|
|
@@ -11042,21 +11159,21 @@ const Tf = {
|
|
|
11042
11159
|
"away",
|
|
11043
11160
|
0
|
|
11044
11161
|
);
|
|
11045
|
-
var
|
|
11046
|
-
|
|
11162
|
+
var j = R.data.away_team.starting_lineup[0].lineup[A].player_name.split(","), b = j[0].split(" "), h = j[1].trim().split(" "), S = "";
|
|
11163
|
+
b.length == 2 || b.length == 1 ? b[0].length < 4 ? S = b[0] + " " + b[1] : S = b[0] : b.length == 3 ? S = b[0] + " " + b[1] : b.length == 4 && (S = b[1] + " " + b[2] + " " + b[3]);
|
|
11047
11164
|
var $ = h[a.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
|
|
11048
11165
|
S = S.replace(",", "");
|
|
11049
|
-
var V = $ + ". " + S,
|
|
11166
|
+
var V = $ + ". " + S, D = R.data.away_team.starting_lineup[0].lineup[A].x, z = 100 - (100 - D) * 50 / 100;
|
|
11050
11167
|
z = z * 0.9;
|
|
11051
11168
|
var oe = R.data.away_team.players.findIndex(
|
|
11052
|
-
(W) => W.player_id == R.data.away_team.starting_lineup[0].lineup[
|
|
11169
|
+
(W) => W.player_id == R.data.away_team.starting_lineup[0].lineup[A].player_id
|
|
11053
11170
|
);
|
|
11054
11171
|
this.playersAway.push({
|
|
11055
11172
|
played: !0,
|
|
11056
|
-
name: R.data.away_team.starting_lineup[0].lineup[
|
|
11173
|
+
name: R.data.away_team.starting_lineup[0].lineup[A].player_name,
|
|
11057
11174
|
position: this.isFemale ? this.positions[R.data.away_team.players[oe].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[R.data.away_team.players[oe].position_id - 1].name,
|
|
11058
11175
|
position_id: R.data.away_team.players[oe].position_id,
|
|
11059
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.starting_lineup[0].lineup[
|
|
11176
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.starting_lineup[0].lineup[A].player_id + ".png",
|
|
11060
11177
|
nationality: R.data.away_team.players[oe].nationality ? R.data.away_team.players[oe].nationality.substring(0, 3) : "",
|
|
11061
11178
|
imgNationality: R.data.away_team.players[oe].nationality_photo,
|
|
11062
11179
|
substitutionIn: !1,
|
|
@@ -11065,12 +11182,12 @@ const Tf = {
|
|
|
11065
11182
|
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png",
|
|
11066
11183
|
substitutionMin: "",
|
|
11067
11184
|
substitutionDataID: "",
|
|
11068
|
-
shirt_number: R.data.away_team.starting_lineup[0].lineup[
|
|
11069
|
-
positionX: R.data.away_team.starting_lineup[0].lineup[
|
|
11185
|
+
shirt_number: R.data.away_team.starting_lineup[0].lineup[A].jersey_number,
|
|
11186
|
+
positionX: R.data.away_team.starting_lineup[0].lineup[A].y - 13,
|
|
11070
11187
|
positionY: z,
|
|
11071
|
-
positionXOrigin: R.data.away_team.starting_lineup[0].lineup[
|
|
11072
|
-
positionYOrigin: R.data.away_team.starting_lineup[0].lineup[
|
|
11073
|
-
playerId: R.data.away_team.starting_lineup[0].lineup[
|
|
11188
|
+
positionXOrigin: R.data.away_team.starting_lineup[0].lineup[A].y - 17,
|
|
11189
|
+
positionYOrigin: R.data.away_team.starting_lineup[0].lineup[A].x - 7,
|
|
11190
|
+
playerId: R.data.away_team.starting_lineup[0].lineup[A].player_id,
|
|
11074
11191
|
goals: 0,
|
|
11075
11192
|
yellowcards: 0,
|
|
11076
11193
|
redcards: 0,
|
|
@@ -11086,23 +11203,23 @@ const Tf = {
|
|
|
11086
11203
|
}), this.awayTeamLogo = "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png", this.selectOptMenuheader == "Historicos" ? (R.data.away_team.team_id == this.visitingTeam.team_id && (this.awayTeamAbrev = this.visitingTeam.acronym), R.data.away_team.team_id == this.homeTeam.team_id && (this.awayTeamAbrev = this.homeTeam.acronym)) : this.awayTeamAbrev = this.visitingTeam.acronymrecientes;
|
|
11087
11204
|
}
|
|
11088
11205
|
if (this.playersAway.sort(
|
|
11089
|
-
(
|
|
11206
|
+
(A, W) => A.position_id > W.position_id ? 1 : W.position_id > A.position_id ? -1 : 0
|
|
11090
11207
|
), R.data.away_team.bench) {
|
|
11091
|
-
for (let
|
|
11208
|
+
for (let A = 0; A < R.data.away_team.bench.length; A++) {
|
|
11092
11209
|
this.subsTitle = !0;
|
|
11093
|
-
var ye = R.data.away_team.bench[
|
|
11210
|
+
var ye = R.data.away_team.bench[A].playerName.split(","), N = ye[0].split(" "), Z = ye[1].trim().split(" "), Q = "";
|
|
11094
11211
|
N.length == 2 || N.length == 1 ? N[0].length < 4 ? Q = N[0] + " " + N[1] : Q = N[0] : N.length == 3 ? Q = N[0] + " " + N[1] : N.length == 4 && (Q = N[1] + " " + N[2] + " " + N[3]);
|
|
11095
11212
|
var dt = Z[Z.length - 1] != "" ? Z[Z.length - 1].charAt(0) : Z[Z.length - 2] ? Z[Z.length - 2].charAt(0) : "";
|
|
11096
11213
|
Q = Q.replace(",", "");
|
|
11097
11214
|
var ht = dt + ". " + Q, ae = R.data.away_team.players.findIndex(
|
|
11098
|
-
(W) => W.player_id == R.data.away_team.bench[
|
|
11215
|
+
(W) => W.player_id == R.data.away_team.bench[A].playerID
|
|
11099
11216
|
);
|
|
11100
11217
|
this.playersAway.push({
|
|
11101
11218
|
played: !1,
|
|
11102
|
-
name: R.data.away_team.bench[
|
|
11219
|
+
name: R.data.away_team.bench[A].playerName,
|
|
11103
11220
|
position: ae != -1 ? this.isFemale ? this.positions[R.data.away_team.players[ae].position_id - 1].name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : this.positions[R.data.away_team.players[ae].position_id - 1].name : "",
|
|
11104
11221
|
position_id: R.data.away_team.players[ae].position_id,
|
|
11105
|
-
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.bench[
|
|
11222
|
+
imgPlayer: "https://golstatsimages.blob.core.windows.net/players-profile/" + R.data.away_team.bench[A].playerID + ".png",
|
|
11106
11223
|
nationality: ae != -1 && R.data.away_team.players[ae].nationality ? R.data.away_team.players[ae].nationality.substring(
|
|
11107
11224
|
0,
|
|
11108
11225
|
3
|
|
@@ -11114,12 +11231,12 @@ const Tf = {
|
|
|
11114
11231
|
imgTeam: "https://golstatsimages.blob.core.windows.net/teams-80/" + R.data.away_team.team_id + ".png",
|
|
11115
11232
|
substitutionMin: "",
|
|
11116
11233
|
substitutionDataID: "",
|
|
11117
|
-
shirt_number: R.data.away_team.bench[
|
|
11234
|
+
shirt_number: R.data.away_team.bench[A].jerseyNumber,
|
|
11118
11235
|
positionX: "",
|
|
11119
11236
|
positionY: "",
|
|
11120
11237
|
positionXOrigin: "",
|
|
11121
11238
|
positionYOrigin: "",
|
|
11122
|
-
playerId: R.data.away_team.bench[
|
|
11239
|
+
playerId: R.data.away_team.bench[A].playerID,
|
|
11123
11240
|
goals: 0,
|
|
11124
11241
|
yellowcards: 0,
|
|
11125
11242
|
redcards: 0,
|
|
@@ -11135,7 +11252,7 @@ const Tf = {
|
|
|
11135
11252
|
});
|
|
11136
11253
|
}
|
|
11137
11254
|
this.playersAway.sort(
|
|
11138
|
-
(
|
|
11255
|
+
(A, W) => A.position_id > W.position_id ? 1 : W.position_id > A.position_id ? -1 : 0
|
|
11139
11256
|
);
|
|
11140
11257
|
}
|
|
11141
11258
|
setTimeout(async () => {
|
|
@@ -11178,31 +11295,31 @@ const Tf = {
|
|
|
11178
11295
|
}, Rf = { style: { background: "#1d2a35" } }, Ff = { class: "size-browser-class" }, $f = {
|
|
11179
11296
|
class: "lineup-header-container",
|
|
11180
11297
|
style: { height: "48px", "margin-bottom": "35px", display: "flex", "justify-content": "space-between", "align-items": "center" }
|
|
11181
|
-
},
|
|
11298
|
+
}, Af = {
|
|
11182
11299
|
class: "team-shield-left",
|
|
11183
11300
|
style: { "margin-left": "16%" }
|
|
11184
|
-
},
|
|
11301
|
+
}, Mf = ["src"], Df = {
|
|
11185
11302
|
class: "team-shield-right",
|
|
11186
11303
|
style: { "margin-right": "16%" }
|
|
11187
|
-
},
|
|
11188
|
-
function
|
|
11304
|
+
}, jf = ["src"], Pf = { class: "lineup-players is-centered" }, Lf = ["onClick"], Hf = ["onClick"];
|
|
11305
|
+
function Uf(e, t, i, s, a, n) {
|
|
11189
11306
|
return m(), g("div", Rf, [
|
|
11190
11307
|
o("div", Ff, T(n.sizeBrowser), 1),
|
|
11191
11308
|
t[4] || (t[4] = o("div", { class: "size-browser-class2" }, null, -1)),
|
|
11192
11309
|
o("div", $f, [
|
|
11193
|
-
o("div",
|
|
11310
|
+
o("div", Af, [
|
|
11194
11311
|
o("img", {
|
|
11195
11312
|
src: a.homeTeamLogo || "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo1.png",
|
|
11196
11313
|
alt: "Escudo equipo local",
|
|
11197
11314
|
style: { width: "48px", height: "48px", "object-fit": "contain" }
|
|
11198
|
-
}, null, 8,
|
|
11315
|
+
}, null, 8, Mf)
|
|
11199
11316
|
]),
|
|
11200
|
-
o("div",
|
|
11317
|
+
o("div", Df, [
|
|
11201
11318
|
o("img", {
|
|
11202
11319
|
src: a.awayTeamLogo || "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/escudo2.png",
|
|
11203
11320
|
alt: "Escudo equipo visitante",
|
|
11204
11321
|
style: { width: "48px", height: "48px", "object-fit": "contain" }
|
|
11205
|
-
}, null, 8,
|
|
11322
|
+
}, null, 8, jf)
|
|
11206
11323
|
])
|
|
11207
11324
|
]),
|
|
11208
11325
|
o("div", Pf, [
|
|
@@ -11216,10 +11333,6 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11216
11333
|
o("div", {
|
|
11217
11334
|
class: r(n.canchacontainerClass)
|
|
11218
11335
|
}, [
|
|
11219
|
-
(a.gameForAnalysis.game_status == 4 || a.gameForAnalysis.game_status == 1) && a.gameForAnalysis.is_live == 0 && n.numPlayer == 0 ? (m(), g("div", {
|
|
11220
|
-
key: 0,
|
|
11221
|
-
class: r([n.notificationnolineupsClass])
|
|
11222
|
-
}, " Las alineaciones estarán disponibles unos minutos antes de que inicie el partido. ", 2)) : k("", !0),
|
|
11223
11336
|
(m(!0), g(F, null, te(a.playersHome, (l, d) => (m(), g(F, {
|
|
11224
11337
|
key: d + "jersey_home"
|
|
11225
11338
|
}, [
|
|
@@ -11275,7 +11388,7 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11275
11388
|
o("div", {
|
|
11276
11389
|
class: r(n.numitemnewhome)
|
|
11277
11390
|
}, T(l.shirt_number), 3),
|
|
11278
|
-
|
|
11391
|
+
M(" " + T(l.abrevNamePlayer), 1)
|
|
11279
11392
|
], 2),
|
|
11280
11393
|
l.substitutionIn || l.substitutionOut ? (m(), g("div", {
|
|
11281
11394
|
key: 0,
|
|
@@ -11342,7 +11455,7 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11342
11455
|
o("div", {
|
|
11343
11456
|
class: r(n.numitemnewway)
|
|
11344
11457
|
}, T(l.shirt_number), 3),
|
|
11345
|
-
|
|
11458
|
+
M(" " + T(l.abrevNamePlayer), 1)
|
|
11346
11459
|
], 2),
|
|
11347
11460
|
l.substitutionIn || l.substitutionOut ? (m(), g("div", {
|
|
11348
11461
|
key: 0,
|
|
@@ -11350,7 +11463,7 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11350
11463
|
onClick: (p) => n.viewChange(l.substitutionDataID)
|
|
11351
11464
|
}, t[1] || (t[1] = [
|
|
11352
11465
|
o("img", { src: "https://golstatsimages.blob.core.windows.net/todoelfut/lineups/line.png" }, null, -1)
|
|
11353
|
-
]), 10,
|
|
11466
|
+
]), 10, Hf)) : k("", !0)
|
|
11354
11467
|
], 2)
|
|
11355
11468
|
], 6)) : k("", !0)
|
|
11356
11469
|
], 64))), 128))
|
|
@@ -11383,16 +11496,16 @@ function Hf(e, t, i, s, a, n) {
|
|
|
11383
11496
|
a.gamesContainerWidth < 740 ? "movil" : ""
|
|
11384
11497
|
])
|
|
11385
11498
|
}, t[3] || (t[3] = [
|
|
11386
|
-
|
|
11499
|
+
M(" Los equipos no han presentado sus alineaciones. Estas "),
|
|
11387
11500
|
o("br", null, null, -1),
|
|
11388
|
-
|
|
11501
|
+
M("serán dadas minutos antes del inicio del partido. ")
|
|
11389
11502
|
]), 2)
|
|
11390
11503
|
], 2)) : k("", !0)
|
|
11391
11504
|
], 2)
|
|
11392
11505
|
])
|
|
11393
11506
|
]);
|
|
11394
11507
|
}
|
|
11395
|
-
const Ef = /* @__PURE__ */ fe(Tf, [["render",
|
|
11508
|
+
const Ef = /* @__PURE__ */ fe(Tf, [["render", Uf]]), xf = {
|
|
11396
11509
|
__name: "gsc-lineups-reports",
|
|
11397
11510
|
props: {
|
|
11398
11511
|
game: {
|
|
@@ -11459,7 +11572,7 @@ const Ef = /* @__PURE__ */ fe(Tf, [["render", Hf]]), xf = {
|
|
|
11459
11572
|
}, null, 8, ["game", "gamehome", "gameaway", "selected-option"])
|
|
11460
11573
|
]));
|
|
11461
11574
|
}
|
|
11462
|
-
}, rg = /* @__PURE__ */ fe(xf, [["__scopeId", "data-v-
|
|
11575
|
+
}, rg = /* @__PURE__ */ fe(xf, [["__scopeId", "data-v-924dd46e"]]);
|
|
11463
11576
|
export {
|
|
11464
11577
|
rg as GSCLineupsReports
|
|
11465
11578
|
};
|