@golstats/gsc-relevant-data 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CardBase-DJPEW7xu-Dbm_mygI.js → CardBase-DJPEW7xu-DuP_ghVT.js} +1 -1
- package/dist/{CardBaseAllIndividual-CJY0KdrJ-EvHfD5v4.js → CardBaseAllIndividual-CJY0KdrJ-DqLILiob.js} +1 -1
- package/dist/{CardGeneral-CDS08xVv-CCi2_U2s.js → CardGeneral-CDS08xVv-DeeOjPAY.js} +2 -2
- package/dist/{CardGeneralIndividual-DoXvg6Ch-Bsa2aipQ.js → CardGeneralIndividual-DoXvg6Ch-CC8a-Ji0.js} +2 -2
- package/dist/{CardGeneralTeams-FYzVxcB3-D5AKYz_8.js → CardGeneralTeams-FYzVxcB3-C6Om4XRi.js} +1 -1
- package/dist/{CardIndividual-u8FZLLmq-B_qc_C9H.js → CardIndividual-u8FZLLmq-LGK1IBTy.js} +3 -3
- package/dist/{CardIndividual1vs1-C13lA1gg-iEarB2NT.js → CardIndividual1vs1-C13lA1gg-CGX-Yqr_.js} +2 -2
- package/dist/{CardIndividualAreas-D13F6fry-w-VstsDT.js → CardIndividualAreas-D13F6fry-DeXQY78S.js} +2 -2
- package/dist/{CardIndividualCenters-If_CjK9--DvKGpL33.js → CardIndividualCenters-If_CjK9--D4EBnfbF.js} +2 -2
- package/dist/{CardIndividualDistance-DtT14cRG-BSKK3feA.js → CardIndividualDistance-DtT14cRG-Bz3z9JSS.js} +2 -2
- package/dist/{CardIndividualFouls-Bsm2M4Gv-C3T5yb6a.js → CardIndividualFouls-Bsm2M4Gv-B1Mz8wVi.js} +2 -2
- package/dist/{CardIndividualGoalParticipation-DxJDrw64-DvFScUkW.js → CardIndividualGoalParticipation-DxJDrw64-PamJucP7.js} +2 -2
- package/dist/{CardIndividualGoals-tVv3jx9v-D4VBHbSI.js → CardIndividualGoals-tVv3jx9v-D2nWP5gZ.js} +2 -2
- package/dist/{CardIndividualGold-B3awfrVU-C0mTHe0N.js → CardIndividualGold-B3awfrVU-d8b5saB2.js} +3 -3
- package/dist/{CardIndividualNoGoalReceived-plZw_S4K-DsoOjPzS.js → CardIndividualNoGoalReceived-plZw_S4K-Cej8q0Ey.js} +2 -2
- package/dist/{CardIndividualPerformance-pONmvZ---C64339s5.js → CardIndividualPerformance-pONmvZ---CKyOWB1n.js} +2 -2
- package/dist/{CardIndividualSaves-7NZaLckt-CKvNkMHL.js → CardIndividualSaves-7NZaLckt-Js-NrKxy.js} +2 -2
- package/dist/{CardIndividualShotsOnGoal-BA2B5zK2-Iu7lqBQ0.js → CardIndividualShotsOnGoal-BA2B5zK2-xaz2Ahbz.js} +2 -2
- package/dist/{CardIndividualStatistics-BdNBubd3-BSlsoDqk.js → CardIndividualStatistics-BdNBubd3-DxUjzSs7.js} +2 -2
- package/dist/{CardPromTournament-IvcxYf42-DHmGMmbh.js → CardPromTournament-IvcxYf42-CuP7MsUP.js} +2 -2
- package/dist/{CardSuccessfulPasses-CvGqK_hf-Cxs0Xxl_.js → CardSuccessfulPasses-CvGqK_hf-B8tcoE-d.js} +2 -2
- package/dist/{CardTheMostProductive-Crx3j88e-Bdw1295B.js → CardTheMostProductive-Crx3j88e-B9z8z4kJ.js} +3 -3
- package/dist/{PlayerProfileCircle-BQwTCjvG-FCUyK-BY.js → PlayerProfileCircle-BQwTCjvG-BtRjoyov.js} +1 -1
- package/dist/{Shield-aiuYwUJa-Dvf91Um4.js → Shield-aiuYwUJa-y2XJPDE9.js} +1 -1
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +1 -1
- package/dist/gsc-relevant-data.umd.cjs +1 -1
- package/dist/{index-CsGcio2U.js → index-AXxrRxC4.js} +283 -278
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCssVars as ie, ref as
|
|
1
|
+
import { useCssVars as ie, ref as z, resolveComponent as $, createElementBlock as y, openBlock as m, createCommentVNode as v, createElementVNode as p, renderSlot as K, normalizeStyle as I, Fragment as O, renderList as A, toDisplayString as T, createVNode as M, withCtx as q, onMounted as ne, onUnmounted as Zt, normalizeClass as E, computed as L, createBlock as W, unref as we, watch as oe, onBeforeMount as _t, Transition as kt, withDirectives as X, vShow as Y, pushScopeId as ae, popScopeId as le, mergeProps as Kt, defineAsyncComponent as x, resolveDynamicComponent as Qt, withModifiers as Ze, vModelText as Yt } from "vue";
|
|
2
2
|
function er(e) {
|
|
3
|
-
const r =
|
|
3
|
+
const r = z({ width: 0, height: 0 });
|
|
4
4
|
function t() {
|
|
5
5
|
const o = e.value.getBoundingClientRect();
|
|
6
6
|
r.value.width = o.width, r.value.height = o.height;
|
|
@@ -16,7 +16,7 @@ const tr = (e, r) => {
|
|
|
16
16
|
for (const [o, s] of r)
|
|
17
17
|
t[o] = s;
|
|
18
18
|
return t;
|
|
19
|
-
},
|
|
19
|
+
}, ze = {
|
|
20
20
|
name: "ScrollableContainer",
|
|
21
21
|
props: {
|
|
22
22
|
backgroundColor: { type: String, default: "#0D1D29" },
|
|
@@ -103,21 +103,21 @@ const tr = (e, r) => {
|
|
|
103
103
|
"423a44be": e.arrowsContainerBgR,
|
|
104
104
|
"10b117ee": e.scrollColor
|
|
105
105
|
}));
|
|
106
|
-
}, Qe =
|
|
107
|
-
|
|
106
|
+
}, Qe = ze.setup;
|
|
107
|
+
ze.setup = Qe ? (e, r) => (Ke(), Qe(e, r)) : Ke;
|
|
108
108
|
const rr = {
|
|
109
109
|
ref: "gscScrollableContainer",
|
|
110
110
|
class: "scrollable-container"
|
|
111
111
|
}, or = { class: "scrollable-arrows" }, sr = ["width", "height", "viewBox"], ir = ["stroke"], nr = { class: "scrollable-wrapper" }, ar = { class: "scrollable-arrows" }, lr = ["width", "height", "viewBox"], dr = ["stroke"];
|
|
112
112
|
function cr(e, r, t, o, s, i) {
|
|
113
|
-
return m(),
|
|
114
|
-
t.arrows ? (m(),
|
|
113
|
+
return m(), y("div", rr, [
|
|
114
|
+
t.arrows ? (m(), y("div", {
|
|
115
115
|
key: 0,
|
|
116
116
|
class: E(["arrows-container", i.hideShowLeftArrow]),
|
|
117
117
|
onClick: r[0] || (r[0] = (...n) => i.scrollLeft && i.scrollLeft(...n))
|
|
118
118
|
}, [
|
|
119
119
|
p("div", or, [
|
|
120
|
-
(m(),
|
|
120
|
+
(m(), y("svg", {
|
|
121
121
|
width: t.arrowsWidth,
|
|
122
122
|
height: t.arrowsHeight,
|
|
123
123
|
viewBox: i.getViewBox,
|
|
@@ -140,14 +140,14 @@ function cr(e, r, t, o, s, i) {
|
|
|
140
140
|
K(e.$slots, "default", {}, void 0, !0)
|
|
141
141
|
])
|
|
142
142
|
], 544),
|
|
143
|
-
t.arrows ? (m(),
|
|
143
|
+
t.arrows ? (m(), y("div", {
|
|
144
144
|
key: 1,
|
|
145
145
|
id: "arrows-container-right",
|
|
146
146
|
class: E(["arrows-container", i.hideShowRightArrow]),
|
|
147
147
|
onClick: r[2] || (r[2] = (...n) => i.scrollRight && i.scrollRight(...n))
|
|
148
148
|
}, [
|
|
149
149
|
p("div", ar, [
|
|
150
|
-
(m(),
|
|
150
|
+
(m(), y("svg", {
|
|
151
151
|
width: t.arrowsWidth,
|
|
152
152
|
height: t.arrowsHeight,
|
|
153
153
|
viewBox: i.getViewBox,
|
|
@@ -163,7 +163,7 @@ function cr(e, r, t, o, s, i) {
|
|
|
163
163
|
], 2)) : v("", !0)
|
|
164
164
|
], 512);
|
|
165
165
|
}
|
|
166
|
-
const ur = /* @__PURE__ */ tr(
|
|
166
|
+
const ur = /* @__PURE__ */ tr(ze, [["render", cr], ["__scopeId", "data-v-b548a08d"]]), hr = (e, r) => {
|
|
167
167
|
const t = e.__vccOpts || e;
|
|
168
168
|
for (const [o, s] of r)
|
|
169
169
|
t[o] = s;
|
|
@@ -257,7 +257,7 @@ const ur = /* @__PURE__ */ tr(Fe, [["render", cr], ["__scopeId", "data-v-b548a08
|
|
|
257
257
|
arrowsBorder: { type: String, default: "none" }
|
|
258
258
|
},
|
|
259
259
|
setup() {
|
|
260
|
-
const e =
|
|
260
|
+
const e = z("myDivRef"), {
|
|
261
261
|
elementSize: r
|
|
262
262
|
} = er(e);
|
|
263
263
|
return {
|
|
@@ -297,22 +297,22 @@ Me.setup = et ? (e, r) => (Ye(), et(e, r)) : Ye;
|
|
|
297
297
|
const fr = { ref: "myDivRef" }, pr = {
|
|
298
298
|
key: 0,
|
|
299
299
|
class: "gs-switch-container"
|
|
300
|
-
}, mr = ["onClick"],
|
|
300
|
+
}, mr = ["onClick"], yr = {
|
|
301
301
|
key: 1,
|
|
302
302
|
class: "gs-switch-container-type"
|
|
303
|
-
},
|
|
303
|
+
}, gr = ["onClick"], wr = {
|
|
304
304
|
key: 2,
|
|
305
305
|
class: "gs-switch-container-carousel"
|
|
306
306
|
}, br = ["onClick"];
|
|
307
307
|
function Sr(e, r, t, o, s, i) {
|
|
308
308
|
const n = $("GSCSlider");
|
|
309
|
-
return m(),
|
|
310
|
-
t.type == 0 ? (m(),
|
|
309
|
+
return m(), y("div", fr, [
|
|
310
|
+
t.type == 0 ? (m(), y("div", pr, [
|
|
311
311
|
p("div", {
|
|
312
312
|
class: "gs-switch-container__control",
|
|
313
313
|
style: I([i.customGrid(o.elementSize)])
|
|
314
314
|
}, [
|
|
315
|
-
(m(!0),
|
|
315
|
+
(m(!0), y(O, null, A(t.buttons, (a, u) => (m(), y("div", {
|
|
316
316
|
class: "gs-switch-container__control__button-option",
|
|
317
317
|
style: I([{ height: t.height }, t.selectedOption == a ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, color: "grey !important" }]),
|
|
318
318
|
key: u,
|
|
@@ -321,20 +321,20 @@ function Sr(e, r, t, o, s, i) {
|
|
|
321
321
|
], 4),
|
|
322
322
|
K(e.$slots, t.selectedOption, {}, void 0, !0)
|
|
323
323
|
])) : v("", !0),
|
|
324
|
-
t.type == 1 ? (m(),
|
|
324
|
+
t.type == 1 ? (m(), y("div", yr, [
|
|
325
325
|
p("div", {
|
|
326
326
|
class: "gs-switch-container-type__control",
|
|
327
327
|
style: I([i.customGrid(o.elementSize)])
|
|
328
328
|
}, [
|
|
329
|
-
(m(!0),
|
|
329
|
+
(m(!0), y(O, null, A(t.buttons, (a, u) => (m(), y("div", {
|
|
330
330
|
class: "gs-switch-container-type__control__button-option-type",
|
|
331
331
|
style: I([{ height: t.height }, t.selectedOption == a ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, borderWidth: "0px", borderWidth: "0px !important", color: "grey !important", background: t.backgroundOptionDisable }]),
|
|
332
332
|
key: u,
|
|
333
333
|
onClick: (h) => (t.selectedOption = a, i.clickEmitEvent(a))
|
|
334
|
-
}, T(a), 13,
|
|
334
|
+
}, T(a), 13, gr))), 128))
|
|
335
335
|
], 4)
|
|
336
336
|
])) : v("", !0),
|
|
337
|
-
t.type == 2 ? (m(),
|
|
337
|
+
t.type == 2 ? (m(), y("div", wr, [
|
|
338
338
|
M(n, {
|
|
339
339
|
arrows: t.arrow,
|
|
340
340
|
"background-color": t.background,
|
|
@@ -350,7 +350,7 @@ function Sr(e, r, t, o, s, i) {
|
|
|
350
350
|
"arrows-border": t.arrowsBorder
|
|
351
351
|
}, {
|
|
352
352
|
default: q(() => [
|
|
353
|
-
(m(!0),
|
|
353
|
+
(m(!0), y(O, null, A(t.buttons, (a, u) => (m(), y("div", {
|
|
354
354
|
class: "button-option-multi",
|
|
355
355
|
style: I([{ height: t.height }, t.selectedOption == a ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, color: "grey !important" }]),
|
|
356
356
|
key: u,
|
|
@@ -467,28 +467,28 @@ const _r = (e) => (ae("data-v-f3ee6b2b"), e = e(), le(), e), kr = ["src"], Tr =
|
|
|
467
467
|
src: "https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"
|
|
468
468
|
}, null, -1)), Ar = { class: "numstats" }, Pr = { class: "leyend" };
|
|
469
469
|
function Er(e, r, t, o, s, i) {
|
|
470
|
-
return m(),
|
|
471
|
-
t.type == 0 ? (m(),
|
|
470
|
+
return m(), y("div", null, [
|
|
471
|
+
t.type == 0 ? (m(), y("div", {
|
|
472
472
|
key: 0,
|
|
473
473
|
class: E(["button", s.status && t.typeOnOff && "button-active"]),
|
|
474
474
|
style: I([i.customStyle, s.status && t.typeOnOff && i.customActive]),
|
|
475
475
|
onClick: r[0] || (r[0] = (...n) => i.btnClick && i.btnClick(...n))
|
|
476
476
|
}, [
|
|
477
|
-
t.icon && t.iconPosition.toLowerCase() === "left" ? (m(),
|
|
477
|
+
t.icon && t.iconPosition.toLowerCase() === "left" ? (m(), y("img", {
|
|
478
478
|
key: 0,
|
|
479
479
|
class: "icon",
|
|
480
480
|
style: I({ width: t.iconSize }),
|
|
481
481
|
src: t.icon
|
|
482
482
|
}, null, 12, kr)) : v("", !0),
|
|
483
|
-
t.textValue ? (m(),
|
|
484
|
-
t.icon && t.iconPosition.toLowerCase() === "right" ? (m(),
|
|
483
|
+
t.textValue ? (m(), y("div", Tr, T(t.textValue), 1)) : v("", !0),
|
|
484
|
+
t.icon && t.iconPosition.toLowerCase() === "right" ? (m(), y("img", {
|
|
485
485
|
key: 2,
|
|
486
486
|
class: "icon",
|
|
487
487
|
style: I({ width: t.iconSize }),
|
|
488
488
|
src: t.icon
|
|
489
489
|
}, null, 12, Ir)) : v("", !0)
|
|
490
490
|
], 6)) : v("", !0),
|
|
491
|
-
t.type == 1 ? (m(),
|
|
491
|
+
t.type == 1 ? (m(), y("div", {
|
|
492
492
|
key: 1,
|
|
493
493
|
class: "button-target",
|
|
494
494
|
onClick: r[1] || (r[1] = (...n) => i.btnClick && i.btnClick(...n))
|
|
@@ -501,10 +501,10 @@ function Er(e, r, t, o, s, i) {
|
|
|
501
501
|
])) : v("", !0)
|
|
502
502
|
]);
|
|
503
503
|
}
|
|
504
|
-
const Rr = /* @__PURE__ */ Cr(We, [["render", Er], ["__scopeId", "data-v-f3ee6b2b"]]), Br = { class: "gsc-dropdown__main-container__item-selected" }, Nr = ["height", "width"], Dr = ["stroke"], $r = { class: "gsc-dropdown__items-container" }, Lr = ["onClick"],
|
|
504
|
+
const Rr = /* @__PURE__ */ Cr(We, [["render", Er], ["__scopeId", "data-v-f3ee6b2b"]]), Br = { class: "gsc-dropdown__main-container__item-selected" }, Nr = ["height", "width"], Dr = ["stroke"], $r = { class: "gsc-dropdown__items-container" }, Lr = ["onClick"], Fr = {
|
|
505
505
|
key: 0,
|
|
506
506
|
class: "gsc-dropdown__items-footer"
|
|
507
|
-
},
|
|
507
|
+
}, zr = {
|
|
508
508
|
__name: "GSC-Dropdown",
|
|
509
509
|
props: {
|
|
510
510
|
modelValue: {
|
|
@@ -666,27 +666,27 @@ const Rr = /* @__PURE__ */ Cr(We, [["render", Er], ["__scopeId", "data-v-f3ee6b2
|
|
|
666
666
|
},
|
|
667
667
|
emits: ["input", "click-ready", "update:modelValue"],
|
|
668
668
|
setup(e, { emit: r }) {
|
|
669
|
-
const t = e, o =
|
|
669
|
+
const t = e, o = z({}), s = z(null), i = z(t.isMultipleOption ? -1 : 0), n = z(!1);
|
|
670
670
|
oe(
|
|
671
671
|
() => t.items,
|
|
672
|
-
(
|
|
673
|
-
if (!t.modelValue && (!t.onlyFirstTime || !f || !f.length) &&
|
|
672
|
+
(g, f) => {
|
|
673
|
+
if (!t.modelValue && (!t.onlyFirstTime || !f || !f.length) && g && g.length) {
|
|
674
674
|
if (t.defaultItemByProp) {
|
|
675
675
|
const b = t.items.findIndex(
|
|
676
676
|
(S) => S[t.defaultItemByProp.propName] === t.defaultItemByProp.value
|
|
677
677
|
);
|
|
678
|
-
b !== -1 ? (i.value = b, o.value =
|
|
678
|
+
b !== -1 ? (i.value = b, o.value = g[b]) : (i.value = 0, o.value = g[0]);
|
|
679
679
|
} else
|
|
680
|
-
o.value =
|
|
680
|
+
o.value = g[t.defaultItemByIndex];
|
|
681
681
|
r("input", o.value);
|
|
682
682
|
}
|
|
683
683
|
},
|
|
684
684
|
{ immediate: !0 }
|
|
685
685
|
), oe(
|
|
686
686
|
() => t.modelValue,
|
|
687
|
-
(
|
|
688
|
-
if (
|
|
689
|
-
const f = t.items.findIndex((b) => typeof
|
|
687
|
+
(g) => {
|
|
688
|
+
if (g) {
|
|
689
|
+
const f = t.items.findIndex((b) => typeof g == "object" ? JSON.stringify(b) === JSON.stringify(g) : b === g);
|
|
690
690
|
f !== -1 && (i.value = f, o.value = t.items[f], r("update:modelValue", o.value));
|
|
691
691
|
}
|
|
692
692
|
},
|
|
@@ -727,11 +727,11 @@ const Rr = /* @__PURE__ */ Cr(We, [["render", Er], ["__scopeId", "data-v-f3ee6b2
|
|
|
727
727
|
function h() {
|
|
728
728
|
t.isDisabled || (n.value = !n.value);
|
|
729
729
|
}
|
|
730
|
-
function d(
|
|
731
|
-
s.value && !s.value.contains(
|
|
730
|
+
function d(g) {
|
|
731
|
+
s.value && !s.value.contains(g.target) && (n.value = !1);
|
|
732
732
|
}
|
|
733
|
-
function l(
|
|
734
|
-
t.isMultipleOption ? i.value = -1 : (i.value = f, n.value = !1), o.value =
|
|
733
|
+
function l(g, f) {
|
|
734
|
+
t.isMultipleOption ? i.value = -1 : (i.value = f, n.value = !1), o.value = g, r("input", o.value), r("update:modelValue", o.value);
|
|
735
735
|
}
|
|
736
736
|
function w() {
|
|
737
737
|
n.value = !1, r("click-ready");
|
|
@@ -740,7 +740,7 @@ const Rr = /* @__PURE__ */ Cr(We, [["render", Er], ["__scopeId", "data-v-f3ee6b2
|
|
|
740
740
|
document.addEventListener("click", d);
|
|
741
741
|
}), _t(() => {
|
|
742
742
|
document.removeEventListener("click", d);
|
|
743
|
-
}), (
|
|
743
|
+
}), (g, f) => (m(), y("div", {
|
|
744
744
|
ref_key: "dropDown",
|
|
745
745
|
ref: s,
|
|
746
746
|
class: "gsc-dropdown",
|
|
@@ -752,13 +752,13 @@ const Rr = /* @__PURE__ */ Cr(We, [["render", Er], ["__scopeId", "data-v-f3ee6b2
|
|
|
752
752
|
onClick: h
|
|
753
753
|
}, [
|
|
754
754
|
p("div", Br, [
|
|
755
|
-
K(
|
|
755
|
+
K(g.$slots, "default", { selectedItem: o.value })
|
|
756
756
|
]),
|
|
757
757
|
p("div", {
|
|
758
758
|
class: E(["gsc-dropdown__main-container__icon", { "rotated-180": n.value }]),
|
|
759
759
|
style: I(u.value)
|
|
760
760
|
}, [
|
|
761
|
-
(m(),
|
|
761
|
+
(m(), y("svg", {
|
|
762
762
|
height: e.arrowHeight,
|
|
763
763
|
width: e.arrowWidth,
|
|
764
764
|
viewBox: "0 0 24 24",
|
|
@@ -780,15 +780,15 @@ const Rr = /* @__PURE__ */ Cr(We, [["render", Er], ["__scopeId", "data-v-f3ee6b2
|
|
|
780
780
|
class: "gsc-dropdown__items",
|
|
781
781
|
style: I({ "margin-top": `${t.borderWidth}px` })
|
|
782
782
|
}, [
|
|
783
|
-
(m(!0),
|
|
783
|
+
(m(!0), y(O, null, A(e.items, (b, S) => (m(), y("div", {
|
|
784
784
|
class: E(["gsc-dropdown__items__item", { selected: S === i.value }]),
|
|
785
785
|
key: S,
|
|
786
786
|
onClick: (k) => l(b, S)
|
|
787
787
|
}, [
|
|
788
|
-
K(
|
|
788
|
+
K(g.$slots, "availableItem", { item: b })
|
|
789
789
|
], 10, Lr))), 128))
|
|
790
790
|
], 4),
|
|
791
|
-
e.isFooterVisible ? (m(),
|
|
791
|
+
e.isFooterVisible ? (m(), y("div", Fr, [
|
|
792
792
|
M(we(Rr), {
|
|
793
793
|
"text-value": "Listo",
|
|
794
794
|
"border-color": "#cbee6b",
|
|
@@ -835,7 +835,7 @@ const Rr = /* @__PURE__ */ Cr(We, [["render", Er], ["__scopeId", "data-v-f3ee6b2
|
|
|
835
835
|
function i(n) {
|
|
836
836
|
r("input", n);
|
|
837
837
|
}
|
|
838
|
-
return (n, a) => (m(), W(we(
|
|
838
|
+
return (n, a) => (m(), W(we(zr), {
|
|
839
839
|
items: e.seasons,
|
|
840
840
|
"model-value": o.value,
|
|
841
841
|
height: "40px",
|
|
@@ -956,36 +956,36 @@ const Rr = /* @__PURE__ */ Cr(We, [["render", Er], ["__scopeId", "data-v-f3ee6b2
|
|
|
956
956
|
}));
|
|
957
957
|
}, st = qe.setup;
|
|
958
958
|
qe.setup = st ? (e, r) => (ot(), st(e, r)) : ot;
|
|
959
|
-
const
|
|
959
|
+
const Vr = (e) => (ae("data-v-f3ee6b2b"), e = e(), le(), e), Jr = ["src"], Gr = {
|
|
960
960
|
key: 1,
|
|
961
961
|
class: "text"
|
|
962
|
-
}, Xr = ["src"], Zr = { class: "stats" }, Kr = /* @__PURE__ */
|
|
962
|
+
}, Xr = ["src"], Zr = { class: "stats" }, Kr = /* @__PURE__ */ Vr(() => /* @__PURE__ */ p("img", {
|
|
963
963
|
class: "iconstats",
|
|
964
964
|
src: "https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"
|
|
965
965
|
}, null, -1)), Qr = { class: "numstats" }, Yr = { class: "leyend" };
|
|
966
966
|
function eo(e, r, t, o, s, i) {
|
|
967
|
-
return m(),
|
|
968
|
-
t.type == 0 ? (m(),
|
|
967
|
+
return m(), y("div", null, [
|
|
968
|
+
t.type == 0 ? (m(), y("div", {
|
|
969
969
|
key: 0,
|
|
970
970
|
class: E(["button", s.status && t.typeOnOff && "button-active"]),
|
|
971
971
|
style: I([i.customStyle, s.status && t.typeOnOff && i.customActive]),
|
|
972
972
|
onClick: r[0] || (r[0] = (...n) => i.btnClick && i.btnClick(...n))
|
|
973
973
|
}, [
|
|
974
|
-
t.icon && t.iconPosition.toLowerCase() === "left" ? (m(),
|
|
974
|
+
t.icon && t.iconPosition.toLowerCase() === "left" ? (m(), y("img", {
|
|
975
975
|
key: 0,
|
|
976
976
|
class: "icon",
|
|
977
977
|
style: I({ width: t.iconSize }),
|
|
978
978
|
src: t.icon
|
|
979
|
-
}, null, 12,
|
|
980
|
-
t.textValue ? (m(),
|
|
981
|
-
t.icon && t.iconPosition.toLowerCase() === "right" ? (m(),
|
|
979
|
+
}, null, 12, Jr)) : v("", !0),
|
|
980
|
+
t.textValue ? (m(), y("div", Gr, T(t.textValue), 1)) : v("", !0),
|
|
981
|
+
t.icon && t.iconPosition.toLowerCase() === "right" ? (m(), y("img", {
|
|
982
982
|
key: 2,
|
|
983
983
|
class: "icon",
|
|
984
984
|
style: I({ width: t.iconSize }),
|
|
985
985
|
src: t.icon
|
|
986
986
|
}, null, 12, Xr)) : v("", !0)
|
|
987
987
|
], 6)) : v("", !0),
|
|
988
|
-
t.type == 1 ? (m(),
|
|
988
|
+
t.type == 1 ? (m(), y("div", {
|
|
989
989
|
key: 1,
|
|
990
990
|
class: "button-target",
|
|
991
991
|
onClick: r[1] || (r[1] = (...n) => i.btnClick && i.btnClick(...n))
|
|
@@ -1163,27 +1163,27 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1163
1163
|
},
|
|
1164
1164
|
emits: ["input", "click-ready", "update:modelValue"],
|
|
1165
1165
|
setup(e, { emit: r }) {
|
|
1166
|
-
const t = e, o =
|
|
1166
|
+
const t = e, o = z({}), s = z(null), i = z(t.isMultipleOption ? -1 : 0), n = z(!1);
|
|
1167
1167
|
oe(
|
|
1168
1168
|
() => t.items,
|
|
1169
|
-
(
|
|
1170
|
-
if (!t.modelValue && (!t.onlyFirstTime || !f || !f.length) &&
|
|
1169
|
+
(g, f) => {
|
|
1170
|
+
if (!t.modelValue && (!t.onlyFirstTime || !f || !f.length) && g && g.length) {
|
|
1171
1171
|
if (t.defaultItemByProp) {
|
|
1172
1172
|
const b = t.items.findIndex(
|
|
1173
1173
|
(S) => S[t.defaultItemByProp.propName] === t.defaultItemByProp.value
|
|
1174
1174
|
);
|
|
1175
|
-
b !== -1 ? (i.value = b, o.value =
|
|
1175
|
+
b !== -1 ? (i.value = b, o.value = g[b]) : (i.value = 0, o.value = g[0]);
|
|
1176
1176
|
} else
|
|
1177
|
-
o.value =
|
|
1177
|
+
o.value = g[t.defaultItemByIndex];
|
|
1178
1178
|
r("input", o.value);
|
|
1179
1179
|
}
|
|
1180
1180
|
},
|
|
1181
1181
|
{ immediate: !0 }
|
|
1182
1182
|
), oe(
|
|
1183
1183
|
() => t.modelValue,
|
|
1184
|
-
(
|
|
1185
|
-
if (
|
|
1186
|
-
const f = t.items.findIndex((b) => typeof
|
|
1184
|
+
(g) => {
|
|
1185
|
+
if (g) {
|
|
1186
|
+
const f = t.items.findIndex((b) => typeof g == "object" ? JSON.stringify(b) === JSON.stringify(g) : b === g);
|
|
1187
1187
|
f !== -1 && (i.value = f, o.value = t.items[f], r("update:modelValue", o.value));
|
|
1188
1188
|
}
|
|
1189
1189
|
},
|
|
@@ -1224,11 +1224,11 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1224
1224
|
function h() {
|
|
1225
1225
|
t.isDisabled || (n.value = !n.value);
|
|
1226
1226
|
}
|
|
1227
|
-
function d(
|
|
1228
|
-
s.value && !s.value.contains(
|
|
1227
|
+
function d(g) {
|
|
1228
|
+
s.value && !s.value.contains(g.target) && (n.value = !1);
|
|
1229
1229
|
}
|
|
1230
|
-
function l(
|
|
1231
|
-
t.isMultipleOption ? i.value = -1 : (i.value = f, n.value = !1), o.value =
|
|
1230
|
+
function l(g, f) {
|
|
1231
|
+
t.isMultipleOption ? i.value = -1 : (i.value = f, n.value = !1), o.value = g, r("input", o.value), r("update:modelValue", o.value);
|
|
1232
1232
|
}
|
|
1233
1233
|
function w() {
|
|
1234
1234
|
n.value = !1, r("click-ready");
|
|
@@ -1237,7 +1237,7 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1237
1237
|
document.addEventListener("click", d);
|
|
1238
1238
|
}), _t(() => {
|
|
1239
1239
|
document.removeEventListener("click", d);
|
|
1240
|
-
}), (
|
|
1240
|
+
}), (g, f) => (m(), y("div", {
|
|
1241
1241
|
ref_key: "dropDown",
|
|
1242
1242
|
ref: s,
|
|
1243
1243
|
class: "gsc-dropdown",
|
|
@@ -1249,13 +1249,13 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1249
1249
|
onClick: h
|
|
1250
1250
|
}, [
|
|
1251
1251
|
p("div", ro, [
|
|
1252
|
-
K(
|
|
1252
|
+
K(g.$slots, "default", { selectedItem: o.value })
|
|
1253
1253
|
]),
|
|
1254
1254
|
p("div", {
|
|
1255
1255
|
class: E(["gsc-dropdown__main-container__icon", { "rotated-180": n.value }]),
|
|
1256
1256
|
style: I(u.value)
|
|
1257
1257
|
}, [
|
|
1258
|
-
(m(),
|
|
1258
|
+
(m(), y("svg", {
|
|
1259
1259
|
height: e.arrowHeight,
|
|
1260
1260
|
width: e.arrowWidth,
|
|
1261
1261
|
viewBox: "0 0 24 24",
|
|
@@ -1277,19 +1277,19 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1277
1277
|
class: "gsc-dropdown__items",
|
|
1278
1278
|
style: I({ "margin-top": `${t.borderWidth}px` })
|
|
1279
1279
|
}, [
|
|
1280
|
-
(m(!0),
|
|
1281
|
-
X((m(),
|
|
1280
|
+
(m(!0), y(O, null, A(e.items, (b, S) => (m(), y("div", null, [
|
|
1281
|
+
X((m(), y("div", {
|
|
1282
1282
|
class: E(["gsc-dropdown__items__item", { selected: S === i.value }]),
|
|
1283
1283
|
key: S,
|
|
1284
1284
|
onClick: (k) => l(b, S)
|
|
1285
1285
|
}, [
|
|
1286
|
-
K(
|
|
1286
|
+
K(g.$slots, "availableItem", { item: b })
|
|
1287
1287
|
], 10, no)), [
|
|
1288
1288
|
[Y, !b.isHidden]
|
|
1289
1289
|
])
|
|
1290
1290
|
]))), 256))
|
|
1291
1291
|
], 4),
|
|
1292
|
-
e.isFooterVisible ? (m(),
|
|
1292
|
+
e.isFooterVisible ? (m(), y("div", ao, [
|
|
1293
1293
|
M(we(to), {
|
|
1294
1294
|
"text-value": "Listo",
|
|
1295
1295
|
"border-color": "#cbee6b",
|
|
@@ -1315,7 +1315,7 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1315
1315
|
for (const [o, s] of r)
|
|
1316
1316
|
t[o] = s;
|
|
1317
1317
|
return t;
|
|
1318
|
-
}, uo = { class: "tournament-select__selected-tournament" }, ho = { class: "tournament-select__selected-tournament__logo" }, fo = ["src"], po = { class: "tournament-select__selected-tournament__name" }, mo = "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/gs3/tournaments",
|
|
1318
|
+
}, uo = { class: "tournament-select__selected-tournament" }, ho = { class: "tournament-select__selected-tournament__logo" }, fo = ["src"], po = { class: "tournament-select__selected-tournament__name" }, mo = "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/gs3/tournaments", yo = {
|
|
1319
1319
|
__name: "GSCTournamentSelect",
|
|
1320
1320
|
props: {
|
|
1321
1321
|
apiUrl: {
|
|
@@ -1409,15 +1409,15 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1409
1409
|
},
|
|
1410
1410
|
emits: ["input", "change-tournaments"],
|
|
1411
1411
|
setup(e, { emit: r }) {
|
|
1412
|
-
const t = e, o =
|
|
1412
|
+
const t = e, o = z([]), s = L(() => {
|
|
1413
1413
|
const w = {};
|
|
1414
1414
|
return t.fontFamily && (w["font-family"] = `${t.fontFamily}`), w;
|
|
1415
1415
|
}), i = L(() => o.value.filter((w) => !w.isHidden)), n = L(() => i.value.find((w) => w.seasonsIds.has(t.currentSeasonId)) || i.value[0]);
|
|
1416
1416
|
oe(
|
|
1417
1417
|
() => t.isClubesActive,
|
|
1418
1418
|
(w) => {
|
|
1419
|
-
o.value.forEach((
|
|
1420
|
-
|
|
1419
|
+
o.value.forEach((g) => {
|
|
1420
|
+
g.isHidden = !w && g.isClub || w && !g.isClub;
|
|
1421
1421
|
});
|
|
1422
1422
|
},
|
|
1423
1423
|
{ immediate: !0 }
|
|
@@ -1428,9 +1428,9 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1428
1428
|
o.value = [...t.items];
|
|
1429
1429
|
else {
|
|
1430
1430
|
const w = await h();
|
|
1431
|
-
r("change-tournaments", w), o.value = w.sort((
|
|
1431
|
+
r("change-tournaments", w), o.value = w.sort((g, f) => g.tournament.order - f.tournament.order).reduce((g, f) => {
|
|
1432
1432
|
if (t.tournamentsIdsToInclude && t.tournamentsIdsToInclude.size && !t.tournamentsIdsToInclude.has(f.id))
|
|
1433
|
-
return
|
|
1433
|
+
return g;
|
|
1434
1434
|
const b = {
|
|
1435
1435
|
...f.tournament,
|
|
1436
1436
|
seasons: f.seasons,
|
|
@@ -1438,7 +1438,7 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1438
1438
|
isClub: f.tournament.international_tournament === 0,
|
|
1439
1439
|
isFriendlies: f.tournament.tournament_type === 3
|
|
1440
1440
|
};
|
|
1441
|
-
return b.isHidden = !t.isClubesActive && b.isClub || t.isClubesActive && !b.isClub,
|
|
1441
|
+
return b.isHidden = !t.isClubesActive && b.isClub || t.isClubesActive && !b.isClub, g.push(b), g;
|
|
1442
1442
|
}, []);
|
|
1443
1443
|
}
|
|
1444
1444
|
} catch (w) {
|
|
@@ -1446,8 +1446,8 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
1448
|
function u(w) {
|
|
1449
|
-
const
|
|
1450
|
-
return
|
|
1449
|
+
const g = new XMLHttpRequest(), f = `${t.logosUrl}${w}.${t.logoFileType}`;
|
|
1450
|
+
return g.open("HEAD", f, !1), g.send(), g.status !== 404;
|
|
1451
1451
|
}
|
|
1452
1452
|
async function h() {
|
|
1453
1453
|
try {
|
|
@@ -1464,7 +1464,7 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1464
1464
|
}
|
|
1465
1465
|
return ne(() => {
|
|
1466
1466
|
a();
|
|
1467
|
-
}), (w,
|
|
1467
|
+
}), (w, g) => (m(), y("div", {
|
|
1468
1468
|
class: "tournament-select",
|
|
1469
1469
|
style: I(s.value)
|
|
1470
1470
|
}, [
|
|
@@ -1477,7 +1477,7 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1477
1477
|
default: q(({ selectedItem: f }) => [
|
|
1478
1478
|
p("div", uo, [
|
|
1479
1479
|
p("div", ho, [
|
|
1480
|
-
u(f.id) ? (m(),
|
|
1480
|
+
u(f.id) ? (m(), y("img", {
|
|
1481
1481
|
key: 0,
|
|
1482
1482
|
src: `${t.logosUrl}${f.id}.${t.logoFileType}`,
|
|
1483
1483
|
alt: ""
|
|
@@ -1493,7 +1493,7 @@ const to = /* @__PURE__ */ Hr(qe, [["render", eo], ["__scopeId", "data-v-f3ee6b2
|
|
|
1493
1493
|
}, 16, ["model-value", "items"])
|
|
1494
1494
|
], 4));
|
|
1495
1495
|
}
|
|
1496
|
-
},
|
|
1496
|
+
}, go = /* @__PURE__ */ co(yo, [["__scopeId", "data-v-4e850e10"]]);
|
|
1497
1497
|
function wo(e) {
|
|
1498
1498
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1499
1499
|
}
|
|
@@ -1571,26 +1571,26 @@ const Co = /* @__PURE__ */ wo(vo), _o = {
|
|
|
1571
1571
|
emits: ["open-media"],
|
|
1572
1572
|
setup(e, { emit: r }) {
|
|
1573
1573
|
const t = {
|
|
1574
|
-
CardGeneral: x(() => import("./CardGeneral-CDS08xVv-
|
|
1575
|
-
CardGeneralIndividual: x(() => import("./CardGeneralIndividual-DoXvg6Ch-
|
|
1576
|
-
CardGeneralTeams: x(() => import("./CardGeneralTeams-FYzVxcB3-
|
|
1577
|
-
CardIndividual: x(() => import("./CardIndividual-u8FZLLmq-
|
|
1578
|
-
CardIndividualDistance: x(() => import("./CardIndividualDistance-DtT14cRG-
|
|
1579
|
-
CardIndividualAreas: x(() => import("./CardIndividualAreas-D13F6fry-
|
|
1580
|
-
CardIndividualGoalParticipation: x(() => import("./CardIndividualGoalParticipation-DxJDrw64-
|
|
1581
|
-
CardIndividualGoals: x(() => import("./CardIndividualGoals-tVv3jx9v-
|
|
1582
|
-
CardIndividualShotsOnGoal: x(() => import("./CardIndividualShotsOnGoal-BA2B5zK2-
|
|
1583
|
-
CardIndividualFouls: x(() => import("./CardIndividualFouls-Bsm2M4Gv-
|
|
1584
|
-
CardIndividualCenters: x(() => import("./CardIndividualCenters-If_CjK9--
|
|
1585
|
-
CardIndividualSaves: x(() => import("./CardIndividualSaves-7NZaLckt-
|
|
1586
|
-
CardIndividual1vs1: x(() => import("./CardIndividual1vs1-C13lA1gg-
|
|
1587
|
-
CardIndividualStatistics: x(() => import("./CardIndividualStatistics-BdNBubd3-
|
|
1588
|
-
CardIndividualPerformance: x(() => import("./CardIndividualPerformance-pONmvZ---
|
|
1589
|
-
CardIndividualGold: x(() => import("./CardIndividualGold-B3awfrVU-
|
|
1590
|
-
CardPromTournament: x(() => import("./CardPromTournament-IvcxYf42-
|
|
1591
|
-
CardIndividualNoGoalReceived: x(() => import("./CardIndividualNoGoalReceived-plZw_S4K-
|
|
1592
|
-
CardTheMostProductive: x(() => import("./CardTheMostProductive-Crx3j88e-
|
|
1593
|
-
CardSuccessfulPasses: x(() => import("./CardSuccessfulPasses-CvGqK_hf-
|
|
1574
|
+
CardGeneral: x(() => import("./CardGeneral-CDS08xVv-DeeOjPAY.js")),
|
|
1575
|
+
CardGeneralIndividual: x(() => import("./CardGeneralIndividual-DoXvg6Ch-CC8a-Ji0.js")),
|
|
1576
|
+
CardGeneralTeams: x(() => import("./CardGeneralTeams-FYzVxcB3-C6Om4XRi.js")),
|
|
1577
|
+
CardIndividual: x(() => import("./CardIndividual-u8FZLLmq-LGK1IBTy.js")),
|
|
1578
|
+
CardIndividualDistance: x(() => import("./CardIndividualDistance-DtT14cRG-Bz3z9JSS.js")),
|
|
1579
|
+
CardIndividualAreas: x(() => import("./CardIndividualAreas-D13F6fry-DeXQY78S.js")),
|
|
1580
|
+
CardIndividualGoalParticipation: x(() => import("./CardIndividualGoalParticipation-DxJDrw64-PamJucP7.js")),
|
|
1581
|
+
CardIndividualGoals: x(() => import("./CardIndividualGoals-tVv3jx9v-D2nWP5gZ.js")),
|
|
1582
|
+
CardIndividualShotsOnGoal: x(() => import("./CardIndividualShotsOnGoal-BA2B5zK2-xaz2Ahbz.js")),
|
|
1583
|
+
CardIndividualFouls: x(() => import("./CardIndividualFouls-Bsm2M4Gv-B1Mz8wVi.js")),
|
|
1584
|
+
CardIndividualCenters: x(() => import("./CardIndividualCenters-If_CjK9--D4EBnfbF.js")),
|
|
1585
|
+
CardIndividualSaves: x(() => import("./CardIndividualSaves-7NZaLckt-Js-NrKxy.js")),
|
|
1586
|
+
CardIndividual1vs1: x(() => import("./CardIndividual1vs1-C13lA1gg-CGX-Yqr_.js")),
|
|
1587
|
+
CardIndividualStatistics: x(() => import("./CardIndividualStatistics-BdNBubd3-DxUjzSs7.js")),
|
|
1588
|
+
CardIndividualPerformance: x(() => import("./CardIndividualPerformance-pONmvZ---CKyOWB1n.js")),
|
|
1589
|
+
CardIndividualGold: x(() => import("./CardIndividualGold-B3awfrVU-d8b5saB2.js")),
|
|
1590
|
+
CardPromTournament: x(() => import("./CardPromTournament-IvcxYf42-CuP7MsUP.js")),
|
|
1591
|
+
CardIndividualNoGoalReceived: x(() => import("./CardIndividualNoGoalReceived-plZw_S4K-Cej8q0Ey.js")),
|
|
1592
|
+
CardTheMostProductive: x(() => import("./CardTheMostProductive-Crx3j88e-B9z8z4kJ.js")),
|
|
1593
|
+
CardSuccessfulPasses: x(() => import("./CardSuccessfulPasses-CvGqK_hf-B8tcoE-d.js"))
|
|
1594
1594
|
}, o = [
|
|
1595
1595
|
{
|
|
1596
1596
|
componentName: "CardGeneral",
|
|
@@ -1941,19 +1941,19 @@ const Co = /* @__PURE__ */ wo(vo), _o = {
|
|
|
1941
1941
|
"6-e"
|
|
1942
1942
|
]
|
|
1943
1943
|
}
|
|
1944
|
-
].reduce((
|
|
1945
|
-
|
|
1946
|
-
}),
|
|
1947
|
-
const
|
|
1948
|
-
return
|
|
1949
|
-
}), d =
|
|
1944
|
+
].reduce((g, { componentName: f, ids: b }) => (b.forEach((S) => {
|
|
1945
|
+
g.set(S, f);
|
|
1946
|
+
}), g), /* @__PURE__ */ new Map()), s = e, i = r, n = L(() => o.get(s.data.id)), a = L(() => t[n.value]), u = L(() => s.showVideos && s.data.show_videos), h = L(() => {
|
|
1947
|
+
const g = s.data.id.includes("-e"), f = s.data.id.includes("-g");
|
|
1948
|
+
return g || f ? s.data.is_finished ? 5 : 6 : s.data.player_id === s.playerId ? s.data.is_finished ? 1 : 2 : s.data.is_finished ? 3 : 4;
|
|
1949
|
+
}), d = z(`play-media-${s.data.id}-${Date.now()}`), l = L(() => ({
|
|
1950
1950
|
...s.data,
|
|
1951
1951
|
title: s.playerId === s.data.player_id ? s.data.title : s.data.third_person_title || s.data.title,
|
|
1952
1952
|
descriptionType: h.value,
|
|
1953
1953
|
conditions: s.data.conditions && typeof s.data.conditions == "string" ? JSON.parse(s.data.conditions) : s.data.conditions
|
|
1954
1954
|
}));
|
|
1955
1955
|
function w() {
|
|
1956
|
-
const
|
|
1956
|
+
const g = l.value.conditions && (l.value.conditions.matchlapse || l.value.conditions.section) ? l.value.conditions.section ? [l.value.conditions.section] : l.value.conditions.matchlapse === 1 ? [1, 2, 3] : [4, 5, 6] : [1, 2, 3, 4, 5, 6], f = {
|
|
1957
1957
|
seasonId: l.value.season_id,
|
|
1958
1958
|
mainSectionType: 1,
|
|
1959
1959
|
// 1 = videoplayer, 2 = my playlists
|
|
@@ -1986,7 +1986,7 @@ const Co = /* @__PURE__ */ wo(vo), _o = {
|
|
|
1986
1986
|
// subCategoryIds: [], // ids de subcategorias activas
|
|
1987
1987
|
playingAs: l.value.conditions && l.value.conditions.playing_as ? [l.value.conditions.playing_as] : [1, 2],
|
|
1988
1988
|
// array 1 local, 2 visitante, ambos todos
|
|
1989
|
-
timeSections:
|
|
1989
|
+
timeSections: g
|
|
1990
1990
|
// 1 = 0-15, 2 = 16-30, 3 = 31-45, 4 = 46-60, 5 = 61-75, 6 = 76-90,
|
|
1991
1991
|
// coordinatePoint: 0,
|
|
1992
1992
|
// fieldSections: sections && sections.length ? sections : null,
|
|
@@ -1996,7 +1996,7 @@ const Co = /* @__PURE__ */ wo(vo), _o = {
|
|
|
1996
1996
|
}
|
|
1997
1997
|
return ne(() => {
|
|
1998
1998
|
Co.on(d.value, w);
|
|
1999
|
-
}), (
|
|
1999
|
+
}), (g, f) => a.value ? (m(), y("div", _o, [
|
|
2000
2000
|
(m(), W(Qt(a.value), {
|
|
2001
2001
|
data: l.value,
|
|
2002
2002
|
height: e.height,
|
|
@@ -2106,14 +2106,14 @@ const To = {
|
|
|
2106
2106
|
class: "scrollable-container"
|
|
2107
2107
|
}, Io = { class: "scrollable-arrows" }, xo = ["width", "height", "viewBox"], Oo = ["stroke"], Ao = { class: "scrollable-wrapper" }, Po = { class: "scrollable-arrows" }, Eo = ["width", "height", "viewBox"], Ro = ["stroke"];
|
|
2108
2108
|
function Bo(e, r, t, o, s, i) {
|
|
2109
|
-
return m(),
|
|
2110
|
-
t.arrows ? (m(),
|
|
2109
|
+
return m(), y("div", To, [
|
|
2110
|
+
t.arrows ? (m(), y("div", {
|
|
2111
2111
|
key: 0,
|
|
2112
2112
|
class: E(["arrows-container", i.hideShowLeftArrow]),
|
|
2113
2113
|
onClick: r[0] || (r[0] = (...n) => i.scrollLeft && i.scrollLeft(...n))
|
|
2114
2114
|
}, [
|
|
2115
2115
|
p("div", Io, [
|
|
2116
|
-
(m(),
|
|
2116
|
+
(m(), y("svg", {
|
|
2117
2117
|
width: t.arrowsWidth,
|
|
2118
2118
|
height: t.arrowsHeight,
|
|
2119
2119
|
viewBox: i.getViewBox,
|
|
@@ -2136,14 +2136,14 @@ function Bo(e, r, t, o, s, i) {
|
|
|
2136
2136
|
K(e.$slots, "default", {}, void 0, !0)
|
|
2137
2137
|
])
|
|
2138
2138
|
], 544),
|
|
2139
|
-
t.arrows ? (m(),
|
|
2139
|
+
t.arrows ? (m(), y("div", {
|
|
2140
2140
|
key: 1,
|
|
2141
2141
|
id: "arrows-container-right",
|
|
2142
2142
|
class: E(["arrows-container", i.hideShowRightArrow]),
|
|
2143
2143
|
onClick: r[2] || (r[2] = (...n) => i.scrollRight && i.scrollRight(...n))
|
|
2144
2144
|
}, [
|
|
2145
2145
|
p("div", Po, [
|
|
2146
|
-
(m(),
|
|
2146
|
+
(m(), y("svg", {
|
|
2147
2147
|
width: t.arrowsWidth,
|
|
2148
2148
|
height: t.arrowsHeight,
|
|
2149
2149
|
viewBox: i.getViewBox,
|
|
@@ -2165,28 +2165,28 @@ function Tt(e, r) {
|
|
|
2165
2165
|
return e.apply(r, arguments);
|
|
2166
2166
|
};
|
|
2167
2167
|
}
|
|
2168
|
-
const { toString: No } = Object.prototype, { getPrototypeOf:
|
|
2168
|
+
const { toString: No } = Object.prototype, { getPrototypeOf: Ve } = Object, be = /* @__PURE__ */ ((e) => (r) => {
|
|
2169
2169
|
const t = No.call(r);
|
|
2170
2170
|
return e[t] || (e[t] = t.slice(8, -1).toLowerCase());
|
|
2171
2171
|
})(/* @__PURE__ */ Object.create(null)), j = (e) => (e = e.toLowerCase(), (r) => be(r) === e), Se = (e) => (r) => typeof r === e, { isArray: ee } = Array, se = Se("undefined");
|
|
2172
2172
|
function Do(e) {
|
|
2173
|
-
return e !== null && !se(e) && e.constructor !== null && !se(e.constructor) &&
|
|
2173
|
+
return e !== null && !se(e) && e.constructor !== null && !se(e.constructor) && F(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2174
2174
|
}
|
|
2175
2175
|
const It = j("ArrayBuffer");
|
|
2176
2176
|
function $o(e) {
|
|
2177
2177
|
let r;
|
|
2178
2178
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(e) : r = e && e.buffer && It(e.buffer), r;
|
|
2179
2179
|
}
|
|
2180
|
-
const Lo = Se("string"),
|
|
2180
|
+
const Lo = Se("string"), F = Se("function"), xt = Se("number"), ve = (e) => e !== null && typeof e == "object", Fo = (e) => e === !0 || e === !1, fe = (e) => {
|
|
2181
2181
|
if (be(e) !== "object")
|
|
2182
2182
|
return !1;
|
|
2183
|
-
const r =
|
|
2183
|
+
const r = Ve(e);
|
|
2184
2184
|
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
2185
|
-
},
|
|
2185
|
+
}, zo = j("Date"), Mo = j("File"), Wo = j("Blob"), qo = j("FileList"), jo = (e) => ve(e) && F(e.pipe), Uo = (e) => {
|
|
2186
2186
|
let r;
|
|
2187
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
2188
|
-
r === "object" &&
|
|
2189
|
-
}, Ho = j("URLSearchParams"), [
|
|
2187
|
+
return e && (typeof FormData == "function" && e instanceof FormData || F(e.append) && ((r = be(e)) === "formdata" || // detect form-data instance
|
|
2188
|
+
r === "object" && F(e.toString) && e.toString() === "[object FormData]"));
|
|
2189
|
+
}, Ho = j("URLSearchParams"), [Vo, Jo, Go, Xo] = ["ReadableStream", "Request", "Response", "Headers"].map(j), Zo = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2190
2190
|
function de(e, r, { allOwnKeys: t = !1 } = {}) {
|
|
2191
2191
|
if (e === null || typeof e > "u")
|
|
2192
2192
|
return;
|
|
@@ -2221,7 +2221,7 @@ function Be() {
|
|
|
2221
2221
|
return r;
|
|
2222
2222
|
}
|
|
2223
2223
|
const Ko = (e, r, t, { allOwnKeys: o } = {}) => (de(r, (s, i) => {
|
|
2224
|
-
t &&
|
|
2224
|
+
t && F(s) ? e[i] = Tt(s, t) : e[i] = s;
|
|
2225
2225
|
}, { allOwnKeys: o }), e), Qo = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Yo = (e, r, t, o) => {
|
|
2226
2226
|
e.prototype = Object.create(r.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
2227
2227
|
value: r.prototype
|
|
@@ -2233,7 +2233,7 @@ const Ko = (e, r, t, { allOwnKeys: o } = {}) => (de(r, (s, i) => {
|
|
|
2233
2233
|
do {
|
|
2234
2234
|
for (s = Object.getOwnPropertyNames(e), i = s.length; i-- > 0; )
|
|
2235
2235
|
n = s[i], (!o || o(n, e, r)) && !a[n] && (r[n] = e[n], a[n] = !0);
|
|
2236
|
-
e = t !== !1 &&
|
|
2236
|
+
e = t !== !1 && Ve(e);
|
|
2237
2237
|
} while (e && (!t || t(e, r)) && e !== Object.prototype);
|
|
2238
2238
|
return r;
|
|
2239
2239
|
}, ts = (e, r, t) => {
|
|
@@ -2249,7 +2249,7 @@ const Ko = (e, r, t, { allOwnKeys: o } = {}) => (de(r, (s, i) => {
|
|
|
2249
2249
|
for (; r-- > 0; )
|
|
2250
2250
|
t[r] = e[r];
|
|
2251
2251
|
return t;
|
|
2252
|
-
}, os = /* @__PURE__ */ ((e) => (r) => e && r instanceof e)(typeof Uint8Array < "u" &&
|
|
2252
|
+
}, os = /* @__PURE__ */ ((e) => (r) => e && r instanceof e)(typeof Uint8Array < "u" && Ve(Uint8Array)), ss = (e, r) => {
|
|
2253
2253
|
const o = (e && e[Symbol.iterator]).call(e);
|
|
2254
2254
|
let s;
|
|
2255
2255
|
for (; (s = o.next()) && !s.done; ) {
|
|
@@ -2275,10 +2275,10 @@ const Ko = (e, r, t, { allOwnKeys: o } = {}) => (de(r, (s, i) => {
|
|
|
2275
2275
|
}), Object.defineProperties(e, o);
|
|
2276
2276
|
}, ds = (e) => {
|
|
2277
2277
|
Pt(e, (r, t) => {
|
|
2278
|
-
if (
|
|
2278
|
+
if (F(e) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
|
|
2279
2279
|
return !1;
|
|
2280
2280
|
const o = e[t];
|
|
2281
|
-
if (
|
|
2281
|
+
if (F(o)) {
|
|
2282
2282
|
if (r.enumerable = !1, "writable" in r) {
|
|
2283
2283
|
r.writable = !1;
|
|
2284
2284
|
return;
|
|
@@ -2308,7 +2308,7 @@ const Ko = (e, r, t, { allOwnKeys: o } = {}) => (de(r, (s, i) => {
|
|
|
2308
2308
|
return t;
|
|
2309
2309
|
};
|
|
2310
2310
|
function ps(e) {
|
|
2311
|
-
return !!(e &&
|
|
2311
|
+
return !!(e && F(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
2312
2312
|
}
|
|
2313
2313
|
const ms = (e) => {
|
|
2314
2314
|
const r = new Array(10), t = (o, s) => {
|
|
@@ -2327,13 +2327,13 @@ const ms = (e) => {
|
|
|
2327
2327
|
return o;
|
|
2328
2328
|
};
|
|
2329
2329
|
return t(e, 0);
|
|
2330
|
-
},
|
|
2330
|
+
}, ys = j("AsyncFunction"), gs = (e) => e && (ve(e) || F(e)) && F(e.then) && F(e.catch), Rt = ((e, r) => e ? setImmediate : r ? ((t, o) => (G.addEventListener("message", ({ source: s, data: i }) => {
|
|
2331
2331
|
s === G && i === t && o.length && o.shift()();
|
|
2332
2332
|
}, !1), (s) => {
|
|
2333
2333
|
o.push(s), G.postMessage(t, "*");
|
|
2334
2334
|
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
|
|
2335
2335
|
typeof setImmediate == "function",
|
|
2336
|
-
|
|
2336
|
+
F(G.postMessage)
|
|
2337
2337
|
), ws = typeof queueMicrotask < "u" ? queueMicrotask.bind(G) : typeof process < "u" && process.nextTick || Rt, c = {
|
|
2338
2338
|
isArray: ee,
|
|
2339
2339
|
isArrayBuffer: It,
|
|
@@ -2342,19 +2342,19 @@ const ms = (e) => {
|
|
|
2342
2342
|
isArrayBufferView: $o,
|
|
2343
2343
|
isString: Lo,
|
|
2344
2344
|
isNumber: xt,
|
|
2345
|
-
isBoolean:
|
|
2345
|
+
isBoolean: Fo,
|
|
2346
2346
|
isObject: ve,
|
|
2347
2347
|
isPlainObject: fe,
|
|
2348
|
-
isReadableStream:
|
|
2349
|
-
isRequest:
|
|
2348
|
+
isReadableStream: Vo,
|
|
2349
|
+
isRequest: Jo,
|
|
2350
2350
|
isResponse: Go,
|
|
2351
2351
|
isHeaders: Xo,
|
|
2352
2352
|
isUndefined: se,
|
|
2353
|
-
isDate:
|
|
2353
|
+
isDate: zo,
|
|
2354
2354
|
isFile: Mo,
|
|
2355
2355
|
isBlob: Wo,
|
|
2356
2356
|
isRegExp: ls,
|
|
2357
|
-
isFunction:
|
|
2357
|
+
isFunction: F,
|
|
2358
2358
|
isStream: jo,
|
|
2359
2359
|
isURLSearchParams: Ho,
|
|
2360
2360
|
isTypedArray: os,
|
|
@@ -2389,8 +2389,8 @@ const ms = (e) => {
|
|
|
2389
2389
|
generateString: fs,
|
|
2390
2390
|
isSpecCompliantForm: ps,
|
|
2391
2391
|
toJSONObject: ms,
|
|
2392
|
-
isAsyncFn:
|
|
2393
|
-
isThenable:
|
|
2392
|
+
isAsyncFn: ys,
|
|
2393
|
+
isThenable: gs,
|
|
2394
2394
|
setImmediate: Rt,
|
|
2395
2395
|
asap: ws
|
|
2396
2396
|
};
|
|
@@ -2504,7 +2504,7 @@ function Ce(e, r, t) {
|
|
|
2504
2504
|
convertValue: h,
|
|
2505
2505
|
isVisitable: Ne
|
|
2506
2506
|
});
|
|
2507
|
-
function
|
|
2507
|
+
function g(f, b) {
|
|
2508
2508
|
if (!c.isUndefined(f)) {
|
|
2509
2509
|
if (l.indexOf(f) !== -1)
|
|
2510
2510
|
throw Error("Circular reference detected in " + b.join("."));
|
|
@@ -2515,13 +2515,13 @@ function Ce(e, r, t) {
|
|
|
2515
2515
|
c.isString(P) ? P.trim() : P,
|
|
2516
2516
|
b,
|
|
2517
2517
|
w
|
|
2518
|
-
)) === !0 &&
|
|
2518
|
+
)) === !0 && g(k, b ? b.concat(P) : [P]);
|
|
2519
2519
|
}), l.pop();
|
|
2520
2520
|
}
|
|
2521
2521
|
}
|
|
2522
2522
|
if (!c.isObject(e))
|
|
2523
2523
|
throw new TypeError("data must be an object");
|
|
2524
|
-
return
|
|
2524
|
+
return g(e), r;
|
|
2525
2525
|
}
|
|
2526
2526
|
function ht(e) {
|
|
2527
2527
|
const r = {
|
|
@@ -2537,10 +2537,10 @@ function ht(e) {
|
|
|
2537
2537
|
return r[o];
|
|
2538
2538
|
});
|
|
2539
2539
|
}
|
|
2540
|
-
function
|
|
2540
|
+
function Je(e, r) {
|
|
2541
2541
|
this._pairs = [], e && Ce(e, this, r);
|
|
2542
2542
|
}
|
|
2543
|
-
const $t =
|
|
2543
|
+
const $t = Je.prototype;
|
|
2544
2544
|
$t.append = function(r, t) {
|
|
2545
2545
|
this._pairs.push([r, t]);
|
|
2546
2546
|
};
|
|
@@ -2564,7 +2564,7 @@ function Lt(e, r, t) {
|
|
|
2564
2564
|
});
|
|
2565
2565
|
const s = t && t.serialize;
|
|
2566
2566
|
let i;
|
|
2567
|
-
if (s ? i = s(r, t) : i = c.isURLSearchParams(r) ? r.toString() : new
|
|
2567
|
+
if (s ? i = s(r, t) : i = c.isURLSearchParams(r) ? r.toString() : new Je(r, t).toString(o), i) {
|
|
2568
2568
|
const n = e.indexOf("#");
|
|
2569
2569
|
n !== -1 && (e = e.slice(0, n)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
|
|
2570
2570
|
}
|
|
@@ -2624,11 +2624,11 @@ class ft {
|
|
|
2624
2624
|
});
|
|
2625
2625
|
}
|
|
2626
2626
|
}
|
|
2627
|
-
const
|
|
2627
|
+
const Ft = {
|
|
2628
2628
|
silentJSONParsing: !0,
|
|
2629
2629
|
forcedJSONParsing: !0,
|
|
2630
2630
|
clarifyTimeoutError: !1
|
|
2631
|
-
}, _s = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
2631
|
+
}, _s = typeof URLSearchParams < "u" ? URLSearchParams : Je, ks = typeof FormData < "u" ? FormData : null, Ts = typeof Blob < "u" ? Blob : null, Is = {
|
|
2632
2632
|
isBrowser: !0,
|
|
2633
2633
|
classes: {
|
|
2634
2634
|
URLSearchParams: _s,
|
|
@@ -2667,7 +2667,7 @@ function Bs(e) {
|
|
|
2667
2667
|
i = t[o], r[i] = e[i];
|
|
2668
2668
|
return r;
|
|
2669
2669
|
}
|
|
2670
|
-
function
|
|
2670
|
+
function zt(e) {
|
|
2671
2671
|
function r(t, o, s, i) {
|
|
2672
2672
|
let n = t[i++];
|
|
2673
2673
|
if (n === "__proto__") return !0;
|
|
@@ -2693,12 +2693,12 @@ function Ns(e, r, t) {
|
|
|
2693
2693
|
return (t || JSON.stringify)(e);
|
|
2694
2694
|
}
|
|
2695
2695
|
const ce = {
|
|
2696
|
-
transitional:
|
|
2696
|
+
transitional: Ft,
|
|
2697
2697
|
adapter: ["xhr", "http", "fetch"],
|
|
2698
2698
|
transformRequest: [function(r, t) {
|
|
2699
2699
|
const o = t.getContentType() || "", s = o.indexOf("application/json") > -1, i = c.isObject(r);
|
|
2700
2700
|
if (i && c.isHTMLForm(r) && (r = new FormData(r)), c.isFormData(r))
|
|
2701
|
-
return s ? JSON.stringify(
|
|
2701
|
+
return s ? JSON.stringify(zt(r)) : r;
|
|
2702
2702
|
if (c.isArrayBuffer(r) || c.isBuffer(r) || c.isStream(r) || c.isFile(r) || c.isBlob(r) || c.isReadableStream(r))
|
|
2703
2703
|
return r;
|
|
2704
2704
|
if (c.isArrayBufferView(r))
|
|
@@ -2800,7 +2800,7 @@ function Ls(e) {
|
|
|
2800
2800
|
r[o[1]] = o[2];
|
|
2801
2801
|
return r;
|
|
2802
2802
|
}
|
|
2803
|
-
const
|
|
2803
|
+
const Fs = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
2804
2804
|
function Pe(e, r, t, o, s) {
|
|
2805
2805
|
if (c.isFunction(o))
|
|
2806
2806
|
return o.call(this, r, t);
|
|
@@ -2811,7 +2811,7 @@ function Pe(e, r, t, o, s) {
|
|
|
2811
2811
|
return o.test(r);
|
|
2812
2812
|
}
|
|
2813
2813
|
}
|
|
2814
|
-
function
|
|
2814
|
+
function zs(e) {
|
|
2815
2815
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (r, t, o) => t.toUpperCase() + o);
|
|
2816
2816
|
}
|
|
2817
2817
|
function Ms(e, r) {
|
|
@@ -2841,7 +2841,7 @@ let D = class {
|
|
|
2841
2841
|
const n = (a, u) => c.forEach(a, (h, d) => i(h, d, u));
|
|
2842
2842
|
if (c.isPlainObject(r) || r instanceof this.constructor)
|
|
2843
2843
|
n(r, t);
|
|
2844
|
-
else if (c.isString(r) && (r = r.trim()) && !
|
|
2844
|
+
else if (c.isString(r) && (r = r.trim()) && !Fs(r))
|
|
2845
2845
|
n($s(r), t);
|
|
2846
2846
|
else if (c.isHeaders(r))
|
|
2847
2847
|
for (const [a, u] of r.entries())
|
|
@@ -2902,7 +2902,7 @@ let D = class {
|
|
|
2902
2902
|
t[n] = pe(s), delete t[i];
|
|
2903
2903
|
return;
|
|
2904
2904
|
}
|
|
2905
|
-
const a = r ?
|
|
2905
|
+
const a = r ? zs(i) : String(i).trim();
|
|
2906
2906
|
a !== i && delete t[i], t[a] = pe(s), o[a] = !0;
|
|
2907
2907
|
}), this;
|
|
2908
2908
|
}
|
|
@@ -2996,8 +2996,8 @@ function qs(e, r) {
|
|
|
2996
2996
|
w += t[l++], l = l % e;
|
|
2997
2997
|
if (s = (s + 1) % e, s === i && (i = (i + 1) % e), h - n < r)
|
|
2998
2998
|
return;
|
|
2999
|
-
const
|
|
3000
|
-
return
|
|
2999
|
+
const g = d && h - d;
|
|
3000
|
+
return g ? Math.round(w * 1e3 / g) : void 0;
|
|
3001
3001
|
};
|
|
3002
3002
|
}
|
|
3003
3003
|
function js(e, r) {
|
|
@@ -3012,7 +3012,7 @@ function js(e, r) {
|
|
|
3012
3012
|
}, o - l)));
|
|
3013
3013
|
}, () => s && n(s)];
|
|
3014
3014
|
}
|
|
3015
|
-
const
|
|
3015
|
+
const ye = (e, r, t = 3) => {
|
|
3016
3016
|
let o = 0;
|
|
3017
3017
|
const s = qs(50, 250);
|
|
3018
3018
|
return js((i) => {
|
|
@@ -3038,7 +3038,7 @@ const ge = (e, r, t = 3) => {
|
|
|
3038
3038
|
total: e,
|
|
3039
3039
|
loaded: o
|
|
3040
3040
|
}), r[1]];
|
|
3041
|
-
},
|
|
3041
|
+
}, yt = (e) => (...r) => c.asap(() => e(...r)), Us = B.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, r) => (t) => (t = new URL(t, B.origin), e.protocol === t.protocol && e.host === t.host && (r || e.port === t.port)))(
|
|
3042
3042
|
new URL(B.origin),
|
|
3043
3043
|
B.navigator && /(msie|trident)/i.test(B.navigator.userAgent)
|
|
3044
3044
|
) : () => !0, Hs = B.hasStandardBrowserEnv ? (
|
|
@@ -3068,16 +3068,16 @@ const ge = (e, r, t = 3) => {
|
|
|
3068
3068
|
}
|
|
3069
3069
|
}
|
|
3070
3070
|
);
|
|
3071
|
-
function
|
|
3071
|
+
function Vs(e) {
|
|
3072
3072
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
3073
3073
|
}
|
|
3074
|
-
function
|
|
3074
|
+
function Js(e, r) {
|
|
3075
3075
|
return r ? e.replace(/\/?\/$/, "") + "/" + r.replace(/^\/+/, "") : e;
|
|
3076
3076
|
}
|
|
3077
3077
|
function qt(e, r) {
|
|
3078
|
-
return e && !
|
|
3078
|
+
return e && !Vs(r) ? Js(e, r) : r;
|
|
3079
3079
|
}
|
|
3080
|
-
const
|
|
3080
|
+
const gt = (e) => e instanceof D ? { ...e } : e;
|
|
3081
3081
|
function Q(e, r) {
|
|
3082
3082
|
r = r || {};
|
|
3083
3083
|
const t = {};
|
|
@@ -3135,7 +3135,7 @@ function Q(e, r) {
|
|
|
3135
3135
|
socketPath: n,
|
|
3136
3136
|
responseEncoding: n,
|
|
3137
3137
|
validateStatus: a,
|
|
3138
|
-
headers: (h, d, l) => s(
|
|
3138
|
+
headers: (h, d, l) => s(gt(h), gt(d), l, !0)
|
|
3139
3139
|
};
|
|
3140
3140
|
return c.forEach(Object.keys(Object.assign({}, e, r)), function(d) {
|
|
3141
3141
|
const l = u[d] || s, w = l(e[d], r[d], d);
|
|
@@ -3168,9 +3168,9 @@ const jt = (e) => {
|
|
|
3168
3168
|
const s = jt(e);
|
|
3169
3169
|
let i = s.data;
|
|
3170
3170
|
const n = D.from(s.headers).normalize();
|
|
3171
|
-
let { responseType: a, onUploadProgress: u, onDownloadProgress: h } = s, d, l, w,
|
|
3171
|
+
let { responseType: a, onUploadProgress: u, onDownloadProgress: h } = s, d, l, w, g, f;
|
|
3172
3172
|
function b() {
|
|
3173
|
-
|
|
3173
|
+
g && g(), f && f(), s.cancelToken && s.cancelToken.unsubscribe(d), s.signal && s.signal.removeEventListener("abort", d);
|
|
3174
3174
|
}
|
|
3175
3175
|
let S = new XMLHttpRequest();
|
|
3176
3176
|
S.open(s.method.toUpperCase(), s.url, !0), S.timeout = s.timeout;
|
|
@@ -3187,10 +3187,10 @@ const jt = (e) => {
|
|
|
3187
3187
|
config: e,
|
|
3188
3188
|
request: S
|
|
3189
3189
|
};
|
|
3190
|
-
Wt(function(
|
|
3191
|
-
t(
|
|
3192
|
-
}, function(
|
|
3193
|
-
o(
|
|
3190
|
+
Wt(function(J) {
|
|
3191
|
+
t(J), b();
|
|
3192
|
+
}, function(J) {
|
|
3193
|
+
o(J), b();
|
|
3194
3194
|
}, N), S = null;
|
|
3195
3195
|
}
|
|
3196
3196
|
"onloadend" in S ? S.onloadend = k : S.onreadystatechange = function() {
|
|
@@ -3201,7 +3201,7 @@ const jt = (e) => {
|
|
|
3201
3201
|
o(new C("Network Error", C.ERR_NETWORK, e, S)), S = null;
|
|
3202
3202
|
}, S.ontimeout = function() {
|
|
3203
3203
|
let H = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
3204
|
-
const N = s.transitional ||
|
|
3204
|
+
const N = s.transitional || Ft;
|
|
3205
3205
|
s.timeoutErrorMessage && (H = s.timeoutErrorMessage), o(new C(
|
|
3206
3206
|
H,
|
|
3207
3207
|
N.clarifyTimeoutError ? C.ETIMEDOUT : C.ECONNABORTED,
|
|
@@ -3210,7 +3210,7 @@ const jt = (e) => {
|
|
|
3210
3210
|
)), S = null;
|
|
3211
3211
|
}, i === void 0 && n.setContentType(null), "setRequestHeader" in S && c.forEach(n.toJSON(), function(H, N) {
|
|
3212
3212
|
S.setRequestHeader(N, H);
|
|
3213
|
-
}), c.isUndefined(s.withCredentials) || (S.withCredentials = !!s.withCredentials), a && a !== "json" && (S.responseType = s.responseType), h && ([w, f] =
|
|
3213
|
+
}), c.isUndefined(s.withCredentials) || (S.withCredentials = !!s.withCredentials), a && a !== "json" && (S.responseType = s.responseType), h && ([w, f] = ye(h, !0), S.addEventListener("progress", w)), u && S.upload && ([l, g] = ye(u), S.upload.addEventListener("progress", l), S.upload.addEventListener("loadend", g)), (s.cancelToken || s.signal) && (d = (R) => {
|
|
3214
3214
|
S && (o(!R || R.type ? new te(null, e, S) : R), S.abort(), S = null);
|
|
3215
3215
|
}, s.cancelToken && s.cancelToken.subscribe(d), s.signal && (s.signal.aborted ? d() : s.signal.addEventListener("abort", d)));
|
|
3216
3216
|
const P = Ws(s.url);
|
|
@@ -3316,12 +3316,12 @@ const jt = (e) => {
|
|
|
3316
3316
|
}
|
|
3317
3317
|
}).headers.has("Content-Type");
|
|
3318
3318
|
return e && !r;
|
|
3319
|
-
}), bt = 64 * 1024, $e = Ut && Ht(() => c.isReadableStream(new Response("").body)),
|
|
3319
|
+
}), bt = 64 * 1024, $e = Ut && Ht(() => c.isReadableStream(new Response("").body)), ge = {
|
|
3320
3320
|
stream: $e && ((e) => e.body)
|
|
3321
3321
|
};
|
|
3322
3322
|
_e && ((e) => {
|
|
3323
3323
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((r) => {
|
|
3324
|
-
!
|
|
3324
|
+
!ge[r] && (ge[r] = c.isFunction(e[r]) ? (t) => t[r]() : (t, o) => {
|
|
3325
3325
|
throw new C(`Response type '${r}' is not supported`, C.ERR_NOT_SUPPORT, o);
|
|
3326
3326
|
});
|
|
3327
3327
|
});
|
|
@@ -3359,9 +3359,9 @@ const ri = async (e) => {
|
|
|
3359
3359
|
fetchOptions: w
|
|
3360
3360
|
} = jt(e);
|
|
3361
3361
|
h = h ? (h + "").toLowerCase() : "text";
|
|
3362
|
-
let
|
|
3363
|
-
const b =
|
|
3364
|
-
|
|
3362
|
+
let g = Zs([s, i && i.toAbortSignal()], n), f;
|
|
3363
|
+
const b = g && g.unsubscribe && (() => {
|
|
3364
|
+
g.unsubscribe();
|
|
3365
3365
|
});
|
|
3366
3366
|
let S;
|
|
3367
3367
|
try {
|
|
@@ -3370,20 +3370,20 @@ const ri = async (e) => {
|
|
|
3370
3370
|
method: "POST",
|
|
3371
3371
|
body: o,
|
|
3372
3372
|
duplex: "half"
|
|
3373
|
-
}),
|
|
3374
|
-
if (c.isFormData(o) && (
|
|
3375
|
-
const [
|
|
3373
|
+
}), V;
|
|
3374
|
+
if (c.isFormData(o) && (V = N.headers.get("content-type")) && d.setContentType(V), N.body) {
|
|
3375
|
+
const [J, ue] = mt(
|
|
3376
3376
|
S,
|
|
3377
|
-
|
|
3377
|
+
ye(yt(u))
|
|
3378
3378
|
);
|
|
3379
|
-
o = wt(N.body, bt,
|
|
3379
|
+
o = wt(N.body, bt, J, ue);
|
|
3380
3380
|
}
|
|
3381
3381
|
}
|
|
3382
3382
|
c.isString(l) || (l = l ? "include" : "omit");
|
|
3383
3383
|
const k = "credentials" in Request.prototype;
|
|
3384
3384
|
f = new Request(r, {
|
|
3385
3385
|
...w,
|
|
3386
|
-
signal:
|
|
3386
|
+
signal: g,
|
|
3387
3387
|
method: t.toUpperCase(),
|
|
3388
3388
|
headers: d.normalize().toJSON(),
|
|
3389
3389
|
body: o,
|
|
@@ -3397,21 +3397,21 @@ const ri = async (e) => {
|
|
|
3397
3397
|
["status", "statusText", "headers"].forEach((Xe) => {
|
|
3398
3398
|
N[Xe] = P[Xe];
|
|
3399
3399
|
});
|
|
3400
|
-
const
|
|
3401
|
-
|
|
3402
|
-
|
|
3400
|
+
const V = c.toFiniteNumber(P.headers.get("content-length")), [J, ue] = a && mt(
|
|
3401
|
+
V,
|
|
3402
|
+
ye(yt(a), !0)
|
|
3403
3403
|
) || [];
|
|
3404
3404
|
P = new Response(
|
|
3405
|
-
wt(P.body, bt,
|
|
3405
|
+
wt(P.body, bt, J, () => {
|
|
3406
3406
|
ue && ue(), b && b();
|
|
3407
3407
|
}),
|
|
3408
3408
|
N
|
|
3409
3409
|
);
|
|
3410
3410
|
}
|
|
3411
3411
|
h = h || "text";
|
|
3412
|
-
let H = await
|
|
3413
|
-
return !R && b && b(), await new Promise((N,
|
|
3414
|
-
Wt(N,
|
|
3412
|
+
let H = await ge[c.findKey(ge, h) || "text"](P, e);
|
|
3413
|
+
return !R && b && b(), await new Promise((N, V) => {
|
|
3414
|
+
Wt(N, V, {
|
|
3415
3415
|
data: H,
|
|
3416
3416
|
headers: D.from(P.headers),
|
|
3417
3417
|
status: P.status,
|
|
@@ -3442,7 +3442,7 @@ c.forEach(Le, (e, r) => {
|
|
|
3442
3442
|
Object.defineProperty(e, "adapterName", { value: r });
|
|
3443
3443
|
}
|
|
3444
3444
|
});
|
|
3445
|
-
const St = (e) => `- ${e}`, ii = (e) => c.isFunction(e) || e === null || e === !1,
|
|
3445
|
+
const St = (e) => `- ${e}`, ii = (e) => c.isFunction(e) || e === null || e === !1, Vt = {
|
|
3446
3446
|
getAdapter: (e) => {
|
|
3447
3447
|
e = c.isArray(e) ? e : [e];
|
|
3448
3448
|
const { length: r } = e;
|
|
@@ -3481,7 +3481,7 @@ function vt(e) {
|
|
|
3481
3481
|
return Re(e), e.headers = D.from(e.headers), e.data = Ee.call(
|
|
3482
3482
|
e,
|
|
3483
3483
|
e.transformRequest
|
|
3484
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
3484
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Vt.getAdapter(e.adapter || ce.adapter)(e).then(function(o) {
|
|
3485
3485
|
return Re(e), o.data = Ee.call(
|
|
3486
3486
|
e,
|
|
3487
3487
|
e.transformResponse,
|
|
@@ -3495,7 +3495,7 @@ function vt(e) {
|
|
|
3495
3495
|
), o.response.headers = D.from(o.response.headers))), Promise.reject(o);
|
|
3496
3496
|
});
|
|
3497
3497
|
}
|
|
3498
|
-
const
|
|
3498
|
+
const Jt = "1.7.9", ke = {};
|
|
3499
3499
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, r) => {
|
|
3500
3500
|
ke[e] = function(o) {
|
|
3501
3501
|
return typeof o === e || "a" + (r < 1 ? "n " : " ") + e;
|
|
@@ -3504,7 +3504,7 @@ const Vt = "1.7.9", ke = {};
|
|
|
3504
3504
|
const Ct = {};
|
|
3505
3505
|
ke.transitional = function(r, t, o) {
|
|
3506
3506
|
function s(i, n) {
|
|
3507
|
-
return "[Axios v" +
|
|
3507
|
+
return "[Axios v" + Jt + "] Transitional option '" + i + "'" + n + (o ? ". " + o : "");
|
|
3508
3508
|
}
|
|
3509
3509
|
return (i, n, a) => {
|
|
3510
3510
|
if (r === !1)
|
|
@@ -3619,18 +3619,18 @@ let Z = class {
|
|
|
3619
3619
|
return d;
|
|
3620
3620
|
}
|
|
3621
3621
|
w = a.length;
|
|
3622
|
-
let
|
|
3622
|
+
let g = t;
|
|
3623
3623
|
for (l = 0; l < w; ) {
|
|
3624
3624
|
const f = a[l++], b = a[l++];
|
|
3625
3625
|
try {
|
|
3626
|
-
|
|
3626
|
+
g = f(g);
|
|
3627
3627
|
} catch (S) {
|
|
3628
3628
|
b.call(this, S);
|
|
3629
3629
|
break;
|
|
3630
3630
|
}
|
|
3631
3631
|
}
|
|
3632
3632
|
try {
|
|
3633
|
-
d = vt.call(this,
|
|
3633
|
+
d = vt.call(this, g);
|
|
3634
3634
|
} catch (f) {
|
|
3635
3635
|
return Promise.reject(f);
|
|
3636
3636
|
}
|
|
@@ -3749,7 +3749,7 @@ function li(e) {
|
|
|
3749
3749
|
function di(e) {
|
|
3750
3750
|
return c.isObject(e) && e.isAxiosError === !0;
|
|
3751
3751
|
}
|
|
3752
|
-
const
|
|
3752
|
+
const Fe = {
|
|
3753
3753
|
Continue: 100,
|
|
3754
3754
|
SwitchingProtocols: 101,
|
|
3755
3755
|
Processing: 102,
|
|
@@ -3814,8 +3814,8 @@ const ze = {
|
|
|
3814
3814
|
NotExtended: 510,
|
|
3815
3815
|
NetworkAuthenticationRequired: 511
|
|
3816
3816
|
};
|
|
3817
|
-
Object.entries(
|
|
3818
|
-
|
|
3817
|
+
Object.entries(Fe).forEach(([e, r]) => {
|
|
3818
|
+
Fe[r] = e;
|
|
3819
3819
|
});
|
|
3820
3820
|
function Xt(e) {
|
|
3821
3821
|
const r = new Z(e), t = Tt(Z.prototype.request, r);
|
|
@@ -3828,7 +3828,7 @@ _.Axios = Z;
|
|
|
3828
3828
|
_.CanceledError = te;
|
|
3829
3829
|
_.CancelToken = ai;
|
|
3830
3830
|
_.isCancel = Mt;
|
|
3831
|
-
_.VERSION =
|
|
3831
|
+
_.VERSION = Jt;
|
|
3832
3832
|
_.toFormData = Ce;
|
|
3833
3833
|
_.AxiosError = C;
|
|
3834
3834
|
_.Cancel = _.CanceledError;
|
|
@@ -3839,15 +3839,15 @@ _.spread = li;
|
|
|
3839
3839
|
_.isAxiosError = di;
|
|
3840
3840
|
_.mergeConfig = Q;
|
|
3841
3841
|
_.AxiosHeaders = D;
|
|
3842
|
-
_.formToJSON = (e) =>
|
|
3843
|
-
_.getAdapter =
|
|
3844
|
-
_.HttpStatusCode =
|
|
3842
|
+
_.formToJSON = (e) => zt(c.isHTMLForm(e) ? new FormData(e) : e);
|
|
3843
|
+
_.getAdapter = Vt.getAdapter;
|
|
3844
|
+
_.HttpStatusCode = Fe;
|
|
3845
3845
|
_.default = _;
|
|
3846
3846
|
const {
|
|
3847
3847
|
Axios: Un,
|
|
3848
3848
|
AxiosError: Hn,
|
|
3849
|
-
CanceledError:
|
|
3850
|
-
isCancel:
|
|
3849
|
+
CanceledError: Vn,
|
|
3850
|
+
isCancel: Jn,
|
|
3851
3851
|
CancelToken: Gn,
|
|
3852
3852
|
VERSION: Xn,
|
|
3853
3853
|
all: Zn,
|
|
@@ -3932,12 +3932,12 @@ const {
|
|
|
3932
3932
|
}
|
|
3933
3933
|
}, ui = (e) => (ae("data-v-8d2c1037"), e = e(), le(), e), hi = { class: "generales-container" }, fi = { class: "container-generals-cards-ia-generales" }, pi = { class: "container-data-cards-ia-generales" }, mi = /* @__PURE__ */ ui(() => /* @__PURE__ */ p("div", { class: "loading-overlay" }, [
|
|
3934
3934
|
/* @__PURE__ */ p("div", { class: "loading-animation" })
|
|
3935
|
-
], -1)),
|
|
3935
|
+
], -1)), yi = [
|
|
3936
3936
|
mi
|
|
3937
3937
|
];
|
|
3938
|
-
function
|
|
3938
|
+
function gi(e, r, t, o, s, i) {
|
|
3939
3939
|
const n = $("GSCDataCard"), a = $("GSCSlider");
|
|
3940
|
-
return m(),
|
|
3940
|
+
return m(), y("div", hi, [
|
|
3941
3941
|
p("div", fi, [
|
|
3942
3942
|
(m(), W(a, {
|
|
3943
3943
|
key: t.currentSeasonId,
|
|
@@ -3958,14 +3958,14 @@ function yi(e, r, t, o, s, i) {
|
|
|
3958
3958
|
}, {
|
|
3959
3959
|
default: q(() => [
|
|
3960
3960
|
p("div", pi, [
|
|
3961
|
-
s.loading ? (m(),
|
|
3961
|
+
s.loading ? (m(), y(O, { key: 0 }, A(4, (u) => p("div", {
|
|
3962
3962
|
key: u,
|
|
3963
3963
|
class: "skeleton-card",
|
|
3964
3964
|
style: I([
|
|
3965
3965
|
u > 1 ? { "margin-left": "20px" } : {},
|
|
3966
3966
|
u === 4 ? { "margin-right": "30px" } : {}
|
|
3967
3967
|
])
|
|
3968
|
-
},
|
|
3968
|
+
}, yi, 4)), 64)) : s.generalsData && s.generalsData.generals ? (m(!0), y(O, { key: 1 }, A(s.generalsData.generals, (u, h) => (m(), W(n, {
|
|
3969
3969
|
key: h,
|
|
3970
3970
|
"show-videos": t.showVideos,
|
|
3971
3971
|
data: u,
|
|
@@ -3984,7 +3984,7 @@ function yi(e, r, t, o, s, i) {
|
|
|
3984
3984
|
])
|
|
3985
3985
|
]);
|
|
3986
3986
|
}
|
|
3987
|
-
const wi = /* @__PURE__ */ Te(ci, [["render",
|
|
3987
|
+
const wi = /* @__PURE__ */ Te(ci, [["render", gi], ["__scopeId", "data-v-8d2c1037"]]), bi = {
|
|
3988
3988
|
name: "DataIAEquipos",
|
|
3989
3989
|
components: {
|
|
3990
3990
|
GSCSlider: He,
|
|
@@ -4199,23 +4199,23 @@ const wi = /* @__PURE__ */ Te(ci, [["render", yi], ["__scopeId", "data-v-8d2c103
|
|
|
4199
4199
|
class: "loading-overlay"
|
|
4200
4200
|
}, Ri = /* @__PURE__ */ Ie(() => /* @__PURE__ */ p("div", { class: "loading-animation" }, null, -1)), Bi = [
|
|
4201
4201
|
Ri
|
|
4202
|
-
], Ni = { class: "header-container-equipos" }, Di = { class: "select-container" }, $i = { class: "custom-select" }, Li = ["src", "alt"],
|
|
4202
|
+
], Ni = { class: "header-container-equipos" }, Di = { class: "select-container" }, $i = { class: "custom-select" }, Li = ["src", "alt"], Fi = ["onClick"], zi = /* @__PURE__ */ Ie(() => /* @__PURE__ */ p("div", { class: "select-arrow" }, null, -1)), Mi = {
|
|
4203
4203
|
key: 1,
|
|
4204
4204
|
class: "options-container"
|
|
4205
|
-
}, Wi = ["onClick"], qi = ["src", "alt"], ji = ["onClick"], Ui = { class: "container-generals-cards-ia-equipos" }, Hi = { class: "container-data-cards-ia-equipos" },
|
|
4205
|
+
}, Wi = ["onClick"], qi = ["src", "alt"], ji = ["onClick"], Ui = { class: "container-generals-cards-ia-equipos" }, Hi = { class: "container-data-cards-ia-equipos" }, Vi = {
|
|
4206
4206
|
key: 0,
|
|
4207
4207
|
class: "loading-overlay"
|
|
4208
|
-
},
|
|
4209
|
-
|
|
4208
|
+
}, Ji = /* @__PURE__ */ Ie(() => /* @__PURE__ */ p("div", { class: "loading-animation" }, null, -1)), Gi = [
|
|
4209
|
+
Ji
|
|
4210
4210
|
], Xi = { class: "add-button-container" };
|
|
4211
4211
|
function Zi(e, r, t, o, s, i) {
|
|
4212
4212
|
var u, h;
|
|
4213
4213
|
const n = $("GSCDataCard"), a = $("GSCSlider");
|
|
4214
|
-
return m(),
|
|
4214
|
+
return m(), y("div", Si, [
|
|
4215
4215
|
p("div", vi, [
|
|
4216
4216
|
p("div", Ci, [
|
|
4217
4217
|
p("div", _i, [
|
|
4218
|
-
s.selectedTeam && s.selectedTeam.logo ? (m(),
|
|
4218
|
+
s.selectedTeam && s.selectedTeam.logo ? (m(), y("img", {
|
|
4219
4219
|
key: 0,
|
|
4220
4220
|
src: s.selectedTeam.logo,
|
|
4221
4221
|
class: "selected-team-logo",
|
|
@@ -4228,15 +4228,15 @@ function Zi(e, r, t, o, s, i) {
|
|
|
4228
4228
|
p("span", null, T(s.selectedTeam ? s.selectedTeam.colloquial_name : "Seleccionar equipo"), 1),
|
|
4229
4229
|
Ti
|
|
4230
4230
|
], 2),
|
|
4231
|
-
s.isOpen ? (m(),
|
|
4232
|
-
(m(!0),
|
|
4231
|
+
s.isOpen ? (m(), y("div", Ii, [
|
|
4232
|
+
(m(!0), y(O, null, A(i.availableTeams.sort(
|
|
4233
4233
|
(d, l) => d.colloquial_name.localeCompare(l.colloquial_name)
|
|
4234
|
-
), (d) => (m(),
|
|
4234
|
+
), (d) => (m(), y("div", {
|
|
4235
4235
|
key: d.id,
|
|
4236
4236
|
class: "option",
|
|
4237
4237
|
onClick: (l) => i.selectTeam(d)
|
|
4238
4238
|
}, [
|
|
4239
|
-
d.logo ? (m(),
|
|
4239
|
+
d.logo ? (m(), y("img", {
|
|
4240
4240
|
key: 0,
|
|
4241
4241
|
src: d.logo,
|
|
4242
4242
|
class: "option-team-logo",
|
|
@@ -4269,7 +4269,7 @@ function Zi(e, r, t, o, s, i) {
|
|
|
4269
4269
|
}, {
|
|
4270
4270
|
default: q(() => [
|
|
4271
4271
|
p("div", Pi, [
|
|
4272
|
-
s.loading ? (m(),
|
|
4272
|
+
s.loading ? (m(), y(O, { key: 0 }, A(4, (d) => p("div", {
|
|
4273
4273
|
key: d,
|
|
4274
4274
|
class: "skeleton-card",
|
|
4275
4275
|
style: I([
|
|
@@ -4277,8 +4277,8 @@ function Zi(e, r, t, o, s, i) {
|
|
|
4277
4277
|
d === 4 ? { "margin-right": "30px" } : {}
|
|
4278
4278
|
])
|
|
4279
4279
|
}, [
|
|
4280
|
-
s.selectedTeam ? (m(),
|
|
4281
|
-
], 4)), 64)) : s.teamData ? (m(!0),
|
|
4280
|
+
s.selectedTeam ? (m(), y("div", Ei, Bi)) : v("", !0)
|
|
4281
|
+
], 4)), 64)) : s.teamData ? (m(!0), y(O, { key: 1 }, A(s.teamData, (d, l) => (m(), W(n, {
|
|
4282
4282
|
key: l,
|
|
4283
4283
|
data: d,
|
|
4284
4284
|
class: "data-card",
|
|
@@ -4290,16 +4290,16 @@ function Zi(e, r, t, o, s, i) {
|
|
|
4290
4290
|
_: 1
|
|
4291
4291
|
}, 8, ["arrows-background", "arrows"]))
|
|
4292
4292
|
]),
|
|
4293
|
-
(m(!0),
|
|
4294
|
-
var w,
|
|
4295
|
-
return m(),
|
|
4293
|
+
(m(!0), y(O, null, A(s.additionalCarousels, (d, l) => {
|
|
4294
|
+
var w, g;
|
|
4295
|
+
return m(), y("div", {
|
|
4296
4296
|
key: l,
|
|
4297
4297
|
class: "additional-carousel"
|
|
4298
4298
|
}, [
|
|
4299
4299
|
p("div", Ni, [
|
|
4300
4300
|
p("div", Di, [
|
|
4301
4301
|
p("div", $i, [
|
|
4302
|
-
d.selectedTeam && d.selectedTeam.logo ? (m(),
|
|
4302
|
+
d.selectedTeam && d.selectedTeam.logo ? (m(), y("img", {
|
|
4303
4303
|
key: 0,
|
|
4304
4304
|
src: d.selectedTeam.logo,
|
|
4305
4305
|
class: "selected-team-logo",
|
|
@@ -4310,17 +4310,17 @@ function Zi(e, r, t, o, s, i) {
|
|
|
4310
4310
|
onClick: (f) => i.toggleDropdownAdditional(l)
|
|
4311
4311
|
}, [
|
|
4312
4312
|
p("span", null, T(d.selectedTeam ? d.selectedTeam.team_name : "Seleccionar equipo"), 1),
|
|
4313
|
-
|
|
4314
|
-
], 10,
|
|
4315
|
-
d.isOpen ? (m(),
|
|
4316
|
-
(m(!0),
|
|
4313
|
+
zi
|
|
4314
|
+
], 10, Fi),
|
|
4315
|
+
d.isOpen ? (m(), y("div", Mi, [
|
|
4316
|
+
(m(!0), y(O, null, A(i.getAvailableTeamsForCarousel(l).sort(
|
|
4317
4317
|
(f, b) => f.colloquial_name.localeCompare(b.colloquial_name)
|
|
4318
|
-
), (f) => (m(),
|
|
4318
|
+
), (f) => (m(), y("div", {
|
|
4319
4319
|
key: f.id,
|
|
4320
4320
|
class: "option",
|
|
4321
4321
|
onClick: (b) => i.selectTeamAdditional(f, l)
|
|
4322
4322
|
}, [
|
|
4323
|
-
f.logo ? (m(),
|
|
4323
|
+
f.logo ? (m(), y("img", {
|
|
4324
4324
|
key: 0,
|
|
4325
4325
|
src: f.logo,
|
|
4326
4326
|
class: "option-team-logo",
|
|
@@ -4352,14 +4352,14 @@ function Zi(e, r, t, o, s, i) {
|
|
|
4352
4352
|
"arrows-margin": 0,
|
|
4353
4353
|
"arrows-radius": "50%",
|
|
4354
4354
|
"arrows-border": "#ddd",
|
|
4355
|
-
arrows: !d.loading && ((
|
|
4355
|
+
arrows: !d.loading && ((g = d.teamData) == null ? void 0 : g.teams),
|
|
4356
4356
|
ref_for: !0,
|
|
4357
4357
|
ref: `carouselSlider${l}`,
|
|
4358
4358
|
onMounted: (f) => i.initializeSlider(l)
|
|
4359
4359
|
}, {
|
|
4360
4360
|
default: q(() => [
|
|
4361
4361
|
p("div", Hi, [
|
|
4362
|
-
d.loading ? (m(),
|
|
4362
|
+
d.loading ? (m(), y(O, { key: 0 }, A(4, (f) => p("div", {
|
|
4363
4363
|
key: f,
|
|
4364
4364
|
class: "skeleton-card",
|
|
4365
4365
|
style: I([
|
|
@@ -4367,8 +4367,8 @@ function Zi(e, r, t, o, s, i) {
|
|
|
4367
4367
|
f === 4 ? { "margin-right": "30px" } : {}
|
|
4368
4368
|
])
|
|
4369
4369
|
}, [
|
|
4370
|
-
d.selectedTeam ? (m(),
|
|
4371
|
-
], 4)), 64)) : d.teamData && d.teamData.teams ? (m(!0),
|
|
4370
|
+
d.selectedTeam ? (m(), y("div", Vi, Gi)) : v("", !0)
|
|
4371
|
+
], 4)), 64)) : d.teamData && d.teamData.teams ? (m(!0), y(O, { key: 1 }, A(d.teamData.teams, (f, b) => (m(), W(n, {
|
|
4372
4372
|
key: b,
|
|
4373
4373
|
data: f,
|
|
4374
4374
|
class: "data-card",
|
|
@@ -4707,10 +4707,10 @@ const Ki = /* @__PURE__ */ Te(bi, [["render", Zi], ["__scopeId", "data-v-50ba372
|
|
|
4707
4707
|
], on = { class: "header-container-jugadores" }, sn = { class: "custom-select" }, nn = ["src", "alt"], an = ["onClick"], ln = /* @__PURE__ */ xe(() => /* @__PURE__ */ p("div", { class: "select-arrow" }, null, -1)), dn = {
|
|
4708
4708
|
key: 1,
|
|
4709
4709
|
class: "options-container"
|
|
4710
|
-
}, cn = ["onClick"], un = ["src", "alt"], hn = { class: "custom-select" }, fn = ["src", "alt"], pn = ["onClick"], mn = /* @__PURE__ */ xe(() => /* @__PURE__ */ p("div", { class: "select-arrow" }, null, -1)),
|
|
4710
|
+
}, cn = ["onClick"], un = ["src", "alt"], hn = { class: "custom-select" }, fn = ["src", "alt"], pn = ["onClick"], mn = /* @__PURE__ */ xe(() => /* @__PURE__ */ p("div", { class: "select-arrow" }, null, -1)), yn = {
|
|
4711
4711
|
key: 1,
|
|
4712
4712
|
class: "options-container"
|
|
4713
|
-
},
|
|
4713
|
+
}, gn = {
|
|
4714
4714
|
key: 0,
|
|
4715
4715
|
class: "search-box"
|
|
4716
4716
|
}, wn = { class: "search-input-container" }, bn = ["onUpdate:modelValue"], Sn = ["onClick"], vn = ["onClick"], Cn = ["src", "alt"], _n = { class: "container-generals-cards-ia-jugadores" }, kn = { class: "container-data-cards-ia-jugadores" }, Tn = {
|
|
@@ -4729,14 +4729,14 @@ const Ki = /* @__PURE__ */ Te(bi, [["render", Zi], ["__scopeId", "data-v-50ba372
|
|
|
4729
4729
|
}, Pn = { class: "message-box" };
|
|
4730
4730
|
function En(e, r, t, o, s, i) {
|
|
4731
4731
|
const n = $("GSCDataCard"), a = $("g-s-c-slider");
|
|
4732
|
-
return m(),
|
|
4733
|
-
(m(!0),
|
|
4732
|
+
return m(), y("div", Yi, [
|
|
4733
|
+
(m(!0), y(O, null, A(s.containers, (u, h) => {
|
|
4734
4734
|
var d;
|
|
4735
|
-
return m(),
|
|
4735
|
+
return m(), y("div", {
|
|
4736
4736
|
key: `container-${u.id}`,
|
|
4737
4737
|
class: "container-section"
|
|
4738
4738
|
}, [
|
|
4739
|
-
h > 0 ? (m(),
|
|
4739
|
+
h > 0 ? (m(), y("div", {
|
|
4740
4740
|
key: 0,
|
|
4741
4741
|
class: "close-container-button",
|
|
4742
4742
|
onClick: (l) => i.removeContainer(h)
|
|
@@ -4748,7 +4748,7 @@ function En(e, r, t, o, s, i) {
|
|
|
4748
4748
|
ref: `teamSelect${h}`
|
|
4749
4749
|
}, [
|
|
4750
4750
|
p("div", sn, [
|
|
4751
|
-
u.selectedTeam && u.selectedTeam.logo ? (m(),
|
|
4751
|
+
u.selectedTeam && u.selectedTeam.logo ? (m(), y("img", {
|
|
4752
4752
|
key: 0,
|
|
4753
4753
|
src: u.selectedTeam.logo,
|
|
4754
4754
|
class: "selected-team-logo",
|
|
@@ -4761,15 +4761,15 @@ function En(e, r, t, o, s, i) {
|
|
|
4761
4761
|
p("span", null, T(u.selectedTeam ? u.selectedTeam.colloquial_name : "Seleccionar equipo"), 1),
|
|
4762
4762
|
ln
|
|
4763
4763
|
], 10, an),
|
|
4764
|
-
u.isOpen ? (m(),
|
|
4765
|
-
(m(!0),
|
|
4764
|
+
u.isOpen ? (m(), y("div", dn, [
|
|
4765
|
+
(m(!0), y(O, null, A(s.filteredTeams.sort(
|
|
4766
4766
|
(l, w) => l.colloquial_name.localeCompare(w.colloquial_name)
|
|
4767
|
-
), (l) => (m(),
|
|
4767
|
+
), (l) => (m(), y("div", {
|
|
4768
4768
|
key: l.id,
|
|
4769
4769
|
class: "option",
|
|
4770
4770
|
onClick: (w) => i.selectTeam(l, h)
|
|
4771
4771
|
}, [
|
|
4772
|
-
l.logo ? (m(),
|
|
4772
|
+
l.logo ? (m(), y("img", {
|
|
4773
4773
|
key: 0,
|
|
4774
4774
|
src: l.logo,
|
|
4775
4775
|
class: "option-team-logo",
|
|
@@ -4786,7 +4786,7 @@ function En(e, r, t, o, s, i) {
|
|
|
4786
4786
|
ref: "playerSelect"
|
|
4787
4787
|
}, [
|
|
4788
4788
|
p("div", hn, [
|
|
4789
|
-
u.selectedPlayer && u.selectedPlayer.photo ? (m(),
|
|
4789
|
+
u.selectedPlayer && u.selectedPlayer.photo ? (m(), y("img", {
|
|
4790
4790
|
key: 0,
|
|
4791
4791
|
src: u.selectedPlayer.photo,
|
|
4792
4792
|
class: "selected-player-logo",
|
|
@@ -4802,8 +4802,8 @@ function En(e, r, t, o, s, i) {
|
|
|
4802
4802
|
p("span", null, T(u.selectedPlayer ? i.formatPlayerName(u.selectedPlayer.name) : "Seleccionar jugador"), 1),
|
|
4803
4803
|
mn
|
|
4804
4804
|
], 10, pn),
|
|
4805
|
-
u.isPlayerOpen ? (m(),
|
|
4806
|
-
u.players.length > 0 ? (m(),
|
|
4805
|
+
u.isPlayerOpen ? (m(), y("div", yn, [
|
|
4806
|
+
u.players.length > 0 ? (m(), y("div", gn, [
|
|
4807
4807
|
p("div", wn, [
|
|
4808
4808
|
X(p("input", {
|
|
4809
4809
|
type: "text",
|
|
@@ -4814,23 +4814,23 @@ function En(e, r, t, o, s, i) {
|
|
|
4814
4814
|
}, null, 8, bn), [
|
|
4815
4815
|
[Yt, u.playerSearchQuery]
|
|
4816
4816
|
]),
|
|
4817
|
-
u.playerSearchQuery ? (m(),
|
|
4817
|
+
u.playerSearchQuery ? (m(), y("button", {
|
|
4818
4818
|
key: 0,
|
|
4819
4819
|
class: "clear-search",
|
|
4820
4820
|
onClick: Ze((l) => i.clearSearch(h), ["stop"])
|
|
4821
4821
|
}, " ✕ ", 8, Sn)) : v("", !0)
|
|
4822
4822
|
])
|
|
4823
4823
|
])) : v("", !0),
|
|
4824
|
-
(m(!0),
|
|
4824
|
+
(m(!0), y(O, null, A(i.filteredPlayers(h).sort(
|
|
4825
4825
|
(l, w) => i.formatPlayerName(l.name).localeCompare(i.formatPlayerName(w.name))
|
|
4826
|
-
), (l) => (m(),
|
|
4826
|
+
), (l) => (m(), y("div", {
|
|
4827
4827
|
key: l.player_id,
|
|
4828
4828
|
class: E(["option", {
|
|
4829
4829
|
selected: u.selectedPlayer && u.selectedPlayer.player_id === l.player_id
|
|
4830
4830
|
}]),
|
|
4831
4831
|
onClick: (w) => i.selectPlayer(l, h)
|
|
4832
4832
|
}, [
|
|
4833
|
-
l.photo ? (m(),
|
|
4833
|
+
l.photo ? (m(), y("img", {
|
|
4834
4834
|
key: 0,
|
|
4835
4835
|
src: l.photo,
|
|
4836
4836
|
class: "option-team-logo",
|
|
@@ -4865,7 +4865,7 @@ function En(e, r, t, o, s, i) {
|
|
|
4865
4865
|
}, {
|
|
4866
4866
|
default: q(() => [
|
|
4867
4867
|
p("div", kn, [
|
|
4868
|
-
(m(!0),
|
|
4868
|
+
(m(!0), y(O, null, A(u.playerData, (l, w) => (m(), y("div", { key: w }, [
|
|
4869
4869
|
M(n, {
|
|
4870
4870
|
data: l,
|
|
4871
4871
|
"show-videos": t.showVideos,
|
|
@@ -4876,15 +4876,15 @@ function En(e, r, t, o, s, i) {
|
|
|
4876
4876
|
])
|
|
4877
4877
|
]),
|
|
4878
4878
|
_: 2
|
|
4879
|
-
}, 1032, ["arrows-background", "arrows"])) : (m(),
|
|
4880
|
-
u.loading ? (m(),
|
|
4879
|
+
}, 1032, ["arrows-background", "arrows"])) : (m(), y("div", Tn, [
|
|
4880
|
+
u.loading ? (m(), y(O, { key: 0 }, A(4, (l) => p("div", {
|
|
4881
4881
|
key: l,
|
|
4882
4882
|
class: "skeleton-card"
|
|
4883
|
-
}, xn)), 64)) : u.selectedPlayer && u.playerData !== null && u.playerData.length === 0 ? (m(),
|
|
4883
|
+
}, xn)), 64)) : u.selectedPlayer && u.playerData !== null && u.playerData.length === 0 ? (m(), y("div", On, [
|
|
4884
4884
|
p("div", {
|
|
4885
4885
|
class: E(["message-box", { "message-box-two-lines": s.windowWidth <= 360 }])
|
|
4886
4886
|
}, T(t.isFemale === 1 ? "La jugadora" : "El jugador") + " aún no cuenta con datos destacados. ", 3)
|
|
4887
|
-
])) : (m(),
|
|
4887
|
+
])) : (m(), y(O, { key: 2 }, A(4, (l) => p("div", {
|
|
4888
4888
|
key: l,
|
|
4889
4889
|
class: "skeleton-card"
|
|
4890
4890
|
})), 64))
|
|
@@ -4892,9 +4892,9 @@ function En(e, r, t, o, s, i) {
|
|
|
4892
4892
|
])
|
|
4893
4893
|
]);
|
|
4894
4894
|
}), 128)),
|
|
4895
|
-
s.containers.length === 0 ? (m(),
|
|
4895
|
+
s.containers.length === 0 ? (m(), y("div", An, [
|
|
4896
4896
|
p("div", Pn, T(t.isFemale === 1 ? "La jugadora" : "El jugador") + " aún no cuenta con datos destacados. ", 1)
|
|
4897
|
-
])) : s.containers.length < s.maxContainers ? (m(),
|
|
4897
|
+
])) : s.containers.length < s.maxContainers ? (m(), y("div", {
|
|
4898
4898
|
key: 1,
|
|
4899
4899
|
class: "carousel-placeholder-jugadores",
|
|
4900
4900
|
onClick: r[1] || (r[1] = (...u) => i.addContainer && i.addContainer(...u))
|
|
@@ -4906,7 +4906,7 @@ const Rn = /* @__PURE__ */ Te(Qi, [["render", En], ["__scopeId", "data-v-d6c84cd
|
|
|
4906
4906
|
components: {
|
|
4907
4907
|
GscSwitchComponent: vr,
|
|
4908
4908
|
GSCSeasonSelect: Ur,
|
|
4909
|
-
GSCTournamentSelect:
|
|
4909
|
+
GSCTournamentSelect: go,
|
|
4910
4910
|
DataIAGenerales: wi,
|
|
4911
4911
|
DataIAEquipos: Ki,
|
|
4912
4912
|
DataIAJugadores: Rn
|
|
@@ -4916,6 +4916,10 @@ const Rn = /* @__PURE__ */ Te(Qi, [["render", En], ["__scopeId", "data-v-d6c84cd
|
|
|
4916
4916
|
type: String,
|
|
4917
4917
|
default: ""
|
|
4918
4918
|
},
|
|
4919
|
+
areFemaleTournamentsVisible: {
|
|
4920
|
+
type: Boolean,
|
|
4921
|
+
default: !0
|
|
4922
|
+
},
|
|
4919
4923
|
currentSeasonId: {
|
|
4920
4924
|
type: Number,
|
|
4921
4925
|
default: 0
|
|
@@ -5074,7 +5078,7 @@ const Rn = /* @__PURE__ */ Te(Qi, [["render", En], ["__scopeId", "data-v-d6c84cd
|
|
|
5074
5078
|
], h = [...this.generalTableData.data].sort((l, w) => l.team_name.localeCompare(w.team_name)), d = h.find((l) => u.includes(l.team_id));
|
|
5075
5079
|
this.torneoLiderId = d ? d.team_id : h[0].team_id, this.generalTableData.data = h;
|
|
5076
5080
|
} else if (this.tournamentType === 1 && ((i = this.generalTableData) != null && i.groups)) {
|
|
5077
|
-
const h = this.generalTableData.groups.reduce((w,
|
|
5081
|
+
const h = this.generalTableData.groups.reduce((w, g) => w.concat(g.data || []), []).sort((w, g) => w.team_name.localeCompare(g.team_name)), d = [
|
|
5078
5082
|
175,
|
|
5079
5083
|
392,
|
|
5080
5084
|
550,
|
|
@@ -5113,10 +5117,10 @@ const Rn = /* @__PURE__ */ Te(Qi, [["render", En], ["__scopeId", "data-v-d6c84cd
|
|
|
5113
5117
|
}, Nn = {
|
|
5114
5118
|
class: "data-ia-container",
|
|
5115
5119
|
ref: "container"
|
|
5116
|
-
}, Dn = { class: "data-ia-header" }, $n = { class: "tabs" }, Ln = { class: "filters" },
|
|
5120
|
+
}, Dn = { class: "data-ia-header" }, $n = { class: "tabs" }, Ln = { class: "filters" }, Fn = { class: "league-select" }, zn = { class: "season-select" };
|
|
5117
5121
|
function Mn(e, r, t, o, s, i) {
|
|
5118
5122
|
const n = $("GscSwitchComponent"), a = $("GSCTournamentSelect"), u = $("GSCSeasonSelect"), h = $("DataIAGenerales"), d = $("DataIAEquipos"), l = $("DataIAJugadores");
|
|
5119
|
-
return m(),
|
|
5123
|
+
return m(), y("div", Nn, [
|
|
5120
5124
|
p("div", Dn, [
|
|
5121
5125
|
p("h2", {
|
|
5122
5126
|
class: E(i.headerFontSize)
|
|
@@ -5140,17 +5144,18 @@ function Mn(e, r, t, o, s, i) {
|
|
|
5140
5144
|
}, null, 8, ["buttons", "selected-option", "disabled-options", "width", "onInput"])
|
|
5141
5145
|
]),
|
|
5142
5146
|
p("div", Ln, [
|
|
5143
|
-
p("div",
|
|
5147
|
+
p("div", Fn, [
|
|
5144
5148
|
M(a, {
|
|
5145
5149
|
width: i.selectWidth,
|
|
5146
5150
|
"current-season-id": t.currentSeasonId,
|
|
5147
5151
|
"tournaments-ids-to-include": e.tournamentsIdsToInclude,
|
|
5148
5152
|
"api-url": t.tournamentsApiUrl,
|
|
5153
|
+
"are-female-visible": t.areFemaleTournamentsVisible,
|
|
5149
5154
|
"is-clubes-active": t.isClubes,
|
|
5150
5155
|
onInput: i.changeTournament
|
|
5151
|
-
}, null, 8, ["width", "current-season-id", "tournaments-ids-to-include", "api-url", "is-clubes-active", "onInput"])
|
|
5156
|
+
}, null, 8, ["width", "current-season-id", "tournaments-ids-to-include", "api-url", "are-female-visible", "is-clubes-active", "onInput"])
|
|
5152
5157
|
]),
|
|
5153
|
-
p("div",
|
|
5158
|
+
p("div", zn, [
|
|
5154
5159
|
M(u, {
|
|
5155
5160
|
width: i.selectWidth,
|
|
5156
5161
|
"current-season-id": t.currentSeasonId,
|
|
@@ -5197,7 +5202,7 @@ function Mn(e, r, t, o, s, i) {
|
|
|
5197
5202
|
], 2)
|
|
5198
5203
|
], 512);
|
|
5199
5204
|
}
|
|
5200
|
-
const na = /* @__PURE__ */ Te(Bn, [["render", Mn], ["__scopeId", "data-v-
|
|
5205
|
+
const na = /* @__PURE__ */ Te(Bn, [["render", Mn], ["__scopeId", "data-v-35518d6f"]]);
|
|
5201
5206
|
export {
|
|
5202
5207
|
na as D,
|
|
5203
5208
|
Co as q
|