@golstats/gsc-game-data 1.0.290 → 1.0.291

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.
@@ -96868,11 +96868,11 @@ const fCt = { class: "dropdown" }, mCt = { class: "selected-item" }, gCt = {
96868
96868
  },
96869
96869
  setup(e) {
96870
96870
  const n = e, i = gv(
96871
- () => import("./FilterSubcategories-4bc20b72-2803ff09.js")
96871
+ () => import("./FilterSubcategories-4bc20b72-1e918ac8.js")
96872
96872
  ), O = gv(
96873
- () => import("./FilterConditions-8968e395-4ef48a52.js")
96873
+ () => import("./FilterConditions-8968e395-02ba798f.js")
96874
96874
  ), B = gv(
96875
- () => import("./FilterField-ef44bc20-70719fd0.js")
96875
+ () => import("./FilterField-ef44bc20-1905560b.js")
96876
96876
  ), s = [
96877
96877
  {
96878
96878
  name: "Sub categorías",
@@ -232920,11 +232920,11 @@ const Gaa = { class: "dropdown" }, qaa = { class: "selected-item" }, Waa = {
232920
232920
  },
232921
232921
  setup(e) {
232922
232922
  const n = e, i = gv(
232923
- () => import("./FilterSubcategories-4bc20b72-Bne5frf7-47fcf4d3.js")
232923
+ () => import("./FilterSubcategories-4bc20b72-Dl1uRwnv-076c36f4.js")
232924
232924
  ), O = gv(
232925
- () => import("./FilterConditions-8968e395-aXpIieZt-473dfbbf.js")
232925
+ () => import("./FilterConditions-8968e395-CXyzTPIw-2f1fb570.js")
232926
232926
  ), B = gv(
232927
- () => import("./FilterField-ef44bc20-CNW2XvZH-37d6e9c2.js")
232927
+ () => import("./FilterField-ef44bc20-DioVn9m4-aa406231.js")
232928
232928
  ), s = [
232929
232929
  {
232930
232930
  name: "Sub categorías",
@@ -238487,10 +238487,18 @@ const CJ = /* @__PURE__ */ Gca(uE, [["render", eua], ["__scopeId", "data-v-7d081
238487
238487
  type: Boolean,
238488
238488
  required: !1
238489
238489
  },
238490
+ flagRegular: {
238491
+ type: Boolean,
238492
+ required: !1
238493
+ },
238490
238494
  team: {
238491
238495
  type: Number,
238492
238496
  default: 0
238493
238497
  },
238498
+ game: {
238499
+ type: Object,
238500
+ default: () => ({})
238501
+ },
238494
238502
  season: {
238495
238503
  type: Number,
238496
238504
  default: 1875
@@ -238516,8 +238524,8 @@ const CJ = /* @__PURE__ */ Gca(uE, [["render", eua], ["__scopeId", "data-v-7d081
238516
238524
  computed: {},
238517
238525
  methods: {
238518
238526
  async getData() {
238519
- const e = "https://1qvtl1japi.execute-api.us-east-2.amazonaws.com/prod/seasons/" + this.season + "/corners/highlights/teams/" + this.team;
238520
- if (this.lastRequestUrl !== e) {
238527
+ let e = "";
238528
+ if (this.flagRegular ? e = "https://1qvtl1japi.execute-api.us-east-2.amazonaws.com/prod/seasons/" + this.game.regularSeasonId + "/corners/highlights/teams/" + this.team : e = "https://1qvtl1japi.execute-api.us-east-2.amazonaws.com/prod/seasons/" + this.season + "/corners/highlights/teams/" + this.team, this.lastRequestUrl !== e) {
238521
238529
  this.lastRequestUrl = e;
238522
238530
  const n = await Qu.create({
238523
238531
  headers: { Authorization: `${this.token}` }
@@ -238703,7 +238711,7 @@ function Eua(e, n, i, O, B, s) {
238703
238711
  ], 2)
238704
238712
  ], 2);
238705
238713
  }
238706
- const Pua = /* @__PURE__ */ Zu(tua, [["render", Eua], ["__scopeId", "data-v-a312d3fb"]]), Oua = {
238714
+ const Pua = /* @__PURE__ */ Zu(tua, [["render", Eua], ["__scopeId", "data-v-97768a9c"]]), Oua = {
238707
238715
  key: 0,
238708
238716
  width: " 19",
238709
238717
  height: "19",
@@ -357015,6 +357023,7 @@ const W0a = /* @__PURE__ */ Zu(M0a, [["render", q0a], ["__scopeId", "data-v-a81b
357015
357023
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",
357016
357024
  touchAllDataHome: [],
357017
357025
  touchAllDataAway: [],
357026
+ regularflag: null,
357018
357027
  filters: {
357019
357028
  isMoment: !1,
357020
357029
  final: [1, 2, 3],
@@ -357524,9 +357533,9 @@ const W0a = /* @__PURE__ */ Zu(M0a, [["render", q0a], ["__scopeId", "data-v-a81b
357524
357533
  let i = await n.get(
357525
357534
  "https://qyyibs1w0d.execute-api.us-west-2.amazonaws.com/prod/calendar/gamesBySeason?seasons=" + e.season
357526
357535
  );
357527
- i.data.data[0].games.filter((O) => O.game_status === 1).length == 0 && (i = await n.get(
357536
+ i.data.data[0].games.filter((O) => O.game_status === 1).length == 0 ? (this.regularflag = !0, i = await n.get(
357528
357537
  "https://qyyibs1w0d.execute-api.us-west-2.amazonaws.com/prod/calendar/gamesBySeason?seasons=" + this.game.regularSeasonId
357529
- )), this.forSeason ? (this.getGamesByTeam({
357538
+ )) : this.regularflag = !1, this.forSeason ? (this.getGamesByTeam({
357530
357539
  games: i.data.data[0].games,
357531
357540
  idTeam: e.home_team,
357532
357541
  type: "home"
@@ -357669,7 +357678,7 @@ const W0a = /* @__PURE__ */ Zu(M0a, [["render", q0a], ["__scopeId", "data-v-a81b
357669
357678
  }
357670
357679
  }, Fj = () => {
357671
357680
  fr((e) => ({
357672
- "2213a899": e.heightFilters
357681
+ "5093f9b4": e.heightFilters
357673
357682
  }));
357674
357683
  }, Rj = hE.setup;
357675
357684
  hE.setup = Rj ? (e, n) => (Fj(), Rj(e, n)) : Fj;
@@ -357724,13 +357733,15 @@ function J0a(e, n, i, O, B, s) {
357724
357733
  onFilter_whathappened: s.getFilterWhatHappened
357725
357734
  }, null, 8, ["width-container", "type", "teams-data", "tournament-selected", "game-info", "total-corners", "show-corners", "in-favor", "corners-in-favor", "corners-against", "for-game", "lateralidad", "available-players", "available-games", "is-synchronization", "onChangeShowFilters", "onChangetypePlay", "onOpenModal", "onTeamselected", "onInfavoragainstteam", "onFilter_results_by_time", "onFilter_details", "onFilter_games", "onFilter_takencorners", "onFilter_howwascorner", "onFilter_zone", "onFilter_whathappened"]))
357726
357735
  ], 512),
357727
- !i.isSynchronization && B.teamSelected > 0 ? (Ge(), Wn(a, {
357736
+ !i.isSynchronization && B.teamSelected > 0 && B.regularflag ? (Ge(), Wn(a, {
357728
357737
  key: 1,
357729
357738
  team: B.teamSelected,
357730
357739
  season: i.game.season,
357740
+ game: i.game,
357741
+ "flag-regular": B.regularflag,
357731
357742
  "in-favor": B.infavoragainst,
357732
357743
  "width-container": B.containerWidth
357733
- }, null, 8, ["team", "season", "in-favor", "width-container"])) : Ht("", !0),
357744
+ }, null, 8, ["team", "season", "game", "flag-regular", "in-favor", "width-container"])) : Ht("", !0),
357734
357745
  i.isSynchronization ? Ht("", !0) : (Ge(), Wn(_, {
357735
357746
  "players-data": B.playersData,
357736
357747
  "teams-data": B.teamsData,
@@ -357800,7 +357811,7 @@ function J0a(e, n, i, O, B, s) {
357800
357811
  }, null, 8, ["team-id-for-analysis", "season-id-for-analysis", "width-container", "filters", "is-game-only", "tournament-selected", "selected_category", "onChangelateralidad", "game", "is-against-mode", "are-filters-open", "is-tactic-visible", "is-synchronization", "can-play-videos", "video-privileges-playing-as", "onOpenMediaPlayer", "onCornersFilled"])) : Ht("", !0)
357801
357812
  ]);
357802
357813
  }
357803
- const K0a = /* @__PURE__ */ Zu(hE, [["render", J0a], ["__scopeId", "data-v-b374a9dc"]]);
357814
+ const K0a = /* @__PURE__ */ Zu(hE, [["render", J0a], ["__scopeId", "data-v-d1d7c074"]]);
357804
357815
  const Q0a = { class: "datagame-container" }, ega = {
357805
357816
  __name: "GSCTacticaFijaMain",
357806
357817
  props: {