@golstats/gsc-game-data 1.0.214 → 1.0.216

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.
@@ -13984,7 +13984,7 @@ const Dce = {
13984
13984
  if (!a.game_id)
13985
13985
  return this.objectZeroValues;
13986
13986
  const E = e.generalCategoriesIds.accomplished === 3;
13987
- if (a.is_live && this.showLiveData) {
13987
+ if ((a.is_live || a.game_status === 0) && this.showLiveData) {
13988
13988
  const R = e.homeTeam.accomplished.totalLive + e.visitingTeam.accomplished.totalLive;
13989
13989
  return R ? {
13990
13990
  numberValue: E ? e[n].accomplished.totalLive / R * 100 : e[n].accomplished.totalLive,
@@ -14024,7 +14024,7 @@ const Dce = {
14024
14024
  },
14025
14025
  async mounted() {
14026
14026
  }
14027
- }, wV = (e) => (Xn("data-v-f54f7b79"), e = e(), Kn(), e), Bce = { class: "card" }, Nce = { class: "card__header" }, $ce = { class: "card__stats" }, jce = ["onClick"], Vce = /* @__PURE__ */ wV(() => /* @__PURE__ */ re("img", { src: xV }, null, -1)), Uce = [
14027
+ }, wV = (e) => (Xn("data-v-9d1605bf"), e = e(), Kn(), e), Bce = { class: "card" }, Nce = { class: "card__header" }, $ce = { class: "card__stats" }, jce = ["onClick"], Vce = /* @__PURE__ */ wV(() => /* @__PURE__ */ re("img", { src: xV }, null, -1)), Uce = [
14028
14028
  Vce
14029
14029
  ], Hce = {
14030
14030
  key: 1,
@@ -14115,7 +14115,7 @@ function aue(e, a, n, E, R, l) {
14115
14115
  ])
14116
14116
  ]);
14117
14117
  }
14118
- const nue = /* @__PURE__ */ xi(Dce, [["render", aue], ["__scopeId", "data-v-f54f7b79"]]);
14118
+ const nue = /* @__PURE__ */ xi(Dce, [["render", aue], ["__scopeId", "data-v-9d1605bf"]]);
14119
14119
  const rue = {
14120
14120
  name: "GscComparative",
14121
14121
  props: {
@@ -14417,7 +14417,7 @@ const Rue = {
14417
14417
  ...fd("nextGeneral", ["gameForAnalysis", "seasonId", "isLive", "showLiveData"]),
14418
14418
  ...oc("nextGeneral", ["arrayFilledDataSortedByPriority"]),
14419
14419
  isComparativeVisible() {
14420
- return !this.isLive || !this.showLiveData;
14420
+ return !this.isLive && !this.showLiveData;
14421
14421
  }
14422
14422
  },
14423
14423
  watch: {
@@ -14499,7 +14499,7 @@ function Yue(e, a, n, E, R, l) {
14499
14499
  return Fe(), Ue("div", zue, [
14500
14500
  R.movil ? (Fe(), Ue(ma, { key: 1 }, [
14501
14501
  re("div", Gue, [
14502
- R.home && R.away ? (Fe(), Ue("div", Wue, [
14502
+ R.home && R.away && l.isComparativeVisible ? (Fe(), Ue("div", Wue, [
14503
14503
  Ea(m, {
14504
14504
  local: R.home,
14505
14505
  "tournament-type": n.tournamentType,
@@ -16376,7 +16376,7 @@ function Npe(e, a, n, E, R, l) {
16376
16376
  ], 512);
16377
16377
  }
16378
16378
  const $pe = /* @__PURE__ */ xi(zpe, [["render", Npe], ["__scopeId", "data-v-20bd873f"]]);
16379
- const IV = (e) => (Xn("data-v-fb694bc7"), e = e(), Kn(), e), jpe = { class: "statistics-main" }, Vpe = { class: "statistics-main__header" }, Upe = { class: "statistics-main__header__filter" }, Hpe = {
16379
+ const IV = (e) => (Xn("data-v-0b4b1541"), e = e(), Kn(), e), jpe = { class: "statistics-main" }, Vpe = { class: "statistics-main__header" }, Upe = { class: "statistics-main__header__filter" }, Hpe = {
16380
16380
  key: 0,
16381
16381
  class: "statistics-main__header__live-switch"
16382
16382
  }, Gpe = /* @__PURE__ */ IV(() => /* @__PURE__ */ re("div", null, "Este partido", -1)), Wpe = /* @__PURE__ */ IV(() => /* @__PURE__ */ re("div", null, "Acumulado", -1)), qpe = ks({
@@ -16552,7 +16552,7 @@ const IV = (e) => (Xn("data-v-fb694bc7"), e = e(), Kn(), e), jpe = { class: "sta
16552
16552
  ], 512), [
16553
16553
  [ar, !1]
16554
16554
  ]),
16555
- e.game.is_live ? er((Fe(), Ue("div", Hpe, [
16555
+ e.game.is_live || e.game.game_status === 0 ? er((Fe(), Ue("div", Hpe, [
16556
16556
  Gpe,
16557
16557
  re("div", null, [
16558
16558
  Ea(Yj, {
@@ -16580,7 +16580,7 @@ const IV = (e) => (Xn("data-v-fb694bc7"), e = e(), Kn(), e), jpe = { class: "sta
16580
16580
  ]))
16581
16581
  ]));
16582
16582
  }
16583
- }), Zpe = /* @__PURE__ */ xi(Ype, [["__scopeId", "data-v-fb694bc7"]]);
16583
+ }), Zpe = /* @__PURE__ */ xi(Ype, [["__scopeId", "data-v-0b4b1541"]]);
16584
16584
  function OV(e, a) {
16585
16585
  return function() {
16586
16586
  return e.apply(a, arguments);
@@ -94702,11 +94702,11 @@ const LTt = { class: "dropdown" }, FTt = { class: "selected-item" }, RTt = {
94702
94702
  },
94703
94703
  setup(e) {
94704
94704
  const a = e, n = _1(
94705
- () => import("./FilterSubcategories-5a4d9250-9378cb9d.js")
94705
+ () => import("./FilterSubcategories-5a4d9250-372faea7.js")
94706
94706
  ), E = _1(
94707
- () => import("./FilterConditions-3aab28df-4ab998a0.js")
94707
+ () => import("./FilterConditions-3aab28df-b5306a05.js")
94708
94708
  ), R = _1(
94709
- () => import("./FilterField-c27c9666-3a46e5a5.js")
94709
+ () => import("./FilterField-c27c9666-64621567.js")
94710
94710
  ), l = [
94711
94711
  {
94712
94712
  name: "Sub categorías",
@@ -210087,11 +210087,11 @@ const Aea = { class: "dropdown" }, Mea = { class: "selected-item" }, Eea = {
210087
210087
  },
210088
210088
  setup(e) {
210089
210089
  const a = e, n = _1(
210090
- () => import("./FilterSubcategories-a7b96423-Dq4ouXsj-1a8d3fe5.js")
210090
+ () => import("./FilterSubcategories-a7b96423-Dq4ouXsj-470f18eb.js")
210091
210091
  ), E = _1(
210092
- () => import("./FilterConditions-dc6b25de-DOW3ApFh-e192e4ed.js")
210092
+ () => import("./FilterConditions-dc6b25de-DOW3ApFh-0031bb04.js")
210093
210093
  ), R = _1(
210094
- () => import("./FilterField-37ad154d-CGBI29FT-215d44b8.js")
210094
+ () => import("./FilterField-37ad154d-CGBI29FT-41593f1d.js")
210095
210095
  ), l = [
210096
210096
  {
210097
210097
  name: "Sub categorías",
@@ -318233,7 +318233,7 @@ const n2a = ks({
318233
318233
  }
318234
318234
  }
318235
318235
  function X(be) {
318236
- t.value = !0, be.is_live != 1 && (be.game_status == 4 || Object.keys(be.minutes).length > 0) ? (h.value = 1, u.value = {
318236
+ t.value = !0, be.is_live != 1 && be.game_status != 0 && (be.game_status == 4 || Object.keys(be.minutes).length > 0) ? (h.value = 1, u.value = {
318237
318237
  plays: be.minutes,
318238
318238
  home_team: be.home_team,
318239
318239
  visiting_team: be.visiting_team
@@ -318511,7 +318511,7 @@ const n2a = ks({
318511
318511
  ])
318512
318512
  ], 512));
318513
318513
  }
318514
- }), I_a = /* @__PURE__ */ xi(r2a, [["__scopeId", "data-v-44aedebe"]]);
318514
+ }), I_a = /* @__PURE__ */ xi(r2a, [["__scopeId", "data-v-0b439320"]]);
318515
318515
  async function ud({ url: e, options: a = {}, retries: n = 3 }) {
318516
318516
  return await ac.get(e, a).then((E) => E).catch((E) => n > 0 ? ud({ url: e, options: a, retries: n - 1 }) : E);
318517
318517
  }
@@ -320449,7 +320449,7 @@ const C2a = aoe(), A2a = [
320449
320449
  e.awayResultGame = a;
320450
320450
  },
320451
320451
  updateIsSocketConnected(e, a) {
320452
- e.isSocketConnected = a, a && e.gameForAnalysis.is_live && ioe(`game.${e.gameForAnalysis.game_id}.v2`);
320452
+ e.isSocketConnected = a, a && e.gameForAnalysis.is_live && e.gameForAnalysis.game_status === 4 && ioe(`game.${e.gameForAnalysis.game_id}.v2`);
320453
320453
  },
320454
320454
  updateCurrentSeasonTeams(e, a) {
320455
320455
  e.currentSeasonTeams = a, e.currentSeasonTeams.forEach((n) => {