@golstats/gsc-game-data 1.0.45 → 1.0.46

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.
@@ -10161,7 +10161,7 @@ const fT = {
10161
10161
  },
10162
10162
  async mounted() {
10163
10163
  }
10164
- }, Bv = (e) => (we("data-v-fec7a523"), e = e(), Ce(), e), _T = { class: "card" }, bT = { class: "card__header" }, vT = { class: "card__stats" }, wT = ["onClick"], CT = /* @__PURE__ */ Bv(() => /* @__PURE__ */ r("img", { src: Fv }, null, -1)), ST = [
10164
+ }, Bv = (e) => (we("data-v-a93399df"), e = e(), Ce(), e), _T = { class: "card" }, bT = { class: "card__header" }, vT = { class: "card__stats" }, wT = ["onClick"], CT = /* @__PURE__ */ Bv(() => /* @__PURE__ */ r("img", { src: Fv }, null, -1)), ST = [
10165
10165
  CT
10166
10166
  ], kT = {
10167
10167
  key: 1,
@@ -10189,7 +10189,7 @@ function LT(e, t, a, s, i, o) {
10189
10189
  }, ST, 8, wT)) : (f(), _("div", kT))
10190
10190
  ]),
10191
10191
  r("div", null, [
10192
- r("div", $T, C(y.name) + C(), 1),
10192
+ r("div", $T, C(y.name), 1),
10193
10193
  r("div", xT, [
10194
10194
  o.hVal(y) ? (f(), _("span", AT, [
10195
10195
  M(C(o.deleteDecimalZero(o.formatNumbers(o.hVal(y).numberValue))), 1),
@@ -10236,7 +10236,7 @@ function LT(e, t, a, s, i, o) {
10236
10236
  ])
10237
10237
  ]);
10238
10238
  }
10239
- const jT = /* @__PURE__ */ st(fT, [["render", LT], ["__scopeId", "data-v-fec7a523"]]);
10239
+ const jT = /* @__PURE__ */ st(fT, [["render", LT], ["__scopeId", "data-v-a93399df"]]);
10240
10240
  const DT = {
10241
10241
  name: "GscComparative",
10242
10242
  props: {
@@ -11578,7 +11578,7 @@ const wR = {
11578
11578
  ...Xt("nextGeneral", ["usePastSeasonId", "pastSeasonId", "gameId"]),
11579
11579
  ...Xt("general", ["booleanIsStatisticModalOpen"]),
11580
11580
  ...ht("xgGeneral", ["playsLocal", "goalsQtyLocal", "shotsOnGoalQtyLocal", "xGLocal"]),
11581
- ...ht("nextGeneral", ["getSeasonId", "homeTeam", "visitingTeam", "showPostMatchData"]),
11581
+ ...ht("nextGeneral", ["getSeasonId", "homeTeam", "visitingTeam", "showPostMatchData", "game", "getGameForAnalysis"]),
11582
11582
  ...ht("loginGeneral", ["getPremiumAccount", "getIsGolstats"]),
11583
11583
  ...ht("general", ["getPreviewSectionAnalytics"]),
11584
11584
  stringSelectedTeamLogo() {
@@ -11596,16 +11596,11 @@ const wR = {
11596
11596
  }
11597
11597
  },
11598
11598
  watch: {
11599
- visitingTeam: {
11599
+ getGameForAnalysis: {
11600
11600
  deep: !0,
11601
11601
  handler(e) {
11602
11602
  e && this.fillXgPlays();
11603
11603
  }
11604
- },
11605
- showPostMatchData: {
11606
- handler(e, t) {
11607
- e !== t && this.fillXgPlays();
11608
- }
11609
11604
  }
11610
11605
  },
11611
11606
  methods: {
@@ -11619,22 +11614,22 @@ const wR = {
11619
11614
  return this.homeTeam.team_id;
11620
11615
  },
11621
11616
  fillXgPlays() {
11622
- this.showPostMatchData ? this.getXgPlays({
11623
- seasonId: this.gameId,
11624
- localTeamId: this.homeTeam.team_id,
11625
- visitingTeamId: this.visitingTeam.team_id,
11626
- postMatch: this.showPostMatchData
11627
- }) : this.getXgPlays({
11617
+ this.getGameForAnalysis.game_status != 1 ? this.getXgPlays({
11628
11618
  seasonId: this.usePastSeasonId ? this.pastSeasonId : this.getSeasonId,
11629
11619
  localTeamId: this.homeTeam.team_id,
11630
11620
  visitingTeamId: this.visitingTeam.team_id
11621
+ }) : this.getXgPlays({
11622
+ seasonId: this.gameId,
11623
+ localTeamId: this.homeTeam.team_id,
11624
+ visitingTeamId: this.visitingTeam.team_id,
11625
+ postMatch: !0
11631
11626
  });
11632
11627
  }
11633
11628
  },
11634
11629
  beforeMount() {
11635
11630
  this.fillXgPlays();
11636
11631
  }
11637
- }, Nv = (e) => (we("data-v-7a0399e9"), e = e(), Ce(), e), CR = { class: "xg-container" }, SR = { class: "xg-container__info" }, kR = /* @__PURE__ */ Nv(() => /* @__PURE__ */ r("div", { class: "title" }, "Goles esperados (xG)", -1)), $R = { class: "table" }, xR = { class: "table__row" }, AR = { class: "table__row__title" }, IR = { class: "table__row__value" }, OR = ["src"], TR = { class: "table__row" }, ER = { class: "table__row__title" }, RR = { class: "table__row__value" }, PR = { class: "table__row" }, FR = { class: "table__row__title" }, BR = { class: "table__row__value" }, LR = /* @__PURE__ */ Nv(() => /* @__PURE__ */ r("div", { class: "table-description" }, [
11632
+ }, Nv = (e) => (we("data-v-6fa9fc78"), e = e(), Ce(), e), CR = { class: "xg-container" }, SR = { class: "xg-container__info" }, kR = /* @__PURE__ */ Nv(() => /* @__PURE__ */ r("div", { class: "title" }, "Goles esperados (xG)", -1)), $R = { class: "table" }, xR = { class: "table__row" }, AR = { class: "table__row__title" }, IR = { class: "table__row__value" }, OR = ["src"], TR = { class: "table__row" }, ER = { class: "table__row__title" }, RR = { class: "table__row__value" }, PR = { class: "table__row" }, FR = { class: "table__row__title" }, BR = { class: "table__row__value" }, LR = /* @__PURE__ */ Nv(() => /* @__PURE__ */ r("div", { class: "table-description" }, [
11638
11633
  /* @__PURE__ */ r("span", null, "xG:"),
11639
11634
  /* @__PURE__ */ M(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")
11640
11635
  ], -1)), jR = { class: "xg-container__field" };
@@ -11674,7 +11669,7 @@ function DR(e, t, a, s, i, o) {
11674
11669
  ])
11675
11670
  ]);
11676
11671
  }
11677
- const NR = /* @__PURE__ */ st(wR, [["render", DR], ["__scopeId", "data-v-7a0399e9"]]);
11672
+ const NR = /* @__PURE__ */ st(wR, [["render", DR], ["__scopeId", "data-v-6fa9fc78"]]);
11678
11673
  const MR = {
11679
11674
  name: "Xg",
11680
11675
  components: {
@@ -11695,7 +11690,7 @@ const MR = {
11695
11690
  ...Xt("nextGeneral", ["usePastSeasonId", "pastSeasonId", "gameId"]),
11696
11691
  ...Xt("general", ["booleanIsStatisticModalOpen"]),
11697
11692
  ...ht("xgGeneral", ["playsAway", "goalsQtyAway", "shotsOnGoalQtyAway", "xGAway"]),
11698
- ...ht("nextGeneral", ["getSeasonId", "homeTeam", "visitingTeam", "showPostMatchData"]),
11693
+ ...ht("nextGeneral", ["getSeasonId", "homeTeam", "visitingTeam", "showPostMatchData", "game", "getGameForAnalysis"]),
11699
11694
  ...ht("loginGeneral", ["getPremiumAccount", "getIsGolstats"]),
11700
11695
  ...ht("general", ["getPreviewSectionAnalytics"]),
11701
11696
  stringSelectedTeamLogo() {
@@ -11713,15 +11708,10 @@ const MR = {
11713
11708
  }
11714
11709
  },
11715
11710
  watch: {
11716
- visitingTeam: {
11711
+ getGameForAnalysis: {
11717
11712
  deep: !0,
11718
11713
  handler(e) {
11719
- e && this.fillXgPlays();
11720
- }
11721
- },
11722
- showPostMatchData: {
11723
- handler(e, t) {
11724
- e !== t && this.fillXgPlays();
11714
+ e && (console.log("Cambio el getGameForAnalysis "), this.fillXgPlays());
11725
11715
  }
11726
11716
  }
11727
11717
  },
@@ -11736,22 +11726,22 @@ const MR = {
11736
11726
  return this.visitingTeam.team_id;
11737
11727
  },
11738
11728
  fillXgPlays() {
11739
- this.showPostMatchData ? this.getXgPlays({
11740
- seasonId: this.gameId,
11741
- localTeamId: this.homeTeam.team_id,
11742
- visitingTeamId: this.visitingTeam.team_id,
11743
- postMatch: this.showPostMatchData
11744
- }) : this.getXgPlays({
11729
+ this.getGameForAnalysis.game_status != 1 ? this.getXgPlays({
11745
11730
  seasonId: this.usePastSeasonId ? this.pastSeasonId : this.getSeasonId,
11746
11731
  localTeamId: this.homeTeam.team_id,
11747
11732
  visitingTeamId: this.visitingTeam.team_id
11733
+ }) : this.getXgPlays({
11734
+ seasonId: this.gameId,
11735
+ localTeamId: this.homeTeam.team_id,
11736
+ visitingTeamId: this.visitingTeam.team_id,
11737
+ postMatch: !0
11748
11738
  });
11749
11739
  }
11750
11740
  },
11751
11741
  beforeMount() {
11752
11742
  this.setTeamSelected("Visiting"), this.fillXgPlays();
11753
11743
  }
11754
- }, Mv = (e) => (we("data-v-ec94eadc"), e = e(), Ce(), e), HR = { class: "xg-container" }, zR = { class: "xg-container__info" }, UR = /* @__PURE__ */ Mv(() => /* @__PURE__ */ r("div", { class: "title" }, "Goles esperados (xG)", -1)), VR = { class: "table" }, GR = { class: "table__row" }, WR = { class: "table__row__title" }, qR = { class: "table__row__value" }, JR = ["src"], XR = { class: "table__row" }, ZR = { class: "table__row__title" }, YR = { class: "table__row__value" }, KR = { class: "table__row" }, QR = { class: "table__row__title" }, eP = { class: "table__row__value" }, tP = /* @__PURE__ */ Mv(() => /* @__PURE__ */ r("div", { class: "table-description" }, [
11744
+ }, Mv = (e) => (we("data-v-860437b0"), e = e(), Ce(), e), HR = { class: "xg-container" }, zR = { class: "xg-container__info" }, UR = /* @__PURE__ */ Mv(() => /* @__PURE__ */ r("div", { class: "title" }, "Goles esperados (xG)", -1)), VR = { class: "table" }, GR = { class: "table__row" }, WR = { class: "table__row__title" }, qR = { class: "table__row__value" }, JR = ["src"], XR = { class: "table__row" }, ZR = { class: "table__row__title" }, YR = { class: "table__row__value" }, KR = { class: "table__row" }, QR = { class: "table__row__title" }, eP = { class: "table__row__value" }, tP = /* @__PURE__ */ Mv(() => /* @__PURE__ */ r("div", { class: "table-description" }, [
11755
11745
  /* @__PURE__ */ r("span", null, "xG:"),
11756
11746
  /* @__PURE__ */ M(" es la medida para estimar la probabilidad de que un tiro o una jugada termine en gol, basándose en factores como la ubicación y la dificultad de la acción. ")
11757
11747
  ], -1)), aP = { class: "xg-container__field" };
@@ -11793,7 +11783,7 @@ function sP(e, t, a, s, i, o) {
11793
11783
  ])
11794
11784
  ]);
11795
11785
  }
11796
- const iP = /* @__PURE__ */ st(MR, [["render", sP], ["__scopeId", "data-v-ec94eadc"]]);
11786
+ const iP = /* @__PURE__ */ st(MR, [["render", sP], ["__scopeId", "data-v-860437b0"]]);
11797
11787
  const oP = {
11798
11788
  name: "SoccerChalkboard",
11799
11789
  components: {
@@ -75099,6 +75089,7 @@ const Uze = [
75099
75089
  getHomeResultGame: (e) => e.homeResultGame,
75100
75090
  getAwayResultGame: (e) => e.awayResultGame,
75101
75091
  getSeasonId: (e) => e.seasonId,
75092
+ getGameForAnalysis: (e) => e.gameForAnalysis,
75102
75093
  isLive: (e) => (e.isLive = !!e.gameForAnalysis.is_live, e.isLive),
75103
75094
  showLive: (e) => e.gameForAnalysis.game_status === 4 && e.gameForAnalysis.is_live,
75104
75095
  menuOptionActive: (e) => e.menuOptionActive,
@@ -75629,7 +75620,7 @@ const Uze = [
75629
75620
  const h = await t("getCurrentSeasonGamesLast");
75630
75621
  a("leagueGeneral/updateCurrentSeasonGames", h, { root: !0 });
75631
75622
  }
75632
- (n || e.currentSeasonTeams.length === 0 || !e.currentSeasonTeams.find((h) => l.home_team === h.team_id)) && p.push(t("getCurrentSeasonTeams")), a("setHomeResultGame", l.score[0]), a("setAwayResultGame", l.score[1]), i ? l.game_status !== 1 ? (await t("fillStatisticData", { gameId: s, gameinfo: l, promises: p, defaultFilter: c }), a("updateShowPostMatchData", !1)) : (a("updateStats", []), a("updateShowPostMatchData", !0), p.push(
75623
+ (n || e.currentSeasonTeams.length === 0 || !e.currentSeasonTeams.find((h) => l.home_team === h.team_id)) && p.push(t("getCurrentSeasonTeams")), a("setHomeResultGame", l.score[0]), a("setAwayResultGame", l.score[1]), i ? l.game_status !== 1 ? (console.log("<---- GAME INFO --->"), console.log(l), await t("fillStatisticData", { gameId: s, gameinfo: l, promises: p, defaultFilter: c }), a("updateShowPostMatchData", !1)) : (a("updateStats", []), a("updateShowPostMatchData", !0), p.push(
75633
75624
  t("fillStatisticDataPostMatch", {
75634
75625
  game: s,
75635
75626
  homeTeam: l.home_team,