@golstats/gsc-game-data 1.0.24 → 1.0.25

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.
@@ -397,7 +397,7 @@ const P7 = /* @__PURE__ */ S7(sp, [["render", R7], ["__scopeId", "data-v-fb269a1
397
397
  (f(!0), _(E, null, me(e.items, (b, v) => (f(), _("div", {
398
398
  class: u(["gsc-dropdown__items__item", { selected: v === o.value }]),
399
399
  key: v,
400
- onClick: (S) => m(b, v)
400
+ onClick: (k) => m(b, v)
401
401
  }, [
402
402
  Xe(g.$slots, "availableItem", { item: b })
403
403
  ], 10, D7))), 128))
@@ -979,7 +979,7 @@ const i9 = /* @__PURE__ */ J7(ip, [["render", s9], ["__scopeId", "data-v-fb269a1
979
979
  (f(!0), _(E, null, me(e.items, (b, v) => (f(), _("div", {
980
980
  class: u(["gsc-dropdown__items__item", { selected: v === o.value }]),
981
981
  key: v,
982
- onClick: (S) => m(b, v)
982
+ onClick: (k) => m(b, v)
983
983
  }, [
984
984
  Xe(g.$slots, "availableItem", { item: b })
985
985
  ], 10, c9))), 128))
@@ -1377,11 +1377,11 @@ function $l(e, t, a) {
1377
1377
  if (Y.endsWith(y, "{}"))
1378
1378
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
1379
1379
  else if (Y.isArray(g) && Y9(g) || (Y.isFileList(g) || Y.endsWith(y, "[]")) && (v = Y.toArray(g)))
1380
- return y = F5(y), v.forEach(function(S, A) {
1381
- !(Y.isUndefined(S) || S === null) && t.append(
1380
+ return y = F5(y), v.forEach(function(k, A) {
1381
+ !(Y.isUndefined(k) || k === null) && t.append(
1382
1382
  // eslint-disable-next-line no-nested-ternary
1383
1383
  n === !0 ? o0([y], A, o) : n === null ? y : y + "[]",
1384
- p(S)
1384
+ p(k)
1385
1385
  );
1386
1386
  }), !1;
1387
1387
  }
@@ -2725,12 +2725,12 @@ var MS = ot({
2725
2725
  const o = O(null), n = O([]), c = O(0), p = O(0), d = Oe(Object.assign({}, Bt));
2726
2726
  let l = Object.assign({}, Bt), m;
2727
2727
  const h = O((i = e.modelValue) !== null && i !== void 0 ? i : 0), g = O(0), y = O(0), b = O(0), v = O(0);
2728
- let S, A;
2728
+ let k, A;
2729
2729
  ve("config", d), ve("slidesCount", p), ve("currentSlide", h), ve("maxSlide", b), ve("minSlide", v), ve("slideWidth", c);
2730
2730
  function F() {
2731
2731
  m = Object.assign({}, e.breakpoints), l = Object.assign(Object.assign(Object.assign({}, l), e), { i18n: Object.assign(Object.assign({}, l.i18n), e.i18n), breakpoints: void 0 }), x(l);
2732
2732
  }
2733
- function k() {
2733
+ function S() {
2734
2734
  if (!m || !Object.keys(m).length)
2735
2735
  return;
2736
2736
  const I = Object.keys(m).map((U) => Number(U)).sort((U, fe) => +fe - +U);
@@ -2744,7 +2744,7 @@ var MS = ot({
2744
2744
  Object.entries(I).forEach(([G, U]) => d[G] = U);
2745
2745
  }
2746
2746
  const R = DS(() => {
2747
- k(), j();
2747
+ S(), j();
2748
2748
  }, 16);
2749
2749
  function j() {
2750
2750
  if (!o.value)
@@ -2760,9 +2760,9 @@ var MS = ot({
2760
2760
  })));
2761
2761
  }
2762
2762
  at(() => {
2763
- Vs(() => j()), setTimeout(() => j(), 1e3), k(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
2763
+ Vs(() => j()), setTimeout(() => j(), 1e3), S(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
2764
2764
  }), Tt(() => {
2765
- A && clearTimeout(A), S && clearInterval(S), window.removeEventListener("resize", R, {
2765
+ A && clearTimeout(A), k && clearInterval(k), window.removeEventListener("resize", R, {
2766
2766
  passive: !0
2767
2767
  });
2768
2768
  });
@@ -2791,12 +2791,12 @@ var MS = ot({
2791
2791
  be(h.value - U), D.x = 0, D.y = 0, pe.value = !1, document.removeEventListener(B ? "touchmove" : "mousemove", T, !0), document.removeEventListener(B ? "touchend" : "mouseup", z, !0);
2792
2792
  }
2793
2793
  function xe() {
2794
- !d.autoplay || d.autoplay <= 0 || (S = setInterval(() => {
2794
+ !d.autoplay || d.autoplay <= 0 || (k = setInterval(() => {
2795
2795
  d.pauseAutoplayOnHover && X.value || Te();
2796
2796
  }, d.autoplay));
2797
2797
  }
2798
2798
  function Ae() {
2799
- S && (clearInterval(S), S = null), xe();
2799
+ k && (clearInterval(k), k = null), xe();
2800
2800
  }
2801
2801
  const ge = O(!1);
2802
2802
  function be(I) {
@@ -2853,7 +2853,7 @@ var MS = ot({
2853
2853
  };
2854
2854
  });
2855
2855
  function lt() {
2856
- F(), k(), P(), j(), Ae();
2856
+ F(), S(), P(), j(), Ae();
2857
2857
  }
2858
2858
  Object.keys(y0).forEach((I) => {
2859
2859
  ["modelValue"].includes(I) || ye(() => e[I], lt);
@@ -2873,7 +2873,7 @@ var MS = ot({
2873
2873
  middleSlide: y
2874
2874
  };
2875
2875
  s({
2876
- updateBreakpointsConfigs: k,
2876
+ updateBreakpointsConfigs: S,
2877
2877
  updateSlidesData: P,
2878
2878
  updateSlideWidth: j,
2879
2879
  initDefaultConfigs: F,
@@ -3125,7 +3125,7 @@ const US = (e, t) => {
3125
3125
  if (b && b.length && i.value) {
3126
3126
  if (s.defaultItemByProp) {
3127
3127
  const v = s.items.findIndex(
3128
- (S) => S[s.defaultItemByProp.propName] === s.defaultItemByProp.value
3128
+ (k) => k[s.defaultItemByProp.propName] === s.defaultItemByProp.value
3129
3129
  );
3130
3130
  v !== -1 ? (n.value = v, o.value = b[v]) : (n.value = 0, o.value = b[0]);
3131
3131
  } else
@@ -3174,9 +3174,9 @@ const US = (e, t) => {
3174
3174
  onSlideStart: y
3175
3175
  }, {
3176
3176
  default: Z(() => [
3177
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), V(_e(zS), { key: A }, {
3177
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), V(_e(zS), { key: A }, {
3178
3178
  default: Z(() => [
3179
- Xe(b.$slots, "default", { item: S }, void 0, !0)
3179
+ Xe(b.$slots, "default", { item: k }, void 0, !0)
3180
3180
  ]),
3181
3181
  _: 2
3182
3182
  }, 1024))), 128))
@@ -3187,7 +3187,7 @@ const US = (e, t) => {
3187
3187
  e.areSlidesArrowsVisible ? (f(), _("div", {
3188
3188
  key: 0,
3189
3189
  class: "gsc-carousel__2d__arrow-left",
3190
- onClick: v[0] || (v[0] = (S) => i.value.prev())
3190
+ onClick: v[0] || (v[0] = (k) => i.value.prev())
3191
3191
  }, [
3192
3192
  r("div", {
3193
3193
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -3205,7 +3205,7 @@ const US = (e, t) => {
3205
3205
  e.areSlidesArrowsVisible ? (f(), _("div", {
3206
3206
  key: 1,
3207
3207
  class: "gsc-carousel__2d__arrow-right",
3208
- onClick: v[1] || (v[1] = (S) => d())
3208
+ onClick: v[1] || (v[1] = (k) => d())
3209
3209
  }, [
3210
3210
  r("div", {
3211
3211
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -3224,7 +3224,7 @@ const US = (e, t) => {
3224
3224
  e.areNavigationArrowsVisible ? (f(), _("div", {
3225
3225
  key: 0,
3226
3226
  class: "gsc-carousel__2d__navigation__arrow-left",
3227
- onClick: v[2] || (v[2] = (S) => l())
3227
+ onClick: v[2] || (v[2] = (k) => l())
3228
3228
  }, [
3229
3229
  (f(), _("svg", tk, [
3230
3230
  r("path", {
@@ -3234,7 +3234,7 @@ const US = (e, t) => {
3234
3234
  ]))
3235
3235
  ])) : C("", !0),
3236
3236
  e.isPaginationVisible ? (f(), _("div", sk, [
3237
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), _("div", {
3237
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), _("div", {
3238
3238
  key: `i-${A}`,
3239
3239
  class: "gsc-carousel__2d__navigation__pagination__item",
3240
3240
  style: N({
@@ -3250,7 +3250,7 @@ const US = (e, t) => {
3250
3250
  e.areNavigationArrowsVisible ? (f(), _("div", {
3251
3251
  key: 2,
3252
3252
  class: "gsc-carousel__2d__navigation__arrow-right",
3253
- onClick: v[3] || (v[3] = (S) => i.value.next())
3253
+ onClick: v[3] || (v[3] = (k) => i.value.next())
3254
3254
  }, [
3255
3255
  (f(), _("svg", ok, [
3256
3256
  r("path", {
@@ -3518,12 +3518,12 @@ var fk = ot({
3518
3518
  const o = O(null), n = O([]), c = O(0), p = O(0), d = Oe(Object.assign({}, Et));
3519
3519
  let l = Object.assign({}, Et), m;
3520
3520
  const h = O((i = e.modelValue) !== null && i !== void 0 ? i : 0), g = O(0), y = O(0), b = O(0), v = O(0);
3521
- let S, A;
3521
+ let k, A;
3522
3522
  ve("config", d), ve("slidesCount", p), ve("currentSlide", h), ve("maxSlide", b), ve("minSlide", v), ve("slideWidth", c);
3523
3523
  function F() {
3524
3524
  m = Object.assign({}, e.breakpoints), l = Object.assign(Object.assign(Object.assign({}, l), e), { i18n: Object.assign(Object.assign({}, l.i18n), e.i18n), breakpoints: void 0 }), x(l);
3525
3525
  }
3526
- function k() {
3526
+ function S() {
3527
3527
  if (!m || !Object.keys(m).length)
3528
3528
  return;
3529
3529
  const I = Object.keys(m).map((U) => Number(U)).sort((U, fe) => +fe - +U);
@@ -3537,7 +3537,7 @@ var fk = ot({
3537
3537
  Object.entries(I).forEach(([G, U]) => d[G] = U);
3538
3538
  }
3539
3539
  const R = yk(() => {
3540
- k(), j();
3540
+ S(), j();
3541
3541
  }, 16);
3542
3542
  function j() {
3543
3543
  if (!o.value)
@@ -3553,9 +3553,9 @@ var fk = ot({
3553
3553
  })));
3554
3554
  }
3555
3555
  at(() => {
3556
- Vs(() => j()), setTimeout(() => j(), 1e3), k(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
3556
+ Vs(() => j()), setTimeout(() => j(), 1e3), S(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
3557
3557
  }), Tt(() => {
3558
- A && clearTimeout(A), S && clearInterval(S), window.removeEventListener("resize", R, {
3558
+ A && clearTimeout(A), k && clearInterval(k), window.removeEventListener("resize", R, {
3559
3559
  passive: !0
3560
3560
  });
3561
3561
  });
@@ -3584,12 +3584,12 @@ var fk = ot({
3584
3584
  be(h.value - U), D.x = 0, D.y = 0, pe.value = !1, document.removeEventListener(B ? "touchmove" : "mousemove", T, !0), document.removeEventListener(B ? "touchend" : "mouseup", z, !0);
3585
3585
  }
3586
3586
  function xe() {
3587
- !d.autoplay || d.autoplay <= 0 || (S = setInterval(() => {
3587
+ !d.autoplay || d.autoplay <= 0 || (k = setInterval(() => {
3588
3588
  d.pauseAutoplayOnHover && X.value || Te();
3589
3589
  }, d.autoplay));
3590
3590
  }
3591
3591
  function Ae() {
3592
- S && (clearInterval(S), S = null), xe();
3592
+ k && (clearInterval(k), k = null), xe();
3593
3593
  }
3594
3594
  const ge = O(!1);
3595
3595
  function be(I) {
@@ -3646,7 +3646,7 @@ var fk = ot({
3646
3646
  };
3647
3647
  });
3648
3648
  function lt() {
3649
- F(), k(), P(), j(), Ae();
3649
+ F(), S(), P(), j(), Ae();
3650
3650
  }
3651
3651
  Object.keys(f0).forEach((I) => {
3652
3652
  ["modelValue"].includes(I) || ye(() => e[I], lt);
@@ -3666,7 +3666,7 @@ var fk = ot({
3666
3666
  middleSlide: y
3667
3667
  };
3668
3668
  s({
3669
- updateBreakpointsConfigs: k,
3669
+ updateBreakpointsConfigs: S,
3670
3670
  updateSlidesData: P,
3671
3671
  updateSlideWidth: j,
3672
3672
  initDefaultConfigs: F,
@@ -4813,8 +4813,8 @@ const Ik = { class: "game-info__teams" }, Ok = { class: "game-info__teams__team_
4813
4813
  I$,
4814
4814
  r("div", O$, [
4815
4815
  r("div", T$, [
4816
- (f(!0), _(E, null, me(n.value.homeTeam, (v, S) => (f(), _("div", {
4817
- key: `h${S}`,
4816
+ (f(!0), _(E, null, me(n.value.homeTeam, (v, k) => (f(), _("div", {
4817
+ key: `h${k}`,
4818
4818
  class: "game-events__data__team__event"
4819
4819
  }, [
4820
4820
  r("img", {
@@ -4824,8 +4824,8 @@ const Ik = { class: "game-info__teams" }, Ok = { class: "game-info__teams__team_
4824
4824
  ]))), 128))
4825
4825
  ]),
4826
4826
  r("div", P$, [
4827
- (f(!0), _(E, null, me(n.value.awayTeam, (v, S) => (f(), _("div", {
4828
- key: `a${S}`,
4827
+ (f(!0), _(E, null, me(n.value.awayTeam, (v, k) => (f(), _("div", {
4828
+ key: `a${k}`,
4829
4829
  class: "game-events__data__team__event"
4830
4830
  }, [
4831
4831
  r("div", F$, w(v.text), 1),
@@ -4953,7 +4953,7 @@ const Ik = { class: "game-info__teams" }, Ok = { class: "game-info__teams__team_
4953
4953
  if (a.gamesPages.size > 0) {
4954
4954
  const d = Array.from(a.gamesPages.entries()).reduce(
4955
4955
  (l, [m, h]) => {
4956
- const g = Number(m), y = Number.isNaN(g) ? m : `Jornada ${g < 10 ? "0" : ""}${g}`, b = h.reduce((v, S) => (v.push(...S), v), []).filter((v) => s.value === 0 || s.value === 1 && v.visiting_team.team_id === a.teamId ? !0 : s.value === 2 && v.home_team.team_id === a.teamId);
4956
+ const g = Number(m), y = Number.isNaN(g) ? m : `Jornada ${g < 10 ? "0" : ""}${g}`, b = h.reduce((v, k) => (v.push(...k), v), []).filter((v) => s.value === 0 || s.value === 1 && v.visiting_team.team_id === a.teamId ? !0 : s.value === 2 && v.home_team.team_id === a.teamId);
4957
4957
  return b.length > 0 && l.push({
4958
4958
  roundName: y,
4959
4959
  games: b
@@ -5343,7 +5343,7 @@ const Ik = { class: "game-info__teams" }, Ok = { class: "game-info__teams__team_
5343
5343
  setup(e, { emit: t }) {
5344
5344
  const a = e;
5345
5345
  let s = null;
5346
- const i = O([]), o = O({}), n = O([]), c = O(0), p = O(null), d = O({}), l = O(/* @__PURE__ */ new Map()), m = O(!1), h = O(null), g = O(null), y = O(null), b = he(() => a.isCup), v = he(() => a.isCupLegacy), S = he(() => ({
5346
+ const i = O([]), o = O({}), n = O([]), c = O(0), p = O(null), d = O({}), l = O(/* @__PURE__ */ new Map()), m = O(!1), h = O(null), g = O(null), y = O(null), b = he(() => a.isCup), v = he(() => a.isCupLegacy), k = he(() => ({
5347
5347
  height: a.height,
5348
5348
  width: a.width
5349
5349
  })), A = he(() => a.games ? j(a.games) : l.value.get(d.value.key) || []);
@@ -5376,7 +5376,7 @@ const Ik = { class: "game-info__teams" }, Ok = { class: "game-info__teams__team_
5376
5376
  throw new Error(z);
5377
5377
  }
5378
5378
  }
5379
- function k(ue) {
5379
+ function S(ue) {
5380
5380
  for (const q of ue)
5381
5381
  if (!i.value.includes(q.season_id))
5382
5382
  return !0;
@@ -5390,7 +5390,7 @@ const Ik = { class: "game-info__teams" }, Ok = { class: "game-info__teams__team_
5390
5390
  ue.map((Ae) => Ae.id),
5391
5391
  3
5392
5392
  );
5393
- if (q && k(T))
5393
+ if (q && S(T))
5394
5394
  return;
5395
5395
  T.forEach((Ae) => {
5396
5396
  const { type: ge } = ue.find((be) => be.id === Ae.season_id);
@@ -5561,7 +5561,7 @@ const Ik = { class: "game-info__teams" }, Ok = { class: "game-info__teams__team_
5561
5561
  ref_key: "calendarByGame",
5562
5562
  ref: p,
5563
5563
  class: "calendar-by-game",
5564
- style: N(S.value)
5564
+ style: N(k.value)
5565
5565
  }, [
5566
5566
  e.teamId && !e.avoidTeamIdFilter ? (f(), V(W$, {
5567
5567
  key: 0,
@@ -8143,7 +8143,7 @@ const yI = /* @__PURE__ */ oI(pp, [["render", pI], ["__scopeId", "data-v-fb269a1
8143
8143
  (f(!0), _(E, null, me(e.items, (b, v) => (f(), _("div", {
8144
8144
  class: u(["gsc-dropdown__items__item", { selected: v === o.value }]),
8145
8145
  key: v,
8146
- onClick: (S) => m(b, v)
8146
+ onClick: (k) => m(b, v)
8147
8147
  }, [
8148
8148
  Xe(g.$slots, "availableItem", { item: b })
8149
8149
  ], 10, vI))), 128))
@@ -8377,8 +8377,8 @@ const mv = (e) => (we("data-v-0a23dbed"), e = e(), Ce(), e), OI = { class: "tren
8377
8377
  ]);
8378
8378
  ye(
8379
8379
  () => a.getters["nextGeneral/arrayFilledDataSortedByPriority"],
8380
- (S) => {
8381
- n.value.length === 0 && (S && S.length ? n.value = S.map((A) => {
8380
+ (k) => {
8381
+ n.value.length === 0 && (k && k.length ? n.value = k.map((A) => {
8382
8382
  const F = Object.values(A.subcategories);
8383
8383
  return {
8384
8384
  ...A,
@@ -8392,8 +8392,8 @@ const mv = (e) => (we("data-v-0a23dbed"), e = e(), Ce(), e), OI = { class: "tren
8392
8392
  },
8393
8393
  { immediate: !0 }
8394
8394
  );
8395
- function b({ data: S, subcategorySelected: A }) {
8396
- S.objectGraphProps.numberCategoryId = A, S.objectGraphProps.objectSubcategorySelected = A;
8395
+ function b({ data: k, subcategorySelected: A }) {
8396
+ k.objectGraphProps.numberCategoryId = A, k.objectGraphProps.objectSubcategorySelected = A;
8397
8397
  }
8398
8398
  function v() {
8399
8399
  if (window.ResizeObserver)
@@ -8405,7 +8405,7 @@ const mv = (e) => (we("data-v-0a23dbed"), e = e(), Ce(), e), OI = { class: "tren
8405
8405
  }
8406
8406
  return at(() => {
8407
8407
  v();
8408
- }), (S, A) => (f(), _("div", {
8408
+ }), (k, A) => (f(), _("div", {
8409
8409
  ref_key: "trendLive",
8410
8410
  ref: c,
8411
8411
  class: "trending-live"
@@ -8415,7 +8415,7 @@ const mv = (e) => (we("data-v-0a23dbed"), e = e(), Ce(), e), OI = { class: "tren
8415
8415
  }, [
8416
8416
  r("div", OI, [
8417
8417
  r("div", TI, [
8418
- (f(!0), _(E, null, me(d.value, (F, k) => (f(), _("div", { key: k }, [
8418
+ (f(!0), _(E, null, me(d.value, (F, S) => (f(), _("div", { key: S }, [
8419
8419
  L(_e(YA), va({
8420
8420
  modelValue: o.value,
8421
8421
  "onUpdate:modelValue": A[0] || (A[0] = (x) => o.value = x)
@@ -8435,9 +8435,9 @@ const mv = (e) => (we("data-v-0a23dbed"), e = e(), Ce(), e), OI = { class: "tren
8435
8435
  ])
8436
8436
  ], 2),
8437
8437
  r("div", BI, [
8438
- (f(!0), _(E, null, me(n.value, (F, k) => (f(), _("div", {
8438
+ (f(!0), _(E, null, me(n.value, (F, S) => (f(), _("div", {
8439
8439
  class: "trending-live__body__card",
8440
- key: k
8440
+ key: S
8441
8441
  }, [
8442
8442
  L(II, {
8443
8443
  data: F,
@@ -8899,15 +8899,15 @@ function Dl(e, t, a) {
8899
8899
  return K.isArrayBuffer(y) || K.isTypedArray(y) ? p && typeof Blob == "function" ? new Blob([y]) : Buffer.from(y) : y;
8900
8900
  }
8901
8901
  function l(y, b, v) {
8902
- let S = y;
8902
+ let k = y;
8903
8903
  if (y && !v && typeof y == "object") {
8904
8904
  if (K.endsWith(b, "{}"))
8905
8905
  b = s ? b : b.slice(0, -2), y = JSON.stringify(y);
8906
- else if (K.isArray(y) && DO(y) || (K.isFileList(y) || K.endsWith(b, "[]")) && (S = K.toArray(y)))
8907
- return b = Sv(b), S.forEach(function(F, k) {
8906
+ else if (K.isArray(y) && DO(y) || (K.isFileList(y) || K.endsWith(b, "[]")) && (k = K.toArray(y)))
8907
+ return b = Sv(b), k.forEach(function(F, S) {
8908
8908
  !(K.isUndefined(F) || F === null) && t.append(
8909
8909
  // eslint-disable-next-line no-nested-ternary
8910
- n === !0 ? R0([b], k, o) : n === null ? b : b + "[]",
8910
+ n === !0 ? R0([b], S, o) : n === null ? b : b + "[]",
8911
8911
  d(F)
8912
8912
  );
8913
8913
  }), !1;
@@ -8923,14 +8923,14 @@ function Dl(e, t, a) {
8923
8923
  if (!K.isUndefined(y)) {
8924
8924
  if (m.indexOf(y) !== -1)
8925
8925
  throw Error("Circular reference detected in " + b.join("."));
8926
- m.push(y), K.forEach(y, function(S, A) {
8927
- (!(K.isUndefined(S) || S === null) && i.call(
8926
+ m.push(y), K.forEach(y, function(k, A) {
8927
+ (!(K.isUndefined(k) || k === null) && i.call(
8928
8928
  t,
8929
- S,
8929
+ k,
8930
8930
  K.isString(A) ? A.trim() : A,
8931
8931
  b,
8932
8932
  h
8933
- )) === !0 && g(S, b ? b.concat(A) : [A]);
8933
+ )) === !0 && g(k, b ? b.concat(A) : [A]);
8934
8934
  }), m.pop();
8935
8935
  }
8936
8936
  }
@@ -9499,7 +9499,7 @@ const mT = typeof XMLHttpRequest < "u", hT = mT && function(e) {
9499
9499
  if (Aa.hasStandardBrowserEnv || Aa.hasStandardBrowserWebWorkerEnv)
9500
9500
  o.setContentType(!1);
9501
9501
  else if ((l = o.getContentType()) !== !1) {
9502
- const [b, ...v] = l ? l.split(";").map((S) => S.trim()).filter(Boolean) : [];
9502
+ const [b, ...v] = l ? l.split(";").map((k) => k.trim()).filter(Boolean) : [];
9503
9503
  o.setContentType([b || "multipart/form-data", ...v].join("; "));
9504
9504
  }
9505
9505
  }
@@ -9515,7 +9515,7 @@ const mT = typeof XMLHttpRequest < "u", hT = mT && function(e) {
9515
9515
  return;
9516
9516
  const b = rs.from(
9517
9517
  "getAllResponseHeaders" in m && m.getAllResponseHeaders()
9518
- ), S = {
9518
+ ), k = {
9519
9519
  data: !n || n === "text" || n === "json" ? m.responseText : m.response,
9520
9520
  status: m.status,
9521
9521
  statusText: m.statusText,
@@ -9527,7 +9527,7 @@ const mT = typeof XMLHttpRequest < "u", hT = mT && function(e) {
9527
9527
  a(F), d();
9528
9528
  }, function(F) {
9529
9529
  s(F), d();
9530
- }, S), m = null;
9530
+ }, k), m = null;
9531
9531
  }
9532
9532
  if ("onloadend" in m ? m.onloadend = g : m.onreadystatechange = function() {
9533
9533
  !m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(g);
@@ -9537,10 +9537,10 @@ const mT = typeof XMLHttpRequest < "u", hT = mT && function(e) {
9537
9537
  s(new je("Network Error", je.ERR_NETWORK, e, m)), m = null;
9538
9538
  }, m.ontimeout = function() {
9539
9539
  let v = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
9540
- const S = e.transitional || xv;
9540
+ const k = e.transitional || xv;
9541
9541
  e.timeoutErrorMessage && (v = e.timeoutErrorMessage), s(new je(
9542
9542
  v,
9543
- S.clarifyTimeoutError ? je.ETIMEDOUT : je.ECONNABORTED,
9543
+ k.clarifyTimeoutError ? je.ETIMEDOUT : je.ECONNABORTED,
9544
9544
  e,
9545
9545
  m
9546
9546
  )), m = null;
@@ -9548,8 +9548,8 @@ const mT = typeof XMLHttpRequest < "u", hT = mT && function(e) {
9548
9548
  const b = e.xsrfHeaderName && e.xsrfCookieName && nT.read(e.xsrfCookieName);
9549
9549
  b && o.set(e.xsrfHeaderName, b);
9550
9550
  }
9551
- i === void 0 && o.setContentType(null), "setRequestHeader" in m && K.forEach(o.toJSON(), function(v, S) {
9552
- m.setRequestHeader(S, v);
9551
+ i === void 0 && o.setContentType(null), "setRequestHeader" in m && K.forEach(o.toJSON(), function(v, k) {
9552
+ m.setRequestHeader(k, v);
9553
9553
  }), K.isUndefined(e.withCredentials) || (m.withCredentials = !!e.withCredentials), n && n !== "json" && (m.responseType = e.responseType), typeof e.onDownloadProgress == "function" && m.addEventListener("progress", j0(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && m.upload && m.upload.addEventListener("progress", j0(e.onUploadProgress)), (e.cancelToken || e.signal) && (p = (b) => {
9554
9554
  m && (s(!b || b.type ? new cn(null, e, m) : b), m.abort(), m = null);
9555
9555
  }, e.cancelToken && e.cancelToken.subscribe(p), e.signal && (e.signal.aborted ? p() : e.signal.addEventListener("abort", p)));
@@ -9693,7 +9693,7 @@ function hi(e, t) {
9693
9693
  K.isUndefined(h) && m !== c || (a[l] = h);
9694
9694
  }), a;
9695
9695
  }
9696
- const Rv = "1.6.5", bp = {};
9696
+ const Rv = "1.6.6", bp = {};
9697
9697
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
9698
9698
  bp[e] = function(s) {
9699
9699
  return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -9754,7 +9754,16 @@ class Zr {
9754
9754
  *
9755
9755
  * @returns {Promise} The Promise to be fulfilled
9756
9756
  */
9757
- request(t, a) {
9757
+ async request(t, a) {
9758
+ try {
9759
+ return await this._request(t, a);
9760
+ } catch (s) {
9761
+ const i = {};
9762
+ throw Error.captureStackTrace ? Error.captureStackTrace(i) : i.stack = new Error().stack, i.stack = i.stack.replace(/^.+\n/, ""), s.stack.endsWith(i.stack.replace(/^.+\n.+\n/, "")) || (s.stack += `
9763
+ ` + i.stack), s;
9764
+ }
9765
+ }
9766
+ _request(t, a) {
9758
9767
  typeof t == "string" ? (a = a || {}, a.url = t) : a = t || {}, a = hi(this.defaults, a);
9759
9768
  const { transitional: s, paramsSerializer: i, headers: o } = a;
9760
9769
  s !== void 0 && dm.assertOptions(s, {
@@ -12811,11 +12820,11 @@ function Gl(e, t, a) {
12811
12820
  if (Q.endsWith(y, "{}"))
12812
12821
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
12813
12822
  else if (Q.isArray(g) && dB(g) || (Q.isFileList(g) || Q.endsWith(y, "[]")) && (v = Q.toArray(g)))
12814
- return y = e4(y), v.forEach(function(S, A) {
12815
- !(Q.isUndefined(S) || S === null) && t.append(
12823
+ return y = e4(y), v.forEach(function(k, A) {
12824
+ !(Q.isUndefined(k) || k === null) && t.append(
12816
12825
  // eslint-disable-next-line no-nested-ternary
12817
12826
  n === !0 ? Z0([y], A, o) : n === null ? y : y + "[]",
12818
- p(S)
12827
+ p(k)
12819
12828
  );
12820
12829
  }), !1;
12821
12830
  }
@@ -14066,15 +14075,15 @@ function Wn(e, t, a) {
14066
14075
  for (var b = new Array(arguments.length), v = 0; v < b.length; v++)
14067
14076
  b[v] = arguments[v];
14068
14077
  b[0] = t.coerce(b[0]), typeof b[0] != "string" && b.unshift("%O");
14069
- var S = 0;
14070
- b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, k) {
14078
+ var k = 0;
14079
+ b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, S) {
14071
14080
  if (F === "%%")
14072
14081
  return F;
14073
- S++;
14074
- var x = t.formatters[k];
14082
+ k++;
14083
+ var x = t.formatters[S];
14075
14084
  if (typeof x == "function") {
14076
- var R = b[S];
14077
- F = x.call(h, R), b.splice(S, 1), S--;
14085
+ var R = b[k];
14086
+ F = x.call(h, R), b.splice(k, 1), k--;
14078
14087
  }
14079
14088
  return F;
14080
14089
  }), t.formatArgs.call(h, b);
@@ -14340,15 +14349,15 @@ function qn(e, t, a) {
14340
14349
  for (var b = new Array(arguments.length), v = 0; v < b.length; v++)
14341
14350
  b[v] = arguments[v];
14342
14351
  b[0] = t.coerce(b[0]), typeof b[0] != "string" && b.unshift("%O");
14343
- var S = 0;
14344
- b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, k) {
14352
+ var k = 0;
14353
+ b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, S) {
14345
14354
  if (F === "%%")
14346
14355
  return F;
14347
- S++;
14348
- var x = t.formatters[k];
14356
+ k++;
14357
+ var x = t.formatters[S];
14349
14358
  if (typeof x == "function") {
14350
- var R = b[S];
14351
- F = x.call(h, R), b.splice(S, 1), S--;
14359
+ var R = b[k];
14360
+ F = x.call(h, R), b.splice(k, 1), k--;
14352
14361
  }
14353
14362
  return F;
14354
14363
  }), t.formatArgs.call(h, b);
@@ -14654,24 +14663,24 @@ Xl.removeBlobs = function(e, t) {
14654
14663
  function n() {
14655
14664
  }
14656
14665
  var c = e.ERROR + '"encode error"';
14657
- n.prototype.encode = function(v, S) {
14666
+ n.prototype.encode = function(v, k) {
14658
14667
  if (t("encoding packet %j", v), e.BINARY_EVENT === v.type || e.BINARY_ACK === v.type)
14659
- l(v, S);
14668
+ l(v, k);
14660
14669
  else {
14661
14670
  var A = p(v);
14662
- S([A]);
14671
+ k([A]);
14663
14672
  }
14664
14673
  };
14665
14674
  function p(v) {
14666
- var S = "" + v.type;
14667
- if ((e.BINARY_EVENT === v.type || e.BINARY_ACK === v.type) && (S += v.attachments + "-"), v.nsp && v.nsp !== "/" && (S += v.nsp + ","), v.id != null && (S += v.id), v.data != null) {
14675
+ var k = "" + v.type;
14676
+ if ((e.BINARY_EVENT === v.type || e.BINARY_ACK === v.type) && (k += v.attachments + "-"), v.nsp && v.nsp !== "/" && (k += v.nsp + ","), v.id != null && (k += v.id), v.data != null) {
14668
14677
  var A = d(v.data);
14669
14678
  if (A !== !1)
14670
- S += A;
14679
+ k += A;
14671
14680
  else
14672
14681
  return c;
14673
14682
  }
14674
- return t("encoded %j as %s", v, S), S;
14683
+ return t("encoded %j as %s", v, k), k;
14675
14684
  }
14676
14685
  function d(v) {
14677
14686
  try {
@@ -14680,10 +14689,10 @@ Xl.removeBlobs = function(e, t) {
14680
14689
  return !1;
14681
14690
  }
14682
14691
  }
14683
- function l(v, S) {
14692
+ function l(v, k) {
14684
14693
  function A(F) {
14685
- var k = s.deconstructPacket(F), x = p(k.packet), R = k.buffers;
14686
- R.unshift(x), S(R);
14694
+ var S = s.deconstructPacket(F), x = p(S.packet), R = S.buffers;
14695
+ R.unshift(x), k(R);
14687
14696
  }
14688
14697
  s.removeBlobs(v, A);
14689
14698
  }
@@ -14691,57 +14700,57 @@ Xl.removeBlobs = function(e, t) {
14691
14700
  this.reconstructor = null;
14692
14701
  }
14693
14702
  a(m.prototype), m.prototype.add = function(v) {
14694
- var S;
14703
+ var k;
14695
14704
  if (typeof v == "string") {
14696
14705
  if (this.reconstructor)
14697
14706
  throw new Error("got plaintext data when reconstructing a packet");
14698
- S = h(v), e.BINARY_EVENT === S.type || e.BINARY_ACK === S.type ? (this.reconstructor = new y(S), this.reconstructor.reconPack.attachments === 0 && this.emit("decoded", S)) : this.emit("decoded", S);
14707
+ k = h(v), e.BINARY_EVENT === k.type || e.BINARY_ACK === k.type ? (this.reconstructor = new y(k), this.reconstructor.reconPack.attachments === 0 && this.emit("decoded", k)) : this.emit("decoded", k);
14699
14708
  } else if (o(v) || v.base64)
14700
14709
  if (this.reconstructor)
14701
- S = this.reconstructor.takeBinaryData(v), S && (this.reconstructor = null, this.emit("decoded", S));
14710
+ k = this.reconstructor.takeBinaryData(v), k && (this.reconstructor = null, this.emit("decoded", k));
14702
14711
  else
14703
14712
  throw new Error("got binary data when not reconstructing a packet");
14704
14713
  else
14705
14714
  throw new Error("Unknown type: " + v);
14706
14715
  };
14707
14716
  function h(v) {
14708
- var S = 0, A = {
14717
+ var k = 0, A = {
14709
14718
  type: Number(v.charAt(0))
14710
14719
  };
14711
14720
  if (e.types[A.type] == null)
14712
14721
  return b("unknown packet type " + A.type);
14713
14722
  if (e.BINARY_EVENT === A.type || e.BINARY_ACK === A.type) {
14714
- for (var F = S + 1; v.charAt(++S) !== "-" && S != v.length; )
14723
+ for (var F = k + 1; v.charAt(++k) !== "-" && k != v.length; )
14715
14724
  ;
14716
- var k = v.substring(F, S);
14717
- if (k != Number(k) || v.charAt(S) !== "-")
14725
+ var S = v.substring(F, k);
14726
+ if (S != Number(S) || v.charAt(k) !== "-")
14718
14727
  throw new Error("Illegal attachments");
14719
- A.attachments = Number(k);
14728
+ A.attachments = Number(S);
14720
14729
  }
14721
- if (v.charAt(S + 1) === "/") {
14722
- for (var F = S + 1; ++S; ) {
14723
- var x = v.charAt(S);
14724
- if (x === "," || S === v.length)
14730
+ if (v.charAt(k + 1) === "/") {
14731
+ for (var F = k + 1; ++k; ) {
14732
+ var x = v.charAt(k);
14733
+ if (x === "," || k === v.length)
14725
14734
  break;
14726
14735
  }
14727
- A.nsp = v.substring(F, S);
14736
+ A.nsp = v.substring(F, k);
14728
14737
  } else
14729
14738
  A.nsp = "/";
14730
- var R = v.charAt(S + 1);
14739
+ var R = v.charAt(k + 1);
14731
14740
  if (R !== "" && Number(R) == R) {
14732
- for (var F = S + 1; ++S; ) {
14733
- var x = v.charAt(S);
14741
+ for (var F = k + 1; ++k; ) {
14742
+ var x = v.charAt(k);
14734
14743
  if (x == null || Number(x) != x) {
14735
- --S;
14744
+ --k;
14736
14745
  break;
14737
14746
  }
14738
- if (S === v.length)
14747
+ if (k === v.length)
14739
14748
  break;
14740
14749
  }
14741
- A.id = Number(v.substring(F, S + 1));
14750
+ A.id = Number(v.substring(F, k + 1));
14742
14751
  }
14743
- if (v.charAt(++S)) {
14744
- var j = g(v.substr(S)), P = j !== !1 && (A.type === e.ERROR || i(j));
14752
+ if (v.charAt(++k)) {
14753
+ var j = g(v.substr(k)), P = j !== !1 && (A.type === e.ERROR || i(j));
14745
14754
  if (P)
14746
14755
  A.data = j;
14747
14756
  else
@@ -14764,8 +14773,8 @@ Xl.removeBlobs = function(e, t) {
14764
14773
  }
14765
14774
  y.prototype.takeBinaryData = function(v) {
14766
14775
  if (this.buffers.push(v), this.buffers.length === this.reconPack.attachments) {
14767
- var S = s.reconstructPacket(this.reconPack, this.buffers);
14768
- return this.finishedReconstruction(), S;
14776
+ var k = s.reconstructPacket(this.reconPack, this.buffers);
14777
+ return this.finishedReconstruction(), k;
14769
14778
  }
14770
14779
  return null;
14771
14780
  }, y.prototype.finishedReconstruction = function() {
@@ -15007,101 +15016,101 @@ function Mj() {
15007
15016
  upgrade: 5,
15008
15017
  noop: 6
15009
15018
  }, m = t(l), h = { type: "error", data: "parser error" }, g = Mj();
15010
- e.encodePacket = function(k, x, R, j) {
15019
+ e.encodePacket = function(S, x, R, j) {
15011
15020
  typeof x == "function" && (j = x, x = !1), typeof R == "function" && (j = R, R = null);
15012
- var P = k.data === void 0 ? void 0 : k.data.buffer || k.data;
15021
+ var P = S.data === void 0 ? void 0 : S.data.buffer || S.data;
15013
15022
  if (typeof ArrayBuffer < "u" && P instanceof ArrayBuffer)
15014
- return b(k, x, j);
15023
+ return b(S, x, j);
15015
15024
  if (typeof g < "u" && P instanceof g)
15016
- return S(k, x, j);
15025
+ return k(S, x, j);
15017
15026
  if (P && P.base64)
15018
- return y(k, j);
15019
- var B = l[k.type];
15020
- return k.data !== void 0 && (B += R ? o.encode(String(k.data), { strict: !1 }) : String(k.data)), j("" + B);
15027
+ return y(S, j);
15028
+ var B = l[S.type];
15029
+ return S.data !== void 0 && (B += R ? o.encode(String(S.data), { strict: !1 }) : String(S.data)), j("" + B);
15021
15030
  };
15022
- function y(k, x) {
15023
- var R = "b" + e.packets[k.type] + k.data.data;
15031
+ function y(S, x) {
15032
+ var R = "b" + e.packets[S.type] + S.data.data;
15024
15033
  return x(R);
15025
15034
  }
15026
- function b(k, x, R) {
15035
+ function b(S, x, R) {
15027
15036
  if (!x)
15028
- return e.encodeBase64Packet(k, R);
15029
- var j = k.data, P = new Uint8Array(j), B = new Uint8Array(1 + j.byteLength);
15030
- B[0] = l[k.type];
15037
+ return e.encodeBase64Packet(S, R);
15038
+ var j = S.data, P = new Uint8Array(j), B = new Uint8Array(1 + j.byteLength);
15039
+ B[0] = l[S.type];
15031
15040
  for (var W = 0; W < P.length; W++)
15032
15041
  B[W + 1] = P[W];
15033
15042
  return R(B.buffer);
15034
15043
  }
15035
- function v(k, x, R) {
15044
+ function v(S, x, R) {
15036
15045
  if (!x)
15037
- return e.encodeBase64Packet(k, R);
15046
+ return e.encodeBase64Packet(S, R);
15038
15047
  var j = new FileReader();
15039
15048
  return j.onload = function() {
15040
- e.encodePacket({ type: k.type, data: j.result }, x, !0, R);
15041
- }, j.readAsArrayBuffer(k.data);
15049
+ e.encodePacket({ type: S.type, data: j.result }, x, !0, R);
15050
+ }, j.readAsArrayBuffer(S.data);
15042
15051
  }
15043
- function S(k, x, R) {
15052
+ function k(S, x, R) {
15044
15053
  if (!x)
15045
- return e.encodeBase64Packet(k, R);
15054
+ return e.encodeBase64Packet(S, R);
15046
15055
  if (d)
15047
- return v(k, x, R);
15056
+ return v(S, x, R);
15048
15057
  var j = new Uint8Array(1);
15049
- j[0] = l[k.type];
15050
- var P = new g([j.buffer, k.data]);
15058
+ j[0] = l[S.type];
15059
+ var P = new g([j.buffer, S.data]);
15051
15060
  return R(P);
15052
15061
  }
15053
- e.encodeBase64Packet = function(k, x) {
15054
- var R = "b" + e.packets[k.type];
15055
- if (typeof g < "u" && k.data instanceof g) {
15062
+ e.encodeBase64Packet = function(S, x) {
15063
+ var R = "b" + e.packets[S.type];
15064
+ if (typeof g < "u" && S.data instanceof g) {
15056
15065
  var j = new FileReader();
15057
15066
  return j.onload = function() {
15058
15067
  var D = j.result.split(",")[1];
15059
15068
  x(R + D);
15060
- }, j.readAsDataURL(k.data);
15069
+ }, j.readAsDataURL(S.data);
15061
15070
  }
15062
15071
  var P;
15063
15072
  try {
15064
- P = String.fromCharCode.apply(null, new Uint8Array(k.data));
15073
+ P = String.fromCharCode.apply(null, new Uint8Array(S.data));
15065
15074
  } catch {
15066
- for (var B = new Uint8Array(k.data), W = new Array(B.length), H = 0; H < B.length; H++)
15075
+ for (var B = new Uint8Array(S.data), W = new Array(B.length), H = 0; H < B.length; H++)
15067
15076
  W[H] = B[H];
15068
15077
  P = String.fromCharCode.apply(null, W);
15069
15078
  }
15070
15079
  return R += btoa(P), x(R);
15071
- }, e.decodePacket = function(k, x, R) {
15072
- if (k === void 0)
15080
+ }, e.decodePacket = function(S, x, R) {
15081
+ if (S === void 0)
15073
15082
  return h;
15074
- if (typeof k == "string") {
15075
- if (k.charAt(0) === "b")
15076
- return e.decodeBase64Packet(k.substr(1), x);
15077
- if (R && (k = A(k), k === !1))
15083
+ if (typeof S == "string") {
15084
+ if (S.charAt(0) === "b")
15085
+ return e.decodeBase64Packet(S.substr(1), x);
15086
+ if (R && (S = A(S), S === !1))
15078
15087
  return h;
15079
- var P = k.charAt(0);
15080
- return Number(P) != P || !m[P] ? h : k.length > 1 ? { type: m[P], data: k.substring(1) } : { type: m[P] };
15088
+ var P = S.charAt(0);
15089
+ return Number(P) != P || !m[P] ? h : S.length > 1 ? { type: m[P], data: S.substring(1) } : { type: m[P] };
15081
15090
  }
15082
- var j = new Uint8Array(k), P = j[0], B = s(k, 1);
15091
+ var j = new Uint8Array(S), P = j[0], B = s(S, 1);
15083
15092
  return g && x === "blob" && (B = new g([B])), { type: m[P], data: B };
15084
15093
  };
15085
- function A(k) {
15094
+ function A(S) {
15086
15095
  try {
15087
- k = o.decode(k, { strict: !1 });
15096
+ S = o.decode(S, { strict: !1 });
15088
15097
  } catch {
15089
15098
  return !1;
15090
15099
  }
15091
- return k;
15100
+ return S;
15092
15101
  }
15093
- e.decodeBase64Packet = function(k, x) {
15094
- var R = m[k.charAt(0)];
15102
+ e.decodeBase64Packet = function(S, x) {
15103
+ var R = m[S.charAt(0)];
15095
15104
  if (!n)
15096
- return { type: R, data: { base64: !0, data: k.substr(1) } };
15097
- var j = n.decode(k.substr(1));
15105
+ return { type: R, data: { base64: !0, data: S.substr(1) } };
15106
+ var j = n.decode(S.substr(1));
15098
15107
  return x === "blob" && g && (j = new g([j])), { type: R, data: j };
15099
- }, e.encodePayload = function(k, x, R) {
15108
+ }, e.encodePayload = function(S, x, R) {
15100
15109
  typeof x == "function" && (R = x, x = null);
15101
- var j = a(k);
15110
+ var j = a(S);
15102
15111
  if (x && j)
15103
- return g && !d ? e.encodePayloadAsBlob(k, R) : e.encodePayloadAsArrayBuffer(k, R);
15104
- if (!k.length)
15112
+ return g && !d ? e.encodePayloadAsBlob(S, R) : e.encodePayloadAsArrayBuffer(S, R);
15113
+ if (!S.length)
15105
15114
  return R("0:");
15106
15115
  function P(W) {
15107
15116
  return W.length + ":" + W;
@@ -15111,32 +15120,32 @@ function Mj() {
15111
15120
  H(null, P(D));
15112
15121
  });
15113
15122
  }
15114
- F(k, B, function(W, H) {
15123
+ F(S, B, function(W, H) {
15115
15124
  return R(H.join(""));
15116
15125
  });
15117
15126
  };
15118
- function F(k, x, R) {
15119
- for (var j = new Array(k.length), P = i(k.length, R), B = function(H, D, X) {
15127
+ function F(S, x, R) {
15128
+ for (var j = new Array(S.length), P = i(S.length, R), B = function(H, D, X) {
15120
15129
  x(D, function(pe, ue) {
15121
15130
  j[H] = ue, X(pe, j);
15122
15131
  });
15123
- }, W = 0; W < k.length; W++)
15124
- B(W, k[W], P);
15132
+ }, W = 0; W < S.length; W++)
15133
+ B(W, S[W], P);
15125
15134
  }
15126
- e.decodePayload = function(k, x, R) {
15127
- if (typeof k != "string")
15128
- return e.decodePayloadAsBinary(k, x, R);
15135
+ e.decodePayload = function(S, x, R) {
15136
+ if (typeof S != "string")
15137
+ return e.decodePayloadAsBinary(S, x, R);
15129
15138
  typeof x == "function" && (R = x, x = null);
15130
15139
  var j;
15131
- if (k === "")
15140
+ if (S === "")
15132
15141
  return R(h, 0, 1);
15133
- for (var P = "", B, W, H = 0, D = k.length; H < D; H++) {
15134
- var X = k.charAt(H);
15142
+ for (var P = "", B, W, H = 0, D = S.length; H < D; H++) {
15143
+ var X = S.charAt(H);
15135
15144
  if (X !== ":") {
15136
15145
  P += X;
15137
15146
  continue;
15138
15147
  }
15139
- if (P === "" || P != (B = Number(P)) || (W = k.substr(H + 1, B), P != W.length))
15148
+ if (P === "" || P != (B = Number(P)) || (W = S.substr(H + 1, B), P != W.length))
15140
15149
  return R(h, 0, 1);
15141
15150
  if (W.length) {
15142
15151
  if (j = e.decodePacket(W, x, !1), h.type === j.type && h.data === j.data)
@@ -15149,15 +15158,15 @@ function Mj() {
15149
15158
  }
15150
15159
  if (P !== "")
15151
15160
  return R(h, 0, 1);
15152
- }, e.encodePayloadAsArrayBuffer = function(k, x) {
15153
- if (!k.length)
15161
+ }, e.encodePayloadAsArrayBuffer = function(S, x) {
15162
+ if (!S.length)
15154
15163
  return x(new ArrayBuffer(0));
15155
15164
  function R(j, P) {
15156
15165
  e.encodePacket(j, !0, !0, function(B) {
15157
15166
  return P(null, B);
15158
15167
  });
15159
15168
  }
15160
- F(k, R, function(j, P) {
15169
+ F(S, R, function(j, P) {
15161
15170
  var B = P.reduce(function(D, X) {
15162
15171
  var pe;
15163
15172
  return typeof X == "string" ? pe = X.length : pe = X.byteLength, D + pe.toString().length + pe + 2;
@@ -15177,7 +15186,7 @@ function Mj() {
15177
15186
  W[H++] = ue[q];
15178
15187
  }), x(W.buffer);
15179
15188
  });
15180
- }, e.encodePayloadAsBlob = function(k, x) {
15189
+ }, e.encodePayloadAsBlob = function(S, x) {
15181
15190
  function R(j, P) {
15182
15191
  e.encodePacket(j, !0, !0, function(B) {
15183
15192
  var W = new Uint8Array(1);
@@ -15194,12 +15203,12 @@ function Mj() {
15194
15203
  }
15195
15204
  });
15196
15205
  }
15197
- F(k, R, function(j, P) {
15206
+ F(S, R, function(j, P) {
15198
15207
  return x(new g(P));
15199
15208
  });
15200
- }, e.decodePayloadAsBinary = function(k, x, R) {
15209
+ }, e.decodePayloadAsBinary = function(S, x, R) {
15201
15210
  typeof x == "function" && (R = x, x = null);
15202
- for (var j = k, P = []; j.byteLength > 0; ) {
15211
+ for (var j = S, P = []; j.byteLength > 0; ) {
15203
15212
  for (var B = new Uint8Array(j), W = B[0] === 0, H = "", D = 1; B[D] !== 255; D++) {
15204
15213
  if (H.length > 310)
15205
15214
  return R(h, 0, 1);
@@ -15383,15 +15392,15 @@ function Jn(e, t, a) {
15383
15392
  for (var b = new Array(arguments.length), v = 0; v < b.length; v++)
15384
15393
  b[v] = arguments[v];
15385
15394
  b[0] = t.coerce(b[0]), typeof b[0] != "string" && b.unshift("%O");
15386
- var S = 0;
15387
- b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, k) {
15395
+ var k = 0;
15396
+ b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, S) {
15388
15397
  if (F === "%%")
15389
15398
  return F;
15390
- S++;
15391
- var x = t.formatters[k];
15399
+ k++;
15400
+ var x = t.formatters[S];
15392
15401
  if (typeof x == "function") {
15393
- var R = b[S];
15394
- F = x.call(h, R), b.splice(S, 1), S--;
15402
+ var R = b[k];
15403
+ F = x.call(h, R), b.splice(k, 1), k--;
15395
15404
  }
15396
15405
  return F;
15397
15406
  }), t.formatArgs.call(h, b);
@@ -17004,24 +17013,24 @@ const L4 = /* @__PURE__ */ uD(Mp, [["render", fD], ["__scopeId", "data-v-e2a2044
17004
17013
  const a = e, s = [{ id: "local", name: "Local" }, { id: "visit", name: "Visitante" }], i = [{ id: "win", name: "Ganado" }, { id: "draw", name: "Empatados" }, { id: "lose", name: "Perdidos" }], o = O(!1), n = O(null), c = O(["local", "visit"]), p = O(["win", "draw", "lose"]), d = O(!0), l = O(!0), m = O(!0), h = O(!0), g = O(["local", "visit"]), y = O(["win", "draw", "lose"]), b = () => {
17005
17014
  o.value = !o.value, n.value.focus(), c.value = JSON.parse(JSON.stringify(g.value)), p.value = JSON.parse(JSON.stringify(y.value)), d.value = m.value, l.value = h.value;
17006
17015
  };
17007
- ye(() => a.itemSelect, (k) => {
17008
- k && (g.value = k.selectedFilterTeam, y.value = k.selectedFilterResults);
17009
- }), ye(() => a.reset, (k) => {
17010
- k && S();
17016
+ ye(() => a.itemSelect, (S) => {
17017
+ S && (g.value = S.selectedFilterTeam, y.value = S.selectedFilterResults);
17018
+ }), ye(() => a.reset, (S) => {
17019
+ S && k();
17011
17020
  });
17012
- const v = (k, x) => {
17021
+ const v = (S, x) => {
17013
17022
  let R;
17014
17023
  x === "team" ? R = g.value : R = y.value;
17015
- const j = R.findIndex((P) => P === k);
17016
- j == -1 ? R.push(k) : x == "team" && g.value.length > 1 ? R.splice(j, 1) : (x == "team" && R.push(k), y.value.length > 1 && R.splice(j, 1)), m.value = g.value.length == 2, h.value = y.value.length == 3;
17017
- }, S = () => {
17024
+ const j = R.findIndex((P) => P === S);
17025
+ j == -1 ? R.push(S) : x == "team" && g.value.length > 1 ? R.splice(j, 1) : (x == "team" && R.push(S), y.value.length > 1 && R.splice(j, 1)), m.value = g.value.length == 2, h.value = y.value.length == 3;
17026
+ }, k = () => {
17018
17027
  g.value = ["local", "visit"], y.value = ["win", "draw", "lose"], m.value = !0, h.value = !0, t("change", { selectedFilterTeam: g.value, selectedFilterResults: y.value });
17019
17028
  }, A = () => {
17020
17029
  t("change", { selectedFilterTeam: g.value, selectedFilterResults: y.value }), o.value = !o.value;
17021
17030
  }, F = () => {
17022
17031
  t("change", { selectedFilterTeam: g.value, selectedFilterResults: y.value });
17023
17032
  };
17024
- return (k, x) => (f(), _("div", {
17033
+ return (S, x) => (f(), _("div", {
17025
17034
  class: "filter-modal",
17026
17035
  style: N({ zIndex: e.zIndex })
17027
17036
  }, [
@@ -17087,7 +17096,7 @@ const L4 = /* @__PURE__ */ uD(Mp, [["render", fD], ["__scopeId", "data-v-e2a2044
17087
17096
  r("div", { class: "filter-modal__buttons" }, [
17088
17097
  r("div", {
17089
17098
  class: "button filter-modal__text-btn",
17090
- onClick: S
17099
+ onClick: k
17091
17100
  }, "Quitar filtros"),
17092
17101
  r("div", {
17093
17102
  class: "button filter-modal__outline-btn",
@@ -17779,12 +17788,12 @@ var zN = ot({
17779
17788
  const o = O(null), n = O([]), c = O(0), p = O(0), d = Oe(Object.assign({}, jt));
17780
17789
  let l = Object.assign({}, jt), m;
17781
17790
  const h = O((i = e.modelValue) !== null && i !== void 0 ? i : 0), g = O(0), y = O(0), b = O(0), v = O(0);
17782
- let S, A;
17791
+ let k, A;
17783
17792
  ve("config", d), ve("slidesCount", p), ve("currentSlide", h), ve("maxSlide", b), ve("minSlide", v), ve("slideWidth", c);
17784
17793
  function F() {
17785
17794
  m = Object.assign({}, e.breakpoints), l = Object.assign(Object.assign(Object.assign({}, l), e), { i18n: Object.assign(Object.assign({}, l.i18n), e.i18n), breakpoints: void 0 }), x(l);
17786
17795
  }
17787
- function k() {
17796
+ function S() {
17788
17797
  if (!m || !Object.keys(m).length)
17789
17798
  return;
17790
17799
  const I = Object.keys(m).map((U) => Number(U)).sort((U, fe) => +fe - +U);
@@ -17798,7 +17807,7 @@ var zN = ot({
17798
17807
  Object.entries(I).forEach(([G, U]) => d[G] = U);
17799
17808
  }
17800
17809
  const R = MN(() => {
17801
- k(), j();
17810
+ S(), j();
17802
17811
  }, 16);
17803
17812
  function j() {
17804
17813
  if (!o.value)
@@ -17814,9 +17823,9 @@ var zN = ot({
17814
17823
  })));
17815
17824
  }
17816
17825
  at(() => {
17817
- Vs(() => j()), setTimeout(() => j(), 1e3), k(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
17826
+ Vs(() => j()), setTimeout(() => j(), 1e3), S(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
17818
17827
  }), Tt(() => {
17819
- A && clearTimeout(A), S && clearInterval(S), window.removeEventListener("resize", R, {
17828
+ A && clearTimeout(A), k && clearInterval(k), window.removeEventListener("resize", R, {
17820
17829
  passive: !0
17821
17830
  });
17822
17831
  });
@@ -17845,12 +17854,12 @@ var zN = ot({
17845
17854
  be(h.value - U), D.x = 0, D.y = 0, pe.value = !1, document.removeEventListener(B ? "touchmove" : "mousemove", T, !0), document.removeEventListener(B ? "touchend" : "mouseup", z, !0);
17846
17855
  }
17847
17856
  function xe() {
17848
- !d.autoplay || d.autoplay <= 0 || (S = setInterval(() => {
17857
+ !d.autoplay || d.autoplay <= 0 || (k = setInterval(() => {
17849
17858
  d.pauseAutoplayOnHover && X.value || Te();
17850
17859
  }, d.autoplay));
17851
17860
  }
17852
17861
  function Ae() {
17853
- S && (clearInterval(S), S = null), xe();
17862
+ k && (clearInterval(k), k = null), xe();
17854
17863
  }
17855
17864
  const ge = O(!1);
17856
17865
  function be(I) {
@@ -17907,7 +17916,7 @@ var zN = ot({
17907
17916
  };
17908
17917
  });
17909
17918
  function lt() {
17910
- F(), k(), P(), j(), Ae();
17919
+ F(), S(), P(), j(), Ae();
17911
17920
  }
17912
17921
  Object.keys(k1).forEach((I) => {
17913
17922
  ["modelValue"].includes(I) || ye(() => e[I], lt);
@@ -17927,7 +17936,7 @@ var zN = ot({
17927
17936
  middleSlide: y
17928
17937
  };
17929
17938
  s({
17930
- updateBreakpointsConfigs: k,
17939
+ updateBreakpointsConfigs: S,
17931
17940
  updateSlidesData: P,
17932
17941
  updateSlideWidth: j,
17933
17942
  initDefaultConfigs: F,
@@ -18179,7 +18188,7 @@ const GN = (e, t) => {
18179
18188
  if (b && b.length && i.value) {
18180
18189
  if (s.defaultItemByProp) {
18181
18190
  const v = s.items.findIndex(
18182
- (S) => S[s.defaultItemByProp.propName] === s.defaultItemByProp.value
18191
+ (k) => k[s.defaultItemByProp.propName] === s.defaultItemByProp.value
18183
18192
  );
18184
18193
  v !== -1 ? (n.value = v, o.value = b[v]) : (n.value = 0, o.value = b[0]);
18185
18194
  } else
@@ -18228,9 +18237,9 @@ const GN = (e, t) => {
18228
18237
  onSlideStart: y
18229
18238
  }, {
18230
18239
  default: Z(() => [
18231
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), V(_e(VN), { key: A }, {
18240
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), V(_e(VN), { key: A }, {
18232
18241
  default: Z(() => [
18233
- Xe(b.$slots, "default", { item: S }, void 0, !0)
18242
+ Xe(b.$slots, "default", { item: k }, void 0, !0)
18234
18243
  ]),
18235
18244
  _: 2
18236
18245
  }, 1024))), 128))
@@ -18241,7 +18250,7 @@ const GN = (e, t) => {
18241
18250
  e.areSlidesArrowsVisible ? (f(), _("div", {
18242
18251
  key: 0,
18243
18252
  class: "gsc-carousel__2d__arrow-left",
18244
- onClick: v[0] || (v[0] = (S) => i.value.prev())
18253
+ onClick: v[0] || (v[0] = (k) => i.value.prev())
18245
18254
  }, [
18246
18255
  r("div", {
18247
18256
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -18259,7 +18268,7 @@ const GN = (e, t) => {
18259
18268
  e.areSlidesArrowsVisible ? (f(), _("div", {
18260
18269
  key: 1,
18261
18270
  class: "gsc-carousel__2d__arrow-right",
18262
- onClick: v[1] || (v[1] = (S) => d())
18271
+ onClick: v[1] || (v[1] = (k) => d())
18263
18272
  }, [
18264
18273
  r("div", {
18265
18274
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -18278,7 +18287,7 @@ const GN = (e, t) => {
18278
18287
  e.areNavigationArrowsVisible ? (f(), _("div", {
18279
18288
  key: 0,
18280
18289
  class: "gsc-carousel__2d__navigation__arrow-left",
18281
- onClick: v[2] || (v[2] = (S) => l())
18290
+ onClick: v[2] || (v[2] = (k) => l())
18282
18291
  }, [
18283
18292
  (f(), _("svg", sM, [
18284
18293
  r("path", {
@@ -18288,7 +18297,7 @@ const GN = (e, t) => {
18288
18297
  ]))
18289
18298
  ])) : C("", !0),
18290
18299
  e.isPaginationVisible ? (f(), _("div", oM, [
18291
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), _("div", {
18300
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), _("div", {
18292
18301
  key: `i-${A}`,
18293
18302
  class: "gsc-carousel__2d__navigation__pagination__item",
18294
18303
  style: N({
@@ -18304,7 +18313,7 @@ const GN = (e, t) => {
18304
18313
  e.areNavigationArrowsVisible ? (f(), _("div", {
18305
18314
  key: 2,
18306
18315
  class: "gsc-carousel__2d__navigation__arrow-right",
18307
- onClick: v[3] || (v[3] = (S) => i.value.next())
18316
+ onClick: v[3] || (v[3] = (k) => i.value.next())
18308
18317
  }, [
18309
18318
  (f(), _("svg", rM, [
18310
18319
  r("path", {
@@ -18712,7 +18721,7 @@ const vM = /* @__PURE__ */ dM(Up, [["render", bM], ["__scopeId", "data-v-fb269a1
18712
18721
  (f(!0), _(E, null, me(e.items, (b, v) => (f(), _("div", {
18713
18722
  class: u(["gsc-dropdown__items__item", { selected: v === o.value }]),
18714
18723
  key: v,
18715
- onClick: (S) => m(b, v)
18724
+ onClick: (k) => m(b, v)
18716
18725
  }, [
18717
18726
  Xe(g.$slots, "availableItem", { item: b })
18718
18727
  ], 10, $M))), 128))
@@ -19681,11 +19690,11 @@ const AM = {
19681
19690
  "away",
19682
19691
  0
19683
19692
  );
19684
- var S = $.data.away_team.starting_lineup[0].lineup[T].player_name.split(","), A = S[0].split(" "), F = S[1].trim().split(" "), k = "";
19685
- A.length == 2 || A.length == 1 ? A[0].length < 4 ? k = A[0] + " " + A[1] : k = A[0] : A.length == 3 ? k = A[0] + " " + A[1] : A.length == 4 && (k = A[1] + " " + A[2] + " " + A[3]);
19693
+ var k = $.data.away_team.starting_lineup[0].lineup[T].player_name.split(","), A = k[0].split(" "), F = k[1].trim().split(" "), S = "";
19694
+ A.length == 2 || A.length == 1 ? A[0].length < 4 ? S = A[0] + " " + A[1] : S = A[0] : A.length == 3 ? S = A[0] + " " + A[1] : A.length == 4 && (S = A[1] + " " + A[2] + " " + A[3]);
19686
19695
  var x = F[s.length - 1] != "" ? F[F.length - 1].charAt(0) : F[F.length - 2] ? F[F.length - 2].charAt(0) : "";
19687
- k = k.replace(",", "");
19688
- var R = x + ". " + k, j = $.data.away_team.starting_lineup[0].lineup[T].x, P = 100 - (100 - j) * 50 / 100;
19696
+ S = S.replace(",", "");
19697
+ var R = x + ". " + S, j = $.data.away_team.starting_lineup[0].lineup[T].x, P = 100 - (100 - j) * 50 / 100;
19689
19698
  P = P * 0.9;
19690
19699
  var B = $.data.away_team.players.findIndex(
19691
19700
  (z) => z.player_id == $.data.away_team.starting_lineup[0].lineup[T].player_id
@@ -19693,7 +19702,7 @@ const AM = {
19693
19702
  this.players.push({
19694
19703
  number: $.data.away_team.starting_lineup[0].lineup[T].jersey_number,
19695
19704
  isFirstTeam: !1,
19696
- name: x + ". " + k,
19705
+ name: x + ". " + S,
19697
19706
  photo: "https://az755631.vo.msecnd.net/players-profile/" + $.data.away_team.starting_lineup[0].lineup[T].player_id + ".png",
19698
19707
  posX: 100 - (100 - $.data.away_team.starting_lineup[0].lineup[T].x) * 50 / 100,
19699
19708
  posY: $.data.away_team.starting_lineup[0].lineup[T].y
@@ -20925,19 +20934,19 @@ const vU = {
20925
20934
  }), ye(() => a.reset, (F) => {
20926
20935
  F && v();
20927
20936
  });
20928
- const b = (F, k) => {
20937
+ const b = (F, S) => {
20929
20938
  let x;
20930
- k === "team" ? x = h.value : x = g.value;
20939
+ S === "team" ? x = h.value : x = g.value;
20931
20940
  const R = x.findIndex((j) => j === F);
20932
- R == -1 ? x.push(F) : k == "team" && h.value.length == 2 ? x.splice(R, 1) : (k == "team" && x.push(F), g.value.length > 1 && x.splice(R, 1)), l.value = h.value.length == 2, m.value = g.value.length == 3;
20941
+ R == -1 ? x.push(F) : S == "team" && h.value.length == 2 ? x.splice(R, 1) : (S == "team" && x.push(F), g.value.length > 1 && x.splice(R, 1)), l.value = h.value.length == 2, m.value = g.value.length == 3;
20933
20942
  }, v = () => {
20934
20943
  h.value = ["local", "visit"], g.value = ["win", "draw", "lose"], l.value = !0, m.value = !0, t("change", { selectedFilterTeam: h.value, selectedFilterResults: g.value });
20935
- }, S = () => {
20944
+ }, k = () => {
20936
20945
  t("change", { selectedFilterTeam: h.value, selectedFilterResults: g.value });
20937
20946
  }, A = () => {
20938
20947
  t("change", { selectedFilterTeam: h.value, selectedFilterResults: g.value });
20939
20948
  };
20940
- return (F, k) => (f(), _("div", {
20949
+ return (F, S) => (f(), _("div", {
20941
20950
  class: "filter-modal",
20942
20951
  style: N({ zIndex: e.zIndex })
20943
20952
  }, [
@@ -20959,7 +20968,7 @@ const vU = {
20959
20968
  tabindex: "0",
20960
20969
  ref_key: "filterElement",
20961
20970
  ref: o,
20962
- onFocusout: k[4] || (k[4] = (x) => {
20971
+ onFocusout: S[4] || (S[4] = (x) => {
20963
20972
  e.isOpen = !1, A();
20964
20973
  })
20965
20974
  }, [
@@ -20969,8 +20978,8 @@ const vU = {
20969
20978
  L(sl, {
20970
20979
  modelValue: l.value,
20971
20980
  "onUpdate:modelValue": [
20972
- k[0] || (k[0] = (x) => l.value = x),
20973
- k[1] || (k[1] = (x) => x && (h.value = ["local", "visit"]))
20981
+ S[0] || (S[0] = (x) => l.value = x),
20982
+ S[1] || (S[1] = (x) => x && (h.value = ["local", "visit"]))
20974
20983
  ],
20975
20984
  label: "Todos"
20976
20985
  }, null, 8, ["modelValue"])
@@ -20986,8 +20995,8 @@ const vU = {
20986
20995
  L(sl, {
20987
20996
  modelValue: m.value,
20988
20997
  "onUpdate:modelValue": [
20989
- k[2] || (k[2] = (x) => m.value = x),
20990
- k[3] || (k[3] = (x) => x && (g.value = ["win", "lose", "draw"]))
20998
+ S[2] || (S[2] = (x) => m.value = x),
20999
+ S[3] || (S[3] = (x) => x && (g.value = ["win", "lose", "draw"]))
20991
21000
  ],
20992
21001
  label: "Todos"
20993
21002
  }, null, 8, ["modelValue"])
@@ -21007,7 +21016,7 @@ const vU = {
21007
21016
  }, "Quitar filtros"),
21008
21017
  r("div", {
21009
21018
  class: "button filter-modal__outline-btn",
21010
- onClick: S
21019
+ onClick: k
21011
21020
  }, "Listo")
21012
21021
  ])
21013
21022
  ], 34)
@@ -23745,7 +23754,7 @@ const CX = {
23745
23754
  var n = i[i.length - 1] != "" ? i[i.length - 1].charAt(0) : i[i.length - 2] ? i[i.length - 2].charAt(0) : "";
23746
23755
  o = o.replace(",", "");
23747
23756
  var c = n + ". " + o, p = this.dataPlayersHome.findIndex(
23748
- (S) => S.player_id == t[this.home_team_id][v].playerID
23757
+ (k) => k.player_id == t[this.home_team_id][v].playerID
23749
23758
  );
23750
23759
  this.playersHome.push({
23751
23760
  played: !1,
@@ -23780,7 +23789,7 @@ const CX = {
23780
23789
  isbench: !0
23781
23790
  });
23782
23791
  }
23783
- this.playersHome.sort((v, S) => v.position_id > S.position_id ? 1 : S.position_id > v.position_id ? -1 : 0);
23792
+ this.playersHome.sort((v, k) => v.position_id > k.position_id ? 1 : k.position_id > v.position_id ? -1 : 0);
23784
23793
  }
23785
23794
  if (t[this.away_team_id]) {
23786
23795
  this.playersAway = this.playersAway.filter(function(v) {
@@ -23794,7 +23803,7 @@ const CX = {
23794
23803
  var g = m[m.length - 1] != "" ? m[m.length - 1].charAt(0) : m[m.length - 2] ? m[m.length - 2].charAt(0) : "";
23795
23804
  h = h.replace(",", "");
23796
23805
  var y = g + ". " + h, b = this.dataPlayersAway.findIndex(
23797
- (S) => S.player_id == t[this.away_team_id][v].playerID
23806
+ (k) => k.player_id == t[this.away_team_id][v].playerID
23798
23807
  );
23799
23808
  this.playersAway.push({
23800
23809
  played: !1,
@@ -23829,28 +23838,28 @@ const CX = {
23829
23838
  isbench: !0
23830
23839
  });
23831
23840
  }
23832
- this.playersAway.sort((v, S) => v.position_id > S.position_id ? 1 : S.position_id > v.position_id ? -1 : 0);
23841
+ this.playersAway.sort((v, k) => v.position_id > k.position_id ? 1 : k.position_id > v.position_id ? -1 : 0);
23833
23842
  }
23834
23843
  },
23835
23844
  new_lineup(e, t) {
23836
23845
  if (t.team_id == t.home_team.team_id) {
23837
23846
  if (this.playersHome.length == 0) {
23838
23847
  this.dataPlayersHome = t.home_team.players;
23839
- for (let k = 0; k < t.data.length; k++) {
23848
+ for (let S = 0; S < t.data.length; S++) {
23840
23849
  this.home_team_id = t.team_id, this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/" + t.team_id + ".svg", "home", 1), this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/" + t.team_id + "_g.svg", "home", 0);
23841
- var a = t.data[k].player_name.split(","), s = a[0].split(" "), i = a[1].trim().split(" "), o = "";
23850
+ var a = t.data[S].player_name.split(","), s = a[0].split(" "), i = a[1].trim().split(" "), o = "";
23842
23851
  s.length == 2 || s.length == 1 ? s[0].length < 4 ? o = s[0] + " " + s[1] : o = s[0] : s.length == 3 ? o = s[0] + " " + s[1] : s.length == 4 && (o = s[1] + " " + s[2] + " " + s[3]);
23843
23852
  var n = i[i.length - 1] != "" ? i[i.length - 1].charAt(0) : i[i.length - 2] ? i[i.length - 2].charAt(0) : "";
23844
23853
  o = o.replace(",", "");
23845
- var c = n + ". " + o, p = t.data[k].x, d = p * 50 / 100, l = t.home_team.players.findIndex(
23846
- (x) => x.player_id == t.data[k].player_id
23854
+ var c = n + ". " + o, p = t.data[S].x, d = p * 50 / 100, l = t.home_team.players.findIndex(
23855
+ (x) => x.player_id == t.data[S].player_id
23847
23856
  );
23848
23857
  this.playersHome.push({
23849
23858
  played: !0,
23850
- name: t.data[k].player_name,
23859
+ name: t.data[S].player_name,
23851
23860
  position: l != -1 ? this.positions[t.home_team.players[l].position_id - 1].name : "",
23852
23861
  position_id: t.home_team.players[l].position_id,
23853
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + t.data[k].player_id + ".png",
23862
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + t.data[S].player_id + ".png",
23854
23863
  nationality: l != -1 && t.home_team.players[l].nationality ? t.home_team.players[l].nationality.substring(0, 3) : "",
23855
23864
  imgNationality: l != -1 ? t.home_team.players[l].nationality_photo : "",
23856
23865
  substitutionIn: !1,
@@ -23859,12 +23868,12 @@ const CX = {
23859
23868
  imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + t.team_id + ".png",
23860
23869
  substitutionMin: "",
23861
23870
  substitutionDataID: "",
23862
- shirt_number: t.data[k].jersey_number,
23863
- positionX: t.data[k].y - 13,
23871
+ shirt_number: t.data[S].jersey_number,
23872
+ positionX: t.data[S].y - 13,
23864
23873
  positionY: d * 0.9,
23865
- positionXOrigin: t.data[k].y - 17,
23866
- positionYOrigin: t.data[k].x - 2,
23867
- playerId: t.data[k].player_id,
23874
+ positionXOrigin: t.data[S].y - 17,
23875
+ positionYOrigin: t.data[S].x - 2,
23876
+ playerId: t.data[S].player_id,
23868
23877
  goals: 0,
23869
23878
  yellowcards: 0,
23870
23879
  redcards: 0,
@@ -23879,27 +23888,27 @@ const CX = {
23879
23888
  id_team: t.team_id
23880
23889
  }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + t.team_id + ".png";
23881
23890
  }
23882
- this.playersHome.sort((k, x) => k.position_id > x.position_id ? 1 : x.position_id > k.position_id ? -1 : 0);
23891
+ this.playersHome.sort((S, x) => S.position_id > x.position_id ? 1 : x.position_id > S.position_id ? -1 : 0);
23883
23892
  }
23884
23893
  } else if (this.playersAway.length == 0) {
23885
23894
  this.dataPlayersAway = t.away_team.players;
23886
- for (let k = 0; k < t.data.length; k++) {
23895
+ for (let S = 0; S < t.data.length; S++) {
23887
23896
  this.away_team_id = t.team_id, this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/" + t.team_id + ".svg", "away", 1), this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/" + t.team_id + "_g.svg", "away", 0);
23888
- var m = t.data[k].player_name.split(","), h = m[0].split(" "), g = m[1].trim().split(" "), y = "";
23897
+ var m = t.data[S].player_name.split(","), h = m[0].split(" "), g = m[1].trim().split(" "), y = "";
23889
23898
  h.length == 2 || h.length == 1 ? h[0].length < 4 ? y = h[0] + " " + h[1] : y = h[0] : h.length == 3 ? y = h[0] + " " + h[1] : h.length == 4 && (y = h[1] + " " + h[2] + " " + h[3]);
23890
23899
  var b = g[g.length - 1] != "" ? g[g.length - 1].charAt(0) : g[g.length - 2] ? g[g.length - 2].charAt(0) : "";
23891
23900
  y = y.replace(",", "");
23892
- var v = b + ". " + y, S = t.data[k].x, A = 100 - (100 - S) * 50 / 100;
23901
+ var v = b + ". " + y, k = t.data[S].x, A = 100 - (100 - k) * 50 / 100;
23893
23902
  A = A * 0.9;
23894
23903
  var F = t.away_team.players.findIndex(
23895
- (x) => x.player_id == t.data[k].player_id
23904
+ (x) => x.player_id == t.data[S].player_id
23896
23905
  );
23897
23906
  this.playersAway.push({
23898
23907
  played: !0,
23899
- name: t.data[k].player_name,
23908
+ name: t.data[S].player_name,
23900
23909
  position: F != -1 ? this.positions[t.away_team.players[F].position_id - 1].name : "",
23901
23910
  position_id: t.away_team.players[F].position_id,
23902
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + t.data[k].player_id + ".png",
23911
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + t.data[S].player_id + ".png",
23903
23912
  nationality: F != -1 && t.away_team.players[F].nationality ? t.away_team.players[F].nationality.substring(0, 3) : "",
23904
23913
  imgNationality: F != -1 ? t.away_team.players[F].nationality_photo : "",
23905
23914
  substitutionIn: !1,
@@ -23908,12 +23917,12 @@ const CX = {
23908
23917
  imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + t.team_id + ".png",
23909
23918
  substitutionMin: "",
23910
23919
  substitutionDataID: "",
23911
- shirt_number: t.data[k].jersey_number,
23912
- positionX: t.data[k].y - 13,
23920
+ shirt_number: t.data[S].jersey_number,
23921
+ positionX: t.data[S].y - 13,
23913
23922
  positionY: A + 2,
23914
- positionXOrigin: t.data[k].y - 17,
23915
- positionYOrigin: t.data[k].x - 7,
23916
- playerId: t.data[k].player_id,
23923
+ positionXOrigin: t.data[S].y - 17,
23924
+ positionYOrigin: t.data[S].x - 7,
23925
+ playerId: t.data[S].player_id,
23917
23926
  goals: 0,
23918
23927
  yellowcards: 0,
23919
23928
  redcards: 0,
@@ -23928,7 +23937,7 @@ const CX = {
23928
23937
  id_team: t.team_id
23929
23938
  }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + t.team_id + ".png";
23930
23939
  }
23931
- this.playersAway.sort((k, x) => k.position_id > x.position_id ? 1 : x.position_id > k.position_id ? -1 : 0);
23940
+ this.playersAway.sort((S, x) => S.position_id > x.position_id ? 1 : x.position_id > S.position_id ? -1 : 0);
23932
23941
  }
23933
23942
  },
23934
23943
  update_mxm(e, t) {
@@ -23968,8 +23977,8 @@ const CX = {
23968
23977
  g != -1 && (this.playersHome[g].idSubstitution = t.play_id, this.playersHome[g].substitutionOut = !0, this.playersHome[g].substitutionMin = t.minute, this.playersHome[g].substitutionDataID = t.team_id + "@" + t.player_id), y != -1 && (this.playersHome[y].idSubstitution = t.play_id, this.playersHome[y].substitutionIn = !0, this.playersHome[y].substitutionMin = t.minute, this.playersHome[y].substitutionDataID = t.team_id + "@" + t.player_id);
23969
23978
  }
23970
23979
  } else if (this.playersAway.length > 0) {
23971
- var b = t.player_id.split("@"), v = this.playersAway.findIndex((P) => P.playerId == b[0]), S = this.playersAway.findIndex((P) => P.playerId == b[1]);
23972
- g != -1 && (this.playersAway[v].idSubstitution = t.play_id, this.playersAway[v].substitutionOut = !0, this.playersAway[v].substitutionMin = t.minute, this.playersAway[v].substitutionDataID = t.team_id + "@" + t.player_id), S != -1 && (this.playersAway[S].idSubstitution = t.play_id, this.playersAway[S].substitutionIn = !0, this.playersAway[S].substitutionMin = t.minute, this.playersAway[S].substitutionDataID = t.team_id + "@" + t.player_id);
23980
+ var b = t.player_id.split("@"), v = this.playersAway.findIndex((P) => P.playerId == b[0]), k = this.playersAway.findIndex((P) => P.playerId == b[1]);
23981
+ g != -1 && (this.playersAway[v].idSubstitution = t.play_id, this.playersAway[v].substitutionOut = !0, this.playersAway[v].substitutionMin = t.minute, this.playersAway[v].substitutionDataID = t.team_id + "@" + t.player_id), k != -1 && (this.playersAway[k].idSubstitution = t.play_id, this.playersAway[k].substitutionIn = !0, this.playersAway[k].substitutionMin = t.minute, this.playersAway[k].substitutionDataID = t.team_id + "@" + t.player_id);
23973
23982
  }
23974
23983
  }
23975
23984
  if (t.event_type_id == 1) {
@@ -23991,10 +24000,10 @@ const CX = {
23991
24000
  if (t.category_id == 8) {
23992
24001
  if (t.team_id == this.home_team_id) {
23993
24002
  if (this.playersHome.length > 0) {
23994
- var k = this.playersHome.findIndex(
24003
+ var S = this.playersHome.findIndex(
23995
24004
  (P) => P.playerId == t.player_id
23996
24005
  );
23997
- k != -1 && (this.playersHome[k].yellowcards += 1, this.playersHome[k].yellowcardsMin = t.minute, this.playersHome[k].idyellowcards = t.play_id);
24006
+ S != -1 && (this.playersHome[S].yellowcards += 1, this.playersHome[S].yellowcardsMin = t.minute, this.playersHome[S].idyellowcards = t.play_id);
23998
24007
  }
23999
24008
  } else if (this.playersAway.length > 0) {
24000
24009
  var x = this.playersAway.findIndex(
@@ -24108,50 +24117,50 @@ const CX = {
24108
24117
  }
24109
24118
  });
24110
24119
  console.log("this.gameInfoheader.home_team"), console.log(this.gameInfoheader.home_team);
24111
- const k = await F.get(this.url + e);
24112
- if (!k || !k.data)
24120
+ const S = await F.get(this.url + e);
24121
+ if (!S || !S.data)
24113
24122
  throw new Error("There is not lineups for this game.");
24114
- if (k.data.home_team.team_id == this.gameInfoheader.home_team) {
24115
- this.dataPlayersHome = k.data.home_team.players, k.data.home_team.starting_lineup[0].lineup.sort(
24123
+ if (S.data.home_team.team_id == this.gameInfoheader.home_team) {
24124
+ this.dataPlayersHome = S.data.home_team.players, S.data.home_team.starting_lineup[0].lineup.sort(
24116
24125
  (x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0
24117
24126
  );
24118
- for (let x = 0; x < k.data.home_team.starting_lineup[0].lineup.length; x++) {
24119
- this.home_team_id = k.data.home_team.team_id, this.imageExists(
24120
- "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.home_team.team_id + ".svg",
24127
+ for (let x = 0; x < S.data.home_team.starting_lineup[0].lineup.length; x++) {
24128
+ this.home_team_id = S.data.home_team.team_id, this.imageExists(
24129
+ "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.home_team.team_id + ".svg",
24121
24130
  "home",
24122
24131
  1
24123
24132
  ), this.imageExists(
24124
- "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.home_team.team_id + "_g.svg",
24133
+ "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.home_team.team_id + "_g.svg",
24125
24134
  "home",
24126
24135
  0
24127
24136
  );
24128
- var t = k.data.home_team.starting_lineup[0].lineup[x].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
24137
+ var t = S.data.home_team.starting_lineup[0].lineup[x].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
24129
24138
  a.length == 2 || a.length == 1 ? a[0].length < 4 ? i = a[0] + " " + a[1] : i = a[0] : a.length == 3 ? i = a[0] + " " + a[1] : a.length == 4 && (i = a[1] + " " + a[2] + " " + a[3]);
24130
24139
  var o = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
24131
24140
  i = i.replace(",", "");
24132
- var n = o + ". " + i, c = k.data.home_team.starting_lineup[0].lineup[x].x, p = c * 50 / 100, d = k.data.home_team.players.findIndex(
24133
- (R) => R.player_id == k.data.home_team.starting_lineup[0].lineup[x].player_id
24141
+ var n = o + ". " + i, c = S.data.home_team.starting_lineup[0].lineup[x].x, p = c * 50 / 100, d = S.data.home_team.players.findIndex(
24142
+ (R) => R.player_id == S.data.home_team.starting_lineup[0].lineup[x].player_id
24134
24143
  );
24135
24144
  this.playersHome.push({
24136
24145
  played: !0,
24137
- name: k.data.home_team.starting_lineup[0].lineup[x].player_name,
24138
- position: this.positions[k.data.home_team.players[d].position_id - 1].name,
24139
- position_id: k.data.home_team.players[d].position_id - 1,
24140
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.home_team.starting_lineup[0].lineup[x].player_id + ".png",
24141
- nationality: k.data.home_team.players[d].nationality ? k.data.home_team.players[d].nationality.substring(0, 3) : "",
24142
- imgNationality: k.data.home_team.players[d].nationality_photo,
24146
+ name: S.data.home_team.starting_lineup[0].lineup[x].player_name,
24147
+ position: this.positions[S.data.home_team.players[d].position_id - 1].name,
24148
+ position_id: S.data.home_team.players[d].position_id - 1,
24149
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.home_team.starting_lineup[0].lineup[x].player_id + ".png",
24150
+ nationality: S.data.home_team.players[d].nationality ? S.data.home_team.players[d].nationality.substring(0, 3) : "",
24151
+ imgNationality: S.data.home_team.players[d].nationality_photo,
24143
24152
  substitutionIn: !1,
24144
24153
  substitutionOut: !1,
24145
24154
  abrevNamePlayer: n,
24146
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png",
24155
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png",
24147
24156
  substitutionMin: "",
24148
24157
  substitutionDataID: "",
24149
- shirt_number: k.data.home_team.starting_lineup[0].lineup[x].jersey_number,
24150
- positionX: k.data.home_team.starting_lineup[0].lineup[x].y - 13,
24158
+ shirt_number: S.data.home_team.starting_lineup[0].lineup[x].jersey_number,
24159
+ positionX: S.data.home_team.starting_lineup[0].lineup[x].y - 13,
24151
24160
  positionY: p * 0.9,
24152
- positionXOrigin: k.data.home_team.starting_lineup[0].lineup[x].y - 17,
24153
- positionYOrigin: k.data.home_team.starting_lineup[0].lineup[x].x - 2,
24154
- playerId: k.data.home_team.starting_lineup[0].lineup[x].player_id,
24161
+ positionXOrigin: S.data.home_team.starting_lineup[0].lineup[x].y - 17,
24162
+ positionYOrigin: S.data.home_team.starting_lineup[0].lineup[x].x - 2,
24163
+ playerId: S.data.home_team.starting_lineup[0].lineup[x].player_id,
24155
24164
  goals: 0,
24156
24165
  yellowcards: 0,
24157
24166
  redcards: 0,
@@ -24163,39 +24172,39 @@ const CX = {
24163
24172
  idsGoals: [],
24164
24173
  idSubstitution: 0,
24165
24174
  isbench: !1,
24166
- id_team: k.data.home_team.team_id
24167
- }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png";
24175
+ id_team: S.data.home_team.team_id
24176
+ }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png";
24168
24177
  }
24169
- if (this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0), k.data.home_team.bench) {
24170
- for (let x = 0; x < k.data.home_team.bench.length; x++) {
24178
+ if (this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0), S.data.home_team.bench) {
24179
+ for (let x = 0; x < S.data.home_team.bench.length; x++) {
24171
24180
  this.subsTitle = !0;
24172
- var l = k.data.home_team.bench[x].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
24181
+ var l = S.data.home_team.bench[x].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
24173
24182
  m.length == 2 || m.length == 1 ? m[0].length < 4 ? g = m[0] + " " + m[1] : g = m[0] : m.length == 3 ? g = m[0] + " " + m[1] : m.length == 4 && (g = m[1] + " " + m[2] + " " + m[3]);
24174
24183
  var y = h[h.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
24175
24184
  g = g.replace(",", "");
24176
- var b = y + ". " + g, v = k.data.home_team.players.findIndex(
24177
- (R) => R.player_id == k.data.home_team.bench[x].playerID
24185
+ var b = y + ". " + g, v = S.data.home_team.players.findIndex(
24186
+ (R) => R.player_id == S.data.home_team.bench[x].playerID
24178
24187
  );
24179
24188
  this.playersHome.push({
24180
24189
  played: !1,
24181
- name: k.data.home_team.bench[x].playerName,
24182
- position: v != -1 ? this.positions[k.data.home_team.players[v].position_id - 1].name : "",
24183
- position_id: k.data.home_team.players[v].position_id,
24184
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.home_team.bench[x].playerID + ".png",
24185
- nationality: v != -1 && k.data.home_team.players[v].nationality ? k.data.home_team.players[v].nationality.substring(0, 3) : "",
24186
- imgNationality: v != -1 ? k.data.home_team.players[v].nationality_photo : "",
24190
+ name: S.data.home_team.bench[x].playerName,
24191
+ position: v != -1 ? this.positions[S.data.home_team.players[v].position_id - 1].name : "",
24192
+ position_id: S.data.home_team.players[v].position_id,
24193
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.home_team.bench[x].playerID + ".png",
24194
+ nationality: v != -1 && S.data.home_team.players[v].nationality ? S.data.home_team.players[v].nationality.substring(0, 3) : "",
24195
+ imgNationality: v != -1 ? S.data.home_team.players[v].nationality_photo : "",
24187
24196
  substitutionIn: !1,
24188
24197
  substitutionOut: !1,
24189
24198
  abrevNamePlayer: b,
24190
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png",
24199
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png",
24191
24200
  substitutionMin: "",
24192
24201
  substitutionDataID: "",
24193
- shirt_number: k.data.home_team.bench[x].jerseyNumber,
24202
+ shirt_number: S.data.home_team.bench[x].jerseyNumber,
24194
24203
  positionX: "",
24195
24204
  positionY: "",
24196
24205
  positionXOrigin: "",
24197
24206
  positionYOrigin: "",
24198
- playerId: k.data.home_team.bench[x].playerID,
24207
+ playerId: S.data.home_team.bench[x].playerID,
24199
24208
  goals: 0,
24200
24209
  yellowcards: 0,
24201
24210
  redcards: 0,
@@ -24207,57 +24216,57 @@ const CX = {
24207
24216
  idsGoals: [],
24208
24217
  idSubstitution: 0,
24209
24218
  isbench: !0,
24210
- id_team: k.data.home_team.team_id
24219
+ id_team: S.data.home_team.team_id
24211
24220
  });
24212
24221
  }
24213
24222
  this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0);
24214
24223
  }
24215
24224
  }
24216
- if (k.data.away_team.team_id == this.gameInfoheader.home_team) {
24217
- this.dataPlayersHome = k.data.away_team.players, k.data.away_team.starting_lineup[0].lineup.sort(
24225
+ if (S.data.away_team.team_id == this.gameInfoheader.home_team) {
24226
+ this.dataPlayersHome = S.data.away_team.players, S.data.away_team.starting_lineup[0].lineup.sort(
24218
24227
  (x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0
24219
24228
  );
24220
- for (let x = 0; x < k.data.away_team.starting_lineup[0].lineup.length; x++) {
24221
- this.home_team_id = k.data.away_team.team_id, this.imageExists(
24222
- "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.away_team.team_id + ".svg",
24229
+ for (let x = 0; x < S.data.away_team.starting_lineup[0].lineup.length; x++) {
24230
+ this.home_team_id = S.data.away_team.team_id, this.imageExists(
24231
+ "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.away_team.team_id + ".svg",
24223
24232
  "home",
24224
24233
  1
24225
24234
  ), this.imageExists(
24226
- "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.away_team.team_id + "_g.svg",
24235
+ "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.away_team.team_id + "_g.svg",
24227
24236
  "home",
24228
24237
  0
24229
24238
  );
24230
- var t = k.data.away_team.starting_lineup[0].lineup[x].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
24239
+ var t = S.data.away_team.starting_lineup[0].lineup[x].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
24231
24240
  a.length == 2 || a.length == 1 ? a[0].length < 4 ? i = a[0] + " " + a[1] : i = a[0] : a.length == 3 ? i = a[0] + " " + a[1] : a.length == 4 && (i = a[1] + " " + a[2] + " " + a[3]);
24232
24241
  var o = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
24233
24242
  i = i.replace(",", "");
24234
- var n = o + ". " + i, S = k.data.away_team.starting_lineup[0].lineup[x].x;
24235
- S = Math.abs(S - 100);
24236
- var p = S * 50 / 100, A = k.data.away_team.starting_lineup[0].lineup[x].y;
24243
+ var n = o + ". " + i, k = S.data.away_team.starting_lineup[0].lineup[x].x;
24244
+ k = Math.abs(k - 100);
24245
+ var p = k * 50 / 100, A = S.data.away_team.starting_lineup[0].lineup[x].y;
24237
24246
  A = Math.abs(A - 100);
24238
- var d = k.data.away_team.players.findIndex(
24239
- (pe) => pe.player_id == k.data.away_team.starting_lineup[0].lineup[x].player_id
24247
+ var d = S.data.away_team.players.findIndex(
24248
+ (pe) => pe.player_id == S.data.away_team.starting_lineup[0].lineup[x].player_id
24240
24249
  );
24241
24250
  this.playersHome.push({
24242
24251
  played: !0,
24243
- name: k.data.away_team.starting_lineup[0].lineup[x].player_name,
24244
- position: this.positions[k.data.away_team.players[d].position_id - 1].name,
24245
- position_id: k.data.away_team.players[d].position_id - 1,
24246
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.away_team.starting_lineup[0].lineup[x].player_id + ".png",
24247
- nationality: k.data.away_team.players[d].nationality ? k.data.away_team.players[d].nationality.substring(0, 3) : "",
24248
- imgNationality: k.data.away_team.players[d].nationality_photo,
24252
+ name: S.data.away_team.starting_lineup[0].lineup[x].player_name,
24253
+ position: this.positions[S.data.away_team.players[d].position_id - 1].name,
24254
+ position_id: S.data.away_team.players[d].position_id - 1,
24255
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.away_team.starting_lineup[0].lineup[x].player_id + ".png",
24256
+ nationality: S.data.away_team.players[d].nationality ? S.data.away_team.players[d].nationality.substring(0, 3) : "",
24257
+ imgNationality: S.data.away_team.players[d].nationality_photo,
24249
24258
  substitutionIn: !1,
24250
24259
  substitutionOut: !1,
24251
24260
  abrevNamePlayer: n,
24252
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png",
24261
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png",
24253
24262
  substitutionMin: "",
24254
24263
  substitutionDataID: "",
24255
- shirt_number: k.data.away_team.starting_lineup[0].lineup[x].jersey_number,
24264
+ shirt_number: S.data.away_team.starting_lineup[0].lineup[x].jersey_number,
24256
24265
  positionX: A - 20,
24257
24266
  positionY: p * 0.9,
24258
- positionXOrigin: k.data.away_team.starting_lineup[0].lineup[x].y - 17,
24259
- positionYOrigin: k.data.away_team.starting_lineup[0].lineup[x].x - 2,
24260
- playerId: k.data.away_team.starting_lineup[0].lineup[x].player_id,
24267
+ positionXOrigin: S.data.away_team.starting_lineup[0].lineup[x].y - 17,
24268
+ positionYOrigin: S.data.away_team.starting_lineup[0].lineup[x].x - 2,
24269
+ playerId: S.data.away_team.starting_lineup[0].lineup[x].player_id,
24261
24270
  goals: 0,
24262
24271
  yellowcards: 0,
24263
24272
  redcards: 0,
@@ -24269,39 +24278,39 @@ const CX = {
24269
24278
  idsGoals: [],
24270
24279
  idSubstitution: 0,
24271
24280
  isbench: !1,
24272
- id_team: k.data.away_team.team_id
24273
- }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png";
24281
+ id_team: S.data.away_team.team_id
24282
+ }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png";
24274
24283
  }
24275
- if (this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0), k.data.away_team.bench) {
24276
- for (let x = 0; x < k.data.away_team.bench.length; x++) {
24284
+ if (this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0), S.data.away_team.bench) {
24285
+ for (let x = 0; x < S.data.away_team.bench.length; x++) {
24277
24286
  this.subsTitle = !0;
24278
- var l = k.data.away_team.bench[x].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
24287
+ var l = S.data.away_team.bench[x].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
24279
24288
  m.length == 2 || m.length == 1 ? m[0].length < 4 ? g = m[0] + " " + m[1] : g = m[0] : m.length == 3 ? g = m[0] + " " + m[1] : m.length == 4 && (g = m[1] + " " + m[2] + " " + m[3]);
24280
24289
  var y = h[h.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
24281
24290
  g = g.replace(",", "");
24282
- var b = y + ". " + g, v = k.data.away_team.players.findIndex(
24283
- (X) => X.player_id == k.data.away_team.bench[x].playerID
24291
+ var b = y + ". " + g, v = S.data.away_team.players.findIndex(
24292
+ (X) => X.player_id == S.data.away_team.bench[x].playerID
24284
24293
  );
24285
24294
  this.playersHome.push({
24286
24295
  played: !1,
24287
- name: k.data.away_team.bench[x].playerName,
24288
- position: v != -1 ? this.positions[k.data.away_team.players[v].position_id - 1].name : "",
24289
- position_id: k.data.away_team.players[v].position_id,
24290
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.away_team.bench[x].playerID + ".png",
24291
- nationality: v != -1 && k.data.away_team.players[v].nationality ? k.data.away_team.players[v].nationality.substring(0, 3) : "",
24292
- imgNationality: v != -1 ? k.data.away_team.players[v].nationality_photo : "",
24296
+ name: S.data.away_team.bench[x].playerName,
24297
+ position: v != -1 ? this.positions[S.data.away_team.players[v].position_id - 1].name : "",
24298
+ position_id: S.data.away_team.players[v].position_id,
24299
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.away_team.bench[x].playerID + ".png",
24300
+ nationality: v != -1 && S.data.away_team.players[v].nationality ? S.data.away_team.players[v].nationality.substring(0, 3) : "",
24301
+ imgNationality: v != -1 ? S.data.away_team.players[v].nationality_photo : "",
24293
24302
  substitutionIn: !1,
24294
24303
  substitutionOut: !1,
24295
24304
  abrevNamePlayer: b,
24296
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png",
24305
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png",
24297
24306
  substitutionMin: "",
24298
24307
  substitutionDataID: "",
24299
- shirt_number: k.data.away_team.bench[x].jerseyNumber,
24308
+ shirt_number: S.data.away_team.bench[x].jerseyNumber,
24300
24309
  positionX: "",
24301
24310
  positionY: "",
24302
24311
  positionXOrigin: "",
24303
24312
  positionYOrigin: "",
24304
- playerId: k.data.away_team.bench[x].playerID,
24313
+ playerId: S.data.away_team.bench[x].playerID,
24305
24314
  goals: 0,
24306
24315
  yellowcards: 0,
24307
24316
  redcards: 0,
@@ -24313,7 +24322,7 @@ const CX = {
24313
24322
  idsGoals: [],
24314
24323
  idSubstitution: 0,
24315
24324
  isbench: !0,
24316
- id_team: k.data.away_team.team_id
24325
+ id_team: S.data.away_team.team_id
24317
24326
  });
24318
24327
  }
24319
24328
  this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0);
@@ -24368,56 +24377,56 @@ const CX = {
24368
24377
  },
24369
24378
  async getLineUpProbablesAway3D(e) {
24370
24379
  try {
24371
- const S = await Kt.create({
24380
+ const k = await Kt.create({
24372
24381
  headers: {
24373
24382
  Authorization: `${this.tokenPremium}`
24374
24383
  }
24375
24384
  }).get(this.url + e);
24376
- if (!S || !S.data)
24385
+ if (!k || !k.data)
24377
24386
  throw new Error("There is not lineups for this game.");
24378
- if (S.data.home_team.team_id == this.gameInfoheader.away_team) {
24379
- this.dataPlayersAway = S.data.home_team.players;
24380
- for (let A = 0; A < S.data.home_team.starting_lineup[0].lineup.length; A++) {
24381
- this.away_team_id = S.data.home_team.team_id, this.imageExists(
24382
- "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.home_team.team_id + ".svg",
24387
+ if (k.data.home_team.team_id == this.gameInfoheader.away_team) {
24388
+ this.dataPlayersAway = k.data.home_team.players;
24389
+ for (let A = 0; A < k.data.home_team.starting_lineup[0].lineup.length; A++) {
24390
+ this.away_team_id = k.data.home_team.team_id, this.imageExists(
24391
+ "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.home_team.team_id + ".svg",
24383
24392
  "away",
24384
24393
  1
24385
24394
  ), this.imageExists(
24386
- "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.home_team.team_id + "_g.svg",
24395
+ "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.home_team.team_id + "_g.svg",
24387
24396
  "away",
24388
24397
  0
24389
24398
  );
24390
- var t = S.data.home_team.starting_lineup[0].lineup[A].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
24399
+ var t = k.data.home_team.starting_lineup[0].lineup[A].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
24391
24400
  a.length == 2 || a.length == 1 ? a[0].length < 4 ? i = a[0] + " " + a[1] : i = a[0] : a.length == 3 ? i = a[0] + " " + a[1] : a.length == 4 && (i = a[1] + " " + a[2] + " " + a[3]);
24392
24401
  var o = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
24393
24402
  i = i.replace(",", "");
24394
- var n = o + ". " + i, c = S.data.home_team.starting_lineup[0].lineup[A].x;
24403
+ var n = o + ". " + i, c = k.data.home_team.starting_lineup[0].lineup[A].x;
24395
24404
  c = Math.abs(c - 100);
24396
24405
  var p = 100 - (100 - c) * 50 / 100;
24397
24406
  p = p * 0.9;
24398
- var d = S.data.home_team.players.findIndex(
24399
- (F) => F.player_id == S.data.home_team.starting_lineup[0].lineup[A].player_id
24407
+ var d = k.data.home_team.players.findIndex(
24408
+ (F) => F.player_id == k.data.home_team.starting_lineup[0].lineup[A].player_id
24400
24409
  );
24401
24410
  this.playersAway.push({
24402
24411
  played: !0,
24403
- name: S.data.home_team.starting_lineup[0].lineup[A].player_name,
24404
- position: this.positions[S.data.home_team.players[d].position_id - 1].name,
24405
- position_id: S.data.home_team.players[d].position_id,
24406
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.home_team.starting_lineup[0].lineup[A].player_id + ".png",
24407
- nationality: S.data.home_team.players[d].nationality ? S.data.home_team.players[d].nationality.substring(0, 3) : "",
24408
- imgNationality: S.data.home_team.players[d].nationality_photo,
24412
+ name: k.data.home_team.starting_lineup[0].lineup[A].player_name,
24413
+ position: this.positions[k.data.home_team.players[d].position_id - 1].name,
24414
+ position_id: k.data.home_team.players[d].position_id,
24415
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.home_team.starting_lineup[0].lineup[A].player_id + ".png",
24416
+ nationality: k.data.home_team.players[d].nationality ? k.data.home_team.players[d].nationality.substring(0, 3) : "",
24417
+ imgNationality: k.data.home_team.players[d].nationality_photo,
24409
24418
  substitutionIn: !1,
24410
24419
  substitutionOut: !1,
24411
24420
  abrevNamePlayer: n,
24412
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png",
24421
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png",
24413
24422
  substitutionMin: "",
24414
24423
  substitutionDataID: "",
24415
- shirt_number: S.data.home_team.starting_lineup[0].lineup[A].jersey_number,
24416
- positionX: S.data.home_team.starting_lineup[0].lineup[A].y - 13,
24424
+ shirt_number: k.data.home_team.starting_lineup[0].lineup[A].jersey_number,
24425
+ positionX: k.data.home_team.starting_lineup[0].lineup[A].y - 13,
24417
24426
  positionY: p,
24418
- positionXOrigin: S.data.home_team.starting_lineup[0].lineup[A].y - 17,
24419
- positionYOrigin: S.data.home_team.starting_lineup[0].lineup[A].x - 7,
24420
- playerId: S.data.home_team.starting_lineup[0].lineup[A].player_id,
24427
+ positionXOrigin: k.data.home_team.starting_lineup[0].lineup[A].y - 17,
24428
+ positionYOrigin: k.data.home_team.starting_lineup[0].lineup[A].x - 7,
24429
+ playerId: k.data.home_team.starting_lineup[0].lineup[A].player_id,
24421
24430
  goals: 0,
24422
24431
  yellowcards: 0,
24423
24432
  redcards: 0,
@@ -24429,39 +24438,39 @@ const CX = {
24429
24438
  idsGoals: [],
24430
24439
  idSubstitution: 0,
24431
24440
  isbench: !1,
24432
- id_team: S.data.home_team.team_id
24433
- }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png";
24441
+ id_team: k.data.home_team.team_id
24442
+ }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png";
24434
24443
  }
24435
- if (this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0), S.data.home_team.bench) {
24436
- for (let A = 0; A < S.data.home_team.bench.length; A++) {
24444
+ if (this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0), k.data.home_team.bench) {
24445
+ for (let A = 0; A < k.data.home_team.bench.length; A++) {
24437
24446
  this.subsTitle = !0;
24438
- var l = S.data.home_team.bench[A].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
24447
+ var l = k.data.home_team.bench[A].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
24439
24448
  m.length == 2 || m.length == 1 ? m[0].length < 4 ? g = m[0] + " " + m[1] : g = m[0] : m.length == 3 ? g = m[0] + " " + m[1] : m.length == 4 && (g = m[1] + " " + m[2] + " " + m[3]);
24440
24449
  var y = h[h.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
24441
24450
  g = g.replace(",", "");
24442
- var b = y + ". " + g, v = S.data.home_team.players.findIndex(
24443
- (F) => F.player_id == S.data.home_team.bench[A].playerID
24451
+ var b = y + ". " + g, v = k.data.home_team.players.findIndex(
24452
+ (F) => F.player_id == k.data.home_team.bench[A].playerID
24444
24453
  );
24445
24454
  this.playersAway.push({
24446
24455
  played: !1,
24447
- name: S.data.home_team.bench[A].playerName,
24448
- position: v != -1 ? this.positions[S.data.home_team.players[v].position_id - 1].name : "",
24449
- position_id: S.data.home_team.players[v].position_id,
24450
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.home_team.bench[A].playerID + ".png",
24451
- nationality: v != -1 && S.data.home_team.players[v].nationality ? S.data.home_team.players[v].nationality.substring(0, 3) : "",
24452
- imgNationality: v != -1 ? S.data.home_team.players[v].nationality_photo : "",
24456
+ name: k.data.home_team.bench[A].playerName,
24457
+ position: v != -1 ? this.positions[k.data.home_team.players[v].position_id - 1].name : "",
24458
+ position_id: k.data.home_team.players[v].position_id,
24459
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.home_team.bench[A].playerID + ".png",
24460
+ nationality: v != -1 && k.data.home_team.players[v].nationality ? k.data.home_team.players[v].nationality.substring(0, 3) : "",
24461
+ imgNationality: v != -1 ? k.data.home_team.players[v].nationality_photo : "",
24453
24462
  substitutionIn: !1,
24454
24463
  substitutionOut: !1,
24455
24464
  abrevNamePlayer: b,
24456
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png",
24465
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png",
24457
24466
  substitutionMin: "",
24458
24467
  substitutionDataID: "",
24459
- shirt_number: S.data.home_team.bench[A].jerseyNumber,
24468
+ shirt_number: k.data.home_team.bench[A].jerseyNumber,
24460
24469
  positionX: "",
24461
24470
  positionY: "",
24462
24471
  positionXOrigin: "",
24463
24472
  positionYOrigin: "",
24464
- playerId: S.data.home_team.bench[A].playerID,
24473
+ playerId: k.data.home_team.bench[A].playerID,
24465
24474
  goals: 0,
24466
24475
  yellowcards: 0,
24467
24476
  redcards: 0,
@@ -24473,53 +24482,53 @@ const CX = {
24473
24482
  idsGoals: [],
24474
24483
  idSubstitution: 0,
24475
24484
  isbench: !0,
24476
- id_team: S.data.home_team.team_id
24485
+ id_team: k.data.home_team.team_id
24477
24486
  });
24478
24487
  }
24479
24488
  this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0);
24480
24489
  }
24481
24490
  }
24482
- if (S.data.away_team.team_id == this.gameInfoheader.away_team) {
24483
- this.dataPlayersAway = S.data.away_team.players;
24484
- for (let A = 0; A < S.data.away_team.starting_lineup[0].lineup.length; A++) {
24485
- this.away_team_id = S.data.away_team.team_id, this.imageExists(
24486
- "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.away_team.team_id + ".svg",
24491
+ if (k.data.away_team.team_id == this.gameInfoheader.away_team) {
24492
+ this.dataPlayersAway = k.data.away_team.players;
24493
+ for (let A = 0; A < k.data.away_team.starting_lineup[0].lineup.length; A++) {
24494
+ this.away_team_id = k.data.away_team.team_id, this.imageExists(
24495
+ "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.away_team.team_id + ".svg",
24487
24496
  "away",
24488
24497
  1
24489
24498
  ), this.imageExists(
24490
- "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.away_team.team_id + "_g.svg",
24499
+ "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.away_team.team_id + "_g.svg",
24491
24500
  "away",
24492
24501
  0
24493
24502
  );
24494
- var t = S.data.away_team.starting_lineup[0].lineup[A].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
24503
+ var t = k.data.away_team.starting_lineup[0].lineup[A].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
24495
24504
  a.length == 2 || a.length == 1 ? a[0].length < 4 ? i = a[0] + " " + a[1] : i = a[0] : a.length == 3 ? i = a[0] + " " + a[1] : a.length == 4 && (i = a[1] + " " + a[2] + " " + a[3]);
24496
24505
  var o = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
24497
24506
  i = i.replace(",", "");
24498
- var n = o + ". " + i, c = S.data.away_team.starting_lineup[0].lineup[A].x, p = 100 - (100 - c) * 50 / 100;
24507
+ var n = o + ". " + i, c = k.data.away_team.starting_lineup[0].lineup[A].x, p = 100 - (100 - c) * 50 / 100;
24499
24508
  p = p * 0.9;
24500
- var d = S.data.away_team.players.findIndex(
24501
- (D) => D.player_id == S.data.away_team.starting_lineup[0].lineup[A].player_id
24509
+ var d = k.data.away_team.players.findIndex(
24510
+ (D) => D.player_id == k.data.away_team.starting_lineup[0].lineup[A].player_id
24502
24511
  );
24503
24512
  this.playersAway.push({
24504
24513
  played: !0,
24505
- name: S.data.away_team.starting_lineup[0].lineup[A].player_name,
24506
- position: this.positions[S.data.away_team.players[d].position_id - 1].name,
24507
- position_id: S.data.away_team.players[d].position_id,
24508
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.away_team.starting_lineup[0].lineup[A].player_id + ".png",
24509
- nationality: S.data.away_team.players[d].nationality ? S.data.away_team.players[d].nationality.substring(0, 3) : "",
24510
- imgNationality: S.data.away_team.players[d].nationality_photo,
24514
+ name: k.data.away_team.starting_lineup[0].lineup[A].player_name,
24515
+ position: this.positions[k.data.away_team.players[d].position_id - 1].name,
24516
+ position_id: k.data.away_team.players[d].position_id,
24517
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.away_team.starting_lineup[0].lineup[A].player_id + ".png",
24518
+ nationality: k.data.away_team.players[d].nationality ? k.data.away_team.players[d].nationality.substring(0, 3) : "",
24519
+ imgNationality: k.data.away_team.players[d].nationality_photo,
24511
24520
  substitutionIn: !1,
24512
24521
  substitutionOut: !1,
24513
24522
  abrevNamePlayer: n,
24514
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png",
24523
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png",
24515
24524
  substitutionMin: "",
24516
24525
  substitutionDataID: "",
24517
- shirt_number: S.data.away_team.starting_lineup[0].lineup[A].jersey_number,
24518
- positionX: S.data.away_team.starting_lineup[0].lineup[A].y - 13,
24526
+ shirt_number: k.data.away_team.starting_lineup[0].lineup[A].jersey_number,
24527
+ positionX: k.data.away_team.starting_lineup[0].lineup[A].y - 13,
24519
24528
  positionY: p,
24520
- positionXOrigin: S.data.away_team.starting_lineup[0].lineup[A].y - 17,
24521
- positionYOrigin: S.data.away_team.starting_lineup[0].lineup[A].x - 7,
24522
- playerId: S.data.away_team.starting_lineup[0].lineup[A].player_id,
24529
+ positionXOrigin: k.data.away_team.starting_lineup[0].lineup[A].y - 17,
24530
+ positionYOrigin: k.data.away_team.starting_lineup[0].lineup[A].x - 7,
24531
+ playerId: k.data.away_team.starting_lineup[0].lineup[A].player_id,
24523
24532
  goals: 0,
24524
24533
  yellowcards: 0,
24525
24534
  redcards: 0,
@@ -24531,39 +24540,39 @@ const CX = {
24531
24540
  idsGoals: [],
24532
24541
  idSubstitution: 0,
24533
24542
  isbench: !1,
24534
- id_team: S.data.away_team.team_id
24535
- }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png";
24543
+ id_team: k.data.away_team.team_id
24544
+ }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png";
24536
24545
  }
24537
- if (this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0), S.data.away_team.bench) {
24538
- for (let A = 0; A < S.data.away_team.bench.length; A++) {
24546
+ if (this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0), k.data.away_team.bench) {
24547
+ for (let A = 0; A < k.data.away_team.bench.length; A++) {
24539
24548
  this.subsTitle = !0;
24540
- var l = S.data.away_team.bench[A].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
24549
+ var l = k.data.away_team.bench[A].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
24541
24550
  m.length == 2 || m.length == 1 ? m[0].length < 4 ? g = m[0] + " " + m[1] : g = m[0] : m.length == 3 ? g = m[0] + " " + m[1] : m.length == 4 && (g = m[1] + " " + m[2] + " " + m[3]);
24542
24551
  var y = h[h.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
24543
24552
  g = g.replace(",", "");
24544
- var b = y + ". " + g, v = S.data.away_team.players.findIndex(
24545
- (W) => W.player_id == S.data.away_team.bench[A].playerID
24553
+ var b = y + ". " + g, v = k.data.away_team.players.findIndex(
24554
+ (W) => W.player_id == k.data.away_team.bench[A].playerID
24546
24555
  );
24547
24556
  this.playersAway.push({
24548
24557
  played: !1,
24549
- name: S.data.away_team.bench[A].playerName,
24550
- position: v != -1 ? this.positions[S.data.away_team.players[v].position_id - 1].name : "",
24551
- position_id: S.data.away_team.players[v].position_id,
24552
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.away_team.bench[A].playerID + ".png",
24553
- nationality: v != -1 && S.data.away_team.players[v].nationality ? S.data.away_team.players[v].nationality.substring(0, 3) : "",
24554
- imgNationality: v != -1 ? S.data.away_team.players[v].nationality_photo : "",
24558
+ name: k.data.away_team.bench[A].playerName,
24559
+ position: v != -1 ? this.positions[k.data.away_team.players[v].position_id - 1].name : "",
24560
+ position_id: k.data.away_team.players[v].position_id,
24561
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.away_team.bench[A].playerID + ".png",
24562
+ nationality: v != -1 && k.data.away_team.players[v].nationality ? k.data.away_team.players[v].nationality.substring(0, 3) : "",
24563
+ imgNationality: v != -1 ? k.data.away_team.players[v].nationality_photo : "",
24555
24564
  substitutionIn: !1,
24556
24565
  substitutionOut: !1,
24557
24566
  abrevNamePlayer: b,
24558
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png",
24567
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png",
24559
24568
  substitutionMin: "",
24560
24569
  substitutionDataID: "",
24561
- shirt_number: S.data.away_team.bench[A].jerseyNumber,
24570
+ shirt_number: k.data.away_team.bench[A].jerseyNumber,
24562
24571
  positionX: "",
24563
24572
  positionY: "",
24564
24573
  positionXOrigin: "",
24565
24574
  positionYOrigin: "",
24566
- playerId: S.data.away_team.bench[A].playerID,
24575
+ playerId: k.data.away_team.bench[A].playerID,
24567
24576
  goals: 0,
24568
24577
  yellowcards: 0,
24569
24578
  redcards: 0,
@@ -24575,15 +24584,15 @@ const CX = {
24575
24584
  idsGoals: [],
24576
24585
  idSubstitution: 0,
24577
24586
  isbench: !0,
24578
- id_team: S.data.away_team.team_id
24587
+ id_team: k.data.away_team.team_id
24579
24588
  });
24580
24589
  }
24581
24590
  this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0);
24582
24591
  }
24583
24592
  }
24584
24593
  this.getMXM(e);
24585
- } catch (S) {
24586
- return Promise.reject(S);
24594
+ } catch (k) {
24595
+ return Promise.reject(k);
24587
24596
  }
24588
24597
  },
24589
24598
  async getLineupProbablesHome(e) {
@@ -24881,11 +24890,11 @@ const CX = {
24881
24890
  "away",
24882
24891
  0
24883
24892
  );
24884
- var S = $.data.away_team.starting_lineup[0].lineup[T].player_name.split(","), A = S[0].split(" "), F = S[1].trim().split(" "), k = "";
24885
- A.length == 2 || A.length == 1 ? A[0].length < 4 ? k = A[0] + " " + A[1] : k = A[0] : A.length == 3 ? k = A[0] + " " + A[1] : A.length == 4 && (k = A[1] + " " + A[2] + " " + A[3]);
24893
+ var k = $.data.away_team.starting_lineup[0].lineup[T].player_name.split(","), A = k[0].split(" "), F = k[1].trim().split(" "), S = "";
24894
+ A.length == 2 || A.length == 1 ? A[0].length < 4 ? S = A[0] + " " + A[1] : S = A[0] : A.length == 3 ? S = A[0] + " " + A[1] : A.length == 4 && (S = A[1] + " " + A[2] + " " + A[3]);
24886
24895
  var x = F[s.length - 1] != "" ? F[F.length - 1].charAt(0) : F[F.length - 2] ? F[F.length - 2].charAt(0) : "";
24887
- k = k.replace(",", "");
24888
- var R = x + ". " + k, j = $.data.away_team.starting_lineup[0].lineup[T].x, P = 100 - (100 - j) * 50 / 100;
24896
+ S = S.replace(",", "");
24897
+ var R = x + ". " + S, j = $.data.away_team.starting_lineup[0].lineup[T].x, P = 100 - (100 - j) * 50 / 100;
24889
24898
  P = P * 0.9;
24890
24899
  var B = $.data.away_team.players.findIndex(
24891
24900
  (z) => z.player_id == $.data.away_team.starting_lineup[0].lineup[T].player_id
@@ -25849,11 +25858,11 @@ function nc(e, t, a) {
25849
25858
  if (ee.endsWith(y, "{}"))
25850
25859
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
25851
25860
  else if (ee.isArray(g) && $Y(g) || (ee.isFileList(g) || ee.endsWith(y, "[]")) && (v = ee.toArray(g)))
25852
- return y = ew(y), v.forEach(function(S, A) {
25853
- !(ee.isUndefined(S) || S === null) && t.append(
25861
+ return y = ew(y), v.forEach(function(k, A) {
25862
+ !(ee.isUndefined(k) || k === null) && t.append(
25854
25863
  // eslint-disable-next-line no-nested-ternary
25855
25864
  n === !0 ? P1([y], A, o) : n === null ? y : y + "[]",
25856
- p(S)
25865
+ p(k)
25857
25866
  );
25858
25867
  }), !1;
25859
25868
  }
@@ -27488,11 +27497,11 @@ function uc(e, t, a) {
27488
27497
  if (te.endsWith(y, "{}"))
27489
27498
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
27490
27499
  else if (te.isArray(g) && vQ(g) || (te.isFileList(g) || te.endsWith(y, "[]")) && (v = te.toArray(g)))
27491
- return y = Sw(y), v.forEach(function(S, A) {
27492
- !(te.isUndefined(S) || S === null) && t.append(
27500
+ return y = Sw(y), v.forEach(function(k, A) {
27501
+ !(te.isUndefined(k) || k === null) && t.append(
27493
27502
  // eslint-disable-next-line no-nested-ternary
27494
27503
  n === !0 ? V1([y], A, o) : n === null ? y : y + "[]",
27495
- p(S)
27504
+ p(k)
27496
27505
  );
27497
27506
  }), !1;
27498
27507
  }
@@ -28836,12 +28845,12 @@ var dee = ot({
28836
28845
  const o = O(null), n = O([]), c = O(0), p = O(0), d = Oe(Object.assign({}, Lt));
28837
28846
  let l = Object.assign({}, Lt), m;
28838
28847
  const h = O((i = e.modelValue) !== null && i !== void 0 ? i : 0), g = O(0), y = O(0), b = O(0), v = O(0);
28839
- let S, A;
28848
+ let k, A;
28840
28849
  ve("config", d), ve("slidesCount", p), ve("currentSlide", h), ve("maxSlide", b), ve("minSlide", v), ve("slideWidth", c);
28841
28850
  function F() {
28842
28851
  m = Object.assign({}, e.breakpoints), l = Object.assign(Object.assign(Object.assign({}, l), e), { i18n: Object.assign(Object.assign({}, l.i18n), e.i18n), breakpoints: void 0 }), x(l);
28843
28852
  }
28844
- function k() {
28853
+ function S() {
28845
28854
  if (!m || !Object.keys(m).length)
28846
28855
  return;
28847
28856
  const I = Object.keys(m).map((U) => Number(U)).sort((U, fe) => +fe - +U);
@@ -28855,7 +28864,7 @@ var dee = ot({
28855
28864
  Object.entries(I).forEach(([G, U]) => d[G] = U);
28856
28865
  }
28857
28866
  const R = lee(() => {
28858
- k(), j();
28867
+ S(), j();
28859
28868
  }, 16);
28860
28869
  function j() {
28861
28870
  if (!o.value)
@@ -28871,9 +28880,9 @@ var dee = ot({
28871
28880
  })));
28872
28881
  }
28873
28882
  at(() => {
28874
- Vs(() => j()), setTimeout(() => j(), 1e3), k(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
28883
+ Vs(() => j()), setTimeout(() => j(), 1e3), S(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
28875
28884
  }), Tt(() => {
28876
- A && clearTimeout(A), S && clearInterval(S), window.removeEventListener("resize", R, {
28885
+ A && clearTimeout(A), k && clearInterval(k), window.removeEventListener("resize", R, {
28877
28886
  passive: !0
28878
28887
  });
28879
28888
  });
@@ -28902,12 +28911,12 @@ var dee = ot({
28902
28911
  be(h.value - U), D.x = 0, D.y = 0, pe.value = !1, document.removeEventListener(B ? "touchmove" : "mousemove", T, !0), document.removeEventListener(B ? "touchend" : "mouseup", z, !0);
28903
28912
  }
28904
28913
  function xe() {
28905
- !d.autoplay || d.autoplay <= 0 || (S = setInterval(() => {
28914
+ !d.autoplay || d.autoplay <= 0 || (k = setInterval(() => {
28906
28915
  d.pauseAutoplayOnHover && X.value || Te();
28907
28916
  }, d.autoplay));
28908
28917
  }
28909
28918
  function Ae() {
28910
- S && (clearInterval(S), S = null), xe();
28919
+ k && (clearInterval(k), k = null), xe();
28911
28920
  }
28912
28921
  const ge = O(!1);
28913
28922
  function be(I) {
@@ -28964,7 +28973,7 @@ var dee = ot({
28964
28973
  };
28965
28974
  });
28966
28975
  function lt() {
28967
- F(), k(), P(), j(), Ae();
28976
+ F(), S(), P(), j(), Ae();
28968
28977
  }
28969
28978
  Object.keys(Q1).forEach((I) => {
28970
28979
  ["modelValue"].includes(I) || ye(() => e[I], lt);
@@ -28984,7 +28993,7 @@ var dee = ot({
28984
28993
  middleSlide: y
28985
28994
  };
28986
28995
  s({
28987
- updateBreakpointsConfigs: k,
28996
+ updateBreakpointsConfigs: S,
28988
28997
  updateSlidesData: P,
28989
28998
  updateSlideWidth: j,
28990
28999
  initDefaultConfigs: F,
@@ -29236,7 +29245,7 @@ const hee = (e, t) => {
29236
29245
  if (b && b.length && i.value) {
29237
29246
  if (s.defaultItemByProp) {
29238
29247
  const v = s.items.findIndex(
29239
- (S) => S[s.defaultItemByProp.propName] === s.defaultItemByProp.value
29248
+ (k) => k[s.defaultItemByProp.propName] === s.defaultItemByProp.value
29240
29249
  );
29241
29250
  v !== -1 ? (n.value = v, o.value = b[v]) : (n.value = 0, o.value = b[0]);
29242
29251
  } else
@@ -29285,9 +29294,9 @@ const hee = (e, t) => {
29285
29294
  onSlideStart: y
29286
29295
  }, {
29287
29296
  default: Z(() => [
29288
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), V(_e(mee), { key: A }, {
29297
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), V(_e(mee), { key: A }, {
29289
29298
  default: Z(() => [
29290
- Xe(b.$slots, "default", { item: S }, void 0, !0)
29299
+ Xe(b.$slots, "default", { item: k }, void 0, !0)
29291
29300
  ]),
29292
29301
  _: 2
29293
29302
  }, 1024))), 128))
@@ -29298,7 +29307,7 @@ const hee = (e, t) => {
29298
29307
  e.areSlidesArrowsVisible ? (f(), _("div", {
29299
29308
  key: 0,
29300
29309
  class: "gsc-carousel__2d__arrow-left",
29301
- onClick: v[0] || (v[0] = (S) => i.value.prev())
29310
+ onClick: v[0] || (v[0] = (k) => i.value.prev())
29302
29311
  }, [
29303
29312
  r("div", {
29304
29313
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -29316,7 +29325,7 @@ const hee = (e, t) => {
29316
29325
  e.areSlidesArrowsVisible ? (f(), _("div", {
29317
29326
  key: 1,
29318
29327
  class: "gsc-carousel__2d__arrow-right",
29319
- onClick: v[1] || (v[1] = (S) => d())
29328
+ onClick: v[1] || (v[1] = (k) => d())
29320
29329
  }, [
29321
29330
  r("div", {
29322
29331
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -29335,7 +29344,7 @@ const hee = (e, t) => {
29335
29344
  e.areNavigationArrowsVisible ? (f(), _("div", {
29336
29345
  key: 0,
29337
29346
  class: "gsc-carousel__2d__navigation__arrow-left",
29338
- onClick: v[2] || (v[2] = (S) => l())
29347
+ onClick: v[2] || (v[2] = (k) => l())
29339
29348
  }, [
29340
29349
  (f(), _("svg", $ee, [
29341
29350
  r("path", {
@@ -29345,7 +29354,7 @@ const hee = (e, t) => {
29345
29354
  ]))
29346
29355
  ])) : C("", !0),
29347
29356
  e.isPaginationVisible ? (f(), _("div", Aee, [
29348
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), _("div", {
29357
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), _("div", {
29349
29358
  key: `i-${A}`,
29350
29359
  class: "gsc-carousel__2d__navigation__pagination__item",
29351
29360
  style: N({
@@ -29361,7 +29370,7 @@ const hee = (e, t) => {
29361
29370
  e.areNavigationArrowsVisible ? (f(), _("div", {
29362
29371
  key: 2,
29363
29372
  class: "gsc-carousel__2d__navigation__arrow-right",
29364
- onClick: v[3] || (v[3] = (S) => i.value.next())
29373
+ onClick: v[3] || (v[3] = (k) => i.value.next())
29365
29374
  }, [
29366
29375
  (f(), _("svg", Oee, [
29367
29376
  r("path", {
@@ -32908,11 +32917,11 @@ function gc(e, t, a) {
32908
32917
  if (ae.endsWith(y, "{}"))
32909
32918
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
32910
32919
  else if (ae.isArray(g) && xre(g) || (ae.isFileList(g) || ae.endsWith(y, "[]")) && (v = ae.toArray(g)))
32911
- return y = qw(y), v.forEach(function(S, A) {
32912
- !(ae.isUndefined(S) || S === null) && t.append(
32920
+ return y = qw(y), v.forEach(function(k, A) {
32921
+ !(ae.isUndefined(k) || k === null) && t.append(
32913
32922
  // eslint-disable-next-line no-nested-ternary
32914
32923
  n === !0 ? ff([y], A, o) : n === null ? y : y + "[]",
32915
- p(S)
32924
+ p(k)
32916
32925
  );
32917
32926
  }), !1;
32918
32927
  }
@@ -33697,7 +33706,7 @@ function fi(e, t) {
33697
33706
  ae.isUndefined(m) && l !== c || (a[d] = m);
33698
33707
  }), a;
33699
33708
  }
33700
- const a3 = "1.6.5", my = {};
33709
+ const a3 = "1.6.6", my = {};
33701
33710
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
33702
33711
  my[e] = function(a) {
33703
33712
  return typeof a === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -33758,7 +33767,16 @@ let nl = class {
33758
33767
  *
33759
33768
  * @returns {Promise} The Promise to be fulfilled
33760
33769
  */
33761
- request(t, a) {
33770
+ async request(t, a) {
33771
+ try {
33772
+ return await this._request(t, a);
33773
+ } catch (s) {
33774
+ const i = {};
33775
+ throw Error.captureStackTrace ? Error.captureStackTrace(i) : i.stack = new Error().stack, i.stack = i.stack.replace(/^.+\n/, ""), s.stack.endsWith(i.stack.replace(/^.+\n.+\n/, "")) || (s.stack += `
33776
+ ` + i.stack), s;
33777
+ }
33778
+ }
33779
+ _request(t, a) {
33762
33780
  typeof t == "string" ? (a = a || {}, a.url = t) : a = t || {}, a = fi(this.defaults, a);
33763
33781
  const { transitional: s, paramsSerializer: i, headers: o } = a;
33764
33782
  s !== void 0 && Wm.assertOptions(s, {
@@ -34146,14 +34164,14 @@ const hy = {
34146
34164
  }
34147
34165
  }, Af = () => {
34148
34166
  ke((e) => ({
34149
- "1f40661b": e.colorBackgroundHome + "45",
34150
- "107e2d28": e.colorBackgroundAway + "45",
34151
- "18f1962f": e.colorBackgroundHome,
34152
- "18ee843e": e.colorBackgroundAway
34167
+ "32d5ae4e": e.colorBackgroundHome + "45",
34168
+ "81d4a7ac": e.colorBackgroundAway + "45",
34169
+ f07cd69e: e.colorBackgroundHome,
34170
+ f082fa80: e.colorBackgroundAway
34153
34171
  }));
34154
34172
  }, If = hy.setup;
34155
34173
  hy.setup = If ? (e, t) => (Af(), If(e, t)) : Af;
34156
- const bc = (e) => (we("data-v-613edd97"), e = e(), Ce(), e), cle = /* @__PURE__ */ bc(() => /* @__PURE__ */ r("svg", {
34174
+ const bc = (e) => (we("data-v-3bd8b8c3"), e = e(), Ce(), e), cle = /* @__PURE__ */ bc(() => /* @__PURE__ */ r("svg", {
34157
34175
  xmlns: "http://www.w3.org/2000/svg",
34158
34176
  width: "24",
34159
34177
  height: "24",
@@ -34235,7 +34253,7 @@ function _le(e, t, a, s, i, o) {
34235
34253
  ])
34236
34254
  ], 2);
34237
34255
  }
34238
- const ble = /* @__PURE__ */ _c(hy, [["render", _le], ["__scopeId", "data-v-613edd97"]]);
34256
+ const ble = /* @__PURE__ */ _c(hy, [["render", _le], ["__scopeId", "data-v-3bd8b8c3"]]);
34239
34257
  function n3(e, t) {
34240
34258
  return function() {
34241
34259
  return e.apply(t, arguments);
@@ -34557,11 +34575,11 @@ function Sc(e, t, a) {
34557
34575
  if (se.endsWith(y, "{}"))
34558
34576
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
34559
34577
  else if (se.isArray(g) && tce(g) || (se.isFileList(g) || se.endsWith(y, "[]")) && (v = se.toArray(g)))
34560
- return y = g3(y), v.forEach(function(S, A) {
34561
- !(se.isUndefined(S) || S === null) && t.append(
34578
+ return y = g3(y), v.forEach(function(k, A) {
34579
+ !(se.isUndefined(k) || k === null) && t.append(
34562
34580
  // eslint-disable-next-line no-nested-ternary
34563
34581
  n === !0 ? Ef([y], A, o) : n === null ? y : y + "[]",
34564
- p(S)
34582
+ p(k)
34565
34583
  );
34566
34584
  }), !1;
34567
34585
  }
@@ -39291,7 +39309,6 @@ const lye = {
39291
39309
  },
39292
39310
  methods: {
39293
39311
  onclickPlayVideos(e) {
39294
- console.log("LLego"), console.log(e);
39295
39312
  var t = [];
39296
39313
  e.type == 2 ? e.data.position_id == 1 ? e.data.category == 0 ? t = [39, 55, 41, 42, 264, 304, 306, 608, 324, 323, 362, 371, 380, 355, 49, 50, 267, 308] : t = e.data.category : e.data.category == 0 ? t = [12, 19, 31, 32, 13, 25, 6, 11, 23, 4, 5, 24, 15, 607, 10, 27, 216, 217, 155, 164, 173, 30, 98, 101, 104, 105, 109, 112, 115, 116, 17, 2, 20] : t = e.data.category : e.type == 3 ? e.data.category == 0 ? t = [12, 55, "35_r", "54_r", 19, 31, 32, 13, 25, 6, 312, 11, 23, 4, 5, 24, 18, 49, 607, 608, 10, 324, 27, 323, 216, 217, 155, 164, 173, 362, 371, 380, 30, 355, 98, 101, 104, 105, 109, 112, 115, 116, 17, 50, 2, 20, 267, 308] : t = e.data.category : e.data.category != 0 ? t = e.data.category : t = [12, 55, "35_r", "54_r", 19, 31, 32, 13, 25, 6, 312, 11, 23, 4, 5, 24, 18, 49, 607, 608, 10, 324, 27, 323, 216, 217, 155, 164, 173, 362, 371, 380, 30, 355, 98, 101, 104, 105, 109, 112, 115, 116, 17, 50, 2, 20, 267, 308];
39297
39314
  const a = [1, 2, 3];
@@ -39315,10 +39332,10 @@ const lye = {
39315
39332
  playListTitle: ""
39316
39333
  }
39317
39334
  };
39318
- e.data.category !== 0 && (s.advancedFilter.mainCategoryId = e.data.category), console.log("openmedia"), console.log(s), this.$emit("openmedia", s);
39335
+ e.data.category !== 0 && (s.advancedFilter.mainCategoryId = e.data.category), this.$emit("openmedia", s);
39319
39336
  },
39320
39337
  openmedia(e) {
39321
- console.log("openmedia"), console.log(e), this.$emit("openmedia", e);
39338
+ this.$emit("openmedia", e);
39322
39339
  },
39323
39340
  setUpResizeObserver() {
39324
39341
  if (window.ResizeObserver)
@@ -39372,7 +39389,7 @@ const lye = {
39372
39389
  this.setUpResizeObserver();
39373
39390
  }, 100), this.fillData();
39374
39391
  }
39375
- }, An = (e) => (we("data-v-f047d42c"), e = e(), Ce(), e), cye = {
39392
+ }, An = (e) => (we("data-v-65e0de5a"), e = e(), Ce(), e), cye = {
39376
39393
  ref: "gamesContainer",
39377
39394
  class: "container",
39378
39395
  style: {}
@@ -39552,7 +39569,7 @@ function Cye(e, t, a, s, i, o) {
39552
39569
  ])
39553
39570
  ], 512);
39554
39571
  }
39555
- const Sye = /* @__PURE__ */ _c(lye, [["render", Cye], ["__scopeId", "data-v-f047d42c"]]);
39572
+ const Sye = /* @__PURE__ */ _c(lye, [["render", Cye], ["__scopeId", "data-v-65e0de5a"]]);
39556
39573
  function O3(e, t) {
39557
39574
  return function() {
39558
39575
  return e.apply(t, arguments);
@@ -39874,11 +39891,11 @@ function Rc(e, t, a) {
39874
39891
  if (ie.endsWith(y, "{}"))
39875
39892
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
39876
39893
  else if (ie.isArray(g) && oge(g) || (ie.isFileList(g) || ie.endsWith(y, "[]")) && (v = ie.toArray(g)))
39877
- return y = N3(y), v.forEach(function(S, A) {
39878
- !(ie.isUndefined(S) || S === null) && t.append(
39894
+ return y = N3(y), v.forEach(function(k, A) {
39895
+ !(ie.isUndefined(k) || k === null) && t.append(
39879
39896
  // eslint-disable-next-line no-nested-ternary
39880
39897
  n === !0 ? f_([y], A, o) : n === null ? y : y + "[]",
39881
- p(S)
39898
+ p(k)
39882
39899
  );
39883
39900
  }), !1;
39884
39901
  }
@@ -40049,8 +40066,6 @@ function _ge(e) {
40049
40066
  function V3(e) {
40050
40067
  function t(a, s, i, o) {
40051
40068
  let n = a[o++];
40052
- if (n === "__proto__")
40053
- return !0;
40054
40069
  const c = Number.isFinite(+n), p = o >= a.length;
40055
40070
  return n = !n && ie.isArray(i) ? i.length : n, p ? (ie.hasOwnProp(i, n) ? i[n] = [i[n], s] : i[n] = s, !c) : ((!i[n] || !ie.isObject(i[n])) && (i[n] = []), t(a, s, i[n], o) && ie.isArray(i[n]) && (i[n] = _ge(i[n])), !c);
40056
40071
  }
@@ -40663,7 +40678,7 @@ function bi(e, t) {
40663
40678
  ie.isUndefined(m) && l !== c || (a[d] = m);
40664
40679
  }), a;
40665
40680
  }
40666
- const J3 = "1.6.5", Fy = {};
40681
+ const J3 = "1.6.3", Fy = {};
40667
40682
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
40668
40683
  Fy[e] = function(a) {
40669
40684
  return typeof a === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -41222,12 +41237,12 @@ var Xge = ot({
41222
41237
  const o = O(null), n = O([]), c = O(0), p = O(0), d = Oe(Object.assign({}, Dt));
41223
41238
  let l = Object.assign({}, Dt), m;
41224
41239
  const h = O((i = e.modelValue) !== null && i !== void 0 ? i : 0), g = O(0), y = O(0), b = O(0), v = O(0);
41225
- let S, A;
41240
+ let k, A;
41226
41241
  ve("config", d), ve("slidesCount", p), ve("currentSlide", h), ve("maxSlide", b), ve("minSlide", v), ve("slideWidth", c);
41227
41242
  function F() {
41228
41243
  m = Object.assign({}, e.breakpoints), l = Object.assign(Object.assign(Object.assign({}, l), e), { i18n: Object.assign(Object.assign({}, l.i18n), e.i18n), breakpoints: void 0 }), x(l);
41229
41244
  }
41230
- function k() {
41245
+ function S() {
41231
41246
  if (!m || !Object.keys(m).length)
41232
41247
  return;
41233
41248
  const I = Object.keys(m).map((U) => Number(U)).sort((U, fe) => +fe - +U);
@@ -41241,7 +41256,7 @@ var Xge = ot({
41241
41256
  Object.entries(I).forEach(([G, U]) => d[G] = U);
41242
41257
  }
41243
41258
  const R = qge(() => {
41244
- k(), j();
41259
+ S(), j();
41245
41260
  }, 16);
41246
41261
  function j() {
41247
41262
  if (!o.value)
@@ -41257,9 +41272,9 @@ var Xge = ot({
41257
41272
  })));
41258
41273
  }
41259
41274
  at(() => {
41260
- Vs(() => j()), setTimeout(() => j(), 1e3), k(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
41275
+ Vs(() => j()), setTimeout(() => j(), 1e3), S(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
41261
41276
  }), Tt(() => {
41262
- A && clearTimeout(A), S && clearInterval(S), window.removeEventListener("resize", R, {
41277
+ A && clearTimeout(A), k && clearInterval(k), window.removeEventListener("resize", R, {
41263
41278
  passive: !0
41264
41279
  });
41265
41280
  });
@@ -41288,12 +41303,12 @@ var Xge = ot({
41288
41303
  be(h.value - U), D.x = 0, D.y = 0, pe.value = !1, document.removeEventListener(B ? "touchmove" : "mousemove", T, !0), document.removeEventListener(B ? "touchend" : "mouseup", z, !0);
41289
41304
  }
41290
41305
  function xe() {
41291
- !d.autoplay || d.autoplay <= 0 || (S = setInterval(() => {
41306
+ !d.autoplay || d.autoplay <= 0 || (k = setInterval(() => {
41292
41307
  d.pauseAutoplayOnHover && X.value || Te();
41293
41308
  }, d.autoplay));
41294
41309
  }
41295
41310
  function Ae() {
41296
- S && (clearInterval(S), S = null), xe();
41311
+ k && (clearInterval(k), k = null), xe();
41297
41312
  }
41298
41313
  const ge = O(!1);
41299
41314
  function be(I) {
@@ -41350,7 +41365,7 @@ var Xge = ot({
41350
41365
  };
41351
41366
  });
41352
41367
  function lt() {
41353
- F(), k(), P(), j(), Ae();
41368
+ F(), S(), P(), j(), Ae();
41354
41369
  }
41355
41370
  Object.keys(x_).forEach((I) => {
41356
41371
  ["modelValue"].includes(I) || ye(() => e[I], lt);
@@ -41370,7 +41385,7 @@ var Xge = ot({
41370
41385
  middleSlide: y
41371
41386
  };
41372
41387
  s({
41373
- updateBreakpointsConfigs: k,
41388
+ updateBreakpointsConfigs: S,
41374
41389
  updateSlidesData: P,
41375
41390
  updateSlideWidth: j,
41376
41391
  initDefaultConfigs: F,
@@ -41466,7 +41481,7 @@ const Kge = (e, t) => {
41466
41481
  for (const [s, i] of t)
41467
41482
  a[s] = i;
41468
41483
  return a;
41469
- }, Qge = (e) => (we("data-v-dd3cbf69"), e = e(), Ce(), e), e0e = { class: "gsc-carousel" }, t0e = { key: 0 }, a0e = /* @__PURE__ */ Qge(() => /* @__PURE__ */ r("div", null, "no hay", -1)), s0e = [
41484
+ }, Qge = (e) => (we("data-v-90e920a8"), e = e(), Ce(), e), e0e = { class: "gsc-carousel" }, t0e = { key: 0 }, a0e = /* @__PURE__ */ Qge(() => /* @__PURE__ */ r("div", null, "no hay", -1)), s0e = [
41470
41485
  a0e
41471
41486
  ], i0e = { class: "gsc-carousel__2d__slides" }, o0e = {
41472
41487
  width: "9",
@@ -41595,69 +41610,62 @@ const Kge = (e, t) => {
41595
41610
  emits: ["input", "update:currentItemIndex"],
41596
41611
  setup(e, { expose: t, emit: a }) {
41597
41612
  const s = e;
41598
- ke((b) => ({
41599
- "0d808f0f": e.slideLeftArrowBackgroundImage,
41600
- "1e0ef2e5": e.slidesArrowsLeftAndRight,
41601
- "66d12b5c": e.slideRightArrowBackgroundImage,
41602
- "2b22a85a": e.marginTop,
41603
- "1a842b02": e.secondarySlidesOpacity
41613
+ ke((h) => ({
41614
+ "626419c6": e.slideLeftArrowBackgroundImage,
41615
+ "33615c64": e.slidesArrowsLeftAndRight,
41616
+ a34210f6: e.slideRightArrowBackgroundImage,
41617
+ "01877491": e.marginTop,
41618
+ "09f1302b": e.secondarySlidesOpacity
41604
41619
  }));
41605
- const i = O(null), o = O({}), n = O(0), c = O(!1);
41620
+ const i = O(null), o = O({}), n = O(0);
41606
41621
  ye(
41607
41622
  i,
41608
- (b) => {
41609
- b && c.value ? (c.value = !1, p(s.items)) : b && b.slideTo && b.slideTo(n.value);
41623
+ (h) => {
41624
+ h && h.slideTo && h.slideTo(n.value);
41610
41625
  },
41611
41626
  { deep: !0 }
41612
- ), ye(() => s.currentItemIndex, (b) => {
41613
- n.value !== b && h(b);
41627
+ ), ye(() => s.currentItemIndex, (h) => {
41628
+ n.value !== h && d(h);
41614
41629
  }), ye(
41615
41630
  () => s.items,
41616
- (b) => {
41617
- i.value ? p(b) : c.value = !0;
41631
+ (h) => {
41632
+ if (h && h.length && i.value) {
41633
+ if (s.defaultItemByProp) {
41634
+ const g = s.items.findIndex(
41635
+ (y) => y[s.defaultItemByProp.propName] === s.defaultItemByProp.value
41636
+ );
41637
+ g !== -1 ? (n.value = g, o.value = h[g]) : (n.value = 0, o.value = h[0]);
41638
+ } else
41639
+ n.value = s.defaultItemByIndex, o.value = h[s.defaultItemByIndex];
41640
+ i.value.slideTo && i.value.slideTo(n.value), a("input", {
41641
+ selectedItem: o.value,
41642
+ selectedItemIndex: n.value
41643
+ });
41644
+ }
41618
41645
  },
41619
41646
  { immediate: !0 }
41620
41647
  );
41621
- function p(b) {
41622
- if (b && b.length && i.value) {
41623
- if (s.defaultItemByProp) {
41624
- const v = s.items.findIndex(
41625
- (S) => S[s.defaultItemByProp.propName] === s.defaultItemByProp.value
41626
- );
41627
- v !== -1 ? (n.value = v, o.value = b[v]) : (n.value = 0, o.value = b[0]);
41628
- } else
41629
- n.value = s.defaultItemByIndex, o.value = b[s.defaultItemByIndex];
41630
- i.value.slideTo && i.value.slideTo(n.value), a("input", {
41631
- selectedItem: o.value,
41632
- selectedItemIndex: n.value
41633
- });
41634
- }
41635
- }
41636
- function d() {
41648
+ function c() {
41637
41649
  i.value && i.value.next();
41638
41650
  }
41639
- function l() {
41651
+ function p() {
41640
41652
  i.value && i.value.prev();
41641
41653
  }
41642
- function m() {
41643
- i.value && i.value.updateSlideWidth();
41644
- }
41645
- function h(b) {
41646
- i.value && i.value.slideTo(b);
41654
+ function d(h) {
41655
+ i.value && i.value.slideTo(h);
41647
41656
  }
41648
- function g(b) {
41649
- i.value.slideTo(b);
41657
+ function l(h) {
41658
+ i.value.slideTo(h);
41650
41659
  }
41651
- function y(b) {
41652
- const v = b.slidingToIndex < 0 ? s.items.length - 1 : b.slidingToIndex === s.items.length ? 0 : b.slidingToIndex;
41653
- n.value = v, o.value = s.items[v], a("update:currentItemIndex", v), a("input", { selectedItem: o.value, selectedItemIndex: n.value });
41660
+ function m(h) {
41661
+ const g = h.slidingToIndex < 0 ? s.items.length - 1 : h.slidingToIndex === s.items.length ? 0 : h.slidingToIndex;
41662
+ n.value = g, o.value = s.items[g], a("update:currentItemIndex", g), a("input", { selectedItem: o.value, selectedItemIndex: n.value });
41654
41663
  }
41655
41664
  return t({
41656
- prev: l,
41657
- next: d,
41658
- updateSlideWidth: m,
41659
- slideTo: h
41660
- }), (b, v) => (f(), _("div", e0e, [
41665
+ prev: p,
41666
+ next: c,
41667
+ slideTo: d
41668
+ }), (h, g) => (f(), _("div", e0e, [
41661
41669
  s.is3d ? (f(), _("div", t0e, s0e)) : (f(), _("div", {
41662
41670
  key: 1,
41663
41671
  class: u(["gsc-carousel__2d", { "main-slide-priority": e.isMainSlidePriority }])
@@ -41668,12 +41676,12 @@ const Kge = (e, t) => {
41668
41676
  ref: i,
41669
41677
  "items-to-show": e.itemsToShow,
41670
41678
  "wrap-around": e.wrapAround,
41671
- onSlideStart: y
41679
+ onSlideStart: m
41672
41680
  }, {
41673
41681
  default: Z(() => [
41674
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), V(_e(Yge), { key: A }, {
41682
+ (f(!0), _(E, null, me(e.items, (y, b) => (f(), V(_e(Yge), { key: b }, {
41675
41683
  default: Z(() => [
41676
- Xe(b.$slots, "default", { item: S }, void 0, !0)
41684
+ Xe(h.$slots, "default", { item: y }, void 0, !0)
41677
41685
  ]),
41678
41686
  _: 2
41679
41687
  }, 1024))), 128))
@@ -41684,7 +41692,7 @@ const Kge = (e, t) => {
41684
41692
  e.areSlidesArrowsVisible ? (f(), _("div", {
41685
41693
  key: 0,
41686
41694
  class: "gsc-carousel__2d__arrow-left",
41687
- onClick: v[0] || (v[0] = (S) => i.value.prev())
41695
+ onClick: g[0] || (g[0] = (y) => i.value.prev())
41688
41696
  }, [
41689
41697
  r("div", {
41690
41698
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -41702,7 +41710,7 @@ const Kge = (e, t) => {
41702
41710
  e.areSlidesArrowsVisible ? (f(), _("div", {
41703
41711
  key: 1,
41704
41712
  class: "gsc-carousel__2d__arrow-right",
41705
- onClick: v[1] || (v[1] = (S) => d())
41713
+ onClick: g[1] || (g[1] = (y) => i.value.next())
41706
41714
  }, [
41707
41715
  r("div", {
41708
41716
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -41721,7 +41729,7 @@ const Kge = (e, t) => {
41721
41729
  e.areNavigationArrowsVisible ? (f(), _("div", {
41722
41730
  key: 0,
41723
41731
  class: "gsc-carousel__2d__navigation__arrow-left",
41724
- onClick: v[2] || (v[2] = (S) => l())
41732
+ onClick: g[2] || (g[2] = (y) => i.value.prev())
41725
41733
  }, [
41726
41734
  (f(), _("svg", d0e, [
41727
41735
  r("path", {
@@ -41731,23 +41739,23 @@ const Kge = (e, t) => {
41731
41739
  ]))
41732
41740
  ])) : C("", !0),
41733
41741
  e.isPaginationVisible ? (f(), _("div", m0e, [
41734
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), _("div", {
41735
- key: `i-${A}`,
41742
+ (f(!0), _(E, null, me(e.items, (y, b) => (f(), _("div", {
41743
+ key: `i-${b}`,
41736
41744
  class: "gsc-carousel__2d__navigation__pagination__item",
41737
41745
  style: N({
41738
41746
  height: `${s.navigationHeight}px`,
41739
- width: `${n.value === A ? s.navigationActiveWidth : s.navigationActiveWidth / 2}px`,
41747
+ width: `${n.value === b ? s.navigationActiveWidth : s.navigationActiveWidth / 2}px`,
41740
41748
  borderRadius: `${s.navigationBorderRadius}px`,
41741
- backgroundColor: `${n.value === A ? s.navigationActiveColor : s.navigationColor}`,
41749
+ backgroundColor: `${n.value === b ? s.navigationActiveColor : s.navigationColor}`,
41742
41750
  transition: "all 0.1s ease-in-out"
41743
41751
  }),
41744
- onClick: (F) => g(A)
41752
+ onClick: (v) => l(b)
41745
41753
  }, null, 12, h0e))), 128))
41746
41754
  ])) : C("", !0),
41747
41755
  e.areNavigationArrowsVisible ? (f(), _("div", {
41748
41756
  key: 2,
41749
41757
  class: "gsc-carousel__2d__navigation__arrow-right",
41750
- onClick: v[3] || (v[3] = (S) => i.value.next())
41758
+ onClick: g[3] || (g[3] = (y) => i.value.next())
41751
41759
  }, [
41752
41760
  (f(), _("svg", p0e, [
41753
41761
  r("path", {
@@ -41760,7 +41768,7 @@ const Kge = (e, t) => {
41760
41768
  ], 2))
41761
41769
  ]));
41762
41770
  }
41763
- }, f0e = /* @__PURE__ */ Kge(g0e, [["__scopeId", "data-v-dd3cbf69"]]), By = (e, t) => {
41771
+ }, f0e = /* @__PURE__ */ Kge(g0e, [["__scopeId", "data-v-90e920a8"]]), By = (e, t) => {
41764
41772
  const a = e.__vccOpts || e;
41765
41773
  for (const [s, i] of t)
41766
41774
  a[s] = i;
@@ -42230,6 +42238,10 @@ const U0e = /* @__PURE__ */ By(Ly, [["render", z0e], ["__scopeId", "data-v-b8032
42230
42238
  type: Object,
42231
42239
  default: () => {
42232
42240
  }
42241
+ },
42242
+ title: {
42243
+ type: String,
42244
+ default: "TODAS SUS JUGADAS"
42233
42245
  }
42234
42246
  },
42235
42247
  data() {
@@ -42428,14 +42440,14 @@ function W0e(e, t, a, s, i, o) {
42428
42440
  background: d.background,
42429
42441
  "name-home-team": d.hometeamacronym,
42430
42442
  "name-away-team": d.visitingteamacronym,
42431
- "name-category": "TODAS SUS JUGADAS",
42443
+ "name-category": a.title,
42432
42444
  onOnclickPlayVideos: (l) => o.onclickPlayVideos({ data: d, type: 2 }),
42433
42445
  "logo-away": d.logoaway,
42434
42446
  "logo-home": d.logohome,
42435
42447
  "score-home": d.scorehome,
42436
42448
  "photo-profile": d.photo_profile,
42437
42449
  "score-away": d.scoreaway
42438
- }, null, 8, ["name-player", "color-background-home", "color-background-away", "background", "name-home-team", "name-away-team", "onOnclickPlayVideos", "logo-away", "logo-home", "score-home", "photo-profile", "score-away"]))
42450
+ }, null, 8, ["name-player", "color-background-home", "color-background-away", "background", "name-home-team", "name-away-team", "name-category", "onOnclickPlayVideos", "logo-away", "logo-home", "score-home", "photo-profile", "score-away"]))
42439
42451
  ]),
42440
42452
  _: 1
42441
42453
  }, 16, ["items"])
@@ -42514,7 +42526,7 @@ const J0e = {
42514
42526
  e.data.category !== 0 && (s.advancedFilter.mainCategoryId = e.data.category), this.$emit("openmedia", s);
42515
42527
  },
42516
42528
  openmedia(e) {
42517
- console.log("openmedia"), console.log(e), this.$emit("openmedia", e);
42529
+ this.$emit("openmedia", e);
42518
42530
  },
42519
42531
  setUpResizeObserver() {
42520
42532
  if (window.ResizeObserver)
@@ -42561,7 +42573,7 @@ const J0e = {
42561
42573
  this.printData = s;
42562
42574
  }
42563
42575
  }
42564
- }, X0e = (e) => (we("data-v-52298627"), e = e(), Ce(), e), Z0e = {
42576
+ }, X0e = (e) => (we("data-v-b843b327"), e = e(), Ce(), e), Z0e = {
42565
42577
  ref: "gamesContainer",
42566
42578
  class: "container"
42567
42579
  }, Y0e = { class: "video-partido-container" }, K0e = { class: "video-partido-higthlights" }, Q0e = /* @__PURE__ */ X0e(() => /* @__PURE__ */ r("div", { class: "title-video-datos" }, "Este torneo:", -1)), e1e = { class: "video-partido-pltega-games" }, t1e = { class: "video-partido-pltega-games-team" };
@@ -42703,7 +42715,7 @@ function a1e(e, t, a, s, i, o) {
42703
42715
  ])
42704
42716
  ], 512);
42705
42717
  }
42706
- const s1e = /* @__PURE__ */ _c(J0e, [["render", a1e], ["__scopeId", "data-v-52298627"]]), i1e = {
42718
+ const s1e = /* @__PURE__ */ _c(J0e, [["render", a1e], ["__scopeId", "data-v-b843b327"]]), i1e = {
42707
42719
  components: {
42708
42720
  GSCVideoGamePreMatch: s1e,
42709
42721
  GSCVideoGamePostMatch: Sye
@@ -42744,7 +42756,7 @@ function n1e(e, t, a, s, i, o) {
42744
42756
  }, null, 8, ["config", "onOpenmedia"])) : C("", !0)
42745
42757
  ]);
42746
42758
  }
42747
- const B_ = /* @__PURE__ */ _c(i1e, [["render", n1e], ["__scopeId", "data-v-3b87c83d"]]);
42759
+ const B_ = /* @__PURE__ */ _c(i1e, [["render", n1e], ["__scopeId", "data-v-3cca5100"]]);
42748
42760
  const r1e = { class: "datagame-container" }, l1e = {
42749
42761
  __name: "GSCVideoGame",
42750
42762
  props: {
@@ -43279,11 +43291,11 @@ function Nc(e, t, a) {
43279
43291
  if (oe.endsWith(y, "{}"))
43280
43292
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
43281
43293
  else if (oe.isArray(g) && afe(g) || (oe.isFileList(g) || oe.endsWith(y, "[]")) && (v = oe.toArray(g)))
43282
- return y = l8(y), v.forEach(function(S, A) {
43283
- !(oe.isUndefined(S) || S === null) && t.append(
43294
+ return y = l8(y), v.forEach(function(k, A) {
43295
+ !(oe.isUndefined(k) || k === null) && t.append(
43284
43296
  // eslint-disable-next-line no-nested-ternary
43285
43297
  n === !0 ? M_([y], A, o) : n === null ? y : y + "[]",
43286
- p(S)
43298
+ p(k)
43287
43299
  );
43288
43300
  }), !1;
43289
43301
  }
@@ -44627,12 +44639,12 @@ var Wfe = ot({
44627
44639
  const o = O(null), n = O([]), c = O(0), p = O(0), d = Oe(Object.assign({}, Nt));
44628
44640
  let l = Object.assign({}, Nt), m;
44629
44641
  const h = O((i = e.modelValue) !== null && i !== void 0 ? i : 0), g = O(0), y = O(0), b = O(0), v = O(0);
44630
- let S, A;
44642
+ let k, A;
44631
44643
  ve("config", d), ve("slidesCount", p), ve("currentSlide", h), ve("maxSlide", b), ve("minSlide", v), ve("slideWidth", c);
44632
44644
  function F() {
44633
44645
  m = Object.assign({}, e.breakpoints), l = Object.assign(Object.assign(Object.assign({}, l), e), { i18n: Object.assign(Object.assign({}, l.i18n), e.i18n), breakpoints: void 0 }), x(l);
44634
44646
  }
44635
- function k() {
44647
+ function S() {
44636
44648
  if (!m || !Object.keys(m).length)
44637
44649
  return;
44638
44650
  const I = Object.keys(m).map((U) => Number(U)).sort((U, fe) => +fe - +U);
@@ -44646,7 +44658,7 @@ var Wfe = ot({
44646
44658
  Object.entries(I).forEach(([G, U]) => d[G] = U);
44647
44659
  }
44648
44660
  const R = Vfe(() => {
44649
- k(), j();
44661
+ S(), j();
44650
44662
  }, 16);
44651
44663
  function j() {
44652
44664
  if (!o.value)
@@ -44662,9 +44674,9 @@ var Wfe = ot({
44662
44674
  })));
44663
44675
  }
44664
44676
  at(() => {
44665
- Vs(() => j()), setTimeout(() => j(), 1e3), k(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
44677
+ Vs(() => j()), setTimeout(() => j(), 1e3), S(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
44666
44678
  }), Tt(() => {
44667
- A && clearTimeout(A), S && clearInterval(S), window.removeEventListener("resize", R, {
44679
+ A && clearTimeout(A), k && clearInterval(k), window.removeEventListener("resize", R, {
44668
44680
  passive: !0
44669
44681
  });
44670
44682
  });
@@ -44693,12 +44705,12 @@ var Wfe = ot({
44693
44705
  be(h.value - U), D.x = 0, D.y = 0, pe.value = !1, document.removeEventListener(B ? "touchmove" : "mousemove", T, !0), document.removeEventListener(B ? "touchend" : "mouseup", z, !0);
44694
44706
  }
44695
44707
  function xe() {
44696
- !d.autoplay || d.autoplay <= 0 || (S = setInterval(() => {
44708
+ !d.autoplay || d.autoplay <= 0 || (k = setInterval(() => {
44697
44709
  d.pauseAutoplayOnHover && X.value || Te();
44698
44710
  }, d.autoplay));
44699
44711
  }
44700
44712
  function Ae() {
44701
- S && (clearInterval(S), S = null), xe();
44713
+ k && (clearInterval(k), k = null), xe();
44702
44714
  }
44703
44715
  const ge = O(!1);
44704
44716
  function be(I) {
@@ -44755,7 +44767,7 @@ var Wfe = ot({
44755
44767
  };
44756
44768
  });
44757
44769
  function lt() {
44758
- F(), k(), P(), j(), Ae();
44770
+ F(), S(), P(), j(), Ae();
44759
44771
  }
44760
44772
  Object.keys(X_).forEach((I) => {
44761
44773
  ["modelValue"].includes(I) || ye(() => e[I], lt);
@@ -44775,7 +44787,7 @@ var Wfe = ot({
44775
44787
  middleSlide: y
44776
44788
  };
44777
44789
  s({
44778
- updateBreakpointsConfigs: k,
44790
+ updateBreakpointsConfigs: S,
44779
44791
  updateSlidesData: P,
44780
44792
  updateSlideWidth: j,
44781
44793
  initDefaultConfigs: F,
@@ -45027,7 +45039,7 @@ const Xfe = (e, t) => {
45027
45039
  if (b && b.length && i.value) {
45028
45040
  if (s.defaultItemByProp) {
45029
45041
  const v = s.items.findIndex(
45030
- (S) => S[s.defaultItemByProp.propName] === s.defaultItemByProp.value
45042
+ (k) => k[s.defaultItemByProp.propName] === s.defaultItemByProp.value
45031
45043
  );
45032
45044
  v !== -1 ? (n.value = v, o.value = b[v]) : (n.value = 0, o.value = b[0]);
45033
45045
  } else
@@ -45076,9 +45088,9 @@ const Xfe = (e, t) => {
45076
45088
  onSlideStart: y
45077
45089
  }, {
45078
45090
  default: Z(() => [
45079
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), V(_e(Jfe), { key: A }, {
45091
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), V(_e(Jfe), { key: A }, {
45080
45092
  default: Z(() => [
45081
- Xe(b.$slots, "default", { item: S }, void 0, !0)
45093
+ Xe(b.$slots, "default", { item: k }, void 0, !0)
45082
45094
  ]),
45083
45095
  _: 2
45084
45096
  }, 1024))), 128))
@@ -45089,7 +45101,7 @@ const Xfe = (e, t) => {
45089
45101
  e.areSlidesArrowsVisible ? (f(), _("div", {
45090
45102
  key: 0,
45091
45103
  class: "gsc-carousel__2d__arrow-left",
45092
- onClick: v[0] || (v[0] = (S) => i.value.prev())
45104
+ onClick: v[0] || (v[0] = (k) => i.value.prev())
45093
45105
  }, [
45094
45106
  r("div", {
45095
45107
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -45107,7 +45119,7 @@ const Xfe = (e, t) => {
45107
45119
  e.areSlidesArrowsVisible ? (f(), _("div", {
45108
45120
  key: 1,
45109
45121
  class: "gsc-carousel__2d__arrow-right",
45110
- onClick: v[1] || (v[1] = (S) => d())
45122
+ onClick: v[1] || (v[1] = (k) => d())
45111
45123
  }, [
45112
45124
  r("div", {
45113
45125
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -45126,7 +45138,7 @@ const Xfe = (e, t) => {
45126
45138
  e.areNavigationArrowsVisible ? (f(), _("div", {
45127
45139
  key: 0,
45128
45140
  class: "gsc-carousel__2d__navigation__arrow-left",
45129
- onClick: v[2] || (v[2] = (S) => l())
45141
+ onClick: v[2] || (v[2] = (k) => l())
45130
45142
  }, [
45131
45143
  (f(), _("svg", r_e, [
45132
45144
  r("path", {
@@ -45136,7 +45148,7 @@ const Xfe = (e, t) => {
45136
45148
  ]))
45137
45149
  ])) : C("", !0),
45138
45150
  e.isPaginationVisible ? (f(), _("div", c_e, [
45139
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), _("div", {
45151
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), _("div", {
45140
45152
  key: `i-${A}`,
45141
45153
  class: "gsc-carousel__2d__navigation__pagination__item",
45142
45154
  style: N({
@@ -45152,7 +45164,7 @@ const Xfe = (e, t) => {
45152
45164
  e.areNavigationArrowsVisible ? (f(), _("div", {
45153
45165
  key: 2,
45154
45166
  class: "gsc-carousel__2d__navigation__arrow-right",
45155
- onClick: v[3] || (v[3] = (S) => i.value.next())
45167
+ onClick: v[3] || (v[3] = (k) => i.value.next())
45156
45168
  }, [
45157
45169
  (f(), _("svg", u_e, [
45158
45170
  r("path", {
@@ -46684,11 +46696,11 @@ function Vc(e, t, a) {
46684
46696
  if (ne.endsWith(y, "{}"))
46685
46697
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
46686
46698
  else if (ne.isArray(g) && Gbe(g) || (ne.isFileList(g) || ne.endsWith(y, "[]")) && (v = ne.toArray(g)))
46687
- return y = R8(y), v.forEach(function(S, A) {
46688
- !(ne.isUndefined(S) || S === null) && t.append(
46699
+ return y = R8(y), v.forEach(function(k, A) {
46700
+ !(ne.isUndefined(k) || k === null) && t.append(
46689
46701
  // eslint-disable-next-line no-nested-ternary
46690
46702
  n === !0 ? t2([y], A, o) : n === null ? y : y + "[]",
46691
- p(S)
46703
+ p(k)
46692
46704
  );
46693
46705
  }), !1;
46694
46706
  }
@@ -46859,8 +46871,6 @@ function i5e(e) {
46859
46871
  function L8(e) {
46860
46872
  function t(a, s, i, o) {
46861
46873
  let n = a[o++];
46862
- if (n === "__proto__")
46863
- return !0;
46864
46874
  const c = Number.isFinite(+n), p = o >= a.length;
46865
46875
  return n = !n && ne.isArray(i) ? i.length : n, p ? (ne.hasOwnProp(i, n) ? i[n] = [i[n], s] : i[n] = s, !c) : ((!i[n] || !ne.isObject(i[n])) && (i[n] = []), t(a, s, i[n], o) && ne.isArray(i[n]) && (i[n] = i5e(i[n])), !c);
46866
46876
  }
@@ -47473,7 +47483,7 @@ function wi(e, t) {
47473
47483
  ne.isUndefined(m) && l !== c || (a[d] = m);
47474
47484
  }), a;
47475
47485
  }
47476
- const H8 = "1.6.5", Xy = {};
47486
+ const H8 = "1.6.3", Xy = {};
47477
47487
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
47478
47488
  Xy[e] = function(a) {
47479
47489
  return typeof a === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -48032,12 +48042,12 @@ var B5e = ot({
48032
48042
  const o = O(null), n = O([]), c = O(0), p = O(0), d = Oe(Object.assign({}, Mt));
48033
48043
  let l = Object.assign({}, Mt), m;
48034
48044
  const h = O((i = e.modelValue) !== null && i !== void 0 ? i : 0), g = O(0), y = O(0), b = O(0), v = O(0);
48035
- let S, A;
48045
+ let k, A;
48036
48046
  ve("config", d), ve("slidesCount", p), ve("currentSlide", h), ve("maxSlide", b), ve("minSlide", v), ve("slideWidth", c);
48037
48047
  function F() {
48038
48048
  m = Object.assign({}, e.breakpoints), l = Object.assign(Object.assign(Object.assign({}, l), e), { i18n: Object.assign(Object.assign({}, l.i18n), e.i18n), breakpoints: void 0 }), x(l);
48039
48049
  }
48040
- function k() {
48050
+ function S() {
48041
48051
  if (!m || !Object.keys(m).length)
48042
48052
  return;
48043
48053
  const I = Object.keys(m).map((U) => Number(U)).sort((U, fe) => +fe - +U);
@@ -48051,7 +48061,7 @@ var B5e = ot({
48051
48061
  Object.entries(I).forEach(([G, U]) => d[G] = U);
48052
48062
  }
48053
48063
  const R = P5e(() => {
48054
- k(), j();
48064
+ S(), j();
48055
48065
  }, 16);
48056
48066
  function j() {
48057
48067
  if (!o.value)
@@ -48067,9 +48077,9 @@ var B5e = ot({
48067
48077
  })));
48068
48078
  }
48069
48079
  at(() => {
48070
- Vs(() => j()), setTimeout(() => j(), 1e3), k(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
48080
+ Vs(() => j()), setTimeout(() => j(), 1e3), S(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
48071
48081
  }), Tt(() => {
48072
- A && clearTimeout(A), S && clearInterval(S), window.removeEventListener("resize", R, {
48082
+ A && clearTimeout(A), k && clearInterval(k), window.removeEventListener("resize", R, {
48073
48083
  passive: !0
48074
48084
  });
48075
48085
  });
@@ -48098,12 +48108,12 @@ var B5e = ot({
48098
48108
  be(h.value - U), D.x = 0, D.y = 0, pe.value = !1, document.removeEventListener(B ? "touchmove" : "mousemove", T, !0), document.removeEventListener(B ? "touchend" : "mouseup", z, !0);
48099
48109
  }
48100
48110
  function xe() {
48101
- !d.autoplay || d.autoplay <= 0 || (S = setInterval(() => {
48111
+ !d.autoplay || d.autoplay <= 0 || (k = setInterval(() => {
48102
48112
  d.pauseAutoplayOnHover && X.value || Te();
48103
48113
  }, d.autoplay));
48104
48114
  }
48105
48115
  function Ae() {
48106
- S && (clearInterval(S), S = null), xe();
48116
+ k && (clearInterval(k), k = null), xe();
48107
48117
  }
48108
48118
  const ge = O(!1);
48109
48119
  function be(I) {
@@ -48160,7 +48170,7 @@ var B5e = ot({
48160
48170
  };
48161
48171
  });
48162
48172
  function lt() {
48163
- F(), k(), P(), j(), Ae();
48173
+ F(), S(), P(), j(), Ae();
48164
48174
  }
48165
48175
  Object.keys(d2).forEach((I) => {
48166
48176
  ["modelValue"].includes(I) || ye(() => e[I], lt);
@@ -48180,7 +48190,7 @@ var B5e = ot({
48180
48190
  middleSlide: y
48181
48191
  };
48182
48192
  s({
48183
- updateBreakpointsConfigs: k,
48193
+ updateBreakpointsConfigs: S,
48184
48194
  updateSlidesData: P,
48185
48195
  updateSlideWidth: j,
48186
48196
  initDefaultConfigs: F,
@@ -48276,7 +48286,7 @@ const D5e = (e, t) => {
48276
48286
  for (const [s, i] of t)
48277
48287
  a[s] = i;
48278
48288
  return a;
48279
- }, N5e = (e) => (we("data-v-dd3cbf69"), e = e(), Ce(), e), M5e = { class: "gsc-carousel" }, H5e = { key: 0 }, z5e = /* @__PURE__ */ N5e(() => /* @__PURE__ */ r("div", null, "no hay", -1)), U5e = [
48289
+ }, N5e = (e) => (we("data-v-90e920a8"), e = e(), Ce(), e), M5e = { class: "gsc-carousel" }, H5e = { key: 0 }, z5e = /* @__PURE__ */ N5e(() => /* @__PURE__ */ r("div", null, "no hay", -1)), U5e = [
48280
48290
  z5e
48281
48291
  ], V5e = { class: "gsc-carousel__2d__slides" }, G5e = {
48282
48292
  width: "9",
@@ -48405,69 +48415,62 @@ const D5e = (e, t) => {
48405
48415
  emits: ["input", "update:currentItemIndex"],
48406
48416
  setup(e, { expose: t, emit: a }) {
48407
48417
  const s = e;
48408
- ke((b) => ({
48409
- "0d808f0f": e.slideLeftArrowBackgroundImage,
48410
- "1e0ef2e5": e.slidesArrowsLeftAndRight,
48411
- "66d12b5c": e.slideRightArrowBackgroundImage,
48412
- "2b22a85a": e.marginTop,
48413
- "1a842b02": e.secondarySlidesOpacity
48418
+ ke((h) => ({
48419
+ "626419c6": e.slideLeftArrowBackgroundImage,
48420
+ "33615c64": e.slidesArrowsLeftAndRight,
48421
+ a34210f6: e.slideRightArrowBackgroundImage,
48422
+ "01877491": e.marginTop,
48423
+ "09f1302b": e.secondarySlidesOpacity
48414
48424
  }));
48415
- const i = O(null), o = O({}), n = O(0), c = O(!1);
48425
+ const i = O(null), o = O({}), n = O(0);
48416
48426
  ye(
48417
48427
  i,
48418
- (b) => {
48419
- b && c.value ? (c.value = !1, p(s.items)) : b && b.slideTo && b.slideTo(n.value);
48428
+ (h) => {
48429
+ h && h.slideTo && h.slideTo(n.value);
48420
48430
  },
48421
48431
  { deep: !0 }
48422
- ), ye(() => s.currentItemIndex, (b) => {
48423
- n.value !== b && h(b);
48432
+ ), ye(() => s.currentItemIndex, (h) => {
48433
+ n.value !== h && d(h);
48424
48434
  }), ye(
48425
48435
  () => s.items,
48426
- (b) => {
48427
- i.value ? p(b) : c.value = !0;
48436
+ (h) => {
48437
+ if (h && h.length && i.value) {
48438
+ if (s.defaultItemByProp) {
48439
+ const g = s.items.findIndex(
48440
+ (y) => y[s.defaultItemByProp.propName] === s.defaultItemByProp.value
48441
+ );
48442
+ g !== -1 ? (n.value = g, o.value = h[g]) : (n.value = 0, o.value = h[0]);
48443
+ } else
48444
+ n.value = s.defaultItemByIndex, o.value = h[s.defaultItemByIndex];
48445
+ i.value.slideTo && i.value.slideTo(n.value), a("input", {
48446
+ selectedItem: o.value,
48447
+ selectedItemIndex: n.value
48448
+ });
48449
+ }
48428
48450
  },
48429
48451
  { immediate: !0 }
48430
48452
  );
48431
- function p(b) {
48432
- if (b && b.length && i.value) {
48433
- if (s.defaultItemByProp) {
48434
- const v = s.items.findIndex(
48435
- (S) => S[s.defaultItemByProp.propName] === s.defaultItemByProp.value
48436
- );
48437
- v !== -1 ? (n.value = v, o.value = b[v]) : (n.value = 0, o.value = b[0]);
48438
- } else
48439
- n.value = s.defaultItemByIndex, o.value = b[s.defaultItemByIndex];
48440
- i.value.slideTo && i.value.slideTo(n.value), a("input", {
48441
- selectedItem: o.value,
48442
- selectedItemIndex: n.value
48443
- });
48444
- }
48445
- }
48446
- function d() {
48453
+ function c() {
48447
48454
  i.value && i.value.next();
48448
48455
  }
48449
- function l() {
48456
+ function p() {
48450
48457
  i.value && i.value.prev();
48451
48458
  }
48452
- function m() {
48453
- i.value && i.value.updateSlideWidth();
48459
+ function d(h) {
48460
+ i.value && i.value.slideTo(h);
48454
48461
  }
48455
- function h(b) {
48456
- i.value && i.value.slideTo(b);
48462
+ function l(h) {
48463
+ i.value.slideTo(h);
48457
48464
  }
48458
- function g(b) {
48459
- i.value.slideTo(b);
48460
- }
48461
- function y(b) {
48462
- const v = b.slidingToIndex < 0 ? s.items.length - 1 : b.slidingToIndex === s.items.length ? 0 : b.slidingToIndex;
48463
- n.value = v, o.value = s.items[v], a("update:currentItemIndex", v), a("input", { selectedItem: o.value, selectedItemIndex: n.value });
48465
+ function m(h) {
48466
+ const g = h.slidingToIndex < 0 ? s.items.length - 1 : h.slidingToIndex === s.items.length ? 0 : h.slidingToIndex;
48467
+ n.value = g, o.value = s.items[g], a("update:currentItemIndex", g), a("input", { selectedItem: o.value, selectedItemIndex: n.value });
48464
48468
  }
48465
48469
  return t({
48466
- prev: l,
48467
- next: d,
48468
- updateSlideWidth: m,
48469
- slideTo: h
48470
- }), (b, v) => (f(), _("div", M5e, [
48470
+ prev: p,
48471
+ next: c,
48472
+ slideTo: d
48473
+ }), (h, g) => (f(), _("div", M5e, [
48471
48474
  s.is3d ? (f(), _("div", H5e, U5e)) : (f(), _("div", {
48472
48475
  key: 1,
48473
48476
  class: u(["gsc-carousel__2d", { "main-slide-priority": e.isMainSlidePriority }])
@@ -48478,12 +48481,12 @@ const D5e = (e, t) => {
48478
48481
  ref: i,
48479
48482
  "items-to-show": e.itemsToShow,
48480
48483
  "wrap-around": e.wrapAround,
48481
- onSlideStart: y
48484
+ onSlideStart: m
48482
48485
  }, {
48483
48486
  default: Z(() => [
48484
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), V(_e(L5e), { key: A }, {
48487
+ (f(!0), _(E, null, me(e.items, (y, b) => (f(), V(_e(L5e), { key: b }, {
48485
48488
  default: Z(() => [
48486
- Xe(b.$slots, "default", { item: S }, void 0, !0)
48489
+ Xe(h.$slots, "default", { item: y }, void 0, !0)
48487
48490
  ]),
48488
48491
  _: 2
48489
48492
  }, 1024))), 128))
@@ -48494,7 +48497,7 @@ const D5e = (e, t) => {
48494
48497
  e.areSlidesArrowsVisible ? (f(), _("div", {
48495
48498
  key: 0,
48496
48499
  class: "gsc-carousel__2d__arrow-left",
48497
- onClick: v[0] || (v[0] = (S) => i.value.prev())
48500
+ onClick: g[0] || (g[0] = (y) => i.value.prev())
48498
48501
  }, [
48499
48502
  r("div", {
48500
48503
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -48512,7 +48515,7 @@ const D5e = (e, t) => {
48512
48515
  e.areSlidesArrowsVisible ? (f(), _("div", {
48513
48516
  key: 1,
48514
48517
  class: "gsc-carousel__2d__arrow-right",
48515
- onClick: v[1] || (v[1] = (S) => d())
48518
+ onClick: g[1] || (g[1] = (y) => i.value.next())
48516
48519
  }, [
48517
48520
  r("div", {
48518
48521
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -48531,7 +48534,7 @@ const D5e = (e, t) => {
48531
48534
  e.areNavigationArrowsVisible ? (f(), _("div", {
48532
48535
  key: 0,
48533
48536
  class: "gsc-carousel__2d__navigation__arrow-left",
48534
- onClick: v[2] || (v[2] = (S) => l())
48537
+ onClick: g[2] || (g[2] = (y) => i.value.prev())
48535
48538
  }, [
48536
48539
  (f(), _("svg", Z5e, [
48537
48540
  r("path", {
@@ -48541,23 +48544,23 @@ const D5e = (e, t) => {
48541
48544
  ]))
48542
48545
  ])) : C("", !0),
48543
48546
  e.isPaginationVisible ? (f(), _("div", K5e, [
48544
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), _("div", {
48545
- key: `i-${A}`,
48547
+ (f(!0), _(E, null, me(e.items, (y, b) => (f(), _("div", {
48548
+ key: `i-${b}`,
48546
48549
  class: "gsc-carousel__2d__navigation__pagination__item",
48547
48550
  style: N({
48548
48551
  height: `${s.navigationHeight}px`,
48549
- width: `${n.value === A ? s.navigationActiveWidth : s.navigationActiveWidth / 2}px`,
48552
+ width: `${n.value === b ? s.navigationActiveWidth : s.navigationActiveWidth / 2}px`,
48550
48553
  borderRadius: `${s.navigationBorderRadius}px`,
48551
- backgroundColor: `${n.value === A ? s.navigationActiveColor : s.navigationColor}`,
48554
+ backgroundColor: `${n.value === b ? s.navigationActiveColor : s.navigationColor}`,
48552
48555
  transition: "all 0.1s ease-in-out"
48553
48556
  }),
48554
- onClick: (F) => g(A)
48557
+ onClick: (v) => l(b)
48555
48558
  }, null, 12, Q5e))), 128))
48556
48559
  ])) : C("", !0),
48557
48560
  e.areNavigationArrowsVisible ? (f(), _("div", {
48558
48561
  key: 2,
48559
48562
  class: "gsc-carousel__2d__navigation__arrow-right",
48560
- onClick: v[3] || (v[3] = (S) => i.value.next())
48563
+ onClick: g[3] || (g[3] = (y) => i.value.next())
48561
48564
  }, [
48562
48565
  (f(), _("svg", eve, [
48563
48566
  r("path", {
@@ -48570,7 +48573,7 @@ const D5e = (e, t) => {
48570
48573
  ], 2))
48571
48574
  ]));
48572
48575
  }
48573
- }, sve = /* @__PURE__ */ D5e(ave, [["__scopeId", "data-v-dd3cbf69"]]), Zy = (e, t) => {
48576
+ }, sve = /* @__PURE__ */ D5e(ave, [["__scopeId", "data-v-90e920a8"]]), Zy = (e, t) => {
48574
48577
  const a = e.__vccOpts || e;
48575
48578
  for (const [s, i] of t)
48576
48579
  a[s] = i;
@@ -49040,6 +49043,10 @@ const Ove = /* @__PURE__ */ Zy(Ky, [["render", Ive], ["__scopeId", "data-v-b8032
49040
49043
  type: Object,
49041
49044
  default: () => {
49042
49045
  }
49046
+ },
49047
+ title: {
49048
+ type: String,
49049
+ default: "TODAS SUS JUGADAS"
49043
49050
  }
49044
49051
  },
49045
49052
  data() {
@@ -49238,14 +49245,14 @@ function Rve(e, t, a, s, i, o) {
49238
49245
  background: d.background,
49239
49246
  "name-home-team": d.hometeamacronym,
49240
49247
  "name-away-team": d.visitingteamacronym,
49241
- "name-category": "TODAS SUS JUGADAS",
49248
+ "name-category": a.title,
49242
49249
  onOnclickPlayVideos: (l) => o.onclickPlayVideos({ data: d, type: 2 }),
49243
49250
  "logo-away": d.logoaway,
49244
49251
  "logo-home": d.logohome,
49245
49252
  "score-home": d.scorehome,
49246
49253
  "photo-profile": d.photo_profile,
49247
49254
  "score-away": d.scoreaway
49248
- }, null, 8, ["name-player", "color-background-home", "color-background-away", "background", "name-home-team", "name-away-team", "onOnclickPlayVideos", "logo-away", "logo-home", "score-home", "photo-profile", "score-away"]))
49255
+ }, null, 8, ["name-player", "color-background-home", "color-background-away", "background", "name-home-team", "name-away-team", "name-category", "onOnclickPlayVideos", "logo-away", "logo-home", "score-home", "photo-profile", "score-away"]))
49249
49256
  ]),
49250
49257
  _: 1
49251
49258
  }, 16, ["items"])
@@ -49573,11 +49580,11 @@ function Yc(e, t, a) {
49573
49580
  if (re.endsWith(y, "{}"))
49574
49581
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
49575
49582
  else if (re.isArray(g) && y4e(g) || (re.isFileList(g) || re.endsWith(y, "[]")) && (v = re.toArray(g)))
49576
- return y = t6(y), v.forEach(function(S, A) {
49577
- !(re.isUndefined(S) || S === null) && t.append(
49583
+ return y = t6(y), v.forEach(function(k, A) {
49584
+ !(re.isUndefined(k) || k === null) && t.append(
49578
49585
  // eslint-disable-next-line no-nested-ternary
49579
49586
  n === !0 ? v2([y], A, o) : n === null ? y : y + "[]",
49580
- p(S)
49587
+ p(k)
49581
49588
  );
49582
49589
  }), !1;
49583
49590
  }
@@ -50828,15 +50835,15 @@ function Yn(e, t, a) {
50828
50835
  for (var b = new Array(arguments.length), v = 0; v < b.length; v++)
50829
50836
  b[v] = arguments[v];
50830
50837
  b[0] = t.coerce(b[0]), typeof b[0] != "string" && b.unshift("%O");
50831
- var S = 0;
50832
- b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, k) {
50838
+ var k = 0;
50839
+ b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, S) {
50833
50840
  if (F === "%%")
50834
50841
  return F;
50835
- S++;
50836
- var x = t.formatters[k];
50842
+ k++;
50843
+ var x = t.formatters[S];
50837
50844
  if (typeof x == "function") {
50838
- var R = b[S];
50839
- F = x.call(h, R), b.splice(S, 1), S--;
50845
+ var R = b[k];
50846
+ F = x.call(h, R), b.splice(k, 1), k--;
50840
50847
  }
50841
50848
  return F;
50842
50849
  }), t.formatArgs.call(h, b);
@@ -51102,15 +51109,15 @@ function Kn(e, t, a) {
51102
51109
  for (var b = new Array(arguments.length), v = 0; v < b.length; v++)
51103
51110
  b[v] = arguments[v];
51104
51111
  b[0] = t.coerce(b[0]), typeof b[0] != "string" && b.unshift("%O");
51105
- var S = 0;
51106
- b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, k) {
51112
+ var k = 0;
51113
+ b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, S) {
51107
51114
  if (F === "%%")
51108
51115
  return F;
51109
- S++;
51110
- var x = t.formatters[k];
51116
+ k++;
51117
+ var x = t.formatters[S];
51111
51118
  if (typeof x == "function") {
51112
- var R = b[S];
51113
- F = x.call(h, R), b.splice(S, 1), S--;
51119
+ var R = b[k];
51120
+ F = x.call(h, R), b.splice(k, 1), k--;
51114
51121
  }
51115
51122
  return F;
51116
51123
  }), t.formatArgs.call(h, b);
@@ -51416,24 +51423,24 @@ td.removeBlobs = function(e, t) {
51416
51423
  function n() {
51417
51424
  }
51418
51425
  var c = e.ERROR + '"encode error"';
51419
- n.prototype.encode = function(v, S) {
51426
+ n.prototype.encode = function(v, k) {
51420
51427
  if (t("encoding packet %j", v), e.BINARY_EVENT === v.type || e.BINARY_ACK === v.type)
51421
- l(v, S);
51428
+ l(v, k);
51422
51429
  else {
51423
51430
  var A = p(v);
51424
- S([A]);
51431
+ k([A]);
51425
51432
  }
51426
51433
  };
51427
51434
  function p(v) {
51428
- var S = "" + v.type;
51429
- if ((e.BINARY_EVENT === v.type || e.BINARY_ACK === v.type) && (S += v.attachments + "-"), v.nsp && v.nsp !== "/" && (S += v.nsp + ","), v.id != null && (S += v.id), v.data != null) {
51435
+ var k = "" + v.type;
51436
+ if ((e.BINARY_EVENT === v.type || e.BINARY_ACK === v.type) && (k += v.attachments + "-"), v.nsp && v.nsp !== "/" && (k += v.nsp + ","), v.id != null && (k += v.id), v.data != null) {
51430
51437
  var A = d(v.data);
51431
51438
  if (A !== !1)
51432
- S += A;
51439
+ k += A;
51433
51440
  else
51434
51441
  return c;
51435
51442
  }
51436
- return t("encoded %j as %s", v, S), S;
51443
+ return t("encoded %j as %s", v, k), k;
51437
51444
  }
51438
51445
  function d(v) {
51439
51446
  try {
@@ -51442,10 +51449,10 @@ td.removeBlobs = function(e, t) {
51442
51449
  return !1;
51443
51450
  }
51444
51451
  }
51445
- function l(v, S) {
51452
+ function l(v, k) {
51446
51453
  function A(F) {
51447
- var k = s.deconstructPacket(F), x = p(k.packet), R = k.buffers;
51448
- R.unshift(x), S(R);
51454
+ var S = s.deconstructPacket(F), x = p(S.packet), R = S.buffers;
51455
+ R.unshift(x), k(R);
51449
51456
  }
51450
51457
  s.removeBlobs(v, A);
51451
51458
  }
@@ -51453,57 +51460,57 @@ td.removeBlobs = function(e, t) {
51453
51460
  this.reconstructor = null;
51454
51461
  }
51455
51462
  a(m.prototype), m.prototype.add = function(v) {
51456
- var S;
51463
+ var k;
51457
51464
  if (typeof v == "string") {
51458
51465
  if (this.reconstructor)
51459
51466
  throw new Error("got plaintext data when reconstructing a packet");
51460
- S = h(v), e.BINARY_EVENT === S.type || e.BINARY_ACK === S.type ? (this.reconstructor = new y(S), this.reconstructor.reconPack.attachments === 0 && this.emit("decoded", S)) : this.emit("decoded", S);
51467
+ k = h(v), e.BINARY_EVENT === k.type || e.BINARY_ACK === k.type ? (this.reconstructor = new y(k), this.reconstructor.reconPack.attachments === 0 && this.emit("decoded", k)) : this.emit("decoded", k);
51461
51468
  } else if (o(v) || v.base64)
51462
51469
  if (this.reconstructor)
51463
- S = this.reconstructor.takeBinaryData(v), S && (this.reconstructor = null, this.emit("decoded", S));
51470
+ k = this.reconstructor.takeBinaryData(v), k && (this.reconstructor = null, this.emit("decoded", k));
51464
51471
  else
51465
51472
  throw new Error("got binary data when not reconstructing a packet");
51466
51473
  else
51467
51474
  throw new Error("Unknown type: " + v);
51468
51475
  };
51469
51476
  function h(v) {
51470
- var S = 0, A = {
51477
+ var k = 0, A = {
51471
51478
  type: Number(v.charAt(0))
51472
51479
  };
51473
51480
  if (e.types[A.type] == null)
51474
51481
  return b("unknown packet type " + A.type);
51475
51482
  if (e.BINARY_EVENT === A.type || e.BINARY_ACK === A.type) {
51476
- for (var F = S + 1; v.charAt(++S) !== "-" && S != v.length; )
51483
+ for (var F = k + 1; v.charAt(++k) !== "-" && k != v.length; )
51477
51484
  ;
51478
- var k = v.substring(F, S);
51479
- if (k != Number(k) || v.charAt(S) !== "-")
51485
+ var S = v.substring(F, k);
51486
+ if (S != Number(S) || v.charAt(k) !== "-")
51480
51487
  throw new Error("Illegal attachments");
51481
- A.attachments = Number(k);
51488
+ A.attachments = Number(S);
51482
51489
  }
51483
- if (v.charAt(S + 1) === "/") {
51484
- for (var F = S + 1; ++S; ) {
51485
- var x = v.charAt(S);
51486
- if (x === "," || S === v.length)
51490
+ if (v.charAt(k + 1) === "/") {
51491
+ for (var F = k + 1; ++k; ) {
51492
+ var x = v.charAt(k);
51493
+ if (x === "," || k === v.length)
51487
51494
  break;
51488
51495
  }
51489
- A.nsp = v.substring(F, S);
51496
+ A.nsp = v.substring(F, k);
51490
51497
  } else
51491
51498
  A.nsp = "/";
51492
- var R = v.charAt(S + 1);
51499
+ var R = v.charAt(k + 1);
51493
51500
  if (R !== "" && Number(R) == R) {
51494
- for (var F = S + 1; ++S; ) {
51495
- var x = v.charAt(S);
51501
+ for (var F = k + 1; ++k; ) {
51502
+ var x = v.charAt(k);
51496
51503
  if (x == null || Number(x) != x) {
51497
- --S;
51504
+ --k;
51498
51505
  break;
51499
51506
  }
51500
- if (S === v.length)
51507
+ if (k === v.length)
51501
51508
  break;
51502
51509
  }
51503
- A.id = Number(v.substring(F, S + 1));
51510
+ A.id = Number(v.substring(F, k + 1));
51504
51511
  }
51505
- if (v.charAt(++S)) {
51506
- var j = g(v.substr(S)), P = j !== !1 && (A.type === e.ERROR || i(j));
51512
+ if (v.charAt(++k)) {
51513
+ var j = g(v.substr(k)), P = j !== !1 && (A.type === e.ERROR || i(j));
51507
51514
  if (P)
51508
51515
  A.data = j;
51509
51516
  else
@@ -51526,8 +51533,8 @@ td.removeBlobs = function(e, t) {
51526
51533
  }
51527
51534
  y.prototype.takeBinaryData = function(v) {
51528
51535
  if (this.buffers.push(v), this.buffers.length === this.reconPack.attachments) {
51529
- var S = s.reconstructPacket(this.reconPack, this.buffers);
51530
- return this.finishedReconstruction(), S;
51536
+ var k = s.reconstructPacket(this.reconPack, this.buffers);
51537
+ return this.finishedReconstruction(), k;
51531
51538
  }
51532
51539
  return null;
51533
51540
  }, y.prototype.finishedReconstruction = function() {
@@ -51769,101 +51776,101 @@ function Gwe() {
51769
51776
  upgrade: 5,
51770
51777
  noop: 6
51771
51778
  }, m = t(l), h = { type: "error", data: "parser error" }, g = Gwe();
51772
- e.encodePacket = function(k, x, R, j) {
51779
+ e.encodePacket = function(S, x, R, j) {
51773
51780
  typeof x == "function" && (j = x, x = !1), typeof R == "function" && (j = R, R = null);
51774
- var P = k.data === void 0 ? void 0 : k.data.buffer || k.data;
51781
+ var P = S.data === void 0 ? void 0 : S.data.buffer || S.data;
51775
51782
  if (typeof ArrayBuffer < "u" && P instanceof ArrayBuffer)
51776
- return b(k, x, j);
51783
+ return b(S, x, j);
51777
51784
  if (typeof g < "u" && P instanceof g)
51778
- return S(k, x, j);
51785
+ return k(S, x, j);
51779
51786
  if (P && P.base64)
51780
- return y(k, j);
51781
- var B = l[k.type];
51782
- return k.data !== void 0 && (B += R ? o.encode(String(k.data), { strict: !1 }) : String(k.data)), j("" + B);
51787
+ return y(S, j);
51788
+ var B = l[S.type];
51789
+ return S.data !== void 0 && (B += R ? o.encode(String(S.data), { strict: !1 }) : String(S.data)), j("" + B);
51783
51790
  };
51784
- function y(k, x) {
51785
- var R = "b" + e.packets[k.type] + k.data.data;
51791
+ function y(S, x) {
51792
+ var R = "b" + e.packets[S.type] + S.data.data;
51786
51793
  return x(R);
51787
51794
  }
51788
- function b(k, x, R) {
51795
+ function b(S, x, R) {
51789
51796
  if (!x)
51790
- return e.encodeBase64Packet(k, R);
51791
- var j = k.data, P = new Uint8Array(j), B = new Uint8Array(1 + j.byteLength);
51792
- B[0] = l[k.type];
51797
+ return e.encodeBase64Packet(S, R);
51798
+ var j = S.data, P = new Uint8Array(j), B = new Uint8Array(1 + j.byteLength);
51799
+ B[0] = l[S.type];
51793
51800
  for (var W = 0; W < P.length; W++)
51794
51801
  B[W + 1] = P[W];
51795
51802
  return R(B.buffer);
51796
51803
  }
51797
- function v(k, x, R) {
51804
+ function v(S, x, R) {
51798
51805
  if (!x)
51799
- return e.encodeBase64Packet(k, R);
51806
+ return e.encodeBase64Packet(S, R);
51800
51807
  var j = new FileReader();
51801
51808
  return j.onload = function() {
51802
- e.encodePacket({ type: k.type, data: j.result }, x, !0, R);
51803
- }, j.readAsArrayBuffer(k.data);
51809
+ e.encodePacket({ type: S.type, data: j.result }, x, !0, R);
51810
+ }, j.readAsArrayBuffer(S.data);
51804
51811
  }
51805
- function S(k, x, R) {
51812
+ function k(S, x, R) {
51806
51813
  if (!x)
51807
- return e.encodeBase64Packet(k, R);
51814
+ return e.encodeBase64Packet(S, R);
51808
51815
  if (d)
51809
- return v(k, x, R);
51816
+ return v(S, x, R);
51810
51817
  var j = new Uint8Array(1);
51811
- j[0] = l[k.type];
51812
- var P = new g([j.buffer, k.data]);
51818
+ j[0] = l[S.type];
51819
+ var P = new g([j.buffer, S.data]);
51813
51820
  return R(P);
51814
51821
  }
51815
- e.encodeBase64Packet = function(k, x) {
51816
- var R = "b" + e.packets[k.type];
51817
- if (typeof g < "u" && k.data instanceof g) {
51822
+ e.encodeBase64Packet = function(S, x) {
51823
+ var R = "b" + e.packets[S.type];
51824
+ if (typeof g < "u" && S.data instanceof g) {
51818
51825
  var j = new FileReader();
51819
51826
  return j.onload = function() {
51820
51827
  var D = j.result.split(",")[1];
51821
51828
  x(R + D);
51822
- }, j.readAsDataURL(k.data);
51829
+ }, j.readAsDataURL(S.data);
51823
51830
  }
51824
51831
  var P;
51825
51832
  try {
51826
- P = String.fromCharCode.apply(null, new Uint8Array(k.data));
51833
+ P = String.fromCharCode.apply(null, new Uint8Array(S.data));
51827
51834
  } catch {
51828
- for (var B = new Uint8Array(k.data), W = new Array(B.length), H = 0; H < B.length; H++)
51835
+ for (var B = new Uint8Array(S.data), W = new Array(B.length), H = 0; H < B.length; H++)
51829
51836
  W[H] = B[H];
51830
51837
  P = String.fromCharCode.apply(null, W);
51831
51838
  }
51832
51839
  return R += btoa(P), x(R);
51833
- }, e.decodePacket = function(k, x, R) {
51834
- if (k === void 0)
51840
+ }, e.decodePacket = function(S, x, R) {
51841
+ if (S === void 0)
51835
51842
  return h;
51836
- if (typeof k == "string") {
51837
- if (k.charAt(0) === "b")
51838
- return e.decodeBase64Packet(k.substr(1), x);
51839
- if (R && (k = A(k), k === !1))
51843
+ if (typeof S == "string") {
51844
+ if (S.charAt(0) === "b")
51845
+ return e.decodeBase64Packet(S.substr(1), x);
51846
+ if (R && (S = A(S), S === !1))
51840
51847
  return h;
51841
- var P = k.charAt(0);
51842
- return Number(P) != P || !m[P] ? h : k.length > 1 ? { type: m[P], data: k.substring(1) } : { type: m[P] };
51848
+ var P = S.charAt(0);
51849
+ return Number(P) != P || !m[P] ? h : S.length > 1 ? { type: m[P], data: S.substring(1) } : { type: m[P] };
51843
51850
  }
51844
- var j = new Uint8Array(k), P = j[0], B = s(k, 1);
51851
+ var j = new Uint8Array(S), P = j[0], B = s(S, 1);
51845
51852
  return g && x === "blob" && (B = new g([B])), { type: m[P], data: B };
51846
51853
  };
51847
- function A(k) {
51854
+ function A(S) {
51848
51855
  try {
51849
- k = o.decode(k, { strict: !1 });
51856
+ S = o.decode(S, { strict: !1 });
51850
51857
  } catch {
51851
51858
  return !1;
51852
51859
  }
51853
- return k;
51860
+ return S;
51854
51861
  }
51855
- e.decodeBase64Packet = function(k, x) {
51856
- var R = m[k.charAt(0)];
51862
+ e.decodeBase64Packet = function(S, x) {
51863
+ var R = m[S.charAt(0)];
51857
51864
  if (!n)
51858
- return { type: R, data: { base64: !0, data: k.substr(1) } };
51859
- var j = n.decode(k.substr(1));
51865
+ return { type: R, data: { base64: !0, data: S.substr(1) } };
51866
+ var j = n.decode(S.substr(1));
51860
51867
  return x === "blob" && g && (j = new g([j])), { type: R, data: j };
51861
- }, e.encodePayload = function(k, x, R) {
51868
+ }, e.encodePayload = function(S, x, R) {
51862
51869
  typeof x == "function" && (R = x, x = null);
51863
- var j = a(k);
51870
+ var j = a(S);
51864
51871
  if (x && j)
51865
- return g && !d ? e.encodePayloadAsBlob(k, R) : e.encodePayloadAsArrayBuffer(k, R);
51866
- if (!k.length)
51872
+ return g && !d ? e.encodePayloadAsBlob(S, R) : e.encodePayloadAsArrayBuffer(S, R);
51873
+ if (!S.length)
51867
51874
  return R("0:");
51868
51875
  function P(W) {
51869
51876
  return W.length + ":" + W;
@@ -51873,32 +51880,32 @@ function Gwe() {
51873
51880
  H(null, P(D));
51874
51881
  });
51875
51882
  }
51876
- F(k, B, function(W, H) {
51883
+ F(S, B, function(W, H) {
51877
51884
  return R(H.join(""));
51878
51885
  });
51879
51886
  };
51880
- function F(k, x, R) {
51881
- for (var j = new Array(k.length), P = i(k.length, R), B = function(H, D, X) {
51887
+ function F(S, x, R) {
51888
+ for (var j = new Array(S.length), P = i(S.length, R), B = function(H, D, X) {
51882
51889
  x(D, function(pe, ue) {
51883
51890
  j[H] = ue, X(pe, j);
51884
51891
  });
51885
- }, W = 0; W < k.length; W++)
51886
- B(W, k[W], P);
51892
+ }, W = 0; W < S.length; W++)
51893
+ B(W, S[W], P);
51887
51894
  }
51888
- e.decodePayload = function(k, x, R) {
51889
- if (typeof k != "string")
51890
- return e.decodePayloadAsBinary(k, x, R);
51895
+ e.decodePayload = function(S, x, R) {
51896
+ if (typeof S != "string")
51897
+ return e.decodePayloadAsBinary(S, x, R);
51891
51898
  typeof x == "function" && (R = x, x = null);
51892
51899
  var j;
51893
- if (k === "")
51900
+ if (S === "")
51894
51901
  return R(h, 0, 1);
51895
- for (var P = "", B, W, H = 0, D = k.length; H < D; H++) {
51896
- var X = k.charAt(H);
51902
+ for (var P = "", B, W, H = 0, D = S.length; H < D; H++) {
51903
+ var X = S.charAt(H);
51897
51904
  if (X !== ":") {
51898
51905
  P += X;
51899
51906
  continue;
51900
51907
  }
51901
- if (P === "" || P != (B = Number(P)) || (W = k.substr(H + 1, B), P != W.length))
51908
+ if (P === "" || P != (B = Number(P)) || (W = S.substr(H + 1, B), P != W.length))
51902
51909
  return R(h, 0, 1);
51903
51910
  if (W.length) {
51904
51911
  if (j = e.decodePacket(W, x, !1), h.type === j.type && h.data === j.data)
@@ -51911,15 +51918,15 @@ function Gwe() {
51911
51918
  }
51912
51919
  if (P !== "")
51913
51920
  return R(h, 0, 1);
51914
- }, e.encodePayloadAsArrayBuffer = function(k, x) {
51915
- if (!k.length)
51921
+ }, e.encodePayloadAsArrayBuffer = function(S, x) {
51922
+ if (!S.length)
51916
51923
  return x(new ArrayBuffer(0));
51917
51924
  function R(j, P) {
51918
51925
  e.encodePacket(j, !0, !0, function(B) {
51919
51926
  return P(null, B);
51920
51927
  });
51921
51928
  }
51922
- F(k, R, function(j, P) {
51929
+ F(S, R, function(j, P) {
51923
51930
  var B = P.reduce(function(D, X) {
51924
51931
  var pe;
51925
51932
  return typeof X == "string" ? pe = X.length : pe = X.byteLength, D + pe.toString().length + pe + 2;
@@ -51939,7 +51946,7 @@ function Gwe() {
51939
51946
  W[H++] = ue[q];
51940
51947
  }), x(W.buffer);
51941
51948
  });
51942
- }, e.encodePayloadAsBlob = function(k, x) {
51949
+ }, e.encodePayloadAsBlob = function(S, x) {
51943
51950
  function R(j, P) {
51944
51951
  e.encodePacket(j, !0, !0, function(B) {
51945
51952
  var W = new Uint8Array(1);
@@ -51956,12 +51963,12 @@ function Gwe() {
51956
51963
  }
51957
51964
  });
51958
51965
  }
51959
- F(k, R, function(j, P) {
51966
+ F(S, R, function(j, P) {
51960
51967
  return x(new g(P));
51961
51968
  });
51962
- }, e.decodePayloadAsBinary = function(k, x, R) {
51969
+ }, e.decodePayloadAsBinary = function(S, x, R) {
51963
51970
  typeof x == "function" && (R = x, x = null);
51964
- for (var j = k, P = []; j.byteLength > 0; ) {
51971
+ for (var j = S, P = []; j.byteLength > 0; ) {
51965
51972
  for (var B = new Uint8Array(j), W = B[0] === 0, H = "", D = 1; B[D] !== 255; D++) {
51966
51973
  if (H.length > 310)
51967
51974
  return R(h, 0, 1);
@@ -52145,15 +52152,15 @@ function Qn(e, t, a) {
52145
52152
  for (var b = new Array(arguments.length), v = 0; v < b.length; v++)
52146
52153
  b[v] = arguments[v];
52147
52154
  b[0] = t.coerce(b[0]), typeof b[0] != "string" && b.unshift("%O");
52148
- var S = 0;
52149
- b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, k) {
52155
+ var k = 0;
52156
+ b[0] = b[0].replace(/%([a-zA-Z%])/g, function(F, S) {
52150
52157
  if (F === "%%")
52151
52158
  return F;
52152
- S++;
52153
- var x = t.formatters[k];
52159
+ k++;
52160
+ var x = t.formatters[S];
52154
52161
  if (typeof x == "function") {
52155
- var R = b[S];
52156
- F = x.call(h, R), b.splice(S, 1), S--;
52162
+ var R = b[k];
52163
+ F = x.call(h, R), b.splice(k, 1), k--;
52157
52164
  }
52158
52165
  return F;
52159
52166
  }), t.formatArgs.call(h, b);
@@ -53766,24 +53773,24 @@ const D6 = /* @__PURE__ */ g8e(yg, [["render", C8e], ["__scopeId", "data-v-e2a20
53766
53773
  const a = e, s = [{ id: "local", name: "Local" }, { id: "visit", name: "Visitante" }], i = [{ id: "win", name: "Ganado" }, { id: "draw", name: "Empatados" }, { id: "lose", name: "Perdidos" }], o = O(!1), n = O(null), c = O(["local", "visit"]), p = O(["win", "draw", "lose"]), d = O(!0), l = O(!0), m = O(!0), h = O(!0), g = O(["local", "visit"]), y = O(["win", "draw", "lose"]), b = () => {
53767
53774
  o.value = !o.value, n.value.focus(), c.value = JSON.parse(JSON.stringify(g.value)), p.value = JSON.parse(JSON.stringify(y.value)), d.value = m.value, l.value = h.value;
53768
53775
  };
53769
- ye(() => a.itemSelect, (k) => {
53770
- k && (g.value = k.selectedFilterTeam, y.value = k.selectedFilterResults);
53771
- }), ye(() => a.reset, (k) => {
53772
- k && S();
53776
+ ye(() => a.itemSelect, (S) => {
53777
+ S && (g.value = S.selectedFilterTeam, y.value = S.selectedFilterResults);
53778
+ }), ye(() => a.reset, (S) => {
53779
+ S && k();
53773
53780
  });
53774
- const v = (k, x) => {
53781
+ const v = (S, x) => {
53775
53782
  let R;
53776
53783
  x === "team" ? R = g.value : R = y.value;
53777
- const j = R.findIndex((P) => P === k);
53778
- j == -1 ? R.push(k) : x == "team" && g.value.length > 1 ? R.splice(j, 1) : (x == "team" && R.push(k), y.value.length > 1 && R.splice(j, 1)), m.value = g.value.length == 2, h.value = y.value.length == 3;
53779
- }, S = () => {
53784
+ const j = R.findIndex((P) => P === S);
53785
+ j == -1 ? R.push(S) : x == "team" && g.value.length > 1 ? R.splice(j, 1) : (x == "team" && R.push(S), y.value.length > 1 && R.splice(j, 1)), m.value = g.value.length == 2, h.value = y.value.length == 3;
53786
+ }, k = () => {
53780
53787
  g.value = ["local", "visit"], y.value = ["win", "draw", "lose"], m.value = !0, h.value = !0, t("change", { selectedFilterTeam: g.value, selectedFilterResults: y.value });
53781
53788
  }, A = () => {
53782
53789
  t("change", { selectedFilterTeam: g.value, selectedFilterResults: y.value }), o.value = !o.value;
53783
53790
  }, F = () => {
53784
53791
  t("change", { selectedFilterTeam: g.value, selectedFilterResults: y.value });
53785
53792
  };
53786
- return (k, x) => (f(), _("div", {
53793
+ return (S, x) => (f(), _("div", {
53787
53794
  class: "filter-modal",
53788
53795
  style: N({ zIndex: e.zIndex })
53789
53796
  }, [
@@ -53849,7 +53856,7 @@ const D6 = /* @__PURE__ */ g8e(yg, [["render", C8e], ["__scopeId", "data-v-e2a20
53849
53856
  r("div", { class: "filter-modal__buttons" }, [
53850
53857
  r("div", {
53851
53858
  class: "button filter-modal__text-btn",
53852
- onClick: S
53859
+ onClick: k
53853
53860
  }, "Quitar filtros"),
53854
53861
  r("div", {
53855
53862
  class: "button filter-modal__outline-btn",
@@ -54541,12 +54548,12 @@ var q6e = ot({
54541
54548
  const o = O(null), n = O([]), c = O(0), p = O(0), d = Oe(Object.assign({}, Ht));
54542
54549
  let l = Object.assign({}, Ht), m;
54543
54550
  const h = O((i = e.modelValue) !== null && i !== void 0 ? i : 0), g = O(0), y = O(0), b = O(0), v = O(0);
54544
- let S, A;
54551
+ let k, A;
54545
54552
  ve("config", d), ve("slidesCount", p), ve("currentSlide", h), ve("maxSlide", b), ve("minSlide", v), ve("slideWidth", c);
54546
54553
  function F() {
54547
54554
  m = Object.assign({}, e.breakpoints), l = Object.assign(Object.assign(Object.assign({}, l), e), { i18n: Object.assign(Object.assign({}, l.i18n), e.i18n), breakpoints: void 0 }), x(l);
54548
54555
  }
54549
- function k() {
54556
+ function S() {
54550
54557
  if (!m || !Object.keys(m).length)
54551
54558
  return;
54552
54559
  const I = Object.keys(m).map((U) => Number(U)).sort((U, fe) => +fe - +U);
@@ -54560,7 +54567,7 @@ var q6e = ot({
54560
54567
  Object.entries(I).forEach(([G, U]) => d[G] = U);
54561
54568
  }
54562
54569
  const R = G6e(() => {
54563
- k(), j();
54570
+ S(), j();
54564
54571
  }, 16);
54565
54572
  function j() {
54566
54573
  if (!o.value)
@@ -54576,9 +54583,9 @@ var q6e = ot({
54576
54583
  })));
54577
54584
  }
54578
54585
  at(() => {
54579
- Vs(() => j()), setTimeout(() => j(), 1e3), k(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
54586
+ Vs(() => j()), setTimeout(() => j(), 1e3), S(), xe(), window.addEventListener("resize", R, { passive: !0 }), a("init");
54580
54587
  }), Tt(() => {
54581
- A && clearTimeout(A), S && clearInterval(S), window.removeEventListener("resize", R, {
54588
+ A && clearTimeout(A), k && clearInterval(k), window.removeEventListener("resize", R, {
54582
54589
  passive: !0
54583
54590
  });
54584
54591
  });
@@ -54607,12 +54614,12 @@ var q6e = ot({
54607
54614
  be(h.value - U), D.x = 0, D.y = 0, pe.value = !1, document.removeEventListener(B ? "touchmove" : "mousemove", T, !0), document.removeEventListener(B ? "touchend" : "mouseup", z, !0);
54608
54615
  }
54609
54616
  function xe() {
54610
- !d.autoplay || d.autoplay <= 0 || (S = setInterval(() => {
54617
+ !d.autoplay || d.autoplay <= 0 || (k = setInterval(() => {
54611
54618
  d.pauseAutoplayOnHover && X.value || Te();
54612
54619
  }, d.autoplay));
54613
54620
  }
54614
54621
  function Ae() {
54615
- S && (clearInterval(S), S = null), xe();
54622
+ k && (clearInterval(k), k = null), xe();
54616
54623
  }
54617
54624
  const ge = O(!1);
54618
54625
  function be(I) {
@@ -54669,7 +54676,7 @@ var q6e = ot({
54669
54676
  };
54670
54677
  });
54671
54678
  function lt() {
54672
- F(), k(), P(), j(), Ae();
54679
+ F(), S(), P(), j(), Ae();
54673
54680
  }
54674
54681
  Object.keys(J2).forEach((I) => {
54675
54682
  ["modelValue"].includes(I) || ye(() => e[I], lt);
@@ -54689,7 +54696,7 @@ var q6e = ot({
54689
54696
  middleSlide: y
54690
54697
  };
54691
54698
  s({
54692
- updateBreakpointsConfigs: k,
54699
+ updateBreakpointsConfigs: S,
54693
54700
  updateSlidesData: P,
54694
54701
  updateSlideWidth: j,
54695
54702
  initDefaultConfigs: F,
@@ -54941,7 +54948,7 @@ const Z6e = (e, t) => {
54941
54948
  if (b && b.length && i.value) {
54942
54949
  if (s.defaultItemByProp) {
54943
54950
  const v = s.items.findIndex(
54944
- (S) => S[s.defaultItemByProp.propName] === s.defaultItemByProp.value
54951
+ (k) => k[s.defaultItemByProp.propName] === s.defaultItemByProp.value
54945
54952
  );
54946
54953
  v !== -1 ? (n.value = v, o.value = b[v]) : (n.value = 0, o.value = b[0]);
54947
54954
  } else
@@ -54990,9 +54997,9 @@ const Z6e = (e, t) => {
54990
54997
  onSlideStart: y
54991
54998
  }, {
54992
54999
  default: Z(() => [
54993
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), V(_e(X6e), { key: A }, {
55000
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), V(_e(X6e), { key: A }, {
54994
55001
  default: Z(() => [
54995
- Xe(b.$slots, "default", { item: S }, void 0, !0)
55002
+ Xe(b.$slots, "default", { item: k }, void 0, !0)
54996
55003
  ]),
54997
55004
  _: 2
54998
55005
  }, 1024))), 128))
@@ -55003,7 +55010,7 @@ const Z6e = (e, t) => {
55003
55010
  e.areSlidesArrowsVisible ? (f(), _("div", {
55004
55011
  key: 0,
55005
55012
  class: "gsc-carousel__2d__arrow-left",
55006
- onClick: v[0] || (v[0] = (S) => i.value.prev())
55013
+ onClick: v[0] || (v[0] = (k) => i.value.prev())
55007
55014
  }, [
55008
55015
  r("div", {
55009
55016
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -55021,7 +55028,7 @@ const Z6e = (e, t) => {
55021
55028
  e.areSlidesArrowsVisible ? (f(), _("div", {
55022
55029
  key: 1,
55023
55030
  class: "gsc-carousel__2d__arrow-right",
55024
- onClick: v[1] || (v[1] = (S) => d())
55031
+ onClick: v[1] || (v[1] = (k) => d())
55025
55032
  }, [
55026
55033
  r("div", {
55027
55034
  class: u(["gsc-carousel__2d__slide-button", { rounded: e.areSlidesArrowsRounded }])
@@ -55040,7 +55047,7 @@ const Z6e = (e, t) => {
55040
55047
  e.areNavigationArrowsVisible ? (f(), _("div", {
55041
55048
  key: 0,
55042
55049
  class: "gsc-carousel__2d__navigation__arrow-left",
55043
- onClick: v[2] || (v[2] = (S) => l())
55050
+ onClick: v[2] || (v[2] = (k) => l())
55044
55051
  }, [
55045
55052
  (f(), _("svg", lCe, [
55046
55053
  r("path", {
@@ -55050,7 +55057,7 @@ const Z6e = (e, t) => {
55050
55057
  ]))
55051
55058
  ])) : C("", !0),
55052
55059
  e.isPaginationVisible ? (f(), _("div", dCe, [
55053
- (f(!0), _(E, null, me(e.items, (S, A) => (f(), _("div", {
55060
+ (f(!0), _(E, null, me(e.items, (k, A) => (f(), _("div", {
55054
55061
  key: `i-${A}`,
55055
55062
  class: "gsc-carousel__2d__navigation__pagination__item",
55056
55063
  style: N({
@@ -55066,7 +55073,7 @@ const Z6e = (e, t) => {
55066
55073
  e.areNavigationArrowsVisible ? (f(), _("div", {
55067
55074
  key: 2,
55068
55075
  class: "gsc-carousel__2d__navigation__arrow-right",
55069
- onClick: v[3] || (v[3] = (S) => i.value.next())
55076
+ onClick: v[3] || (v[3] = (k) => i.value.next())
55070
55077
  }, [
55071
55078
  (f(), _("svg", mCe, [
55072
55079
  r("path", {
@@ -55474,7 +55481,7 @@ const $Ce = /* @__PURE__ */ yCe(_g, [["render", kCe], ["__scopeId", "data-v-fb26
55474
55481
  (f(!0), _(E, null, me(e.items, (b, v) => (f(), _("div", {
55475
55482
  class: u(["gsc-dropdown__items__item", { selected: v === o.value }]),
55476
55483
  key: v,
55477
- onClick: (S) => m(b, v)
55484
+ onClick: (k) => m(b, v)
55478
55485
  }, [
55479
55486
  Xe(g.$slots, "availableItem", { item: b })
55480
55487
  ], 10, TCe))), 128))
@@ -56443,11 +56450,11 @@ const RCe = {
56443
56450
  "away",
56444
56451
  0
56445
56452
  );
56446
- var S = $.data.away_team.starting_lineup[0].lineup[T].player_name.split(","), A = S[0].split(" "), F = S[1].trim().split(" "), k = "";
56447
- A.length == 2 || A.length == 1 ? A[0].length < 4 ? k = A[0] + " " + A[1] : k = A[0] : A.length == 3 ? k = A[0] + " " + A[1] : A.length == 4 && (k = A[1] + " " + A[2] + " " + A[3]);
56453
+ var k = $.data.away_team.starting_lineup[0].lineup[T].player_name.split(","), A = k[0].split(" "), F = k[1].trim().split(" "), S = "";
56454
+ A.length == 2 || A.length == 1 ? A[0].length < 4 ? S = A[0] + " " + A[1] : S = A[0] : A.length == 3 ? S = A[0] + " " + A[1] : A.length == 4 && (S = A[1] + " " + A[2] + " " + A[3]);
56448
56455
  var x = F[s.length - 1] != "" ? F[F.length - 1].charAt(0) : F[F.length - 2] ? F[F.length - 2].charAt(0) : "";
56449
- k = k.replace(",", "");
56450
- var R = x + ". " + k, j = $.data.away_team.starting_lineup[0].lineup[T].x, P = 100 - (100 - j) * 50 / 100;
56456
+ S = S.replace(",", "");
56457
+ var R = x + ". " + S, j = $.data.away_team.starting_lineup[0].lineup[T].x, P = 100 - (100 - j) * 50 / 100;
56451
56458
  P = P * 0.9;
56452
56459
  var B = $.data.away_team.players.findIndex(
56453
56460
  (z) => z.player_id == $.data.away_team.starting_lineup[0].lineup[T].player_id
@@ -56455,7 +56462,7 @@ const RCe = {
56455
56462
  this.players.push({
56456
56463
  number: $.data.away_team.starting_lineup[0].lineup[T].jersey_number,
56457
56464
  isFirstTeam: !1,
56458
- name: x + ". " + k,
56465
+ name: x + ". " + S,
56459
56466
  photo: "https://az755631.vo.msecnd.net/players-profile/" + $.data.away_team.starting_lineup[0].lineup[T].player_id + ".png",
56460
56467
  posX: 100 - (100 - $.data.away_team.starting_lineup[0].lineup[T].x) * 50 / 100,
56461
56468
  posY: $.data.away_team.starting_lineup[0].lineup[T].y
@@ -57687,19 +57694,19 @@ const $Se = {
57687
57694
  }), ye(() => a.reset, (F) => {
57688
57695
  F && v();
57689
57696
  });
57690
- const b = (F, k) => {
57697
+ const b = (F, S) => {
57691
57698
  let x;
57692
- k === "team" ? x = h.value : x = g.value;
57699
+ S === "team" ? x = h.value : x = g.value;
57693
57700
  const R = x.findIndex((j) => j === F);
57694
- R == -1 ? x.push(F) : k == "team" && h.value.length == 2 ? x.splice(R, 1) : (k == "team" && x.push(F), g.value.length > 1 && x.splice(R, 1)), l.value = h.value.length == 2, m.value = g.value.length == 3;
57701
+ R == -1 ? x.push(F) : S == "team" && h.value.length == 2 ? x.splice(R, 1) : (S == "team" && x.push(F), g.value.length > 1 && x.splice(R, 1)), l.value = h.value.length == 2, m.value = g.value.length == 3;
57695
57702
  }, v = () => {
57696
57703
  h.value = ["local", "visit"], g.value = ["win", "draw", "lose"], l.value = !0, m.value = !0, t("change", { selectedFilterTeam: h.value, selectedFilterResults: g.value });
57697
- }, S = () => {
57704
+ }, k = () => {
57698
57705
  t("change", { selectedFilterTeam: h.value, selectedFilterResults: g.value });
57699
57706
  }, A = () => {
57700
57707
  t("change", { selectedFilterTeam: h.value, selectedFilterResults: g.value });
57701
57708
  };
57702
- return (F, k) => (f(), _("div", {
57709
+ return (F, S) => (f(), _("div", {
57703
57710
  class: "filter-modal",
57704
57711
  style: N({ zIndex: e.zIndex })
57705
57712
  }, [
@@ -57721,7 +57728,7 @@ const $Se = {
57721
57728
  tabindex: "0",
57722
57729
  ref_key: "filterElement",
57723
57730
  ref: o,
57724
- onFocusout: k[4] || (k[4] = (x) => {
57731
+ onFocusout: S[4] || (S[4] = (x) => {
57725
57732
  e.isOpen = !1, A();
57726
57733
  })
57727
57734
  }, [
@@ -57731,8 +57738,8 @@ const $Se = {
57731
57738
  L(fl, {
57732
57739
  modelValue: l.value,
57733
57740
  "onUpdate:modelValue": [
57734
- k[0] || (k[0] = (x) => l.value = x),
57735
- k[1] || (k[1] = (x) => x && (h.value = ["local", "visit"]))
57741
+ S[0] || (S[0] = (x) => l.value = x),
57742
+ S[1] || (S[1] = (x) => x && (h.value = ["local", "visit"]))
57736
57743
  ],
57737
57744
  label: "Todos"
57738
57745
  }, null, 8, ["modelValue"])
@@ -57748,8 +57755,8 @@ const $Se = {
57748
57755
  L(fl, {
57749
57756
  modelValue: m.value,
57750
57757
  "onUpdate:modelValue": [
57751
- k[2] || (k[2] = (x) => m.value = x),
57752
- k[3] || (k[3] = (x) => x && (g.value = ["win", "lose", "draw"]))
57758
+ S[2] || (S[2] = (x) => m.value = x),
57759
+ S[3] || (S[3] = (x) => x && (g.value = ["win", "lose", "draw"]))
57753
57760
  ],
57754
57761
  label: "Todos"
57755
57762
  }, null, 8, ["modelValue"])
@@ -57769,7 +57776,7 @@ const $Se = {
57769
57776
  }, "Quitar filtros"),
57770
57777
  r("div", {
57771
57778
  class: "button filter-modal__outline-btn",
57772
- onClick: S
57779
+ onClick: k
57773
57780
  }, "Listo")
57774
57781
  ])
57775
57782
  ], 34)
@@ -60507,7 +60514,7 @@ const AOe = {
60507
60514
  var n = i[i.length - 1] != "" ? i[i.length - 1].charAt(0) : i[i.length - 2] ? i[i.length - 2].charAt(0) : "";
60508
60515
  o = o.replace(",", "");
60509
60516
  var c = n + ". " + o, p = this.dataPlayersHome.findIndex(
60510
- (S) => S.player_id == t[this.home_team_id][v].playerID
60517
+ (k) => k.player_id == t[this.home_team_id][v].playerID
60511
60518
  );
60512
60519
  this.playersHome.push({
60513
60520
  played: !1,
@@ -60542,7 +60549,7 @@ const AOe = {
60542
60549
  isbench: !0
60543
60550
  });
60544
60551
  }
60545
- this.playersHome.sort((v, S) => v.position_id > S.position_id ? 1 : S.position_id > v.position_id ? -1 : 0);
60552
+ this.playersHome.sort((v, k) => v.position_id > k.position_id ? 1 : k.position_id > v.position_id ? -1 : 0);
60546
60553
  }
60547
60554
  if (t[this.away_team_id]) {
60548
60555
  this.playersAway = this.playersAway.filter(function(v) {
@@ -60556,7 +60563,7 @@ const AOe = {
60556
60563
  var g = m[m.length - 1] != "" ? m[m.length - 1].charAt(0) : m[m.length - 2] ? m[m.length - 2].charAt(0) : "";
60557
60564
  h = h.replace(",", "");
60558
60565
  var y = g + ". " + h, b = this.dataPlayersAway.findIndex(
60559
- (S) => S.player_id == t[this.away_team_id][v].playerID
60566
+ (k) => k.player_id == t[this.away_team_id][v].playerID
60560
60567
  );
60561
60568
  this.playersAway.push({
60562
60569
  played: !1,
@@ -60591,28 +60598,28 @@ const AOe = {
60591
60598
  isbench: !0
60592
60599
  });
60593
60600
  }
60594
- this.playersAway.sort((v, S) => v.position_id > S.position_id ? 1 : S.position_id > v.position_id ? -1 : 0);
60601
+ this.playersAway.sort((v, k) => v.position_id > k.position_id ? 1 : k.position_id > v.position_id ? -1 : 0);
60595
60602
  }
60596
60603
  },
60597
60604
  new_lineup(e, t) {
60598
60605
  if (t.team_id == t.home_team.team_id) {
60599
60606
  if (this.playersHome.length == 0) {
60600
60607
  this.dataPlayersHome = t.home_team.players;
60601
- for (let k = 0; k < t.data.length; k++) {
60608
+ for (let S = 0; S < t.data.length; S++) {
60602
60609
  this.home_team_id = t.team_id, this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/" + t.team_id + ".svg", "home", 1), this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/" + t.team_id + "_g.svg", "home", 0);
60603
- var a = t.data[k].player_name.split(","), s = a[0].split(" "), i = a[1].trim().split(" "), o = "";
60610
+ var a = t.data[S].player_name.split(","), s = a[0].split(" "), i = a[1].trim().split(" "), o = "";
60604
60611
  s.length == 2 || s.length == 1 ? s[0].length < 4 ? o = s[0] + " " + s[1] : o = s[0] : s.length == 3 ? o = s[0] + " " + s[1] : s.length == 4 && (o = s[1] + " " + s[2] + " " + s[3]);
60605
60612
  var n = i[i.length - 1] != "" ? i[i.length - 1].charAt(0) : i[i.length - 2] ? i[i.length - 2].charAt(0) : "";
60606
60613
  o = o.replace(",", "");
60607
- var c = n + ". " + o, p = t.data[k].x, d = p * 50 / 100, l = t.home_team.players.findIndex(
60608
- (x) => x.player_id == t.data[k].player_id
60614
+ var c = n + ". " + o, p = t.data[S].x, d = p * 50 / 100, l = t.home_team.players.findIndex(
60615
+ (x) => x.player_id == t.data[S].player_id
60609
60616
  );
60610
60617
  this.playersHome.push({
60611
60618
  played: !0,
60612
- name: t.data[k].player_name,
60619
+ name: t.data[S].player_name,
60613
60620
  position: l != -1 ? this.positions[t.home_team.players[l].position_id - 1].name : "",
60614
60621
  position_id: t.home_team.players[l].position_id,
60615
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + t.data[k].player_id + ".png",
60622
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + t.data[S].player_id + ".png",
60616
60623
  nationality: l != -1 && t.home_team.players[l].nationality ? t.home_team.players[l].nationality.substring(0, 3) : "",
60617
60624
  imgNationality: l != -1 ? t.home_team.players[l].nationality_photo : "",
60618
60625
  substitutionIn: !1,
@@ -60621,12 +60628,12 @@ const AOe = {
60621
60628
  imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + t.team_id + ".png",
60622
60629
  substitutionMin: "",
60623
60630
  substitutionDataID: "",
60624
- shirt_number: t.data[k].jersey_number,
60625
- positionX: t.data[k].y - 13,
60631
+ shirt_number: t.data[S].jersey_number,
60632
+ positionX: t.data[S].y - 13,
60626
60633
  positionY: d * 0.9,
60627
- positionXOrigin: t.data[k].y - 17,
60628
- positionYOrigin: t.data[k].x - 2,
60629
- playerId: t.data[k].player_id,
60634
+ positionXOrigin: t.data[S].y - 17,
60635
+ positionYOrigin: t.data[S].x - 2,
60636
+ playerId: t.data[S].player_id,
60630
60637
  goals: 0,
60631
60638
  yellowcards: 0,
60632
60639
  redcards: 0,
@@ -60641,27 +60648,27 @@ const AOe = {
60641
60648
  id_team: t.team_id
60642
60649
  }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + t.team_id + ".png";
60643
60650
  }
60644
- this.playersHome.sort((k, x) => k.position_id > x.position_id ? 1 : x.position_id > k.position_id ? -1 : 0);
60651
+ this.playersHome.sort((S, x) => S.position_id > x.position_id ? 1 : x.position_id > S.position_id ? -1 : 0);
60645
60652
  }
60646
60653
  } else if (this.playersAway.length == 0) {
60647
60654
  this.dataPlayersAway = t.away_team.players;
60648
- for (let k = 0; k < t.data.length; k++) {
60655
+ for (let S = 0; S < t.data.length; S++) {
60649
60656
  this.away_team_id = t.team_id, this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/" + t.team_id + ".svg", "away", 1), this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/" + t.team_id + "_g.svg", "away", 0);
60650
- var m = t.data[k].player_name.split(","), h = m[0].split(" "), g = m[1].trim().split(" "), y = "";
60657
+ var m = t.data[S].player_name.split(","), h = m[0].split(" "), g = m[1].trim().split(" "), y = "";
60651
60658
  h.length == 2 || h.length == 1 ? h[0].length < 4 ? y = h[0] + " " + h[1] : y = h[0] : h.length == 3 ? y = h[0] + " " + h[1] : h.length == 4 && (y = h[1] + " " + h[2] + " " + h[3]);
60652
60659
  var b = g[g.length - 1] != "" ? g[g.length - 1].charAt(0) : g[g.length - 2] ? g[g.length - 2].charAt(0) : "";
60653
60660
  y = y.replace(",", "");
60654
- var v = b + ". " + y, S = t.data[k].x, A = 100 - (100 - S) * 50 / 100;
60661
+ var v = b + ". " + y, k = t.data[S].x, A = 100 - (100 - k) * 50 / 100;
60655
60662
  A = A * 0.9;
60656
60663
  var F = t.away_team.players.findIndex(
60657
- (x) => x.player_id == t.data[k].player_id
60664
+ (x) => x.player_id == t.data[S].player_id
60658
60665
  );
60659
60666
  this.playersAway.push({
60660
60667
  played: !0,
60661
- name: t.data[k].player_name,
60668
+ name: t.data[S].player_name,
60662
60669
  position: F != -1 ? this.positions[t.away_team.players[F].position_id - 1].name : "",
60663
60670
  position_id: t.away_team.players[F].position_id,
60664
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + t.data[k].player_id + ".png",
60671
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + t.data[S].player_id + ".png",
60665
60672
  nationality: F != -1 && t.away_team.players[F].nationality ? t.away_team.players[F].nationality.substring(0, 3) : "",
60666
60673
  imgNationality: F != -1 ? t.away_team.players[F].nationality_photo : "",
60667
60674
  substitutionIn: !1,
@@ -60670,12 +60677,12 @@ const AOe = {
60670
60677
  imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + t.team_id + ".png",
60671
60678
  substitutionMin: "",
60672
60679
  substitutionDataID: "",
60673
- shirt_number: t.data[k].jersey_number,
60674
- positionX: t.data[k].y - 13,
60680
+ shirt_number: t.data[S].jersey_number,
60681
+ positionX: t.data[S].y - 13,
60675
60682
  positionY: A + 2,
60676
- positionXOrigin: t.data[k].y - 17,
60677
- positionYOrigin: t.data[k].x - 7,
60678
- playerId: t.data[k].player_id,
60683
+ positionXOrigin: t.data[S].y - 17,
60684
+ positionYOrigin: t.data[S].x - 7,
60685
+ playerId: t.data[S].player_id,
60679
60686
  goals: 0,
60680
60687
  yellowcards: 0,
60681
60688
  redcards: 0,
@@ -60690,7 +60697,7 @@ const AOe = {
60690
60697
  id_team: t.team_id
60691
60698
  }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + t.team_id + ".png";
60692
60699
  }
60693
- this.playersAway.sort((k, x) => k.position_id > x.position_id ? 1 : x.position_id > k.position_id ? -1 : 0);
60700
+ this.playersAway.sort((S, x) => S.position_id > x.position_id ? 1 : x.position_id > S.position_id ? -1 : 0);
60694
60701
  }
60695
60702
  },
60696
60703
  update_mxm(e, t) {
@@ -60730,8 +60737,8 @@ const AOe = {
60730
60737
  g != -1 && (this.playersHome[g].idSubstitution = t.play_id, this.playersHome[g].substitutionOut = !0, this.playersHome[g].substitutionMin = t.minute, this.playersHome[g].substitutionDataID = t.team_id + "@" + t.player_id), y != -1 && (this.playersHome[y].idSubstitution = t.play_id, this.playersHome[y].substitutionIn = !0, this.playersHome[y].substitutionMin = t.minute, this.playersHome[y].substitutionDataID = t.team_id + "@" + t.player_id);
60731
60738
  }
60732
60739
  } else if (this.playersAway.length > 0) {
60733
- var b = t.player_id.split("@"), v = this.playersAway.findIndex((P) => P.playerId == b[0]), S = this.playersAway.findIndex((P) => P.playerId == b[1]);
60734
- g != -1 && (this.playersAway[v].idSubstitution = t.play_id, this.playersAway[v].substitutionOut = !0, this.playersAway[v].substitutionMin = t.minute, this.playersAway[v].substitutionDataID = t.team_id + "@" + t.player_id), S != -1 && (this.playersAway[S].idSubstitution = t.play_id, this.playersAway[S].substitutionIn = !0, this.playersAway[S].substitutionMin = t.minute, this.playersAway[S].substitutionDataID = t.team_id + "@" + t.player_id);
60740
+ var b = t.player_id.split("@"), v = this.playersAway.findIndex((P) => P.playerId == b[0]), k = this.playersAway.findIndex((P) => P.playerId == b[1]);
60741
+ g != -1 && (this.playersAway[v].idSubstitution = t.play_id, this.playersAway[v].substitutionOut = !0, this.playersAway[v].substitutionMin = t.minute, this.playersAway[v].substitutionDataID = t.team_id + "@" + t.player_id), k != -1 && (this.playersAway[k].idSubstitution = t.play_id, this.playersAway[k].substitutionIn = !0, this.playersAway[k].substitutionMin = t.minute, this.playersAway[k].substitutionDataID = t.team_id + "@" + t.player_id);
60735
60742
  }
60736
60743
  }
60737
60744
  if (t.event_type_id == 1) {
@@ -60753,10 +60760,10 @@ const AOe = {
60753
60760
  if (t.category_id == 8) {
60754
60761
  if (t.team_id == this.home_team_id) {
60755
60762
  if (this.playersHome.length > 0) {
60756
- var k = this.playersHome.findIndex(
60763
+ var S = this.playersHome.findIndex(
60757
60764
  (P) => P.playerId == t.player_id
60758
60765
  );
60759
- k != -1 && (this.playersHome[k].yellowcards += 1, this.playersHome[k].yellowcardsMin = t.minute, this.playersHome[k].idyellowcards = t.play_id);
60766
+ S != -1 && (this.playersHome[S].yellowcards += 1, this.playersHome[S].yellowcardsMin = t.minute, this.playersHome[S].idyellowcards = t.play_id);
60760
60767
  }
60761
60768
  } else if (this.playersAway.length > 0) {
60762
60769
  var x = this.playersAway.findIndex(
@@ -60870,50 +60877,50 @@ const AOe = {
60870
60877
  }
60871
60878
  });
60872
60879
  console.log("this.gameInfoheader.home_team"), console.log(this.gameInfoheader.home_team);
60873
- const k = await F.get(this.url + e);
60874
- if (!k || !k.data)
60880
+ const S = await F.get(this.url + e);
60881
+ if (!S || !S.data)
60875
60882
  throw new Error("There is not lineups for this game.");
60876
- if (k.data.home_team.team_id == this.gameInfoheader.home_team) {
60877
- this.dataPlayersHome = k.data.home_team.players, k.data.home_team.starting_lineup[0].lineup.sort(
60883
+ if (S.data.home_team.team_id == this.gameInfoheader.home_team) {
60884
+ this.dataPlayersHome = S.data.home_team.players, S.data.home_team.starting_lineup[0].lineup.sort(
60878
60885
  (x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0
60879
60886
  );
60880
- for (let x = 0; x < k.data.home_team.starting_lineup[0].lineup.length; x++) {
60881
- this.home_team_id = k.data.home_team.team_id, this.imageExists(
60882
- "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.home_team.team_id + ".svg",
60887
+ for (let x = 0; x < S.data.home_team.starting_lineup[0].lineup.length; x++) {
60888
+ this.home_team_id = S.data.home_team.team_id, this.imageExists(
60889
+ "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.home_team.team_id + ".svg",
60883
60890
  "home",
60884
60891
  1
60885
60892
  ), this.imageExists(
60886
- "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.home_team.team_id + "_g.svg",
60893
+ "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.home_team.team_id + "_g.svg",
60887
60894
  "home",
60888
60895
  0
60889
60896
  );
60890
- var t = k.data.home_team.starting_lineup[0].lineup[x].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
60897
+ var t = S.data.home_team.starting_lineup[0].lineup[x].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
60891
60898
  a.length == 2 || a.length == 1 ? a[0].length < 4 ? i = a[0] + " " + a[1] : i = a[0] : a.length == 3 ? i = a[0] + " " + a[1] : a.length == 4 && (i = a[1] + " " + a[2] + " " + a[3]);
60892
60899
  var o = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
60893
60900
  i = i.replace(",", "");
60894
- var n = o + ". " + i, c = k.data.home_team.starting_lineup[0].lineup[x].x, p = c * 50 / 100, d = k.data.home_team.players.findIndex(
60895
- (R) => R.player_id == k.data.home_team.starting_lineup[0].lineup[x].player_id
60901
+ var n = o + ". " + i, c = S.data.home_team.starting_lineup[0].lineup[x].x, p = c * 50 / 100, d = S.data.home_team.players.findIndex(
60902
+ (R) => R.player_id == S.data.home_team.starting_lineup[0].lineup[x].player_id
60896
60903
  );
60897
60904
  this.playersHome.push({
60898
60905
  played: !0,
60899
- name: k.data.home_team.starting_lineup[0].lineup[x].player_name,
60900
- position: this.positions[k.data.home_team.players[d].position_id - 1].name,
60901
- position_id: k.data.home_team.players[d].position_id - 1,
60902
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.home_team.starting_lineup[0].lineup[x].player_id + ".png",
60903
- nationality: k.data.home_team.players[d].nationality ? k.data.home_team.players[d].nationality.substring(0, 3) : "",
60904
- imgNationality: k.data.home_team.players[d].nationality_photo,
60906
+ name: S.data.home_team.starting_lineup[0].lineup[x].player_name,
60907
+ position: this.positions[S.data.home_team.players[d].position_id - 1].name,
60908
+ position_id: S.data.home_team.players[d].position_id - 1,
60909
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.home_team.starting_lineup[0].lineup[x].player_id + ".png",
60910
+ nationality: S.data.home_team.players[d].nationality ? S.data.home_team.players[d].nationality.substring(0, 3) : "",
60911
+ imgNationality: S.data.home_team.players[d].nationality_photo,
60905
60912
  substitutionIn: !1,
60906
60913
  substitutionOut: !1,
60907
60914
  abrevNamePlayer: n,
60908
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png",
60915
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png",
60909
60916
  substitutionMin: "",
60910
60917
  substitutionDataID: "",
60911
- shirt_number: k.data.home_team.starting_lineup[0].lineup[x].jersey_number,
60912
- positionX: k.data.home_team.starting_lineup[0].lineup[x].y - 13,
60918
+ shirt_number: S.data.home_team.starting_lineup[0].lineup[x].jersey_number,
60919
+ positionX: S.data.home_team.starting_lineup[0].lineup[x].y - 13,
60913
60920
  positionY: p * 0.9,
60914
- positionXOrigin: k.data.home_team.starting_lineup[0].lineup[x].y - 17,
60915
- positionYOrigin: k.data.home_team.starting_lineup[0].lineup[x].x - 2,
60916
- playerId: k.data.home_team.starting_lineup[0].lineup[x].player_id,
60921
+ positionXOrigin: S.data.home_team.starting_lineup[0].lineup[x].y - 17,
60922
+ positionYOrigin: S.data.home_team.starting_lineup[0].lineup[x].x - 2,
60923
+ playerId: S.data.home_team.starting_lineup[0].lineup[x].player_id,
60917
60924
  goals: 0,
60918
60925
  yellowcards: 0,
60919
60926
  redcards: 0,
@@ -60925,39 +60932,39 @@ const AOe = {
60925
60932
  idsGoals: [],
60926
60933
  idSubstitution: 0,
60927
60934
  isbench: !1,
60928
- id_team: k.data.home_team.team_id
60929
- }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png";
60935
+ id_team: S.data.home_team.team_id
60936
+ }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png";
60930
60937
  }
60931
- if (this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0), k.data.home_team.bench) {
60932
- for (let x = 0; x < k.data.home_team.bench.length; x++) {
60938
+ if (this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0), S.data.home_team.bench) {
60939
+ for (let x = 0; x < S.data.home_team.bench.length; x++) {
60933
60940
  this.subsTitle = !0;
60934
- var l = k.data.home_team.bench[x].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
60941
+ var l = S.data.home_team.bench[x].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
60935
60942
  m.length == 2 || m.length == 1 ? m[0].length < 4 ? g = m[0] + " " + m[1] : g = m[0] : m.length == 3 ? g = m[0] + " " + m[1] : m.length == 4 && (g = m[1] + " " + m[2] + " " + m[3]);
60936
60943
  var y = h[h.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
60937
60944
  g = g.replace(",", "");
60938
- var b = y + ". " + g, v = k.data.home_team.players.findIndex(
60939
- (R) => R.player_id == k.data.home_team.bench[x].playerID
60945
+ var b = y + ". " + g, v = S.data.home_team.players.findIndex(
60946
+ (R) => R.player_id == S.data.home_team.bench[x].playerID
60940
60947
  );
60941
60948
  this.playersHome.push({
60942
60949
  played: !1,
60943
- name: k.data.home_team.bench[x].playerName,
60944
- position: v != -1 ? this.positions[k.data.home_team.players[v].position_id - 1].name : "",
60945
- position_id: k.data.home_team.players[v].position_id,
60946
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.home_team.bench[x].playerID + ".png",
60947
- nationality: v != -1 && k.data.home_team.players[v].nationality ? k.data.home_team.players[v].nationality.substring(0, 3) : "",
60948
- imgNationality: v != -1 ? k.data.home_team.players[v].nationality_photo : "",
60950
+ name: S.data.home_team.bench[x].playerName,
60951
+ position: v != -1 ? this.positions[S.data.home_team.players[v].position_id - 1].name : "",
60952
+ position_id: S.data.home_team.players[v].position_id,
60953
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.home_team.bench[x].playerID + ".png",
60954
+ nationality: v != -1 && S.data.home_team.players[v].nationality ? S.data.home_team.players[v].nationality.substring(0, 3) : "",
60955
+ imgNationality: v != -1 ? S.data.home_team.players[v].nationality_photo : "",
60949
60956
  substitutionIn: !1,
60950
60957
  substitutionOut: !1,
60951
60958
  abrevNamePlayer: b,
60952
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png",
60959
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png",
60953
60960
  substitutionMin: "",
60954
60961
  substitutionDataID: "",
60955
- shirt_number: k.data.home_team.bench[x].jerseyNumber,
60962
+ shirt_number: S.data.home_team.bench[x].jerseyNumber,
60956
60963
  positionX: "",
60957
60964
  positionY: "",
60958
60965
  positionXOrigin: "",
60959
60966
  positionYOrigin: "",
60960
- playerId: k.data.home_team.bench[x].playerID,
60967
+ playerId: S.data.home_team.bench[x].playerID,
60961
60968
  goals: 0,
60962
60969
  yellowcards: 0,
60963
60970
  redcards: 0,
@@ -60969,57 +60976,57 @@ const AOe = {
60969
60976
  idsGoals: [],
60970
60977
  idSubstitution: 0,
60971
60978
  isbench: !0,
60972
- id_team: k.data.home_team.team_id
60979
+ id_team: S.data.home_team.team_id
60973
60980
  });
60974
60981
  }
60975
60982
  this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0);
60976
60983
  }
60977
60984
  }
60978
- if (k.data.away_team.team_id == this.gameInfoheader.home_team) {
60979
- this.dataPlayersHome = k.data.away_team.players, k.data.away_team.starting_lineup[0].lineup.sort(
60985
+ if (S.data.away_team.team_id == this.gameInfoheader.home_team) {
60986
+ this.dataPlayersHome = S.data.away_team.players, S.data.away_team.starting_lineup[0].lineup.sort(
60980
60987
  (x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0
60981
60988
  );
60982
- for (let x = 0; x < k.data.away_team.starting_lineup[0].lineup.length; x++) {
60983
- this.home_team_id = k.data.away_team.team_id, this.imageExists(
60984
- "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.away_team.team_id + ".svg",
60989
+ for (let x = 0; x < S.data.away_team.starting_lineup[0].lineup.length; x++) {
60990
+ this.home_team_id = S.data.away_team.team_id, this.imageExists(
60991
+ "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.away_team.team_id + ".svg",
60985
60992
  "home",
60986
60993
  1
60987
60994
  ), this.imageExists(
60988
- "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.away_team.team_id + "_g.svg",
60995
+ "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.away_team.team_id + "_g.svg",
60989
60996
  "home",
60990
60997
  0
60991
60998
  );
60992
- var t = k.data.away_team.starting_lineup[0].lineup[x].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
60999
+ var t = S.data.away_team.starting_lineup[0].lineup[x].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
60993
61000
  a.length == 2 || a.length == 1 ? a[0].length < 4 ? i = a[0] + " " + a[1] : i = a[0] : a.length == 3 ? i = a[0] + " " + a[1] : a.length == 4 && (i = a[1] + " " + a[2] + " " + a[3]);
60994
61001
  var o = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
60995
61002
  i = i.replace(",", "");
60996
- var n = o + ". " + i, S = k.data.away_team.starting_lineup[0].lineup[x].x;
60997
- S = Math.abs(S - 100);
60998
- var p = S * 50 / 100, A = k.data.away_team.starting_lineup[0].lineup[x].y;
61003
+ var n = o + ". " + i, k = S.data.away_team.starting_lineup[0].lineup[x].x;
61004
+ k = Math.abs(k - 100);
61005
+ var p = k * 50 / 100, A = S.data.away_team.starting_lineup[0].lineup[x].y;
60999
61006
  A = Math.abs(A - 100);
61000
- var d = k.data.away_team.players.findIndex(
61001
- (pe) => pe.player_id == k.data.away_team.starting_lineup[0].lineup[x].player_id
61007
+ var d = S.data.away_team.players.findIndex(
61008
+ (pe) => pe.player_id == S.data.away_team.starting_lineup[0].lineup[x].player_id
61002
61009
  );
61003
61010
  this.playersHome.push({
61004
61011
  played: !0,
61005
- name: k.data.away_team.starting_lineup[0].lineup[x].player_name,
61006
- position: this.positions[k.data.away_team.players[d].position_id - 1].name,
61007
- position_id: k.data.away_team.players[d].position_id - 1,
61008
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.away_team.starting_lineup[0].lineup[x].player_id + ".png",
61009
- nationality: k.data.away_team.players[d].nationality ? k.data.away_team.players[d].nationality.substring(0, 3) : "",
61010
- imgNationality: k.data.away_team.players[d].nationality_photo,
61012
+ name: S.data.away_team.starting_lineup[0].lineup[x].player_name,
61013
+ position: this.positions[S.data.away_team.players[d].position_id - 1].name,
61014
+ position_id: S.data.away_team.players[d].position_id - 1,
61015
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.away_team.starting_lineup[0].lineup[x].player_id + ".png",
61016
+ nationality: S.data.away_team.players[d].nationality ? S.data.away_team.players[d].nationality.substring(0, 3) : "",
61017
+ imgNationality: S.data.away_team.players[d].nationality_photo,
61011
61018
  substitutionIn: !1,
61012
61019
  substitutionOut: !1,
61013
61020
  abrevNamePlayer: n,
61014
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png",
61021
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png",
61015
61022
  substitutionMin: "",
61016
61023
  substitutionDataID: "",
61017
- shirt_number: k.data.away_team.starting_lineup[0].lineup[x].jersey_number,
61024
+ shirt_number: S.data.away_team.starting_lineup[0].lineup[x].jersey_number,
61018
61025
  positionX: A - 20,
61019
61026
  positionY: p * 0.9,
61020
- positionXOrigin: k.data.away_team.starting_lineup[0].lineup[x].y - 17,
61021
- positionYOrigin: k.data.away_team.starting_lineup[0].lineup[x].x - 2,
61022
- playerId: k.data.away_team.starting_lineup[0].lineup[x].player_id,
61027
+ positionXOrigin: S.data.away_team.starting_lineup[0].lineup[x].y - 17,
61028
+ positionYOrigin: S.data.away_team.starting_lineup[0].lineup[x].x - 2,
61029
+ playerId: S.data.away_team.starting_lineup[0].lineup[x].player_id,
61023
61030
  goals: 0,
61024
61031
  yellowcards: 0,
61025
61032
  redcards: 0,
@@ -61031,39 +61038,39 @@ const AOe = {
61031
61038
  idsGoals: [],
61032
61039
  idSubstitution: 0,
61033
61040
  isbench: !1,
61034
- id_team: k.data.away_team.team_id
61035
- }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png";
61041
+ id_team: S.data.away_team.team_id
61042
+ }), this.homeTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png";
61036
61043
  }
61037
- if (this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0), k.data.away_team.bench) {
61038
- for (let x = 0; x < k.data.away_team.bench.length; x++) {
61044
+ if (this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0), S.data.away_team.bench) {
61045
+ for (let x = 0; x < S.data.away_team.bench.length; x++) {
61039
61046
  this.subsTitle = !0;
61040
- var l = k.data.away_team.bench[x].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
61047
+ var l = S.data.away_team.bench[x].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
61041
61048
  m.length == 2 || m.length == 1 ? m[0].length < 4 ? g = m[0] + " " + m[1] : g = m[0] : m.length == 3 ? g = m[0] + " " + m[1] : m.length == 4 && (g = m[1] + " " + m[2] + " " + m[3]);
61042
61049
  var y = h[h.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
61043
61050
  g = g.replace(",", "");
61044
- var b = y + ". " + g, v = k.data.away_team.players.findIndex(
61045
- (X) => X.player_id == k.data.away_team.bench[x].playerID
61051
+ var b = y + ". " + g, v = S.data.away_team.players.findIndex(
61052
+ (X) => X.player_id == S.data.away_team.bench[x].playerID
61046
61053
  );
61047
61054
  this.playersHome.push({
61048
61055
  played: !1,
61049
- name: k.data.away_team.bench[x].playerName,
61050
- position: v != -1 ? this.positions[k.data.away_team.players[v].position_id - 1].name : "",
61051
- position_id: k.data.away_team.players[v].position_id,
61052
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.away_team.bench[x].playerID + ".png",
61053
- nationality: v != -1 && k.data.away_team.players[v].nationality ? k.data.away_team.players[v].nationality.substring(0, 3) : "",
61054
- imgNationality: v != -1 ? k.data.away_team.players[v].nationality_photo : "",
61056
+ name: S.data.away_team.bench[x].playerName,
61057
+ position: v != -1 ? this.positions[S.data.away_team.players[v].position_id - 1].name : "",
61058
+ position_id: S.data.away_team.players[v].position_id,
61059
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.away_team.bench[x].playerID + ".png",
61060
+ nationality: v != -1 && S.data.away_team.players[v].nationality ? S.data.away_team.players[v].nationality.substring(0, 3) : "",
61061
+ imgNationality: v != -1 ? S.data.away_team.players[v].nationality_photo : "",
61055
61062
  substitutionIn: !1,
61056
61063
  substitutionOut: !1,
61057
61064
  abrevNamePlayer: b,
61058
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png",
61065
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png",
61059
61066
  substitutionMin: "",
61060
61067
  substitutionDataID: "",
61061
- shirt_number: k.data.away_team.bench[x].jerseyNumber,
61068
+ shirt_number: S.data.away_team.bench[x].jerseyNumber,
61062
61069
  positionX: "",
61063
61070
  positionY: "",
61064
61071
  positionXOrigin: "",
61065
61072
  positionYOrigin: "",
61066
- playerId: k.data.away_team.bench[x].playerID,
61073
+ playerId: S.data.away_team.bench[x].playerID,
61067
61074
  goals: 0,
61068
61075
  yellowcards: 0,
61069
61076
  redcards: 0,
@@ -61075,7 +61082,7 @@ const AOe = {
61075
61082
  idsGoals: [],
61076
61083
  idSubstitution: 0,
61077
61084
  isbench: !0,
61078
- id_team: k.data.away_team.team_id
61085
+ id_team: S.data.away_team.team_id
61079
61086
  });
61080
61087
  }
61081
61088
  this.playersHome.sort((x, R) => x.position_id > R.position_id ? 1 : R.position_id > x.position_id ? -1 : 0);
@@ -61130,56 +61137,56 @@ const AOe = {
61130
61137
  },
61131
61138
  async getLineUpProbablesAway3D(e) {
61132
61139
  try {
61133
- const S = await Qt.create({
61140
+ const k = await Qt.create({
61134
61141
  headers: {
61135
61142
  Authorization: `${this.tokenPremium}`
61136
61143
  }
61137
61144
  }).get(this.url + e);
61138
- if (!S || !S.data)
61145
+ if (!k || !k.data)
61139
61146
  throw new Error("There is not lineups for this game.");
61140
- if (S.data.home_team.team_id == this.gameInfoheader.away_team) {
61141
- this.dataPlayersAway = S.data.home_team.players;
61142
- for (let A = 0; A < S.data.home_team.starting_lineup[0].lineup.length; A++) {
61143
- this.away_team_id = S.data.home_team.team_id, this.imageExists(
61144
- "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.home_team.team_id + ".svg",
61147
+ if (k.data.home_team.team_id == this.gameInfoheader.away_team) {
61148
+ this.dataPlayersAway = k.data.home_team.players;
61149
+ for (let A = 0; A < k.data.home_team.starting_lineup[0].lineup.length; A++) {
61150
+ this.away_team_id = k.data.home_team.team_id, this.imageExists(
61151
+ "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.home_team.team_id + ".svg",
61145
61152
  "away",
61146
61153
  1
61147
61154
  ), this.imageExists(
61148
- "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.home_team.team_id + "_g.svg",
61155
+ "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.home_team.team_id + "_g.svg",
61149
61156
  "away",
61150
61157
  0
61151
61158
  );
61152
- var t = S.data.home_team.starting_lineup[0].lineup[A].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
61159
+ var t = k.data.home_team.starting_lineup[0].lineup[A].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
61153
61160
  a.length == 2 || a.length == 1 ? a[0].length < 4 ? i = a[0] + " " + a[1] : i = a[0] : a.length == 3 ? i = a[0] + " " + a[1] : a.length == 4 && (i = a[1] + " " + a[2] + " " + a[3]);
61154
61161
  var o = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
61155
61162
  i = i.replace(",", "");
61156
- var n = o + ". " + i, c = S.data.home_team.starting_lineup[0].lineup[A].x;
61163
+ var n = o + ". " + i, c = k.data.home_team.starting_lineup[0].lineup[A].x;
61157
61164
  c = Math.abs(c - 100);
61158
61165
  var p = 100 - (100 - c) * 50 / 100;
61159
61166
  p = p * 0.9;
61160
- var d = S.data.home_team.players.findIndex(
61161
- (F) => F.player_id == S.data.home_team.starting_lineup[0].lineup[A].player_id
61167
+ var d = k.data.home_team.players.findIndex(
61168
+ (F) => F.player_id == k.data.home_team.starting_lineup[0].lineup[A].player_id
61162
61169
  );
61163
61170
  this.playersAway.push({
61164
61171
  played: !0,
61165
- name: S.data.home_team.starting_lineup[0].lineup[A].player_name,
61166
- position: this.positions[S.data.home_team.players[d].position_id - 1].name,
61167
- position_id: S.data.home_team.players[d].position_id,
61168
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.home_team.starting_lineup[0].lineup[A].player_id + ".png",
61169
- nationality: S.data.home_team.players[d].nationality ? S.data.home_team.players[d].nationality.substring(0, 3) : "",
61170
- imgNationality: S.data.home_team.players[d].nationality_photo,
61172
+ name: k.data.home_team.starting_lineup[0].lineup[A].player_name,
61173
+ position: this.positions[k.data.home_team.players[d].position_id - 1].name,
61174
+ position_id: k.data.home_team.players[d].position_id,
61175
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.home_team.starting_lineup[0].lineup[A].player_id + ".png",
61176
+ nationality: k.data.home_team.players[d].nationality ? k.data.home_team.players[d].nationality.substring(0, 3) : "",
61177
+ imgNationality: k.data.home_team.players[d].nationality_photo,
61171
61178
  substitutionIn: !1,
61172
61179
  substitutionOut: !1,
61173
61180
  abrevNamePlayer: n,
61174
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png",
61181
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png",
61175
61182
  substitutionMin: "",
61176
61183
  substitutionDataID: "",
61177
- shirt_number: S.data.home_team.starting_lineup[0].lineup[A].jersey_number,
61178
- positionX: S.data.home_team.starting_lineup[0].lineup[A].y - 13,
61184
+ shirt_number: k.data.home_team.starting_lineup[0].lineup[A].jersey_number,
61185
+ positionX: k.data.home_team.starting_lineup[0].lineup[A].y - 13,
61179
61186
  positionY: p,
61180
- positionXOrigin: S.data.home_team.starting_lineup[0].lineup[A].y - 17,
61181
- positionYOrigin: S.data.home_team.starting_lineup[0].lineup[A].x - 7,
61182
- playerId: S.data.home_team.starting_lineup[0].lineup[A].player_id,
61187
+ positionXOrigin: k.data.home_team.starting_lineup[0].lineup[A].y - 17,
61188
+ positionYOrigin: k.data.home_team.starting_lineup[0].lineup[A].x - 7,
61189
+ playerId: k.data.home_team.starting_lineup[0].lineup[A].player_id,
61183
61190
  goals: 0,
61184
61191
  yellowcards: 0,
61185
61192
  redcards: 0,
@@ -61191,39 +61198,39 @@ const AOe = {
61191
61198
  idsGoals: [],
61192
61199
  idSubstitution: 0,
61193
61200
  isbench: !1,
61194
- id_team: S.data.home_team.team_id
61195
- }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png";
61201
+ id_team: k.data.home_team.team_id
61202
+ }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png";
61196
61203
  }
61197
- if (this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0), S.data.home_team.bench) {
61198
- for (let A = 0; A < S.data.home_team.bench.length; A++) {
61204
+ if (this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0), k.data.home_team.bench) {
61205
+ for (let A = 0; A < k.data.home_team.bench.length; A++) {
61199
61206
  this.subsTitle = !0;
61200
- var l = S.data.home_team.bench[A].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
61207
+ var l = k.data.home_team.bench[A].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
61201
61208
  m.length == 2 || m.length == 1 ? m[0].length < 4 ? g = m[0] + " " + m[1] : g = m[0] : m.length == 3 ? g = m[0] + " " + m[1] : m.length == 4 && (g = m[1] + " " + m[2] + " " + m[3]);
61202
61209
  var y = h[h.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
61203
61210
  g = g.replace(",", "");
61204
- var b = y + ". " + g, v = S.data.home_team.players.findIndex(
61205
- (F) => F.player_id == S.data.home_team.bench[A].playerID
61211
+ var b = y + ". " + g, v = k.data.home_team.players.findIndex(
61212
+ (F) => F.player_id == k.data.home_team.bench[A].playerID
61206
61213
  );
61207
61214
  this.playersAway.push({
61208
61215
  played: !1,
61209
- name: S.data.home_team.bench[A].playerName,
61210
- position: v != -1 ? this.positions[S.data.home_team.players[v].position_id - 1].name : "",
61211
- position_id: S.data.home_team.players[v].position_id,
61212
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.home_team.bench[A].playerID + ".png",
61213
- nationality: v != -1 && S.data.home_team.players[v].nationality ? S.data.home_team.players[v].nationality.substring(0, 3) : "",
61214
- imgNationality: v != -1 ? S.data.home_team.players[v].nationality_photo : "",
61216
+ name: k.data.home_team.bench[A].playerName,
61217
+ position: v != -1 ? this.positions[k.data.home_team.players[v].position_id - 1].name : "",
61218
+ position_id: k.data.home_team.players[v].position_id,
61219
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.home_team.bench[A].playerID + ".png",
61220
+ nationality: v != -1 && k.data.home_team.players[v].nationality ? k.data.home_team.players[v].nationality.substring(0, 3) : "",
61221
+ imgNationality: v != -1 ? k.data.home_team.players[v].nationality_photo : "",
61215
61222
  substitutionIn: !1,
61216
61223
  substitutionOut: !1,
61217
61224
  abrevNamePlayer: b,
61218
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.home_team.team_id + ".png",
61225
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.home_team.team_id + ".png",
61219
61226
  substitutionMin: "",
61220
61227
  substitutionDataID: "",
61221
- shirt_number: S.data.home_team.bench[A].jerseyNumber,
61228
+ shirt_number: k.data.home_team.bench[A].jerseyNumber,
61222
61229
  positionX: "",
61223
61230
  positionY: "",
61224
61231
  positionXOrigin: "",
61225
61232
  positionYOrigin: "",
61226
- playerId: S.data.home_team.bench[A].playerID,
61233
+ playerId: k.data.home_team.bench[A].playerID,
61227
61234
  goals: 0,
61228
61235
  yellowcards: 0,
61229
61236
  redcards: 0,
@@ -61235,53 +61242,53 @@ const AOe = {
61235
61242
  idsGoals: [],
61236
61243
  idSubstitution: 0,
61237
61244
  isbench: !0,
61238
- id_team: S.data.home_team.team_id
61245
+ id_team: k.data.home_team.team_id
61239
61246
  });
61240
61247
  }
61241
61248
  this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0);
61242
61249
  }
61243
61250
  }
61244
- if (S.data.away_team.team_id == this.gameInfoheader.away_team) {
61245
- this.dataPlayersAway = S.data.away_team.players;
61246
- for (let A = 0; A < S.data.away_team.starting_lineup[0].lineup.length; A++) {
61247
- this.away_team_id = S.data.away_team.team_id, this.imageExists(
61248
- "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.away_team.team_id + ".svg",
61251
+ if (k.data.away_team.team_id == this.gameInfoheader.away_team) {
61252
+ this.dataPlayersAway = k.data.away_team.players;
61253
+ for (let A = 0; A < k.data.away_team.starting_lineup[0].lineup.length; A++) {
61254
+ this.away_team_id = k.data.away_team.team_id, this.imageExists(
61255
+ "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.away_team.team_id + ".svg",
61249
61256
  "away",
61250
61257
  1
61251
61258
  ), this.imageExists(
61252
- "https://az755631.vo.msecnd.net/jersey-teams/" + S.data.away_team.team_id + "_g.svg",
61259
+ "https://az755631.vo.msecnd.net/jersey-teams/" + k.data.away_team.team_id + "_g.svg",
61253
61260
  "away",
61254
61261
  0
61255
61262
  );
61256
- var t = S.data.away_team.starting_lineup[0].lineup[A].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
61263
+ var t = k.data.away_team.starting_lineup[0].lineup[A].player_name.split(","), a = t[0].split(" "), s = t[1].trim().split(" "), i = "";
61257
61264
  a.length == 2 || a.length == 1 ? a[0].length < 4 ? i = a[0] + " " + a[1] : i = a[0] : a.length == 3 ? i = a[0] + " " + a[1] : a.length == 4 && (i = a[1] + " " + a[2] + " " + a[3]);
61258
61265
  var o = s[s.length - 1] != "" ? s[s.length - 1].charAt(0) : s[s.length - 2] ? s[s.length - 2].charAt(0) : "";
61259
61266
  i = i.replace(",", "");
61260
- var n = o + ". " + i, c = S.data.away_team.starting_lineup[0].lineup[A].x, p = 100 - (100 - c) * 50 / 100;
61267
+ var n = o + ". " + i, c = k.data.away_team.starting_lineup[0].lineup[A].x, p = 100 - (100 - c) * 50 / 100;
61261
61268
  p = p * 0.9;
61262
- var d = S.data.away_team.players.findIndex(
61263
- (D) => D.player_id == S.data.away_team.starting_lineup[0].lineup[A].player_id
61269
+ var d = k.data.away_team.players.findIndex(
61270
+ (D) => D.player_id == k.data.away_team.starting_lineup[0].lineup[A].player_id
61264
61271
  );
61265
61272
  this.playersAway.push({
61266
61273
  played: !0,
61267
- name: S.data.away_team.starting_lineup[0].lineup[A].player_name,
61268
- position: this.positions[S.data.away_team.players[d].position_id - 1].name,
61269
- position_id: S.data.away_team.players[d].position_id,
61270
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.away_team.starting_lineup[0].lineup[A].player_id + ".png",
61271
- nationality: S.data.away_team.players[d].nationality ? S.data.away_team.players[d].nationality.substring(0, 3) : "",
61272
- imgNationality: S.data.away_team.players[d].nationality_photo,
61274
+ name: k.data.away_team.starting_lineup[0].lineup[A].player_name,
61275
+ position: this.positions[k.data.away_team.players[d].position_id - 1].name,
61276
+ position_id: k.data.away_team.players[d].position_id,
61277
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.away_team.starting_lineup[0].lineup[A].player_id + ".png",
61278
+ nationality: k.data.away_team.players[d].nationality ? k.data.away_team.players[d].nationality.substring(0, 3) : "",
61279
+ imgNationality: k.data.away_team.players[d].nationality_photo,
61273
61280
  substitutionIn: !1,
61274
61281
  substitutionOut: !1,
61275
61282
  abrevNamePlayer: n,
61276
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png",
61283
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png",
61277
61284
  substitutionMin: "",
61278
61285
  substitutionDataID: "",
61279
- shirt_number: S.data.away_team.starting_lineup[0].lineup[A].jersey_number,
61280
- positionX: S.data.away_team.starting_lineup[0].lineup[A].y - 13,
61286
+ shirt_number: k.data.away_team.starting_lineup[0].lineup[A].jersey_number,
61287
+ positionX: k.data.away_team.starting_lineup[0].lineup[A].y - 13,
61281
61288
  positionY: p,
61282
- positionXOrigin: S.data.away_team.starting_lineup[0].lineup[A].y - 17,
61283
- positionYOrigin: S.data.away_team.starting_lineup[0].lineup[A].x - 7,
61284
- playerId: S.data.away_team.starting_lineup[0].lineup[A].player_id,
61289
+ positionXOrigin: k.data.away_team.starting_lineup[0].lineup[A].y - 17,
61290
+ positionYOrigin: k.data.away_team.starting_lineup[0].lineup[A].x - 7,
61291
+ playerId: k.data.away_team.starting_lineup[0].lineup[A].player_id,
61285
61292
  goals: 0,
61286
61293
  yellowcards: 0,
61287
61294
  redcards: 0,
@@ -61293,39 +61300,39 @@ const AOe = {
61293
61300
  idsGoals: [],
61294
61301
  idSubstitution: 0,
61295
61302
  isbench: !1,
61296
- id_team: S.data.away_team.team_id
61297
- }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png";
61303
+ id_team: k.data.away_team.team_id
61304
+ }), this.awayTeamLogo = "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png";
61298
61305
  }
61299
- if (this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0), S.data.away_team.bench) {
61300
- for (let A = 0; A < S.data.away_team.bench.length; A++) {
61306
+ if (this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0), k.data.away_team.bench) {
61307
+ for (let A = 0; A < k.data.away_team.bench.length; A++) {
61301
61308
  this.subsTitle = !0;
61302
- var l = S.data.away_team.bench[A].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
61309
+ var l = k.data.away_team.bench[A].playerName.split(","), m = l[0].split(" "), h = l[1].trim().split(" "), g = "";
61303
61310
  m.length == 2 || m.length == 1 ? m[0].length < 4 ? g = m[0] + " " + m[1] : g = m[0] : m.length == 3 ? g = m[0] + " " + m[1] : m.length == 4 && (g = m[1] + " " + m[2] + " " + m[3]);
61304
61311
  var y = h[h.length - 1] != "" ? h[h.length - 1].charAt(0) : h[h.length - 2] ? h[h.length - 2].charAt(0) : "";
61305
61312
  g = g.replace(",", "");
61306
- var b = y + ". " + g, v = S.data.away_team.players.findIndex(
61307
- (W) => W.player_id == S.data.away_team.bench[A].playerID
61313
+ var b = y + ". " + g, v = k.data.away_team.players.findIndex(
61314
+ (W) => W.player_id == k.data.away_team.bench[A].playerID
61308
61315
  );
61309
61316
  this.playersAway.push({
61310
61317
  played: !1,
61311
- name: S.data.away_team.bench[A].playerName,
61312
- position: v != -1 ? this.positions[S.data.away_team.players[v].position_id - 1].name : "",
61313
- position_id: S.data.away_team.players[v].position_id,
61314
- imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + S.data.away_team.bench[A].playerID + ".png",
61315
- nationality: v != -1 && S.data.away_team.players[v].nationality ? S.data.away_team.players[v].nationality.substring(0, 3) : "",
61316
- imgNationality: v != -1 ? S.data.away_team.players[v].nationality_photo : "",
61318
+ name: k.data.away_team.bench[A].playerName,
61319
+ position: v != -1 ? this.positions[k.data.away_team.players[v].position_id - 1].name : "",
61320
+ position_id: k.data.away_team.players[v].position_id,
61321
+ imgPlayer: "https://az755631.vo.msecnd.net/players-profile/" + k.data.away_team.bench[A].playerID + ".png",
61322
+ nationality: v != -1 && k.data.away_team.players[v].nationality ? k.data.away_team.players[v].nationality.substring(0, 3) : "",
61323
+ imgNationality: v != -1 ? k.data.away_team.players[v].nationality_photo : "",
61317
61324
  substitutionIn: !1,
61318
61325
  substitutionOut: !1,
61319
61326
  abrevNamePlayer: b,
61320
- imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + S.data.away_team.team_id + ".png",
61327
+ imgTeam: "https://az755631.vo.msecnd.net/teams-80/" + k.data.away_team.team_id + ".png",
61321
61328
  substitutionMin: "",
61322
61329
  substitutionDataID: "",
61323
- shirt_number: S.data.away_team.bench[A].jerseyNumber,
61330
+ shirt_number: k.data.away_team.bench[A].jerseyNumber,
61324
61331
  positionX: "",
61325
61332
  positionY: "",
61326
61333
  positionXOrigin: "",
61327
61334
  positionYOrigin: "",
61328
- playerId: S.data.away_team.bench[A].playerID,
61335
+ playerId: k.data.away_team.bench[A].playerID,
61329
61336
  goals: 0,
61330
61337
  yellowcards: 0,
61331
61338
  redcards: 0,
@@ -61337,15 +61344,15 @@ const AOe = {
61337
61344
  idsGoals: [],
61338
61345
  idSubstitution: 0,
61339
61346
  isbench: !0,
61340
- id_team: S.data.away_team.team_id
61347
+ id_team: k.data.away_team.team_id
61341
61348
  });
61342
61349
  }
61343
61350
  this.playersAway.sort((A, F) => A.position_id > F.position_id ? 1 : F.position_id > A.position_id ? -1 : 0);
61344
61351
  }
61345
61352
  }
61346
61353
  this.getMXM(e);
61347
- } catch (S) {
61348
- return Promise.reject(S);
61354
+ } catch (k) {
61355
+ return Promise.reject(k);
61349
61356
  }
61350
61357
  },
61351
61358
  async getLineupProbablesHome(e) {
@@ -61643,11 +61650,11 @@ const AOe = {
61643
61650
  "away",
61644
61651
  0
61645
61652
  );
61646
- var S = $.data.away_team.starting_lineup[0].lineup[T].player_name.split(","), A = S[0].split(" "), F = S[1].trim().split(" "), k = "";
61647
- A.length == 2 || A.length == 1 ? A[0].length < 4 ? k = A[0] + " " + A[1] : k = A[0] : A.length == 3 ? k = A[0] + " " + A[1] : A.length == 4 && (k = A[1] + " " + A[2] + " " + A[3]);
61653
+ var k = $.data.away_team.starting_lineup[0].lineup[T].player_name.split(","), A = k[0].split(" "), F = k[1].trim().split(" "), S = "";
61654
+ A.length == 2 || A.length == 1 ? A[0].length < 4 ? S = A[0] + " " + A[1] : S = A[0] : A.length == 3 ? S = A[0] + " " + A[1] : A.length == 4 && (S = A[1] + " " + A[2] + " " + A[3]);
61648
61655
  var x = F[s.length - 1] != "" ? F[F.length - 1].charAt(0) : F[F.length - 2] ? F[F.length - 2].charAt(0) : "";
61649
- k = k.replace(",", "");
61650
- var R = x + ". " + k, j = $.data.away_team.starting_lineup[0].lineup[T].x, P = 100 - (100 - j) * 50 / 100;
61656
+ S = S.replace(",", "");
61657
+ var R = x + ". " + S, j = $.data.away_team.starting_lineup[0].lineup[T].x, P = 100 - (100 - j) * 50 / 100;
61651
61658
  P = P * 0.9;
61652
61659
  var B = $.data.away_team.players.findIndex(
61653
61660
  (z) => z.player_id == $.data.away_team.starting_lineup[0].lineup[T].player_id
@@ -62555,11 +62562,11 @@ function md(e, t, a) {
62555
62562
  if (le.endsWith(y, "{}"))
62556
62563
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
62557
62564
  else if (le.isArray(g) && IEe(g) || (le.isFileList(g) || le.endsWith(y, "[]")) && (v = le.toArray(g)))
62558
- return y = tC(y), v.forEach(function(S, A) {
62559
- !(le.isUndefined(S) || S === null) && t.append(
62565
+ return y = tC(y), v.forEach(function(k, A) {
62566
+ !(le.isUndefined(k) || k === null) && t.append(
62560
62567
  // eslint-disable-next-line no-nested-ternary
62561
62568
  n === !0 ? ab([y], A, o) : n === null ? y : y + "[]",
62562
- p(S)
62569
+ p(k)
62563
62570
  );
62564
62571
  }), !1;
62565
62572
  }
@@ -66844,11 +66851,11 @@ function Cd(e, t, a) {
66844
66851
  if (ce.endsWith(y, "{}"))
66845
66852
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
66846
66853
  else if (ce.isArray(g) && hLe(g) || (ce.isFileList(g) || ce.endsWith(y, "[]")) && (v = ce.toArray(g)))
66847
- return y = wC(y), v.forEach(function(S, A) {
66848
- !(ce.isUndefined(S) || S === null) && t.append(
66854
+ return y = wC(y), v.forEach(function(k, A) {
66855
+ !(ce.isUndefined(k) || k === null) && t.append(
66849
66856
  // eslint-disable-next-line no-nested-ternary
66850
66857
  n === !0 ? Lb([y], A, o) : n === null ? y : y + "[]",
66851
- p(S)
66858
+ p(k)
66852
66859
  );
66853
66860
  }), !1;
66854
66861
  }
@@ -67633,7 +67640,7 @@ function ki(e, t) {
67633
67640
  ce.isUndefined(m) && l !== c || (a[d] = m);
67634
67641
  }), a;
67635
67642
  }
67636
- const TC = "1.6.5", Ng = {};
67643
+ const TC = "1.6.6", Ng = {};
67637
67644
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
67638
67645
  Ng[e] = function(a) {
67639
67646
  return typeof a === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -67694,7 +67701,16 @@ class bl {
67694
67701
  *
67695
67702
  * @returns {Promise} The Promise to be fulfilled
67696
67703
  */
67697
- request(t, a) {
67704
+ async request(t, a) {
67705
+ try {
67706
+ return await this._request(t, a);
67707
+ } catch (s) {
67708
+ const i = {};
67709
+ throw Error.captureStackTrace ? Error.captureStackTrace(i) : i.stack = new Error().stack, i.stack = i.stack.replace(/^.+\n/, ""), s.stack.endsWith(i.stack.replace(/^.+\n.+\n/, "")) || (s.stack += `
67710
+ ` + i.stack), s;
67711
+ }
67712
+ }
67713
+ _request(t, a) {
67698
67714
  typeof t == "string" ? (a = a || {}, a.url = t) : a = t || {}, a = ki(this.defaults, a);
67699
67715
  const { transitional: s, paramsSerializer: i, headers: o } = a;
67700
67716
  s !== void 0 && qh.assertOptions(s, {
@@ -68865,11 +68881,11 @@ function Ad(e, t, a) {
68865
68881
  if (de.endsWith(y, "{}"))
68866
68882
  y = s ? y : y.slice(0, -2), g = JSON.stringify(g);
68867
68883
  else if (de.isArray(g) && rNe(g) || (de.isFileList(g) || de.endsWith(y, "[]")) && (v = de.toArray(g)))
68868
- return y = zC(y), v.forEach(function(S, A) {
68869
- !(de.isUndefined(S) || S === null) && t.append(
68884
+ return y = zC(y), v.forEach(function(k, A) {
68885
+ !(de.isUndefined(k) || k === null) && t.append(
68870
68886
  // eslint-disable-next-line no-nested-ternary
68871
68887
  n === !0 ? Yb([y], A, o) : n === null ? y : y + "[]",
68872
- p(S)
68888
+ p(k)
68873
68889
  );
68874
68890
  }), !1;
68875
68891
  }
@@ -71614,7 +71630,7 @@ const GHe = /* @__PURE__ */ Un(IHe, [["render", VHe], ["__scopeId", "data-v-fa28
71614
71630
  L($De, va(p.value < 390 ? a.value : t.value, {
71615
71631
  text: v == "Todo" ? v : p.value < 390 ? v.substring(0, 3) : v,
71616
71632
  "is-active": o.value === v,
71617
- onClick: (S) => m(v)
71633
+ onClick: (k) => m(v)
71618
71634
  }), null, 16, ["text", "is-active", "onClick"])
71619
71635
  ]))), 128))
71620
71636
  ]),
@@ -72087,7 +72103,7 @@ const Sze = ot({
72087
72103
  function v(P) {
72088
72104
  s.value = P, s.value.id !== P.id && (s.value = P);
72089
72105
  }
72090
- function S(P) {
72106
+ function k(P) {
72091
72107
  t("openmedia", P);
72092
72108
  }
72093
72109
  function A(P) {
@@ -72096,7 +72112,7 @@ const Sze = ot({
72096
72112
  function F() {
72097
72113
  h.value = "";
72098
72114
  }
72099
- function k(P) {
72115
+ function S(P) {
72100
72116
  i.value.id !== P.id && (i.value = P, t("change-season-id", P.id));
72101
72117
  }
72102
72118
  const x = he(() => c.value.map((P) => P.name));
@@ -72123,7 +72139,7 @@ const Sze = ot({
72123
72139
  L(_e(y9), {
72124
72140
  "current-season-id": e.currentSeasonId,
72125
72141
  seasons: s.value.seasons,
72126
- onInput: k
72142
+ onInput: S
72127
72143
  }, null, 8, ["current-season-id", "seasons"])
72128
72144
  ]),
72129
72145
  r("div", bze, [
@@ -72160,7 +72176,7 @@ const Sze = ot({
72160
72176
  subsection: _e(h),
72161
72177
  seasonSelected: i.value,
72162
72178
  onResetSubsection: F,
72163
- onOpenmedia: S,
72179
+ onOpenmedia: k,
72164
72180
  onChangeToTab: A
72165
72181
  }, null, 40, ["game", "subsection", "seasonSelected"]))
72166
72182
  ])