@golstats/gsc-relevant-data 1.0.36 → 1.0.37
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/README.md +2 -2
- package/dist/{CardBase-DJPEW7xu-DFswbthr.js → CardBase-DJPEW7xu-C1TRLlPz.js} +1 -1
- package/dist/{CardBaseAllIndividual-CJY0KdrJ-BRcPgyV4.js → CardBaseAllIndividual-CJY0KdrJ-DMbaYNd3.js} +1 -1
- package/dist/{CardGeneral-CDS08xVv-BgnA3Nqg.js → CardGeneral-CDS08xVv-BLJfsuIv.js} +2 -2
- package/dist/{CardGeneralIndividual-DoXvg6Ch-eBpVDecK.js → CardGeneralIndividual-DoXvg6Ch-CWOEGwvo.js} +2 -2
- package/dist/{CardGeneralTeams-FYzVxcB3-CHWAYyay.js → CardGeneralTeams-FYzVxcB3-DctVAVk_.js} +1 -1
- package/dist/{CardIndividual-u8FZLLmq-DuFjQsrV.js → CardIndividual-u8FZLLmq-DAfuq5wI.js} +3 -3
- package/dist/{CardIndividual1vs1-C13lA1gg-C5vylB-t.js → CardIndividual1vs1-C13lA1gg-BMcNKtYo.js} +2 -2
- package/dist/{CardIndividualAreas-D13F6fry-CUkq5F0C.js → CardIndividualAreas-D13F6fry-OkV5xCQJ.js} +2 -2
- package/dist/{CardIndividualCenters-If_CjK9--4jFKc24c.js → CardIndividualCenters-If_CjK9--isO3b94H.js} +2 -2
- package/dist/{CardIndividualDistance-DtT14cRG-Lh0aEPvU.js → CardIndividualDistance-DtT14cRG-CxTaMpvw.js} +2 -2
- package/dist/{CardIndividualFouls-Bsm2M4Gv-CSTot1dR.js → CardIndividualFouls-Bsm2M4Gv-D_mVvbGU.js} +2 -2
- package/dist/{CardIndividualGoalParticipation-DxJDrw64-lUjbFdg3.js → CardIndividualGoalParticipation-DxJDrw64-BUbp_sJO.js} +2 -2
- package/dist/{CardIndividualGoals-tVv3jx9v-DzfCbxNU.js → CardIndividualGoals-tVv3jx9v-5_1drO8K.js} +2 -2
- package/dist/{CardIndividualGold-B3awfrVU-nvDEJPSL.js → CardIndividualGold-B3awfrVU-DeEKOiFk.js} +3 -3
- package/dist/{CardIndividualNoGoalReceived-plZw_S4K-DP6E8Lv3.js → CardIndividualNoGoalReceived-plZw_S4K-BpfVs21g.js} +2 -2
- package/dist/{CardIndividualPerformance-pONmvZ---pZ_SEqXY.js → CardIndividualPerformance-pONmvZ---D8FCwgBr.js} +2 -2
- package/dist/{CardIndividualSaves-7NZaLckt-DSJly5Ac.js → CardIndividualSaves-7NZaLckt-DNnwtais.js} +2 -2
- package/dist/{CardIndividualShotsOnGoal-BA2B5zK2-C0xylOqe.js → CardIndividualShotsOnGoal-BA2B5zK2-DUZklh9Y.js} +2 -2
- package/dist/{CardIndividualStatistics-BdNBubd3-XyMTECyd.js → CardIndividualStatistics-BdNBubd3-D2B7ZDbw.js} +2 -2
- package/dist/{CardPromTournament-IvcxYf42-ByVlA4aI.js → CardPromTournament-IvcxYf42-BmpEFzUn.js} +2 -2
- package/dist/{CardSuccessfulPasses-CvGqK_hf-Ce6ANYMW.js → CardSuccessfulPasses-CvGqK_hf-C9udCZJU.js} +2 -2
- package/dist/{CardTheMostProductive-Crx3j88e-CLSNsiUj.js → CardTheMostProductive-Crx3j88e-ZNdUcaWy.js} +3 -3
- package/dist/{PlayerProfileCircle-BQwTCjvG-0nC4rraP.js → PlayerProfileCircle-BQwTCjvG-BVn0tArZ.js} +1 -1
- package/dist/{Shield-aiuYwUJa-Y41Gamiw.js → Shield-aiuYwUJa-DxniuMj6.js} +1 -1
- package/dist/css/fonts.css +127 -127
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +1 -1
- package/dist/gsc-relevant-data.umd.cjs +5 -5
- package/dist/{index-5u57JwXd.js → index-g2aMzDil.js} +205 -196
- package/package.json +43 -43
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useCssVars as me, ref as z, resolveComponent as D, createElementBlock as
|
|
1
|
+
import { useCssVars as me, ref as z, resolveComponent as D, createElementBlock as y, openBlock as p, createCommentVNode as v, createElementVNode as m, renderSlot as re, normalizeStyle as O, Fragment as x, renderList as P, toDisplayString as I, createVNode as F, withCtx as q, onMounted as ae, onUnmounted as pr, normalizeClass as T, computed as L, createBlock as U, unref as Pe, watch as G, onBeforeMount as $t, Transition as Mt, withDirectives as ee, vShow as oe, pushScopeId as le, popScopeId as de, mergeProps as mr, defineAsyncComponent as E, resolveDynamicComponent as gr, withModifiers as ct, vModelText as yr } from "vue";
|
|
2
2
|
function wr(e) {
|
|
3
3
|
const r = z({ width: 0, height: 0 });
|
|
4
4
|
function t() {
|
|
@@ -110,14 +110,14 @@ const Sr = {
|
|
|
110
110
|
class: "scrollable-container"
|
|
111
111
|
}, vr = { class: "scrollable-arrows" }, _r = ["width", "height", "viewBox"], Cr = ["stroke"], kr = { class: "scrollable-wrapper" }, Ir = { class: "scrollable-arrows" }, Tr = ["width", "height", "viewBox"], Or = ["stroke"];
|
|
112
112
|
function xr(e, r, t, i, s, o) {
|
|
113
|
-
return p(),
|
|
114
|
-
t.arrows ? (p(),
|
|
113
|
+
return p(), y("div", Sr, [
|
|
114
|
+
t.arrows ? (p(), y("div", {
|
|
115
115
|
key: 0,
|
|
116
116
|
class: T(["arrows-container", o.hideShowLeftArrow]),
|
|
117
117
|
onClick: r[0] || (r[0] = (...n) => o.scrollLeft && o.scrollLeft(...n))
|
|
118
118
|
}, [
|
|
119
119
|
m("div", vr, [
|
|
120
|
-
(p(),
|
|
120
|
+
(p(), y("svg", {
|
|
121
121
|
width: t.arrowsWidth,
|
|
122
122
|
height: t.arrowsHeight,
|
|
123
123
|
viewBox: o.getViewBox,
|
|
@@ -140,14 +140,14 @@ function xr(e, r, t, i, s, o) {
|
|
|
140
140
|
re(e.$slots, "default", {}, void 0, !0)
|
|
141
141
|
])
|
|
142
142
|
], 544),
|
|
143
|
-
t.arrows ? (p(),
|
|
143
|
+
t.arrows ? (p(), y("div", {
|
|
144
144
|
key: 1,
|
|
145
145
|
id: "arrows-container-right",
|
|
146
146
|
class: T(["arrows-container", o.hideShowRightArrow]),
|
|
147
147
|
onClick: r[2] || (r[2] = (...n) => o.scrollRight && o.scrollRight(...n))
|
|
148
148
|
}, [
|
|
149
149
|
m("div", Ir, [
|
|
150
|
-
(p(),
|
|
150
|
+
(p(), y("svg", {
|
|
151
151
|
width: t.arrowsWidth,
|
|
152
152
|
height: t.arrowsHeight,
|
|
153
153
|
viewBox: o.getViewBox,
|
|
@@ -306,13 +306,13 @@ const Er = { ref: "myDivRef" }, Rr = {
|
|
|
306
306
|
}, Lr = ["onClick"];
|
|
307
307
|
function zr(e, r, t, i, s, o) {
|
|
308
308
|
const n = D("GSCSlider");
|
|
309
|
-
return p(),
|
|
310
|
-
t.type == 0 ? (p(),
|
|
309
|
+
return p(), y("div", Er, [
|
|
310
|
+
t.type == 0 ? (p(), y("div", Rr, [
|
|
311
311
|
m("div", {
|
|
312
312
|
class: "gs-switch-container__control",
|
|
313
313
|
style: O([o.customGrid(i.elementSize)])
|
|
314
314
|
}, [
|
|
315
|
-
(p(!0),
|
|
315
|
+
(p(!0), y(x, null, P(t.buttons, (a, d) => (p(), y("div", {
|
|
316
316
|
class: "gs-switch-container__control__button-option",
|
|
317
317
|
style: O([{ 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: d,
|
|
@@ -321,12 +321,12 @@ function zr(e, r, t, i, s, o) {
|
|
|
321
321
|
], 4),
|
|
322
322
|
re(e.$slots, t.selectedOption, {}, void 0, !0)
|
|
323
323
|
])) : v("", !0),
|
|
324
|
-
t.type == 1 ? (p(),
|
|
324
|
+
t.type == 1 ? (p(), y("div", Nr, [
|
|
325
325
|
m("div", {
|
|
326
326
|
class: "gs-switch-container-type__control",
|
|
327
327
|
style: O([o.customGrid(i.elementSize)])
|
|
328
328
|
}, [
|
|
329
|
-
(p(!0),
|
|
329
|
+
(p(!0), y(x, null, P(t.buttons, (a, d) => (p(), y("div", {
|
|
330
330
|
class: "gs-switch-container-type__control__button-option-type",
|
|
331
331
|
style: O([{ 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: d,
|
|
@@ -334,7 +334,7 @@ function zr(e, r, t, i, s, o) {
|
|
|
334
334
|
}, I(a), 13, Dr))), 128))
|
|
335
335
|
], 4)
|
|
336
336
|
])) : v("", !0),
|
|
337
|
-
t.type == 2 ? (p(),
|
|
337
|
+
t.type == 2 ? (p(), y("div", Fr, [
|
|
338
338
|
F(n, {
|
|
339
339
|
arrows: t.arrow,
|
|
340
340
|
"background-color": t.background,
|
|
@@ -350,7 +350,7 @@ function zr(e, r, t, i, s, o) {
|
|
|
350
350
|
"arrows-border": t.arrowsBorder
|
|
351
351
|
}, {
|
|
352
352
|
default: q(() => [
|
|
353
|
-
(p(!0),
|
|
353
|
+
(p(!0), y(x, null, P(t.buttons, (a, d) => (p(), y("div", {
|
|
354
354
|
class: "button-option-multi",
|
|
355
355
|
style: O([{ 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: d,
|
|
@@ -467,28 +467,28 @@ const Wr = (e) => (le("data-v-f3ee6b2b"), e = e(), de(), e), Ur = ["src"], jr =
|
|
|
467
467
|
src: "https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"
|
|
468
468
|
}, null, -1)), Jr = { class: "numstats" }, Gr = { class: "leyend" };
|
|
469
469
|
function Xr(e, r, t, i, s, o) {
|
|
470
|
-
return p(),
|
|
471
|
-
t.type == 0 ? (p(),
|
|
470
|
+
return p(), y("div", null, [
|
|
471
|
+
t.type == 0 ? (p(), y("div", {
|
|
472
472
|
key: 0,
|
|
473
473
|
class: T(["button", s.status && t.typeOnOff && "button-active"]),
|
|
474
474
|
style: O([o.customStyle, s.status && t.typeOnOff && o.customActive]),
|
|
475
475
|
onClick: r[0] || (r[0] = (...n) => o.btnClick && o.btnClick(...n))
|
|
476
476
|
}, [
|
|
477
|
-
t.icon && t.iconPosition.toLowerCase() === "left" ? (p(),
|
|
477
|
+
t.icon && t.iconPosition.toLowerCase() === "left" ? (p(), y("img", {
|
|
478
478
|
key: 0,
|
|
479
479
|
class: "icon",
|
|
480
480
|
style: O({ width: t.iconSize }),
|
|
481
481
|
src: t.icon
|
|
482
482
|
}, null, 12, Ur)) : v("", !0),
|
|
483
|
-
t.textValue ? (p(),
|
|
484
|
-
t.icon && t.iconPosition.toLowerCase() === "right" ? (p(),
|
|
483
|
+
t.textValue ? (p(), y("div", jr, I(t.textValue), 1)) : v("", !0),
|
|
484
|
+
t.icon && t.iconPosition.toLowerCase() === "right" ? (p(), y("img", {
|
|
485
485
|
key: 2,
|
|
486
486
|
class: "icon",
|
|
487
487
|
style: O({ width: t.iconSize }),
|
|
488
488
|
src: t.icon
|
|
489
489
|
}, null, 12, qr)) : v("", !0)
|
|
490
490
|
], 6)) : v("", !0),
|
|
491
|
-
t.type == 1 ? (p(),
|
|
491
|
+
t.type == 1 ? (p(), y("div", {
|
|
492
492
|
key: 1,
|
|
493
493
|
class: "button-target",
|
|
494
494
|
onClick: r[1] || (r[1] = (...n) => o.btnClick && o.btnClick(...n))
|
|
@@ -672,10 +672,10 @@ const Zr = /* @__PURE__ */ Mr(Ze, [["render", Xr], ["__scopeId", "data-v-f3ee6b2
|
|
|
672
672
|
(b, h) => {
|
|
673
673
|
if (!t.modelValue && (!t.onlyFirstTime || !h || !h.length) && b && b.length) {
|
|
674
674
|
if (t.defaultItemByProp) {
|
|
675
|
-
const
|
|
675
|
+
const g = t.items.findIndex(
|
|
676
676
|
(w) => w[t.defaultItemByProp.propName] === t.defaultItemByProp.value
|
|
677
677
|
);
|
|
678
|
-
|
|
678
|
+
g !== -1 ? (o.value = g, i.value = b[g]) : (o.value = 0, i.value = b[0]);
|
|
679
679
|
} else
|
|
680
680
|
i.value = b[t.defaultItemByIndex];
|
|
681
681
|
r("input", i.value);
|
|
@@ -686,7 +686,7 @@ const Zr = /* @__PURE__ */ Mr(Ze, [["render", Xr], ["__scopeId", "data-v-f3ee6b2
|
|
|
686
686
|
() => t.modelValue,
|
|
687
687
|
(b) => {
|
|
688
688
|
if (b) {
|
|
689
|
-
const h = t.items.findIndex((
|
|
689
|
+
const h = t.items.findIndex((g) => typeof b == "object" ? JSON.stringify(g) === JSON.stringify(b) : g === b);
|
|
690
690
|
h !== -1 && (o.value = h, i.value = t.items[h], r("update:modelValue", i.value));
|
|
691
691
|
}
|
|
692
692
|
},
|
|
@@ -740,7 +740,7 @@ const Zr = /* @__PURE__ */ Mr(Ze, [["render", Xr], ["__scopeId", "data-v-f3ee6b2
|
|
|
740
740
|
document.addEventListener("click", l);
|
|
741
741
|
}), $t(() => {
|
|
742
742
|
document.removeEventListener("click", l);
|
|
743
|
-
}), (b, h) => (p(),
|
|
743
|
+
}), (b, h) => (p(), y("div", {
|
|
744
744
|
ref_key: "dropDown",
|
|
745
745
|
ref: s,
|
|
746
746
|
class: "gsc-dropdown",
|
|
@@ -758,7 +758,7 @@ const Zr = /* @__PURE__ */ Mr(Ze, [["render", Xr], ["__scopeId", "data-v-f3ee6b2
|
|
|
758
758
|
class: T(["gsc-dropdown__main-container__icon", { "rotated-180": n.value }]),
|
|
759
759
|
style: O(d.value)
|
|
760
760
|
}, [
|
|
761
|
-
(p(),
|
|
761
|
+
(p(), y("svg", {
|
|
762
762
|
height: e.arrowHeight,
|
|
763
763
|
width: e.arrowWidth,
|
|
764
764
|
viewBox: "0 0 24 24",
|
|
@@ -780,15 +780,15 @@ const Zr = /* @__PURE__ */ Mr(Ze, [["render", Xr], ["__scopeId", "data-v-f3ee6b2
|
|
|
780
780
|
class: "gsc-dropdown__items",
|
|
781
781
|
style: O({ "margin-top": `${t.borderWidth}px` })
|
|
782
782
|
}, [
|
|
783
|
-
(p(!0),
|
|
783
|
+
(p(!0), y(x, null, P(e.items, (g, w) => (p(), y("div", {
|
|
784
784
|
class: T(["gsc-dropdown__items__item", { selected: w === o.value }]),
|
|
785
785
|
key: w,
|
|
786
|
-
onClick: (C) => u(
|
|
786
|
+
onClick: (C) => u(g, w)
|
|
787
787
|
}, [
|
|
788
|
-
re(b.$slots, "availableItem", { item:
|
|
788
|
+
re(b.$slots, "availableItem", { item: g })
|
|
789
789
|
], 10, ts))), 128))
|
|
790
790
|
], 4),
|
|
791
|
-
e.isFooterVisible ? (p(),
|
|
791
|
+
e.isFooterVisible ? (p(), y("div", rs, [
|
|
792
792
|
F(Pe(Zr), {
|
|
793
793
|
"text-value": "Listo",
|
|
794
794
|
"border-color": "#cbee6b",
|
|
@@ -969,28 +969,28 @@ const cs = (e) => (le("data-v-f3ee6b2b"), e = e(), de(), e), us = ["src"], hs =
|
|
|
969
969
|
src: "https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"
|
|
970
970
|
}, null, -1)), gs = { class: "numstats" }, ys = { class: "leyend" };
|
|
971
971
|
function ws(e, r, t, i, s, o) {
|
|
972
|
-
return p(),
|
|
973
|
-
t.type == 0 ? (p(),
|
|
972
|
+
return p(), y("div", null, [
|
|
973
|
+
t.type == 0 ? (p(), y("div", {
|
|
974
974
|
key: 0,
|
|
975
975
|
class: T(["button", s.status && t.typeOnOff && "button-active"]),
|
|
976
976
|
style: O([o.customStyle, s.status && t.typeOnOff && o.customActive]),
|
|
977
977
|
onClick: r[0] || (r[0] = (...n) => o.btnClick && o.btnClick(...n))
|
|
978
978
|
}, [
|
|
979
|
-
t.icon && t.iconPosition.toLowerCase() === "left" ? (p(),
|
|
979
|
+
t.icon && t.iconPosition.toLowerCase() === "left" ? (p(), y("img", {
|
|
980
980
|
key: 0,
|
|
981
981
|
class: "icon",
|
|
982
982
|
style: O({ width: t.iconSize }),
|
|
983
983
|
src: t.icon
|
|
984
984
|
}, null, 12, us)) : v("", !0),
|
|
985
|
-
t.textValue ? (p(),
|
|
986
|
-
t.icon && t.iconPosition.toLowerCase() === "right" ? (p(),
|
|
985
|
+
t.textValue ? (p(), y("div", hs, I(t.textValue), 1)) : v("", !0),
|
|
986
|
+
t.icon && t.iconPosition.toLowerCase() === "right" ? (p(), y("img", {
|
|
987
987
|
key: 2,
|
|
988
988
|
class: "icon",
|
|
989
989
|
style: O({ width: t.iconSize }),
|
|
990
990
|
src: t.icon
|
|
991
991
|
}, null, 12, fs)) : v("", !0)
|
|
992
992
|
], 6)) : v("", !0),
|
|
993
|
-
t.type == 1 ? (p(),
|
|
993
|
+
t.type == 1 ? (p(), y("div", {
|
|
994
994
|
key: 1,
|
|
995
995
|
class: "button-target",
|
|
996
996
|
onClick: r[1] || (r[1] = (...n) => o.btnClick && o.btnClick(...n))
|
|
@@ -1188,10 +1188,10 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1188
1188
|
(b, h) => {
|
|
1189
1189
|
if (!t.modelValue && (!t.onlyFirstTime || !h || !h.length) && b && b.length) {
|
|
1190
1190
|
if (t.defaultItemByProp) {
|
|
1191
|
-
const
|
|
1191
|
+
const g = t.items.findIndex(
|
|
1192
1192
|
(w) => w[t.defaultItemByProp.propName] === t.defaultItemByProp.value
|
|
1193
1193
|
);
|
|
1194
|
-
|
|
1194
|
+
g !== -1 ? (o.value = g, i.value = b[g]) : (o.value = 0, i.value = b[0]);
|
|
1195
1195
|
} else
|
|
1196
1196
|
i.value = b[t.defaultItemByIndex];
|
|
1197
1197
|
r("input", i.value);
|
|
@@ -1202,7 +1202,7 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1202
1202
|
() => t.modelValue,
|
|
1203
1203
|
(b) => {
|
|
1204
1204
|
if (b) {
|
|
1205
|
-
const h = t.items.findIndex((
|
|
1205
|
+
const h = t.items.findIndex((g) => typeof b == "object" ? JSON.stringify(g) === JSON.stringify(b) : g === b);
|
|
1206
1206
|
h !== -1 && (o.value = h, i.value = t.items[h], r("update:modelValue", i.value));
|
|
1207
1207
|
}
|
|
1208
1208
|
},
|
|
@@ -1256,7 +1256,7 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1256
1256
|
document.addEventListener("click", l);
|
|
1257
1257
|
}), $t(() => {
|
|
1258
1258
|
document.removeEventListener("click", l);
|
|
1259
|
-
}), (b, h) => (p(),
|
|
1259
|
+
}), (b, h) => (p(), y("div", {
|
|
1260
1260
|
ref_key: "dropDown",
|
|
1261
1261
|
ref: s,
|
|
1262
1262
|
class: "gsc-dropdown",
|
|
@@ -1274,7 +1274,7 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1274
1274
|
class: T(["gsc-dropdown__main-container__icon", { "rotated-180": n.value }]),
|
|
1275
1275
|
style: O(d.value)
|
|
1276
1276
|
}, [
|
|
1277
|
-
e.iconType === 1 ? (p(),
|
|
1277
|
+
e.iconType === 1 ? (p(), y("svg", {
|
|
1278
1278
|
key: 0,
|
|
1279
1279
|
height: e.arrowHeight,
|
|
1280
1280
|
width: e.arrowWidth,
|
|
@@ -1286,7 +1286,7 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1286
1286
|
d: "M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",
|
|
1287
1287
|
stroke: e.arrowColor
|
|
1288
1288
|
}, null, 8, _s)
|
|
1289
|
-
], 8, vs)) : (p(),
|
|
1289
|
+
], 8, vs)) : (p(), y("svg", Cs, [
|
|
1290
1290
|
m("path", {
|
|
1291
1291
|
"fill-rule": "evenodd",
|
|
1292
1292
|
"clip-rule": "evenodd",
|
|
@@ -1304,19 +1304,19 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1304
1304
|
class: "gsc-dropdown__items",
|
|
1305
1305
|
style: O({ "margin-top": `${t.borderWidth}px` })
|
|
1306
1306
|
}, [
|
|
1307
|
-
(p(!0),
|
|
1308
|
-
ee((p(),
|
|
1307
|
+
(p(!0), y(x, null, P(e.items, (g, w) => (p(), y("div", null, [
|
|
1308
|
+
ee((p(), y("div", {
|
|
1309
1309
|
class: T(["gsc-dropdown__items__item", { selected: w === o.value }]),
|
|
1310
1310
|
key: w,
|
|
1311
|
-
onClick: (C) => u(
|
|
1311
|
+
onClick: (C) => u(g, w)
|
|
1312
1312
|
}, [
|
|
1313
|
-
re(b.$slots, "availableItem", { item:
|
|
1313
|
+
re(b.$slots, "availableItem", { item: g })
|
|
1314
1314
|
], 10, Ts)), [
|
|
1315
|
-
[oe, !
|
|
1315
|
+
[oe, !g.isHidden]
|
|
1316
1316
|
])
|
|
1317
1317
|
]))), 256))
|
|
1318
1318
|
], 4),
|
|
1319
|
-
e.isFooterVisible ? (p(),
|
|
1319
|
+
e.isFooterVisible ? (p(), y("div", Os, [
|
|
1320
1320
|
F(Pe(bs), {
|
|
1321
1321
|
"text-value": "Listo",
|
|
1322
1322
|
"border-color": "#cbee6b",
|
|
@@ -1448,14 +1448,21 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1448
1448
|
areFemaleVisible: {
|
|
1449
1449
|
type: Boolean,
|
|
1450
1450
|
default: !0
|
|
1451
|
+
},
|
|
1452
|
+
isFemaleMode: {
|
|
1453
|
+
type: Boolean,
|
|
1454
|
+
default: !1
|
|
1451
1455
|
}
|
|
1452
1456
|
},
|
|
1453
1457
|
emits: ["input", "change-tournaments"],
|
|
1454
1458
|
setup(e, { emit: r }) {
|
|
1455
1459
|
const t = e, i = /* @__PURE__ */ new Set(["tops", "table", "dataia"]), s = z([]), o = L(() => {
|
|
1456
|
-
const
|
|
1457
|
-
return t.fontFamily && (
|
|
1458
|
-
}), n = L(() => s.value.filter((
|
|
1460
|
+
const g = {};
|
|
1461
|
+
return t.fontFamily && (g["font-family"] = `${t.fontFamily}`), g;
|
|
1462
|
+
}), n = L(() => s.value.filter((g) => !g.isHidden)), a = L(() => {
|
|
1463
|
+
const g = t.isFemaleMode ? n.value.filter((w) => w.is_female) : n.value;
|
|
1464
|
+
return g.find((w) => w.seasonsIds.has(t.currentSeasonId)) || g[0];
|
|
1465
|
+
}), d = L(() => t.isFemaleMode ? n.value.filter((g) => g.is_female) : t.areFemaleVisible ? s.value : s.value.filter((g) => !g.is_female));
|
|
1459
1466
|
G(
|
|
1460
1467
|
() => t.isClubesActive,
|
|
1461
1468
|
() => {
|
|
@@ -1475,8 +1482,8 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1475
1482
|
}
|
|
1476
1483
|
);
|
|
1477
1484
|
function f() {
|
|
1478
|
-
s.value.forEach((
|
|
1479
|
-
|
|
1485
|
+
s.value.forEach((g) => {
|
|
1486
|
+
g.isHidden = !t.isClubesActive && g.isClub || t.isClubesActive && !g.isClub || t.routeName && g.tournament_type === 4 && i.has(t.routeName);
|
|
1480
1487
|
});
|
|
1481
1488
|
}
|
|
1482
1489
|
async function l() {
|
|
@@ -1484,8 +1491,8 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1484
1491
|
if (t.items && t.items.length)
|
|
1485
1492
|
s.value = [...t.items];
|
|
1486
1493
|
else {
|
|
1487
|
-
const
|
|
1488
|
-
r("change-tournaments",
|
|
1494
|
+
const g = await S();
|
|
1495
|
+
r("change-tournaments", g), s.value = g.sort((w, C) => w.tournament.order - C.tournament.order).reduce((w, C) => {
|
|
1489
1496
|
if (t.tournamentsIdsToInclude && t.tournamentsIdsToInclude.size && !t.tournamentsIdsToInclude.has(C.id))
|
|
1490
1497
|
return w;
|
|
1491
1498
|
const R = {
|
|
@@ -1498,30 +1505,30 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1498
1505
|
return R.isHidden = !t.avoidTournamentFilter && (!t.isClubesActive && R.isClub || t.isClubesActive && !R.isClub), w.push(R), w;
|
|
1499
1506
|
}, []);
|
|
1500
1507
|
}
|
|
1501
|
-
} catch (
|
|
1502
|
-
throw new Error(
|
|
1508
|
+
} catch (g) {
|
|
1509
|
+
throw new Error(g);
|
|
1503
1510
|
}
|
|
1504
1511
|
}
|
|
1505
|
-
function u(
|
|
1506
|
-
const w = new XMLHttpRequest(), C = `${t.logosUrl}${
|
|
1512
|
+
function u(g) {
|
|
1513
|
+
const w = new XMLHttpRequest(), C = `${t.logosUrl}${g}.${t.logoFileType}`;
|
|
1507
1514
|
return w.open("HEAD", C, !1), w.send(), w.status !== 404;
|
|
1508
1515
|
}
|
|
1509
1516
|
async function S() {
|
|
1510
1517
|
try {
|
|
1511
1518
|
return (await fetch(t.apiUrl || Ns)).json();
|
|
1512
|
-
} catch (
|
|
1513
|
-
return Promise.reject(
|
|
1519
|
+
} catch (g) {
|
|
1520
|
+
return Promise.reject(g);
|
|
1514
1521
|
}
|
|
1515
1522
|
}
|
|
1516
|
-
function b(
|
|
1517
|
-
r("input",
|
|
1523
|
+
function b(g) {
|
|
1524
|
+
r("input", g);
|
|
1518
1525
|
}
|
|
1519
|
-
function h(
|
|
1520
|
-
r("input",
|
|
1526
|
+
function h(g) {
|
|
1527
|
+
r("input", g);
|
|
1521
1528
|
}
|
|
1522
1529
|
return ae(() => {
|
|
1523
1530
|
l();
|
|
1524
|
-
}), (
|
|
1531
|
+
}), (g, w) => (p(), y("div", {
|
|
1525
1532
|
class: "tournament-select",
|
|
1526
1533
|
style: O(o.value)
|
|
1527
1534
|
}, [
|
|
@@ -1535,7 +1542,7 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1535
1542
|
default: q(({ selectedItem: C }) => [
|
|
1536
1543
|
m("div", Ps, [
|
|
1537
1544
|
m("div", Es, [
|
|
1538
|
-
u(C.id) ? (p(),
|
|
1545
|
+
u(C.id) ? (p(), y("img", {
|
|
1539
1546
|
key: 0,
|
|
1540
1547
|
src: `${t.logosUrl}${C.id}.${t.logoFileType}`,
|
|
1541
1548
|
alt: ""
|
|
@@ -1551,7 +1558,7 @@ const bs = /* @__PURE__ */ ds(Ke, [["render", ws], ["__scopeId", "data-v-f3ee6b2
|
|
|
1551
1558
|
}, 16, ["list-height", "model-value", "items"])
|
|
1552
1559
|
], 4));
|
|
1553
1560
|
}
|
|
1554
|
-
}, Fs = /* @__PURE__ */ As(Ds, [["__scopeId", "data-v-
|
|
1561
|
+
}, Fs = /* @__PURE__ */ As(Ds, [["__scopeId", "data-v-ef0319e5"]]);
|
|
1555
1562
|
function Ls(e) {
|
|
1556
1563
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1557
1564
|
}
|
|
@@ -1629,26 +1636,26 @@ const Ws = /* @__PURE__ */ Ls(Ms), Us = {
|
|
|
1629
1636
|
emits: ["open-media"],
|
|
1630
1637
|
setup(e, { emit: r }) {
|
|
1631
1638
|
const t = {
|
|
1632
|
-
CardGeneral: E(() => import("./CardGeneral-CDS08xVv-
|
|
1633
|
-
CardGeneralIndividual: E(() => import("./CardGeneralIndividual-DoXvg6Ch-
|
|
1634
|
-
CardGeneralTeams: E(() => import("./CardGeneralTeams-FYzVxcB3-
|
|
1635
|
-
CardIndividual: E(() => import("./CardIndividual-u8FZLLmq-
|
|
1636
|
-
CardIndividualDistance: E(() => import("./CardIndividualDistance-DtT14cRG-
|
|
1637
|
-
CardIndividualAreas: E(() => import("./CardIndividualAreas-D13F6fry-
|
|
1638
|
-
CardIndividualGoalParticipation: E(() => import("./CardIndividualGoalParticipation-DxJDrw64-
|
|
1639
|
-
CardIndividualGoals: E(() => import("./CardIndividualGoals-tVv3jx9v-
|
|
1640
|
-
CardIndividualShotsOnGoal: E(() => import("./CardIndividualShotsOnGoal-BA2B5zK2-
|
|
1641
|
-
CardIndividualFouls: E(() => import("./CardIndividualFouls-Bsm2M4Gv-
|
|
1642
|
-
CardIndividualCenters: E(() => import("./CardIndividualCenters-If_CjK9--
|
|
1643
|
-
CardIndividualSaves: E(() => import("./CardIndividualSaves-7NZaLckt-
|
|
1644
|
-
CardIndividual1vs1: E(() => import("./CardIndividual1vs1-C13lA1gg-
|
|
1645
|
-
CardIndividualStatistics: E(() => import("./CardIndividualStatistics-BdNBubd3-
|
|
1646
|
-
CardIndividualPerformance: E(() => import("./CardIndividualPerformance-pONmvZ---
|
|
1647
|
-
CardIndividualGold: E(() => import("./CardIndividualGold-B3awfrVU-
|
|
1648
|
-
CardPromTournament: E(() => import("./CardPromTournament-IvcxYf42-
|
|
1649
|
-
CardIndividualNoGoalReceived: E(() => import("./CardIndividualNoGoalReceived-plZw_S4K-
|
|
1650
|
-
CardTheMostProductive: E(() => import("./CardTheMostProductive-Crx3j88e-
|
|
1651
|
-
CardSuccessfulPasses: E(() => import("./CardSuccessfulPasses-CvGqK_hf-
|
|
1639
|
+
CardGeneral: E(() => import("./CardGeneral-CDS08xVv-BLJfsuIv.js")),
|
|
1640
|
+
CardGeneralIndividual: E(() => import("./CardGeneralIndividual-DoXvg6Ch-CWOEGwvo.js")),
|
|
1641
|
+
CardGeneralTeams: E(() => import("./CardGeneralTeams-FYzVxcB3-DctVAVk_.js")),
|
|
1642
|
+
CardIndividual: E(() => import("./CardIndividual-u8FZLLmq-DAfuq5wI.js")),
|
|
1643
|
+
CardIndividualDistance: E(() => import("./CardIndividualDistance-DtT14cRG-CxTaMpvw.js")),
|
|
1644
|
+
CardIndividualAreas: E(() => import("./CardIndividualAreas-D13F6fry-OkV5xCQJ.js")),
|
|
1645
|
+
CardIndividualGoalParticipation: E(() => import("./CardIndividualGoalParticipation-DxJDrw64-BUbp_sJO.js")),
|
|
1646
|
+
CardIndividualGoals: E(() => import("./CardIndividualGoals-tVv3jx9v-5_1drO8K.js")),
|
|
1647
|
+
CardIndividualShotsOnGoal: E(() => import("./CardIndividualShotsOnGoal-BA2B5zK2-DUZklh9Y.js")),
|
|
1648
|
+
CardIndividualFouls: E(() => import("./CardIndividualFouls-Bsm2M4Gv-D_mVvbGU.js")),
|
|
1649
|
+
CardIndividualCenters: E(() => import("./CardIndividualCenters-If_CjK9--isO3b94H.js")),
|
|
1650
|
+
CardIndividualSaves: E(() => import("./CardIndividualSaves-7NZaLckt-DNnwtais.js")),
|
|
1651
|
+
CardIndividual1vs1: E(() => import("./CardIndividual1vs1-C13lA1gg-BMcNKtYo.js")),
|
|
1652
|
+
CardIndividualStatistics: E(() => import("./CardIndividualStatistics-BdNBubd3-D2B7ZDbw.js")),
|
|
1653
|
+
CardIndividualPerformance: E(() => import("./CardIndividualPerformance-pONmvZ---D8FCwgBr.js")),
|
|
1654
|
+
CardIndividualGold: E(() => import("./CardIndividualGold-B3awfrVU-DeEKOiFk.js")),
|
|
1655
|
+
CardPromTournament: E(() => import("./CardPromTournament-IvcxYf42-BmpEFzUn.js")),
|
|
1656
|
+
CardIndividualNoGoalReceived: E(() => import("./CardIndividualNoGoalReceived-plZw_S4K-BpfVs21g.js")),
|
|
1657
|
+
CardTheMostProductive: E(() => import("./CardTheMostProductive-Crx3j88e-ZNdUcaWy.js")),
|
|
1658
|
+
CardSuccessfulPasses: E(() => import("./CardSuccessfulPasses-CvGqK_hf-C9udCZJU.js"))
|
|
1652
1659
|
}, i = [
|
|
1653
1660
|
{
|
|
1654
1661
|
componentName: "CardGeneral",
|
|
@@ -1999,7 +2006,7 @@ const Ws = /* @__PURE__ */ Ls(Ms), Us = {
|
|
|
1999
2006
|
"6-e"
|
|
2000
2007
|
]
|
|
2001
2008
|
}
|
|
2002
|
-
].reduce((b, { componentName: h, ids:
|
|
2009
|
+
].reduce((b, { componentName: h, ids: g }) => (g.forEach((w) => {
|
|
2003
2010
|
b.set(w, h);
|
|
2004
2011
|
}), b), /* @__PURE__ */ new Map()), s = e, o = r, n = L(() => i.get(s.data.id)), a = L(() => t[n.value]), d = L(() => s.showVideos && s.data.show_videos), f = L(() => {
|
|
2005
2012
|
const b = s.data.id.includes("-e"), h = s.data.id.includes("-g");
|
|
@@ -2054,7 +2061,7 @@ const Ws = /* @__PURE__ */ Ls(Ms), Us = {
|
|
|
2054
2061
|
}
|
|
2055
2062
|
return ae(() => {
|
|
2056
2063
|
Ws.on(l.value, S);
|
|
2057
|
-
}), (b, h) => a.value ? (p(),
|
|
2064
|
+
}), (b, h) => a.value ? (p(), y("div", Us, [
|
|
2058
2065
|
(p(), U(gr(a.value), {
|
|
2059
2066
|
data: u.value,
|
|
2060
2067
|
height: e.height,
|
|
@@ -2164,14 +2171,14 @@ const qs = {
|
|
|
2164
2171
|
class: "scrollable-container"
|
|
2165
2172
|
}, Hs = { class: "scrollable-arrows" }, Vs = ["width", "height", "viewBox"], Js = ["stroke"], Gs = { class: "scrollable-wrapper" }, Xs = { class: "scrollable-arrows" }, Zs = ["width", "height", "viewBox"], Ks = ["stroke"];
|
|
2166
2173
|
function Qs(e, r, t, i, s, o) {
|
|
2167
|
-
return p(),
|
|
2168
|
-
t.arrows ? (p(),
|
|
2174
|
+
return p(), y("div", qs, [
|
|
2175
|
+
t.arrows ? (p(), y("div", {
|
|
2169
2176
|
key: 0,
|
|
2170
2177
|
class: T(["arrows-container", o.hideShowLeftArrow]),
|
|
2171
2178
|
onClick: r[0] || (r[0] = (...n) => o.scrollLeft && o.scrollLeft(...n))
|
|
2172
2179
|
}, [
|
|
2173
2180
|
m("div", Hs, [
|
|
2174
|
-
(p(),
|
|
2181
|
+
(p(), y("svg", {
|
|
2175
2182
|
width: t.arrowsWidth,
|
|
2176
2183
|
height: t.arrowsHeight,
|
|
2177
2184
|
viewBox: o.getViewBox,
|
|
@@ -2194,14 +2201,14 @@ function Qs(e, r, t, i, s, o) {
|
|
|
2194
2201
|
re(e.$slots, "default", {}, void 0, !0)
|
|
2195
2202
|
])
|
|
2196
2203
|
], 544),
|
|
2197
|
-
t.arrows ? (p(),
|
|
2204
|
+
t.arrows ? (p(), y("div", {
|
|
2198
2205
|
key: 1,
|
|
2199
2206
|
id: "arrows-container-right",
|
|
2200
2207
|
class: T(["arrows-container", o.hideShowRightArrow]),
|
|
2201
2208
|
onClick: r[2] || (r[2] = (...n) => o.scrollRight && o.scrollRight(...n))
|
|
2202
2209
|
}, [
|
|
2203
2210
|
m("div", Xs, [
|
|
2204
|
-
(p(),
|
|
2211
|
+
(p(), y("svg", {
|
|
2205
2212
|
width: t.arrowsWidth,
|
|
2206
2213
|
height: t.arrowsHeight,
|
|
2207
2214
|
viewBox: o.getViewBox,
|
|
@@ -2533,8 +2540,8 @@ function Ne(e, r, t) {
|
|
|
2533
2540
|
metaTokens: !0,
|
|
2534
2541
|
dots: !1,
|
|
2535
2542
|
indexes: !1
|
|
2536
|
-
}, !1, function(
|
|
2537
|
-
return !c.isUndefined(w[
|
|
2543
|
+
}, !1, function(g, w) {
|
|
2544
|
+
return !c.isUndefined(w[g]);
|
|
2538
2545
|
});
|
|
2539
2546
|
const i = t.metaTokens, s = t.visitor || l, o = t.dots, n = t.indexes, d = (t.Blob || typeof Blob < "u" && Blob) && c.isSpecCompliantForm(r);
|
|
2540
2547
|
if (!c.isFunction(s))
|
|
@@ -2549,39 +2556,39 @@ function Ne(e, r, t) {
|
|
|
2549
2556
|
throw new _("Blob is not supported. Use a Buffer instead.");
|
|
2550
2557
|
return c.isArrayBuffer(h) || c.isTypedArray(h) ? d && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
|
|
2551
2558
|
}
|
|
2552
|
-
function l(h,
|
|
2559
|
+
function l(h, g, w) {
|
|
2553
2560
|
let C = h;
|
|
2554
2561
|
if (h && !w && typeof h == "object") {
|
|
2555
|
-
if (c.endsWith(
|
|
2556
|
-
|
|
2557
|
-
else if (c.isArray(h) && $i(h) || (c.isFileList(h) || c.endsWith(
|
|
2558
|
-
return
|
|
2562
|
+
if (c.endsWith(g, "{}"))
|
|
2563
|
+
g = i ? g : g.slice(0, -2), h = JSON.stringify(h);
|
|
2564
|
+
else if (c.isArray(h) && $i(h) || (c.isFileList(h) || c.endsWith(g, "[]")) && (C = c.toArray(h)))
|
|
2565
|
+
return g = Kt(g), C.forEach(function(A, B) {
|
|
2559
2566
|
!(c.isUndefined(A) || A === null) && r.append(
|
|
2560
2567
|
// eslint-disable-next-line no-nested-ternary
|
|
2561
|
-
n === !0 ? kt([
|
|
2568
|
+
n === !0 ? kt([g], B, o) : n === null ? g : g + "[]",
|
|
2562
2569
|
f(A)
|
|
2563
2570
|
);
|
|
2564
2571
|
}), !1;
|
|
2565
2572
|
}
|
|
2566
|
-
return qe(h) ? !0 : (r.append(kt(w,
|
|
2573
|
+
return qe(h) ? !0 : (r.append(kt(w, g, o), f(h)), !1);
|
|
2567
2574
|
}
|
|
2568
2575
|
const u = [], S = Object.assign(Mi, {
|
|
2569
2576
|
defaultVisitor: l,
|
|
2570
2577
|
convertValue: f,
|
|
2571
2578
|
isVisitable: qe
|
|
2572
2579
|
});
|
|
2573
|
-
function b(h,
|
|
2580
|
+
function b(h, g) {
|
|
2574
2581
|
if (!c.isUndefined(h)) {
|
|
2575
2582
|
if (u.indexOf(h) !== -1)
|
|
2576
|
-
throw Error("Circular reference detected in " +
|
|
2583
|
+
throw Error("Circular reference detected in " + g.join("."));
|
|
2577
2584
|
u.push(h), c.forEach(h, function(C, R) {
|
|
2578
2585
|
(!(c.isUndefined(C) || C === null) && s.call(
|
|
2579
2586
|
r,
|
|
2580
2587
|
C,
|
|
2581
2588
|
c.isString(R) ? R.trim() : R,
|
|
2582
|
-
|
|
2589
|
+
g,
|
|
2583
2590
|
S
|
|
2584
|
-
)) === !0 && b(C,
|
|
2591
|
+
)) === !0 && b(C, g ? g.concat(R) : [R]);
|
|
2585
2592
|
}), u.pop();
|
|
2586
2593
|
}
|
|
2587
2594
|
}
|
|
@@ -3245,7 +3252,7 @@ const or = (e) => {
|
|
|
3245
3252
|
let o = s.data;
|
|
3246
3253
|
const n = M.from(s.headers).normalize();
|
|
3247
3254
|
let { responseType: a, onUploadProgress: d, onDownloadProgress: f } = s, l, u, S, b, h;
|
|
3248
|
-
function
|
|
3255
|
+
function g() {
|
|
3249
3256
|
b && b(), h && h(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l);
|
|
3250
3257
|
}
|
|
3251
3258
|
let w = new XMLHttpRequest();
|
|
@@ -3264,9 +3271,9 @@ const or = (e) => {
|
|
|
3264
3271
|
request: w
|
|
3265
3272
|
};
|
|
3266
3273
|
sr(function(W) {
|
|
3267
|
-
t(W),
|
|
3274
|
+
t(W), g();
|
|
3268
3275
|
}, function(W) {
|
|
3269
|
-
i(W),
|
|
3276
|
+
i(W), g();
|
|
3270
3277
|
}, j), w = null;
|
|
3271
3278
|
}
|
|
3272
3279
|
"onloadend" in w ? w.onloadend = C : w.onreadystatechange = function() {
|
|
@@ -3396,24 +3403,24 @@ const or = (e) => {
|
|
|
3396
3403
|
const { fetch: r, Request: t, Response: i } = e, s = r ? Ie(r) : typeof fetch == "function", o = Ie(t), n = Ie(i);
|
|
3397
3404
|
if (!s)
|
|
3398
3405
|
return !1;
|
|
3399
|
-
const a = s && Ie(Bt), d = s && (typeof Nt == "function" ? /* @__PURE__ */ ((h) => (
|
|
3406
|
+
const a = s && Ie(Bt), d = s && (typeof Nt == "function" ? /* @__PURE__ */ ((h) => (g) => h.encode(g))(new Nt()) : async (h) => new Uint8Array(await new t(h).arrayBuffer())), f = o && a && Dt(() => {
|
|
3400
3407
|
let h = !1;
|
|
3401
|
-
const
|
|
3408
|
+
const g = new t(N.origin, {
|
|
3402
3409
|
body: new Bt(),
|
|
3403
3410
|
method: "POST",
|
|
3404
3411
|
get duplex() {
|
|
3405
3412
|
return h = !0, "half";
|
|
3406
3413
|
}
|
|
3407
3414
|
}).headers.has("Content-Type");
|
|
3408
|
-
return h && !
|
|
3415
|
+
return h && !g;
|
|
3409
3416
|
}), l = n && a && Dt(() => c.isReadableStream(new i("").body)), u = {
|
|
3410
3417
|
stream: l && ((h) => h.body)
|
|
3411
3418
|
};
|
|
3412
3419
|
s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((h) => {
|
|
3413
|
-
!u[h] && (u[h] = (
|
|
3414
|
-
let C =
|
|
3420
|
+
!u[h] && (u[h] = (g, w) => {
|
|
3421
|
+
let C = g && g[h];
|
|
3415
3422
|
if (C)
|
|
3416
|
-
return C.call(
|
|
3423
|
+
return C.call(g);
|
|
3417
3424
|
throw new _(`Response type '${h}' is not supported`, _.ERR_NOT_SUPPORT, w);
|
|
3418
3425
|
});
|
|
3419
3426
|
});
|
|
@@ -3431,13 +3438,13 @@ const or = (e) => {
|
|
|
3431
3438
|
return h.byteLength;
|
|
3432
3439
|
if (c.isURLSearchParams(h) && (h = h + ""), c.isString(h))
|
|
3433
3440
|
return (await d(h)).byteLength;
|
|
3434
|
-
}, b = async (h,
|
|
3441
|
+
}, b = async (h, g) => {
|
|
3435
3442
|
const w = c.toFiniteNumber(h.getContentLength());
|
|
3436
|
-
return w ?? S(
|
|
3443
|
+
return w ?? S(g);
|
|
3437
3444
|
};
|
|
3438
3445
|
return async (h) => {
|
|
3439
3446
|
let {
|
|
3440
|
-
url:
|
|
3447
|
+
url: g,
|
|
3441
3448
|
method: w,
|
|
3442
3449
|
data: C,
|
|
3443
3450
|
signal: R,
|
|
@@ -3458,7 +3465,7 @@ const or = (e) => {
|
|
|
3458
3465
|
let nt;
|
|
3459
3466
|
try {
|
|
3460
3467
|
if (K && f && w !== "get" && w !== "head" && (nt = await b(Le, C)) !== 0) {
|
|
3461
|
-
let Z = new t(
|
|
3468
|
+
let Z = new t(g, {
|
|
3462
3469
|
method: "POST",
|
|
3463
3470
|
body: C,
|
|
3464
3471
|
duplex: "half"
|
|
@@ -3481,8 +3488,8 @@ const or = (e) => {
|
|
|
3481
3488
|
duplex: "half",
|
|
3482
3489
|
credentials: V ? ve : void 0
|
|
3483
3490
|
};
|
|
3484
|
-
fe = o && new t(
|
|
3485
|
-
let X = await (o ? ot(fe, it) : ot(
|
|
3491
|
+
fe = o && new t(g, at);
|
|
3492
|
+
let X = await (o ? ot(fe, it) : ot(g, at));
|
|
3486
3493
|
const lt = l && (W === "stream" || W === "response");
|
|
3487
3494
|
if (l && (j || lt && Q)) {
|
|
3488
3495
|
const Z = {};
|
|
@@ -3712,12 +3719,12 @@ let te = class {
|
|
|
3712
3719
|
), t.headers = M.concat(n, o);
|
|
3713
3720
|
const a = [];
|
|
3714
3721
|
let d = !0;
|
|
3715
|
-
this.interceptors.request.forEach(function(
|
|
3716
|
-
typeof
|
|
3722
|
+
this.interceptors.request.forEach(function(g) {
|
|
3723
|
+
typeof g.runWhen == "function" && g.runWhen(t) === !1 || (d = d && g.synchronous, a.unshift(g.fulfilled, g.rejected));
|
|
3717
3724
|
});
|
|
3718
3725
|
const f = [];
|
|
3719
|
-
this.interceptors.response.forEach(function(
|
|
3720
|
-
f.push(
|
|
3726
|
+
this.interceptors.response.forEach(function(g) {
|
|
3727
|
+
f.push(g.fulfilled, g.rejected);
|
|
3721
3728
|
});
|
|
3722
3729
|
let l, u = 0, S;
|
|
3723
3730
|
if (!d) {
|
|
@@ -3729,11 +3736,11 @@ let te = class {
|
|
|
3729
3736
|
S = a.length;
|
|
3730
3737
|
let b = t;
|
|
3731
3738
|
for (; u < S; ) {
|
|
3732
|
-
const h = a[u++],
|
|
3739
|
+
const h = a[u++], g = a[u++];
|
|
3733
3740
|
try {
|
|
3734
3741
|
b = h(b);
|
|
3735
3742
|
} catch (w) {
|
|
3736
|
-
|
|
3743
|
+
g.call(this, w);
|
|
3737
3744
|
break;
|
|
3738
3745
|
}
|
|
3739
3746
|
}
|
|
@@ -4045,14 +4052,14 @@ const {
|
|
|
4045
4052
|
this.$emit("openmedia", e);
|
|
4046
4053
|
}
|
|
4047
4054
|
}
|
|
4048
|
-
}, Ao = (e) => (le("data-v-
|
|
4055
|
+
}, Ao = (e) => (le("data-v-9a35d2f7"), e = e(), de(), e), Po = { class: "generales-container" }, Eo = { class: "container-generals-cards-ia-generales" }, Ro = { class: "container-data-cards-ia-generales" }, Bo = /* @__PURE__ */ Ao(() => /* @__PURE__ */ m("div", { class: "loading-overlay" }, [
|
|
4049
4056
|
/* @__PURE__ */ m("div", { class: "loading-animation" })
|
|
4050
4057
|
], -1)), No = [
|
|
4051
4058
|
Bo
|
|
4052
4059
|
];
|
|
4053
4060
|
function Do(e, r, t, i, s, o) {
|
|
4054
4061
|
const n = D("GSCDataCard"), a = D("GSCSlider");
|
|
4055
|
-
return p(),
|
|
4062
|
+
return p(), y("div", Po, [
|
|
4056
4063
|
m("div", Eo, [
|
|
4057
4064
|
(p(), U(a, {
|
|
4058
4065
|
key: t.currentSeasonId,
|
|
@@ -4073,14 +4080,14 @@ function Do(e, r, t, i, s, o) {
|
|
|
4073
4080
|
}, {
|
|
4074
4081
|
default: q(() => [
|
|
4075
4082
|
m("div", Ro, [
|
|
4076
|
-
s.loading ? (p(),
|
|
4083
|
+
s.loading ? (p(), y(x, { key: 0 }, P(4, (d) => m("div", {
|
|
4077
4084
|
key: d,
|
|
4078
4085
|
class: "skeleton-card",
|
|
4079
4086
|
style: O([
|
|
4080
4087
|
d > 1 ? { "margin-left": "20px" } : {},
|
|
4081
4088
|
d === 4 ? { "margin-right": "30px" } : {}
|
|
4082
4089
|
])
|
|
4083
|
-
}, No, 4)), 64)) : s.generalsData && s.generalsData.generals ? (p(!0),
|
|
4090
|
+
}, No, 4)), 64)) : s.generalsData && s.generalsData.generals ? (p(!0), y(x, { key: 1 }, P(s.generalsData.generals, (d, f) => (p(), U(n, {
|
|
4084
4091
|
key: f,
|
|
4085
4092
|
"show-videos": t.showVideos,
|
|
4086
4093
|
data: d,
|
|
@@ -4099,7 +4106,7 @@ function Do(e, r, t, i, s, o) {
|
|
|
4099
4106
|
])
|
|
4100
4107
|
]);
|
|
4101
4108
|
}
|
|
4102
|
-
const ur = /* @__PURE__ */ he(xo, [["render", Do], ["__scopeId", "data-v-
|
|
4109
|
+
const ur = /* @__PURE__ */ he(xo, [["render", Do], ["__scopeId", "data-v-9a35d2f7"]]), Fo = {
|
|
4103
4110
|
name: "DataIAEquipos",
|
|
4104
4111
|
components: {
|
|
4105
4112
|
GSCSlider: et,
|
|
@@ -4299,7 +4306,7 @@ const ur = /* @__PURE__ */ he(xo, [["render", Do], ["__scopeId", "data-v-2bed66b
|
|
|
4299
4306
|
return this.getModifiedTeamData(this.teamData);
|
|
4300
4307
|
}
|
|
4301
4308
|
}
|
|
4302
|
-
}, Fe = (e) => (le("data-v-
|
|
4309
|
+
}, Fe = (e) => (le("data-v-95d60b21"), e = e(), de(), e), Lo = { class: "equipos-container" }, zo = { class: "header-container-equipos" }, $o = { class: "select-container" }, Mo = { class: "custom-select" }, Wo = ["src", "alt"], Uo = /* @__PURE__ */ Fe(() => /* @__PURE__ */ m("div", { class: "select-arrow" }, null, -1)), jo = {
|
|
4303
4310
|
key: 1,
|
|
4304
4311
|
class: "options-container"
|
|
4305
4312
|
}, qo = ["onClick"], Ho = ["src", "alt"], Vo = { class: "container-generals-cards-ia-equipos" }, Jo = { class: "container-data-cards-ia-equipos" }, Go = {
|
|
@@ -4319,11 +4326,11 @@ const ur = /* @__PURE__ */ he(xo, [["render", Do], ["__scopeId", "data-v-2bed66b
|
|
|
4319
4326
|
function pn(e, r, t, i, s, o) {
|
|
4320
4327
|
var d, f;
|
|
4321
4328
|
const n = D("GSCDataCard"), a = D("GSCSlider");
|
|
4322
|
-
return p(),
|
|
4329
|
+
return p(), y("div", Lo, [
|
|
4323
4330
|
m("div", zo, [
|
|
4324
4331
|
m("div", $o, [
|
|
4325
4332
|
m("div", Mo, [
|
|
4326
|
-
s.selectedTeam && s.selectedTeam.logo ? (p(),
|
|
4333
|
+
s.selectedTeam && s.selectedTeam.logo ? (p(), y("img", {
|
|
4327
4334
|
key: 0,
|
|
4328
4335
|
src: s.selectedTeam.logo,
|
|
4329
4336
|
class: "selected-team-logo",
|
|
@@ -4336,15 +4343,15 @@ function pn(e, r, t, i, s, o) {
|
|
|
4336
4343
|
m("span", null, I(s.selectedTeam ? s.selectedTeam.colloquial_name : "Seleccionar equipo"), 1),
|
|
4337
4344
|
Uo
|
|
4338
4345
|
], 2),
|
|
4339
|
-
s.isOpen ? (p(),
|
|
4340
|
-
(p(!0),
|
|
4346
|
+
s.isOpen ? (p(), y("div", jo, [
|
|
4347
|
+
(p(!0), y(x, null, P(o.availableTeams.sort(
|
|
4341
4348
|
(l, u) => l.colloquial_name.localeCompare(u.colloquial_name)
|
|
4342
|
-
), (l) => (p(),
|
|
4349
|
+
), (l) => (p(), y("div", {
|
|
4343
4350
|
key: l.id,
|
|
4344
4351
|
class: "option",
|
|
4345
4352
|
onClick: (u) => o.selectTeam(l)
|
|
4346
4353
|
}, [
|
|
4347
|
-
l.logo ? (p(),
|
|
4354
|
+
l.logo ? (p(), y("img", {
|
|
4348
4355
|
key: 0,
|
|
4349
4356
|
src: l.logo,
|
|
4350
4357
|
class: "option-team-logo",
|
|
@@ -4377,7 +4384,7 @@ function pn(e, r, t, i, s, o) {
|
|
|
4377
4384
|
}, {
|
|
4378
4385
|
default: q(() => [
|
|
4379
4386
|
m("div", Jo, [
|
|
4380
|
-
s.loading ? (p(),
|
|
4387
|
+
s.loading ? (p(), y(x, { key: 0 }, P(4, (l) => m("div", {
|
|
4381
4388
|
key: l,
|
|
4382
4389
|
class: "skeleton-card",
|
|
4383
4390
|
style: O([
|
|
@@ -4385,8 +4392,8 @@ function pn(e, r, t, i, s, o) {
|
|
|
4385
4392
|
l === 4 ? { "margin-right": "30px" } : {}
|
|
4386
4393
|
])
|
|
4387
4394
|
}, [
|
|
4388
|
-
s.selectedTeam ? (p(),
|
|
4389
|
-
], 4)), 64)) : s.teamData ? (p(!0),
|
|
4395
|
+
s.selectedTeam ? (p(), y("div", Go, Zo)) : v("", !0)
|
|
4396
|
+
], 4)), 64)) : s.teamData ? (p(!0), y(x, { key: 1 }, P(s.teamData, (l, u) => (p(), U(n, {
|
|
4390
4397
|
key: u,
|
|
4391
4398
|
data: l,
|
|
4392
4399
|
class: "data-card",
|
|
@@ -4398,16 +4405,16 @@ function pn(e, r, t, i, s, o) {
|
|
|
4398
4405
|
_: 1
|
|
4399
4406
|
}, 8, ["arrows-background", "arrows"]))
|
|
4400
4407
|
]),
|
|
4401
|
-
(p(!0),
|
|
4408
|
+
(p(!0), y(x, null, P(s.additionalCarousels, (l, u) => {
|
|
4402
4409
|
var S, b;
|
|
4403
|
-
return p(),
|
|
4410
|
+
return p(), y("div", {
|
|
4404
4411
|
key: u,
|
|
4405
4412
|
class: "additional-carousel"
|
|
4406
4413
|
}, [
|
|
4407
4414
|
m("div", Ko, [
|
|
4408
4415
|
m("div", Qo, [
|
|
4409
4416
|
m("div", Yo, [
|
|
4410
|
-
l.selectedTeam && l.selectedTeam.logo ? (p(),
|
|
4417
|
+
l.selectedTeam && l.selectedTeam.logo ? (p(), y("img", {
|
|
4411
4418
|
key: 0,
|
|
4412
4419
|
src: l.selectedTeam.logo,
|
|
4413
4420
|
class: "selected-team-logo",
|
|
@@ -4420,15 +4427,15 @@ function pn(e, r, t, i, s, o) {
|
|
|
4420
4427
|
m("span", null, I(l.selectedTeam ? l.selectedTeam.team_name : "Seleccionar equipo"), 1),
|
|
4421
4428
|
rn
|
|
4422
4429
|
], 10, tn),
|
|
4423
|
-
l.isOpen ? (p(),
|
|
4424
|
-
(p(!0),
|
|
4425
|
-
(h,
|
|
4426
|
-
), (h) => (p(),
|
|
4430
|
+
l.isOpen ? (p(), y("div", sn, [
|
|
4431
|
+
(p(!0), y(x, null, P(o.getAvailableTeamsForCarousel(u).sort(
|
|
4432
|
+
(h, g) => h.colloquial_name.localeCompare(g.colloquial_name)
|
|
4433
|
+
), (h) => (p(), y("div", {
|
|
4427
4434
|
key: h.id,
|
|
4428
4435
|
class: "option",
|
|
4429
|
-
onClick: (
|
|
4436
|
+
onClick: (g) => o.selectTeamAdditional(h, u)
|
|
4430
4437
|
}, [
|
|
4431
|
-
h.logo ? (p(),
|
|
4438
|
+
h.logo ? (p(), y("img", {
|
|
4432
4439
|
key: 0,
|
|
4433
4440
|
src: h.logo,
|
|
4434
4441
|
class: "option-team-logo",
|
|
@@ -4467,7 +4474,7 @@ function pn(e, r, t, i, s, o) {
|
|
|
4467
4474
|
}, {
|
|
4468
4475
|
default: q(() => [
|
|
4469
4476
|
m("div", dn, [
|
|
4470
|
-
l.loading ? (p(),
|
|
4477
|
+
l.loading ? (p(), y(x, { key: 0 }, P(4, (h) => m("div", {
|
|
4471
4478
|
key: h,
|
|
4472
4479
|
class: "skeleton-card",
|
|
4473
4480
|
style: O([
|
|
@@ -4475,9 +4482,9 @@ function pn(e, r, t, i, s, o) {
|
|
|
4475
4482
|
h === 4 ? { "margin-right": "30px" } : {}
|
|
4476
4483
|
])
|
|
4477
4484
|
}, [
|
|
4478
|
-
l.selectedTeam ? (p(),
|
|
4479
|
-
], 4)), 64)) : l.teamData && l.teamData.teams ? (p(!0),
|
|
4480
|
-
key:
|
|
4485
|
+
l.selectedTeam ? (p(), y("div", cn, hn)) : v("", !0)
|
|
4486
|
+
], 4)), 64)) : l.teamData && l.teamData.teams ? (p(!0), y(x, { key: 1 }, P(l.teamData.teams, (h, g) => (p(), U(n, {
|
|
4487
|
+
key: g,
|
|
4481
4488
|
data: h,
|
|
4482
4489
|
class: "data-card",
|
|
4483
4490
|
"show-videos": t.showVideos,
|
|
@@ -4498,7 +4505,7 @@ function pn(e, r, t, i, s, o) {
|
|
|
4498
4505
|
])
|
|
4499
4506
|
]);
|
|
4500
4507
|
}
|
|
4501
|
-
const mn = /* @__PURE__ */ he(Fo, [["render", pn], ["__scopeId", "data-v-
|
|
4508
|
+
const mn = /* @__PURE__ */ he(Fo, [["render", pn], ["__scopeId", "data-v-95d60b21"]]), gn = {
|
|
4502
4509
|
name: "DataIAJugadores",
|
|
4503
4510
|
components: {
|
|
4504
4511
|
"g-s-c-slider": et,
|
|
@@ -4840,7 +4847,7 @@ const mn = /* @__PURE__ */ he(Fo, [["render", pn], ["__scopeId", "data-v-a802548
|
|
|
4840
4847
|
beforeUnmount() {
|
|
4841
4848
|
document.removeEventListener("click", this.closeTeamDropdown), document.removeEventListener("click", this.closePlayerDropdown), window.removeEventListener("resize", this.handleResize);
|
|
4842
4849
|
}
|
|
4843
|
-
}, Se = (e) => (le("data-v-
|
|
4850
|
+
}, Se = (e) => (le("data-v-e5c8d304"), e = e(), de(), e), yn = {
|
|
4844
4851
|
class: "jugadores-container",
|
|
4845
4852
|
ref: "dataIAPlayers"
|
|
4846
4853
|
}, wn = ["onClick"], bn = /* @__PURE__ */ Se(() => /* @__PURE__ */ m("span", null, "×", -1)), Sn = [
|
|
@@ -4873,14 +4880,14 @@ const mn = /* @__PURE__ */ he(Fo, [["render", pn], ["__scopeId", "data-v-a802548
|
|
|
4873
4880
|
}, Yn = { class: "message-box" };
|
|
4874
4881
|
function ea(e, r, t, i, s, o) {
|
|
4875
4882
|
const n = D("GSCDataCard"), a = D("g-s-c-slider");
|
|
4876
|
-
return p(),
|
|
4877
|
-
(p(!0),
|
|
4883
|
+
return p(), y("div", yn, [
|
|
4884
|
+
(p(!0), y(x, null, P(s.containers, (d, f) => {
|
|
4878
4885
|
var l;
|
|
4879
|
-
return p(),
|
|
4886
|
+
return p(), y("div", {
|
|
4880
4887
|
key: `container-${d.id}`,
|
|
4881
4888
|
class: "container-section"
|
|
4882
4889
|
}, [
|
|
4883
|
-
f > 0 ? (p(),
|
|
4890
|
+
f > 0 ? (p(), y("div", {
|
|
4884
4891
|
key: 0,
|
|
4885
4892
|
class: "close-container-button",
|
|
4886
4893
|
onClick: (u) => o.removeContainer(f)
|
|
@@ -4891,7 +4898,7 @@ function ea(e, r, t, i, s, o) {
|
|
|
4891
4898
|
"scouting-mobile": t.componentWidth <= 500 && t.isScouting
|
|
4892
4899
|
}])
|
|
4893
4900
|
}, [
|
|
4894
|
-
t.isScouting ? (p(),
|
|
4901
|
+
t.isScouting ? (p(), y("div", vn, [
|
|
4895
4902
|
m("div", _n, [
|
|
4896
4903
|
m("img", {
|
|
4897
4904
|
src: t.team.logo,
|
|
@@ -4899,14 +4906,14 @@ function ea(e, r, t, i, s, o) {
|
|
|
4899
4906
|
}, null, 8, Cn)
|
|
4900
4907
|
]),
|
|
4901
4908
|
m("div", kn, I(t.team.colloquial_name), 1)
|
|
4902
|
-
])) : (p(),
|
|
4909
|
+
])) : (p(), y("div", {
|
|
4903
4910
|
key: 1,
|
|
4904
4911
|
class: "select-container",
|
|
4905
4912
|
ref_for: !0,
|
|
4906
4913
|
ref: `teamSelect${f}`
|
|
4907
4914
|
}, [
|
|
4908
4915
|
m("div", In, [
|
|
4909
|
-
d.selectedTeam && d.selectedTeam.logo ? (p(),
|
|
4916
|
+
d.selectedTeam && d.selectedTeam.logo ? (p(), y("img", {
|
|
4910
4917
|
key: 0,
|
|
4911
4918
|
src: d.selectedTeam.logo,
|
|
4912
4919
|
class: "selected-team-logo",
|
|
@@ -4919,15 +4926,15 @@ function ea(e, r, t, i, s, o) {
|
|
|
4919
4926
|
m("span", null, I(d.selectedTeam ? d.selectedTeam.colloquial_name : "Seleccionar equipo"), 1),
|
|
4920
4927
|
xn
|
|
4921
4928
|
], 10, On),
|
|
4922
|
-
d.isOpen ? (p(),
|
|
4923
|
-
(p(!0),
|
|
4929
|
+
d.isOpen ? (p(), y("div", An, [
|
|
4930
|
+
(p(!0), y(x, null, P(s.filteredTeams.sort(
|
|
4924
4931
|
(u, S) => u.colloquial_name.localeCompare(S.colloquial_name)
|
|
4925
|
-
), (u) => (p(),
|
|
4932
|
+
), (u) => (p(), y("div", {
|
|
4926
4933
|
key: u.id,
|
|
4927
4934
|
class: "option",
|
|
4928
4935
|
onClick: (S) => o.selectTeam(u, f)
|
|
4929
4936
|
}, [
|
|
4930
|
-
u.logo ? (p(),
|
|
4937
|
+
u.logo ? (p(), y("img", {
|
|
4931
4938
|
key: 0,
|
|
4932
4939
|
src: u.logo,
|
|
4933
4940
|
class: "option-team-logo",
|
|
@@ -4944,7 +4951,7 @@ function ea(e, r, t, i, s, o) {
|
|
|
4944
4951
|
ref: "playerSelect"
|
|
4945
4952
|
}, [
|
|
4946
4953
|
m("div", Rn, [
|
|
4947
|
-
d.selectedPlayer && d.selectedPlayer.photo ? (p(),
|
|
4954
|
+
d.selectedPlayer && d.selectedPlayer.photo ? (p(), y("img", {
|
|
4948
4955
|
key: 0,
|
|
4949
4956
|
src: d.selectedPlayer.photo,
|
|
4950
4957
|
class: "selected-player-logo",
|
|
@@ -4960,8 +4967,8 @@ function ea(e, r, t, i, s, o) {
|
|
|
4960
4967
|
m("span", null, I(d.selectedPlayer ? o.formatPlayerName(d.selectedPlayer.name) : "Seleccionar jugador"), 1),
|
|
4961
4968
|
Dn
|
|
4962
4969
|
], 10, Nn),
|
|
4963
|
-
d.isPlayerOpen ? (p(),
|
|
4964
|
-
d.players.length > 0 ? (p(),
|
|
4970
|
+
d.isPlayerOpen ? (p(), y("div", Fn, [
|
|
4971
|
+
d.players.length > 0 ? (p(), y("div", Ln, [
|
|
4965
4972
|
m("div", zn, [
|
|
4966
4973
|
ee(m("input", {
|
|
4967
4974
|
type: "text",
|
|
@@ -4972,14 +4979,14 @@ function ea(e, r, t, i, s, o) {
|
|
|
4972
4979
|
}, null, 8, $n), [
|
|
4973
4980
|
[yr, d.playerSearchQuery]
|
|
4974
4981
|
]),
|
|
4975
|
-
d.playerSearchQuery ? (p(),
|
|
4982
|
+
d.playerSearchQuery ? (p(), y("button", {
|
|
4976
4983
|
key: 0,
|
|
4977
4984
|
class: "clear-search",
|
|
4978
4985
|
onClick: ct((u) => o.clearSearch(f), ["stop"])
|
|
4979
4986
|
}, " ✕ ", 8, Mn)) : v("", !0)
|
|
4980
4987
|
])
|
|
4981
4988
|
])) : v("", !0),
|
|
4982
|
-
t.isScouting ? (p(),
|
|
4989
|
+
t.isScouting ? (p(), y("div", {
|
|
4983
4990
|
key: 1,
|
|
4984
4991
|
class: T(["option", {
|
|
4985
4992
|
selected: d.selectedPlayer && d.selectedPlayer.player_id === 0
|
|
@@ -4992,16 +4999,16 @@ function ea(e, r, t, i, s, o) {
|
|
|
4992
4999
|
}, null, 8, Un),
|
|
4993
5000
|
jn
|
|
4994
5001
|
], 10, Wn)) : v("", !0),
|
|
4995
|
-
(p(!0),
|
|
5002
|
+
(p(!0), y(x, null, P(o.filteredPlayers(f).sort(
|
|
4996
5003
|
(u, S) => o.formatPlayerName(u.name).localeCompare(o.formatPlayerName(S.name))
|
|
4997
|
-
), (u) => (p(),
|
|
5004
|
+
), (u) => (p(), y("div", {
|
|
4998
5005
|
key: u.player_id,
|
|
4999
5006
|
class: T(["option", {
|
|
5000
5007
|
selected: d.selectedPlayer && d.selectedPlayer.player_id === u.player_id
|
|
5001
5008
|
}]),
|
|
5002
5009
|
onClick: (S) => o.selectPlayer(u, f)
|
|
5003
5010
|
}, [
|
|
5004
|
-
u.photo ? (p(),
|
|
5011
|
+
u.photo ? (p(), y("img", {
|
|
5005
5012
|
key: 0,
|
|
5006
5013
|
src: u.photo,
|
|
5007
5014
|
class: "option-team-logo",
|
|
@@ -5036,7 +5043,7 @@ function ea(e, r, t, i, s, o) {
|
|
|
5036
5043
|
}, {
|
|
5037
5044
|
default: q(() => [
|
|
5038
5045
|
m("div", Jn, [
|
|
5039
|
-
(p(!0),
|
|
5046
|
+
(p(!0), y(x, null, P(d.playerData, (u, S) => (p(), y("div", { key: S }, [
|
|
5040
5047
|
F(n, {
|
|
5041
5048
|
data: u,
|
|
5042
5049
|
"show-videos": t.showVideos,
|
|
@@ -5047,15 +5054,15 @@ function ea(e, r, t, i, s, o) {
|
|
|
5047
5054
|
])
|
|
5048
5055
|
]),
|
|
5049
5056
|
_: 2
|
|
5050
|
-
}, 1032, ["arrows-background", "arrows"])) : (p(),
|
|
5051
|
-
d.loading ? (p(),
|
|
5057
|
+
}, 1032, ["arrows-background", "arrows"])) : (p(), y("div", Gn, [
|
|
5058
|
+
d.loading ? (p(), y(x, { key: 0 }, P(4, (u) => m("div", {
|
|
5052
5059
|
key: u,
|
|
5053
5060
|
class: "skeleton-card"
|
|
5054
|
-
}, Zn)), 64)) : d.selectedPlayer && d.playerData !== null && d.playerData.length === 0 ? (p(),
|
|
5061
|
+
}, Zn)), 64)) : d.selectedPlayer && d.playerData !== null && d.playerData.length === 0 ? (p(), y("div", Kn, [
|
|
5055
5062
|
m("div", {
|
|
5056
5063
|
class: T(["message-box", { "message-box-two-lines": s.windowWidth <= 360 }])
|
|
5057
5064
|
}, I(t.isFemale === 1 ? "La jugadora" : "El jugador") + " aún no cuenta con datos destacados. ", 3)
|
|
5058
|
-
])) : (p(),
|
|
5065
|
+
])) : (p(), y(x, { key: 2 }, P(4, (u) => m("div", {
|
|
5059
5066
|
key: u,
|
|
5060
5067
|
class: "skeleton-card"
|
|
5061
5068
|
})), 64))
|
|
@@ -5063,16 +5070,16 @@ function ea(e, r, t, i, s, o) {
|
|
|
5063
5070
|
])
|
|
5064
5071
|
]);
|
|
5065
5072
|
}), 128)),
|
|
5066
|
-
s.containers.length === 0 ? (p(),
|
|
5073
|
+
s.containers.length === 0 ? (p(), y("div", Qn, [
|
|
5067
5074
|
m("div", Yn, I(t.isFemale === 1 ? "La jugadora" : "El jugador") + " aún no cuenta con datos destacados. ", 1)
|
|
5068
|
-
])) : s.containers.length < s.maxContainers && !t.isScouting ? (p(),
|
|
5075
|
+
])) : s.containers.length < s.maxContainers && !t.isScouting ? (p(), y("div", {
|
|
5069
5076
|
key: 1,
|
|
5070
5077
|
class: "carousel-placeholder-jugadores",
|
|
5071
5078
|
onClick: r[1] || (r[1] = (...d) => o.addContainer && o.addContainer(...d))
|
|
5072
5079
|
}, " Agregar carrusel de " + I(t.isFemale === 1 ? "jugadoras" : "jugadores"), 1)) : v("", !0)
|
|
5073
5080
|
], 512);
|
|
5074
5081
|
}
|
|
5075
|
-
const hr = /* @__PURE__ */ he(gn, [["render", ea], ["__scopeId", "data-v-
|
|
5082
|
+
const hr = /* @__PURE__ */ he(gn, [["render", ea], ["__scopeId", "data-v-e5c8d304"]]), ta = (e) => (le("data-v-a41f00b6"), e = e(), de(), e), ra = { class: "scouting-data-ia" }, sa = { class: "scouting-data-ia__general" }, ia = /* @__PURE__ */ ta(() => /* @__PURE__ */ m("div", { class: "scouting-data-ia__general__title" }, " Generales ", -1)), oa = {
|
|
5076
5083
|
__name: "ScoutingDataIA",
|
|
5077
5084
|
props: {
|
|
5078
5085
|
currentSeasonId: {
|
|
@@ -5125,7 +5132,7 @@ const hr = /* @__PURE__ */ he(gn, [["render", ea], ["__scopeId", "data-v-fda2419
|
|
|
5125
5132
|
function n(a) {
|
|
5126
5133
|
i("openmedia", a);
|
|
5127
5134
|
}
|
|
5128
|
-
return (a, d) => (p(),
|
|
5135
|
+
return (a, d) => (p(), y("div", ra, [
|
|
5129
5136
|
m("div", sa, [
|
|
5130
5137
|
ia,
|
|
5131
5138
|
F(ur, {
|
|
@@ -5136,7 +5143,7 @@ const hr = /* @__PURE__ */ he(gn, [["render", ea], ["__scopeId", "data-v-fda2419
|
|
|
5136
5143
|
onOpenmedia: n
|
|
5137
5144
|
}, null, 8, ["current-season-id", "show-videos", "player-id"])
|
|
5138
5145
|
]),
|
|
5139
|
-
(p(!0),
|
|
5146
|
+
(p(!0), y(x, null, P(s.value, (f) => (p(), y("div", {
|
|
5140
5147
|
class: "scouting-data-ia__team",
|
|
5141
5148
|
key: f.team_id
|
|
5142
5149
|
}, [
|
|
@@ -5179,7 +5186,7 @@ const hr = /* @__PURE__ */ he(gn, [["render", ea], ["__scopeId", "data-v-fda2419
|
|
|
5179
5186
|
}
|
|
5180
5187
|
return ae(() => {
|
|
5181
5188
|
o();
|
|
5182
|
-
}), (a, d) => (p(),
|
|
5189
|
+
}), (a, d) => (p(), y("input", {
|
|
5183
5190
|
ref_key: "switchCustom",
|
|
5184
5191
|
ref: s,
|
|
5185
5192
|
id: "toggle",
|
|
@@ -5190,7 +5197,7 @@ const hr = /* @__PURE__ */ he(gn, [["render", ea], ["__scopeId", "data-v-fda2419
|
|
|
5190
5197
|
onInput: n
|
|
5191
5198
|
}, null, 544));
|
|
5192
5199
|
}
|
|
5193
|
-
}, la = /* @__PURE__ */ he(aa, [["__scopeId", "data-v-
|
|
5200
|
+
}, la = /* @__PURE__ */ he(aa, [["__scopeId", "data-v-9e2bfbd7"]]), da = {
|
|
5194
5201
|
name: "DataIA",
|
|
5195
5202
|
components: {
|
|
5196
5203
|
GscSwitchComponent: $r,
|
|
@@ -5210,7 +5217,8 @@ const hr = /* @__PURE__ */ he(gn, [["render", ea], ["__scopeId", "data-v-fda2419
|
|
|
5210
5217
|
playerId: { type: Number, default: 0 },
|
|
5211
5218
|
isClubes: { type: Boolean, default: !0 },
|
|
5212
5219
|
isScouting: { type: Boolean, default: !0 },
|
|
5213
|
-
tournamentsUrl: { type: String, default: "" }
|
|
5220
|
+
tournamentsUrl: { type: String, default: "" },
|
|
5221
|
+
isFemaleMode: { type: Boolean, default: !1 }
|
|
5214
5222
|
},
|
|
5215
5223
|
computed: {
|
|
5216
5224
|
scoutingTitle() {
|
|
@@ -5405,16 +5413,16 @@ const hr = /* @__PURE__ */ he(gn, [["render", ea], ["__scopeId", "data-v-fda2419
|
|
|
5405
5413
|
}, ga = { class: "filters" }, ya = { class: "league-select" }, wa = { class: "season-select" };
|
|
5406
5414
|
function ba(e, r, t, i, s, o) {
|
|
5407
5415
|
const n = D("SwitchCustom"), a = D("GscSwitchComponent"), d = D("GSCTournamentSelect"), f = D("GSCSeasonSelect"), l = D("ScoutingDataIA"), u = D("DataIAGenerales"), S = D("DataIAEquipos"), b = D("DataIAJugadores");
|
|
5408
|
-
return p(),
|
|
5416
|
+
return p(), y("div", ca, [
|
|
5409
5417
|
m("div", ua, [
|
|
5410
|
-
t.isScouting ? v("", !0) : (p(),
|
|
5418
|
+
t.isScouting ? v("", !0) : (p(), y("h2", {
|
|
5411
5419
|
key: 0,
|
|
5412
5420
|
class: T(o.headerFontSize)
|
|
5413
5421
|
}, I(o.scoutingTitle), 3)),
|
|
5414
5422
|
m("div", {
|
|
5415
5423
|
class: T(["header-controls", s.containerSizeClass])
|
|
5416
5424
|
}, [
|
|
5417
|
-
t.isScouting ? (p(),
|
|
5425
|
+
t.isScouting ? (p(), y("div", ha, [
|
|
5418
5426
|
m("h2", {
|
|
5419
5427
|
class: T(["title-scouting", o.headerFontSize])
|
|
5420
5428
|
}, I(o.scoutingTitle), 3),
|
|
@@ -5432,7 +5440,7 @@ function ba(e, r, t, i, s, o) {
|
|
|
5432
5440
|
class: T(["label", { "label-selected": s.isFemaleScouting }])
|
|
5433
5441
|
}, "Femenil", 2)
|
|
5434
5442
|
])
|
|
5435
|
-
])) : (p(),
|
|
5443
|
+
])) : (p(), y("div", ma, [
|
|
5436
5444
|
F(a, {
|
|
5437
5445
|
type: 2,
|
|
5438
5446
|
buttons: o.switchOptions,
|
|
@@ -5457,8 +5465,9 @@ function ba(e, r, t, i, s, o) {
|
|
|
5457
5465
|
"api-url": o.tournamentsApiUrlLocal,
|
|
5458
5466
|
"are-female-visible": t.areFemaleTournamentsVisible,
|
|
5459
5467
|
"is-clubes-active": t.isClubes,
|
|
5468
|
+
"is-female-mode": t.isFemaleMode,
|
|
5460
5469
|
onInput: o.changeTournament
|
|
5461
|
-
}, null, 8, ["width", "current-season-id", "tournaments-ids-to-include", "api-url", "are-female-visible", "is-clubes-active", "onInput"])
|
|
5470
|
+
}, null, 8, ["width", "current-season-id", "tournaments-ids-to-include", "api-url", "are-female-visible", "is-clubes-active", "is-female-mode", "onInput"])
|
|
5462
5471
|
]),
|
|
5463
5472
|
m("div", wa, [
|
|
5464
5473
|
F(f, {
|
|
@@ -5486,7 +5495,7 @@ function ba(e, r, t, i, s, o) {
|
|
|
5486
5495
|
"component-width": s.parentWidth,
|
|
5487
5496
|
onMostProductive: o.handleMostProductive,
|
|
5488
5497
|
onOpenmedia: o.onOpenMedia
|
|
5489
|
-
}, null, 8, ["current-season-id", "show-videos", "player-id", "token", "is-female", "component-width", "onMostProductive", "onOpenmedia"])) : (p(),
|
|
5498
|
+
}, null, 8, ["current-season-id", "show-videos", "player-id", "token", "is-female", "component-width", "onMostProductive", "onOpenmedia"])) : (p(), y(x, { key: 1 }, [
|
|
5490
5499
|
ee(F(u, {
|
|
5491
5500
|
"current-season-id": s.seasonActive,
|
|
5492
5501
|
"show-videos": t.showVideos,
|
|
@@ -5520,7 +5529,7 @@ function ba(e, r, t, i, s, o) {
|
|
|
5520
5529
|
], 2)
|
|
5521
5530
|
], 512);
|
|
5522
5531
|
}
|
|
5523
|
-
const $a = /* @__PURE__ */ he(da, [["render", ba], ["__scopeId", "data-v-
|
|
5532
|
+
const $a = /* @__PURE__ */ he(da, [["render", ba], ["__scopeId", "data-v-6d646d86"]]);
|
|
5524
5533
|
export {
|
|
5525
5534
|
$a as D,
|
|
5526
5535
|
Ws as q
|