@golstats/gsc-filters 1.0.92 → 1.0.93

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.
@@ -168,15 +168,15 @@ const We = {
168
168
  },
169
169
  { immediate: !0 }
170
170
  );
171
- function r() {
171
+ function d() {
172
172
  t.avoidInteraction || !i.value && t.avoidToCheck || (i.value = !i.value, s("update:modelValue", i.value));
173
173
  }
174
- function d(c) {
174
+ function r(c) {
175
175
  return `${{}.TEAM_LOGOS_URL || "https://golstatsimages.blob.core.windows.net/teams-80/"}${c}.png`;
176
176
  }
177
177
  return (c, m) => (p(), f("div", {
178
178
  class: ue(["checkbox", `box-${e.boxPosition}`]),
179
- onClick: r
179
+ onClick: d
180
180
  }, [
181
181
  o("div", {
182
182
  class: "checkbox__box",
@@ -200,13 +200,13 @@ const We = {
200
200
  e.teamsIds && e.teamsIds.length ? (p(), f("div", Hs, [
201
201
  o("div", Ys, [
202
202
  o("img", {
203
- src: d(e.teamsIds[0]),
203
+ src: r(e.teamsIds[0]),
204
204
  alt: ""
205
205
  }, null, 8, Gs)
206
206
  ]),
207
207
  o("div", js, [
208
208
  o("img", {
209
- src: d(e.teamsIds[1]),
209
+ src: r(e.teamsIds[1]),
210
210
  alt: ""
211
211
  }, null, 8, qs)
212
212
  ])
@@ -367,8 +367,8 @@ const it = (e) => (me("data-v-cde7de0b"), e = e(), he(), e), ia = {
367
367
  areYellowCardsSelected: !1,
368
368
  areRedCardsSelected: !1,
369
369
  areFoulsCommittedSelected: !1
370
- }), r = M(() => Array.isArray(t.productivityCategories)), d = M(() => ({
371
- "--template-columns": t.isExpansionMode || r.value || !t.productivityCategories.offensive || !t.productivityCategories.defensive && !t.productivityCategories.possession ? "1fr" : t.isForTemplateForm ? "30% 1fr" : "1fr 1fr",
370
+ }), d = M(() => Array.isArray(t.productivityCategories)), r = M(() => ({
371
+ "--template-columns": t.isExpansionMode || d.value || !t.productivityCategories.offensive || !t.productivityCategories.defensive && !t.productivityCategories.possession ? "1fr" : t.isForTemplateForm ? "30% 1fr" : "1fr 1fr",
372
372
  "--flex-direction-defensive-possession": t.isForTemplateForm ? "row-reverse" : "column",
373
373
  "--gap-defensive-possession": t.isForTemplateForm ? "32px" : "0",
374
374
  "--width-block": t.isForTemplateForm ? "unset" : "100%"
@@ -407,13 +407,13 @@ const it = (e) => (me("data-v-cde7de0b"), e = e(), he(), e), ia = {
407
407
  b === "offensive" ? i.value = !i.value : b === "defensive" ? n.value = !n.value : b === "possession" && (a.value = !a.value);
408
408
  }
409
409
  return (b, E) => (p(), f("div", {
410
- class: ue(["productivity", { "is-array": r.value }])
410
+ class: ue(["productivity", { "is-array": d.value }])
411
411
  }, [
412
412
  o("div", {
413
413
  class: "productivity__body",
414
- style: W(d.value)
414
+ style: W(r.value)
415
415
  }, [
416
- r.value ? (p(!0), f(z, { key: 0 }, te(e.productivityCategories, (k) => (p(), f("div", {
416
+ d.value ? (p(!0), f(z, { key: 0 }, te(e.productivityCategories, (k) => (p(), f("div", {
417
417
  key: k.id,
418
418
  class: "productivity__checkbox"
419
419
  }, [
@@ -751,11 +751,11 @@ const De = (e) => (me("data-v-feb56031"), e = e(), he(), e), Ma = { class: "deta
751
751
  firstHalf: [],
752
752
  secondHalf: []
753
753
  }
754
- )), r = M(() => ({
754
+ )), d = M(() => ({
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(g) {
758
+ function r(g) {
759
759
  g ? t.playingAs.forEach((y) => {
760
760
  y.isSelected = !0;
761
761
  }) : t.playingAs.forEach((y, _) => {
@@ -777,7 +777,7 @@ const De = (e) => (me("data-v-feb56031"), e = e(), he(), e), Ma = { class: "deta
777
777
  }
778
778
  return (g, y) => (p(), f("div", {
779
779
  class: "details",
780
- style: W(r.value)
780
+ style: W(d.value)
781
781
  }, [
782
782
  J(o("div", Ma, [
783
783
  Ra,
@@ -786,7 +786,7 @@ const De = (e) => (me("data-v-feb56031"), e = e(), he(), e), Ma = { class: "deta
786
786
  label: "Todos",
787
787
  fontFamily: e.fontFamily,
788
788
  "model-value": n.value,
789
- "onUpdate:modelValue": d
789
+ "onUpdate:modelValue": r
790
790
  }, null, 8, ["fontFamily", "model-value"])
791
791
  ])
792
792
  ], 512), [
@@ -963,12 +963,12 @@ const mo = { class: "tournaments" }, ho = {
963
963
  },
964
964
  { immediate: !0, deep: !0 }
965
965
  );
966
- function r(c) {
966
+ function d(c) {
967
967
  l.value.forEach((m, u) => {
968
968
  m.isSelected = c || (u !== 0 ? c : !0);
969
969
  });
970
970
  }
971
- function d(c, m) {
971
+ function r(c, m) {
972
972
  t.isOneTournamentOnly && t.tournaments.forEach((u) => {
973
973
  u.isSelected = !1;
974
974
  }), m.isSelected = c;
@@ -982,7 +982,7 @@ const mo = { class: "tournaments" }, ho = {
982
982
  label: "Todas las ligas",
983
983
  fontFamily: e.fontFamily,
984
984
  width: "100%",
985
- "onUpdate:modelValue": r
985
+ "onUpdate:modelValue": d
986
986
  }, null, 8, ["model-value", "fontFamily"])
987
987
  ])),
988
988
  (p(!0), f(z, null, te(l.value, (u) => (p(), f("div", {
@@ -995,7 +995,7 @@ const mo = { class: "tournaments" }, ho = {
995
995
  fontFamily: e.fontFamily,
996
996
  width: "100%",
997
997
  "avoid-interaction": a.value === 1 && u.isSelected,
998
- "onUpdate:modelValue": (g) => d(g, u)
998
+ "onUpdate:modelValue": (g) => r(g, u)
999
999
  }, null, 8, ["model-value", "label", "fontFamily", "avoid-interaction", "onUpdate:modelValue"])
1000
1000
  ]))), 128))
1001
1001
  ]),
@@ -1077,7 +1077,7 @@ const _o = {
1077
1077
  L(
1078
1078
  () => t.categories,
1079
1079
  (a) => {
1080
- const l = a.filter((r) => r.isSelected);
1080
+ const l = a.filter((d) => d.isSelected);
1081
1081
  s("update:filters", l);
1082
1082
  },
1083
1083
  { immediate: !0, deep: !0 }
@@ -1094,13 +1094,13 @@ const _o = {
1094
1094
  x(ut, { height: e.height }, {
1095
1095
  default: X(() => [
1096
1096
  e.type === I(h).PLAYS_TYPES ? (p(), f("div", _o, " Elige un tipo de jugada para filtrar: ")) : P("", !0),
1097
- (p(!0), f(z, null, te(e.categories, (r, d) => (p(), f("div", {
1098
- key: `k${d}`,
1097
+ (p(!0), f(z, null, te(e.categories, (d, r) => (p(), f("div", {
1098
+ key: `k${r}`,
1099
1099
  class: "plays-golstats__item",
1100
- onClick: (c) => n(r)
1100
+ onClick: (c) => n(d)
1101
1101
  }, [
1102
- e.type === I(h).GOLSTATS ? (p(), f("div", bo, B(r.value), 1)) : P("", !0),
1103
- o("div", So, B(r.name), 1),
1102
+ e.type === I(h).GOLSTATS ? (p(), f("div", bo, B(d.value), 1)) : P("", !0),
1103
+ o("div", So, B(d.name), 1),
1104
1104
  o("div", Co, [
1105
1105
  J((p(), f("svg", xo, [
1106
1106
  o("path", {
@@ -1108,7 +1108,7 @@ const _o = {
1108
1108
  fill: e.svgColor
1109
1109
  }, null, 8, wo)
1110
1110
  ], 512)), [
1111
- [se, r.isSelected]
1111
+ [se, d.isSelected]
1112
1112
  ])
1113
1113
  ])
1114
1114
  ], 8, go))), 128))
@@ -1587,7 +1587,7 @@ const zo = /* @__PURE__ */ Io(si, [["render", Uo], ["__scopeId", "data-v-f3ee6b2
1587
1587
  },
1588
1588
  { immediate: !0 }
1589
1589
  );
1590
- const r = M(() => ({
1590
+ const d = M(() => ({
1591
1591
  height: t.height,
1592
1592
  width: t.width,
1593
1593
  backgroundColor: t.backgroundColor,
@@ -1615,7 +1615,7 @@ const zo = /* @__PURE__ */ Io(si, [["render", Uo], ["__scopeId", "data-v-f3ee6b2
1615
1615
  "--dropdown-opacity": t.isDisabled ? "0.5" : "1",
1616
1616
  "--dropdown-cursor": t.isDisabled ? "not-allowed" : "pointer",
1617
1617
  "--dropdown-font-size": t.fontSize ? t.fontSize : "14px"
1618
- })), d = M(() => ({
1618
+ })), r = M(() => ({
1619
1619
  height: `${t.arrowHeight}px`,
1620
1620
  width: `${t.arrowWidth}px`
1621
1621
  }));
@@ -1639,7 +1639,7 @@ const zo = /* @__PURE__ */ Io(si, [["render", Uo], ["__scopeId", "data-v-f3ee6b2
1639
1639
  ref_key: "dropDown",
1640
1640
  ref: n,
1641
1641
  class: "gsc-dropdown",
1642
- style: W(r.value)
1642
+ style: W(d.value)
1643
1643
  }, [
1644
1644
  o("div", {
1645
1645
  class: "gsc-dropdown__main-container",
@@ -1651,7 +1651,7 @@ const zo = /* @__PURE__ */ Io(si, [["render", Uo], ["__scopeId", "data-v-f3ee6b2
1651
1651
  ]),
1652
1652
  o("div", {
1653
1653
  class: ue(["gsc-dropdown__main-container__icon", { "rotated-180": l.value }]),
1654
- style: W(d.value)
1654
+ style: W(r.value)
1655
1655
  }, [
1656
1656
  e.iconType === 1 ? (p(), f("svg", {
1657
1657
  key: 0,
@@ -1780,11 +1780,11 @@ const Ze = (e) => (me("data-v-915d5e00"), e = e(), he(), e), Ko = { class: "univ
1780
1780
  },
1781
1781
  emits: ["update:universeFilters"],
1782
1782
  setup(e, { expose: s, emit: t }) {
1783
- const i = e, n = T(!1), a = T(!1), l = T(!1), r = T({ statistics: {} });
1783
+ const i = e, n = T(!1), a = T(!1), l = T(!1), d = T({ statistics: {} });
1784
1784
  L(
1785
1785
  () => i.universeFilters,
1786
1786
  (u) => {
1787
- r.value = {
1787
+ d.value = {
1788
1788
  ...u,
1789
1789
  lastMonths: u.selectedMonth ? u.selectedMonth : u.lastMonths[i.defaultMonthIndex],
1790
1790
  statistics: { ...u.statistics },
@@ -1796,24 +1796,24 @@ const Ze = (e) => (me("data-v-915d5e00"), e = e(), he(), e), Ko = { class: "univ
1796
1796
  },
1797
1797
  { deep: !0, immediate: !0 }
1798
1798
  ), L(
1799
- () => r,
1799
+ () => d,
1800
1800
  (u) => {
1801
1801
  n.value = !u.value.minutesPlayed || Number(u.value.minutesPlayed) === 0, a.value = !u.value.percentMinutesPlayed || Number(u.value.percentMinutesPlayed) === 0, l.value = !u.value.lastMonths || Number(u.value.lastMonths) === 0, t("update:universeFilters", u);
1802
1802
  },
1803
1803
  { deep: !0, immediate: !0 }
1804
1804
  );
1805
- function d(u) {
1806
- u && u < 1 && (u = 1), r.value.minutesPlayed = u;
1805
+ function r(u) {
1806
+ u && u < 1 && (u = 1), d.value.minutesPlayed = u;
1807
1807
  }
1808
1808
  function c() {
1809
- r.value = {
1809
+ d.value = {
1810
1810
  ...i.universeFilters,
1811
1811
  lastMonths: i.universeFilters.lastMonths[i.defaultMonthIndex],
1812
1812
  statistics: { ...i.universeFilters.statistics }
1813
1813
  };
1814
1814
  }
1815
1815
  function m(u) {
1816
- r.value.lastMonths = u;
1816
+ d.value.lastMonths = u;
1817
1817
  }
1818
1818
  return s({
1819
1819
  resetFilters: c
@@ -1823,13 +1823,13 @@ const Ze = (e) => (me("data-v-915d5e00"), e = e(), he(), e), Ko = { class: "univ
1823
1823
  o("div", en, [
1824
1824
  o("div", tn, [
1825
1825
  J(o("input", {
1826
- "onUpdate:modelValue": g[0] || (g[0] = (y) => r.value.statisticsRadios = y),
1826
+ "onUpdate:modelValue": g[0] || (g[0] = (y) => d.value.statisticsRadios = y),
1827
1827
  type: "radio",
1828
1828
  id: "total",
1829
1829
  value: "total",
1830
1830
  name: "statistics"
1831
1831
  }, null, 512), [
1832
- [je, r.value.statisticsRadios]
1832
+ [je, d.value.statisticsRadios]
1833
1833
  ]),
1834
1834
  sn
1835
1835
  ])
@@ -1837,13 +1837,13 @@ const Ze = (e) => (me("data-v-915d5e00"), e = e(), he(), e), Ko = { class: "univ
1837
1837
  o("div", an, [
1838
1838
  o("div", on, [
1839
1839
  J(o("input", {
1840
- "onUpdate:modelValue": g[1] || (g[1] = (y) => r.value.statisticsRadios = y),
1840
+ "onUpdate:modelValue": g[1] || (g[1] = (y) => d.value.statisticsRadios = y),
1841
1841
  type: "radio",
1842
1842
  id: "every",
1843
1843
  value: "every90",
1844
1844
  name: "statistics"
1845
1845
  }, null, 512), [
1846
- [je, r.value.statisticsRadios]
1846
+ [je, d.value.statisticsRadios]
1847
1847
  ]),
1848
1848
  nn
1849
1849
  ])
@@ -1854,14 +1854,14 @@ const Ze = (e) => (me("data-v-915d5e00"), e = e(), he(), e), Ko = { class: "univ
1854
1854
  o("div", dn, [
1855
1855
  o("div", cn, [
1856
1856
  x(I(Po), {
1857
- value: r.value.minutesPlayed,
1857
+ value: d.value.minutesPlayed,
1858
1858
  type: "text",
1859
1859
  inputmode: "numeric",
1860
1860
  "border-radius": "4px",
1861
1861
  border: "solid 0.8px #8ea2ab",
1862
1862
  "text-right": "Min",
1863
1863
  "is-numbers-only": "",
1864
- onInputval: d
1864
+ onInputval: r
1865
1865
  }, null, 8, ["value"])
1866
1866
  ])
1867
1867
  ]),
@@ -1870,7 +1870,7 @@ const Ze = (e) => (me("data-v-915d5e00"), e = e(), he(), e), Ko = { class: "univ
1870
1870
  o("div", fn, [
1871
1871
  x(I(Fe), ye(I(Le), {
1872
1872
  items: e.universeFilters.lastMonths,
1873
- "model-value": r.value.lastMonths,
1873
+ "model-value": d.value.lastMonths,
1874
1874
  onInput: m
1875
1875
  }), {
1876
1876
  default: X(({ selectedItem: y }) => [
@@ -1919,8 +1919,8 @@ const Ze = (e) => (me("data-v-915d5e00"), e = e(), he(), e), Ko = { class: "univ
1919
1919
  throw new Error("Invalid props min or max");
1920
1920
  if (n > a)
1921
1921
  throw new Error("Invalid props minValue or maxValue");
1922
- let l = this.rangeMargin === void 0 ? this.step : this.rangeMargin, r = l % this.step;
1923
- return r && (l = l + this.step - r), {
1922
+ let l = this.rangeMargin === void 0 ? this.step : this.rangeMargin, d = l % this.step;
1923
+ return d && (l = l + this.step - d), {
1924
1924
  valueMin: n < s ? s : n,
1925
1925
  valueMax: a > i ? i : a,
1926
1926
  interVal: null,
@@ -2439,13 +2439,13 @@ const Ln = (e) => (me("data-v-af5f4265"), e = e(), he(), e), Nn = { class: "temp
2439
2439
  { immediate: !0 }
2440
2440
  );
2441
2441
  const a = (l) => {
2442
- l ? t.gamesFilters.forEach((r) => {
2443
- r.isSelected = l;
2444
- }) : t.gamesFilters.forEach((r, d) => {
2445
- r.isSelected = d === 0;
2442
+ l ? t.gamesFilters.forEach((d) => {
2443
+ d.isSelected = l;
2444
+ }) : t.gamesFilters.forEach((d, r) => {
2445
+ d.isSelected = r === 0;
2446
2446
  }), i.value = l;
2447
2447
  };
2448
- return (l, r) => (p(), f("div", Nn, [
2448
+ return (l, d) => (p(), f("div", Nn, [
2449
2449
  o("div", Dn, [
2450
2450
  Un,
2451
2451
  o("div", zn, [
@@ -2459,16 +2459,16 @@ const Ln = (e) => (me("data-v-af5f4265"), e = e(), he(), e), Nn = { class: "temp
2459
2459
  }, null, 8, ["modelValue"])
2460
2460
  ])
2461
2461
  ]),
2462
- (p(!0), f(z, null, te(e.gamesFilters, (d, c) => (p(), f("div", {
2462
+ (p(!0), f(z, null, te(e.gamesFilters, (r, c) => (p(), f("div", {
2463
2463
  key: c,
2464
2464
  class: "template-games__game"
2465
2465
  }, [
2466
2466
  x(I(Z), {
2467
- modelValue: d.isSelected,
2468
- "onUpdate:modelValue": (m) => d.isSelected = m,
2469
- label: d.label,
2470
- "teams-ids": d.teamsIds,
2471
- "avoid-interaction": n.value === 1 && d.isSelected
2467
+ modelValue: r.isSelected,
2468
+ "onUpdate:modelValue": (m) => r.isSelected = m,
2469
+ label: r.label,
2470
+ "teams-ids": r.teamsIds,
2471
+ "avoid-interaction": n.value === 1 && r.isSelected
2472
2472
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "teams-ids", "avoid-interaction"])
2473
2473
  ]))), 128))
2474
2474
  ]));
@@ -2913,15 +2913,15 @@ const ul = /* @__PURE__ */ tl(ni, [["render", cl], ["__scopeId", "data-v-f3ee6b2
2913
2913
  },
2914
2914
  { immediate: !0 }
2915
2915
  );
2916
- function r() {
2916
+ function d() {
2917
2917
  t.avoidInteraction || !i.value && t.avoidToCheck || (i.value = !i.value, s("update:modelValue", i.value));
2918
2918
  }
2919
- function d(c) {
2919
+ function r(c) {
2920
2920
  return `${{}.TEAM_LOGOS_URL || "https://golstatsimages.blob.core.windows.net/teams-80/"}${c}.png`;
2921
2921
  }
2922
2922
  return (c, m) => (p(), f("div", {
2923
2923
  class: ue(["checkbox", `box-${e.boxPosition}`]),
2924
- onClick: r
2924
+ onClick: d
2925
2925
  }, [
2926
2926
  o("div", {
2927
2927
  class: "checkbox__box",
@@ -2945,13 +2945,13 @@ const ul = /* @__PURE__ */ tl(ni, [["render", cl], ["__scopeId", "data-v-f3ee6b2
2945
2945
  e.teamsIds && e.teamsIds.length ? (p(), f("div", vl, [
2946
2946
  o("div", yl, [
2947
2947
  o("img", {
2948
- src: d(e.teamsIds[0]),
2948
+ src: r(e.teamsIds[0]),
2949
2949
  alt: ""
2950
2950
  }, null, 8, _l)
2951
2951
  ]),
2952
2952
  o("div", gl, [
2953
2953
  o("img", {
2954
- src: d(e.teamsIds[1]),
2954
+ src: r(e.teamsIds[1]),
2955
2955
  alt: ""
2956
2956
  }, null, 8, bl)
2957
2957
  ])
@@ -3164,7 +3164,7 @@ const wl = { class: "gsc-field" }, Tl = { class: "gsc-field__title-checked" }, k
3164
3164
  xmlns: "http://www.w3.org/2000/svg"
3165
3165
  }, Al = ["stroke"], Pl = ["stroke", "stroke-width"], Il = ["stroke", "stroke-width"], Bl = ["stroke-width", "stroke"], Ml = ["fill", "fill-opacity", "stroke", "stroke-width"], Rl = ["fill", "fill-opacity", "stroke", "stroke-width"], Ol = ["fill", "fill-opacity", "stroke", "stroke-width"], Vl = ["fill", "fill-opacity", "stroke", "stroke-width"], Ll = ["fill", "fill-opacity", "stroke", "stroke-width"], Nl = ["fill", "fill-opacity", "stroke", "stroke-width"], Dl = ["fill", "fill-opacity", "stroke", "stroke-width"], Ul = ["fill", "fill-opacity", "stroke", "stroke-width"], zl = ["fill", "fill-opacity", "stroke", "stroke-width"], Wl = ["fill", "fill-opacity", "stroke", "stroke-width"], Hl = ["fill", "fill-opacity", "stroke", "stroke-width"], Yl = ["fill", "fill-opacity", "stroke", "stroke-width"], Gl = ["fill", "fill-opacity", "stroke", "stroke-width"], jl = ["fill", "fill-opacity", "stroke", "stroke-width"], ql = ["fill", "fill-opacity", "stroke", "stroke-width"], Zl = ["fill", "fill-opacity", "stroke", "stroke-width"], Jl = { class: "gsc-field__container-field__bar-buttons" };
3166
3166
  function Kl(e, s, t, i, n, a) {
3167
- const l = Wt("GSCCheckbox"), r = Wt("GSCButton");
3167
+ const l = Wt("GSCCheckbox"), d = Wt("GSCButton");
3168
3168
  return p(), f("div", wl, [
3169
3169
  o("div", Tl, [
3170
3170
  o("div", kl, B(t.title), 1),
@@ -3229,7 +3229,7 @@ function Kl(e, s, t, i, n, a) {
3229
3229
  "fill-opacity": t.opacitySector,
3230
3230
  stroke: t.borderColor,
3231
3231
  "stroke-width": t.borderWidth,
3232
- onClick: s[0] || (s[0] = (d) => a.selectSector(0))
3232
+ onClick: s[0] || (s[0] = (r) => a.selectSector(0))
3233
3233
  }, null, 8, Ml),
3234
3234
  o("rect", {
3235
3235
  x: "0%",
@@ -3240,7 +3240,7 @@ function Kl(e, s, t, i, n, a) {
3240
3240
  "fill-opacity": t.opacitySector,
3241
3241
  stroke: t.borderColor,
3242
3242
  "stroke-width": t.borderWidth,
3243
- onClick: s[1] || (s[1] = (d) => a.selectSector(1))
3243
+ onClick: s[1] || (s[1] = (r) => a.selectSector(1))
3244
3244
  }, null, 8, Rl),
3245
3245
  o("rect", {
3246
3246
  x: "0%",
@@ -3251,7 +3251,7 @@ function Kl(e, s, t, i, n, a) {
3251
3251
  "fill-opacity": t.opacitySector,
3252
3252
  stroke: t.borderColor,
3253
3253
  "stroke-width": t.borderWidth,
3254
- onClick: s[2] || (s[2] = (d) => a.selectSector(2))
3254
+ onClick: s[2] || (s[2] = (r) => a.selectSector(2))
3255
3255
  }, null, 8, Ol),
3256
3256
  o("rect", {
3257
3257
  x: "0%",
@@ -3262,7 +3262,7 @@ function Kl(e, s, t, i, n, a) {
3262
3262
  "fill-opacity": t.opacitySector,
3263
3263
  stroke: t.borderColor,
3264
3264
  "stroke-width": t.borderWidth,
3265
- onClick: s[3] || (s[3] = (d) => a.selectSector(3))
3265
+ onClick: s[3] || (s[3] = (r) => a.selectSector(3))
3266
3266
  }, null, 8, Vl),
3267
3267
  o("rect", {
3268
3268
  x: "25%",
@@ -3273,7 +3273,7 @@ function Kl(e, s, t, i, n, a) {
3273
3273
  "fill-opacity": t.opacitySector,
3274
3274
  stroke: t.borderColor,
3275
3275
  "stroke-width": t.borderWidth,
3276
- onClick: s[4] || (s[4] = (d) => a.selectSector(4))
3276
+ onClick: s[4] || (s[4] = (r) => a.selectSector(4))
3277
3277
  }, null, 8, Ll),
3278
3278
  o("rect", {
3279
3279
  x: "25%",
@@ -3284,7 +3284,7 @@ function Kl(e, s, t, i, n, a) {
3284
3284
  "fill-opacity": t.opacitySector,
3285
3285
  stroke: t.borderColor,
3286
3286
  "stroke-width": t.borderWidth,
3287
- onClick: s[5] || (s[5] = (d) => a.selectSector(5))
3287
+ onClick: s[5] || (s[5] = (r) => a.selectSector(5))
3288
3288
  }, null, 8, Nl),
3289
3289
  o("rect", {
3290
3290
  x: "25%",
@@ -3295,7 +3295,7 @@ function Kl(e, s, t, i, n, a) {
3295
3295
  "fill-opacity": t.opacitySector,
3296
3296
  stroke: t.borderColor,
3297
3297
  "stroke-width": t.borderWidth,
3298
- onClick: s[6] || (s[6] = (d) => a.selectSector(6))
3298
+ onClick: s[6] || (s[6] = (r) => a.selectSector(6))
3299
3299
  }, null, 8, Dl),
3300
3300
  o("rect", {
3301
3301
  x: "25%",
@@ -3306,7 +3306,7 @@ function Kl(e, s, t, i, n, a) {
3306
3306
  "fill-opacity": t.opacitySector,
3307
3307
  stroke: t.borderColor,
3308
3308
  "stroke-width": t.borderWidth,
3309
- onClick: s[7] || (s[7] = (d) => a.selectSector(7))
3309
+ onClick: s[7] || (s[7] = (r) => a.selectSector(7))
3310
3310
  }, null, 8, Ul),
3311
3311
  o("rect", {
3312
3312
  x: "50%",
@@ -3317,7 +3317,7 @@ function Kl(e, s, t, i, n, a) {
3317
3317
  "fill-opacity": t.opacitySector,
3318
3318
  stroke: t.borderColor,
3319
3319
  "stroke-width": t.borderWidth,
3320
- onClick: s[8] || (s[8] = (d) => a.selectSector(8))
3320
+ onClick: s[8] || (s[8] = (r) => a.selectSector(8))
3321
3321
  }, null, 8, zl),
3322
3322
  o("rect", {
3323
3323
  x: "50%",
@@ -3328,7 +3328,7 @@ function Kl(e, s, t, i, n, a) {
3328
3328
  "fill-opacity": t.opacitySector,
3329
3329
  stroke: t.borderColor,
3330
3330
  "stroke-width": t.borderWidth,
3331
- onClick: s[9] || (s[9] = (d) => a.selectSector(9))
3331
+ onClick: s[9] || (s[9] = (r) => a.selectSector(9))
3332
3332
  }, null, 8, Wl),
3333
3333
  o("rect", {
3334
3334
  x: "50%",
@@ -3339,7 +3339,7 @@ function Kl(e, s, t, i, n, a) {
3339
3339
  "fill-opacity": t.opacitySector,
3340
3340
  stroke: t.borderColor,
3341
3341
  "stroke-width": t.borderWidth,
3342
- onClick: s[10] || (s[10] = (d) => a.selectSector(10))
3342
+ onClick: s[10] || (s[10] = (r) => a.selectSector(10))
3343
3343
  }, null, 8, Hl),
3344
3344
  o("rect", {
3345
3345
  x: "50%",
@@ -3350,7 +3350,7 @@ function Kl(e, s, t, i, n, a) {
3350
3350
  "fill-opacity": t.opacitySector,
3351
3351
  stroke: t.borderColor,
3352
3352
  "stroke-width": t.borderWidth,
3353
- onClick: s[11] || (s[11] = (d) => a.selectSector(11))
3353
+ onClick: s[11] || (s[11] = (r) => a.selectSector(11))
3354
3354
  }, null, 8, Yl),
3355
3355
  o("rect", {
3356
3356
  x: "75%",
@@ -3361,7 +3361,7 @@ function Kl(e, s, t, i, n, a) {
3361
3361
  "fill-opacity": t.opacitySector,
3362
3362
  stroke: t.borderColor,
3363
3363
  "stroke-width": t.borderWidth,
3364
- onClick: s[12] || (s[12] = (d) => a.selectSector(12))
3364
+ onClick: s[12] || (s[12] = (r) => a.selectSector(12))
3365
3365
  }, null, 8, Gl),
3366
3366
  o("rect", {
3367
3367
  x: "75%",
@@ -3372,7 +3372,7 @@ function Kl(e, s, t, i, n, a) {
3372
3372
  "fill-opacity": t.opacitySector,
3373
3373
  stroke: t.borderColor,
3374
3374
  "stroke-width": t.borderWidth,
3375
- onClick: s[13] || (s[13] = (d) => a.selectSector(13))
3375
+ onClick: s[13] || (s[13] = (r) => a.selectSector(13))
3376
3376
  }, null, 8, jl),
3377
3377
  o("rect", {
3378
3378
  x: "75%",
@@ -3383,7 +3383,7 @@ function Kl(e, s, t, i, n, a) {
3383
3383
  "fill-opacity": t.opacitySector,
3384
3384
  stroke: t.borderColor,
3385
3385
  "stroke-width": t.borderWidth,
3386
- onClick: s[14] || (s[14] = (d) => a.selectSector(14))
3386
+ onClick: s[14] || (s[14] = (r) => a.selectSector(14))
3387
3387
  }, null, 8, ql),
3388
3388
  o("rect", {
3389
3389
  x: "75%",
@@ -3394,12 +3394,12 @@ function Kl(e, s, t, i, n, a) {
3394
3394
  "fill-opacity": t.opacitySector,
3395
3395
  stroke: t.borderColor,
3396
3396
  "stroke-width": t.borderWidth,
3397
- onClick: s[15] || (s[15] = (d) => a.selectSector(15))
3397
+ onClick: s[15] || (s[15] = (r) => a.selectSector(15))
3398
3398
  }, null, 8, Zl)
3399
3399
  ]))
3400
3400
  ]),
3401
3401
  o("div", Jl, [
3402
- (p(), ke(r, {
3402
+ (p(), ke(d, {
3403
3403
  "text-value": "1/4 tos",
3404
3404
  "font-size": "12px",
3405
3405
  height: "26px",
@@ -3418,7 +3418,7 @@ function Kl(e, s, t, i, n, a) {
3418
3418
  key: n.refreshBtn14,
3419
3419
  value: e.status14
3420
3420
  }, null, 8, ["onStatus", "value"])),
3421
- (p(), ke(r, {
3421
+ (p(), ke(d, {
3422
3422
  "text-value": "2/4 tos",
3423
3423
  "font-size": "12px",
3424
3424
  height: "26px",
@@ -3437,7 +3437,7 @@ function Kl(e, s, t, i, n, a) {
3437
3437
  key: n.refreshBtn24,
3438
3438
  value: e.status24
3439
3439
  }, null, 8, ["onStatus", "value"])),
3440
- (p(), ke(r, {
3440
+ (p(), ke(d, {
3441
3441
  "text-value": "3/4 tos",
3442
3442
  "font-size": "12px",
3443
3443
  height: "26px",
@@ -3456,7 +3456,7 @@ function Kl(e, s, t, i, n, a) {
3456
3456
  key: n.refreshBtn34,
3457
3457
  value: e.status34
3458
3458
  }, null, 8, ["onStatus", "value"])),
3459
- (p(), ke(r, {
3459
+ (p(), ke(d, {
3460
3460
  "text-value": "4/4 tos",
3461
3461
  "font-size": "12px",
3462
3462
  height: "26px",
@@ -3560,22 +3560,22 @@ const Ql = { class: "toggle-buttons__background" }, er = ["onClick"], tr = {
3560
3560
  (l) => {
3561
3561
  i.value = l;
3562
3562
  }
3563
- ), L(i, (l, r) => {
3564
- l !== r && s("change", { index: l, button: t.buttons[l] });
3563
+ ), L(i, (l, d) => {
3564
+ l !== d && s("change", { index: l, button: t.buttons[l] });
3565
3565
  });
3566
3566
  function a(l) {
3567
3567
  i.value = l;
3568
3568
  }
3569
- return (l, r) => (p(), f("div", Ql, [
3569
+ return (l, d) => (p(), f("div", Ql, [
3570
3570
  o("div", {
3571
3571
  class: "toggle-buttons",
3572
3572
  style: W(n.value)
3573
3573
  }, [
3574
- (p(!0), f(z, null, te(e.buttons, (d, c) => (p(), f("div", {
3574
+ (p(!0), f(z, null, te(e.buttons, (r, c) => (p(), f("div", {
3575
3575
  key: `b${c}`,
3576
3576
  class: ue(["toggle-buttons__button", { active: i.value === c }]),
3577
3577
  onClick: (m) => a(c)
3578
- }, B(d.text || d), 11, er))), 128))
3578
+ }, B(r.text || r), 11, er))), 128))
3579
3579
  ], 4)
3580
3580
  ]));
3581
3581
  }
@@ -3616,9 +3616,9 @@ function pt(e, s, { allOwnKeys: t = !1 } = {}) {
3616
3616
  s.call(null, e[i], i, e);
3617
3617
  else {
3618
3618
  const a = t ? Object.getOwnPropertyNames(e) : Object.keys(e), l = a.length;
3619
- let r;
3619
+ let d;
3620
3620
  for (i = 0; i < l; i++)
3621
- r = a[i], s.call(null, e[r], r, e);
3621
+ d = a[i], s.call(null, e[d], d, e);
3622
3622
  }
3623
3623
  }
3624
3624
  function rs(e, s) {
@@ -3648,12 +3648,12 @@ const br = (e, s, t, { allOwnKeys: i } = {}) => (pt(s, (n, a) => {
3648
3648
  }), t && Object.assign(e.prototype, t);
3649
3649
  }, xr = (e, s, t, i) => {
3650
3650
  let n, a, l;
3651
- const r = {};
3651
+ const d = {};
3652
3652
  if (s = s || {}, e == null)
3653
3653
  return s;
3654
3654
  do {
3655
3655
  for (n = Object.getOwnPropertyNames(e), a = n.length; a-- > 0; )
3656
- l = n[a], (!i || i(l, e, s)) && !r[l] && (s[l] = e[l], r[l] = !0);
3656
+ l = n[a], (!i || i(l, e, s)) && !d[l] && (s[l] = e[l], d[l] = !0);
3657
3657
  e = t !== !1 && ri(e);
3658
3658
  } while (e && (!t || t(e, s)) && e !== Object.prototype);
3659
3659
  return s;
@@ -3732,9 +3732,9 @@ const Vr = (e) => {
3732
3732
  if (!("toJSON" in i)) {
3733
3733
  s[n] = i;
3734
3734
  const a = st(i) ? [] : {};
3735
- return pt(i, (l, r) => {
3736
- const d = t(l, n + 1);
3737
- !ct(d) && (a[r] = d);
3735
+ return pt(i, (l, d) => {
3736
+ const r = t(l, n + 1);
3737
+ !ct(r) && (a[d] = r);
3738
3738
  }), s[n] = void 0, a;
3739
3739
  }
3740
3740
  }
@@ -3853,9 +3853,9 @@ Object.defineProperties(q, fs);
3853
3853
  Object.defineProperty(ps, "isAxiosError", { value: !0 });
3854
3854
  q.from = (e, s, t, i, n, a) => {
3855
3855
  const l = Object.create(ps);
3856
- return C.toFlatObject(e, l, function(d) {
3857
- return d !== Error.prototype;
3858
- }, (r) => r !== "isAxiosError"), q.call(l, e.message, s, t, i, n), l.cause = e, l.name = e.name, a && Object.assign(l, a), l;
3856
+ return C.toFlatObject(e, l, function(r) {
3857
+ return r !== Error.prototype;
3858
+ }, (d) => d !== "isAxiosError"), q.call(l, e.message, s, t, i, n), l.cause = e, l.name = e.name, a && Object.assign(l, a), l;
3859
3859
  };
3860
3860
  const zr = null;
3861
3861
  function Yt(e) {
@@ -3885,7 +3885,7 @@ function Pt(e, s, t) {
3885
3885
  }, !1, function(v, b) {
3886
3886
  return !C.isUndefined(b[v]);
3887
3887
  });
3888
- const i = t.metaTokens, n = t.visitor || m, a = t.dots, l = t.indexes, d = (t.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(s);
3888
+ const i = t.metaTokens, n = t.visitor || m, a = t.dots, l = t.indexes, r = (t.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(s);
3889
3889
  if (!C.isFunction(n))
3890
3890
  throw new TypeError("visitor must be a function");
3891
3891
  function c(_) {
@@ -3893,9 +3893,9 @@ function Pt(e, s, t) {
3893
3893
  return "";
3894
3894
  if (C.isDate(_))
3895
3895
  return _.toISOString();
3896
- if (!d && C.isBlob(_))
3896
+ if (!r && C.isBlob(_))
3897
3897
  throw new q("Blob is not supported. Use a Buffer instead.");
3898
- return C.isArrayBuffer(_) || C.isTypedArray(_) ? d && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
3898
+ return C.isArrayBuffer(_) || C.isTypedArray(_) ? r && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
3899
3899
  }
3900
3900
  function m(_, v, b) {
3901
3901
  let E = _;
@@ -4086,8 +4086,8 @@ function _s(e) {
4086
4086
  let l = t[a++];
4087
4087
  if (l === "__proto__")
4088
4088
  return !0;
4089
- const r = Number.isFinite(+l), d = a >= t.length;
4090
- return l = !l && C.isArray(n) ? n.length : l, d ? (C.hasOwnProp(n, l) ? n[l] = [n[l], i] : n[l] = i, !r) : ((!n[l] || !C.isObject(n[l])) && (n[l] = []), s(t, i, n[l], a) && C.isArray(n[l]) && (n[l] = sd(n[l])), !r);
4089
+ const d = Number.isFinite(+l), r = a >= t.length;
4090
+ return l = !l && C.isArray(n) ? n.length : l, r ? (C.hasOwnProp(n, l) ? n[l] = [n[l], i] : n[l] = i, !d) : ((!n[l] || !C.isObject(n[l])) && (n[l] = []), s(t, i, n[l], a) && C.isArray(n[l]) && (n[l] = sd(n[l])), !d);
4091
4091
  }
4092
4092
  if (C.isFormData(e) && C.isFunction(e.entries)) {
4093
4093
  const t = {};
@@ -4120,15 +4120,15 @@ const ui = {
4120
4120
  return s.buffer;
4121
4121
  if (C.isURLSearchParams(s))
4122
4122
  return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), s.toString();
4123
- let r;
4123
+ let d;
4124
4124
  if (a) {
4125
4125
  if (i.indexOf("application/x-www-form-urlencoded") > -1)
4126
4126
  return td(s, this.formSerializer).toString();
4127
- if ((r = C.isFileList(s)) || i.indexOf("multipart/form-data") > -1) {
4128
- const d = this.env && this.env.FormData;
4127
+ if ((d = C.isFileList(s)) || i.indexOf("multipart/form-data") > -1) {
4128
+ const r = this.env && this.env.FormData;
4129
4129
  return Pt(
4130
- r ? { "files[]": s } : s,
4131
- d && new d(),
4130
+ d ? { "files[]": s } : s,
4131
+ r && new r(),
4132
4132
  this.formSerializer
4133
4133
  );
4134
4134
  }
@@ -4143,9 +4143,9 @@ const ui = {
4143
4143
  const l = !(t && t.silentJSONParsing) && n;
4144
4144
  try {
4145
4145
  return JSON.parse(s);
4146
- } catch (r) {
4146
+ } catch (d) {
4147
4147
  if (l)
4148
- throw r.name === "SyntaxError" ? q.from(r, q.ERR_BAD_RESPONSE, this, null, this.response) : r;
4148
+ throw d.name === "SyntaxError" ? q.from(d, q.ERR_BAD_RESPONSE, this, null, this.response) : d;
4149
4149
  }
4150
4150
  }
4151
4151
  return s;
@@ -4246,26 +4246,26 @@ class It {
4246
4246
  }
4247
4247
  set(s, t, i) {
4248
4248
  const n = this;
4249
- function a(r, d, c) {
4250
- const m = lt(d);
4249
+ function a(d, r, c) {
4250
+ const m = lt(r);
4251
4251
  if (!m)
4252
4252
  throw new Error("header name must be a non-empty string");
4253
4253
  const u = C.findKey(n, m);
4254
- (!u || n[u] === void 0 || c === !0 || c === void 0 && n[u] !== !1) && (n[u || d] = yt(r));
4254
+ (!u || n[u] === void 0 || c === !0 || c === void 0 && n[u] !== !1) && (n[u || r] = yt(d));
4255
4255
  }
4256
- const l = (r, d) => C.forEach(r, (c, m) => a(c, m, d));
4256
+ const l = (d, r) => C.forEach(d, (c, m) => a(c, m, r));
4257
4257
  if (C.isPlainObject(s) || s instanceof this.constructor)
4258
4258
  l(s, t);
4259
4259
  else if (C.isString(s) && (s = s.trim()) && !rd(s))
4260
4260
  l(nd(s), t);
4261
4261
  else if (C.isObject(s) && C.isIterable(s)) {
4262
- let r = {}, d, c;
4262
+ let d = {}, r, c;
4263
4263
  for (const m of s) {
4264
4264
  if (!C.isArray(m))
4265
4265
  throw TypeError("Object iterator must return a key-value pair");
4266
- r[c = m[0]] = (d = r[c]) ? C.isArray(d) ? [...d, m[1]] : [d, m[1]] : m[1];
4266
+ d[c = m[0]] = (r = d[c]) ? C.isArray(r) ? [...r, m[1]] : [r, m[1]] : m[1];
4267
4267
  }
4268
- l(r, t);
4268
+ l(d, t);
4269
4269
  } else
4270
4270
  s != null && a(t, s, i);
4271
4271
  return this;
@@ -4299,8 +4299,8 @@ class It {
4299
4299
  let n = !1;
4300
4300
  function a(l) {
4301
4301
  if (l = lt(l), l) {
4302
- const r = C.findKey(i, l);
4303
- r && (!t || Nt(i, i[r], r, t)) && (delete i[r], n = !0);
4302
+ const d = C.findKey(i, l);
4303
+ d && (!t || Nt(i, i[d], d, t)) && (delete i[d], n = !0);
4304
4304
  }
4305
4305
  }
4306
4306
  return C.isArray(s) ? s.forEach(a) : a(s), n;
@@ -4322,8 +4322,8 @@ class It {
4322
4322
  t[l] = yt(n), delete t[a];
4323
4323
  return;
4324
4324
  }
4325
- const r = s ? dd(a) : String(a).trim();
4326
- r !== a && delete t[a], t[r] = yt(n), i[r] = !0;
4325
+ const d = s ? dd(a) : String(a).trim();
4326
+ d !== a && delete t[a], t[d] = yt(n), i[d] = !0;
4327
4327
  }), this;
4328
4328
  }
4329
4329
  concat(...s) {
@@ -4360,8 +4360,8 @@ class It {
4360
4360
  accessors: {}
4361
4361
  }).accessors, n = this.prototype;
4362
4362
  function a(l) {
4363
- const r = lt(l);
4364
- i[r] || (cd(n, l), i[r] = !0);
4363
+ const d = lt(l);
4364
+ i[d] || (cd(n, l), i[d] = !0);
4365
4365
  }
4366
4366
  return C.isArray(s) ? s.forEach(a) : a(s), this;
4367
4367
  }
@@ -4381,8 +4381,8 @@ const Ae = It;
4381
4381
  function Dt(e, s) {
4382
4382
  const t = this || pi, i = s || t, n = Ae.from(i.headers);
4383
4383
  let a = i.data;
4384
- return C.forEach(e, function(r) {
4385
- a = r.call(t, a, n.normalize(), s ? s.status : void 0);
4384
+ return C.forEach(e, function(d) {
4385
+ a = d.call(t, a, n.normalize(), s ? s.status : void 0);
4386
4386
  }), n.normalize(), a;
4387
4387
  }
4388
4388
  function gs(e) {
@@ -4412,9 +4412,9 @@ function pd(e, s) {
4412
4412
  e = e || 10;
4413
4413
  const t = new Array(e), i = new Array(e);
4414
4414
  let n = 0, a = 0, l;
4415
- return s = s !== void 0 ? s : 1e3, function(d) {
4415
+ return s = s !== void 0 ? s : 1e3, function(r) {
4416
4416
  const c = Date.now(), m = i[a];
4417
- l || (l = c), t[n] = d, i[n] = c;
4417
+ l || (l = c), t[n] = r, i[n] = c;
4418
4418
  let u = a, g = 0;
4419
4419
  for (; u !== n; )
4420
4420
  g += t[u++], u = u % e;
@@ -4440,17 +4440,17 @@ const St = (e, s, t = 3) => {
4440
4440
  let i = 0;
4441
4441
  const n = pd(50, 250);
4442
4442
  return fd((a) => {
4443
- const l = a.loaded, r = a.lengthComputable ? a.total : void 0, d = l - i, c = n(d), m = l <= r;
4443
+ const l = a.loaded, d = a.lengthComputable ? a.total : void 0, r = l - i, c = n(r), m = l <= d;
4444
4444
  i = l;
4445
4445
  const u = {
4446
4446
  loaded: l,
4447
- total: r,
4448
- progress: r ? l / r : void 0,
4449
- bytes: d,
4447
+ total: d,
4448
+ progress: d ? l / d : void 0,
4449
+ bytes: r,
4450
4450
  rate: c || void 0,
4451
- estimated: c && r && m ? (r - l) / c : void 0,
4451
+ estimated: c && d && m ? (d - l) / c : void 0,
4452
4452
  event: a,
4453
- lengthComputable: r != null,
4453
+ lengthComputable: d != null,
4454
4454
  [s ? "download" : "upload"]: !0
4455
4455
  };
4456
4456
  e(u);
@@ -4527,13 +4527,13 @@ function qe(e, s) {
4527
4527
  } else
4528
4528
  return i(void 0, m);
4529
4529
  }
4530
- function r(c, m, u) {
4530
+ function d(c, m, u) {
4531
4531
  if (u in s)
4532
4532
  return i(c, m);
4533
4533
  if (u in e)
4534
4534
  return i(void 0, c);
4535
4535
  }
4536
- const d = {
4536
+ const r = {
4537
4537
  url: a,
4538
4538
  method: a,
4539
4539
  data: a,
@@ -4561,27 +4561,27 @@ function qe(e, s) {
4561
4561
  cancelToken: l,
4562
4562
  socketPath: l,
4563
4563
  responseEncoding: l,
4564
- validateStatus: r,
4564
+ validateStatus: d,
4565
4565
  headers: (c, m, u) => n(Li(c), Li(m), u, !0)
4566
4566
  };
4567
4567
  return C.forEach(Object.keys(Object.assign({}, e, s)), function(m) {
4568
- const u = d[m] || n, g = u(e[m], s[m], m);
4569
- C.isUndefined(g) && u !== r || (t[m] = g);
4568
+ const u = r[m] || n, g = u(e[m], s[m], m);
4569
+ C.isUndefined(g) && u !== d || (t[m] = g);
4570
4570
  }), t;
4571
4571
  }
4572
4572
  const Cs = (e) => {
4573
4573
  const s = qe({}, e);
4574
- let { data: t, withXSRFToken: i, xsrfHeaderName: n, xsrfCookieName: a, headers: l, auth: r } = s;
4575
- s.headers = l = Ae.from(l), s.url = vs(Ss(s.baseURL, s.url, s.allowAbsoluteUrls), e.params, e.paramsSerializer), r && l.set(
4574
+ let { data: t, withXSRFToken: i, xsrfHeaderName: n, xsrfCookieName: a, headers: l, auth: d } = s;
4575
+ s.headers = l = Ae.from(l), s.url = vs(Ss(s.baseURL, s.url, s.allowAbsoluteUrls), e.params, e.paramsSerializer), d && l.set(
4576
4576
  "Authorization",
4577
- "Basic " + btoa((r.username || "") + ":" + (r.password ? unescape(encodeURIComponent(r.password)) : ""))
4577
+ "Basic " + btoa((d.username || "") + ":" + (d.password ? unescape(encodeURIComponent(d.password)) : ""))
4578
4578
  );
4579
- let d;
4579
+ let r;
4580
4580
  if (C.isFormData(t)) {
4581
4581
  if (be.hasStandardBrowserEnv || be.hasStandardBrowserWebWorkerEnv)
4582
4582
  l.setContentType(void 0);
4583
- else if ((d = l.getContentType()) !== !1) {
4584
- const [c, ...m] = d ? d.split(";").map((u) => u.trim()).filter(Boolean) : [];
4583
+ else if ((r = l.getContentType()) !== !1) {
4584
+ const [c, ...m] = r ? r.split(";").map((u) => u.trim()).filter(Boolean) : [];
4585
4585
  l.setContentType([c || "multipart/form-data", ...m].join("; "));
4586
4586
  }
4587
4587
  }
@@ -4595,7 +4595,7 @@ const Cs = (e) => {
4595
4595
  const n = Cs(e);
4596
4596
  let a = n.data;
4597
4597
  const l = Ae.from(n.headers).normalize();
4598
- let { responseType: r, onUploadProgress: d, onDownloadProgress: c } = n, m, u, g, y, _;
4598
+ let { responseType: d, onUploadProgress: r, onDownloadProgress: c } = n, m, u, g, y, _;
4599
4599
  function v() {
4600
4600
  y && y(), _ && _(), n.cancelToken && n.cancelToken.unsubscribe(m), n.signal && n.signal.removeEventListener("abort", m);
4601
4601
  }
@@ -4607,7 +4607,7 @@ const Cs = (e) => {
4607
4607
  const H = Ae.from(
4608
4608
  "getAllResponseHeaders" in b && b.getAllResponseHeaders()
4609
4609
  ), ne = {
4610
- data: !r || r === "text" || r === "json" ? b.responseText : b.response,
4610
+ data: !d || d === "text" || d === "json" ? b.responseText : b.response,
4611
4611
  status: b.status,
4612
4612
  statusText: b.statusText,
4613
4613
  headers: H,
@@ -4637,7 +4637,7 @@ const Cs = (e) => {
4637
4637
  )), b = null;
4638
4638
  }, a === void 0 && l.setContentType(null), "setRequestHeader" in b && C.forEach(l.toJSON(), function(le, ne) {
4639
4639
  b.setRequestHeader(ne, le);
4640
- }), C.isUndefined(n.withCredentials) || (b.withCredentials = !!n.withCredentials), r && r !== "json" && (b.responseType = n.responseType), c && ([g, _] = St(c, !0), b.addEventListener("progress", g)), d && b.upload && ([u, y] = St(d), b.upload.addEventListener("progress", u), b.upload.addEventListener("loadend", y)), (n.cancelToken || n.signal) && (m = (H) => {
4640
+ }), C.isUndefined(n.withCredentials) || (b.withCredentials = !!n.withCredentials), d && d !== "json" && (b.responseType = n.responseType), c && ([g, _] = St(c, !0), b.addEventListener("progress", g)), r && b.upload && ([u, y] = St(r), b.upload.addEventListener("progress", u), b.upload.addEventListener("loadend", y)), (n.cancelToken || n.signal) && (m = (H) => {
4641
4641
  b && (i(!H || H.type ? new at(null, e, b) : H), b.abort(), b = null);
4642
4642
  }, n.cancelToken && n.cancelToken.subscribe(m), n.signal && (n.signal.aborted ? m() : n.signal.addEventListener("abort", m)));
4643
4643
  const k = ud(n.url);
@@ -4653,7 +4653,7 @@ const Cs = (e) => {
4653
4653
  let i = new AbortController(), n;
4654
4654
  const a = function(c) {
4655
4655
  if (!n) {
4656
- n = !0, r();
4656
+ n = !0, d();
4657
4657
  const m = c instanceof Error ? c : this.reason;
4658
4658
  i.abort(m instanceof q ? m : new at(m instanceof Error ? m.message : m));
4659
4659
  }
@@ -4661,14 +4661,14 @@ const Cs = (e) => {
4661
4661
  let l = s && setTimeout(() => {
4662
4662
  l = null, a(new q(`timeout ${s} of ms exceeded`, q.ETIMEDOUT));
4663
4663
  }, s);
4664
- const r = () => {
4664
+ const d = () => {
4665
4665
  e && (l && clearTimeout(l), l = null, e.forEach((c) => {
4666
4666
  c.unsubscribe ? c.unsubscribe(a) : c.removeEventListener("abort", a);
4667
4667
  }), e = null);
4668
4668
  };
4669
4669
  e.forEach((c) => c.addEventListener("abort", a));
4670
- const { signal: d } = i;
4671
- return d.unsubscribe = () => C.asap(r), d;
4670
+ const { signal: r } = i;
4671
+ return r.unsubscribe = () => C.asap(d), r;
4672
4672
  }
4673
4673
  }, Sd = bd, Cd = function* (e, s) {
4674
4674
  let t = e.byteLength;
@@ -4700,15 +4700,15 @@ const Cs = (e) => {
4700
4700
  }
4701
4701
  }, Ni = (e, s, t, i) => {
4702
4702
  const n = xd(e, s);
4703
- let a = 0, l, r = (d) => {
4704
- l || (l = !0, i && i(d));
4703
+ let a = 0, l, d = (r) => {
4704
+ l || (l = !0, i && i(r));
4705
4705
  };
4706
4706
  return new ReadableStream({
4707
- async pull(d) {
4707
+ async pull(r) {
4708
4708
  try {
4709
4709
  const { done: c, value: m } = await n.next();
4710
4710
  if (c) {
4711
- r(), d.close();
4711
+ d(), r.close();
4712
4712
  return;
4713
4713
  }
4714
4714
  let u = m.byteLength;
@@ -4716,13 +4716,13 @@ const Cs = (e) => {
4716
4716
  let g = a += u;
4717
4717
  t(g);
4718
4718
  }
4719
- d.enqueue(new Uint8Array(m));
4719
+ r.enqueue(new Uint8Array(m));
4720
4720
  } catch (c) {
4721
- throw r(c), c;
4721
+ throw d(c), c;
4722
4722
  }
4723
4723
  },
4724
- cancel(d) {
4725
- return r(d), n.return();
4724
+ cancel(r) {
4725
+ return d(r), n.return();
4726
4726
  }
4727
4727
  }, {
4728
4728
  highWaterMark: 2
@@ -4778,8 +4778,8 @@ const Fd = async (e) => {
4778
4778
  signal: n,
4779
4779
  cancelToken: a,
4780
4780
  timeout: l,
4781
- onDownloadProgress: r,
4782
- onUploadProgress: d,
4781
+ onDownloadProgress: d,
4782
+ onUploadProgress: r,
4783
4783
  responseType: c,
4784
4784
  headers: m,
4785
4785
  withCredentials: u = "same-origin",
@@ -4792,7 +4792,7 @@ const Fd = async (e) => {
4792
4792
  });
4793
4793
  let b;
4794
4794
  try {
4795
- if (d && kd && t !== "get" && t !== "head" && (b = await Ed(m, i)) !== 0) {
4795
+ if (r && kd && t !== "get" && t !== "head" && (b = await Ed(m, i)) !== 0) {
4796
4796
  let ne = new Request(s, {
4797
4797
  method: "POST",
4798
4798
  body: i,
@@ -4801,7 +4801,7 @@ const Fd = async (e) => {
4801
4801
  if (C.isFormData(i) && (ve = ne.headers.get("content-type")) && m.setContentType(ve), ne.body) {
4802
4802
  const [_e, fe] = Oi(
4803
4803
  b,
4804
- St(Vi(d))
4804
+ St(Vi(r))
4805
4805
  );
4806
4806
  i = Ni(ne.body, Di, _e, fe);
4807
4807
  }
@@ -4819,14 +4819,14 @@ const Fd = async (e) => {
4819
4819
  });
4820
4820
  let k = await fetch(_);
4821
4821
  const H = jt && (c === "stream" || c === "response");
4822
- if (jt && (r || H && v)) {
4822
+ if (jt && (d || H && v)) {
4823
4823
  const ne = {};
4824
4824
  ["status", "statusText", "headers"].forEach((ge) => {
4825
4825
  ne[ge] = k[ge];
4826
4826
  });
4827
- const ve = C.toFiniteNumber(k.headers.get("content-length")), [_e, fe] = r && Oi(
4827
+ const ve = C.toFiniteNumber(k.headers.get("content-length")), [_e, fe] = d && Oi(
4828
4828
  ve,
4829
- St(Vi(r), !0)
4829
+ St(Vi(d), !0)
4830
4830
  ) || [];
4831
4831
  k = new Response(
4832
4832
  Ni(k.body, Di, _e, () => {
@@ -4886,7 +4886,7 @@ const Ui = (e) => `- ${e}`, Ad = (e) => C.isFunction(e) || e === null || e === !
4886
4886
  }
4887
4887
  if (!i) {
4888
4888
  const a = Object.entries(n).map(
4889
- ([r, d]) => `adapter ${r} ` + (d === !1 ? "is not supported by the environment" : "is not available in the build")
4889
+ ([d, r]) => `adapter ${d} ` + (r === !1 ? "is not supported by the environment" : "is not available in the build")
4890
4890
  );
4891
4891
  let l = s ? a.length > 1 ? `since :
4892
4892
  ` + a.map(Ui).join(`
@@ -4933,7 +4933,7 @@ Mt.transitional = function(s, t, i) {
4933
4933
  function n(a, l) {
4934
4934
  return "[Axios v" + ks + "] Transitional option '" + a + "'" + l + (i ? ". " + i : "");
4935
4935
  }
4936
- return (a, l, r) => {
4936
+ return (a, l, d) => {
4937
4937
  if (s === !1)
4938
4938
  throw new q(
4939
4939
  n(l, " has been removed" + (t ? " in " + t : "")),
@@ -4944,7 +4944,7 @@ Mt.transitional = function(s, t, i) {
4944
4944
  l,
4945
4945
  " has been deprecated since v" + t + " and will be removed in the near future"
4946
4946
  )
4947
- )), s ? s(a, l, r) : !0;
4947
+ )), s ? s(a, l, d) : !0;
4948
4948
  };
4949
4949
  };
4950
4950
  Mt.spelling = function(s) {
@@ -4958,9 +4958,9 @@ function Pd(e, s, t) {
4958
4958
  for (; n-- > 0; ) {
4959
4959
  const a = i[n], l = s[a];
4960
4960
  if (l) {
4961
- const r = e[a], d = r === void 0 || l(r, a, e);
4962
- if (d !== !0)
4963
- throw new q("option " + a + " must be " + d, q.ERR_BAD_OPTION_VALUE);
4961
+ const d = e[a], r = d === void 0 || l(d, a, e);
4962
+ if (r !== !0)
4963
+ throw new q("option " + a + " must be " + r, q.ERR_BAD_OPTION_VALUE);
4964
4964
  continue;
4965
4965
  }
4966
4966
  if (t !== !0)
@@ -5029,26 +5029,26 @@ class xt {
5029
5029
  delete a[_];
5030
5030
  }
5031
5031
  ), t.headers = Ae.concat(l, a);
5032
- const r = [];
5033
- let d = !0;
5032
+ const d = [];
5033
+ let r = !0;
5034
5034
  this.interceptors.request.forEach(function(v) {
5035
- typeof v.runWhen == "function" && v.runWhen(t) === !1 || (d = d && v.synchronous, r.unshift(v.fulfilled, v.rejected));
5035
+ typeof v.runWhen == "function" && v.runWhen(t) === !1 || (r = r && v.synchronous, d.unshift(v.fulfilled, v.rejected));
5036
5036
  });
5037
5037
  const c = [];
5038
5038
  this.interceptors.response.forEach(function(v) {
5039
5039
  c.push(v.fulfilled, v.rejected);
5040
5040
  });
5041
5041
  let m, u = 0, g;
5042
- if (!d) {
5042
+ if (!r) {
5043
5043
  const _ = [zi.bind(this), void 0];
5044
- for (_.unshift.apply(_, r), _.push.apply(_, c), g = _.length, m = Promise.resolve(t); u < g; )
5044
+ for (_.unshift.apply(_, d), _.push.apply(_, c), g = _.length, m = Promise.resolve(t); u < g; )
5045
5045
  m = m.then(_[u++], _[u++]);
5046
5046
  return m;
5047
5047
  }
5048
- g = r.length;
5048
+ g = d.length;
5049
5049
  let y = t;
5050
5050
  for (u = 0; u < g; ) {
5051
- const _ = r[u++], v = r[u++];
5051
+ const _ = d[u++], v = d[u++];
5052
5052
  try {
5053
5053
  y = _(y);
5054
5054
  } catch (b) {
@@ -5082,8 +5082,8 @@ C.forEach(["delete", "get", "head", "options"], function(s) {
5082
5082
  });
5083
5083
  C.forEach(["post", "put", "patch"], function(s) {
5084
5084
  function t(i) {
5085
- return function(a, l, r) {
5086
- return this.request(qe(r || {}, {
5085
+ return function(a, l, d) {
5086
+ return this.request(qe(d || {}, {
5087
5087
  method: s,
5088
5088
  headers: i ? {
5089
5089
  "Content-Type": "multipart/form-data"
@@ -5114,14 +5114,14 @@ class fi {
5114
5114
  i._listeners = null;
5115
5115
  }), this.promise.then = (n) => {
5116
5116
  let a;
5117
- const l = new Promise((r) => {
5118
- i.subscribe(r), a = r;
5117
+ const l = new Promise((d) => {
5118
+ i.subscribe(d), a = d;
5119
5119
  }).then(n);
5120
5120
  return l.cancel = function() {
5121
5121
  i.unsubscribe(a);
5122
5122
  }, l;
5123
- }, s(function(a, l, r) {
5124
- i.reason || (i.reason = new at(a, l, r), t(i.reason));
5123
+ }, s(function(a, l, d) {
5124
+ i.reason || (i.reason = new at(a, l, d), t(i.reason));
5125
5125
  });
5126
5126
  }
5127
5127
  /**
@@ -5604,7 +5604,7 @@ function Vd(e, s) {
5604
5604
  function rt(e, s) {
5605
5605
  if (ce(2, arguments), !s || wt(s) !== "object")
5606
5606
  return /* @__PURE__ */ new Date(NaN);
5607
- var t = s.years ? Ve(s.years) : 0, i = s.months ? Ve(s.months) : 0, n = s.weeks ? Ve(s.weeks) : 0, a = s.days ? Ve(s.days) : 0, l = s.hours ? Ve(s.hours) : 0, r = s.minutes ? Ve(s.minutes) : 0, d = s.seconds ? Ve(s.seconds) : 0, c = oe(e), m = i || t ? Vd(c, i + t * 12) : c, u = a || n ? Od(m, a + n * 7) : m, g = r + l * 60, y = d + g * 60, _ = y * 1e3, v = new Date(u.getTime() + _);
5607
+ var t = s.years ? Ve(s.years) : 0, i = s.months ? Ve(s.months) : 0, n = s.weeks ? Ve(s.weeks) : 0, a = s.days ? Ve(s.days) : 0, l = s.hours ? Ve(s.hours) : 0, d = s.minutes ? Ve(s.minutes) : 0, r = s.seconds ? Ve(s.seconds) : 0, c = oe(e), m = i || t ? Vd(c, i + t * 12) : c, u = a || n ? Od(m, a + n * 7) : m, g = d + l * 60, y = r + g * 60, _ = y * 1e3, v = new Date(u.getTime() + _);
5608
5608
  return v;
5609
5609
  }
5610
5610
  function Hi(e) {
@@ -5646,8 +5646,8 @@ function Hd(e, s) {
5646
5646
  ce(2, arguments);
5647
5647
  var t = oe(e), i = oe(s), n = Gi(t, i), a = Math.abs(Nd(t, i));
5648
5648
  t.setDate(t.getDate() - n * a);
5649
- var l = +(Gi(t, i) === -n), r = n * (a - l);
5650
- return r === 0 ? 0 : r;
5649
+ var l = +(Gi(t, i) === -n), d = n * (a - l);
5650
+ return d === 0 ? 0 : d;
5651
5651
  }
5652
5652
  function mi(e, s) {
5653
5653
  return ce(2, arguments), oe(e).getTime() - oe(s).getTime();
@@ -5696,8 +5696,8 @@ function Kd(e, s) {
5696
5696
  l = 0;
5697
5697
  else {
5698
5698
  t.getMonth() === 1 && t.getDate() > 27 && t.setDate(30), t.setMonth(t.getMonth() - n * a);
5699
- var r = Qe(t, i) === -n;
5700
- Jd(oe(e)) && a === 1 && Qe(e, i) === 1 && (r = !1), l = n * (a - Number(r));
5699
+ var d = Qe(t, i) === -n;
5700
+ Jd(oe(e)) && a === 1 && Qe(e, i) === 1 && (d = !1), l = n * (a - Number(d));
5701
5701
  }
5702
5702
  return l === 0 ? 0 : l;
5703
5703
  }
@@ -5710,8 +5710,8 @@ function Qd(e, s) {
5710
5710
  ce(2, arguments);
5711
5711
  var t = oe(e), i = oe(s), n = Qe(t, i), a = Math.abs(Wd(t, i));
5712
5712
  t.setFullYear(1584), i.setFullYear(1584);
5713
- var l = Qe(t, i) === -n, r = n * (a - Number(l));
5714
- return r === 0 ? 0 : r;
5713
+ var l = Qe(t, i) === -n, d = n * (a - Number(l));
5714
+ return d === 0 ? 0 : d;
5715
5715
  }
5716
5716
  function As(e) {
5717
5717
  return ce(1, arguments), oe(e).getFullYear();
@@ -5733,15 +5733,15 @@ function Ps(e) {
5733
5733
  months: n * i.months
5734
5734
  });
5735
5735
  i.days = Math.abs(Hd(t, l));
5736
- var r = rt(l, {
5736
+ var d = rt(l, {
5737
5737
  days: n * i.days
5738
5738
  });
5739
- i.hours = Math.abs(Gd(t, r));
5740
- var d = rt(r, {
5739
+ i.hours = Math.abs(Gd(t, d));
5740
+ var r = rt(d, {
5741
5741
  hours: n * i.hours
5742
5742
  });
5743
- i.minutes = Math.abs(jd(t, d));
5744
- var c = rt(d, {
5743
+ i.minutes = Math.abs(jd(t, r));
5744
+ var c = rt(r, {
5745
5745
  minutes: n * i.minutes
5746
5746
  });
5747
5747
  return i.seconds = Math.abs(Xd(t, c)), i;
@@ -5761,8 +5761,8 @@ async function C2(e = [], s = "") {
5761
5761
  try {
5762
5762
  const t = e.map((i) => ic(i, s));
5763
5763
  if (t.length) {
5764
- const i = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Date(), a = [], l = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), d = await Promise.all(t);
5765
- for (const c of d)
5764
+ const i = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Date(), a = [], l = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), r = await Promise.all(t);
5765
+ for (const c of r)
5766
5766
  for (const m of c) {
5767
5767
  const u = new Date(m.dob), g = As(u), y = Ps({
5768
5768
  start: u,
@@ -5772,13 +5772,13 @@ async function C2(e = [], s = "") {
5772
5772
  id: m.nationality_id,
5773
5773
  isSelected: !0,
5774
5774
  name: Es[`${m.nationality_id}`]
5775
- }), r.has(m.position_id) || r.set(m.position_id, {
5775
+ }), d.has(m.position_id) || d.set(m.position_id, {
5776
5776
  id: m.position_id,
5777
5777
  isSelected: !0,
5778
5778
  name: $s[`${m.position_id}`]
5779
5779
  }), i.add(g), a.push(y.years);
5780
5780
  }
5781
- return ze.minAge = Math.min(...a), ze.maxAge = Math.max(...a), ze.availableYears = [...i].sort((c, m) => m - c), ze.nationalities = [...l.values()], ze.positions = [...r.values()], ze.isEligibilitySwitchVisible = e.some(
5781
+ return ze.minAge = Math.min(...a), ze.maxAge = Math.max(...a), ze.availableYears = [...i].sort((c, m) => m - c), ze.nationalities = [...l.values()], ze.positions = [...d.values()], ze.isEligibilitySwitchVisible = e.some(
5782
5782
  (c) => Is.has(c.tournamentId)
5783
5783
  ), ze;
5784
5784
  } else
@@ -5813,7 +5813,7 @@ const sc = {
5813
5813
  }
5814
5814
  return ei(() => {
5815
5815
  n();
5816
- }), (l, r) => (p(), f("input", {
5816
+ }), (l, d) => (p(), f("input", {
5817
5817
  ref_key: "switchCustom",
5818
5818
  ref: i,
5819
5819
  id: "toggle",
@@ -5885,7 +5885,7 @@ const Je = (e) => (me("data-v-cfc8bb98"), e = e(), he(), e), ac = { class: "pers
5885
5885
  id: 0,
5886
5886
  name: "Todas las posiciones",
5887
5887
  isSelected: !1
5888
- }, l = T({ ...bt }), r = T(["Por edad", "Por año"]), d = T(0), c = T({
5888
+ }, l = T({ ...bt }), d = T(["Por edad", "Por año"]), r = T(0), c = T({
5889
5889
  min: bt.minAge,
5890
5890
  max: bt.maxAge
5891
5891
  }), m = T(Le), u = T(""), g = T(""), y = T(
@@ -5921,7 +5921,7 @@ const Je = (e) => (me("data-v-cfc8bb98"), e = e(), he(), e), ac = { class: "pers
5921
5921
  (R) => {
5922
5922
  if (R && R.availableYears) {
5923
5923
  const N = !Number.isNaN(Number(R.selectedYear));
5924
- l.value = R, d.value = l.value.selectedYear && N ? 1 : 0, y.value = N ? l.value.selectedYear : l.value.availableYears[0], c.value.min = l.value.minAge, c.value.max = l.value.maxAge, a.isSelected = R.positions.every((w) => w.isSelected), fe();
5924
+ l.value = R, r.value = l.value.selectedYear && N ? 1 : 0, y.value = N ? l.value.selectedYear : l.value.availableYears[0], c.value.min = l.value.minAge, c.value.max = l.value.maxAge, a.isSelected = R.positions.every((w) => w.isSelected), fe();
5925
5925
  }
5926
5926
  },
5927
5927
  { immediate: !0, deep: !0 }
@@ -5967,7 +5967,7 @@ const Je = (e) => (me("data-v-cfc8bb98"), e = e(), he(), e), ac = { class: "pers
5967
5967
  w.isSelected = !0;
5968
5968
  }), (N || R === We.ELIGIBILITY) && (l.value.isEligibilitySelected = !1), (N || R === We.POSITION) && b.value.forEach((w) => {
5969
5969
  w.isSelected = !0;
5970
- }), (N || R === We.AGE_RANGE) && (c.value.min = l.value.minAge, c.value.max = l.value.maxAge, d.value = 0), (N || R === We.YEAR) && (y.value = i.isScouting ? l.value.availableYears[l.value.availableYears.length - 1] : l.value.availableYears[0], d.value = 0), fe();
5970
+ }), (N || R === We.AGE_RANGE) && (c.value.min = l.value.minAge, c.value.max = l.value.maxAge, r.value = 0), (N || R === We.YEAR) && (y.value = i.isScouting ? l.value.availableYears[l.value.availableYears.length - 1] : l.value.availableYears[0], r.value = 0), fe();
5971
5971
  }
5972
5972
  async function le(R) {
5973
5973
  try {
@@ -5980,7 +5980,7 @@ const Je = (e) => (me("data-v-cfc8bb98"), e = e(), he(), e), ac = { class: "pers
5980
5980
  }
5981
5981
  }
5982
5982
  function ne(R) {
5983
- d.value = R.index, i.filters && i.filters.availableYears && R.index === 0 && (i.filters.selectedYear = "Sin límite");
5983
+ r.value = R.index, i.filters && i.filters.availableYears && R.index === 0 && (i.filters.selectedYear = "Sin límite");
5984
5984
  }
5985
5985
  function ve(R) {
5986
5986
  c.value.min = R.minValue, c.value.max = R.maxValue, fe();
@@ -5993,7 +5993,7 @@ const Je = (e) => (me("data-v-cfc8bb98"), e = e(), he(), e), ac = { class: "pers
5993
5993
  ));
5994
5994
  }
5995
5995
  function fe() {
5996
- const R = d.value === 0, N = {};
5996
+ const R = r.value === 0, N = {};
5997
5997
  R ? (N.ageByRange = c.value, N.ageLimits = {
5998
5998
  min: l.value.minAge,
5999
5999
  max: l.value.maxAge
@@ -6016,8 +6016,8 @@ const Je = (e) => (me("data-v-cfc8bb98"), e = e(), he(), e), ac = { class: "pers
6016
6016
  o("div", oc, [
6017
6017
  o("div", nc, [
6018
6018
  x(ir, {
6019
- "selected-button-index": d.value,
6020
- buttons: r.value,
6019
+ "selected-button-index": r.value,
6020
+ buttons: d.value,
6021
6021
  width: "220px",
6022
6022
  onChange: ne
6023
6023
  }, null, 8, ["selected-button-index", "buttons"])
@@ -6039,7 +6039,7 @@ const Je = (e) => (me("data-v-cfc8bb98"), e = e(), he(), e), ac = { class: "pers
6039
6039
  onInput: ve
6040
6040
  }, null, 8, ["min-limit", "max-limit", "min-value", "max-value"])
6041
6041
  ], 512), [
6042
- [se, d.value === 0]
6042
+ [se, r.value === 0]
6043
6043
  ]),
6044
6044
  J(o("div", rc, [
6045
6045
  dc,
@@ -6056,7 +6056,7 @@ const Je = (e) => (me("data-v-cfc8bb98"), e = e(), he(), e), ac = { class: "pers
6056
6056
  _: 1
6057
6057
  }, 16, ["model-value", "items"])
6058
6058
  ], 512), [
6059
- [se, d.value === 1]
6059
+ [se, r.value === 1]
6060
6060
  ])
6061
6061
  ]),
6062
6062
  uc,
@@ -6173,7 +6173,7 @@ const Fc = { class: "plays" }, Ec = { class: "plays__body__offensive" }, $c = {
6173
6173
  setup(e) {
6174
6174
  const s = e, t = T(!1), i = T(!1), n = T(!1), a = T(!1), l = M(() => ({
6175
6175
  "--template-columns": s.isExpansionMode ? "1fr" : "1fr 1fr"
6176
- })), r = M(() => s.playsCategories.offensive.categories.reduce((y, _) => (_.isSelected && y++, y), 0)), d = M(() => s.playsCategories.defensive.categories.reduce((y, _) => (_.isSelected && y++, y), 0)), c = M(() => s.playsCategories.possession.categories.reduce((y, _) => (_.isSelected && y++, y), 0)), m = M(() => s.playsCategories.offenses.categories.reduce((y, _) => (_.isSelected && y++, y), 0));
6176
+ })), d = M(() => s.playsCategories.offensive.categories.reduce((y, _) => (_.isSelected && y++, y), 0)), r = M(() => s.playsCategories.defensive.categories.reduce((y, _) => (_.isSelected && y++, y), 0)), c = M(() => s.playsCategories.possession.categories.reduce((y, _) => (_.isSelected && y++, y), 0)), m = M(() => s.playsCategories.offenses.categories.reduce((y, _) => (_.isSelected && y++, y), 0));
6177
6177
  function u(y, _) {
6178
6178
  _.isSelected = y;
6179
6179
  }
@@ -6192,7 +6192,7 @@ const Fc = { class: "plays" }, Ec = { class: "plays__body__offensive" }, $c = {
6192
6192
  onClick: _[0] || (_[0] = (v) => g("offensive"))
6193
6193
  }, [
6194
6194
  o("span", null, B(e.playsCategories.offensive.title), 1),
6195
- o("span", Ac, "(" + B(r.value) + ")", 1)
6195
+ o("span", Ac, "(" + B(d.value) + ")", 1)
6196
6196
  ]),
6197
6197
  o("div", {
6198
6198
  class: "plays__body__title__expand-button",
@@ -6228,7 +6228,7 @@ const Fc = { class: "plays" }, Ec = { class: "plays__body__offensive" }, $c = {
6228
6228
  onClick: _[2] || (_[2] = (v) => g("defensive"))
6229
6229
  }, [
6230
6230
  o("span", null, B(e.playsCategories.defensive.title), 1),
6231
- o("span", Mc, "(" + B(d.value) + ")", 1)
6231
+ o("span", Mc, "(" + B(r.value) + ")", 1)
6232
6232
  ]),
6233
6233
  o("div", {
6234
6234
  class: "plays__body__title__expand-button",
@@ -6350,13 +6350,13 @@ const Hc = { class: "template-results" }, Yc = {
6350
6350
  immediate: !0
6351
6351
  }
6352
6352
  ), (n, a) => (p(), f("div", Hc, [
6353
- (p(!0), f(z, null, te(e.resultsFilters.results, (l, r) => (p(), f("div", {
6354
- key: r,
6353
+ (p(!0), f(z, null, te(e.resultsFilters.results, (l, d) => (p(), f("div", {
6354
+ key: d,
6355
6355
  class: "template-results__result"
6356
6356
  }, [
6357
6357
  x(I(Z), {
6358
6358
  modelValue: l.isSelected,
6359
- "onUpdate:modelValue": (d) => l.isSelected = d,
6359
+ "onUpdate:modelValue": (r) => l.isSelected = r,
6360
6360
  label: l.name,
6361
6361
  "avoid-interaction": i.value === 1 && l.isSelected
6362
6362
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "avoid-interaction"])
@@ -6615,10 +6615,10 @@ const Ot = (e) => (me("data-v-b63e9c84"), e = e(), he(), e), bu = { class: "cont
6615
6615
  borderColor: "#CBEE6B",
6616
6616
  fontColor: "#132634"
6617
6617
  }, i = T(null), n = T(null), a = T(null), l = T(null);
6618
- function r(u) {
6618
+ function d(u) {
6619
6619
  i.value = u, s("update:tournament", u);
6620
6620
  }
6621
- function d(u) {
6621
+ function r(u) {
6622
6622
  n.value = u, s("update:season", u);
6623
6623
  }
6624
6624
  function c(u) {
@@ -6636,7 +6636,7 @@ const Ot = (e) => (me("data-v-b63e9c84"), e = e(), he(), e), bu = { class: "cont
6636
6636
  x(Ce, {
6637
6637
  items: e.tournaments,
6638
6638
  itemTextKey: "name",
6639
- onInput: r
6639
+ onInput: d
6640
6640
  }, null, 8, ["items"])
6641
6641
  ])
6642
6642
  ])
@@ -6648,7 +6648,7 @@ const Ot = (e) => (me("data-v-b63e9c84"), e = e(), he(), e), bu = { class: "cont
6648
6648
  x(Ce, {
6649
6649
  items: i.value.seasons,
6650
6650
  itemTextKey: "name",
6651
- onInput: d
6651
+ onInput: r
6652
6652
  }, null, 8, ["items"])
6653
6653
  ])) : P("", !0)
6654
6654
  ]),
@@ -6736,11 +6736,11 @@ const Zu = { class: "advanced-filters" }, Ju = { class: "advanced-filters__butto
6736
6736
  },
6737
6737
  setup(e) {
6738
6738
  const s = e, t = Lt(
6739
- () => import("./FilterSubcategories-b3171d1a.js")
6739
+ () => import("./FilterSubcategories-9fe51852.js")
6740
6740
  ), i = Lt(
6741
- () => import("./FilterConditions-5a39ac12.js")
6741
+ () => import("./FilterConditions-a734bf95.js")
6742
6742
  ), n = Lt(
6743
- () => import("./FilterField-2ed32f3b.js")
6743
+ () => import("./FilterField-d933f382.js")
6744
6744
  ), a = [
6745
6745
  {
6746
6746
  name: "Sub categorías",
@@ -6754,8 +6754,8 @@ const Zu = { class: "advanced-filters" }, Ju = { class: "advanced-filters__butto
6754
6754
  name: "Condiciones",
6755
6755
  component: i
6756
6756
  }
6757
- ], l = T(a[0]), r = M(() => s.selectedCategory ? s.selectedCategory.subcategoryGroups || [] : []);
6758
- function d(c) {
6757
+ ], l = T(a[0]), d = M(() => s.selectedCategory ? s.selectedCategory.subcategoryGroups || [] : []);
6758
+ function r(c) {
6759
6759
  l.value = c;
6760
6760
  }
6761
6761
  return (c, m) => (p(), f("div", Zu, [
@@ -6764,12 +6764,12 @@ const Zu = { class: "advanced-filters" }, Ju = { class: "advanced-filters__butto
6764
6764
  key: u.name,
6765
6765
  role: "button",
6766
6766
  class: ue(["advanced-filters__buttons__button", { active: l.value.name === u.name }]),
6767
- onClick: (g) => d(u)
6767
+ onClick: (g) => r(u)
6768
6768
  }, B(u.name), 11, Ku)), 64))
6769
6769
  ]),
6770
6770
  o("div", Xu, [
6771
6771
  (p(), ke(Os, null, [
6772
- (p(), ke(ts(l.value.component), { "subcategory-groups": r.value }, null, 8, ["subcategory-groups"]))
6772
+ (p(), ke(ts(l.value.component), { "subcategory-groups": d.value }, null, 8, ["subcategory-groups"]))
6773
6773
  ], 1024))
6774
6774
  ])
6775
6775
  ]));
@@ -6814,7 +6814,7 @@ const Ke = (e) => (me("data-v-575b26b5"), e = e(), he(), e), e1 = { class: "cont
6814
6814
  fontColor: "#132634"
6815
6815
  }, n = T(null), a = T(null);
6816
6816
  T(null);
6817
- const l = T(null), r = T(null), d = T(null), c = T(null), m = T(!0), u = M(() => d.value ? d.value.position_id === 1 ? t.advancedFilterCategories.goalkeeper : t.advancedFilterCategories.player : []);
6817
+ const l = T(null), d = T(null), r = T(null), c = T(null), m = T(!0), u = M(() => r.value ? r.value.position_id === 1 ? t.advancedFilterCategories.goalkeeper : t.advancedFilterCategories.player : []);
6818
6818
  function g(k) {
6819
6819
  n.value = k, s("update:tournament", k);
6820
6820
  }
@@ -6822,10 +6822,10 @@ const Ke = (e) => (me("data-v-575b26b5"), e = e(), he(), e), e1 = { class: "cont
6822
6822
  a.value = k, s("update:season", k);
6823
6823
  }
6824
6824
  function _(k) {
6825
- r.value = k, s("update:team", k);
6825
+ d.value = k, s("update:team", k);
6826
6826
  }
6827
6827
  function v(k) {
6828
- d.value = k;
6828
+ r.value = k;
6829
6829
  }
6830
6830
  function b(k) {
6831
6831
  l.value = k;
@@ -6872,9 +6872,9 @@ const Ke = (e) => (me("data-v-575b26b5"), e = e(), he(), e), e1 = { class: "cont
6872
6872
  o("div", p1, [
6873
6873
  o("div", f1, [
6874
6874
  m1,
6875
- r.value && r.value.arrayPlayers ? (p(), f("div", h1, [
6875
+ d.value && d.value.arrayPlayers ? (p(), f("div", h1, [
6876
6876
  x(Ce, {
6877
- items: r.value.arrayPlayers,
6877
+ items: d.value.arrayPlayers,
6878
6878
  itemTextKey: "player_name",
6879
6879
  onInput: v
6880
6880
  }, null, 8, ["items"])
@@ -6884,9 +6884,9 @@ const Ke = (e) => (me("data-v-575b26b5"), e = e(), he(), e), e1 = { class: "cont
6884
6884
  o("div", v1, [
6885
6885
  o("div", y1, [
6886
6886
  _1,
6887
- a.value && a.value.mapGamesByTeam && r.value ? (p(), f("div", g1, [
6887
+ a.value && a.value.mapGamesByTeam && d.value ? (p(), f("div", g1, [
6888
6888
  x(Rt, {
6889
- items: a.value.mapGamesByTeam.get(r.value.team_id),
6889
+ items: a.value.mapGamesByTeam.get(d.value.team_id),
6890
6890
  onInput: b
6891
6891
  }, null, 8, ["items"])
6892
6892
  ])) : P("", !0)
@@ -6959,7 +6959,7 @@ const ot = (e) => (me("data-v-6d73d5e6"), e = e(), he(), e), P1 = { class: "cont
6959
6959
  fontColor: "#132634"
6960
6960
  }, n = T(null), a = T(null);
6961
6961
  T(null);
6962
- const l = T(null), r = T(null), d = T(null), c = T(!0), m = M(() => t.advancedFilterCategories.team);
6962
+ const l = T(null), d = T(null), r = T(null), c = T(!0), m = M(() => t.advancedFilterCategories.team);
6963
6963
  function u(b) {
6964
6964
  n.value = b, s("update:tournament", b);
6965
6965
  }
@@ -6967,13 +6967,13 @@ const ot = (e) => (me("data-v-6d73d5e6"), e = e(), he(), e), P1 = { class: "cont
6967
6967
  a.value = b, s("update:season", b);
6968
6968
  }
6969
6969
  function y(b) {
6970
- r.value = b, s("update:team", b);
6970
+ d.value = b, s("update:team", b);
6971
6971
  }
6972
6972
  function _(b) {
6973
6973
  l.value = b;
6974
6974
  }
6975
6975
  function v(b) {
6976
- d.value = b;
6976
+ r.value = b;
6977
6977
  }
6978
6978
  return (b, E) => (p(), f(z, null, [
6979
6979
  o("div", P1, [
@@ -7014,9 +7014,9 @@ const ot = (e) => (me("data-v-6d73d5e6"), e = e(), he(), e), P1 = { class: "cont
7014
7014
  o("div", W1, [
7015
7015
  o("div", H1, [
7016
7016
  Y1,
7017
- a.value && a.value.mapGamesByTeam && r.value ? (p(), f("div", G1, [
7017
+ a.value && a.value.mapGamesByTeam && d.value ? (p(), f("div", G1, [
7018
7018
  x(Rt, {
7019
- items: a.value.mapGamesByTeam.get(r.value.team_id),
7019
+ items: a.value.mapGamesByTeam.get(d.value.team_id),
7020
7020
  onInput: _
7021
7021
  }, null, 8, ["items"])
7022
7022
  ])) : P("", !0)
@@ -7045,7 +7045,7 @@ const ot = (e) => (me("data-v-6d73d5e6"), e = e(), he(), e), P1 = { class: "cont
7045
7045
  ])
7046
7046
  ]),
7047
7047
  o("div", ep, [
7048
- x(vi, { "selected-category": d.value }, null, 8, ["selected-category"])
7048
+ x(vi, { "selected-category": r.value }, null, 8, ["selected-category"])
7049
7049
  ])
7050
7050
  ]),
7051
7051
  o("div", tp, [
@@ -7090,7 +7090,7 @@ const nt = (e) => (me("data-v-6e904db8"), e = e(), he(), e), ap = { class: "cont
7090
7090
  backgroundColor: "#CBEE6B",
7091
7091
  borderColor: "#CBEE6B",
7092
7092
  fontColor: "#132634"
7093
- }, n = T(null), a = T(null), l = T(null), r = T(null), d = T(null), c = T(!0), m = M(() => t.advancedFilterCategories.games);
7093
+ }, n = T(null), a = T(null), l = T(null), d = T(null), r = T(null), c = T(!0), m = M(() => t.advancedFilterCategories.games);
7094
7094
  function u(b) {
7095
7095
  n.value = b, s("update:tournament", b);
7096
7096
  }
@@ -7101,10 +7101,10 @@ const nt = (e) => (me("data-v-6e904db8"), e = e(), he(), e), ap = { class: "cont
7101
7101
  l.value = b;
7102
7102
  }
7103
7103
  function _(b) {
7104
- r.value = b;
7104
+ d.value = b;
7105
7105
  }
7106
7106
  function v(b) {
7107
- d.value = b;
7107
+ r.value = b;
7108
7108
  }
7109
7109
  return (b, E) => (p(), f(z, null, [
7110
7110
  o("div", ap, [
@@ -7176,7 +7176,7 @@ const nt = (e) => (me("data-v-6e904db8"), e = e(), he(), e), ap = { class: "cont
7176
7176
  ])
7177
7177
  ]),
7178
7178
  o("div", Fp, [
7179
- x(vi, { "selected-category": d.value }, null, 8, ["selected-category"])
7179
+ x(vi, { "selected-category": r.value }, null, 8, ["selected-category"])
7180
7180
  ])
7181
7181
  ]),
7182
7182
  o("div", Ep, [
@@ -7273,11 +7273,11 @@ const Pp = { class: "template-videos" }, Ip = { class: "template-videos__header"
7273
7273
  ],
7274
7274
  goalkeeper: [55, 324, 323, 608, 39, 774, 802, 52, 53, 40, 54]
7275
7275
  }
7276
- }, r = {
7276
+ }, d = {
7277
7277
  player: 1,
7278
7278
  team: 2,
7279
7279
  goalkeeper: 3
7280
- }, d = T([
7280
+ }, r = T([
7281
7281
  {
7282
7282
  name: "Goles",
7283
7283
  componentName: "VideosGoals"
@@ -7294,7 +7294,7 @@ const Pp = { class: "template-videos" }, Ip = { class: "template-videos__header"
7294
7294
  name: "Partido",
7295
7295
  componentName: "VideosGame"
7296
7296
  }
7297
- ]), c = T([]), m = T(d.value[0]), u = T({}), g = T({}), y = T({}), _ = T({}), v = T({
7297
+ ]), c = T([]), m = T(r.value[0]), u = T({}), g = T({}), y = T({}), _ = T({}), v = T({
7298
7298
  games: [],
7299
7299
  player: [],
7300
7300
  team: [],
@@ -7473,7 +7473,7 @@ const Pp = { class: "template-videos" }, Ip = { class: "template-videos__header"
7473
7473
  !1,
7474
7474
  {},
7475
7475
  j.idsAux
7476
- ), V.push(j), j.type.includes(r.player) && Y.player.push(j), j.type.includes(r.team) && (j.idAux !== "g-2" && Y.games.push(j), Y.team.push(j)), j.type.includes(r.goalkeeper) && Y.goalkeeper.push(j);
7476
+ ), V.push(j), j.type.includes(d.player) && Y.player.push(j), j.type.includes(d.team) && (j.idAux !== "g-2" && Y.games.push(j), Y.team.push(j)), j.type.includes(d.goalkeeper) && Y.goalkeeper.push(j);
7477
7477
  }
7478
7478
  return Y;
7479
7479
  },
@@ -7668,7 +7668,7 @@ const Pp = { class: "template-videos" }, Ip = { class: "template-videos__header"
7668
7668
  }
7669
7669
  return k(), fe(), (F, V) => (p(), f("div", Pp, [
7670
7670
  o("div", Ip, [
7671
- (p(!0), f(z, null, te(d.value, (U) => (p(), ke(mt, ye({
7671
+ (p(!0), f(z, null, te(r.value, (U) => (p(), ke(mt, ye({
7672
7672
  key: U.name
7673
7673
  }, i, {
7674
7674
  text: U.name,
@@ -7719,7 +7719,7 @@ const Vp = { class: "template-taken-corners" }, Lp = { class: "template-taken-co
7719
7719
  },
7720
7720
  emits: ["change-filters-selected", "update:filters"],
7721
7721
  setup(e, { expose: s, emit: t }) {
7722
- const i = e, n = T(!1), a = T([]), l = M(() => i.isExpansionMode ? "Cobradores filtrados:" : "Cobradores con los filtros seleccionados"), r = M(() => a.value.reduce((v, b) => b.isSelected ? v + 1 : v, 0));
7722
+ const i = e, n = T(!1), a = T([]), l = M(() => i.isExpansionMode ? "Cobradores filtrados:" : "Cobradores con los filtros seleccionados"), d = M(() => a.value.reduce((v, b) => b.isSelected ? v + 1 : v, 0));
7723
7723
  L(
7724
7724
  () => i.takenCornersFilters,
7725
7725
  (v) => {
@@ -7730,13 +7730,13 @@ const Vp = { class: "template-taken-corners" }, Lp = { class: "template-taken-co
7730
7730
  },
7731
7731
  { immediate: !0, deep: !0 }
7732
7732
  ), L(
7733
- r,
7733
+ d,
7734
7734
  (v) => {
7735
7735
  n.value = v === a.value.length, t("change-filters-selected", v), t("update:filters", a.value);
7736
7736
  },
7737
7737
  { immediate: !0 }
7738
7738
  );
7739
- function d(v) {
7739
+ function r(v) {
7740
7740
  return `https://golstatsimages.blob.core.windows.net/flags/${v}.jpg`;
7741
7741
  }
7742
7742
  function c(v) {
@@ -7805,7 +7805,7 @@ const Vp = { class: "template-taken-corners" }, Lp = { class: "template-taken-co
7805
7805
  o("div", qp, [
7806
7806
  o("div", Zp, [
7807
7807
  o("img", {
7808
- src: d(E.nationality_id),
7808
+ src: r(E.nationality_id),
7809
7809
  alt: "country flag"
7810
7810
  }, null, 8, Jp)
7811
7811
  ]),
@@ -7816,7 +7816,7 @@ const Vp = { class: "template-taken-corners" }, Lp = { class: "template-taken-co
7816
7816
  x(I(Z), {
7817
7817
  modelValue: E.isSelected,
7818
7818
  "onUpdate:modelValue": (k) => E.isSelected = k,
7819
- "avoid-interaction": r.value === 1 && E.isSelected
7819
+ "avoid-interaction": d.value === 1 && E.isSelected
7820
7820
  }, null, 8, ["modelValue", "onUpdate:modelValue", "avoid-interaction"])
7821
7821
  ])
7822
7822
  ]))), 128))
@@ -7901,29 +7901,29 @@ const yi = (e) => (me("data-v-b7e3b8e0"), e = e(), he(), e), tf = { class: "temp
7901
7901
  },
7902
7902
  emits: ["update:filters", "change-filters-selected"],
7903
7903
  setup(e, { emit: s }) {
7904
- const t = e, i = T("left"), n = M(() => t.howWasCornerFilters[t.howWasCornerFilters.cornerType]), a = M(() => n.value.filter((r) => r.isSelected).length);
7904
+ const t = e, i = T("left"), n = M(() => t.howWasCornerFilters[t.howWasCornerFilters.cornerType]), a = M(() => n.value.filter((d) => d.isSelected).length);
7905
7905
  L(
7906
7906
  () => i.value,
7907
- (r) => {
7908
- t.howWasCornerFilters.cornerType = r;
7907
+ (d) => {
7908
+ t.howWasCornerFilters.cornerType = d;
7909
7909
  }
7910
7910
  ), L(
7911
7911
  () => t.howWasCornerFilters,
7912
- (r) => {
7912
+ (d) => {
7913
7913
  s(
7914
7914
  "change-filters-selected",
7915
- t.howWasCornerFilters[r.cornerType].reduce((d, c) => c.isSelected ? d + 1 : d, 0)
7916
- ), i.value = r.cornerType, s("update:filters", r);
7915
+ t.howWasCornerFilters[d.cornerType].reduce((r, c) => c.isSelected ? r + 1 : r, 0)
7916
+ ), i.value = d.cornerType, s("update:filters", d);
7917
7917
  },
7918
7918
  {
7919
7919
  deep: !0,
7920
7920
  immediate: !0
7921
7921
  }
7922
7922
  );
7923
- function l(r) {
7924
- r.isSelected && a.value === 1 || (r.isSelected = !r.isSelected);
7923
+ function l(d) {
7924
+ d.isSelected && a.value === 1 || (d.isSelected = !d.isSelected);
7925
7925
  }
7926
- return (r, d) => (p(), f("div", tf, [
7926
+ return (d, r) => (p(), f("div", tf, [
7927
7927
  o("div", sf, [
7928
7928
  af,
7929
7929
  o("div", of, [
@@ -7932,7 +7932,7 @@ const yi = (e) => (me("data-v-b7e3b8e0"), e = e(), he(), e), tf = { class: "temp
7932
7932
  type: "radio",
7933
7933
  id: "left",
7934
7934
  value: "left",
7935
- "onUpdate:modelValue": d[0] || (d[0] = (c) => i.value = c)
7935
+ "onUpdate:modelValue": r[0] || (r[0] = (c) => i.value = c)
7936
7936
  }, null, 512), [
7937
7937
  [je, i.value]
7938
7938
  ]),
@@ -7945,7 +7945,7 @@ const yi = (e) => (me("data-v-b7e3b8e0"), e = e(), he(), e), tf = { class: "temp
7945
7945
  type: "radio",
7946
7946
  id: "right",
7947
7947
  value: "right",
7948
- "onUpdate:modelValue": d[1] || (d[1] = (c) => i.value = c)
7948
+ "onUpdate:modelValue": r[1] || (r[1] = (c) => i.value = c)
7949
7949
  }, null, 512), [
7950
7950
  [je, i.value]
7951
7951
  ]),
@@ -8095,10 +8095,10 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8095
8095
  },
8096
8096
  { deep: !0 }
8097
8097
  );
8098
- function r(m) {
8098
+ function d(m) {
8099
8099
  m ? (a.value = dt, n.value = !0) : (a.value = [], n.value = !1);
8100
8100
  }
8101
- function d(m) {
8101
+ function r(m) {
8102
8102
  a.value.includes(m) ? a.value = a.value.filter((u) => u !== m) : a.value.push(m), n.value = a.value.length === 35;
8103
8103
  }
8104
8104
  function c() {
@@ -8124,7 +8124,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8124
8124
  labelFontSize: "11px",
8125
8125
  "label-color": "#FFF",
8126
8126
  "model-value": n.value,
8127
- "onUpdate:modelValue": r
8127
+ "onUpdate:modelValue": d
8128
8128
  }, null, 8, ["model-value"])
8129
8129
  ])
8130
8130
  ])
@@ -8132,7 +8132,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8132
8132
  o("div", Cf, [
8133
8133
  (p(), f("svg", xf, [
8134
8134
  o("rect", {
8135
- onClick: u[0] || (u[0] = (g) => d(1)),
8135
+ onClick: u[0] || (u[0] = (g) => r(1)),
8136
8136
  class: "sector-field",
8137
8137
  x: "0.347042",
8138
8138
  y: "0.347042",
@@ -8144,7 +8144,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8144
8144
  fill: a.value.includes(1) ? "#FFFF0030" : "#2e3b46"
8145
8145
  }, null, 8, wf),
8146
8146
  o("rect", {
8147
- onClick: u[1] || (u[1] = (g) => d(9)),
8147
+ onClick: u[1] || (u[1] = (g) => r(9)),
8148
8148
  class: "sector-field",
8149
8149
  x: "288.347",
8150
8150
  y: "0.347042",
@@ -8156,7 +8156,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8156
8156
  fill: a.value.includes(9) ? "#FFFF0030" : "#2e3b46"
8157
8157
  }, null, 8, Tf),
8158
8158
  o("rect", {
8159
- onClick: u[2] || (u[2] = (g) => d(17)),
8159
+ onClick: u[2] || (u[2] = (g) => r(17)),
8160
8160
  class: "sector-field",
8161
8161
  x: "0.347042",
8162
8162
  y: "44.347",
@@ -8168,7 +8168,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8168
8168
  fill: a.value.includes(17) ? "#FFFF0030" : "#2e3b46"
8169
8169
  }, null, 8, kf),
8170
8170
  o("rect", {
8171
- onClick: u[3] || (u[3] = (g) => d(25)),
8171
+ onClick: u[3] || (u[3] = (g) => r(25)),
8172
8172
  class: "sector-field",
8173
8173
  x: "288.347",
8174
8174
  y: "44.347",
@@ -8180,7 +8180,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8180
8180
  fill: a.value.includes(25) ? "#FFFF0030" : "#2e3b46"
8181
8181
  }, null, 8, Ff),
8182
8182
  o("rect", {
8183
- onClick: u[4] || (u[4] = (g) => d(26)),
8183
+ onClick: u[4] || (u[4] = (g) => r(26)),
8184
8184
  class: "sector-field",
8185
8185
  x: "0.347042",
8186
8186
  y: "88.347",
@@ -8192,7 +8192,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8192
8192
  fill: a.value.includes(26) ? "#FFFF0030" : "#2e3b46"
8193
8193
  }, null, 8, Ef),
8194
8194
  o("rect", {
8195
- onClick: u[5] || (u[5] = (g) => d(27)),
8195
+ onClick: u[5] || (u[5] = (g) => r(27)),
8196
8196
  class: "sector-field",
8197
8197
  x: "91.347",
8198
8198
  y: "88.347",
@@ -8204,7 +8204,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8204
8204
  fill: a.value.includes(27) ? "#FFFF0030" : "#2e3b46"
8205
8205
  }, null, 8, $f),
8206
8206
  o("rect", {
8207
- onClick: u[6] || (u[6] = (g) => d(28)),
8207
+ onClick: u[6] || (u[6] = (g) => r(28)),
8208
8208
  class: "sector-field",
8209
8209
  x: "157.015",
8210
8210
  y: "88.347",
@@ -8216,7 +8216,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8216
8216
  fill: a.value.includes(28) ? "#FFFF0030" : "#2e3b46"
8217
8217
  }, null, 8, Af),
8218
8218
  o("rect", {
8219
- onClick: u[7] || (u[7] = (g) => d(29)),
8219
+ onClick: u[7] || (u[7] = (g) => r(29)),
8220
8220
  class: "sector-field",
8221
8221
  x: "222.679",
8222
8222
  y: "88.347",
@@ -8228,7 +8228,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8228
8228
  fill: a.value.includes(29) ? "#FFFF0030" : "#2e3b46"
8229
8229
  }, null, 8, Pf),
8230
8230
  o("rect", {
8231
- onClick: u[8] || (u[8] = (g) => d(30)),
8231
+ onClick: u[8] || (u[8] = (g) => r(30)),
8232
8232
  class: "sector-field",
8233
8233
  x: "288.347",
8234
8234
  y: "88.347",
@@ -8240,7 +8240,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8240
8240
  fill: a.value.includes(30) ? "#FFFF0030" : "#2e3b46"
8241
8241
  }, null, 8, If),
8242
8242
  o("rect", {
8243
- onClick: u[9] || (u[9] = (g) => d(31)),
8243
+ onClick: u[9] || (u[9] = (g) => r(31)),
8244
8244
  class: "sector-field",
8245
8245
  x: "0.347042",
8246
8246
  y: "132.347",
@@ -8252,7 +8252,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8252
8252
  fill: a.value.includes(31) ? "#FFFF0030" : "#2e3b46"
8253
8253
  }, null, 8, Bf),
8254
8254
  o("rect", {
8255
- onClick: u[10] || (u[10] = (g) => d(32)),
8255
+ onClick: u[10] || (u[10] = (g) => r(32)),
8256
8256
  class: "sector-field",
8257
8257
  x: "91.347",
8258
8258
  y: "132.347",
@@ -8264,7 +8264,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8264
8264
  fill: a.value.includes(32) ? "#FFFF0030" : "#2e3b46"
8265
8265
  }, null, 8, Mf),
8266
8266
  o("rect", {
8267
- onClick: u[11] || (u[11] = (g) => d(33)),
8267
+ onClick: u[11] || (u[11] = (g) => r(33)),
8268
8268
  class: "sector-field",
8269
8269
  x: "157.015",
8270
8270
  y: "132.347",
@@ -8276,7 +8276,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8276
8276
  fill: a.value.includes(33) ? "#FFFF0030" : "#2e3b46"
8277
8277
  }, null, 8, Rf),
8278
8278
  o("rect", {
8279
- onClick: u[12] || (u[12] = (g) => d(34)),
8279
+ onClick: u[12] || (u[12] = (g) => r(34)),
8280
8280
  class: "sector-field",
8281
8281
  x: "222.679",
8282
8282
  y: "132.347",
@@ -8288,7 +8288,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8288
8288
  fill: a.value.includes(34) ? "#FFFF0030" : "#2e3b46"
8289
8289
  }, null, 8, Of),
8290
8290
  o("rect", {
8291
- onClick: u[13] || (u[13] = (g) => d(35)),
8291
+ onClick: u[13] || (u[13] = (g) => r(35)),
8292
8292
  class: "sector-field",
8293
8293
  x: "288.347",
8294
8294
  y: "132.347",
@@ -8300,7 +8300,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8300
8300
  fill: a.value.includes(35) ? "#FFFF0030" : "#2e3b46"
8301
8301
  }, null, 8, Vf),
8302
8302
  o("rect", {
8303
- onClick: u[14] || (u[14] = (g) => d(2)),
8303
+ onClick: u[14] || (u[14] = (g) => r(2)),
8304
8304
  class: "sector-field",
8305
8305
  x: "91.347",
8306
8306
  y: "0.347042",
@@ -8312,7 +8312,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8312
8312
  fill: a.value.includes(2) ? "#FFFF0030" : "#2e3b46"
8313
8313
  }, null, 8, Lf),
8314
8314
  o("rect", {
8315
- onClick: u[15] || (u[15] = (g) => d(3)),
8315
+ onClick: u[15] || (u[15] = (g) => r(3)),
8316
8316
  class: "sector-field",
8317
8317
  x: "114.347",
8318
8318
  y: "0.347042",
@@ -8324,7 +8324,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8324
8324
  fill: a.value.includes(3) ? "#FFFF0030" : "#2e3b46"
8325
8325
  }, null, 8, Nf),
8326
8326
  o("rect", {
8327
- onClick: u[16] || (u[16] = (g) => d(4)),
8327
+ onClick: u[16] || (u[16] = (g) => r(4)),
8328
8328
  class: "sector-field",
8329
8329
  x: "137.347",
8330
8330
  y: "0.347042",
@@ -8336,7 +8336,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8336
8336
  fill: a.value.includes(4) ? "#FFFF0030" : "#2e3b46"
8337
8337
  }, null, 8, Df),
8338
8338
  o("rect", {
8339
- onClick: u[17] || (u[17] = (g) => d(5)),
8339
+ onClick: u[17] || (u[17] = (g) => r(5)),
8340
8340
  class: "sector-field",
8341
8341
  x: "172.347",
8342
8342
  y: "0.347042",
@@ -8348,7 +8348,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8348
8348
  fill: a.value.includes(5) ? "#FFFF0030" : "#2e3b46"
8349
8349
  }, null, 8, Uf),
8350
8350
  o("rect", {
8351
- onClick: u[18] || (u[18] = (g) => d(6)),
8351
+ onClick: u[18] || (u[18] = (g) => r(6)),
8352
8352
  class: "sector-field",
8353
8353
  x: "207.347",
8354
8354
  y: "0.347042",
@@ -8360,7 +8360,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8360
8360
  fill: a.value.includes(6) ? "#FFFF0030" : "#2e3b46"
8361
8361
  }, null, 8, zf),
8362
8362
  o("rect", {
8363
- onClick: u[19] || (u[19] = (g) => d(7)),
8363
+ onClick: u[19] || (u[19] = (g) => r(7)),
8364
8364
  class: "sector-field",
8365
8365
  x: "242.347",
8366
8366
  y: "0.347042",
@@ -8372,7 +8372,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8372
8372
  fill: a.value.includes(7) ? "#FFFF0030" : "#2e3b46"
8373
8373
  }, null, 8, Wf),
8374
8374
  o("rect", {
8375
- onClick: u[20] || (u[20] = (g) => d(8)),
8375
+ onClick: u[20] || (u[20] = (g) => r(8)),
8376
8376
  class: "sector-field",
8377
8377
  x: "265.347",
8378
8378
  y: "0.347042",
@@ -8384,7 +8384,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8384
8384
  fill: a.value.includes(8) ? "#FFFF0030" : "#2e3b46"
8385
8385
  }, null, 8, Hf),
8386
8386
  o("rect", {
8387
- onClick: u[21] || (u[21] = (g) => d(10)),
8387
+ onClick: u[21] || (u[21] = (g) => r(10)),
8388
8388
  class: "sector-field",
8389
8389
  x: "91.347",
8390
8390
  y: "29.6804",
@@ -8396,7 +8396,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8396
8396
  fill: a.value.includes(10) ? "#FFFF0030" : "#2e3b46"
8397
8397
  }, null, 8, Yf),
8398
8398
  o("rect", {
8399
- onClick: u[22] || (u[22] = (g) => d(11)),
8399
+ onClick: u[22] || (u[22] = (g) => r(11)),
8400
8400
  class: "sector-field",
8401
8401
  x: "114.347",
8402
8402
  y: "29.6804",
@@ -8408,7 +8408,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8408
8408
  fill: a.value.includes(11) ? "#FFFF0030" : "#2e3b46"
8409
8409
  }, null, 8, Gf),
8410
8410
  o("rect", {
8411
- onClick: u[23] || (u[23] = (g) => d(12)),
8411
+ onClick: u[23] || (u[23] = (g) => r(12)),
8412
8412
  class: "sector-field",
8413
8413
  x: "137.347",
8414
8414
  y: "29.6804",
@@ -8420,7 +8420,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8420
8420
  fill: a.value.includes(12) ? "#FFFF0030" : "#2e3b46"
8421
8421
  }, null, 8, jf),
8422
8422
  o("rect", {
8423
- onClick: u[24] || (u[24] = (g) => d(13)),
8423
+ onClick: u[24] || (u[24] = (g) => r(13)),
8424
8424
  class: "sector-field",
8425
8425
  x: "172.347",
8426
8426
  y: "29.6804",
@@ -8432,7 +8432,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8432
8432
  fill: a.value.includes(13) ? "#FFFF0030" : "#2e3b46"
8433
8433
  }, null, 8, qf),
8434
8434
  o("rect", {
8435
- onClick: u[25] || (u[25] = (g) => d(14)),
8435
+ onClick: u[25] || (u[25] = (g) => r(14)),
8436
8436
  class: "sector-field",
8437
8437
  x: "207.347",
8438
8438
  y: "29.6804",
@@ -8444,7 +8444,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8444
8444
  fill: a.value.includes(14) ? "#FFFF0030" : "#2e3b46"
8445
8445
  }, null, 8, Zf),
8446
8446
  o("rect", {
8447
- onClick: u[26] || (u[26] = (g) => d(15)),
8447
+ onClick: u[26] || (u[26] = (g) => r(15)),
8448
8448
  class: "sector-field",
8449
8449
  x: "242.347",
8450
8450
  y: "29.6804",
@@ -8456,7 +8456,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8456
8456
  fill: a.value.includes(15) ? "#FFFF0030" : "#2e3b46"
8457
8457
  }, null, 8, Jf),
8458
8458
  o("rect", {
8459
- onClick: u[27] || (u[27] = (g) => d(16)),
8459
+ onClick: u[27] || (u[27] = (g) => r(16)),
8460
8460
  class: "sector-field",
8461
8461
  x: "265.347",
8462
8462
  y: "29.6804",
@@ -8468,7 +8468,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8468
8468
  fill: a.value.includes(16) ? "#FFFF0030" : "#2e3b46"
8469
8469
  }, null, 8, Kf),
8470
8470
  o("rect", {
8471
- onClick: u[28] || (u[28] = (g) => d(18)),
8471
+ onClick: u[28] || (u[28] = (g) => r(18)),
8472
8472
  class: "sector-field",
8473
8473
  x: "91.347",
8474
8474
  y: "59.0137",
@@ -8480,7 +8480,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8480
8480
  fill: a.value.includes(18) ? "#FFFF0030" : "#2e3b46"
8481
8481
  }, null, 8, Xf),
8482
8482
  o("rect", {
8483
- onClick: u[29] || (u[29] = (g) => d(19)),
8483
+ onClick: u[29] || (u[29] = (g) => r(19)),
8484
8484
  class: "sector-field",
8485
8485
  x: "114.347",
8486
8486
  y: "59.0137",
@@ -8492,7 +8492,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8492
8492
  fill: a.value.includes(19) ? "#FFFF0030" : "#2e3b46"
8493
8493
  }, null, 8, Qf),
8494
8494
  o("rect", {
8495
- onClick: u[30] || (u[30] = (g) => d(20)),
8495
+ onClick: u[30] || (u[30] = (g) => r(20)),
8496
8496
  class: "sector-field",
8497
8497
  x: "137.347",
8498
8498
  y: "59.0137",
@@ -8504,7 +8504,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8504
8504
  fill: a.value.includes(20) ? "#FFFF0030" : "#2e3b46"
8505
8505
  }, null, 8, em),
8506
8506
  o("rect", {
8507
- onClick: u[31] || (u[31] = (g) => d(21)),
8507
+ onClick: u[31] || (u[31] = (g) => r(21)),
8508
8508
  class: "sector-field",
8509
8509
  x: "172.347",
8510
8510
  y: "59.0137",
@@ -8516,7 +8516,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8516
8516
  fill: a.value.includes(21) ? "#FFFF0030" : "#2e3b46"
8517
8517
  }, null, 8, tm),
8518
8518
  o("rect", {
8519
- onClick: u[32] || (u[32] = (g) => d(22)),
8519
+ onClick: u[32] || (u[32] = (g) => r(22)),
8520
8520
  class: "sector-field",
8521
8521
  x: "207.347",
8522
8522
  y: "59.0137",
@@ -8528,7 +8528,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8528
8528
  fill: a.value.includes(22) ? "#FFFF0030" : "#2e3b46"
8529
8529
  }, null, 8, im),
8530
8530
  o("rect", {
8531
- onClick: u[33] || (u[33] = (g) => d(23)),
8531
+ onClick: u[33] || (u[33] = (g) => r(23)),
8532
8532
  class: "sector-field",
8533
8533
  x: "242.347",
8534
8534
  y: "59.0137",
@@ -8540,7 +8540,7 @@ const Ue = (e) => (me("data-v-378bf7e2"), e = e(), he(), e), _f = { class: "temp
8540
8540
  fill: a.value.includes(23) ? "#FFFF0030" : "#2e3b46"
8541
8541
  }, null, 8, sm),
8542
8542
  o("rect", {
8543
- onClick: u[34] || (u[34] = (g) => d(24)),
8543
+ onClick: u[34] || (u[34] = (g) => r(24)),
8544
8544
  class: "sector-field",
8545
8545
  x: "265.347",
8546
8546
  y: "59.0137",
@@ -8639,7 +8639,7 @@ const Sm = { class: "what-happened" }, Cm = { class: "what-happened__all" }, xm
8639
8639
  setup(e, { expose: s, emit: t }) {
8640
8640
  const i = e, n = M(() => i.whatHappenedFilters.reduce((y, _) => (_.child ? _.child.forEach((v) => {
8641
8641
  v.isSelected && y++;
8642
- }) : _.isSelected && y++, y), 0)), a = M(() => i.whatHappenedFilters.reduce((y, _) => (_.child ? y += _.child.length : y++, y), 0)), l = M(() => n.value === a.value), r = M(() => n.value === 1);
8642
+ }) : _.isSelected && y++, y), 0)), a = M(() => i.whatHappenedFilters.reduce((y, _) => (_.child ? y += _.child.length : y++, y), 0)), l = M(() => n.value === a.value), d = M(() => n.value === 1);
8643
8643
  L(
8644
8644
  () => i.whatHappenedFilters,
8645
8645
  (y) => {
@@ -8650,7 +8650,7 @@ const Sm = { class: "what-happened" }, Cm = { class: "what-happened__all" }, xm
8650
8650
  immediate: !0
8651
8651
  }
8652
8652
  );
8653
- function d(y) {
8653
+ function r(y) {
8654
8654
  i.whatHappenedFilters.forEach((_) => {
8655
8655
  y ? (_.isSelected = y, _.child && _.child.forEach((v) => {
8656
8656
  v.isSelected = y;
@@ -8685,7 +8685,7 @@ const Sm = { class: "what-happened" }, Cm = { class: "what-happened__all" }, xm
8685
8685
  label: "Todos",
8686
8686
  "model-value": l.value,
8687
8687
  "box-position": "right",
8688
- "onUpdate:modelValue": d
8688
+ "onUpdate:modelValue": r
8689
8689
  }, null, 8, ["model-value"])
8690
8690
  ]),
8691
8691
  o("div", xm, [
@@ -8698,7 +8698,7 @@ const Sm = { class: "what-happened" }, Cm = { class: "what-happened__all" }, xm
8698
8698
  x(I(Z), {
8699
8699
  "model-value": v.isSelected,
8700
8700
  label: e.isFemale ? v.text.replace("Ganados por portero rival", "Ganados por portera rival").replace("Ganados por jugador rival", "Ganados por jugadora rival") : v.text,
8701
- "avoid-interaction": r.value && v.isSelected,
8701
+ "avoid-interaction": d.value && v.isSelected,
8702
8702
  "onUpdate:modelValue": (E) => c(E, v)
8703
8703
  }, null, 8, ["model-value", "label", "avoid-interaction", "onUpdate:modelValue"])
8704
8704
  ]),
@@ -8709,7 +8709,7 @@ const Sm = { class: "what-happened" }, Cm = { class: "what-happened__all" }, xm
8709
8709
  x(I(Z), {
8710
8710
  "model-value": E.isSelected,
8711
8711
  label: e.isFemale ? E.text.replace("Ganados por portero rival", "Ganados por portera rival").replace("Ganados por jugador rival", "Ganados por jugadora rival") : E.text,
8712
- "avoid-interaction": r.value && E.isSelected,
8712
+ "avoid-interaction": d.value && E.isSelected,
8713
8713
  "onUpdate:modelValue": (H) => m(H, v, E)
8714
8714
  }, null, 8, ["model-value", "label", "avoid-interaction", "onUpdate:modelValue"])
8715
8715
  ]))), 128))
@@ -8717,7 +8717,7 @@ const Sm = { class: "what-happened" }, Cm = { class: "what-happened__all" }, xm
8717
8717
  x(I(Z), {
8718
8718
  "model-value": v.isSelected,
8719
8719
  label: e.isFemale ? v.text.replace("Ganados por portero rival", "Ganados por portera rival").replace("Ganados por jugador rival", "Ganados por jugadora rival") : v.text,
8720
- "avoid-interaction": r.value && v.isSelected,
8720
+ "avoid-interaction": d.value && v.isSelected,
8721
8721
  "onUpdate:modelValue": (E) => u(E, v)
8722
8722
  }, null, 8, ["model-value", "label", "avoid-interaction", "onUpdate:modelValue"])
8723
8723
  ]))
@@ -8783,13 +8783,13 @@ const Ms = (e) => (me("data-v-ee3b28d3"), e = e(), he(), e), $m = { class: "temp
8783
8783
  emits: ["update:resultsFilters", "change-filters-selected", "update:filters"],
8784
8784
  setup(e, { expose: s, emit: t }) {
8785
8785
  const i = e, n = T(null), a = M(() => {
8786
- const d = n.value.isMoment ? n.value.results.moment.filter((c) => c.isSelected).length : n.value.results.final.filter((c) => c.isSelected).length;
8787
- return t("change-filters-selected", d), d;
8786
+ const r = n.value.isMoment ? n.value.results.moment.filter((c) => c.isSelected).length : n.value.results.final.filter((c) => c.isSelected).length;
8787
+ return t("change-filters-selected", r), r;
8788
8788
  }), l = M(() => n.value.isMoment ? "Resultado al momento del cobro" : "Resultado al final del partido");
8789
8789
  L(
8790
8790
  () => i.resultsFilters,
8791
- (d) => {
8792
- n.value === null && (n.value = { ...d });
8791
+ (r) => {
8792
+ n.value === null && (n.value = { ...r });
8793
8793
  },
8794
8794
  {
8795
8795
  deep: !0,
@@ -8797,24 +8797,24 @@ const Ms = (e) => (me("data-v-ee3b28d3"), e = e(), he(), e), $m = { class: "temp
8797
8797
  }
8798
8798
  ), L(
8799
8799
  n,
8800
- (d) => {
8801
- t("update:filters", d);
8800
+ (r) => {
8801
+ t("update:filters", r);
8802
8802
  },
8803
8803
  {
8804
8804
  deep: !0,
8805
8805
  immediate: !0
8806
8806
  }
8807
8807
  );
8808
- function r() {
8809
- n.value.isMoment = !1, n.value.results.moment.forEach((d) => {
8810
- d.isSelected = !0;
8811
- }), n.value.results.final.forEach((d) => {
8812
- d.isSelected = !0;
8808
+ function d() {
8809
+ n.value.isMoment = !1, n.value.results.moment.forEach((r) => {
8810
+ r.isSelected = !0;
8811
+ }), n.value.results.final.forEach((r) => {
8812
+ r.isSelected = !0;
8813
8813
  });
8814
8814
  }
8815
8815
  return s({
8816
- removeFilters: r
8817
- }), (d, c) => (p(), f("div", $m, [
8816
+ removeFilters: d
8817
+ }), (r, c) => (p(), f("div", $m, [
8818
8818
  J(o("div", Am, [
8819
8819
  Pm,
8820
8820
  x(ft, {
@@ -8879,7 +8879,7 @@ const Lm = { class: "years" }, Nm = ["onClick"], Dm = {
8879
8879
  key: l,
8880
8880
  class: "item",
8881
8881
  style: { padding: "5px 10px" },
8882
- onClick: (r) => t(a)
8882
+ onClick: (d) => t(a)
8883
8883
  }, B(a), 9, Nm))), 128))
8884
8884
  ]),
8885
8885
  _: 1
@@ -8919,24 +8919,24 @@ const Lm = { class: "years" }, Nm = ["onClick"], Dm = {
8919
8919
  name: "Todas las posiciones",
8920
8920
  isSelected: !1
8921
8921
  }, n = T(""), a = M(() => {
8922
- let r = t.positions && t.positions.length ? [...t.positions] : [];
8923
- const d = r[0];
8924
- return (!d || d.id !== 0) && r.unshift(i), r.sort((c, m) => c.id - m.id), r;
8922
+ let d = t.positions && t.positions.length ? [...t.positions] : [];
8923
+ const r = d[0];
8924
+ return (!r || r.id !== 0) && d.unshift(i), d.sort((c, m) => c.id - m.id), d;
8925
8925
  });
8926
8926
  L(
8927
8927
  a,
8928
- (r) => {
8929
- const d = r.filter((c) => c.isSelected);
8930
- d.length === a.value.length - 1 && (r[0].isSelected = !0), r[0] && r[0].isSelected ? n.value = "Todas las posiciones" : d.length === 1 ? n.value = d[0].name : n.value = `${d.length} seleccionadas`, s("change-positions", r);
8928
+ (d) => {
8929
+ const r = d.filter((c) => c.isSelected);
8930
+ r.length === a.value.length - 1 && (d[0].isSelected = !0), d[0] && d[0].isSelected ? n.value = "Todas las posiciones" : r.length === 1 ? n.value = r[0].name : n.value = `${r.length} seleccionadas`, s("change-positions", d);
8931
8931
  },
8932
8932
  { immediate: !0, deep: !0 }
8933
8933
  );
8934
- function l(r, d) {
8935
- d.id === 0 ? a.value.forEach((c) => {
8936
- c.isSelected = r;
8937
- }) : (d.isSelected = r, a.value[0].isSelected = a.value.every((c, m) => m === 0 ? !0 : c.isSelected));
8934
+ function l(d, r) {
8935
+ r.id === 0 ? a.value.forEach((c) => {
8936
+ c.isSelected = d;
8937
+ }) : (r.isSelected = d, a.value[0].isSelected = a.value.every((c, m) => m === 0 ? !0 : c.isSelected));
8938
8938
  }
8939
- return (r, d) => (p(), f("div", zm, [
8939
+ return (d, r) => (p(), f("div", zm, [
8940
8940
  x(ut, { height: "200px" }, {
8941
8941
  default: X(() => [
8942
8942
  (p(!0), f(z, null, te(a.value, (c, m) => (p(), f("div", {
@@ -8994,28 +8994,28 @@ const Lm = { class: "years" }, Nm = ["onClick"], Dm = {
8994
8994
  name: "Todas las nacionalidades",
8995
8995
  isSelected: !1
8996
8996
  }, n = T(""), a = M(() => {
8997
- let r = t.nationalities && t.nationalities.length ? [...t.nationalities] : [], d = [];
8998
- const c = r.find((g) => g.id === 138), m = r.find((g) => g.id === 0), u = r.filter((g) => g.id !== 138);
8999
- return u.sort((g, y) => g.name.localeCompare(y.name)), c && (d = [c, ...u]), m || (d = [i, ...d]), d;
8997
+ let d = t.nationalities && t.nationalities.length ? [...t.nationalities] : [], r = [];
8998
+ const c = d.find((g) => g.id === 138), m = d.find((g) => g.id === 0), u = d.filter((g) => g.id !== 138);
8999
+ return u.sort((g, y) => g.name.localeCompare(y.name)), c && (r = [c, ...u]), m || (r = [i, ...r]), r;
9000
9000
  });
9001
9001
  L(
9002
9002
  a,
9003
- (r) => {
9004
- const d = r.filter((m) => m.isSelected);
9005
- d.length === a.value.length - 1 && (r[0].isSelected = !0), r[0] && r[0].isSelected ? n.value = "Todas las posiciones" : d.length === 1 ? n.value = d[0].name : n.value = `${d.length} seleccionadas`;
9006
- const c = r.filter((m) => m.id !== 0 && m.isSelected);
9003
+ (d) => {
9004
+ const r = d.filter((m) => m.isSelected);
9005
+ r.length === a.value.length - 1 && (d[0].isSelected = !0), d[0] && d[0].isSelected ? n.value = "Todas las posiciones" : r.length === 1 ? n.value = r[0].name : n.value = `${r.length} seleccionadas`;
9006
+ const c = d.filter((m) => m.id !== 0 && m.isSelected);
9007
9007
  s("change-nationality", c);
9008
9008
  },
9009
9009
  { immediate: !0, deep: !0 }
9010
9010
  );
9011
- function l(r, d) {
9012
- d.id === 0 ? a.value.forEach((c) => {
9013
- r ? c.isSelected = r : c.isSelected = c.id === 138;
9014
- }) : (d.isSelected = r, a.value[0].isSelected = a.value.every(
9011
+ function l(d, r) {
9012
+ r.id === 0 ? a.value.forEach((c) => {
9013
+ d ? c.isSelected = d : c.isSelected = c.id === 138;
9014
+ }) : (r.isSelected = d, a.value[0].isSelected = a.value.every(
9015
9015
  (c, m) => m === 0 ? !0 : c.isSelected
9016
9016
  ));
9017
9017
  }
9018
- return (r, d) => (p(), f("div", Hm, [
9018
+ return (d, r) => (p(), f("div", Hm, [
9019
9019
  x(ut, { height: "200px" }, {
9020
9020
  default: X(() => [
9021
9021
  (p(!0), f(z, null, te(a.value, (c, m) => (p(), f("div", {
@@ -9445,11 +9445,11 @@ const Gm = {
9445
9445
  playingAs: i.playingAs,
9446
9446
  gameSections: i.gameSections,
9447
9447
  statisticType: i.statisticType
9448
- }), r = T({
9448
+ }), d = T({
9449
9449
  areYellowCardsSelected: !1,
9450
9450
  areRedCardsSelected: !1,
9451
9451
  areFoulsCommittedSelected: !1
9452
- }), d = T(null), c = T(null), m = T(null), u = T(null), g = T(null), y = M(() => ({
9452
+ }), r = T(null), c = T(null), m = T(null), u = T(null), g = T(null), y = M(() => ({
9453
9453
  "--width": i.width,
9454
9454
  "--max-width": i.maxWidth,
9455
9455
  "--background-color": i.backgroundColor,
@@ -9556,7 +9556,7 @@ const Gm = {
9556
9556
  S.isSelected = !0;
9557
9557
  }) : i.filterType === h.GOLSTATS ? i.playsGolstatsCategories.forEach((S) => {
9558
9558
  S.isSelected = !1;
9559
- }) : i.filterType === h.UNIVERSE ? d.value && d.value.resetFilters() : i.filterType === h.PERSONAL_DATA ? (n.value && n.value.onClearFilters(A || We.All), t("change-personal-data-filters", {})) : i.filterType === h.DISTANCE ? t("update:filters", {
9559
+ }) : i.filterType === h.UNIVERSE ? r.value && r.value.resetFilters() : i.filterType === h.PERSONAL_DATA ? (n.value && n.value.onClearFilters(A || We.All), t("change-personal-data-filters", {})) : i.filterType === h.DISTANCE ? t("update:filters", {
9560
9560
  minValue: i.distanceFilters.minLimit,
9561
9561
  maxValue: i.distanceFilters.maxLimit
9562
9562
  }) : i.filterType === h.RESULTS ? t("update:filters", {
@@ -9604,7 +9604,7 @@ const Gm = {
9604
9604
  const S = {
9605
9605
  playsCategories: v.value.filter((D) => D.isSelected)
9606
9606
  };
9607
- a.value = S.playsCategories.length === v.value.length, A = S.playsCategories.length, Object.values(r.value).forEach((D) => {
9607
+ a.value = S.playsCategories.length === v.value.length, A = S.playsCategories.length, Object.values(d.value).forEach((D) => {
9608
9608
  D && A++;
9609
9609
  }), t("change-filters-selected", A), t("update:filters", S);
9610
9610
  }
@@ -9612,9 +9612,9 @@ const Gm = {
9612
9612
  let A = 0;
9613
9613
  const S = {
9614
9614
  productivityFilters: _.value.filter((D) => D.isSelected),
9615
- offensesConditions: r.value
9615
+ offensesConditions: d.value
9616
9616
  };
9617
- A = S.productivityFilters.length, Object.values(r.value).forEach((D) => {
9617
+ A = S.productivityFilters.length, Object.values(d.value).forEach((D) => {
9618
9618
  D && A++;
9619
9619
  }), t("change-filters-selected", A), t("update:filters", S);
9620
9620
  }
@@ -9653,7 +9653,7 @@ const Gm = {
9653
9653
  (i.filterType === h.PLAYS_TYPES || i.filterType === h.GOLSTATS) && t("update:filters", A);
9654
9654
  }
9655
9655
  function Y(A) {
9656
- i.filterType === h.PRODUCTIVITY && (r.value = A, ee());
9656
+ i.filterType === h.PRODUCTIVITY && (d.value = A, ee());
9657
9657
  }
9658
9658
  function $(A) {
9659
9659
  i.filterType === h.DISTANCE && t("update:filters", A);
@@ -9782,7 +9782,7 @@ const Gm = {
9782
9782
  e.filterType === I(h).UNIVERSE ? (p(), f("div", lh, [
9783
9783
  x(vn, {
9784
9784
  ref_key: "templateUniverse",
9785
- ref: d,
9785
+ ref: r,
9786
9786
  "universe-filters": e.universeFilters,
9787
9787
  "default-month-index": e.universeDefaultMonthIndex,
9788
9788
  "onUpdate:universeFilters": fe
@@ -9964,10 +9964,10 @@ const Gm = {
9964
9964
  const t = e;
9965
9965
  we((y) => ({
9966
9966
  "398d9242": e.width,
9967
- f164e302: d.value,
9967
+ f164e302: r.value,
9968
9968
  "4bb88040": e.menuWidth
9969
9969
  }));
9970
- const i = T(null), n = T(!1), a = T(null), l = T({}), r = M(() => {
9970
+ const i = T(null), n = T(!1), a = T(null), l = T({}), d = M(() => {
9971
9971
  const y = {
9972
9972
  top: "0px",
9973
9973
  "--left-menu": t.leftMenu
@@ -9977,7 +9977,7 @@ const Gm = {
9977
9977
  y.top = `${_.height + t.menuMarginTop}px`;
9978
9978
  }
9979
9979
  return y;
9980
- }), d = M(() => n.value ? t.zIndexOpen : 1);
9980
+ }), r = M(() => n.value ? t.zIndexOpen : 1);
9981
9981
  L(
9982
9982
  () => t.modelValue,
9983
9983
  (y) => {
@@ -10034,7 +10034,7 @@ const Gm = {
10034
10034
  ref_key: "menu",
10035
10035
  ref: a,
10036
10036
  class: "menu-container__menu",
10037
- style: W(r.value)
10037
+ style: W(d.value)
10038
10038
  }, [
10039
10039
  tt(y.$slots, "menu", {}, void 0, !0)
10040
10040
  ], 4), [
@@ -10332,13 +10332,13 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
10332
10332
  h.PLAYS,
10333
10333
  h.RESULTS,
10334
10334
  h.RESULTS_BY_TIME
10335
- ].includes(s.iconType)), a = M(() => [h.FIELD, h.GAMES].includes(s.iconType)), l = M(() => [h.DETAILS, h.UNIVERSE].includes(s.iconType)), r = M(() => [h.PERSONAL_DATA].includes(s.iconType)), d = M(() => [h.PRODUCTIVITY].includes(s.iconType)), c = M(() => [h.HOW_WAS_CORNER].includes(s.iconType)), m = M(() => [h.TAKEN_CORNERS].includes(s.iconType)), u = M(() => [h.ZONE].includes(s.iconType)), g = M(() => [h.WHAT_HAPPENED].includes(s.iconType));
10335
+ ].includes(s.iconType)), a = M(() => [h.FIELD, h.GAMES].includes(s.iconType)), l = M(() => [h.DETAILS, h.UNIVERSE].includes(s.iconType)), d = M(() => [h.PERSONAL_DATA].includes(s.iconType)), r = M(() => [h.PRODUCTIVITY].includes(s.iconType)), c = M(() => [h.HOW_WAS_CORNER].includes(s.iconType)), m = M(() => [h.TAKEN_CORNERS].includes(s.iconType)), u = M(() => [h.ZONE].includes(s.iconType)), g = M(() => [h.WHAT_HAPPENED].includes(s.iconType));
10336
10336
  return (y, _) => (p(), f("div", {
10337
10337
  class: "button",
10338
10338
  style: W(t.value)
10339
10339
  }, [
10340
10340
  e.showIcon ? (p(), f("div", Fh, [
10341
- r.value ? (p(), f("svg", Eh, [
10341
+ d.value ? (p(), f("svg", Eh, [
10342
10342
  o("path", {
10343
10343
  d: "M12.6665 16.0001V14.3334C12.6665 13.4494 12.3153 12.6015 11.6902 11.9764C11.0651 11.3513 10.2173 11.0001 9.33323 11.0001H4.33329C3.44925 11.0001 2.60141 11.3513 1.9763 11.9764C1.35119 12.6015 1 13.4494 1 14.3334V16.0001",
10344
10344
  stroke: e.iconColor,
@@ -10425,7 +10425,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
10425
10425
  stroke: e.iconColor
10426
10426
  }, null, 8, Wh)
10427
10427
  ])) : P("", !0),
10428
- d.value ? (p(), f("svg", Hh, Gh)) : P("", !0),
10428
+ r.value ? (p(), f("svg", Hh, Gh)) : P("", !0),
10429
10429
  m.value ? (p(), f("svg", jh, Zh)) : P("", !0),
10430
10430
  c.value ? (p(), f("svg", Jh, Xh)) : P("", !0),
10431
10431
  u.value ? (p(), f("svg", Qh, a0)) : P("", !0),
@@ -10577,7 +10577,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
10577
10577
  function a() {
10578
10578
  i.value = !i.value, s("update:modelValue", i.value);
10579
10579
  }
10580
- return (l, r) => (p(), f("div", {
10580
+ return (l, d) => (p(), f("div", {
10581
10581
  class: "panel",
10582
10582
  style: W(n.value)
10583
10583
  }, [
@@ -11012,7 +11012,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11012
11012
  {
11013
11013
  name: "Sub-20",
11014
11014
  logo: null,
11015
- isSelected: !0,
11015
+ isSelected: !1,
11016
11016
  id: 44,
11017
11017
  show_logos: 0,
11018
11018
  tournament_type: 0,
@@ -11026,7 +11026,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11026
11026
  {
11027
11027
  name: "Sub-16",
11028
11028
  logo: null,
11029
- isSelected: !0,
11029
+ isSelected: !1,
11030
11030
  id: 1095,
11031
11031
  show_logos: 0,
11032
11032
  tournament_type: 0,
@@ -11041,7 +11041,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11041
11041
  {
11042
11042
  name: "Tournoi Maurice Revello",
11043
11043
  logo: null,
11044
- isSelected: !0,
11044
+ isSelected: !1,
11045
11045
  id: 108,
11046
11046
  show_logos: 0,
11047
11047
  tournament_type: 0,
@@ -11079,7 +11079,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11079
11079
  {
11080
11080
  name: "Sub-23",
11081
11081
  logo: null,
11082
- isSelected: !0,
11082
+ isSelected: !1,
11083
11083
  id: 1143,
11084
11084
  show_logos: 0,
11085
11085
  tournament_type: 0,
@@ -11089,7 +11089,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11089
11089
  {
11090
11090
  name: "FIFA World Cup",
11091
11091
  logo: null,
11092
- isSelected: !0,
11092
+ isSelected: !1,
11093
11093
  id: 33,
11094
11094
  show_logos: 0,
11095
11095
  tournament_type: 1,
@@ -11102,7 +11102,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11102
11102
  {
11103
11103
  name: "Liga MX",
11104
11104
  logo: "https://golstatsimages.blob.core.windows.net/tournaments/liga_mx.png",
11105
- isSelected: !0,
11105
+ isSelected: !1,
11106
11106
  id: 1,
11107
11107
  show_logos: 1,
11108
11108
  tournament_type: 0,
@@ -11172,7 +11172,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11172
11172
  {
11173
11173
  name: "Liga Expansion MX",
11174
11174
  logo: "https://golstatsimages.blob.core.windows.net/tournaments/expansion_mx.png",
11175
- isSelected: !0,
11175
+ isSelected: !1,
11176
11176
  id: 1071,
11177
11177
  show_logos: 1,
11178
11178
  tournament_type: 0,
@@ -11238,7 +11238,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11238
11238
  {
11239
11239
  name: "Copa Oro",
11240
11240
  logo: null,
11241
- isSelected: !0,
11241
+ isSelected: !1,
11242
11242
  id: 29,
11243
11243
  show_logos: 0,
11244
11244
  tournament_type: 1,
@@ -11248,7 +11248,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11248
11248
  {
11249
11249
  name: "Women Revelations Cup",
11250
11250
  logo: null,
11251
- isSelected: !0,
11251
+ isSelected: !1,
11252
11252
  id: 1137,
11253
11253
  show_logos: 0,
11254
11254
  tournament_type: 0,
@@ -11258,7 +11258,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11258
11258
  {
11259
11259
  name: "Leagues Cup",
11260
11260
  logo: null,
11261
- isSelected: !0,
11261
+ isSelected: !1,
11262
11262
  id: 1046,
11263
11263
  show_logos: 0,
11264
11264
  tournament_type: 1,
@@ -11268,7 +11268,7 @@ const Xe = (e) => (me("data-v-2504d135"), e = e(), he(), e), Fh = {
11268
11268
  {
11269
11269
  name: "Sub-18",
11270
11270
  logo: null,
11271
- isSelected: !0,
11271
+ isSelected: !1,
11272
11272
  id: 1096,
11273
11273
  show_logos: 0,
11274
11274
  tournament_type: 0,
@@ -11569,14 +11569,14 @@ const M0 = { class: "filters" }, R0 = {
11569
11569
  borderRadius: "12px",
11570
11570
  filterType: h.FIELD,
11571
11571
  isFooterVisible: !0
11572
- }, r = {
11572
+ }, d = {
11573
11573
  width: "320px",
11574
11574
  maxWidth: "320px",
11575
11575
  backgroundColor: "#2E3B46",
11576
11576
  borderRadius: "12px",
11577
11577
  filterType: h.DETAILS,
11578
11578
  isFooterVisible: !0
11579
- }, d = {
11579
+ }, r = {
11580
11580
  width: "246px",
11581
11581
  maxWidth: "246px",
11582
11582
  backgroundColor: "#2E3B46",
@@ -11727,7 +11727,7 @@ const M0 = { class: "filters" }, R0 = {
11727
11727
  };
11728
11728
  else if (S === h.DETAILS)
11729
11729
  w.value = {
11730
- ...r,
11730
+ ...d,
11731
11731
  ...i.templateProps,
11732
11732
  isPlayingAsHidden: i.filters ? i.filters.isPlayingAsHidden : Te.isPlayingAsHidden,
11733
11733
  playingAs: i.filters && i.filters.playingAs || Te.playingAs,
@@ -11740,7 +11740,7 @@ const M0 = { class: "filters" }, R0 = {
11740
11740
  i.isOneTournamentOnly && D.forEach((Se) => {
11741
11741
  Se.isSelected = Se.id === i.defaultTournamentId;
11742
11742
  }), w.value = {
11743
- ...d,
11743
+ ...r,
11744
11744
  ...i.templateProps,
11745
11745
  tournaments: D
11746
11746
  };
@@ -11864,7 +11864,7 @@ const M0 = { class: "filters" }, R0 = {
11864
11864
  };
11865
11865
  else if (i.filterType === h.DETAILS)
11866
11866
  w.value = {
11867
- ...r,
11867
+ ...d,
11868
11868
  ...i.templateProps,
11869
11869
  isPlayingAsHidden: i.filters ? i.filters.isPlayingAsHidden : Te.isPlayingAsHidden,
11870
11870
  playingAs: i.filters ? i.filters.playingAs : Te.playingAs,
@@ -11877,7 +11877,7 @@ const M0 = { class: "filters" }, R0 = {
11877
11877
  i.isOneTournamentOnly && S.forEach((D) => {
11878
11878
  D.isSelected = D.id === i.defaultTournamentId;
11879
11879
  }), w.value = {
11880
- ...d,
11880
+ ...r,
11881
11881
  ...i.templateProps,
11882
11882
  tournaments: S
11883
11883
  };
@@ -12206,29 +12206,29 @@ const N0 = { class: "dropdown__position" }, D0 = {
12206
12206
  name: "Todas las posiciones",
12207
12207
  isSelected: !1
12208
12208
  }, n = T(""), a = M(() => {
12209
- const d = { ...Le };
12209
+ const r = { ...Le };
12210
12210
  return t.dropdownProps && Object.keys(t.dropdownProps).forEach((c) => {
12211
- d[c] = t.dropdownProps[c];
12212
- }), d;
12211
+ r[c] = t.dropdownProps[c];
12212
+ }), r;
12213
12213
  }), l = M(() => {
12214
- let d = t.positions && t.positions.length ? [...t.positions] : [];
12215
- const c = d[0];
12216
- return (!c || c.id !== 0) && d.unshift(i), d.sort((m, u) => m.id - u.id), d;
12214
+ let r = t.positions && t.positions.length ? [...t.positions] : [];
12215
+ const c = r[0];
12216
+ return (!c || c.id !== 0) && r.unshift(i), r.sort((m, u) => m.id - u.id), r;
12217
12217
  });
12218
12218
  L(
12219
12219
  l,
12220
- (d) => {
12221
- const c = d.filter((m) => m.isSelected);
12222
- c.length === l.value.length - 1 && (d[0].isSelected = !0), d[0] && d[0].isSelected ? n.value = "Todas las posiciones" : c.length === 1 ? n.value = c[0].name : n.value = `${c.length} seleccionadas`, s("change-positions", d);
12220
+ (r) => {
12221
+ const c = r.filter((m) => m.isSelected);
12222
+ c.length === l.value.length - 1 && (r[0].isSelected = !0), r[0] && r[0].isSelected ? n.value = "Todas las posiciones" : c.length === 1 ? n.value = c[0].name : n.value = `${c.length} seleccionadas`, s("change-positions", r);
12223
12223
  },
12224
12224
  { immediate: !0, deep: !0 }
12225
12225
  );
12226
- function r(d, c) {
12226
+ function d(r, c) {
12227
12227
  c.id === 0 ? l.value.forEach((m) => {
12228
- m.isSelected = d;
12229
- }) : (c.isSelected = d, l.value[0].isSelected = l.value.every((m, u) => u === 0 ? !0 : m.isSelected));
12228
+ m.isSelected = r;
12229
+ }) : (c.isSelected = r, l.value[0].isSelected = l.value.every((m, u) => u === 0 ? !0 : m.isSelected));
12230
12230
  }
12231
- return (d, c) => (p(), f("div", N0, [
12231
+ return (r, c) => (p(), f("div", N0, [
12232
12232
  e.isLabelVisible ? (p(), f("div", D0, "Posición")) : P("", !0),
12233
12233
  x(I(Fe), ye(a.value, {
12234
12234
  "is-multiple-option": "",
@@ -12250,7 +12250,7 @@ const N0 = { class: "dropdown__position" }, D0 = {
12250
12250
  label: e.isFemale ? m.name.replace("Portero", "Portera").replace("Delantero", "Delantera").replace("Volante defensivo", "Volante defensiva").replace("Volante ofensivo", "Volante ofensiva") : m.name,
12251
12251
  fontFamily: e.fontFamily,
12252
12252
  width: "100%",
12253
- "onUpdate:modelValue": (u) => r(u, m)
12253
+ "onUpdate:modelValue": (u) => d(u, m)
12254
12254
  }, null, 8, ["model-value", "label", "fontFamily", "onUpdate:modelValue"])
12255
12255
  ])
12256
12256
  ]),
@@ -12712,7 +12712,7 @@ function Oe(e) {
12712
12712
  }
12713
12713
  return es(Xi);
12714
12714
  }
12715
- const Q0 = (e) => (me("data-v-ac1dd45f"), e = e(), he(), e), e2 = { class: "dropdown__position" }, t2 = {
12715
+ const Q0 = (e) => (me("data-v-22d998f5"), e = e(), he(), e), e2 = { class: "dropdown__position" }, t2 = {
12716
12716
  key: 0,
12717
12717
  class: "label"
12718
12718
  }, i2 = { class: "selected-item" }, s2 = { class: "item-position" }, a2 = {
@@ -12794,27 +12794,37 @@ const Q0 = (e) => (me("data-v-ac1dd45f"), e = e(), he(), e), e2 = { class: "drop
12794
12794
  dropdownProps: {
12795
12795
  type: Object,
12796
12796
  default: () => null
12797
+ },
12798
+ defaultPositionName: {
12799
+ type: String,
12800
+ default: ""
12797
12801
  }
12798
12802
  },
12799
12803
  emits: ["change-position"],
12800
12804
  setup(e, { emit: s }) {
12801
12805
  const t = e, i = T({}), n = M(() => {
12802
- const r = { ...Le };
12803
- return t.dropdownProps && Object.keys(t.dropdownProps).forEach((d) => {
12804
- r[d] = t.dropdownProps[d];
12805
- }), r;
12806
+ const d = { ...Le };
12807
+ return t.dropdownProps && Object.keys(t.dropdownProps).forEach((r) => {
12808
+ d[r] = t.dropdownProps[r];
12809
+ }), d;
12806
12810
  }), a = M(() => t.positions && t.positions.length ? [...t.positions] : []);
12807
12811
  L(
12808
12812
  a,
12809
- (r) => {
12810
- i.value.ids || (i.value = r[0]);
12813
+ (d) => {
12814
+ if (t.defaultPositionName) {
12815
+ const r = d.find(
12816
+ (c) => c.name === t.defaultPositionName
12817
+ );
12818
+ r && (i.value = r);
12819
+ } else
12820
+ i.value.ids || (i.value = d[0]);
12811
12821
  },
12812
12822
  { immediate: !0, deep: !0 }
12813
12823
  );
12814
- function l(r) {
12815
- i.value = r, s("change-position", r);
12824
+ function l(d) {
12825
+ i.value = d, s("change-position", d);
12816
12826
  }
12817
- return (r, d) => (p(), f("div", e2, [
12827
+ return (d, r) => (p(), f("div", e2, [
12818
12828
  e.isLabelVisible ? (p(), f("div", t2, "Posición")) : P("", !0),
12819
12829
  x(I(Fe), ye(n.value, {
12820
12830
  items: a.value,
@@ -12838,7 +12848,7 @@ const Q0 = (e) => (me("data-v-ac1dd45f"), e = e(), he(), e), e2 = { class: "drop
12838
12848
  }, 16, ["items", "model-value"])
12839
12849
  ]));
12840
12850
  }
12841
- }, T2 = /* @__PURE__ */ K(l2, [["__scopeId", "data-v-ac1dd45f"]]);
12851
+ }, T2 = /* @__PURE__ */ K(l2, [["__scopeId", "data-v-22d998f5"]]);
12842
12852
  const r2 = { class: "dropdown-years" }, d2 = {
12843
12853
  key: 0,
12844
12854
  class: "label"
@@ -12878,24 +12888,24 @@ const r2 = { class: "dropdown-years" }, d2 = {
12878
12888
  setup(e, { emit: s }) {
12879
12889
  const t = e, i = M(() => {
12880
12890
  const l = { ...Le };
12881
- return t.dropdownProps && Object.keys(t.dropdownProps).forEach((r) => {
12882
- l[r] = t.dropdownProps[r];
12891
+ return t.dropdownProps && Object.keys(t.dropdownProps).forEach((d) => {
12892
+ l[d] = t.dropdownProps[d];
12883
12893
  }), l;
12884
12894
  }), n = M(() => t.hasNoLimitOption ? ["Sin límite", ...t.years] : t.years);
12885
12895
  function a(l) {
12886
12896
  s("change-year", l);
12887
12897
  }
12888
- return (l, r) => (p(), f("div", r2, [
12898
+ return (l, d) => (p(), f("div", r2, [
12889
12899
  e.isLabelVisible ? (p(), f("div", d2, "Año")) : P("", !0),
12890
12900
  x(I(Fe), ye({ "model-value": e.selectedYear }, i.value, {
12891
12901
  items: n.value,
12892
12902
  "onUpdate:modelValue": a
12893
12903
  }), {
12894
- default: X(({ selectedItem: d }) => [
12895
- o("div", c2, B(Number.isNaN(Number(d)) ? d : `${e.selectedItemPrefix} ${d}`), 1)
12904
+ default: X(({ selectedItem: r }) => [
12905
+ o("div", c2, B(Number.isNaN(Number(r)) ? r : `${e.selectedItemPrefix} ${r}`), 1)
12896
12906
  ]),
12897
- availableItem: X(({ item: d }) => [
12898
- o("div", null, B(d), 1)
12907
+ availableItem: X(({ item: r }) => [
12908
+ o("div", null, B(r), 1)
12899
12909
  ]),
12900
12910
  _: 1
12901
12911
  }, 16, ["model-value", "items"])
@@ -12948,26 +12958,26 @@ const p2 = (e) => (me("data-v-8bd3ce77"), e = e(), he(), e), f2 = { class: "drop
12948
12958
  emits: ["change-template"],
12949
12959
  setup(e, { emit: s }) {
12950
12960
  const t = e, i = T([]), n = T(null), a = M(() => {
12951
- const d = { ...Le };
12961
+ const r = { ...Le };
12952
12962
  return t.dropdownProps && Object.keys(t.dropdownProps).forEach((c) => {
12953
- d[c] = t.dropdownProps[c];
12954
- }), d;
12963
+ r[c] = t.dropdownProps[c];
12964
+ }), r;
12955
12965
  });
12956
12966
  L(
12957
12967
  () => t.teamId,
12958
- (d) => {
12959
- d && r();
12968
+ (r) => {
12969
+ r && d();
12960
12970
  },
12961
12971
  {
12962
12972
  immediate: !0
12963
12973
  }
12964
12974
  );
12965
- function l(d) {
12966
- n.value = d, s("change-template", d);
12975
+ function l(r) {
12976
+ n.value = r, s("change-template", r);
12967
12977
  }
12968
- async function r() {
12978
+ async function d() {
12969
12979
  try {
12970
- const d = await Ge.get(
12980
+ const r = await Ge.get(
12971
12981
  `https://a3tmmmjdaj.execute-api.us-east-2.amazonaws.com/prod/teams/${t.teamId}/templates`,
12972
12982
  {
12973
12983
  headers: {
@@ -12975,12 +12985,12 @@ const p2 = (e) => (me("data-v-8bd3ce77"), e = e(), he(), e), f2 = { class: "drop
12975
12985
  }
12976
12986
  }
12977
12987
  );
12978
- i.value = d.data && d.data.data ? d.data.data : [];
12979
- } catch (d) {
12980
- console.error("Error filling templates: ", d);
12988
+ i.value = r.data && r.data.data ? r.data.data : [];
12989
+ } catch (r) {
12990
+ console.error("Error filling templates: ", r);
12981
12991
  }
12982
12992
  }
12983
- return r(), (d, c) => (p(), f("div", f2, [
12993
+ return d(), (r, c) => (p(), f("div", f2, [
12984
12994
  e.isLabelVisible ? (p(), f("div", m2, "Variables")) : P("", !0),
12985
12995
  x(I(Fe), ye({ "model-value": e.selectedTemplate }, a.value, {
12986
12996
  items: i.value,