@golstats/gsc-filters 1.1.2 → 1.1.3
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/{FilterConditions-e6c1cf0d.js → FilterConditions-33ce2100.js} +1 -1
- package/dist/{FilterField-5dfcd3ba.js → FilterField-0f3013eb.js} +1 -1
- package/dist/{FilterSubcategories-eb0e7102.js → FilterSubcategories-4c69ac5b.js} +1 -1
- package/dist/gsc-filters.js +1 -1
- package/dist/gsc-filters.umd.cjs +2 -2
- package/dist/{index-85daf1f4.js → index-02e7b53b.js} +513 -498
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -381,7 +381,7 @@ const vt = (e) => (ue("data-v-cde7de0b"), e = e(), pe(), e), Ps = {
|
|
|
381
381
|
}), u = A(() => {
|
|
382
382
|
var g;
|
|
383
383
|
return (g = t.productivityCategories) == null ? void 0 : g.possession.categories.reduce((k, L) => (L.isSelected && k++, k), 0);
|
|
384
|
-
}),
|
|
384
|
+
}), m = A(() => t.isFromTemplates || t.isForTemplateForm);
|
|
385
385
|
j(
|
|
386
386
|
() => t.productivityCategories,
|
|
387
387
|
(g) => {
|
|
@@ -423,7 +423,7 @@ const vt = (e) => (ue("data-v-cde7de0b"), e = e(), pe(), e), Ps = {
|
|
|
423
423
|
"model-value": L.isSelected,
|
|
424
424
|
"avoid-interaction": e.areMinCategoriesReached && L.isSelected,
|
|
425
425
|
"avoid-to-check": e.areMaxCategoriesReached,
|
|
426
|
-
"box-value":
|
|
426
|
+
"box-value": m.value ? null : L.priority || 0,
|
|
427
427
|
"onUpdate:modelValue": (J) => y(J, L)
|
|
428
428
|
}, null, 8, ["label", "fontFamily", "model-value", "avoid-interaction", "avoid-to-check", "box-value", "onUpdate:modelValue"])
|
|
429
429
|
]))), 128)) : (c(), p(X, { key: 1 }, [
|
|
@@ -453,7 +453,7 @@ const vt = (e) => (ue("data-v-cde7de0b"), e = e(), pe(), e), Ps = {
|
|
|
453
453
|
"model-value": L.isSelected,
|
|
454
454
|
"avoid-to-check": e.areMaxCategoriesReached,
|
|
455
455
|
"avoid-interaction": e.areMinCategoriesReached && L.isSelected,
|
|
456
|
-
"box-value":
|
|
456
|
+
"box-value": m.value ? null : L.priority || 0,
|
|
457
457
|
"onUpdate:modelValue": (J) => y(J, L)
|
|
458
458
|
}, null, 8, ["label", "fontFamily", "model-value", "avoid-to-check", "avoid-interaction", "box-value", "onUpdate:modelValue"])
|
|
459
459
|
]))), 128))
|
|
@@ -488,7 +488,7 @@ const vt = (e) => (ue("data-v-cde7de0b"), e = e(), pe(), e), Ps = {
|
|
|
488
488
|
"model-value": L.isSelected,
|
|
489
489
|
"avoid-to-check": e.areMaxCategoriesReached,
|
|
490
490
|
"avoid-interaction": e.areMinCategoriesReached && L.isSelected,
|
|
491
|
-
"box-value":
|
|
491
|
+
"box-value": m.value ? null : L.priority || 0,
|
|
492
492
|
"onUpdate:modelValue": (J) => y(J, L)
|
|
493
493
|
}, null, 8, ["label", "fontFamily", "model-value", "avoid-to-check", "avoid-interaction", "box-value", "onUpdate:modelValue"])
|
|
494
494
|
]))), 128))
|
|
@@ -522,7 +522,7 @@ const vt = (e) => (ue("data-v-cde7de0b"), e = e(), pe(), e), Ps = {
|
|
|
522
522
|
"model-value": L.isSelected,
|
|
523
523
|
"avoid-to-check": e.areMaxCategoriesReached,
|
|
524
524
|
"avoid-interaction": e.areMinCategoriesReached && L.isSelected,
|
|
525
|
-
"box-value":
|
|
525
|
+
"box-value": m.value ? null : L.priority || 0,
|
|
526
526
|
"onUpdate:modelValue": (J) => y(J, L)
|
|
527
527
|
}, null, 8, ["label", "fontFamily", "model-value", "avoid-to-check", "avoid-interaction", "box-value", "onUpdate:modelValue"]),
|
|
528
528
|
L.parameters && e.areProductivityButtonsVisible ? (c(), p("div", {
|
|
@@ -539,7 +539,7 @@ const vt = (e) => (ue("data-v-cde7de0b"), e = e(), pe(), e), Ps = {
|
|
|
539
539
|
])) : O("", !0)
|
|
540
540
|
], 64))
|
|
541
541
|
], 4),
|
|
542
|
-
!
|
|
542
|
+
!m.value && e.productivityCategories.offensesConditions && e.areOffensesConditionsVisible ? (c(), p("div", Js, [
|
|
543
543
|
o("div", Xs, [
|
|
544
544
|
Zs,
|
|
545
545
|
o("div", Ys, [
|
|
@@ -720,7 +720,7 @@ const qe = (e) => (ue("data-v-feb56031"), e = e(), pe(), e), to = { class: "deta
|
|
|
720
720
|
emits: ["change-statistic-type"],
|
|
721
721
|
setup(e, { emit: i }) {
|
|
722
722
|
const t = e;
|
|
723
|
-
Oe((
|
|
723
|
+
Oe((m) => ({
|
|
724
724
|
"91d1a498": e.buttonsBackgroundColor,
|
|
725
725
|
"562e8f56": e.buttonsTextColor,
|
|
726
726
|
63400359: e.buttonsBorderWidth,
|
|
@@ -733,20 +733,20 @@ const qe = (e) => (ue("data-v-feb56031"), e = e(), pe(), e), to = { class: "deta
|
|
|
733
733
|
const a = C("");
|
|
734
734
|
j(
|
|
735
735
|
() => t.statisticType,
|
|
736
|
-
(
|
|
737
|
-
a.value =
|
|
736
|
+
(m) => {
|
|
737
|
+
a.value = m;
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
740
|
immediate: !0
|
|
741
741
|
}
|
|
742
742
|
), j(
|
|
743
743
|
() => a.value,
|
|
744
|
-
(
|
|
745
|
-
t.statisticType =
|
|
744
|
+
(m) => {
|
|
745
|
+
t.statisticType = m, i("change-statistic-type", m);
|
|
746
746
|
}
|
|
747
747
|
);
|
|
748
|
-
const r = A(() => t.playingAs.every((
|
|
749
|
-
(
|
|
748
|
+
const r = A(() => t.playingAs.every((m) => m.isSelected)), s = A(() => t.gameSections.every((m) => m.isSelected)), n = A(() => t.gameSections.reduce(
|
|
749
|
+
(m, y) => (y.value <= 3 ? m.firstHalf.push(y) : m.secondHalf.push(y), m),
|
|
750
750
|
{
|
|
751
751
|
firstHalf: [],
|
|
752
752
|
secondHalf: []
|
|
@@ -755,27 +755,27 @@ const qe = (e) => (ue("data-v-feb56031"), e = e(), pe(), e), to = { class: "deta
|
|
|
755
755
|
"--border-radius-first-button": `${t.buttonsBorderRadius} 0 0 ${t.buttonsBorderRadius}`,
|
|
756
756
|
"--border-radius-last-button": `0 ${t.buttonsBorderRadius} ${t.buttonsBorderRadius} 0`
|
|
757
757
|
}));
|
|
758
|
-
function d(
|
|
759
|
-
|
|
758
|
+
function d(m) {
|
|
759
|
+
m ? t.playingAs.forEach((y) => {
|
|
760
760
|
y.isSelected = !0;
|
|
761
761
|
}) : t.playingAs.forEach((y, b) => {
|
|
762
762
|
y.isSelected = b === 0;
|
|
763
763
|
});
|
|
764
764
|
}
|
|
765
|
-
function f(
|
|
766
|
-
t.playingAs.filter((y) => y.isSelected).length === 1 &&
|
|
765
|
+
function f(m) {
|
|
766
|
+
t.playingAs.filter((y) => y.isSelected).length === 1 && m.isSelected || (m.isSelected = !m.isSelected);
|
|
767
767
|
}
|
|
768
|
-
function v(
|
|
769
|
-
t.gameSections.filter((y) => y.isSelected).length === 1 &&
|
|
768
|
+
function v(m) {
|
|
769
|
+
t.gameSections.filter((y) => y.isSelected).length === 1 && m.isSelected || (m.isSelected = !m.isSelected);
|
|
770
770
|
}
|
|
771
|
-
function u(
|
|
772
|
-
|
|
771
|
+
function u(m) {
|
|
772
|
+
m ? t.gameSections.forEach((y) => {
|
|
773
773
|
y.isSelected = !0;
|
|
774
774
|
}) : t.gameSections.forEach((y, b) => {
|
|
775
775
|
y.isSelected = b === 0;
|
|
776
776
|
});
|
|
777
777
|
}
|
|
778
|
-
return (
|
|
778
|
+
return (m, y) => (c(), p("div", {
|
|
779
779
|
class: "details",
|
|
780
780
|
style: Y(l.value)
|
|
781
781
|
}, [
|
|
@@ -934,46 +934,54 @@ const zo = { class: "tournaments" }, Ho = {
|
|
|
934
934
|
},
|
|
935
935
|
emits: ["change-filters-selected", "update:filters"],
|
|
936
936
|
setup(e, { emit: i }) {
|
|
937
|
-
const t = e, a = C(!1), r = C([]), s = A(() => n.value.filter((
|
|
937
|
+
const t = e, a = C(!1), r = C([]), s = A(() => n.value.filter((v) => v.isSelected).length), n = A(() => t.tournamentsUrl ? r.value : t.tournaments);
|
|
938
|
+
async function l() {
|
|
939
|
+
if (t.tournamentsUrl)
|
|
940
|
+
try {
|
|
941
|
+
const u = await (await fetch(t.tournamentsUrl, {
|
|
942
|
+
headers: {
|
|
943
|
+
Authorization: t.token
|
|
944
|
+
}
|
|
945
|
+
})).json();
|
|
946
|
+
r.value = u.map((m) => ({
|
|
947
|
+
...m.tournament,
|
|
948
|
+
seasons: m.seasons,
|
|
949
|
+
isSelected: !0
|
|
950
|
+
}));
|
|
951
|
+
} catch (v) {
|
|
952
|
+
console.error("Error fetching tournaments:", v);
|
|
953
|
+
}
|
|
954
|
+
}
|
|
938
955
|
j(
|
|
939
956
|
() => t.tournamentsUrl,
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
try {
|
|
943
|
-
const u = await (await fetch(f, {
|
|
944
|
-
headers: {
|
|
945
|
-
Authorization: t.token
|
|
946
|
-
}
|
|
947
|
-
})).json();
|
|
948
|
-
r.value = u.map((h, y) => ({
|
|
949
|
-
...h.tournament,
|
|
950
|
-
seasons: h.seasons,
|
|
951
|
-
isSelected: !0
|
|
952
|
-
}));
|
|
953
|
-
} catch (v) {
|
|
954
|
-
console.error("Error fetching tournaments:", v);
|
|
955
|
-
}
|
|
957
|
+
() => {
|
|
958
|
+
l();
|
|
956
959
|
},
|
|
957
960
|
{ immediate: !0 }
|
|
961
|
+
), j(
|
|
962
|
+
() => t.token,
|
|
963
|
+
() => {
|
|
964
|
+
l();
|
|
965
|
+
}
|
|
958
966
|
), j(
|
|
959
967
|
() => n.value,
|
|
960
|
-
(
|
|
961
|
-
const
|
|
962
|
-
a.value =
|
|
968
|
+
(v) => {
|
|
969
|
+
const u = v.filter((m) => m.isSelected);
|
|
970
|
+
a.value = u.length === v.length, i("change-filters-selected", u.length), i("update:filters", n.value);
|
|
963
971
|
},
|
|
964
972
|
{ immediate: !0, deep: !0 }
|
|
965
973
|
);
|
|
966
|
-
function
|
|
967
|
-
n.value.forEach((
|
|
968
|
-
|
|
974
|
+
function d(v) {
|
|
975
|
+
n.value.forEach((u, m) => {
|
|
976
|
+
u.isSelected = v || (m !== 0 ? v : !0);
|
|
969
977
|
});
|
|
970
978
|
}
|
|
971
|
-
function
|
|
972
|
-
t.isOneTournamentOnly && t.tournaments.forEach((
|
|
973
|
-
|
|
974
|
-
}),
|
|
979
|
+
function f(v, u) {
|
|
980
|
+
t.isOneTournamentOnly && t.tournaments.forEach((m) => {
|
|
981
|
+
m.isSelected = !1;
|
|
982
|
+
}), u.isSelected = v;
|
|
975
983
|
}
|
|
976
|
-
return (
|
|
984
|
+
return (v, u) => (c(), p("div", zo, [
|
|
977
985
|
P(mt, { height: "200px" }, {
|
|
978
986
|
default: ee(() => [
|
|
979
987
|
e.isOneTournamentOnly ? O("", !0) : (c(), p("div", Ho, [
|
|
@@ -982,20 +990,20 @@ const zo = { class: "tournaments" }, Ho = {
|
|
|
982
990
|
label: "Todas las ligas",
|
|
983
991
|
fontFamily: e.fontFamily,
|
|
984
992
|
width: "100%",
|
|
985
|
-
"onUpdate:modelValue":
|
|
993
|
+
"onUpdate:modelValue": d
|
|
986
994
|
}, null, 8, ["model-value", "fontFamily"])
|
|
987
995
|
])),
|
|
988
|
-
(c(!0), p(X, null, ae(n.value, (
|
|
989
|
-
key:
|
|
996
|
+
(c(!0), p(X, null, ae(n.value, (m) => (c(), p("div", {
|
|
997
|
+
key: m.id || m._id,
|
|
990
998
|
class: "tournaments__tournament"
|
|
991
999
|
}, [
|
|
992
1000
|
P(M(q), {
|
|
993
|
-
"model-value":
|
|
994
|
-
label:
|
|
1001
|
+
"model-value": m.isSelected,
|
|
1002
|
+
label: m.name,
|
|
995
1003
|
fontFamily: e.fontFamily,
|
|
996
1004
|
width: "100%",
|
|
997
|
-
"avoid-interaction": s.value === 1 &&
|
|
998
|
-
"onUpdate:modelValue": (
|
|
1005
|
+
"avoid-interaction": s.value === 1 && m.isSelected,
|
|
1006
|
+
"onUpdate:modelValue": (y) => f(y, m)
|
|
999
1007
|
}, null, 8, ["model-value", "label", "fontFamily", "avoid-interaction", "onUpdate:modelValue"])
|
|
1000
1008
|
]))), 128))
|
|
1001
1009
|
]),
|
|
@@ -1003,7 +1011,7 @@ const zo = { class: "tournaments" }, Ho = {
|
|
|
1003
1011
|
})
|
|
1004
1012
|
]));
|
|
1005
1013
|
}
|
|
1006
|
-
}, Eo = /* @__PURE__ */ K(jo, [["__scopeId", "data-v-
|
|
1014
|
+
}, Eo = /* @__PURE__ */ K(jo, [["__scopeId", "data-v-9bc0787d"]]), h = {
|
|
1007
1015
|
PLAYS: "plays",
|
|
1008
1016
|
PRODUCTIVITY: "productivity",
|
|
1009
1017
|
FIELD: "field",
|
|
@@ -1072,7 +1080,7 @@ const No = {
|
|
|
1072
1080
|
emits: ["change-filters-selected", "update:filters"],
|
|
1073
1081
|
setup(e, { emit: i }) {
|
|
1074
1082
|
const t = e, a = A(() => ({
|
|
1075
|
-
"--grid-template-columns": t.type ===
|
|
1083
|
+
"--grid-template-columns": t.type === h.PLAYS_TYPES ? "1fr min-content" : "min-content 1fr min-content",
|
|
1076
1084
|
"--svg-width": `${t.svgWidth}px`,
|
|
1077
1085
|
"--svg-height": `${t.svgHeight}px`
|
|
1078
1086
|
}));
|
|
@@ -1087,7 +1095,7 @@ const No = {
|
|
|
1087
1095
|
function r(s) {
|
|
1088
1096
|
s.isSelected || (t.categories.forEach((n) => {
|
|
1089
1097
|
n.isSelected = !1;
|
|
1090
|
-
}), s.isSelected = !0, t.type ===
|
|
1098
|
+
}), s.isSelected = !0, t.type === h.GOLSTATS && i("change-filters-selected", s.value));
|
|
1091
1099
|
}
|
|
1092
1100
|
return (s, n) => (c(), p("div", {
|
|
1093
1101
|
class: "plays-golstats",
|
|
@@ -1095,13 +1103,13 @@ const No = {
|
|
|
1095
1103
|
}, [
|
|
1096
1104
|
P(mt, { height: e.height }, {
|
|
1097
1105
|
default: ee(() => [
|
|
1098
|
-
e.type === M(
|
|
1106
|
+
e.type === M(h).PLAYS_TYPES ? (c(), p("div", No, " Elige un tipo de jugada para filtrar: ")) : O("", !0),
|
|
1099
1107
|
(c(!0), p(X, null, ae(e.categories, (l, d) => (c(), p("div", {
|
|
1100
1108
|
key: `k${d}`,
|
|
1101
1109
|
class: "plays-golstats__item",
|
|
1102
1110
|
onClick: (f) => r(l)
|
|
1103
1111
|
}, [
|
|
1104
|
-
e.type === M(
|
|
1112
|
+
e.type === M(h).GOLSTATS ? (c(), p("div", Ro, B(l.value), 1)) : O("", !0),
|
|
1105
1113
|
o("div", Jo, B(l.name), 1),
|
|
1106
1114
|
o("div", Xo, [
|
|
1107
1115
|
$((c(), p("svg", Zo, [
|
|
@@ -1630,7 +1638,7 @@ const dr = /* @__PURE__ */ $o(Pa, [["render", lr], ["__scopeId", "data-v-f3ee6b2
|
|
|
1630
1638
|
function u(y, b) {
|
|
1631
1639
|
t.isMultipleOption ? s.value = -1 : (s.value = b, n.value = !1), a.value = y, i("input", a.value), i("update:modelValue", a.value);
|
|
1632
1640
|
}
|
|
1633
|
-
function
|
|
1641
|
+
function m() {
|
|
1634
1642
|
n.value = !1, i("click-ready");
|
|
1635
1643
|
}
|
|
1636
1644
|
return xa(() => {
|
|
@@ -1706,7 +1714,7 @@ const dr = /* @__PURE__ */ $o(Pa, [["render", lr], ["__scopeId", "data-v-f3ee6b2
|
|
|
1706
1714
|
height: "22px",
|
|
1707
1715
|
"border-radius": "62px",
|
|
1708
1716
|
"border-width": 0.8,
|
|
1709
|
-
onClick:
|
|
1717
|
+
onClick: m
|
|
1710
1718
|
})
|
|
1711
1719
|
])) : O("", !0)
|
|
1712
1720
|
])
|
|
@@ -1819,13 +1827,13 @@ const nt = (e) => (ue("data-v-915d5e00"), e = e(), pe(), e), br = { class: "univ
|
|
|
1819
1827
|
}
|
|
1820
1828
|
return i({
|
|
1821
1829
|
resetFilters: f
|
|
1822
|
-
}), (u,
|
|
1830
|
+
}), (u, m) => (c(), p("div", br, [
|
|
1823
1831
|
xr,
|
|
1824
1832
|
o("div", gr, [
|
|
1825
1833
|
o("div", Sr, [
|
|
1826
1834
|
o("div", kr, [
|
|
1827
1835
|
$(o("input", {
|
|
1828
|
-
"onUpdate:modelValue":
|
|
1836
|
+
"onUpdate:modelValue": m[0] || (m[0] = (y) => l.value.statisticsRadios = y),
|
|
1829
1837
|
type: "radio",
|
|
1830
1838
|
id: "total",
|
|
1831
1839
|
value: "total",
|
|
@@ -1839,7 +1847,7 @@ const nt = (e) => (ue("data-v-915d5e00"), e = e(), pe(), e), br = { class: "univ
|
|
|
1839
1847
|
o("div", Cr, [
|
|
1840
1848
|
o("div", Lr, [
|
|
1841
1849
|
$(o("input", {
|
|
1842
|
-
"onUpdate:modelValue":
|
|
1850
|
+
"onUpdate:modelValue": m[1] || (m[1] = (y) => l.value.statisticsRadios = y),
|
|
1843
1851
|
type: "radio",
|
|
1844
1852
|
id: "every",
|
|
1845
1853
|
value: "every90",
|
|
@@ -3915,7 +3923,7 @@ function Qt(e, i, t) {
|
|
|
3915
3923
|
}
|
|
3916
3924
|
return ua(b) ? !0 : (i.append($a(g, x, s), f(b)), !1);
|
|
3917
3925
|
}
|
|
3918
|
-
const u = [],
|
|
3926
|
+
const u = [], m = Object.assign(cd, {
|
|
3919
3927
|
defaultVisitor: v,
|
|
3920
3928
|
convertValue: f,
|
|
3921
3929
|
isVisitable: ua
|
|
@@ -3930,7 +3938,7 @@ function Qt(e, i, t) {
|
|
|
3930
3938
|
k,
|
|
3931
3939
|
S.isString(L) ? L.trim() : L,
|
|
3932
3940
|
x,
|
|
3933
|
-
|
|
3941
|
+
m
|
|
3934
3942
|
)) === !0 && y(k, x ? x.concat(L) : [L]);
|
|
3935
3943
|
}), u.pop();
|
|
3936
3944
|
}
|
|
@@ -4417,13 +4425,13 @@ function Dd(e, i) {
|
|
|
4417
4425
|
return i = i !== void 0 ? i : 1e3, function(d) {
|
|
4418
4426
|
const f = Date.now(), v = a[s];
|
|
4419
4427
|
n || (n = f), t[r] = d, a[r] = f;
|
|
4420
|
-
let u = s,
|
|
4428
|
+
let u = s, m = 0;
|
|
4421
4429
|
for (; u !== r; )
|
|
4422
|
-
|
|
4430
|
+
m += t[u++], u = u % e;
|
|
4423
4431
|
if (r = (r + 1) % e, r === s && (s = (s + 1) % e), f - n < i)
|
|
4424
4432
|
return;
|
|
4425
4433
|
const y = v && f - v;
|
|
4426
|
-
return y ? Math.round(
|
|
4434
|
+
return y ? Math.round(m * 1e3 / y) : void 0;
|
|
4427
4435
|
};
|
|
4428
4436
|
}
|
|
4429
4437
|
function Ad(e, i) {
|
|
@@ -4508,15 +4516,15 @@ const oi = (e) => e instanceof ze ? { ...e } : e;
|
|
|
4508
4516
|
function rt(e, i) {
|
|
4509
4517
|
i = i || {};
|
|
4510
4518
|
const t = {};
|
|
4511
|
-
function a(f, v, u,
|
|
4512
|
-
return S.isPlainObject(f) && S.isPlainObject(v) ? S.merge.call({ caseless:
|
|
4519
|
+
function a(f, v, u, m) {
|
|
4520
|
+
return S.isPlainObject(f) && S.isPlainObject(v) ? S.merge.call({ caseless: m }, f, v) : S.isPlainObject(v) ? S.merge({}, v) : S.isArray(v) ? v.slice() : v;
|
|
4513
4521
|
}
|
|
4514
|
-
function r(f, v, u,
|
|
4522
|
+
function r(f, v, u, m) {
|
|
4515
4523
|
if (S.isUndefined(v)) {
|
|
4516
4524
|
if (!S.isUndefined(f))
|
|
4517
|
-
return a(void 0, f, u,
|
|
4525
|
+
return a(void 0, f, u, m);
|
|
4518
4526
|
} else
|
|
4519
|
-
return a(f, v, u,
|
|
4527
|
+
return a(f, v, u, m);
|
|
4520
4528
|
}
|
|
4521
4529
|
function s(f, v) {
|
|
4522
4530
|
if (!S.isUndefined(v))
|
|
@@ -4567,8 +4575,8 @@ function rt(e, i) {
|
|
|
4567
4575
|
headers: (f, v, u) => r(oi(f), oi(v), u, !0)
|
|
4568
4576
|
};
|
|
4569
4577
|
return S.forEach(Object.keys(Object.assign({}, e, i)), function(v) {
|
|
4570
|
-
const u = d[v] || r,
|
|
4571
|
-
S.isUndefined(
|
|
4578
|
+
const u = d[v] || r, m = u(e[v], i[v], v);
|
|
4579
|
+
S.isUndefined(m) && u !== l || (t[v] = m);
|
|
4572
4580
|
}), t;
|
|
4573
4581
|
}
|
|
4574
4582
|
const Ri = (e) => {
|
|
@@ -4597,7 +4605,7 @@ const Ri = (e) => {
|
|
|
4597
4605
|
const r = Ri(e);
|
|
4598
4606
|
let s = r.data;
|
|
4599
4607
|
const n = ze.from(r.headers).normalize();
|
|
4600
|
-
let { responseType: l, onUploadProgress: d, onDownloadProgress: f } = r, v, u,
|
|
4608
|
+
let { responseType: l, onUploadProgress: d, onDownloadProgress: f } = r, v, u, m, y, b;
|
|
4601
4609
|
function x() {
|
|
4602
4610
|
y && y(), b && b(), r.cancelToken && r.cancelToken.unsubscribe(v), r.signal && r.signal.removeEventListener("abort", v);
|
|
4603
4611
|
}
|
|
@@ -4639,7 +4647,7 @@ const Ri = (e) => {
|
|
|
4639
4647
|
)), g = null;
|
|
4640
4648
|
}, s === void 0 && n.setContentType(null), "setRequestHeader" in g && S.forEach(n.toJSON(), function(ce, ie) {
|
|
4641
4649
|
g.setRequestHeader(ie, ce);
|
|
4642
|
-
}), S.isUndefined(r.withCredentials) || (g.withCredentials = !!r.withCredentials), l && l !== "json" && (g.responseType = r.responseType), f && ([
|
|
4650
|
+
}), S.isUndefined(r.withCredentials) || (g.withCredentials = !!r.withCredentials), l && l !== "json" && (g.responseType = r.responseType), f && ([m, b] = Gt(f, !0), g.addEventListener("progress", m)), d && g.upload && ([u, y] = Gt(d), g.upload.addEventListener("progress", u), g.upload.addEventListener("loadend", y)), (r.cancelToken || r.signal) && (v = (J) => {
|
|
4643
4651
|
g && (a(!J || J.type ? new yt(null, e, g) : J), g.abort(), g = null);
|
|
4644
4652
|
}, r.cancelToken && r.cancelToken.subscribe(v), r.signal && (r.signal.aborted ? v() : r.signal.addEventListener("abort", v)));
|
|
4645
4653
|
const L = Bd(r.url);
|
|
@@ -4715,8 +4723,8 @@ const Ri = (e) => {
|
|
|
4715
4723
|
}
|
|
4716
4724
|
let u = v.byteLength;
|
|
4717
4725
|
if (t) {
|
|
4718
|
-
let
|
|
4719
|
-
t(
|
|
4726
|
+
let m = s += u;
|
|
4727
|
+
t(m);
|
|
4720
4728
|
}
|
|
4721
4729
|
d.enqueue(new Uint8Array(v));
|
|
4722
4730
|
} catch (f) {
|
|
@@ -4785,7 +4793,7 @@ const Wd = async (e) => {
|
|
|
4785
4793
|
responseType: f,
|
|
4786
4794
|
headers: v,
|
|
4787
4795
|
withCredentials: u = "same-origin",
|
|
4788
|
-
fetchOptions:
|
|
4796
|
+
fetchOptions: m
|
|
4789
4797
|
} = Ri(e);
|
|
4790
4798
|
f = f ? (f + "").toLowerCase() : "text";
|
|
4791
4799
|
let y = Jd([r, s && s.toAbortSignal()], n), b;
|
|
@@ -4811,7 +4819,7 @@ const Wd = async (e) => {
|
|
|
4811
4819
|
S.isString(u) || (u = u ? "include" : "omit");
|
|
4812
4820
|
const k = "credentials" in Request.prototype;
|
|
4813
4821
|
b = new Request(i, {
|
|
4814
|
-
...
|
|
4822
|
+
...m,
|
|
4815
4823
|
signal: y,
|
|
4816
4824
|
method: t.toUpperCase(),
|
|
4817
4825
|
headers: v.normalize().toJSON(),
|
|
@@ -5040,16 +5048,16 @@ class Jt {
|
|
|
5040
5048
|
this.interceptors.response.forEach(function(x) {
|
|
5041
5049
|
f.push(x.fulfilled, x.rejected);
|
|
5042
5050
|
});
|
|
5043
|
-
let v, u = 0,
|
|
5051
|
+
let v, u = 0, m;
|
|
5044
5052
|
if (!d) {
|
|
5045
5053
|
const b = [di.bind(this), void 0];
|
|
5046
|
-
for (b.unshift.apply(b, l), b.push.apply(b, f),
|
|
5054
|
+
for (b.unshift.apply(b, l), b.push.apply(b, f), m = b.length, v = Promise.resolve(t); u < m; )
|
|
5047
5055
|
v = v.then(b[u++], b[u++]);
|
|
5048
5056
|
return v;
|
|
5049
5057
|
}
|
|
5050
|
-
|
|
5058
|
+
m = l.length;
|
|
5051
5059
|
let y = t;
|
|
5052
|
-
for (u = 0; u <
|
|
5060
|
+
for (u = 0; u < m; ) {
|
|
5053
5061
|
const b = l[u++], x = l[u++];
|
|
5054
5062
|
try {
|
|
5055
5063
|
y = b(y);
|
|
@@ -5063,7 +5071,7 @@ class Jt {
|
|
|
5063
5071
|
} catch (b) {
|
|
5064
5072
|
return Promise.reject(b);
|
|
5065
5073
|
}
|
|
5066
|
-
for (u = 0,
|
|
5074
|
+
for (u = 0, m = f.length; u < m; )
|
|
5067
5075
|
v = v.then(f[u++], f[u++]);
|
|
5068
5076
|
return v;
|
|
5069
5077
|
}
|
|
@@ -5606,7 +5614,7 @@ function s1(e, i) {
|
|
|
5606
5614
|
function St(e, i) {
|
|
5607
5615
|
if (ve(2, arguments), !i || Xt(i) !== "object")
|
|
5608
5616
|
return /* @__PURE__ */ new Date(NaN);
|
|
5609
|
-
var t = i.years ? Xe(i.years) : 0, a = i.months ? Xe(i.months) : 0, r = i.weeks ? Xe(i.weeks) : 0, s = i.days ? Xe(i.days) : 0, n = i.hours ? Xe(i.hours) : 0, l = i.minutes ? Xe(i.minutes) : 0, d = i.seconds ? Xe(i.seconds) : 0, f = fe(e), v = a || t ? s1(f, a + t * 12) : f, u = s || r ? i1(v, s + r * 7) : v,
|
|
5617
|
+
var t = i.years ? Xe(i.years) : 0, a = i.months ? Xe(i.months) : 0, r = i.weeks ? Xe(i.weeks) : 0, s = i.days ? Xe(i.days) : 0, n = i.hours ? Xe(i.hours) : 0, l = i.minutes ? Xe(i.minutes) : 0, d = i.seconds ? Xe(i.seconds) : 0, f = fe(e), v = a || t ? s1(f, a + t * 12) : f, u = s || r ? i1(v, s + r * 7) : v, m = l + n * 60, y = d + m * 60, b = y * 1e3, x = new Date(u.getTime() + b);
|
|
5610
5618
|
return x;
|
|
5611
5619
|
}
|
|
5612
5620
|
function ci(e) {
|
|
@@ -5781,22 +5789,22 @@ async function L3(e = [], i = "", t = 0, a = !1) {
|
|
|
5781
5789
|
if (r.length) {
|
|
5782
5790
|
const s = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Date(), l = [], d = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), v = await Promise.all(r);
|
|
5783
5791
|
for (const u of v)
|
|
5784
|
-
for (const
|
|
5785
|
-
const y = new Date(
|
|
5792
|
+
for (const m of u) {
|
|
5793
|
+
const y = new Date(m.dob), b = Ui(y), x = Qi({
|
|
5786
5794
|
start: y,
|
|
5787
5795
|
end: n
|
|
5788
5796
|
});
|
|
5789
|
-
d.has(
|
|
5790
|
-
id:
|
|
5797
|
+
d.has(m.nationality_id) || d.set(m.nationality_id, {
|
|
5798
|
+
id: m.nationality_id,
|
|
5791
5799
|
isSelected: !0,
|
|
5792
|
-
name: Vi[`${
|
|
5793
|
-
}), f.has(
|
|
5794
|
-
id:
|
|
5800
|
+
name: Vi[`${m.nationality_id}`]
|
|
5801
|
+
}), f.has(m.position_id) || f.set(m.position_id, {
|
|
5802
|
+
id: m.position_id,
|
|
5795
5803
|
isSelected: !0,
|
|
5796
|
-
name: Wi[`${
|
|
5804
|
+
name: Wi[`${m.position_id}`]
|
|
5797
5805
|
}), s.add(b), l.push(x.years);
|
|
5798
5806
|
}
|
|
5799
|
-
return et.minAge = Math.min(...l), et.maxAge = Math.max(...l), et.availableYears = [...s].sort((u,
|
|
5807
|
+
return et.minAge = Math.min(...l), et.maxAge = Math.max(...l), et.availableYears = [...s].sort((u, m) => m - u), et.nationalities = [...d.values()], et.positions = [...f.values()], et.isEligibilitySwitchVisible = e.some(
|
|
5800
5808
|
(u) => qi.has(u.tournamentId)
|
|
5801
5809
|
), et;
|
|
5802
5810
|
} else
|
|
@@ -5914,7 +5922,7 @@ const lt = (e) => (ue("data-v-b5a39256"), e = e(), pe(), e), T1 = { class: "pers
|
|
|
5914
5922
|
}, n = C({ ...Ht }), l = C(["Por edad", "Por año"]), d = C(0), f = C({
|
|
5915
5923
|
min: Ht.minAge,
|
|
5916
5924
|
max: Ht.maxAge
|
|
5917
|
-
}), v = C(Ze), u = C(""),
|
|
5925
|
+
}), v = C(Ze), u = C(""), m = C(""), y = C(
|
|
5918
5926
|
n.value.availableYears[n.value.availableYears.length - 1]
|
|
5919
5927
|
), b = C(0), x = A(() => {
|
|
5920
5928
|
const H = n.value.nationalities ? [...n.value.nationalities] : [];
|
|
@@ -5939,7 +5947,7 @@ const lt = (e) => (ue("data-v-b5a39256"), e = e(), pe(), e), T1 = { class: "pers
|
|
|
5939
5947
|
g,
|
|
5940
5948
|
(H) => {
|
|
5941
5949
|
const G = H.reduce((N, se, D) => (D !== 0 && se.isSelected && N++, N), 0);
|
|
5942
|
-
G === g.value.length - 1 && (H[0].isSelected = !0), H[0] && H[0].isSelected ?
|
|
5950
|
+
G === g.value.length - 1 && (H[0].isSelected = !0), H[0] && H[0].isSelected ? m.value = "Todas las posiciones" : m.value = `${G} seleccionadas`, be();
|
|
5943
5951
|
},
|
|
5944
5952
|
{ immediate: !0, deep: !0 }
|
|
5945
5953
|
), j(
|
|
@@ -6152,9 +6160,9 @@ const lt = (e) => (ue("data-v-b5a39256"), e = e(), pe(), e), T1 = { class: "pers
|
|
|
6152
6160
|
default: ee(() => [
|
|
6153
6161
|
o("div", W1, [
|
|
6154
6162
|
e.isFemale ? (c(), p(X, { key: 0 }, [
|
|
6155
|
-
ot(B(
|
|
6163
|
+
ot(B(m.value.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva")), 1)
|
|
6156
6164
|
], 64)) : (c(), p(X, { key: 1 }, [
|
|
6157
|
-
ot(B(
|
|
6165
|
+
ot(B(m.value), 1)
|
|
6158
6166
|
], 64))
|
|
6159
6167
|
])
|
|
6160
6168
|
]),
|
|
@@ -6203,7 +6211,7 @@ const K1 = { class: "plays" }, $1 = { class: "plays__body__offensive" }, ef = {
|
|
|
6203
6211
|
function u(y, b) {
|
|
6204
6212
|
b.isSelected = y;
|
|
6205
6213
|
}
|
|
6206
|
-
function
|
|
6214
|
+
function m(y) {
|
|
6207
6215
|
y === "offensive" ? t.value = !t.value : y === "defensive" ? a.value = !a.value : y === "possession" ? r.value = !r.value : y === "offenses" && (s.value = !s.value);
|
|
6208
6216
|
}
|
|
6209
6217
|
return (y, b) => (c(), p("div", K1, [
|
|
@@ -6215,14 +6223,14 @@ const K1 = { class: "plays" }, $1 = { class: "plays__body__offensive" }, ef = {
|
|
|
6215
6223
|
o("div", ef, [
|
|
6216
6224
|
o("div", {
|
|
6217
6225
|
class: "plays__body__title__info",
|
|
6218
|
-
onClick: b[0] || (b[0] = (x) =>
|
|
6226
|
+
onClick: b[0] || (b[0] = (x) => m("offensive"))
|
|
6219
6227
|
}, [
|
|
6220
6228
|
o("span", null, B(e.playsCategories.offensive.title), 1),
|
|
6221
6229
|
o("span", tf, "(" + B(l.value) + ")", 1)
|
|
6222
6230
|
]),
|
|
6223
6231
|
o("div", {
|
|
6224
6232
|
class: "plays__body__title__expand-button",
|
|
6225
|
-
onClick: b[1] || (b[1] = (x) =>
|
|
6233
|
+
onClick: b[1] || (b[1] = (x) => m("offensive"))
|
|
6226
6234
|
}, [
|
|
6227
6235
|
$(P(at, { "is-expanded": t.value }, null, 8, ["is-expanded"]), [
|
|
6228
6236
|
[re, e.isExpansionMode]
|
|
@@ -6251,14 +6259,14 @@ const K1 = { class: "plays" }, $1 = { class: "plays__body__offensive" }, ef = {
|
|
|
6251
6259
|
o("div", of, [
|
|
6252
6260
|
o("div", {
|
|
6253
6261
|
class: "plays__body__title__info",
|
|
6254
|
-
onClick: b[2] || (b[2] = (x) =>
|
|
6262
|
+
onClick: b[2] || (b[2] = (x) => m("defensive"))
|
|
6255
6263
|
}, [
|
|
6256
6264
|
o("span", null, B(e.playsCategories.defensive.title), 1),
|
|
6257
6265
|
o("span", rf, "(" + B(d.value) + ")", 1)
|
|
6258
6266
|
]),
|
|
6259
6267
|
o("div", {
|
|
6260
6268
|
class: "plays__body__title__expand-button",
|
|
6261
|
-
onClick: b[3] || (b[3] = (x) =>
|
|
6269
|
+
onClick: b[3] || (b[3] = (x) => m("defensive"))
|
|
6262
6270
|
}, [
|
|
6263
6271
|
$(P(at, { "is-expanded": a.value }, null, 8, ["is-expanded"]), [
|
|
6264
6272
|
[re, e.isExpansionMode]
|
|
@@ -6285,14 +6293,14 @@ const K1 = { class: "plays" }, $1 = { class: "plays__body__offensive" }, ef = {
|
|
|
6285
6293
|
o("div", lf, [
|
|
6286
6294
|
o("div", {
|
|
6287
6295
|
class: "plays__body__title__info",
|
|
6288
|
-
onClick: b[4] || (b[4] = (x) =>
|
|
6296
|
+
onClick: b[4] || (b[4] = (x) => m("possession"))
|
|
6289
6297
|
}, [
|
|
6290
6298
|
o("span", null, B(e.playsCategories.possession.title), 1),
|
|
6291
6299
|
o("span", df, "(" + B(f.value) + ")", 1)
|
|
6292
6300
|
]),
|
|
6293
6301
|
o("div", {
|
|
6294
6302
|
class: "plays__body__title__expand-button",
|
|
6295
|
-
onClick: b[5] || (b[5] = (x) =>
|
|
6303
|
+
onClick: b[5] || (b[5] = (x) => m("possession"))
|
|
6296
6304
|
}, [
|
|
6297
6305
|
$(P(at, { "is-expanded": r.value }, null, 8, ["is-expanded"]), [
|
|
6298
6306
|
[re, e.isExpansionMode]
|
|
@@ -6319,14 +6327,14 @@ const K1 = { class: "plays" }, $1 = { class: "plays__body__offensive" }, ef = {
|
|
|
6319
6327
|
o("div", cf, [
|
|
6320
6328
|
o("div", {
|
|
6321
6329
|
class: "plays__body__title__info",
|
|
6322
|
-
onClick: b[6] || (b[6] = (x) =>
|
|
6330
|
+
onClick: b[6] || (b[6] = (x) => m("offenses"))
|
|
6323
6331
|
}, [
|
|
6324
6332
|
o("span", null, B(e.playsCategories.offenses.title), 1),
|
|
6325
6333
|
o("span", uf, "(" + B(v.value) + ")", 1)
|
|
6326
6334
|
]),
|
|
6327
6335
|
o("div", {
|
|
6328
6336
|
class: "plays__body__title__expand-button",
|
|
6329
|
-
onClick: b[7] || (b[7] = (x) =>
|
|
6337
|
+
onClick: b[7] || (b[7] = (x) => m("offenses"))
|
|
6330
6338
|
}, [
|
|
6331
6339
|
$(P(at, { "is-expanded": s.value }, null, 8, ["is-expanded"]), [
|
|
6332
6340
|
[re, e.isExpansionMode]
|
|
@@ -7615,7 +7623,7 @@ const jf = { class: "dropdown" }, Ef = { class: "selected-item" }, Nf = {
|
|
|
7615
7623
|
const Gf = { class: "dropdown" }, Rf = { class: "game-item" }, Jf = {
|
|
7616
7624
|
key: 0,
|
|
7617
7625
|
class: "item-game"
|
|
7618
|
-
}, Xf = { class: "match-day" }, Zf = { class: "team-logo" }, Yf = ["src"], _f = { class: "text" }, Vf = { class: "text score" }, Wf = { class: "text" }, Uf = { class: "team-logo" }, Qf = ["src"], qf = { class: "item-game" }, Kf = { class: "team-logo" }, $f = ["src"],
|
|
7626
|
+
}, Xf = { class: "match-day" }, Zf = { class: "team-logo" }, Yf = ["src"], _f = { class: "text" }, Vf = { class: "text score" }, Wf = { class: "text" }, Uf = { class: "team-logo" }, Qf = ["src"], qf = { class: "item-game" }, Kf = { class: "team-logo" }, $f = ["src"], ec = { class: "text" }, tc = { class: "text score" }, ac = { class: "text" }, ic = { class: "team-logo" }, sc = ["src"], oc = {
|
|
7619
7627
|
__name: "DropdownGame",
|
|
7620
7628
|
props: {
|
|
7621
7629
|
items: {
|
|
@@ -7664,14 +7672,14 @@ const Gf = { class: "dropdown" }, Rf = { class: "game-item" }, Jf = {
|
|
|
7664
7672
|
alt: ""
|
|
7665
7673
|
}, null, 8, $f)
|
|
7666
7674
|
]),
|
|
7667
|
-
o("div",
|
|
7668
|
-
o("div",
|
|
7669
|
-
o("div",
|
|
7670
|
-
o("div",
|
|
7675
|
+
o("div", ec, B(s.homeTeam.acronym), 1),
|
|
7676
|
+
o("div", tc, B(s.score[0]) + " - " + B(s.score[1]), 1),
|
|
7677
|
+
o("div", ac, B(s.awayTeam.acronym), 1),
|
|
7678
|
+
o("div", ic, [
|
|
7671
7679
|
o("img", {
|
|
7672
7680
|
src: s.awayTeam.logo,
|
|
7673
7681
|
alt: ""
|
|
7674
|
-
}, null, 8,
|
|
7682
|
+
}, null, 8, sc)
|
|
7675
7683
|
])
|
|
7676
7684
|
])
|
|
7677
7685
|
]),
|
|
@@ -7679,17 +7687,17 @@ const Gf = { class: "dropdown" }, Rf = { class: "game-item" }, Jf = {
|
|
|
7679
7687
|
}, 16, ["items"])
|
|
7680
7688
|
]));
|
|
7681
7689
|
}
|
|
7682
|
-
}, ea = /* @__PURE__ */ K(
|
|
7683
|
-
const ta = (e) => (ue("data-v-b63e9c84"), e = e(), pe(), e),
|
|
7690
|
+
}, ea = /* @__PURE__ */ K(oc, [["__scopeId", "data-v-7883a91e"]]);
|
|
7691
|
+
const ta = (e) => (ue("data-v-b63e9c84"), e = e(), pe(), e), rc = { class: "container" }, nc = { class: "container__row" }, lc = { class: "container__row__wrapper" }, dc = /* @__PURE__ */ ta(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "1. Elige la liga", -1)), fc = { class: "container__row__wrapper__input" }, cc = { class: "container__row two-items" }, uc = { class: "container__row__wrapper" }, pc = /* @__PURE__ */ ta(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "2. Elige el torneo", -1)), vc = {
|
|
7684
7692
|
key: 0,
|
|
7685
7693
|
class: "container__row__wrapper__input"
|
|
7686
|
-
},
|
|
7694
|
+
}, mc = { class: "container__row__wrapper" }, hc = /* @__PURE__ */ ta(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "3. Elige la jornada", -1)), yc = {
|
|
7687
7695
|
key: 0,
|
|
7688
7696
|
class: "container__row__wrapper__input"
|
|
7689
|
-
},
|
|
7697
|
+
}, bc = { class: "container__row" }, xc = { class: "container__row__wrapper" }, gc = /* @__PURE__ */ ta(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "4. Elige el partido", -1)), Sc = {
|
|
7690
7698
|
key: 0,
|
|
7691
7699
|
class: "container__row__wrapper__input"
|
|
7692
|
-
},
|
|
7700
|
+
}, kc = { class: "container__action" }, Pc = {
|
|
7693
7701
|
__name: "VideosGoals",
|
|
7694
7702
|
props: {
|
|
7695
7703
|
tournaments: {
|
|
@@ -7720,12 +7728,12 @@ const ta = (e) => (ue("data-v-b63e9c84"), e = e(), pe(), e), r0 = { class: "cont
|
|
|
7720
7728
|
function v(u) {
|
|
7721
7729
|
n.value = u;
|
|
7722
7730
|
}
|
|
7723
|
-
return (u,
|
|
7724
|
-
o("div",
|
|
7725
|
-
o("div",
|
|
7726
|
-
o("div",
|
|
7727
|
-
|
|
7728
|
-
o("div",
|
|
7731
|
+
return (u, m) => (c(), p(X, null, [
|
|
7732
|
+
o("div", rc, [
|
|
7733
|
+
o("div", nc, [
|
|
7734
|
+
o("div", lc, [
|
|
7735
|
+
dc,
|
|
7736
|
+
o("div", fc, [
|
|
7729
7737
|
P(we, {
|
|
7730
7738
|
items: e.tournaments,
|
|
7731
7739
|
itemTextKey: "name",
|
|
@@ -7734,10 +7742,10 @@ const ta = (e) => (ue("data-v-b63e9c84"), e = e(), pe(), e), r0 = { class: "cont
|
|
|
7734
7742
|
])
|
|
7735
7743
|
])
|
|
7736
7744
|
]),
|
|
7737
|
-
o("div",
|
|
7738
|
-
o("div",
|
|
7739
|
-
|
|
7740
|
-
a.value && a.value.seasons ? (c(), p("div",
|
|
7745
|
+
o("div", cc, [
|
|
7746
|
+
o("div", uc, [
|
|
7747
|
+
pc,
|
|
7748
|
+
a.value && a.value.seasons ? (c(), p("div", vc, [
|
|
7741
7749
|
P(we, {
|
|
7742
7750
|
items: a.value.seasons,
|
|
7743
7751
|
itemTextKey: "name",
|
|
@@ -7745,9 +7753,9 @@ const ta = (e) => (ue("data-v-b63e9c84"), e = e(), pe(), e), r0 = { class: "cont
|
|
|
7745
7753
|
}, null, 8, ["items"])
|
|
7746
7754
|
])) : O("", !0)
|
|
7747
7755
|
]),
|
|
7748
|
-
o("div",
|
|
7749
|
-
|
|
7750
|
-
r.value && r.value.arrayMatchDays ? (c(), p("div",
|
|
7756
|
+
o("div", mc, [
|
|
7757
|
+
hc,
|
|
7758
|
+
r.value && r.value.arrayMatchDays ? (c(), p("div", yc, [
|
|
7751
7759
|
P(we, {
|
|
7752
7760
|
items: r.value.arrayMatchDays,
|
|
7753
7761
|
itemTextKey: "stringMatchDayAbbreviation",
|
|
@@ -7756,10 +7764,10 @@ const ta = (e) => (ue("data-v-b63e9c84"), e = e(), pe(), e), r0 = { class: "cont
|
|
|
7756
7764
|
])) : O("", !0)
|
|
7757
7765
|
])
|
|
7758
7766
|
]),
|
|
7759
|
-
o("div",
|
|
7760
|
-
o("div",
|
|
7761
|
-
|
|
7762
|
-
s.value && s.value.arrayGames ? (c(), p("div",
|
|
7767
|
+
o("div", bc, [
|
|
7768
|
+
o("div", xc, [
|
|
7769
|
+
gc,
|
|
7770
|
+
s.value && s.value.arrayGames ? (c(), p("div", Sc, [
|
|
7763
7771
|
P(ea, {
|
|
7764
7772
|
items: s.value.arrayGames,
|
|
7765
7773
|
onInput: v
|
|
@@ -7768,13 +7776,13 @@ const ta = (e) => (ue("data-v-b63e9c84"), e = e(), pe(), e), r0 = { class: "cont
|
|
|
7768
7776
|
])
|
|
7769
7777
|
])
|
|
7770
7778
|
]),
|
|
7771
|
-
o("div",
|
|
7779
|
+
o("div", kc, [
|
|
7772
7780
|
P(Mt, Zt(Yt(t)), null, 16)
|
|
7773
7781
|
])
|
|
7774
7782
|
], 64));
|
|
7775
7783
|
}
|
|
7776
|
-
},
|
|
7777
|
-
const
|
|
7784
|
+
}, Cc = /* @__PURE__ */ K(Pc, [["__scopeId", "data-v-b63e9c84"]]);
|
|
7785
|
+
const Lc = { class: "dropdown" }, wc = { class: "item-team" }, Ic = { class: "team-logo" }, Oc = ["src"], Tc = { class: "team-acronym" }, Mc = { class: "item-team" }, Fc = { class: "team-logo" }, Bc = ["src"], Dc = { class: "team-acronym" }, Ac = {
|
|
7778
7786
|
__name: "DropdownTeam",
|
|
7779
7787
|
props: {
|
|
7780
7788
|
items: {
|
|
@@ -7787,39 +7795,39 @@ const L0 = { class: "dropdown" }, w0 = { class: "item-team" }, I0 = { class: "te
|
|
|
7787
7795
|
function t(a) {
|
|
7788
7796
|
i("input", a);
|
|
7789
7797
|
}
|
|
7790
|
-
return (a, r) => (c(), p("div",
|
|
7798
|
+
return (a, r) => (c(), p("div", Lc, [
|
|
7791
7799
|
P(M(De), ke(M(Ze), {
|
|
7792
7800
|
items: e.items,
|
|
7793
7801
|
onInput: t
|
|
7794
7802
|
}), {
|
|
7795
7803
|
default: ee(({ selectedItem: s }) => [
|
|
7796
|
-
o("div",
|
|
7797
|
-
o("div",
|
|
7804
|
+
o("div", wc, [
|
|
7805
|
+
o("div", Ic, [
|
|
7798
7806
|
o("img", {
|
|
7799
7807
|
src: s.logo,
|
|
7800
7808
|
alt: ""
|
|
7801
|
-
}, null, 8,
|
|
7809
|
+
}, null, 8, Oc)
|
|
7802
7810
|
]),
|
|
7803
|
-
o("div",
|
|
7811
|
+
o("div", Tc, B(s.acronym), 1)
|
|
7804
7812
|
])
|
|
7805
7813
|
]),
|
|
7806
7814
|
availableItem: ee(({ item: s }) => [
|
|
7807
|
-
o("div",
|
|
7808
|
-
o("div",
|
|
7815
|
+
o("div", Mc, [
|
|
7816
|
+
o("div", Fc, [
|
|
7809
7817
|
o("img", {
|
|
7810
7818
|
src: s.logo,
|
|
7811
7819
|
alt: ""
|
|
7812
|
-
}, null, 8,
|
|
7820
|
+
}, null, 8, Bc)
|
|
7813
7821
|
]),
|
|
7814
|
-
o("div",
|
|
7822
|
+
o("div", Dc, B(s.acronym), 1)
|
|
7815
7823
|
])
|
|
7816
7824
|
]),
|
|
7817
7825
|
_: 1
|
|
7818
7826
|
}, 16, ["items"])
|
|
7819
7827
|
]));
|
|
7820
7828
|
}
|
|
7821
|
-
}, Ki = /* @__PURE__ */ K(
|
|
7822
|
-
const
|
|
7829
|
+
}, Ki = /* @__PURE__ */ K(Ac, [["__scopeId", "data-v-afd2bee8"]]);
|
|
7830
|
+
const zc = { class: "advanced-filters" }, Hc = { class: "advanced-filters__buttons" }, jc = ["onClick"], Ec = { class: "advanced-filters__filters" }, Nc = {
|
|
7823
7831
|
__name: "AdvancedFilters",
|
|
7824
7832
|
props: {
|
|
7825
7833
|
selectedCategory: {
|
|
@@ -7829,11 +7837,11 @@ const z0 = { class: "advanced-filters" }, H0 = { class: "advanced-filters__butto
|
|
|
7829
7837
|
},
|
|
7830
7838
|
setup(e) {
|
|
7831
7839
|
const i = e, t = ia(
|
|
7832
|
-
() => import("./FilterSubcategories-
|
|
7840
|
+
() => import("./FilterSubcategories-4c69ac5b.js")
|
|
7833
7841
|
), a = ia(
|
|
7834
|
-
() => import("./FilterConditions-
|
|
7842
|
+
() => import("./FilterConditions-33ce2100.js")
|
|
7835
7843
|
), r = ia(
|
|
7836
|
-
() => import("./FilterField-
|
|
7844
|
+
() => import("./FilterField-0f3013eb.js")
|
|
7837
7845
|
), s = [
|
|
7838
7846
|
{
|
|
7839
7847
|
name: "Sub categorías",
|
|
@@ -7851,36 +7859,36 @@ const z0 = { class: "advanced-filters" }, H0 = { class: "advanced-filters__butto
|
|
|
7851
7859
|
function d(f) {
|
|
7852
7860
|
n.value = f;
|
|
7853
7861
|
}
|
|
7854
|
-
return (f, v) => (c(), p("div",
|
|
7855
|
-
o("div",
|
|
7862
|
+
return (f, v) => (c(), p("div", zc, [
|
|
7863
|
+
o("div", Hc, [
|
|
7856
7864
|
(c(), p(X, null, ae(s, (u) => o("div", {
|
|
7857
7865
|
key: u.name,
|
|
7858
7866
|
role: "button",
|
|
7859
7867
|
class: he(["advanced-filters__buttons__button", { active: n.value.name === u.name }]),
|
|
7860
|
-
onClick: (
|
|
7861
|
-
}, B(u.name), 11,
|
|
7868
|
+
onClick: (m) => d(u)
|
|
7869
|
+
}, B(u.name), 11, jc)), 64))
|
|
7862
7870
|
]),
|
|
7863
|
-
o("div",
|
|
7871
|
+
o("div", Ec, [
|
|
7864
7872
|
(c(), Be(ss, null, [
|
|
7865
7873
|
(c(), Be(gi(n.value.component), { "subcategory-groups": l.value }, null, 8, ["subcategory-groups"]))
|
|
7866
7874
|
], 1024))
|
|
7867
7875
|
])
|
|
7868
7876
|
]));
|
|
7869
7877
|
}
|
|
7870
|
-
}, Ha = /* @__PURE__ */ K(
|
|
7871
|
-
const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e),
|
|
7878
|
+
}, Ha = /* @__PURE__ */ K(Nc, [["__scopeId", "data-v-c62c5b9c"]]);
|
|
7879
|
+
const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e), Gc = { class: "container" }, Rc = { class: "container__row" }, Jc = { class: "container__row__wrapper" }, Xc = /* @__PURE__ */ dt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "1. Elige la liga", -1)), Zc = { class: "container__row__wrapper__input" }, Yc = { class: "container__row two-items" }, _c = { class: "container__row__wrapper" }, Vc = /* @__PURE__ */ dt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "2. Elige el torneo", -1)), Wc = {
|
|
7872
7880
|
key: 0,
|
|
7873
7881
|
class: "container__row__wrapper__input"
|
|
7874
|
-
},
|
|
7882
|
+
}, Uc = { class: "container__row__wrapper" }, Qc = /* @__PURE__ */ dt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "3. En que equipo juega?", -1)), qc = {
|
|
7875
7883
|
key: 0,
|
|
7876
7884
|
class: "container__row__wrapper__input"
|
|
7877
|
-
},
|
|
7885
|
+
}, Kc = { class: "container__row" }, $c = { class: "container__row__wrapper" }, e0 = /* @__PURE__ */ dt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "4. Nombre del jugador", -1)), t0 = {
|
|
7878
7886
|
key: 0,
|
|
7879
7887
|
class: "container__row__wrapper__input"
|
|
7880
|
-
},
|
|
7888
|
+
}, a0 = { class: "container__row" }, i0 = { class: "container__row__wrapper" }, s0 = /* @__PURE__ */ dt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "5. Elige el partido", -1)), o0 = {
|
|
7881
7889
|
key: 0,
|
|
7882
7890
|
class: "container__row__wrapper__input"
|
|
7883
|
-
},
|
|
7891
|
+
}, r0 = { class: "container__row type-and-advanced" }, n0 = { class: "container__row__wrapper" }, l0 = /* @__PURE__ */ dt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "6. Elige el tipo de video", -1)), d0 = { class: "container__row__wrapper__input" }, f0 = { class: "container__row__wrapper center" }, c0 = /* @__PURE__ */ dt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "Filtrado avanzado", -1)), u0 = { class: "container__row__wrapper__input" }, p0 = { class: "container__row" }, v0 = { class: "container__action" }, m0 = {
|
|
7884
7892
|
__name: "VideosPlayer",
|
|
7885
7893
|
props: {
|
|
7886
7894
|
tournaments: {
|
|
@@ -7908,7 +7916,7 @@ const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e), G0 = { class: "cont
|
|
|
7908
7916
|
}, r = C(null), s = C(null);
|
|
7909
7917
|
C(null);
|
|
7910
7918
|
const n = C(null), l = C(null), d = C(null), f = C(null), v = C(!0), u = A(() => d.value ? d.value.position_id === 1 ? t.advancedFilterCategories.goalkeeper : t.advancedFilterCategories.player : []);
|
|
7911
|
-
function
|
|
7919
|
+
function m(L) {
|
|
7912
7920
|
r.value = L, i("update:tournament", L);
|
|
7913
7921
|
}
|
|
7914
7922
|
function y(L) {
|
|
@@ -7927,23 +7935,23 @@ const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e), G0 = { class: "cont
|
|
|
7927
7935
|
f.value = L;
|
|
7928
7936
|
}
|
|
7929
7937
|
return (L, J) => (c(), p(X, null, [
|
|
7930
|
-
o("div",
|
|
7931
|
-
o("div",
|
|
7932
|
-
o("div",
|
|
7933
|
-
|
|
7934
|
-
o("div",
|
|
7938
|
+
o("div", Gc, [
|
|
7939
|
+
o("div", Rc, [
|
|
7940
|
+
o("div", Jc, [
|
|
7941
|
+
Xc,
|
|
7942
|
+
o("div", Zc, [
|
|
7935
7943
|
P(we, {
|
|
7936
7944
|
items: e.tournaments,
|
|
7937
7945
|
itemTextKey: "name",
|
|
7938
|
-
onInput:
|
|
7946
|
+
onInput: m
|
|
7939
7947
|
}, null, 8, ["items"])
|
|
7940
7948
|
])
|
|
7941
7949
|
])
|
|
7942
7950
|
]),
|
|
7943
|
-
o("div",
|
|
7944
|
-
o("div",
|
|
7945
|
-
|
|
7946
|
-
r.value && r.value.seasons ? (c(), p("div",
|
|
7951
|
+
o("div", Yc, [
|
|
7952
|
+
o("div", _c, [
|
|
7953
|
+
Vc,
|
|
7954
|
+
r.value && r.value.seasons ? (c(), p("div", Wc, [
|
|
7947
7955
|
P(we, {
|
|
7948
7956
|
items: r.value.seasons,
|
|
7949
7957
|
itemTextKey: "name",
|
|
@@ -7951,9 +7959,9 @@ const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e), G0 = { class: "cont
|
|
|
7951
7959
|
}, null, 8, ["items"])
|
|
7952
7960
|
])) : O("", !0)
|
|
7953
7961
|
]),
|
|
7954
|
-
o("div",
|
|
7955
|
-
|
|
7956
|
-
s.value && s.value.arrayTeams ? (c(), p("div",
|
|
7962
|
+
o("div", Uc, [
|
|
7963
|
+
Qc,
|
|
7964
|
+
s.value && s.value.arrayTeams ? (c(), p("div", qc, [
|
|
7957
7965
|
P(Ki, {
|
|
7958
7966
|
items: s.value.arrayTeams,
|
|
7959
7967
|
itemTextKey: "stringMatchDayAbbreviation",
|
|
@@ -7962,10 +7970,10 @@ const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e), G0 = { class: "cont
|
|
|
7962
7970
|
])) : O("", !0)
|
|
7963
7971
|
])
|
|
7964
7972
|
]),
|
|
7965
|
-
o("div",
|
|
7966
|
-
o("div", $
|
|
7967
|
-
|
|
7968
|
-
l.value && l.value.arrayPlayers ? (c(), p("div",
|
|
7973
|
+
o("div", Kc, [
|
|
7974
|
+
o("div", $c, [
|
|
7975
|
+
e0,
|
|
7976
|
+
l.value && l.value.arrayPlayers ? (c(), p("div", t0, [
|
|
7969
7977
|
P(we, {
|
|
7970
7978
|
items: l.value.arrayPlayers,
|
|
7971
7979
|
itemTextKey: "player_name",
|
|
@@ -7974,10 +7982,10 @@ const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e), G0 = { class: "cont
|
|
|
7974
7982
|
])) : O("", !0)
|
|
7975
7983
|
])
|
|
7976
7984
|
]),
|
|
7977
|
-
o("div",
|
|
7978
|
-
o("div",
|
|
7979
|
-
|
|
7980
|
-
s.value && s.value.mapGamesByTeam && l.value ? (c(), p("div",
|
|
7985
|
+
o("div", a0, [
|
|
7986
|
+
o("div", i0, [
|
|
7987
|
+
s0,
|
|
7988
|
+
s.value && s.value.mapGamesByTeam && l.value ? (c(), p("div", o0, [
|
|
7981
7989
|
P(ea, {
|
|
7982
7990
|
items: s.value.mapGamesByTeam.get(l.value.team_id),
|
|
7983
7991
|
onInput: g
|
|
@@ -7985,10 +7993,10 @@ const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e), G0 = { class: "cont
|
|
|
7985
7993
|
])) : O("", !0)
|
|
7986
7994
|
])
|
|
7987
7995
|
]),
|
|
7988
|
-
o("div",
|
|
7989
|
-
o("div",
|
|
7990
|
-
|
|
7991
|
-
o("div",
|
|
7996
|
+
o("div", r0, [
|
|
7997
|
+
o("div", n0, [
|
|
7998
|
+
l0,
|
|
7999
|
+
o("div", d0, [
|
|
7992
8000
|
P(we, {
|
|
7993
8001
|
items: u.value,
|
|
7994
8002
|
itemTextKey: "name",
|
|
@@ -7997,9 +8005,9 @@ const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e), G0 = { class: "cont
|
|
|
7997
8005
|
}, null, 8, ["items"])
|
|
7998
8006
|
])
|
|
7999
8007
|
]),
|
|
8000
|
-
o("div",
|
|
8001
|
-
|
|
8002
|
-
o("div",
|
|
8008
|
+
o("div", f0, [
|
|
8009
|
+
c0,
|
|
8010
|
+
o("div", u0, [
|
|
8003
8011
|
P(Tt, {
|
|
8004
8012
|
modelValue: v.value,
|
|
8005
8013
|
"onUpdate:modelValue": J[0] || (J[0] = (ce) => v.value = ce)
|
|
@@ -8007,26 +8015,26 @@ const dt = (e) => (ue("data-v-575b26b5"), e = e(), pe(), e), G0 = { class: "cont
|
|
|
8007
8015
|
])
|
|
8008
8016
|
])
|
|
8009
8017
|
]),
|
|
8010
|
-
o("div",
|
|
8018
|
+
o("div", p0, [
|
|
8011
8019
|
P(Ha, { "selected-category": f.value }, null, 8, ["selected-category"])
|
|
8012
8020
|
])
|
|
8013
8021
|
]),
|
|
8014
|
-
o("div",
|
|
8022
|
+
o("div", v0, [
|
|
8015
8023
|
P(Mt, Zt(Yt(a)), null, 16)
|
|
8016
8024
|
])
|
|
8017
8025
|
], 64));
|
|
8018
8026
|
}
|
|
8019
|
-
},
|
|
8020
|
-
const bt = (e) => (ue("data-v-6d73d5e6"), e = e(), pe(), e),
|
|
8027
|
+
}, h0 = /* @__PURE__ */ K(m0, [["__scopeId", "data-v-575b26b5"]]);
|
|
8028
|
+
const bt = (e) => (ue("data-v-6d73d5e6"), e = e(), pe(), e), y0 = { class: "container" }, b0 = { class: "container__row" }, x0 = { class: "container__row__wrapper" }, g0 = /* @__PURE__ */ bt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "1. Elige la liga", -1)), S0 = { class: "container__row__wrapper__input" }, k0 = { class: "container__row two-items" }, P0 = { class: "container__row__wrapper" }, C0 = /* @__PURE__ */ bt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "2. Elige el torneo", -1)), L0 = {
|
|
8021
8029
|
key: 0,
|
|
8022
8030
|
class: "container__row__wrapper__input"
|
|
8023
|
-
},
|
|
8031
|
+
}, w0 = { class: "container__row__wrapper" }, I0 = /* @__PURE__ */ bt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "3. Elige el equipo", -1)), O0 = {
|
|
8024
8032
|
key: 0,
|
|
8025
8033
|
class: "container__row__wrapper__input"
|
|
8026
|
-
},
|
|
8034
|
+
}, T0 = { class: "container__row" }, M0 = { class: "container__row__wrapper" }, F0 = /* @__PURE__ */ bt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "4. Elige el partido", -1)), B0 = {
|
|
8027
8035
|
key: 0,
|
|
8028
8036
|
class: "container__row__wrapper__input"
|
|
8029
|
-
},
|
|
8037
|
+
}, D0 = { class: "container__row type-and-advanced" }, A0 = { class: "container__row__wrapper" }, z0 = /* @__PURE__ */ bt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "5. Elige el tipo de video", -1)), H0 = { class: "container__row__wrapper__input" }, j0 = { class: "container__row__wrapper center" }, E0 = /* @__PURE__ */ bt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "Filtrado avanzado", -1)), N0 = { class: "container__row__wrapper__input" }, G0 = { class: "container__row" }, R0 = { class: "container__action" }, J0 = {
|
|
8030
8038
|
__name: "VideosTeam",
|
|
8031
8039
|
props: {
|
|
8032
8040
|
tournaments: {
|
|
@@ -8056,7 +8064,7 @@ const bt = (e) => (ue("data-v-6d73d5e6"), e = e(), pe(), e), yc = { class: "cont
|
|
|
8056
8064
|
function u(g) {
|
|
8057
8065
|
r.value = g, i("update:tournament", g);
|
|
8058
8066
|
}
|
|
8059
|
-
function
|
|
8067
|
+
function m(g) {
|
|
8060
8068
|
s.value = g, i("update:season", g);
|
|
8061
8069
|
}
|
|
8062
8070
|
function y(g) {
|
|
@@ -8069,11 +8077,11 @@ const bt = (e) => (ue("data-v-6d73d5e6"), e = e(), pe(), e), yc = { class: "cont
|
|
|
8069
8077
|
d.value = g;
|
|
8070
8078
|
}
|
|
8071
8079
|
return (g, k) => (c(), p(X, null, [
|
|
8072
|
-
o("div",
|
|
8073
|
-
o("div",
|
|
8074
|
-
o("div",
|
|
8075
|
-
|
|
8076
|
-
o("div",
|
|
8080
|
+
o("div", y0, [
|
|
8081
|
+
o("div", b0, [
|
|
8082
|
+
o("div", x0, [
|
|
8083
|
+
g0,
|
|
8084
|
+
o("div", S0, [
|
|
8077
8085
|
P(we, {
|
|
8078
8086
|
items: e.tournaments,
|
|
8079
8087
|
itemTextKey: "name",
|
|
@@ -8082,20 +8090,20 @@ const bt = (e) => (ue("data-v-6d73d5e6"), e = e(), pe(), e), yc = { class: "cont
|
|
|
8082
8090
|
])
|
|
8083
8091
|
])
|
|
8084
8092
|
]),
|
|
8085
|
-
o("div",
|
|
8086
|
-
o("div",
|
|
8087
|
-
|
|
8088
|
-
r.value && r.value.seasons ? (c(), p("div",
|
|
8093
|
+
o("div", k0, [
|
|
8094
|
+
o("div", P0, [
|
|
8095
|
+
C0,
|
|
8096
|
+
r.value && r.value.seasons ? (c(), p("div", L0, [
|
|
8089
8097
|
P(we, {
|
|
8090
8098
|
items: r.value.seasons,
|
|
8091
8099
|
itemTextKey: "name",
|
|
8092
|
-
onInput:
|
|
8100
|
+
onInput: m
|
|
8093
8101
|
}, null, 8, ["items"])
|
|
8094
8102
|
])) : O("", !0)
|
|
8095
8103
|
]),
|
|
8096
|
-
o("div",
|
|
8097
|
-
|
|
8098
|
-
s.value && s.value.arrayTeams ? (c(), p("div",
|
|
8104
|
+
o("div", w0, [
|
|
8105
|
+
I0,
|
|
8106
|
+
s.value && s.value.arrayTeams ? (c(), p("div", O0, [
|
|
8099
8107
|
P(Ki, {
|
|
8100
8108
|
items: s.value.arrayTeams,
|
|
8101
8109
|
itemTextKey: "stringMatchDayAbbreviation",
|
|
@@ -8104,10 +8112,10 @@ const bt = (e) => (ue("data-v-6d73d5e6"), e = e(), pe(), e), yc = { class: "cont
|
|
|
8104
8112
|
])) : O("", !0)
|
|
8105
8113
|
])
|
|
8106
8114
|
]),
|
|
8107
|
-
o("div",
|
|
8108
|
-
o("div",
|
|
8109
|
-
|
|
8110
|
-
s.value && s.value.mapGamesByTeam && l.value ? (c(), p("div",
|
|
8115
|
+
o("div", T0, [
|
|
8116
|
+
o("div", M0, [
|
|
8117
|
+
F0,
|
|
8118
|
+
s.value && s.value.mapGamesByTeam && l.value ? (c(), p("div", B0, [
|
|
8111
8119
|
P(ea, {
|
|
8112
8120
|
items: s.value.mapGamesByTeam.get(l.value.team_id),
|
|
8113
8121
|
onInput: b
|
|
@@ -8115,10 +8123,10 @@ const bt = (e) => (ue("data-v-6d73d5e6"), e = e(), pe(), e), yc = { class: "cont
|
|
|
8115
8123
|
])) : O("", !0)
|
|
8116
8124
|
])
|
|
8117
8125
|
]),
|
|
8118
|
-
o("div",
|
|
8119
|
-
o("div",
|
|
8120
|
-
|
|
8121
|
-
o("div",
|
|
8126
|
+
o("div", D0, [
|
|
8127
|
+
o("div", A0, [
|
|
8128
|
+
z0,
|
|
8129
|
+
o("div", H0, [
|
|
8122
8130
|
P(we, {
|
|
8123
8131
|
items: v.value,
|
|
8124
8132
|
itemTextKey: "name",
|
|
@@ -8127,9 +8135,9 @@ const bt = (e) => (ue("data-v-6d73d5e6"), e = e(), pe(), e), yc = { class: "cont
|
|
|
8127
8135
|
}, null, 8, ["items"])
|
|
8128
8136
|
])
|
|
8129
8137
|
]),
|
|
8130
|
-
o("div",
|
|
8131
|
-
|
|
8132
|
-
o("div",
|
|
8138
|
+
o("div", j0, [
|
|
8139
|
+
E0,
|
|
8140
|
+
o("div", N0, [
|
|
8133
8141
|
P(Tt, {
|
|
8134
8142
|
modelValue: f.value,
|
|
8135
8143
|
"onUpdate:modelValue": k[0] || (k[0] = (L) => f.value = L)
|
|
@@ -8137,20 +8145,20 @@ const bt = (e) => (ue("data-v-6d73d5e6"), e = e(), pe(), e), yc = { class: "cont
|
|
|
8137
8145
|
])
|
|
8138
8146
|
])
|
|
8139
8147
|
]),
|
|
8140
|
-
o("div",
|
|
8148
|
+
o("div", G0, [
|
|
8141
8149
|
P(Ha, { "selected-category": d.value }, null, 8, ["selected-category"])
|
|
8142
8150
|
])
|
|
8143
8151
|
]),
|
|
8144
|
-
o("div",
|
|
8152
|
+
o("div", R0, [
|
|
8145
8153
|
P(Mt, Zt(Yt(a)), null, 16)
|
|
8146
8154
|
])
|
|
8147
8155
|
], 64));
|
|
8148
8156
|
}
|
|
8149
|
-
},
|
|
8150
|
-
const xt = (e) => (ue("data-v-6e904db8"), e = e(), pe(), e),
|
|
8157
|
+
}, X0 = /* @__PURE__ */ K(J0, [["__scopeId", "data-v-6d73d5e6"]]);
|
|
8158
|
+
const xt = (e) => (ue("data-v-6e904db8"), e = e(), pe(), e), Z0 = { class: "container" }, Y0 = { class: "container__row" }, _0 = { class: "container__row__wrapper" }, V0 = /* @__PURE__ */ xt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "1. Elige la liga", -1)), W0 = { class: "container__row__wrapper__input" }, U0 = { class: "container__row two-items" }, Q0 = { class: "container__row__wrapper" }, q0 = /* @__PURE__ */ xt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "2. Elige el torneo", -1)), K0 = {
|
|
8151
8159
|
key: 0,
|
|
8152
8160
|
class: "container__row__wrapper__input"
|
|
8153
|
-
}, $
|
|
8161
|
+
}, $0 = { class: "container__row__wrapper" }, e2 = /* @__PURE__ */ xt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "3. Elige la jornada", -1)), t2 = {
|
|
8154
8162
|
key: 0,
|
|
8155
8163
|
class: "container__row__wrapper__input"
|
|
8156
8164
|
}, a2 = { class: "container__row" }, i2 = { class: "container__row__wrapper" }, s2 = /* @__PURE__ */ xt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "4. Elige el partido", -1)), o2 = {
|
|
@@ -8187,7 +8195,7 @@ const xt = (e) => (ue("data-v-6e904db8"), e = e(), pe(), e), Zc = { class: "cont
|
|
|
8187
8195
|
function u(g) {
|
|
8188
8196
|
r.value = g, i("update:tournament", g);
|
|
8189
8197
|
}
|
|
8190
|
-
function
|
|
8198
|
+
function m(g) {
|
|
8191
8199
|
s.value = g, i("update:season", g);
|
|
8192
8200
|
}
|
|
8193
8201
|
function y(g) {
|
|
@@ -8200,11 +8208,11 @@ const xt = (e) => (ue("data-v-6e904db8"), e = e(), pe(), e), Zc = { class: "cont
|
|
|
8200
8208
|
d.value = g;
|
|
8201
8209
|
}
|
|
8202
8210
|
return (g, k) => (c(), p(X, null, [
|
|
8203
|
-
o("div",
|
|
8204
|
-
o("div",
|
|
8205
|
-
o("div",
|
|
8206
|
-
|
|
8207
|
-
o("div",
|
|
8211
|
+
o("div", Z0, [
|
|
8212
|
+
o("div", Y0, [
|
|
8213
|
+
o("div", _0, [
|
|
8214
|
+
V0,
|
|
8215
|
+
o("div", W0, [
|
|
8208
8216
|
P(we, {
|
|
8209
8217
|
items: e.tournaments,
|
|
8210
8218
|
itemTextKey: "name",
|
|
@@ -8213,18 +8221,18 @@ const xt = (e) => (ue("data-v-6e904db8"), e = e(), pe(), e), Zc = { class: "cont
|
|
|
8213
8221
|
])
|
|
8214
8222
|
])
|
|
8215
8223
|
]),
|
|
8216
|
-
o("div",
|
|
8217
|
-
o("div",
|
|
8218
|
-
|
|
8219
|
-
r.value && r.value.seasons ? (c(), p("div",
|
|
8224
|
+
o("div", U0, [
|
|
8225
|
+
o("div", Q0, [
|
|
8226
|
+
q0,
|
|
8227
|
+
r.value && r.value.seasons ? (c(), p("div", K0, [
|
|
8220
8228
|
P(we, {
|
|
8221
8229
|
items: r.value.seasons,
|
|
8222
8230
|
itemTextKey: "name",
|
|
8223
|
-
onInput:
|
|
8231
|
+
onInput: m
|
|
8224
8232
|
}, null, 8, ["items"])
|
|
8225
8233
|
])) : O("", !0)
|
|
8226
8234
|
]),
|
|
8227
|
-
o("div", $
|
|
8235
|
+
o("div", $0, [
|
|
8228
8236
|
e2,
|
|
8229
8237
|
s.value && s.value.arrayMatchDays ? (c(), p("div", t2, [
|
|
8230
8238
|
P(we, {
|
|
@@ -8281,9 +8289,9 @@ const xt = (e) => (ue("data-v-6e904db8"), e = e(), pe(), e), Zc = { class: "cont
|
|
|
8281
8289
|
const y2 = { class: "template-videos" }, b2 = { class: "template-videos__header" }, x2 = { class: "template-videos__body" }, g2 = os({
|
|
8282
8290
|
name: "TemplateVideos",
|
|
8283
8291
|
components: {
|
|
8284
|
-
VideosGoals:
|
|
8285
|
-
VideosPlayer:
|
|
8286
|
-
VideosTeam:
|
|
8292
|
+
VideosGoals: Cc,
|
|
8293
|
+
VideosPlayer: h0,
|
|
8294
|
+
VideosTeam: X0,
|
|
8287
8295
|
VideosGame: h2
|
|
8288
8296
|
}
|
|
8289
8297
|
}), S2 = /* @__PURE__ */ Object.assign(g2, {
|
|
@@ -8323,7 +8331,7 @@ const y2 = { class: "template-videos" }, b2 = { class: "template-videos__header"
|
|
|
8323
8331
|
activeBorderColor: "#CBEE6B",
|
|
8324
8332
|
fontSize: "11px",
|
|
8325
8333
|
fontColor: "#FFFFFF"
|
|
8326
|
-
}, f = [], v = ["g-23", "g-24", "g-25"], u = C(jt),
|
|
8334
|
+
}, f = [], v = ["g-23", "g-24", "g-25"], u = C(jt), m = {
|
|
8327
8335
|
player: 1,
|
|
8328
8336
|
team: 2,
|
|
8329
8337
|
goalkeeper: 3
|
|
@@ -8534,7 +8542,7 @@ const y2 = { class: "template-videos" }, b2 = { class: "template-videos__header"
|
|
|
8534
8542
|
!1,
|
|
8535
8543
|
{},
|
|
8536
8544
|
W.idsAux
|
|
8537
|
-
), E.push(W), W.type.includes(
|
|
8545
|
+
), E.push(W), W.type.includes(m.player) && _.player.push(W), W.type.includes(m.team) && (W.idAux !== "g-2" && _.games.push(W), _.team.push(W)), W.type.includes(m.goalkeeper) && _.goalkeeper.push(W);
|
|
8538
8546
|
}
|
|
8539
8547
|
return _;
|
|
8540
8548
|
},
|
|
@@ -8811,7 +8819,7 @@ const P2 = { class: "template-taken-corners" }, C2 = { class: "template-taken-co
|
|
|
8811
8819
|
function u(x) {
|
|
8812
8820
|
return `${v(x.last_name)}, ${x.first_name.trim()}`;
|
|
8813
8821
|
}
|
|
8814
|
-
function
|
|
8822
|
+
function m(x) {
|
|
8815
8823
|
return a.isFemale ? hi.get(x.positions[0]).replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : hi.get(x.positions[0]);
|
|
8816
8824
|
}
|
|
8817
8825
|
function y(x) {
|
|
@@ -8871,7 +8879,7 @@ const P2 = { class: "template-taken-corners" }, C2 = { class: "template-taken-co
|
|
|
8871
8879
|
alt: "country flag"
|
|
8872
8880
|
}, null, 8, H2)
|
|
8873
8881
|
]),
|
|
8874
|
-
o("div", j2, B(
|
|
8882
|
+
o("div", j2, B(m(k)), 1)
|
|
8875
8883
|
])
|
|
8876
8884
|
]),
|
|
8877
8885
|
o("div", E2, [
|
|
@@ -9132,7 +9140,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9132
9140
|
o("div", nu, [
|
|
9133
9141
|
(c(), p("svg", lu, [
|
|
9134
9142
|
o("rect", {
|
|
9135
|
-
onClick: u[0] || (u[0] = (
|
|
9143
|
+
onClick: u[0] || (u[0] = (m) => d(1)),
|
|
9136
9144
|
class: "sector-field",
|
|
9137
9145
|
x: "0.347042",
|
|
9138
9146
|
y: "0.347042",
|
|
@@ -9144,7 +9152,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9144
9152
|
fill: s.value.includes(1) ? "#FFFF0030" : "#2e3b46"
|
|
9145
9153
|
}, null, 8, du),
|
|
9146
9154
|
o("rect", {
|
|
9147
|
-
onClick: u[1] || (u[1] = (
|
|
9155
|
+
onClick: u[1] || (u[1] = (m) => d(9)),
|
|
9148
9156
|
class: "sector-field",
|
|
9149
9157
|
x: "288.347",
|
|
9150
9158
|
y: "0.347042",
|
|
@@ -9156,7 +9164,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9156
9164
|
fill: s.value.includes(9) ? "#FFFF0030" : "#2e3b46"
|
|
9157
9165
|
}, null, 8, fu),
|
|
9158
9166
|
o("rect", {
|
|
9159
|
-
onClick: u[2] || (u[2] = (
|
|
9167
|
+
onClick: u[2] || (u[2] = (m) => d(17)),
|
|
9160
9168
|
class: "sector-field",
|
|
9161
9169
|
x: "0.347042",
|
|
9162
9170
|
y: "44.347",
|
|
@@ -9168,7 +9176,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9168
9176
|
fill: s.value.includes(17) ? "#FFFF0030" : "#2e3b46"
|
|
9169
9177
|
}, null, 8, cu),
|
|
9170
9178
|
o("rect", {
|
|
9171
|
-
onClick: u[3] || (u[3] = (
|
|
9179
|
+
onClick: u[3] || (u[3] = (m) => d(25)),
|
|
9172
9180
|
class: "sector-field",
|
|
9173
9181
|
x: "288.347",
|
|
9174
9182
|
y: "44.347",
|
|
@@ -9180,7 +9188,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9180
9188
|
fill: s.value.includes(25) ? "#FFFF0030" : "#2e3b46"
|
|
9181
9189
|
}, null, 8, uu),
|
|
9182
9190
|
o("rect", {
|
|
9183
|
-
onClick: u[4] || (u[4] = (
|
|
9191
|
+
onClick: u[4] || (u[4] = (m) => d(26)),
|
|
9184
9192
|
class: "sector-field",
|
|
9185
9193
|
x: "0.347042",
|
|
9186
9194
|
y: "88.347",
|
|
@@ -9192,7 +9200,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9192
9200
|
fill: s.value.includes(26) ? "#FFFF0030" : "#2e3b46"
|
|
9193
9201
|
}, null, 8, pu),
|
|
9194
9202
|
o("rect", {
|
|
9195
|
-
onClick: u[5] || (u[5] = (
|
|
9203
|
+
onClick: u[5] || (u[5] = (m) => d(27)),
|
|
9196
9204
|
class: "sector-field",
|
|
9197
9205
|
x: "91.347",
|
|
9198
9206
|
y: "88.347",
|
|
@@ -9204,7 +9212,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9204
9212
|
fill: s.value.includes(27) ? "#FFFF0030" : "#2e3b46"
|
|
9205
9213
|
}, null, 8, vu),
|
|
9206
9214
|
o("rect", {
|
|
9207
|
-
onClick: u[6] || (u[6] = (
|
|
9215
|
+
onClick: u[6] || (u[6] = (m) => d(28)),
|
|
9208
9216
|
class: "sector-field",
|
|
9209
9217
|
x: "157.015",
|
|
9210
9218
|
y: "88.347",
|
|
@@ -9216,7 +9224,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9216
9224
|
fill: s.value.includes(28) ? "#FFFF0030" : "#2e3b46"
|
|
9217
9225
|
}, null, 8, mu),
|
|
9218
9226
|
o("rect", {
|
|
9219
|
-
onClick: u[7] || (u[7] = (
|
|
9227
|
+
onClick: u[7] || (u[7] = (m) => d(29)),
|
|
9220
9228
|
class: "sector-field",
|
|
9221
9229
|
x: "222.679",
|
|
9222
9230
|
y: "88.347",
|
|
@@ -9228,7 +9236,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9228
9236
|
fill: s.value.includes(29) ? "#FFFF0030" : "#2e3b46"
|
|
9229
9237
|
}, null, 8, hu),
|
|
9230
9238
|
o("rect", {
|
|
9231
|
-
onClick: u[8] || (u[8] = (
|
|
9239
|
+
onClick: u[8] || (u[8] = (m) => d(30)),
|
|
9232
9240
|
class: "sector-field",
|
|
9233
9241
|
x: "288.347",
|
|
9234
9242
|
y: "88.347",
|
|
@@ -9240,7 +9248,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9240
9248
|
fill: s.value.includes(30) ? "#FFFF0030" : "#2e3b46"
|
|
9241
9249
|
}, null, 8, yu),
|
|
9242
9250
|
o("rect", {
|
|
9243
|
-
onClick: u[9] || (u[9] = (
|
|
9251
|
+
onClick: u[9] || (u[9] = (m) => d(31)),
|
|
9244
9252
|
class: "sector-field",
|
|
9245
9253
|
x: "0.347042",
|
|
9246
9254
|
y: "132.347",
|
|
@@ -9252,7 +9260,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9252
9260
|
fill: s.value.includes(31) ? "#FFFF0030" : "#2e3b46"
|
|
9253
9261
|
}, null, 8, bu),
|
|
9254
9262
|
o("rect", {
|
|
9255
|
-
onClick: u[10] || (u[10] = (
|
|
9263
|
+
onClick: u[10] || (u[10] = (m) => d(32)),
|
|
9256
9264
|
class: "sector-field",
|
|
9257
9265
|
x: "91.347",
|
|
9258
9266
|
y: "132.347",
|
|
@@ -9264,7 +9272,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9264
9272
|
fill: s.value.includes(32) ? "#FFFF0030" : "#2e3b46"
|
|
9265
9273
|
}, null, 8, xu),
|
|
9266
9274
|
o("rect", {
|
|
9267
|
-
onClick: u[11] || (u[11] = (
|
|
9275
|
+
onClick: u[11] || (u[11] = (m) => d(33)),
|
|
9268
9276
|
class: "sector-field",
|
|
9269
9277
|
x: "157.015",
|
|
9270
9278
|
y: "132.347",
|
|
@@ -9276,7 +9284,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9276
9284
|
fill: s.value.includes(33) ? "#FFFF0030" : "#2e3b46"
|
|
9277
9285
|
}, null, 8, gu),
|
|
9278
9286
|
o("rect", {
|
|
9279
|
-
onClick: u[12] || (u[12] = (
|
|
9287
|
+
onClick: u[12] || (u[12] = (m) => d(34)),
|
|
9280
9288
|
class: "sector-field",
|
|
9281
9289
|
x: "222.679",
|
|
9282
9290
|
y: "132.347",
|
|
@@ -9288,7 +9296,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9288
9296
|
fill: s.value.includes(34) ? "#FFFF0030" : "#2e3b46"
|
|
9289
9297
|
}, null, 8, Su),
|
|
9290
9298
|
o("rect", {
|
|
9291
|
-
onClick: u[13] || (u[13] = (
|
|
9299
|
+
onClick: u[13] || (u[13] = (m) => d(35)),
|
|
9292
9300
|
class: "sector-field",
|
|
9293
9301
|
x: "288.347",
|
|
9294
9302
|
y: "132.347",
|
|
@@ -9300,7 +9308,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9300
9308
|
fill: s.value.includes(35) ? "#FFFF0030" : "#2e3b46"
|
|
9301
9309
|
}, null, 8, ku),
|
|
9302
9310
|
o("rect", {
|
|
9303
|
-
onClick: u[14] || (u[14] = (
|
|
9311
|
+
onClick: u[14] || (u[14] = (m) => d(2)),
|
|
9304
9312
|
class: "sector-field",
|
|
9305
9313
|
x: "91.347",
|
|
9306
9314
|
y: "0.347042",
|
|
@@ -9312,7 +9320,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9312
9320
|
fill: s.value.includes(2) ? "#FFFF0030" : "#2e3b46"
|
|
9313
9321
|
}, null, 8, Pu),
|
|
9314
9322
|
o("rect", {
|
|
9315
|
-
onClick: u[15] || (u[15] = (
|
|
9323
|
+
onClick: u[15] || (u[15] = (m) => d(3)),
|
|
9316
9324
|
class: "sector-field",
|
|
9317
9325
|
x: "114.347",
|
|
9318
9326
|
y: "0.347042",
|
|
@@ -9324,7 +9332,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9324
9332
|
fill: s.value.includes(3) ? "#FFFF0030" : "#2e3b46"
|
|
9325
9333
|
}, null, 8, Cu),
|
|
9326
9334
|
o("rect", {
|
|
9327
|
-
onClick: u[16] || (u[16] = (
|
|
9335
|
+
onClick: u[16] || (u[16] = (m) => d(4)),
|
|
9328
9336
|
class: "sector-field",
|
|
9329
9337
|
x: "137.347",
|
|
9330
9338
|
y: "0.347042",
|
|
@@ -9336,7 +9344,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9336
9344
|
fill: s.value.includes(4) ? "#FFFF0030" : "#2e3b46"
|
|
9337
9345
|
}, null, 8, Lu),
|
|
9338
9346
|
o("rect", {
|
|
9339
|
-
onClick: u[17] || (u[17] = (
|
|
9347
|
+
onClick: u[17] || (u[17] = (m) => d(5)),
|
|
9340
9348
|
class: "sector-field",
|
|
9341
9349
|
x: "172.347",
|
|
9342
9350
|
y: "0.347042",
|
|
@@ -9348,7 +9356,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9348
9356
|
fill: s.value.includes(5) ? "#FFFF0030" : "#2e3b46"
|
|
9349
9357
|
}, null, 8, wu),
|
|
9350
9358
|
o("rect", {
|
|
9351
|
-
onClick: u[18] || (u[18] = (
|
|
9359
|
+
onClick: u[18] || (u[18] = (m) => d(6)),
|
|
9352
9360
|
class: "sector-field",
|
|
9353
9361
|
x: "207.347",
|
|
9354
9362
|
y: "0.347042",
|
|
@@ -9360,7 +9368,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9360
9368
|
fill: s.value.includes(6) ? "#FFFF0030" : "#2e3b46"
|
|
9361
9369
|
}, null, 8, Iu),
|
|
9362
9370
|
o("rect", {
|
|
9363
|
-
onClick: u[19] || (u[19] = (
|
|
9371
|
+
onClick: u[19] || (u[19] = (m) => d(7)),
|
|
9364
9372
|
class: "sector-field",
|
|
9365
9373
|
x: "242.347",
|
|
9366
9374
|
y: "0.347042",
|
|
@@ -9372,7 +9380,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9372
9380
|
fill: s.value.includes(7) ? "#FFFF0030" : "#2e3b46"
|
|
9373
9381
|
}, null, 8, Ou),
|
|
9374
9382
|
o("rect", {
|
|
9375
|
-
onClick: u[20] || (u[20] = (
|
|
9383
|
+
onClick: u[20] || (u[20] = (m) => d(8)),
|
|
9376
9384
|
class: "sector-field",
|
|
9377
9385
|
x: "265.347",
|
|
9378
9386
|
y: "0.347042",
|
|
@@ -9384,7 +9392,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9384
9392
|
fill: s.value.includes(8) ? "#FFFF0030" : "#2e3b46"
|
|
9385
9393
|
}, null, 8, Tu),
|
|
9386
9394
|
o("rect", {
|
|
9387
|
-
onClick: u[21] || (u[21] = (
|
|
9395
|
+
onClick: u[21] || (u[21] = (m) => d(10)),
|
|
9388
9396
|
class: "sector-field",
|
|
9389
9397
|
x: "91.347",
|
|
9390
9398
|
y: "29.6804",
|
|
@@ -9396,7 +9404,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9396
9404
|
fill: s.value.includes(10) ? "#FFFF0030" : "#2e3b46"
|
|
9397
9405
|
}, null, 8, Mu),
|
|
9398
9406
|
o("rect", {
|
|
9399
|
-
onClick: u[22] || (u[22] = (
|
|
9407
|
+
onClick: u[22] || (u[22] = (m) => d(11)),
|
|
9400
9408
|
class: "sector-field",
|
|
9401
9409
|
x: "114.347",
|
|
9402
9410
|
y: "29.6804",
|
|
@@ -9408,7 +9416,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9408
9416
|
fill: s.value.includes(11) ? "#FFFF0030" : "#2e3b46"
|
|
9409
9417
|
}, null, 8, Fu),
|
|
9410
9418
|
o("rect", {
|
|
9411
|
-
onClick: u[23] || (u[23] = (
|
|
9419
|
+
onClick: u[23] || (u[23] = (m) => d(12)),
|
|
9412
9420
|
class: "sector-field",
|
|
9413
9421
|
x: "137.347",
|
|
9414
9422
|
y: "29.6804",
|
|
@@ -9420,7 +9428,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9420
9428
|
fill: s.value.includes(12) ? "#FFFF0030" : "#2e3b46"
|
|
9421
9429
|
}, null, 8, Bu),
|
|
9422
9430
|
o("rect", {
|
|
9423
|
-
onClick: u[24] || (u[24] = (
|
|
9431
|
+
onClick: u[24] || (u[24] = (m) => d(13)),
|
|
9424
9432
|
class: "sector-field",
|
|
9425
9433
|
x: "172.347",
|
|
9426
9434
|
y: "29.6804",
|
|
@@ -9432,7 +9440,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9432
9440
|
fill: s.value.includes(13) ? "#FFFF0030" : "#2e3b46"
|
|
9433
9441
|
}, null, 8, Du),
|
|
9434
9442
|
o("rect", {
|
|
9435
|
-
onClick: u[25] || (u[25] = (
|
|
9443
|
+
onClick: u[25] || (u[25] = (m) => d(14)),
|
|
9436
9444
|
class: "sector-field",
|
|
9437
9445
|
x: "207.347",
|
|
9438
9446
|
y: "29.6804",
|
|
@@ -9444,7 +9452,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9444
9452
|
fill: s.value.includes(14) ? "#FFFF0030" : "#2e3b46"
|
|
9445
9453
|
}, null, 8, Au),
|
|
9446
9454
|
o("rect", {
|
|
9447
|
-
onClick: u[26] || (u[26] = (
|
|
9455
|
+
onClick: u[26] || (u[26] = (m) => d(15)),
|
|
9448
9456
|
class: "sector-field",
|
|
9449
9457
|
x: "242.347",
|
|
9450
9458
|
y: "29.6804",
|
|
@@ -9456,7 +9464,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9456
9464
|
fill: s.value.includes(15) ? "#FFFF0030" : "#2e3b46"
|
|
9457
9465
|
}, null, 8, zu),
|
|
9458
9466
|
o("rect", {
|
|
9459
|
-
onClick: u[27] || (u[27] = (
|
|
9467
|
+
onClick: u[27] || (u[27] = (m) => d(16)),
|
|
9460
9468
|
class: "sector-field",
|
|
9461
9469
|
x: "265.347",
|
|
9462
9470
|
y: "29.6804",
|
|
@@ -9468,7 +9476,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9468
9476
|
fill: s.value.includes(16) ? "#FFFF0030" : "#2e3b46"
|
|
9469
9477
|
}, null, 8, Hu),
|
|
9470
9478
|
o("rect", {
|
|
9471
|
-
onClick: u[28] || (u[28] = (
|
|
9479
|
+
onClick: u[28] || (u[28] = (m) => d(18)),
|
|
9472
9480
|
class: "sector-field",
|
|
9473
9481
|
x: "91.347",
|
|
9474
9482
|
y: "59.0137",
|
|
@@ -9480,7 +9488,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9480
9488
|
fill: s.value.includes(18) ? "#FFFF0030" : "#2e3b46"
|
|
9481
9489
|
}, null, 8, ju),
|
|
9482
9490
|
o("rect", {
|
|
9483
|
-
onClick: u[29] || (u[29] = (
|
|
9491
|
+
onClick: u[29] || (u[29] = (m) => d(19)),
|
|
9484
9492
|
class: "sector-field",
|
|
9485
9493
|
x: "114.347",
|
|
9486
9494
|
y: "59.0137",
|
|
@@ -9492,7 +9500,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9492
9500
|
fill: s.value.includes(19) ? "#FFFF0030" : "#2e3b46"
|
|
9493
9501
|
}, null, 8, Eu),
|
|
9494
9502
|
o("rect", {
|
|
9495
|
-
onClick: u[30] || (u[30] = (
|
|
9503
|
+
onClick: u[30] || (u[30] = (m) => d(20)),
|
|
9496
9504
|
class: "sector-field",
|
|
9497
9505
|
x: "137.347",
|
|
9498
9506
|
y: "59.0137",
|
|
@@ -9504,7 +9512,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9504
9512
|
fill: s.value.includes(20) ? "#FFFF0030" : "#2e3b46"
|
|
9505
9513
|
}, null, 8, Nu),
|
|
9506
9514
|
o("rect", {
|
|
9507
|
-
onClick: u[31] || (u[31] = (
|
|
9515
|
+
onClick: u[31] || (u[31] = (m) => d(21)),
|
|
9508
9516
|
class: "sector-field",
|
|
9509
9517
|
x: "172.347",
|
|
9510
9518
|
y: "59.0137",
|
|
@@ -9516,7 +9524,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9516
9524
|
fill: s.value.includes(21) ? "#FFFF0030" : "#2e3b46"
|
|
9517
9525
|
}, null, 8, Gu),
|
|
9518
9526
|
o("rect", {
|
|
9519
|
-
onClick: u[32] || (u[32] = (
|
|
9527
|
+
onClick: u[32] || (u[32] = (m) => d(22)),
|
|
9520
9528
|
class: "sector-field",
|
|
9521
9529
|
x: "207.347",
|
|
9522
9530
|
y: "59.0137",
|
|
@@ -9528,7 +9536,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9528
9536
|
fill: s.value.includes(22) ? "#FFFF0030" : "#2e3b46"
|
|
9529
9537
|
}, null, 8, Ru),
|
|
9530
9538
|
o("rect", {
|
|
9531
|
-
onClick: u[33] || (u[33] = (
|
|
9539
|
+
onClick: u[33] || (u[33] = (m) => d(23)),
|
|
9532
9540
|
class: "sector-field",
|
|
9533
9541
|
x: "242.347",
|
|
9534
9542
|
y: "59.0137",
|
|
@@ -9540,7 +9548,7 @@ const $e = (e) => (ue("data-v-378bf7e2"), e = e(), pe(), e), iu = { class: "temp
|
|
|
9540
9548
|
fill: s.value.includes(23) ? "#FFFF0030" : "#2e3b46"
|
|
9541
9549
|
}, null, 8, Ju),
|
|
9542
9550
|
o("rect", {
|
|
9543
|
-
onClick: u[34] || (u[34] = (
|
|
9551
|
+
onClick: u[34] || (u[34] = (m) => d(24)),
|
|
9544
9552
|
class: "sector-field",
|
|
9545
9553
|
x: "265.347",
|
|
9546
9554
|
y: "59.0137",
|
|
@@ -9628,7 +9636,7 @@ const r7 = { class: "what-happened" }, n7 = { class: "what-happened__all" }, l7
|
|
|
9628
9636
|
function u(y, b) {
|
|
9629
9637
|
b.isSelected = y;
|
|
9630
9638
|
}
|
|
9631
|
-
function
|
|
9639
|
+
function m() {
|
|
9632
9640
|
a.whatHappenedFilters.forEach((y) => {
|
|
9633
9641
|
y.child ? y.child.forEach((b) => {
|
|
9634
9642
|
b.isSelected = !0;
|
|
@@ -9636,7 +9644,7 @@ const r7 = { class: "what-happened" }, n7 = { class: "what-happened__all" }, l7
|
|
|
9636
9644
|
});
|
|
9637
9645
|
}
|
|
9638
9646
|
return i({
|
|
9639
|
-
onResetFilters:
|
|
9647
|
+
onResetFilters: m
|
|
9640
9648
|
}), (y, b) => (c(), p("div", r7, [
|
|
9641
9649
|
o("div", n7, [
|
|
9642
9650
|
P(M(q), {
|
|
@@ -9791,7 +9799,7 @@ const $i = (e) => (ue("data-v-ee3b28d3"), e = e(), pe(), e), v7 = { class: "temp
|
|
|
9791
9799
|
}, [
|
|
9792
9800
|
P(M(q), {
|
|
9793
9801
|
modelValue: v.isSelected,
|
|
9794
|
-
"onUpdate:modelValue": (
|
|
9802
|
+
"onUpdate:modelValue": (m) => v.isSelected = m,
|
|
9795
9803
|
label: v.name,
|
|
9796
9804
|
"avoid-interaction": s.value === 1 && v.isSelected
|
|
9797
9805
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "avoid-interaction"])
|
|
@@ -9803,7 +9811,7 @@ const $i = (e) => (ue("data-v-ee3b28d3"), e = e(), pe(), e), v7 = { class: "temp
|
|
|
9803
9811
|
}, [
|
|
9804
9812
|
P(M(q), {
|
|
9805
9813
|
modelValue: v.isSelected,
|
|
9806
|
-
"onUpdate:modelValue": (
|
|
9814
|
+
"onUpdate:modelValue": (m) => v.isSelected = m,
|
|
9807
9815
|
label: v.name,
|
|
9808
9816
|
"avoid-interaction": s.value === 1 && v.isSelected
|
|
9809
9817
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "avoid-interaction"])
|
|
@@ -9953,8 +9961,8 @@ const P7 = { class: "years" }, C7 = ["onClick"], L7 = {
|
|
|
9953
9961
|
isSelected: !1
|
|
9954
9962
|
}, r = C(""), s = A(() => {
|
|
9955
9963
|
let l = t.nationalities && t.nationalities.length ? [...t.nationalities] : [], d = [];
|
|
9956
|
-
const f = l.find((
|
|
9957
|
-
return u.sort((
|
|
9964
|
+
const f = l.find((m) => m.id === 138), v = l.find((m) => m.id === 0), u = l.filter((m) => m.id !== 138);
|
|
9965
|
+
return u.sort((m, y) => m.name.localeCompare(y.name)), f && (d = [f, ...u]), v || (d = [a, ...d]), d;
|
|
9958
9966
|
});
|
|
9959
9967
|
j(
|
|
9960
9968
|
s,
|
|
@@ -10035,13 +10043,13 @@ const F7 = (e) => (ue("data-v-2fb3d487"), e = e(), pe(), e), B7 = { class: "team
|
|
|
10035
10043
|
},
|
|
10036
10044
|
emits: ["change-filters-selected", "update:filters"],
|
|
10037
10045
|
setup(e, { expose: i, emit: t }) {
|
|
10038
|
-
const a = e, r = C([]), s = C([]), n = A(() => r.value.filter((
|
|
10046
|
+
const a = e, r = C([]), s = C([]), n = A(() => r.value.filter((m) => !a.excludedTeamsIds.length || !a.excludedTeamsIds.includes(m.id || m.team_id)));
|
|
10039
10047
|
j(
|
|
10040
10048
|
() => a.seasonsIds,
|
|
10041
|
-
async (
|
|
10042
|
-
if (
|
|
10049
|
+
async (m) => {
|
|
10050
|
+
if (m)
|
|
10043
10051
|
try {
|
|
10044
|
-
l(
|
|
10052
|
+
l(m, s.value) || (s.value = [...m], await d());
|
|
10045
10053
|
} catch (y) {
|
|
10046
10054
|
console.error("Error fetching teams:", y);
|
|
10047
10055
|
}
|
|
@@ -10049,32 +10057,32 @@ const F7 = (e) => (ue("data-v-2fb3d487"), e = e(), pe(), e), B7 = { class: "team
|
|
|
10049
10057
|
{ immediate: !0 }
|
|
10050
10058
|
), j(
|
|
10051
10059
|
() => n.value,
|
|
10052
|
-
(
|
|
10053
|
-
const y =
|
|
10060
|
+
(m) => {
|
|
10061
|
+
const y = m.filter((b) => b.isSelected);
|
|
10054
10062
|
t("change-filters-selected", y.length), t("update:filters", y);
|
|
10055
10063
|
},
|
|
10056
10064
|
{ immediate: !0, deep: !0 }
|
|
10057
10065
|
);
|
|
10058
|
-
function l(
|
|
10059
|
-
if (
|
|
10066
|
+
function l(m, y) {
|
|
10067
|
+
if (m.length !== y.length)
|
|
10060
10068
|
return !1;
|
|
10061
|
-
const b = [...
|
|
10069
|
+
const b = [...m].sort(), x = [...y].sort();
|
|
10062
10070
|
return b.every((g, k) => g === x[k]);
|
|
10063
10071
|
}
|
|
10064
10072
|
async function d() {
|
|
10065
|
-
const
|
|
10073
|
+
const m = /* @__PURE__ */ new Set(), y = [], b = a.seasonsIds.map((g) => f({ seasonId: g }));
|
|
10066
10074
|
(await Promise.all(b)).forEach((g) => {
|
|
10067
10075
|
g.teams.forEach((k) => {
|
|
10068
|
-
|
|
10076
|
+
m.has(k.id || k.team_id) || (m.add(k.id || k.team_id), y.push({
|
|
10069
10077
|
...k,
|
|
10070
10078
|
isSelected: a.isFirstTeamSelected && y.length === 0
|
|
10071
10079
|
}));
|
|
10072
10080
|
});
|
|
10073
10081
|
}), r.value = y;
|
|
10074
10082
|
}
|
|
10075
|
-
async function f({ seasonId:
|
|
10083
|
+
async function f({ seasonId: m }) {
|
|
10076
10084
|
try {
|
|
10077
|
-
const y = Qe(`https://yjeig444bb.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/${
|
|
10085
|
+
const y = Qe(`https://yjeig444bb.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/${m}`, a.providerId, a.isDevApis);
|
|
10078
10086
|
return (await fetch(y, {
|
|
10079
10087
|
headers: {
|
|
10080
10088
|
Authorization: a.token
|
|
@@ -10084,17 +10092,17 @@ const F7 = (e) => (ue("data-v-2fb3d487"), e = e(), pe(), e), B7 = { class: "team
|
|
|
10084
10092
|
return Promise.reject(y);
|
|
10085
10093
|
}
|
|
10086
10094
|
}
|
|
10087
|
-
function v(
|
|
10088
|
-
y.isSelected =
|
|
10095
|
+
function v(m, y) {
|
|
10096
|
+
y.isSelected = m;
|
|
10089
10097
|
}
|
|
10090
|
-
function u(
|
|
10098
|
+
function u(m = !1) {
|
|
10091
10099
|
n.value.forEach((y, b) => {
|
|
10092
|
-
y.isSelected =
|
|
10100
|
+
y.isSelected = m && b === 0;
|
|
10093
10101
|
});
|
|
10094
10102
|
}
|
|
10095
10103
|
return i({
|
|
10096
10104
|
clearSelectedTeams: u
|
|
10097
|
-
}), (
|
|
10105
|
+
}), (m, y) => (c(), p("div", B7, [
|
|
10098
10106
|
e.isHeaderVisible ? (c(), p("div", D7, [
|
|
10099
10107
|
ot(" No considerar partidos jugados vs "),
|
|
10100
10108
|
A7
|
|
@@ -10657,7 +10665,7 @@ const U7 = {
|
|
|
10657
10665
|
},
|
|
10658
10666
|
token: {
|
|
10659
10667
|
type: String,
|
|
10660
|
-
default: ""
|
|
10668
|
+
default: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE"
|
|
10661
10669
|
},
|
|
10662
10670
|
providerId: {
|
|
10663
10671
|
type: Number,
|
|
@@ -10769,7 +10777,7 @@ const U7 = {
|
|
|
10769
10777
|
areYellowCardsSelected: !1,
|
|
10770
10778
|
areRedCardsSelected: !1,
|
|
10771
10779
|
areFoulsCommittedSelected: !1
|
|
10772
|
-
}), f = C(null), v = C(null), u = C(null),
|
|
10780
|
+
}), f = C(null), v = C(null), u = C(null), m = C(null), y = C(null), b = A(() => ({
|
|
10773
10781
|
"--width": a.width,
|
|
10774
10782
|
"--max-width": a.maxWidth,
|
|
10775
10783
|
"--background-color": a.backgroundColor,
|
|
@@ -10777,7 +10785,7 @@ const U7 = {
|
|
|
10777
10785
|
"--border-color": a.borderColor,
|
|
10778
10786
|
"--border-width": a.borderWidth,
|
|
10779
10787
|
"--box-shadow": a.boxShadow,
|
|
10780
|
-
"--padding": a.filterType !==
|
|
10788
|
+
"--padding": a.filterType !== h.VIDEOS ? a.isExpansionMode ? "10px 0" : a.padding : "0",
|
|
10781
10789
|
"--footer-border-color": a.footerBorderColor,
|
|
10782
10790
|
"--footer-border-width": a.footerBorderWidth,
|
|
10783
10791
|
"--text-color": a.textColor
|
|
@@ -10801,18 +10809,18 @@ const U7 = {
|
|
|
10801
10809
|
const w = x.value.filter(
|
|
10802
10810
|
(z) => z.isSelected
|
|
10803
10811
|
);
|
|
10804
|
-
return ie(w), a.filterType ===
|
|
10812
|
+
return ie(w), a.filterType === h.PRODUCTIVITY && t("change-categories-selected", w.length), w.length;
|
|
10805
10813
|
}), L = A(() => !a.isForTemplateForm && k.value >= a.productivityMaxCategories), J = A(() => !a.isForTemplateForm && k.value <= a.productivityMinCategories), ce = A(() => a.isPlayingAsHidden ? a.gameSections : a.playingAs.concat(a.gameSections));
|
|
10806
10814
|
j(
|
|
10807
10815
|
l,
|
|
10808
10816
|
(w) => {
|
|
10809
|
-
a.filterType ===
|
|
10817
|
+
a.filterType === h.DETAILS && t("update:filters", w);
|
|
10810
10818
|
},
|
|
10811
10819
|
{ immediate: !0, deep: !0 }
|
|
10812
10820
|
), j(
|
|
10813
10821
|
() => ce.value,
|
|
10814
10822
|
(w) => {
|
|
10815
|
-
if (a.filterType ===
|
|
10823
|
+
if (a.filterType === h.DETAILS) {
|
|
10816
10824
|
const z = w.filter((ne) => ne.isSelected);
|
|
10817
10825
|
t("change-filters-selected", z.length);
|
|
10818
10826
|
}
|
|
@@ -10821,7 +10829,7 @@ const U7 = {
|
|
|
10821
10829
|
), j(
|
|
10822
10830
|
() => a.playsGolstatsCategories,
|
|
10823
10831
|
(w) => {
|
|
10824
|
-
if (a.filterType ===
|
|
10832
|
+
if (a.filterType === h.PLAYS_TYPES || a.filterType === h.GOLSTATS) {
|
|
10825
10833
|
const z = w.filter((ne) => ne.isSelected);
|
|
10826
10834
|
t("change-filters-selected", z.length);
|
|
10827
10835
|
}
|
|
@@ -10830,24 +10838,24 @@ const U7 = {
|
|
|
10830
10838
|
), j(
|
|
10831
10839
|
() => a.fieldAreas,
|
|
10832
10840
|
(w) => {
|
|
10833
|
-
a.filterType ===
|
|
10841
|
+
a.filterType === h.FIELD && t("change-filters-selected", w.length);
|
|
10834
10842
|
}
|
|
10835
10843
|
), j(
|
|
10836
10844
|
g,
|
|
10837
10845
|
() => {
|
|
10838
|
-
a.filterType ===
|
|
10846
|
+
a.filterType === h.PLAYS && N();
|
|
10839
10847
|
},
|
|
10840
10848
|
{ immediate: !0, deep: !0 }
|
|
10841
10849
|
), j(
|
|
10842
10850
|
x,
|
|
10843
10851
|
() => {
|
|
10844
|
-
a.filterType ===
|
|
10852
|
+
a.filterType === h.PRODUCTIVITY && se();
|
|
10845
10853
|
},
|
|
10846
10854
|
{ immediate: !0, deep: !0 }
|
|
10847
10855
|
), j(
|
|
10848
10856
|
() => a.resultsFilters,
|
|
10849
10857
|
(w) => {
|
|
10850
|
-
a.filterType ===
|
|
10858
|
+
a.filterType === h.RESULTS && t("change-filters-selected", w.results.filter((z) => z.isSelected).length);
|
|
10851
10859
|
},
|
|
10852
10860
|
{ immediate: !0, deep: !0 }
|
|
10853
10861
|
);
|
|
@@ -10862,49 +10870,49 @@ const U7 = {
|
|
|
10862
10870
|
me(w);
|
|
10863
10871
|
}
|
|
10864
10872
|
function me(w = null) {
|
|
10865
|
-
a.filterType ===
|
|
10873
|
+
a.filterType === h.PRODUCTIVITY ? x.value.forEach((z) => {
|
|
10866
10874
|
z.isSelected = z.isDefault || !1;
|
|
10867
|
-
}) : a.filterType ===
|
|
10875
|
+
}) : a.filterType === h.PLAYS ? (g.value.forEach((z) => {
|
|
10868
10876
|
z.isSelected = !0;
|
|
10869
|
-
}), n.value = !0) : a.filterType ===
|
|
10877
|
+
}), n.value = !0) : a.filterType === h.FIELD ? t("change-field-areas", [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]) : a.filterType === h.DETAILS ? (a.playingAs.forEach((z) => {
|
|
10870
10878
|
z.isSelected = !0;
|
|
10871
10879
|
}), a.gameSections.forEach((z) => {
|
|
10872
10880
|
z.isSelected = !0;
|
|
10873
|
-
})) : a.filterType ===
|
|
10881
|
+
})) : a.filterType === h.TOURNAMENTS ? (a.tournaments.forEach((z, ne) => {
|
|
10874
10882
|
a.isOneTournamentOnly ? z.isSelected = ne === 0 : z.isSelected = !0;
|
|
10875
|
-
}), t("change-filters-selected", 0)) : a.filterType ===
|
|
10883
|
+
}), t("change-filters-selected", 0)) : a.filterType === h.PLAYS_TYPES ? a.playsGolstatsCategories.forEach((z) => {
|
|
10876
10884
|
z.isSelected = !0;
|
|
10877
|
-
}) : a.filterType ===
|
|
10885
|
+
}) : a.filterType === h.GOLSTATS ? a.playsGolstatsCategories.forEach((z) => {
|
|
10878
10886
|
z.isSelected = !1;
|
|
10879
|
-
}) : a.filterType ===
|
|
10887
|
+
}) : a.filterType === h.UNIVERSE ? f.value && f.value.resetFilters() : a.filterType === h.PERSONAL_DATA ? (s.value && s.value.onClearFilters(w || tt.All), t("change-personal-data-filters", {})) : a.filterType === h.DISTANCE ? t("update:filters", {
|
|
10880
10888
|
minValue: a.distanceFilters.minLimit,
|
|
10881
10889
|
maxValue: a.distanceFilters.maxLimit
|
|
10882
|
-
}) : a.filterType ===
|
|
10890
|
+
}) : a.filterType === h.RESULTS ? t("update:filters", {
|
|
10883
10891
|
results: a.resultsFilters.results.map((z) => (z.isSelected = !0, z))
|
|
10884
|
-
}) : a.filterType ===
|
|
10892
|
+
}) : a.filterType === h.RESULTS_BY_TIME ? y.value && y.value.removeFilters() : a.filterType === h.GAMES ? a.gamesFilters.forEach((z) => {
|
|
10885
10893
|
z.isSelected = !0;
|
|
10886
|
-
}) : a.filterType ===
|
|
10894
|
+
}) : a.filterType === h.TAKEN_CORNERS ? v.value.clearFilters() : a.filterType === h.HOW_WAS_CORNER ? (a.howWasCornerFilters.left.forEach((z) => {
|
|
10887
10895
|
z.isSelected = !0;
|
|
10888
10896
|
}), a.howWasCornerFilters.right.forEach((z) => {
|
|
10889
10897
|
z.isSelected = !0;
|
|
10890
|
-
})) : a.filterType ===
|
|
10898
|
+
})) : a.filterType === h.ZONE ? u.value && u.value.clearFilters() : a.filterType === h.WHAT_HAPPENED ? m.value && m.value.onResetFilters() : a.filterType === h.NATIONALITIES ? a.nationalities.forEach((z) => {
|
|
10891
10899
|
z.isSelected = !0;
|
|
10892
|
-
}) : a.filterType ===
|
|
10900
|
+
}) : a.filterType === h.TEAMS && r.value && r.value.clearSelectedTeams();
|
|
10893
10901
|
}
|
|
10894
10902
|
function be(w) {
|
|
10895
|
-
a.filterType ===
|
|
10903
|
+
a.filterType === h.UNIVERSE && t("change-universe-filters", w);
|
|
10896
10904
|
}
|
|
10897
10905
|
function Ae(w) {
|
|
10898
|
-
a.filterType ===
|
|
10906
|
+
a.filterType === h.FIELD && t("change-field-areas", w);
|
|
10899
10907
|
}
|
|
10900
10908
|
function Ge(w) {
|
|
10901
|
-
a.filterType ===
|
|
10909
|
+
a.filterType === h.GOLSTATS && t("change-filters-selected", w);
|
|
10902
10910
|
}
|
|
10903
10911
|
function H(w) {
|
|
10904
10912
|
t("change-filters-selected", w);
|
|
10905
10913
|
}
|
|
10906
10914
|
function G(w) {
|
|
10907
|
-
a.filterType ===
|
|
10915
|
+
a.filterType === h.PRODUCTIVITY ? x.value.forEach((z) => {
|
|
10908
10916
|
z.isSelected = w;
|
|
10909
10917
|
}) : (n.value = w, a.playsCategories.offensive.categories.forEach((z) => {
|
|
10910
10918
|
z.isSelected = w;
|
|
@@ -10942,9 +10950,9 @@ const U7 = {
|
|
|
10942
10950
|
t("apply");
|
|
10943
10951
|
}
|
|
10944
10952
|
function Ce() {
|
|
10945
|
-
(a.filterType ===
|
|
10953
|
+
(a.filterType === h.PLAYS_TYPES || a.filterType === h.GOLSTATS) && a.playsGolstatsCategories && a.playsGolstatsCategories.forEach((w) => {
|
|
10946
10954
|
w.isSelected = !1;
|
|
10947
|
-
}), a.filterType ===
|
|
10955
|
+
}), a.filterType === h.PRODUCTIVITY && x.value.forEach((w) => {
|
|
10948
10956
|
w.isSelected = !1;
|
|
10949
10957
|
}), t("apply");
|
|
10950
10958
|
}
|
|
@@ -10952,43 +10960,43 @@ const U7 = {
|
|
|
10952
10960
|
t("update:filters", w);
|
|
10953
10961
|
}
|
|
10954
10962
|
function Te(w) {
|
|
10955
|
-
a.filterType ===
|
|
10963
|
+
a.filterType === h.POSITIONS && t("update:filters", w);
|
|
10956
10964
|
}
|
|
10957
10965
|
function je(w) {
|
|
10958
|
-
a.filterType ===
|
|
10966
|
+
a.filterType === h.YEARS && t("update:filters", w);
|
|
10959
10967
|
}
|
|
10960
10968
|
function Ve(w) {
|
|
10961
|
-
a.filterType ===
|
|
10969
|
+
a.filterType === h.NATIONALITIES && t("update:filters", w);
|
|
10962
10970
|
}
|
|
10963
10971
|
function Re(w) {
|
|
10964
|
-
a.filterType ===
|
|
10972
|
+
a.filterType === h.PERSONAL_DATA && t("update:filters", w);
|
|
10965
10973
|
}
|
|
10966
10974
|
function Je(w) {
|
|
10967
|
-
a.filterType ===
|
|
10975
|
+
a.filterType === h.TOURNAMENTS && t("change-filters-selected", w);
|
|
10968
10976
|
}
|
|
10969
10977
|
function F(w) {
|
|
10970
|
-
a.filterType ===
|
|
10978
|
+
a.filterType === h.TOURNAMENTS && t("update:filters", w);
|
|
10971
10979
|
}
|
|
10972
10980
|
function E(w) {
|
|
10973
|
-
a.filterType ===
|
|
10981
|
+
a.filterType === h.TEAMS && t("change-filters-selected", w);
|
|
10974
10982
|
}
|
|
10975
10983
|
function Z(w) {
|
|
10976
|
-
a.filterType ===
|
|
10984
|
+
a.filterType === h.TEAMS && t("update:filters", w);
|
|
10977
10985
|
}
|
|
10978
10986
|
function R(w) {
|
|
10979
|
-
(a.filterType ===
|
|
10987
|
+
(a.filterType === h.PLAYS_TYPES || a.filterType === h.GOLSTATS) && t("update:filters", w);
|
|
10980
10988
|
}
|
|
10981
10989
|
function V(w) {
|
|
10982
|
-
a.filterType ===
|
|
10990
|
+
a.filterType === h.PRODUCTIVITY && (d.value = w, se());
|
|
10983
10991
|
}
|
|
10984
10992
|
function Q(w) {
|
|
10985
|
-
a.filterType ===
|
|
10993
|
+
a.filterType === h.DISTANCE && t("update:filters", w);
|
|
10986
10994
|
}
|
|
10987
10995
|
function te(w) {
|
|
10988
|
-
a.filterType ===
|
|
10996
|
+
a.filterType === h.RESULTS && t("update:filters", w);
|
|
10989
10997
|
}
|
|
10990
10998
|
function _(w) {
|
|
10991
|
-
a.filterType ===
|
|
10999
|
+
a.filterType === h.GAMES && (t("update:filters", w), t("change-filters-selected", w.filter((z) => z.isSelected).length));
|
|
10992
11000
|
}
|
|
10993
11001
|
function I(w) {
|
|
10994
11002
|
l.value.statisticType = w;
|
|
@@ -10996,7 +11004,7 @@ const U7 = {
|
|
|
10996
11004
|
function W(w) {
|
|
10997
11005
|
t("update:filters", w);
|
|
10998
11006
|
}
|
|
10999
|
-
const de = A(() => a.filterType ===
|
|
11007
|
+
const de = A(() => a.filterType === h.PLAYS ? g.value.length : a.filterType === h.PRODUCTIVITY ? x.value.length : a.filterType === h.FIELD ? 16 : a.filterType === h.UNIVERSE ? 6 : a.filterType === h.DETAILS ? 8 : a.filterType === h.RESULTS || a.filterType === h.RESULTS_BY_TIME ? 3 : a.filterType === h.GAMES ? a.gamesFilters.length : 0);
|
|
11000
11008
|
t("total-filters", de);
|
|
11001
11009
|
function xe(w = !1) {
|
|
11002
11010
|
r.value && r.value.clearSelectedTeams(w);
|
|
@@ -11008,17 +11016,17 @@ const U7 = {
|
|
|
11008
11016
|
class: "templates",
|
|
11009
11017
|
style: Y(b.value)
|
|
11010
11018
|
}, [
|
|
11011
|
-
e.filterType === M(
|
|
11019
|
+
e.filterType === M(h).PRODUCTIVITY || e.filterType === M(h).PLAYS ? (c(), p("div", {
|
|
11012
11020
|
key: 0,
|
|
11013
11021
|
class: he(e.isExpansionMode ? "productivity__header__expansion" : "productivity__header")
|
|
11014
11022
|
}, [
|
|
11015
|
-
e.filterType === M(
|
|
11023
|
+
e.filterType === M(h).PRODUCTIVITY ? (c(), p("div", U7, [
|
|
11016
11024
|
e.productivityText ? (c(), p("div", Q7, B(e.productivityText), 1)) : e.isFromTemplates ? (c(), p("div", q7, [
|
|
11017
11025
|
ot(" Elige tipo de jugadas: "),
|
|
11018
11026
|
o("span", null, "mínimo " + B(e.productivityMinCategories) + " categorías y máximo " + B(e.productivityMaxCategories), 1)
|
|
11019
11027
|
])) : e.isForTemplateForm ? (c(), p("div", K7, "Tipo de participación")) : (c(), p("div", $7, "Selecciona hasta 5 categorias en orden de importancia"))
|
|
11020
11028
|
])) : O("", !0),
|
|
11021
|
-
e.filterType === M(
|
|
11029
|
+
e.filterType === M(h).PLAYS || e.isForTemplateForm ? (c(), p("div", e5, [
|
|
11022
11030
|
P(M(q), {
|
|
11023
11031
|
label: e.isForTemplateForm ? "Seleccionar todas" : "Todos los tipos de jugadas",
|
|
11024
11032
|
"box-position": e.isForTemplateForm ? "right" : "left",
|
|
@@ -11031,13 +11039,13 @@ const U7 = {
|
|
|
11031
11039
|
])) : O("", !0)
|
|
11032
11040
|
], 2)) : O("", !0),
|
|
11033
11041
|
o("div", t5, [
|
|
11034
|
-
e.filterType === M(
|
|
11042
|
+
e.filterType === M(h).PLAYS ? (c(), p("div", a5, [
|
|
11035
11043
|
P(mf, {
|
|
11036
11044
|
"plays-categories": e.playsCategories,
|
|
11037
11045
|
"is-expansion-mode": e.isExpansionMode
|
|
11038
11046
|
}, null, 8, ["plays-categories", "is-expansion-mode"])
|
|
11039
11047
|
])) : O("", !0),
|
|
11040
|
-
e.filterType === M(
|
|
11048
|
+
e.filterType === M(h).PRODUCTIVITY ? (c(), p("div", i5, [
|
|
11041
11049
|
P(eo, {
|
|
11042
11050
|
"productivity-categories": e.productivityCategories,
|
|
11043
11051
|
"number-of-categories-selected": k.value,
|
|
@@ -11052,14 +11060,14 @@ const U7 = {
|
|
|
11052
11060
|
onClickParameters: D
|
|
11053
11061
|
}, null, 8, ["productivity-categories", "number-of-categories-selected", "are-max-categories-reached", "are-min-categories-reached", "is-expansion-mode", "is-from-templates", "is-for-template-form", "are-productivity-buttons-visible", "are-offenses-conditions-visible"])
|
|
11054
11062
|
])) : O("", !0),
|
|
11055
|
-
e.filterType === M(
|
|
11063
|
+
e.filterType === M(h).FIELD ? (c(), p("div", s5, [
|
|
11056
11064
|
P(M(xl), ke(e.fieldComponentProps, {
|
|
11057
11065
|
"background-color": e.backgroundColor,
|
|
11058
11066
|
value: e.fieldAreas,
|
|
11059
11067
|
"onUpdate:modelValue": Ae
|
|
11060
11068
|
}), null, 16, ["background-color", "value"])
|
|
11061
11069
|
])) : O("", !0),
|
|
11062
|
-
e.filterType === M(
|
|
11070
|
+
e.filterType === M(h).DETAILS ? (c(), p("div", o5, [
|
|
11063
11071
|
P(Bo, {
|
|
11064
11072
|
"is-playing-as-hidden": e.isPlayingAsHidden,
|
|
11065
11073
|
"playing-as": e.playingAs,
|
|
@@ -11070,7 +11078,7 @@ const U7 = {
|
|
|
11070
11078
|
onChangeStatisticType: I
|
|
11071
11079
|
}, null, 8, ["is-playing-as-hidden", "playing-as", "game-sections", "font-gamily", "is-statistic-type-visible", "statistic-type"])
|
|
11072
11080
|
])) : O("", !0),
|
|
11073
|
-
e.filterType === M(
|
|
11081
|
+
e.filterType === M(h).PERSONAL_DATA ? (c(), p("div", r5, [
|
|
11074
11082
|
P(q1, {
|
|
11075
11083
|
"is-female": e.isFemale,
|
|
11076
11084
|
ref_key: "templatePersonalData",
|
|
@@ -11087,7 +11095,7 @@ const U7 = {
|
|
|
11087
11095
|
"onUpdate:filters": Re
|
|
11088
11096
|
}, null, 8, ["is-female", "personal-data-filters", "season", "is-seleccion", "is-scouting", "token", "filters", "is-eligibility-visible", "provider-id", "is-dev-apis"])
|
|
11089
11097
|
])) : O("", !0),
|
|
11090
|
-
e.filterType === M(
|
|
11098
|
+
e.filterType === M(h).TOURNAMENTS ? (c(), p("div", n5, [
|
|
11091
11099
|
P(Eo, {
|
|
11092
11100
|
"tournaments-url": e.tournamentsUrl,
|
|
11093
11101
|
token: e.token,
|
|
@@ -11098,7 +11106,7 @@ const U7 = {
|
|
|
11098
11106
|
"onUpdate:filters": F
|
|
11099
11107
|
}, null, 8, ["tournaments-url", "token", "tournaments", "is-one-tournament-only", "default-tournament-id"])
|
|
11100
11108
|
])) : O("", !0),
|
|
11101
|
-
e.filterType === M(
|
|
11109
|
+
e.filterType === M(h).TEAMS ? (c(), p("div", l5, [
|
|
11102
11110
|
P(N7, {
|
|
11103
11111
|
ref_key: "templateTeams",
|
|
11104
11112
|
ref: r,
|
|
@@ -11112,7 +11120,7 @@ const U7 = {
|
|
|
11112
11120
|
"onUpdate:filters": Z
|
|
11113
11121
|
}, null, 8, ["seasons-ids", "excluded-teams-ids", "is-header-visible", "is-first-team-selected", "provider-id", "is-dev-apis"])
|
|
11114
11122
|
])) : O("", !0),
|
|
11115
|
-
e.filterType === M(
|
|
11123
|
+
e.filterType === M(h).PLAYS_TYPES ? (c(), p("div", d5, [
|
|
11116
11124
|
P(Na, {
|
|
11117
11125
|
height: e.modalHeight,
|
|
11118
11126
|
type: e.filterType,
|
|
@@ -11120,7 +11128,7 @@ const U7 = {
|
|
|
11120
11128
|
"onUpdate:filters": R
|
|
11121
11129
|
}, null, 8, ["height", "type", "categories"])
|
|
11122
11130
|
])) : O("", !0),
|
|
11123
|
-
e.filterType === M(
|
|
11131
|
+
e.filterType === M(h).GOLSTATS ? (c(), p("div", f5, [
|
|
11124
11132
|
P(Na, {
|
|
11125
11133
|
height: e.modalHeight,
|
|
11126
11134
|
type: e.filterType,
|
|
@@ -11129,7 +11137,7 @@ const U7 = {
|
|
|
11129
11137
|
"onUpdate:filters": R
|
|
11130
11138
|
}, null, 8, ["height", "type", "categories"])
|
|
11131
11139
|
])) : O("", !0),
|
|
11132
|
-
e.filterType === M(
|
|
11140
|
+
e.filterType === M(h).UNIVERSE ? (c(), p("div", c5, [
|
|
11133
11141
|
P(Hr, {
|
|
11134
11142
|
ref_key: "templateUniverse",
|
|
11135
11143
|
ref: f,
|
|
@@ -11138,13 +11146,13 @@ const U7 = {
|
|
|
11138
11146
|
"onUpdate:universeFilters": be
|
|
11139
11147
|
}, null, 8, ["universe-filters", "default-month-index"])
|
|
11140
11148
|
])) : O("", !0),
|
|
11141
|
-
e.filterType === M(
|
|
11149
|
+
e.filterType === M(h).DISTANCE ? (c(), p("div", u5, [
|
|
11142
11150
|
P(sn, {
|
|
11143
11151
|
distance: e.distanceFilters,
|
|
11144
11152
|
"onUpdate:distanceFilters": Q
|
|
11145
11153
|
}, null, 8, ["distance"])
|
|
11146
11154
|
])) : O("", !0),
|
|
11147
|
-
e.filterType === M(
|
|
11155
|
+
e.filterType === M(h).RESULTS ? (c(), p("div", p5, [
|
|
11148
11156
|
P(bf, {
|
|
11149
11157
|
ref_key: "templateResults",
|
|
11150
11158
|
ref: y,
|
|
@@ -11152,7 +11160,7 @@ const U7 = {
|
|
|
11152
11160
|
"onUpdate:resultsFilters": te
|
|
11153
11161
|
}, null, 8, ["results-filters"])
|
|
11154
11162
|
])) : O("", !0),
|
|
11155
|
-
e.filterType === M(
|
|
11163
|
+
e.filterType === M(h).RESULTS_BY_TIME ? (c(), p("div", v5, [
|
|
11156
11164
|
P(k7, {
|
|
11157
11165
|
ref_key: "templateResults",
|
|
11158
11166
|
ref: y,
|
|
@@ -11161,13 +11169,13 @@ const U7 = {
|
|
|
11161
11169
|
"onUpdate:filters": le
|
|
11162
11170
|
}, null, 8, ["results-filters"])
|
|
11163
11171
|
])) : O("", !0),
|
|
11164
|
-
e.filterType === M(
|
|
11172
|
+
e.filterType === M(h).GAMES ? (c(), p("div", m5, [
|
|
11165
11173
|
P(cn, {
|
|
11166
11174
|
"games-filters": e.gamesFilters,
|
|
11167
11175
|
"onUpdate:gamesFilters": _
|
|
11168
11176
|
}, null, 8, ["games-filters"])
|
|
11169
11177
|
])) : O("", !0),
|
|
11170
|
-
e.filterType === M(
|
|
11178
|
+
e.filterType === M(h).TAKEN_CORNERS ? (c(), p("div", h5, [
|
|
11171
11179
|
P(G2, {
|
|
11172
11180
|
"is-female": e.isFemale,
|
|
11173
11181
|
ref_key: "templateTakenCorners",
|
|
@@ -11178,14 +11186,14 @@ const U7 = {
|
|
|
11178
11186
|
"onUpdate:filters": le
|
|
11179
11187
|
}, null, 8, ["is-female", "taken-corners-filters", "is-expansion-mode"])
|
|
11180
11188
|
])) : O("", !0),
|
|
11181
|
-
e.filterType === M(
|
|
11189
|
+
e.filterType === M(h).VIDEOS ? (c(), p("div", y5, [
|
|
11182
11190
|
P(k2, {
|
|
11183
11191
|
token: e.token,
|
|
11184
11192
|
"provider-id": e.providerId,
|
|
11185
11193
|
"is-dev-apis": e.isDevApis
|
|
11186
11194
|
}, null, 8, ["token", "provider-id", "is-dev-apis"])
|
|
11187
11195
|
])) : O("", !0),
|
|
11188
|
-
e.filterType === M(
|
|
11196
|
+
e.filterType === M(h).HOW_WAS_CORNER ? (c(), p("div", b5, [
|
|
11189
11197
|
P(au, {
|
|
11190
11198
|
"how-was-corner-filters": e.howWasCornerFilters,
|
|
11191
11199
|
"is-expansion-mode": e.isExpansionMode,
|
|
@@ -11193,7 +11201,7 @@ const U7 = {
|
|
|
11193
11201
|
"onUpdate:filters": le
|
|
11194
11202
|
}, null, 8, ["how-was-corner-filters", "is-expansion-mode"])
|
|
11195
11203
|
])) : O("", !0),
|
|
11196
|
-
e.filterType === M(
|
|
11204
|
+
e.filterType === M(h).ZONE ? (c(), p("div", x5, [
|
|
11197
11205
|
P(o7, {
|
|
11198
11206
|
ref_key: "templateZone",
|
|
11199
11207
|
ref: u,
|
|
@@ -11202,35 +11210,35 @@ const U7 = {
|
|
|
11202
11210
|
"onUpdate:filters": le
|
|
11203
11211
|
}, null, 8, ["zone-filters"])
|
|
11204
11212
|
])) : O("", !0),
|
|
11205
|
-
e.filterType === M(
|
|
11213
|
+
e.filterType === M(h).WHAT_HAPPENED ? (c(), p("div", g5, [
|
|
11206
11214
|
P(p7, {
|
|
11207
11215
|
"is-female": e.isFemale,
|
|
11208
11216
|
ref_key: "templateWhatHappened",
|
|
11209
|
-
ref:
|
|
11217
|
+
ref: m,
|
|
11210
11218
|
"what-happened-filters": e.whatHappenedFilters,
|
|
11211
11219
|
onChangeFiltersSelected: H,
|
|
11212
11220
|
"onUpdate:filters": le
|
|
11213
11221
|
}, null, 8, ["is-female", "what-happened-filters"])
|
|
11214
11222
|
])) : O("", !0),
|
|
11215
|
-
e.filterType === M(
|
|
11223
|
+
e.filterType === M(h).POSITIONS ? (c(), p("div", S5, [
|
|
11216
11224
|
P(O7, {
|
|
11217
11225
|
positions: e.positions,
|
|
11218
11226
|
onChangePositions: Te
|
|
11219
11227
|
}, null, 8, ["positions"])
|
|
11220
11228
|
])) : O("", !0),
|
|
11221
|
-
e.filterType === M(
|
|
11229
|
+
e.filterType === M(h).YEARS ? (c(), p("div", k5, [
|
|
11222
11230
|
P(w7, {
|
|
11223
11231
|
years: e.years,
|
|
11224
11232
|
onChangeYear: je
|
|
11225
11233
|
}, null, 8, ["years"])
|
|
11226
11234
|
])) : O("", !0),
|
|
11227
|
-
e.filterType === M(
|
|
11235
|
+
e.filterType === M(h).NATIONALITIES ? (c(), p("div", P5, [
|
|
11228
11236
|
P(M7, {
|
|
11229
11237
|
nationalities: e.nationalities,
|
|
11230
11238
|
onChangeNationality: Ve
|
|
11231
11239
|
}, null, 8, ["nationalities"])
|
|
11232
11240
|
])) : O("", !0),
|
|
11233
|
-
e.filterType === M(
|
|
11241
|
+
e.filterType === M(h).POSSESSION_VISUALISATIONS ? (c(), p("div", C5, [
|
|
11234
11242
|
P(W7, {
|
|
11235
11243
|
"is-expansion-mode": e.isExpansionMode,
|
|
11236
11244
|
onChange: W
|
|
@@ -11283,7 +11291,7 @@ const U7 = {
|
|
|
11283
11291
|
])) : O("", !0)
|
|
11284
11292
|
], 4));
|
|
11285
11293
|
}
|
|
11286
|
-
}, yi = /* @__PURE__ */ K(O5, [["__scopeId", "data-v-
|
|
11294
|
+
}, yi = /* @__PURE__ */ K(O5, [["__scopeId", "data-v-5d99c5c6"]]), T5 = (e, i) => {
|
|
11287
11295
|
const t = e.__vccOpts || e;
|
|
11288
11296
|
for (const [a, r] of i)
|
|
11289
11297
|
t[a] = r;
|
|
@@ -11371,7 +11379,7 @@ const U7 = {
|
|
|
11371
11379
|
function u() {
|
|
11372
11380
|
r.value = !r.value, i("update:modelValue", r.value);
|
|
11373
11381
|
}
|
|
11374
|
-
function
|
|
11382
|
+
function m() {
|
|
11375
11383
|
r.value = !1, i("update:modelValue", r.value);
|
|
11376
11384
|
}
|
|
11377
11385
|
return xa(() => {
|
|
@@ -11382,7 +11390,7 @@ const U7 = {
|
|
|
11382
11390
|
r.value ? (c(), p("div", {
|
|
11383
11391
|
key: 0,
|
|
11384
11392
|
id: "menu-overlay",
|
|
11385
|
-
onClick:
|
|
11393
|
+
onClick: m
|
|
11386
11394
|
})) : O("", !0),
|
|
11387
11395
|
o("div", {
|
|
11388
11396
|
class: "menu-container",
|
|
@@ -11694,16 +11702,16 @@ const ft = (e) => (ue("data-v-0100cdd5"), e = e(), pe(), e), B5 = {
|
|
|
11694
11702
|
"--info-height": i.infoHeight,
|
|
11695
11703
|
"--info-width": i.infoWidth
|
|
11696
11704
|
})), r = A(() => [
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
|
|
11700
|
-
|
|
11701
|
-
|
|
11702
|
-
|
|
11703
|
-
|
|
11704
|
-
].includes(i.iconType)), s = A(() => [
|
|
11705
|
+
h.PLAYS_TYPES,
|
|
11706
|
+
h.GOLSTATS,
|
|
11707
|
+
h.TOURNAMENTS,
|
|
11708
|
+
h.PLAYS,
|
|
11709
|
+
h.RESULTS,
|
|
11710
|
+
h.RESULTS_BY_TIME,
|
|
11711
|
+
h.TEAMS
|
|
11712
|
+
].includes(i.iconType)), s = A(() => [h.POSSESSION_VISUALISATIONS, h.FIELD, h.GAMES].includes(
|
|
11705
11713
|
i.iconType
|
|
11706
|
-
)), n = A(() => [
|
|
11714
|
+
)), n = A(() => [h.DETAILS, h.UNIVERSE].includes(i.iconType)), l = A(() => [h.PERSONAL_DATA].includes(i.iconType)), d = A(() => [h.PRODUCTIVITY].includes(i.iconType)), f = A(() => [h.HOW_WAS_CORNER].includes(i.iconType)), v = A(() => [h.TAKEN_CORNERS].includes(i.iconType)), u = A(() => [h.ZONE].includes(i.iconType)), m = A(() => [h.WHAT_HAPPENED].includes(i.iconType));
|
|
11707
11715
|
return (y, b) => (c(), p("div", {
|
|
11708
11716
|
class: "button",
|
|
11709
11717
|
style: Y(t.value)
|
|
@@ -11800,7 +11808,7 @@ const ft = (e) => (ue("data-v-0100cdd5"), e = e(), pe(), e), B5 = {
|
|
|
11800
11808
|
v.value ? (c(), p("svg", K5, ep)) : O("", !0),
|
|
11801
11809
|
f.value ? (c(), p("svg", tp, ip)) : O("", !0),
|
|
11802
11810
|
u.value ? (c(), p("svg", sp, dp)) : O("", !0),
|
|
11803
|
-
|
|
11811
|
+
m.value ? (c(), p("svg", fp, up)) : O("", !0)
|
|
11804
11812
|
])) : O("", !0),
|
|
11805
11813
|
o("div", pp, B(e.text), 1),
|
|
11806
11814
|
e.showBadge ? (c(), p(X, { key: 1 }, [
|
|
@@ -12633,14 +12641,14 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12633
12641
|
setup(e, { expose: i, emit: t }) {
|
|
12634
12642
|
const a = e;
|
|
12635
12643
|
Oe((T) => ({
|
|
12636
|
-
"
|
|
12644
|
+
"927672ce": e.width
|
|
12637
12645
|
}));
|
|
12638
12646
|
const r = {
|
|
12639
12647
|
width: "604px",
|
|
12640
12648
|
maxWidth: "604px",
|
|
12641
12649
|
backgroundColor: "#2E3B46",
|
|
12642
12650
|
borderRadius: "12px",
|
|
12643
|
-
filterType:
|
|
12651
|
+
filterType: h.PRODUCTIVITY,
|
|
12644
12652
|
isFooterVisible: !0
|
|
12645
12653
|
}, s = {
|
|
12646
12654
|
width: "604px",
|
|
@@ -12648,63 +12656,63 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12648
12656
|
padding: "0 20px 10px 20px",
|
|
12649
12657
|
backgroundColor: "#2E3B46",
|
|
12650
12658
|
borderRadius: "12px",
|
|
12651
|
-
filterType:
|
|
12659
|
+
filterType: h.PLAYS,
|
|
12652
12660
|
isFooterVisible: !0
|
|
12653
12661
|
}, n = {
|
|
12654
12662
|
width: "fit-content",
|
|
12655
12663
|
maxWidth: "608px",
|
|
12656
12664
|
backgroundColor: "#2E3B46",
|
|
12657
12665
|
borderRadius: "12px",
|
|
12658
|
-
filterType:
|
|
12666
|
+
filterType: h.FIELD,
|
|
12659
12667
|
isFooterVisible: !0
|
|
12660
12668
|
}, l = {
|
|
12661
12669
|
width: "320px",
|
|
12662
12670
|
maxWidth: "320px",
|
|
12663
12671
|
backgroundColor: "#2E3B46",
|
|
12664
12672
|
borderRadius: "12px",
|
|
12665
|
-
filterType:
|
|
12673
|
+
filterType: h.DETAILS,
|
|
12666
12674
|
isFooterVisible: !0
|
|
12667
12675
|
}, d = {
|
|
12668
12676
|
width: "246px",
|
|
12669
12677
|
maxWidth: "246px",
|
|
12670
12678
|
backgroundColor: "#2E3B46",
|
|
12671
12679
|
borderRadius: "12px",
|
|
12672
|
-
filterType:
|
|
12680
|
+
filterType: h.TOURNAMENTS,
|
|
12673
12681
|
isFooterVisible: !0
|
|
12674
12682
|
}, f = {
|
|
12675
12683
|
width: "fit-content",
|
|
12676
12684
|
maxWidth: "fit-content",
|
|
12677
12685
|
backgroundColor: "#2E3B46",
|
|
12678
12686
|
borderRadius: "12px",
|
|
12679
|
-
filterType:
|
|
12687
|
+
filterType: h.TOURNAMENTS,
|
|
12680
12688
|
isFooterVisible: !0
|
|
12681
12689
|
}, v = {
|
|
12682
12690
|
width: "246px",
|
|
12683
12691
|
maxWidth: "246px",
|
|
12684
12692
|
backgroundColor: "#2E3B46",
|
|
12685
12693
|
borderRadius: "12px",
|
|
12686
|
-
filterType:
|
|
12694
|
+
filterType: h.POSITIONS,
|
|
12687
12695
|
isFooterVisible: !0
|
|
12688
12696
|
}, u = {
|
|
12689
12697
|
width: "246px",
|
|
12690
12698
|
maxWidth: "246px",
|
|
12691
12699
|
backgroundColor: "#2E3B46",
|
|
12692
12700
|
borderRadius: "12px",
|
|
12693
|
-
filterType:
|
|
12701
|
+
filterType: h.YEARS,
|
|
12694
12702
|
isFooterVisible: !0
|
|
12695
|
-
},
|
|
12703
|
+
}, m = {
|
|
12696
12704
|
width: "246px",
|
|
12697
12705
|
maxWidth: "246px",
|
|
12698
12706
|
backgroundColor: "#2E3B46",
|
|
12699
12707
|
borderRadius: "12px",
|
|
12700
|
-
filterType:
|
|
12708
|
+
filterType: h.NATIONALITIES,
|
|
12701
12709
|
isFooterVisible: !0
|
|
12702
12710
|
}, y = {
|
|
12703
12711
|
width: "310px",
|
|
12704
12712
|
maxWidth: "310px",
|
|
12705
12713
|
backgroundColor: "#2E3B46",
|
|
12706
12714
|
borderRadius: "12px",
|
|
12707
|
-
filterType:
|
|
12715
|
+
filterType: h.PERSONAL_DATA,
|
|
12708
12716
|
isFooterVisible: !0
|
|
12709
12717
|
}, b = {
|
|
12710
12718
|
width: "310px",
|
|
@@ -12712,7 +12720,7 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12712
12720
|
maxWidth: "310px",
|
|
12713
12721
|
backgroundColor: "#2E3B46",
|
|
12714
12722
|
borderRadius: "12px",
|
|
12715
|
-
filterType:
|
|
12723
|
+
filterType: h.PLAYS_TYPES,
|
|
12716
12724
|
isFooterVisible: !0,
|
|
12717
12725
|
isFooterCancelOnly: !0
|
|
12718
12726
|
}, x = {
|
|
@@ -12721,7 +12729,7 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12721
12729
|
maxWidth: "380px",
|
|
12722
12730
|
backgroundColor: "#2E3B46",
|
|
12723
12731
|
borderRadius: "12px",
|
|
12724
|
-
filterType:
|
|
12732
|
+
filterType: h.GOLSTATS,
|
|
12725
12733
|
isFooterVisible: !0,
|
|
12726
12734
|
isFooterCancelOnly: !0
|
|
12727
12735
|
}, g = {
|
|
@@ -12729,21 +12737,21 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12729
12737
|
maxWidth: "310px",
|
|
12730
12738
|
backgroundColor: "#2E3B46",
|
|
12731
12739
|
borderRadius: "12px",
|
|
12732
|
-
filterType:
|
|
12740
|
+
filterType: h.UNIVERSE,
|
|
12733
12741
|
isFooterVisible: !0
|
|
12734
12742
|
}, k = {
|
|
12735
12743
|
width: "310px",
|
|
12736
12744
|
maxWidth: "310px",
|
|
12737
12745
|
backgroundColor: "#2E3B46",
|
|
12738
12746
|
borderRadius: "12px",
|
|
12739
|
-
filterType:
|
|
12747
|
+
filterType: h.DISTANCE,
|
|
12740
12748
|
isFooterVisible: !0
|
|
12741
12749
|
}, L = {
|
|
12742
12750
|
width: "250px",
|
|
12743
12751
|
maxWidth: "250px",
|
|
12744
12752
|
backgroundColor: "#2E3B46",
|
|
12745
12753
|
borderRadius: "12px",
|
|
12746
|
-
filterType:
|
|
12754
|
+
filterType: h.RESULTS,
|
|
12747
12755
|
padding: "0",
|
|
12748
12756
|
isFooterVisible: !0
|
|
12749
12757
|
}, J = {
|
|
@@ -12751,7 +12759,7 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12751
12759
|
maxWidth: "250px",
|
|
12752
12760
|
backgroundColor: "#2E3B46",
|
|
12753
12761
|
borderRadius: "12px",
|
|
12754
|
-
filterType:
|
|
12762
|
+
filterType: h.RESULTS_BY_TIME,
|
|
12755
12763
|
padding: "0",
|
|
12756
12764
|
isFooterVisible: !0
|
|
12757
12765
|
}, ce = {
|
|
@@ -12759,45 +12767,45 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12759
12767
|
maxWidth: "380px",
|
|
12760
12768
|
backgroundColor: "#2E3B46",
|
|
12761
12769
|
borderRadius: "12px",
|
|
12762
|
-
filterType:
|
|
12770
|
+
filterType: h.VIDEOS,
|
|
12763
12771
|
isFooterVisible: !1
|
|
12764
12772
|
}, ie = {
|
|
12765
12773
|
width: "300px",
|
|
12766
12774
|
maxWidth: "300px",
|
|
12767
12775
|
backgroundColor: "#2E3B46",
|
|
12768
12776
|
borderRadius: "12px",
|
|
12769
|
-
filterType:
|
|
12777
|
+
filterType: h.GAMES,
|
|
12770
12778
|
isFooterVisible: !0
|
|
12771
12779
|
}, ge = {
|
|
12772
12780
|
width: "520px",
|
|
12773
12781
|
maxWidth: "520px",
|
|
12774
12782
|
backgroundColor: "#2E3B46",
|
|
12775
12783
|
borderRadius: "12px",
|
|
12776
|
-
filterType:
|
|
12784
|
+
filterType: h.TAKEN_CORNERS,
|
|
12777
12785
|
isFooterVisible: !0
|
|
12778
12786
|
}, me = {
|
|
12779
12787
|
width: "670px",
|
|
12780
12788
|
maxWidth: "670px",
|
|
12781
12789
|
backgroundColor: "#2E3B46",
|
|
12782
12790
|
borderRadius: "12px",
|
|
12783
|
-
filterType:
|
|
12791
|
+
filterType: h.HOW_WAS_CORNER,
|
|
12784
12792
|
isFooterVisible: !0
|
|
12785
12793
|
}, be = {
|
|
12786
12794
|
width: "426px",
|
|
12787
12795
|
maxWidth: "426px",
|
|
12788
12796
|
backgroundColor: "#2E3B46",
|
|
12789
12797
|
borderRadius: "12px",
|
|
12790
|
-
filterType:
|
|
12798
|
+
filterType: h.ZONE,
|
|
12791
12799
|
isFooterVisible: !0
|
|
12792
12800
|
}, Ae = {
|
|
12793
12801
|
width: "285px",
|
|
12794
12802
|
maxWidth: "285px",
|
|
12795
12803
|
backgroundColor: "#2E3B46",
|
|
12796
12804
|
borderRadius: "12px",
|
|
12797
|
-
filterType:
|
|
12805
|
+
filterType: h.WHAT_HAPPENED,
|
|
12798
12806
|
isFooterVisible: !0
|
|
12799
12807
|
}, Ge = {
|
|
12800
|
-
filterType:
|
|
12808
|
+
filterType: h.POSSESSION_VISUALISATIONS,
|
|
12801
12809
|
isFooterVisible: !0
|
|
12802
12810
|
}, H = C(!1), G = C(!1), N = C(0), se = C(0), D = C({}), Me = C(It), Ce = C(kt), le = C(Pt), Te = C(Et), je = C(Nt), Ve = C(Ct);
|
|
12803
12811
|
ct("playOffAbbreviationsStructure", Me), ct("howWasCornerStructure", Ce), ct("whatHappenedStructure", le), ct("playsStructure", Te), ct("productivityStructure", je), ct("defaultCategoriesStructure", Ve), j(
|
|
@@ -12843,49 +12851,49 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12843
12851
|
), j(
|
|
12844
12852
|
() => Ce.value,
|
|
12845
12853
|
(T) => {
|
|
12846
|
-
a.filterType ===
|
|
12854
|
+
a.filterType === h.HOW_WAS_CORNER && !a.filters && (D.value = { ...D.value, howWasCornerFilters: T });
|
|
12847
12855
|
}
|
|
12848
12856
|
), j(
|
|
12849
12857
|
() => le.value,
|
|
12850
12858
|
(T) => {
|
|
12851
|
-
a.filterType ===
|
|
12859
|
+
a.filterType === h.WHAT_HAPPENED && !a.filters && (D.value = { ...D.value, whatHappenedFilters: [...T] });
|
|
12852
12860
|
}
|
|
12853
12861
|
), j(
|
|
12854
12862
|
() => Te.value,
|
|
12855
12863
|
(T) => {
|
|
12856
|
-
a.filterType ===
|
|
12864
|
+
a.filterType === h.PLAYS && !a.filters && (D.value = { ...D.value, playsCategories: T });
|
|
12857
12865
|
}
|
|
12858
12866
|
), j(
|
|
12859
12867
|
() => je.value,
|
|
12860
12868
|
(T) => {
|
|
12861
|
-
a.filterType ===
|
|
12869
|
+
a.filterType === h.PRODUCTIVITY && !a.filters && (D.value = { ...D.value, productivityCategories: T });
|
|
12862
12870
|
}
|
|
12863
12871
|
);
|
|
12864
|
-
const Re = C(null), Je = C(null), F = C("Universo"), E = C(""), Z = C(""), R = A(() => a.isForTemplateForm ? "0" : "unset"), V = A(() => a.isFromTemplates ?
|
|
12872
|
+
const Re = C(null), Je = C(null), F = C("Universo"), E = C(""), Z = C(""), R = A(() => a.isForTemplateForm ? "0" : "unset"), V = A(() => a.isFromTemplates ? h.RESULTS : a.filterType), Q = C(null);
|
|
12865
12873
|
j(
|
|
12866
12874
|
() => a.filterType,
|
|
12867
12875
|
(T) => {
|
|
12868
|
-
if (T ===
|
|
12876
|
+
if (T === h.PRODUCTIVITY)
|
|
12869
12877
|
D.value = {
|
|
12870
12878
|
...r,
|
|
12871
12879
|
...a.templateProps,
|
|
12872
12880
|
productivityCategories: a.filters || je.value
|
|
12873
12881
|
};
|
|
12874
|
-
else if (T ===
|
|
12882
|
+
else if (T === h.PLAYS)
|
|
12875
12883
|
D.value = {
|
|
12876
12884
|
...s,
|
|
12877
12885
|
...a.templateProps,
|
|
12878
12886
|
fontFamily: a.buttonFilterProps ? a.buttonFilterProps.textFontFamily : "sans-serif",
|
|
12879
12887
|
playsCategories: a.filters || Te.value
|
|
12880
12888
|
};
|
|
12881
|
-
else if (T ===
|
|
12889
|
+
else if (T === h.FIELD)
|
|
12882
12890
|
D.value = {
|
|
12883
12891
|
...n,
|
|
12884
12892
|
...a.templateProps,
|
|
12885
12893
|
fieldComponentProps: a.fieldComponentProps,
|
|
12886
12894
|
fieldAreas: a.filters || []
|
|
12887
12895
|
};
|
|
12888
|
-
else if (T ===
|
|
12896
|
+
else if (T === h.DETAILS)
|
|
12889
12897
|
D.value = {
|
|
12890
12898
|
...l,
|
|
12891
12899
|
...a.templateProps,
|
|
@@ -12895,78 +12903,79 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12895
12903
|
statisticType: a.filters ? a.filters.statisticType : Fe.statisticType,
|
|
12896
12904
|
isStatisticTypeVisible: a.filters ? a.filters.isStatisticTypeVisible : Fe.isStatisticTypeVisible
|
|
12897
12905
|
};
|
|
12898
|
-
else if (T ===
|
|
12906
|
+
else if (T === h.TOURNAMENTS) {
|
|
12899
12907
|
const oe = a.filters || Dp;
|
|
12900
12908
|
a.isOneTournamentOnly && oe.forEach((Le) => {
|
|
12901
12909
|
Le.isSelected = Le.id === a.defaultTournamentId;
|
|
12902
12910
|
}), D.value = {
|
|
12903
12911
|
...d,
|
|
12904
12912
|
...a.templateProps,
|
|
12913
|
+
token: a.token,
|
|
12905
12914
|
tournaments: oe
|
|
12906
12915
|
};
|
|
12907
12916
|
} else
|
|
12908
|
-
T ===
|
|
12917
|
+
T === h.TEAMS ? D.value = {
|
|
12909
12918
|
...f,
|
|
12910
12919
|
...a.templateProps,
|
|
12911
12920
|
seasonsIds: a.filters || []
|
|
12912
|
-
} : T ===
|
|
12921
|
+
} : T === h.PERSONAL_DATA ? D.value = {
|
|
12913
12922
|
...y,
|
|
12914
12923
|
...a.templateProps,
|
|
12915
12924
|
token: a.token,
|
|
12916
12925
|
awaitForFilters: a.awaitForFilters,
|
|
12917
12926
|
personalDataFilters: a.filters
|
|
12918
|
-
} : T ===
|
|
12927
|
+
} : T === h.PLAYS_TYPES ? D.value = {
|
|
12919
12928
|
...b,
|
|
12920
12929
|
...a.templateProps,
|
|
12921
12930
|
playsGolstatsCategories: a.filters || Ap
|
|
12922
|
-
} : T ===
|
|
12931
|
+
} : T === h.GOLSTATS ? D.value = {
|
|
12923
12932
|
...x,
|
|
12924
12933
|
...a.templateProps,
|
|
12925
12934
|
playsGolstatsCategories: a.filters || zp
|
|
12926
|
-
} : T ===
|
|
12935
|
+
} : T === h.UNIVERSE ? D.value = {
|
|
12927
12936
|
...g,
|
|
12928
12937
|
...a.templateProps,
|
|
12929
12938
|
universeFilters: a.filters || Bp
|
|
12930
|
-
} : T ===
|
|
12939
|
+
} : T === h.DISTANCE ? D.value = {
|
|
12931
12940
|
...k,
|
|
12932
12941
|
...a.templateProps,
|
|
12933
12942
|
distanceFilters: a.filters || Hp
|
|
12934
|
-
} : T ===
|
|
12943
|
+
} : T === h.RESULTS ? D.value = {
|
|
12935
12944
|
...L,
|
|
12936
12945
|
...a.templateProps,
|
|
12937
12946
|
resultsFilters: a.filters || bi
|
|
12938
|
-
} : T ===
|
|
12947
|
+
} : T === h.RESULTS_BY_TIME ? D.value = {
|
|
12939
12948
|
...J,
|
|
12940
12949
|
...a.templateProps,
|
|
12941
12950
|
resultsByTimeFilters: a.filters || ba
|
|
12942
|
-
} : T ===
|
|
12951
|
+
} : T === h.GAMES ? D.value = {
|
|
12943
12952
|
...ie,
|
|
12944
12953
|
...a.templateProps,
|
|
12945
12954
|
gamesFilters: a.filters || []
|
|
12946
|
-
} : T ===
|
|
12955
|
+
} : T === h.VIDEOS ? D.value = {
|
|
12947
12956
|
...ce,
|
|
12948
12957
|
...a.templateProps,
|
|
12949
12958
|
token: a.token
|
|
12950
|
-
} : T ===
|
|
12959
|
+
} : T === h.TAKEN_CORNERS ? D.value = {
|
|
12951
12960
|
...ge,
|
|
12952
12961
|
...a.templateProps,
|
|
12953
12962
|
takenCornersFilters: a.filters || []
|
|
12954
|
-
} : T ===
|
|
12963
|
+
} : T === h.HOW_WAS_CORNER ? D.value = {
|
|
12955
12964
|
...me,
|
|
12956
12965
|
...a.templateProps,
|
|
12957
12966
|
howWasCornerFilters: a.filters || Ce.value
|
|
12958
|
-
} : T ===
|
|
12967
|
+
} : T === h.ZONE ? D.value = {
|
|
12959
12968
|
...be,
|
|
12960
12969
|
...a.templateProps,
|
|
12961
12970
|
zoneFilters: a.filters || [...Lt]
|
|
12962
|
-
} : T ===
|
|
12971
|
+
} : T === h.WHAT_HAPPENED ? D.value = {
|
|
12963
12972
|
...Ae,
|
|
12964
12973
|
...a.templateProps,
|
|
12965
12974
|
whatHappenedFilters: a.filters || [...le.value]
|
|
12966
|
-
} : T ===
|
|
12975
|
+
} : T === h.POSSESSION_VISUALISATIONS ? D.value = {
|
|
12967
12976
|
...Ge,
|
|
12968
12977
|
...a.templateProps
|
|
12969
|
-
} : T ===
|
|
12978
|
+
} : T === h.POSITIONS ? D.value = {
|
|
12970
12979
|
...v,
|
|
12971
12980
|
...a.templateProps,
|
|
12972
12981
|
positions: a.filters || [
|
|
@@ -12980,12 +12989,12 @@ const jp = { class: "filters" }, Ep = {
|
|
|
12980
12989
|
{ isSelected: !0, id: 8, name: "Volante ofensivo" },
|
|
12981
12990
|
{ isSelected: !0, id: 9, name: "Delantero" }
|
|
12982
12991
|
]
|
|
12983
|
-
} : T ===
|
|
12992
|
+
} : T === h.YEARS ? D.value = {
|
|
12984
12993
|
...u,
|
|
12985
12994
|
...a.templateProps,
|
|
12986
12995
|
years: a.filters || Array.from({ length: 30 }, (oe, Le) => 1981 + Le).sort((oe, Le) => Le - oe)
|
|
12987
|
-
} : T ===
|
|
12988
|
-
...
|
|
12996
|
+
} : T === h.NATIONALITIES && (D.value = {
|
|
12997
|
+
...m,
|
|
12989
12998
|
...a.templateProps,
|
|
12990
12999
|
nationalities: a.filters || [
|
|
12991
13000
|
{ isSelected: !0, id: 138, name: "Mexicana" },
|
|
@@ -13007,29 +13016,34 @@ const jp = { class: "filters" }, Ep = {
|
|
|
13007
13016
|
D.value.isExpansionMode = a.isExpansionPanel, a.isExpansionPanel && (D.value.width = "100%", D.value.maxWidth = "100%"), te();
|
|
13008
13017
|
},
|
|
13009
13018
|
{ immediate: !0 }
|
|
13019
|
+
), j(
|
|
13020
|
+
() => a.token,
|
|
13021
|
+
(T) => {
|
|
13022
|
+
D.value && "token" in D.value && (D.value.token = T);
|
|
13023
|
+
}
|
|
13010
13024
|
), j(
|
|
13011
13025
|
() => a.filters,
|
|
13012
13026
|
() => {
|
|
13013
|
-
if (a.filterType ===
|
|
13027
|
+
if (a.filterType === h.PRODUCTIVITY)
|
|
13014
13028
|
D.value = {
|
|
13015
13029
|
...r,
|
|
13016
13030
|
...a.templateProps,
|
|
13017
13031
|
productivityCategories: a.filters
|
|
13018
13032
|
};
|
|
13019
|
-
else if (a.filterType ===
|
|
13033
|
+
else if (a.filterType === h.PLAYS)
|
|
13020
13034
|
D.value = {
|
|
13021
13035
|
...s,
|
|
13022
13036
|
...a.templateProps,
|
|
13023
13037
|
playsCategories: a.filters
|
|
13024
13038
|
};
|
|
13025
|
-
else if (a.filterType ===
|
|
13039
|
+
else if (a.filterType === h.FIELD)
|
|
13026
13040
|
D.value = {
|
|
13027
13041
|
...n,
|
|
13028
13042
|
...a.templateProps,
|
|
13029
13043
|
fieldComponentProps: a.fieldComponentProps,
|
|
13030
13044
|
fieldAreas: a.filters
|
|
13031
13045
|
};
|
|
13032
|
-
else if (a.filterType ===
|
|
13046
|
+
else if (a.filterType === h.DETAILS)
|
|
13033
13047
|
D.value = {
|
|
13034
13048
|
...l,
|
|
13035
13049
|
...a.templateProps,
|
|
@@ -13039,78 +13053,79 @@ const jp = { class: "filters" }, Ep = {
|
|
|
13039
13053
|
statisticType: a.filters ? a.filters.statisticType : Fe.statisticType,
|
|
13040
13054
|
isStatisticVisible: a.filters ? a.filters.isStatisticVisible : Fe.isStatisticVisible
|
|
13041
13055
|
};
|
|
13042
|
-
else if (a.filterType ===
|
|
13056
|
+
else if (a.filterType === h.TOURNAMENTS) {
|
|
13043
13057
|
const T = a.filters;
|
|
13044
13058
|
a.isOneTournamentOnly && T.forEach((oe) => {
|
|
13045
13059
|
oe.isSelected = oe.id === a.defaultTournamentId;
|
|
13046
13060
|
}), D.value = {
|
|
13047
13061
|
...d,
|
|
13048
13062
|
...a.templateProps,
|
|
13063
|
+
token: a.token,
|
|
13049
13064
|
tournaments: T
|
|
13050
13065
|
};
|
|
13051
13066
|
} else
|
|
13052
|
-
a.filterType ===
|
|
13067
|
+
a.filterType === h.TEAMS ? D.value = {
|
|
13053
13068
|
...f,
|
|
13054
13069
|
...a.templateProps,
|
|
13055
13070
|
seasonsIds: a.filters || []
|
|
13056
|
-
} : a.filterType ===
|
|
13071
|
+
} : a.filterType === h.PERSONAL_DATA ? D.value = {
|
|
13057
13072
|
...y,
|
|
13058
13073
|
...a.templateProps,
|
|
13059
13074
|
token: a.token,
|
|
13060
13075
|
awaitForFilters: a.awaitForFilters,
|
|
13061
13076
|
personalDataFilters: a.filters
|
|
13062
|
-
} : a.filterType ===
|
|
13077
|
+
} : a.filterType === h.PLAYS_TYPES ? D.value = {
|
|
13063
13078
|
...b,
|
|
13064
13079
|
...a.templateProps,
|
|
13065
13080
|
playsGolstatsCategories: a.filters
|
|
13066
|
-
} : a.filterType ===
|
|
13081
|
+
} : a.filterType === h.GOLSTATS ? D.value = {
|
|
13067
13082
|
...x,
|
|
13068
13083
|
...a.templateProps,
|
|
13069
13084
|
playsGolstatsCategories: a.filters
|
|
13070
|
-
} : a.filterType ===
|
|
13085
|
+
} : a.filterType === h.UNIVERSE ? D.value = {
|
|
13071
13086
|
...g,
|
|
13072
13087
|
...a.templateProps,
|
|
13073
13088
|
universeFilters: a.filters
|
|
13074
|
-
} : a.filterType ===
|
|
13089
|
+
} : a.filterType === h.DISTANCE ? D.value = {
|
|
13075
13090
|
...k,
|
|
13076
13091
|
...a.templateProps,
|
|
13077
13092
|
distanceFilters: a.filters
|
|
13078
|
-
} : a.filterType ===
|
|
13093
|
+
} : a.filterType === h.RESULTS ? D.value = {
|
|
13079
13094
|
...L,
|
|
13080
13095
|
...a.templateProps,
|
|
13081
13096
|
resultsFilters: a.filters || bi
|
|
13082
|
-
} : a.filterType ===
|
|
13097
|
+
} : a.filterType === h.RESULTS_BY_TIME ? D.value = {
|
|
13083
13098
|
...J,
|
|
13084
13099
|
...a.templateProps,
|
|
13085
13100
|
resultsByTimeFilters: a.filters || ba
|
|
13086
|
-
} : a.filterType ===
|
|
13101
|
+
} : a.filterType === h.GAMES ? D.value = {
|
|
13087
13102
|
...ie,
|
|
13088
13103
|
...a.templateProps,
|
|
13089
13104
|
gamesFilters: a.filters
|
|
13090
|
-
} : a.filterType ===
|
|
13105
|
+
} : a.filterType === h.VIDEOS ? D.value = {
|
|
13091
13106
|
...ce,
|
|
13092
13107
|
...a.templateProps,
|
|
13093
13108
|
token: a.token
|
|
13094
|
-
} : a.filterType ===
|
|
13109
|
+
} : a.filterType === h.TAKEN_CORNERS ? D.value = {
|
|
13095
13110
|
...ge,
|
|
13096
13111
|
...a.templateProps,
|
|
13097
13112
|
takenCornersFilters: a.filters || []
|
|
13098
|
-
} : a.filterType ===
|
|
13113
|
+
} : a.filterType === h.HOW_WAS_CORNER ? D.value = {
|
|
13099
13114
|
...me,
|
|
13100
13115
|
...a.templateProps,
|
|
13101
13116
|
howWasCornerFilters: a.filters || Ce.value
|
|
13102
|
-
} : a.filterType ===
|
|
13117
|
+
} : a.filterType === h.ZONE ? D.value = {
|
|
13103
13118
|
...be,
|
|
13104
13119
|
...a.templateProps,
|
|
13105
13120
|
zoneFilters: a.filters || [...Lt]
|
|
13106
|
-
} : a.filterType ===
|
|
13121
|
+
} : a.filterType === h.WHAT_HAPPENED ? D.value = {
|
|
13107
13122
|
...Ae,
|
|
13108
13123
|
...a.templateProps,
|
|
13109
13124
|
whatHappenedFilters: a.filters || [...le.value]
|
|
13110
|
-
} : a.filterType ===
|
|
13125
|
+
} : a.filterType === h.POSSESSION_VISUALISATIONS ? D.value = {
|
|
13111
13126
|
...Ge,
|
|
13112
13127
|
...a.templateProps
|
|
13113
|
-
} : a.filterType ===
|
|
13128
|
+
} : a.filterType === h.POSITIONS ? D.value = {
|
|
13114
13129
|
...v,
|
|
13115
13130
|
...a.templateProps,
|
|
13116
13131
|
positions: a.filters || [
|
|
@@ -13124,12 +13139,12 @@ const jp = { class: "filters" }, Ep = {
|
|
|
13124
13139
|
{ isSelected: !0, id: 8, name: "Volante ofensivo" },
|
|
13125
13140
|
{ isSelected: !0, id: 9, name: "Delantero" }
|
|
13126
13141
|
]
|
|
13127
|
-
} : a.filterType ===
|
|
13142
|
+
} : a.filterType === h.YEARS ? D.value = {
|
|
13128
13143
|
...u,
|
|
13129
13144
|
...a.templateProps,
|
|
13130
13145
|
years: a.filters || Array.from({ length: 30 }, (T, oe) => 1981 + oe).sort((T, oe) => oe - T)
|
|
13131
|
-
} : a.filterType ===
|
|
13132
|
-
...
|
|
13146
|
+
} : a.filterType === h.NATIONALITIES && (D.value = {
|
|
13147
|
+
...m,
|
|
13133
13148
|
...a.templateProps,
|
|
13134
13149
|
nationalities: a.filters || [
|
|
13135
13150
|
{ isSelected: !0, id: 138, name: "Mexicana" },
|
|
@@ -13156,7 +13171,7 @@ const jp = { class: "filters" }, Ep = {
|
|
|
13156
13171
|
T || t("close", Q.value);
|
|
13157
13172
|
});
|
|
13158
13173
|
function te() {
|
|
13159
|
-
E.value = a.filterType ===
|
|
13174
|
+
E.value = a.filterType === h.UNIVERSE && a.showUniverseTime ? F.value : a.buttonFilterProps && a.buttonFilterProps.text ? a.buttonFilterProps.text : a.menuButtonText || W(), Z.value = a.expansionPanelText || W();
|
|
13160
13175
|
}
|
|
13161
13176
|
function _(T) {
|
|
13162
13177
|
N.value = T;
|
|
@@ -13165,52 +13180,52 @@ const jp = { class: "filters" }, Ep = {
|
|
|
13165
13180
|
a.isExpansionPanel ? G.value = !1 : H.value = !1, t("apply", Q.value);
|
|
13166
13181
|
}
|
|
13167
13182
|
function W() {
|
|
13168
|
-
if (a.filterType ===
|
|
13183
|
+
if (a.filterType === h.PRODUCTIVITY)
|
|
13169
13184
|
return a.isFromTemplates ? "Tipos de jugadas" : "Características de juego";
|
|
13170
|
-
if (a.filterType ===
|
|
13185
|
+
if (a.filterType === h.PLAYS)
|
|
13171
13186
|
return "Jugada(s)";
|
|
13172
|
-
if (a.filterType ===
|
|
13187
|
+
if (a.filterType === h.FIELD)
|
|
13173
13188
|
return "Zona de cancha";
|
|
13174
|
-
if (a.filterType ===
|
|
13189
|
+
if (a.filterType === h.DETAILS)
|
|
13175
13190
|
return "Detalles";
|
|
13176
|
-
if (a.filterType ===
|
|
13191
|
+
if (a.filterType === h.TEAMS)
|
|
13177
13192
|
return "Equipos";
|
|
13178
|
-
if (a.filterType ===
|
|
13193
|
+
if (a.filterType === h.TOURNAMENTS)
|
|
13179
13194
|
return "Ligas";
|
|
13180
|
-
if (a.filterType ===
|
|
13195
|
+
if (a.filterType === h.PERSONAL_DATA)
|
|
13181
13196
|
return "Datos personales";
|
|
13182
|
-
if (a.filterType ===
|
|
13197
|
+
if (a.filterType === h.PLAYS_TYPES)
|
|
13183
13198
|
return "Tipos de jugada";
|
|
13184
|
-
if (a.filterType ===
|
|
13199
|
+
if (a.filterType === h.GOLSTATS)
|
|
13185
13200
|
return "Filtros Golstats";
|
|
13186
|
-
if (a.filterType ===
|
|
13201
|
+
if (a.filterType === h.UNIVERSE)
|
|
13187
13202
|
return `Estadísticas ${Q.value && Q.value.statisticsRadios === "total" ? "totales" : "cada 90 min"}`;
|
|
13188
|
-
if (a.filterType ===
|
|
13203
|
+
if (a.filterType === h.DISTANCE)
|
|
13189
13204
|
return "Distancia";
|
|
13190
|
-
if ([
|
|
13205
|
+
if ([h.RESULTS, h.RESULTS_BY_TIME].includes(a.filterType))
|
|
13191
13206
|
return "Resultados";
|
|
13192
|
-
if (a.filterType ===
|
|
13207
|
+
if (a.filterType === h.GAMES)
|
|
13193
13208
|
return "Partidos";
|
|
13194
|
-
if (a.filterType ===
|
|
13209
|
+
if (a.filterType === h.VIDEOS)
|
|
13195
13210
|
return "Videos";
|
|
13196
|
-
if (a.filterType ===
|
|
13211
|
+
if (a.filterType === h.TAKEN_CORNERS)
|
|
13197
13212
|
return "¿Quién cobró?";
|
|
13198
|
-
if (a.filterType ===
|
|
13213
|
+
if (a.filterType === h.HOW_WAS_CORNER)
|
|
13199
13214
|
return "¿Cómo fue cobrado?";
|
|
13200
|
-
if (a.filterType ===
|
|
13215
|
+
if (a.filterType === h.ZONE)
|
|
13201
13216
|
return "Zona";
|
|
13202
|
-
if (a.filterType ===
|
|
13217
|
+
if (a.filterType === h.WHAT_HAPPENED)
|
|
13203
13218
|
return "¿Qué sucedió?";
|
|
13204
|
-
if (a.filterType ===
|
|
13219
|
+
if (a.filterType === h.POSITIONS) {
|
|
13205
13220
|
const T = Q.value ? Q.value.find((Le) => Le.id === 0) : null;
|
|
13206
13221
|
if (T && T.isSelected)
|
|
13207
13222
|
return T.name;
|
|
13208
13223
|
const oe = Q.value ? Q.value.filter((Le) => Le.isSelected && Le.id !== 0) : [];
|
|
13209
13224
|
return oe.length === 1 ? oe[0].name : `${oe.length} nacionalidades`;
|
|
13210
13225
|
} else {
|
|
13211
|
-
if (a.filterType ===
|
|
13226
|
+
if (a.filterType === h.YEARS)
|
|
13212
13227
|
return `Año ${Q.value || a.selectedYear}`;
|
|
13213
|
-
if (a.filterType ===
|
|
13228
|
+
if (a.filterType === h.NATIONALITIES) {
|
|
13214
13229
|
const T = Q.value ? Q.value.length : a.filters.length;
|
|
13215
13230
|
return a.filters.length === T ? "Todas las nacionalidades" : T === 1 ? Q.value[0].name : `${T} nacionalidades`;
|
|
13216
13231
|
}
|
|
@@ -13355,7 +13370,7 @@ const jp = { class: "filters" }, Ep = {
|
|
|
13355
13370
|
]))
|
|
13356
13371
|
]));
|
|
13357
13372
|
}
|
|
13358
|
-
}, O3 = /* @__PURE__ */ K(Rp, [["__scopeId", "data-v-
|
|
13373
|
+
}, O3 = /* @__PURE__ */ K(Rp, [["__scopeId", "data-v-5b8b4059"]]);
|
|
13359
13374
|
const Jp = { class: "dropdown__position" }, Xp = {
|
|
13360
13375
|
key: 0,
|
|
13361
13376
|
class: "label"
|
|
@@ -13932,7 +13947,7 @@ export {
|
|
|
13932
13947
|
Nt as c,
|
|
13933
13948
|
Fe as d,
|
|
13934
13949
|
tt as e,
|
|
13935
|
-
|
|
13950
|
+
h as f,
|
|
13936
13951
|
zp as g,
|
|
13937
13952
|
ba as h,
|
|
13938
13953
|
kt as i,
|