@golstats/gsc-game-data 1.0.251 → 1.0.253

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.
@@ -32673,9 +32673,9 @@ function tke(e) {
32673
32673
  window.removeEventListener("resize", r);
32674
32674
  }), { elementSize: n };
32675
32675
  }
32676
- const Ux = "/contorno-escudo.svg", ake = "_item_1j4br_7", nke = "_cardDgs_1j4br_29", rke = "_teams_1j4br_65", ike = "_homeTeam_1j4br_83", oke = "_vectorStrokeIcon_1j4br_101", ske = "_homeTeamChild_1j4br_115", lke = "_centrosParent_1j4br_137", cke = "_centros_1j4br_137", uke = "_chivasYAtlas_1j4br_173", dke = "_logoHomeTeamIcon_1j4br_205", hke = "_logoHomeTeamIcon1_1j4br_233", pke = {
32676
+ const Ux = "/contorno-escudo.svg", ake = "_item_1i31d_4", nke = "_cardDgs_1i31d_15", rke = "_teams_1i31d_33", ike = "_homeTeam_1i31d_42", oke = "_vectorStrokeIcon_1i31d_51", ske = "_homeTeamChild_1i31d_58", lke = "_centrosParent_1i31d_69", cke = "_centros_1i31d_69", uke = "_chivasYAtlas_1i31d_87", dke = "_logoHomeTeamIcon_1i31d_103", hke = "_logoHomeTeamIcon1_1i31d_117", pke = {
32677
32677
  item: ake,
32678
- "item-game": "_item-game_1j4br_19",
32678
+ "item-game": "_item-game_1i31d_10",
32679
32679
  cardDgs: nke,
32680
32680
  teams: rke,
32681
32681
  homeTeam: ike,
@@ -32846,7 +32846,7 @@ function kke(e, n, r, P, z, l) {
32846
32846
  }
32847
32847
  const Tke = {
32848
32848
  $style: pke
32849
- }, Ske = /* @__PURE__ */ zG(fke, [["render", kke], ["__cssModules", Tke], ["__scopeId", "data-v-bf1d0a8b"]]);
32849
+ }, Ske = /* @__PURE__ */ zG(fke, [["render", kke], ["__cssModules", Tke], ["__scopeId", "data-v-4a99b853"]]);
32850
32850
  function BG(e, n) {
32851
32851
  return function() {
32852
32852
  return e.apply(n, arguments);
@@ -38571,7 +38571,7 @@ function APe(e, n, r, P, z, l) {
38571
38571
  ], 2)) : Ft("", !0)
38572
38572
  ], 512);
38573
38573
  }
38574
- const MPe = /* @__PURE__ */ vPe(vA, [["render", APe], ["__scopeId", "data-v-b548a08d"]]), EPe = "_templateDataGS_1n4df_7", IPe = "_gridCompo480_1n4df_33", PPe = "_gridCompo_1n4df_33", OPe = "_grid_1n4df_33", LPe = "_grid768_1n4df_109", FPe = "_grid480_1n4df_131", RPe = "_specialsMobile_1n4df_153", DPe = "_gridClass_1n4df_169", zPe = {
38574
+ const MPe = /* @__PURE__ */ vPe(vA, [["render", APe], ["__scopeId", "data-v-b548a08d"]]), EPe = "_templateDataGS_1lawj_4", IPe = "_gridCompo480_1lawj_17", PPe = "_gridCompo_1lawj_17", OPe = "_grid_1lawj_17", LPe = "_grid768_1lawj_55", FPe = "_grid480_1lawj_66", RPe = "_specialsMobile_1lawj_77", DPe = "_gridClass_1lawj_85", zPe = {
38575
38575
  templateDataGS: EPe,
38576
38576
  gridCompo480: IPe,
38577
38577
  gridCompo: PPe,
@@ -38633,7 +38633,9 @@ const MPe = /* @__PURE__ */ vPe(vA, [["render", APe], ["__scopeId", "data-v-b548
38633
38633
  awayTeam: [],
38634
38634
  intervalidgs: null,
38635
38635
  playerInfo: {},
38636
- specials: []
38636
+ specials: [],
38637
+ homeTeamCardsMap: /* @__PURE__ */ new Map(),
38638
+ awayTeamCardsMap: /* @__PURE__ */ new Map()
38637
38639
  };
38638
38640
  },
38639
38641
  computed: {
@@ -38650,7 +38652,7 @@ const MPe = /* @__PURE__ */ vPe(vA, [["render", APe], ["__scopeId", "data-v-b548
38650
38652
  // the callback will be called immediately after the start of the observation
38651
38653
  immediate: !0,
38652
38654
  handler(e) {
38653
- e == 3 && this.data.game_status != 0 && (this.intervalidgs = setInterval(() => {
38655
+ e == 3 && this.data.game_status != 0 && (this.clearCardsData(), this.intervalidgs = setInterval(() => {
38654
38656
  this.getStats(this.data);
38655
38657
  }, this.timeLiveComparativeBestPlayers), this.$emit("intervalidgs", this.intervalidgs));
38656
38658
  }
@@ -38659,7 +38661,7 @@ const MPe = /* @__PURE__ */ vPe(vA, [["render", APe], ["__scopeId", "data-v-b548
38659
38661
  // the callback will be called immediately after the start of the observation
38660
38662
  immediate: !0,
38661
38663
  handler(e) {
38662
- this.getStats(e);
38664
+ this.clearCardsData(), this.getStats(e);
38663
38665
  }
38664
38666
  }
38665
38667
  },
@@ -39113,7 +39115,6 @@ const MPe = /* @__PURE__ */ vPe(vA, [["render", APe], ["__scopeId", "data-v-b548
39113
39115
  e.category !== 0 && (z.advancedFilter.mainCategoryId = e.category), this.$emit("openmedia", z);
39114
39116
  },
39115
39117
  async getStats(e) {
39116
- this.homeTeam = [], this.awayTeam = [];
39117
39118
  const n = eke.create({
39118
39119
  headers: {
39119
39120
  Authorization: `${this.token}`
@@ -39137,62 +39138,77 @@ const MPe = /* @__PURE__ */ vPe(vA, [["render", APe], ["__scopeId", "data-v-b548
39137
39138
  }) : r.data.games[0].players.forEach((z) => {
39138
39139
  z.canPlayVideos = !0;
39139
39140
  });
39140
- for (let z = 0; z < r.data.games[0].players.length; z++)
39141
- e.home_team_id == r.data.games[0].players[z].team_id && this.homeTeam.push({
39142
- canPlayVideos: r.data.games[0].players[z].canPlayVideos,
39143
- id_season: r.data.games[0].players[z].season_id,
39144
- color: r.data.games[0].players[z].info_thumbnails.colors.background_color,
39145
- player_id: r.data.games[0].players[z].player_id,
39146
- player_name: r.data.games[0].players[z].player_name,
39147
- game_id: r.data.games[0].game_status === 4 ? null : r.data.games[0].game_id,
39148
- background: r.data.games[0].players[z].info_thumbnails.images.background_player_in_action[0] ? "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.background_player_in_action[0] : "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.background_default_players[0],
39149
- player_photo: r.data.games[0].players[z].info_thumbnails.images.player_in_action[0] ? "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.player_in_action[0] : `https://az755631.vo.msecnd.net/players-profile/${r.data.games[0].players[z].player_id}.png`,
39150
- category_stats_1: this.prematch ? r.data.games[0].players[z].games_played : r.data.games[0].players[z].minutes_played,
39151
- category_stats_2: this.prematch ? r.data.games[0].players[z].minutes_played : r.data.games[0].players[z].categories[0].total,
39152
- category_stats_3: this.prematch ? r.data.games[0].players[z].categories[0].total : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].total : "",
39153
- category_id_1: this.prematch ? "games_played" : "minutes_played",
39154
- category_id_2: this.prematch ? "minutes_played" : r.data.games[0].players[z].categories[0].categories,
39155
- category_id_3: this.prematch ? r.data.games[0].players[z].categories[0].categories : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].categories : "",
39156
- category_name_1: this.prematch ? "Partidos Jugados" : "Minutos Jugados",
39157
- category_name_2: this.prematch ? "Minutos Jugados" : r.data.games[0].players[z].categories[0].category_name,
39158
- category_name_3: this.prematch ? r.data.games[0].players[z].categories[0].category_name : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].category_name : "",
39159
- showlast_category: !!r.data.games[0].players[z].categories[1],
39160
- main_title: this.tournamentSelected.is_female == 1 ? "Jugadora" : "Jugador",
39161
- second_title: this.tournamentSelected.is_female == 1 ? "Destacada" : "Destacado",
39162
- background_color_buttons: r.data.games[0].players[z].info_thumbnails.colors.background_color_buttons,
39163
- background_color_cards: r.data.games[0].players[z].info_thumbnails.colors.background_color_cards,
39164
- color_icon_play: r.data.games[0].players[z].info_thumbnails.colors.color_icon_play,
39165
- color_next_back: r.data.games[0].players[z].info_thumbnails.colors.color_next_back,
39166
- font_color: r.data.games[0].players[z].info_thumbnails.colors.font_color,
39167
- font_color_card: r.data.games[0].players[z].info_thumbnails.colors.font_color_cards ? r.data.games[0].players[z].info_thumbnails.colors.font_color_cards : "#FFFFFF"
39168
- }), e.away_team_id == r.data.games[0].players[z].team_id && this.awayTeam.push({
39169
- canPlayVideos: r.data.games[0].players[z].canPlayVideos,
39170
- id_season: r.data.games[0].players[z].season_id,
39171
- color: r.data.games[0].players[z].info_thumbnails.colors.background_color,
39172
- player_id: r.data.games[0].players[z].player_id,
39173
- player_name: r.data.games[0].players[z].player_name,
39174
- game_id: r.data.games[0].game_status === 4 ? null : r.data.games[0].game_id,
39175
- background: r.data.games[0].players[z].info_thumbnails.images.background_player_in_action[0] ? "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.background_player_in_action[0] : "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.background_default_players[0],
39176
- player_photo: r.data.games[0].players[z].info_thumbnails.images.player_in_action[0] ? "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.player_in_action[0] : `https://az755631.vo.msecnd.net/players-profile/${r.data.games[0].players[z].player_id}.png`,
39177
- category_stats_1: this.prematch ? r.data.games[0].players[z].games_played : r.data.games[0].players[z].minutes_played,
39178
- category_stats_2: this.prematch ? r.data.games[0].players[z].minutes_played : r.data.games[0].players[z].categories[0].total,
39179
- category_stats_3: this.prematch ? r.data.games[0].players[z].categories[0].total : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].total : "",
39180
- category_id_1: this.prematch ? "games_played" : "minutes_played",
39181
- category_id_2: this.prematch ? "minutes_played" : r.data.games[0].players[z].categories[0].categories,
39182
- category_id_3: this.prematch ? r.data.games[0].players[z].categories[0].categories : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].categories : "",
39183
- category_name_1: this.prematch ? "Partidos Jugados" : "Minutos Jugados",
39184
- category_name_2: this.prematch ? "Minutos Jugados" : r.data.games[0].players[z].categories[0].category_name,
39185
- category_name_3: this.prematch ? r.data.games[0].players[z].categories[0].category_name : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].category_name : "",
39186
- showlast_category: !!r.data.games[0].players[z].categories[1],
39187
- main_title: this.tournamentSelected.is_female == 1 ? "Jugadora" : "Jugador",
39188
- second_title: this.tournamentSelected.is_female == 1 ? "Destacada" : "Destacado",
39189
- background_color_buttons: r.data.games[0].players[z].info_thumbnails.colors.background_color_buttons,
39190
- background_color_cards: r.data.games[0].players[z].info_thumbnails.colors.background_color_cards,
39191
- color_icon_play: r.data.games[0].players[z].info_thumbnails.colors.color_icon_play,
39192
- color_next_back: r.data.games[0].players[z].info_thumbnails.colors.color_next_back,
39193
- font_color: r.data.games[0].players[z].info_thumbnails.colors.font_color,
39194
- font_color_card: r.data.games[0].players[z].info_thumbnails.colors.font_color_cards ? r.data.games[0].players[z].info_thumbnails.colors.font_color_cards : "#FFFFFF"
39195
- });
39141
+ for (let z = 0; z < r.data.games[0].players.length; z++) {
39142
+ if (e.home_team_id == r.data.games[0].players[z].team_id) {
39143
+ const l = {
39144
+ canPlayVideos: r.data.games[0].players[z].canPlayVideos,
39145
+ id_season: r.data.games[0].players[z].season_id,
39146
+ color: r.data.games[0].players[z].info_thumbnails.colors.background_color,
39147
+ player_id: r.data.games[0].players[z].player_id,
39148
+ player_name: r.data.games[0].players[z].player_name,
39149
+ game_id: r.data.games[0].game_status === 4 ? null : r.data.games[0].game_id,
39150
+ background: r.data.games[0].players[z].info_thumbnails.images.background_player_in_action[0] ? "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.background_player_in_action[0] : "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.background_default_players[0],
39151
+ player_photo: r.data.games[0].players[z].info_thumbnails.images.player_in_action[0] ? "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.player_in_action[0] : `https://az755631.vo.msecnd.net/players-profile/${r.data.games[0].players[z].player_id}.png`,
39152
+ category_stats_1: this.prematch ? r.data.games[0].players[z].games_played : r.data.games[0].players[z].minutes_played,
39153
+ category_stats_2: this.prematch ? r.data.games[0].players[z].minutes_played : r.data.games[0].players[z].categories[0].total,
39154
+ category_stats_3: this.prematch ? r.data.games[0].players[z].categories[0].total : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].total : "",
39155
+ category_id_1: this.prematch ? "games_played" : "minutes_played",
39156
+ category_id_2: this.prematch ? "minutes_played" : r.data.games[0].players[z].categories[0].categories,
39157
+ category_id_3: this.prematch ? r.data.games[0].players[z].categories[0].categories : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].categories : "",
39158
+ category_name_1: this.prematch ? "Partidos Jugados" : "Minutos Jugados",
39159
+ category_name_2: this.prematch ? "Minutos Jugados" : r.data.games[0].players[z].categories[0].category_name,
39160
+ category_name_3: this.prematch ? r.data.games[0].players[z].categories[0].category_name : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].category_name : "",
39161
+ showlast_category: !!r.data.games[0].players[z].categories[1],
39162
+ main_title: this.tournamentSelected.is_female == 1 ? "Jugadora" : "Jugador",
39163
+ second_title: this.tournamentSelected.is_female == 1 ? "Destacada" : "Destacado",
39164
+ background_color_buttons: r.data.games[0].players[z].info_thumbnails.colors.background_color_buttons,
39165
+ background_color_cards: r.data.games[0].players[z].info_thumbnails.colors.background_color_cards,
39166
+ color_icon_play: r.data.games[0].players[z].info_thumbnails.colors.color_icon_play,
39167
+ color_next_back: r.data.games[0].players[z].info_thumbnails.colors.color_next_back,
39168
+ font_color: r.data.games[0].players[z].info_thumbnails.colors.font_color,
39169
+ font_color_card: r.data.games[0].players[z].info_thumbnails.colors.font_color_cards ? r.data.games[0].players[z].info_thumbnails.colors.font_color_cards : "#FFFFFF"
39170
+ }, m = this.homeTeamCardsMap.get(l.player_id);
39171
+ m ? Object.entries(l).forEach(([t, g]) => {
39172
+ m[t] = g;
39173
+ }) : (this.homeTeamCardsMap.set(l.player_id, l), this.homeTeam.push(l));
39174
+ }
39175
+ if (e.away_team_id == r.data.games[0].players[z].team_id) {
39176
+ const l = {
39177
+ canPlayVideos: r.data.games[0].players[z].canPlayVideos,
39178
+ id_season: r.data.games[0].players[z].season_id,
39179
+ color: r.data.games[0].players[z].info_thumbnails.colors.background_color,
39180
+ player_id: r.data.games[0].players[z].player_id,
39181
+ player_name: r.data.games[0].players[z].player_name,
39182
+ game_id: r.data.games[0].game_status === 4 ? null : r.data.games[0].game_id,
39183
+ background: r.data.games[0].players[z].info_thumbnails.images.background_player_in_action[0] ? "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.background_player_in_action[0] : "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.background_default_players[0],
39184
+ player_photo: r.data.games[0].players[z].info_thumbnails.images.player_in_action[0] ? "https://golstatsimages.blob.core.windows.net/images-library/" + r.data.games[0].players[z].info_thumbnails.images.player_in_action[0] : `https://az755631.vo.msecnd.net/players-profile/${r.data.games[0].players[z].player_id}.png`,
39185
+ category_stats_1: this.prematch ? r.data.games[0].players[z].games_played : r.data.games[0].players[z].minutes_played,
39186
+ category_stats_2: this.prematch ? r.data.games[0].players[z].minutes_played : r.data.games[0].players[z].categories[0].total,
39187
+ category_stats_3: this.prematch ? r.data.games[0].players[z].categories[0].total : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].total : "",
39188
+ category_id_1: this.prematch ? "games_played" : "minutes_played",
39189
+ category_id_2: this.prematch ? "minutes_played" : r.data.games[0].players[z].categories[0].categories,
39190
+ category_id_3: this.prematch ? r.data.games[0].players[z].categories[0].categories : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].categories : "",
39191
+ category_name_1: this.prematch ? "Partidos Jugados" : "Minutos Jugados",
39192
+ category_name_2: this.prematch ? "Minutos Jugados" : r.data.games[0].players[z].categories[0].category_name,
39193
+ category_name_3: this.prematch ? r.data.games[0].players[z].categories[0].category_name : r.data.games[0].players[z].categories[1] ? r.data.games[0].players[z].categories[1].category_name : "",
39194
+ showlast_category: !!r.data.games[0].players[z].categories[1],
39195
+ main_title: this.tournamentSelected.is_female == 1 ? "Jugadora" : "Jugador",
39196
+ second_title: this.tournamentSelected.is_female == 1 ? "Destacada" : "Destacado",
39197
+ background_color_buttons: r.data.games[0].players[z].info_thumbnails.colors.background_color_buttons,
39198
+ background_color_cards: r.data.games[0].players[z].info_thumbnails.colors.background_color_cards,
39199
+ color_icon_play: r.data.games[0].players[z].info_thumbnails.colors.color_icon_play,
39200
+ color_next_back: r.data.games[0].players[z].info_thumbnails.colors.color_next_back,
39201
+ font_color: r.data.games[0].players[z].info_thumbnails.colors.font_color,
39202
+ font_color_card: r.data.games[0].players[z].info_thumbnails.colors.font_color_cards ? r.data.games[0].players[z].info_thumbnails.colors.font_color_cards : "#FFFFFF"
39203
+ }, m = this.awayTeamCardsMap.get(l.player_id);
39204
+ m ? Object.entries(l).forEach(([t, g]) => {
39205
+ m[t] = g;
39206
+ }) : (this.awayTeamCardsMap.set(l.player_id, l), this.awayTeam.push(l));
39207
+ }
39208
+ }
39209
+ },
39210
+ clearCardsData() {
39211
+ this.homeTeam = [], this.awayTeam = [], this.homeTeamCardsMap.clear(), this.awayTeamCardsMap.clear();
39196
39212
  }
39197
39213
  }
39198
39214
  }, NPe = { style: { margin: "0 auto", width: "100%" } }, $Pe = { style: { margin: "0 auto", width: "100%" } }, jPe = { style: { margin: "0 auto", width: "100%" } };
@@ -39389,7 +39405,7 @@ function VPe(e, n, r, P, z, l) {
39389
39405
  }
39390
39406
  const UPe = {
39391
39407
  $style: zPe
39392
- }, S_ = /* @__PURE__ */ zG(BPe, [["render", VPe], ["__cssModules", UPe], ["__scopeId", "data-v-7d090906"]]);
39408
+ }, S_ = /* @__PURE__ */ zG(BPe, [["render", VPe], ["__cssModules", UPe], ["__scopeId", "data-v-54cf4936"]]);
39393
39409
  const GPe = { class: "datagame-container" }, HPe = {
39394
39410
  __name: "GSCDatosGSMain",
39395
39411
  props: {
@@ -87511,7 +87527,7 @@ const awt = {
87511
87527
  // 1 = partidos, 2 = jugadores, 3 = equipos
87512
87528
  categoryIds: e.data.categories,
87513
87529
  //categories view
87514
- gameIds: this.game.game_status == 1 ? [this.dataProminentAll._id] : null,
87530
+ gameIdsToFilter: this.game.game_status == 1 ? [this.dataProminentAll._id] : null,
87515
87531
  playerIds: e.data.is_team != 1 ? [e.data.player_id] : [],
87516
87532
  goalkeeperIds: [],
87517
87533
  teamId: e.data.is_team == 1 ? e.data.team_id : 0,
@@ -87590,7 +87606,7 @@ const awt = {
87590
87606
  }
87591
87607
  }
87592
87608
  }
87593
- }, nwt = (e) => (xr("data-v-cc18fb66"), e = e(), wr(), e), rwt = { class: "data-prominent-game" }, iwt = { class: "title-data" }, owt = { class: "item-data-text" }, swt = ["innerHTML"], lwt = { class: "contain-stats-control" }, cwt = {
87609
+ }, nwt = (e) => (xr("data-v-62f00708"), e = e(), wr(), e), rwt = { class: "data-prominent-game" }, iwt = { class: "title-data" }, owt = { class: "item-data-text" }, swt = ["innerHTML"], lwt = { class: "contain-stats-control" }, cwt = {
87594
87610
  key: 0,
87595
87611
  class: "title-total"
87596
87612
  }, uwt = {
@@ -87700,7 +87716,7 @@ function mwt(e, n, r, P, z, l) {
87700
87716
  })
87701
87717
  ]);
87702
87718
  }
87703
- const gwt = /* @__PURE__ */ po(awt, [["render", mwt], ["__scopeId", "data-v-cc18fb66"]]);
87719
+ const gwt = /* @__PURE__ */ po(awt, [["render", mwt], ["__scopeId", "data-v-62f00708"]]);
87704
87720
  const ywt = {
87705
87721
  components: {
87706
87722
  GSCCheckbox: Qy
@@ -88628,7 +88644,7 @@ const p5t = {
88628
88644
  // 1 = partidos, 2 = jugadores, 3 = equipos
88629
88645
  categoryIds: n,
88630
88646
  //categories view
88631
- gameIds: e.data.game_id ? [e.data.game_id] : null,
88647
+ gameIdsToFilter: e.data.game_id ? [e.data.game_id] : null,
88632
88648
  playerIds: e.data.position_id != 1 ? e.data.player_id ? [e.data.player_id] : [] : [],
88633
88649
  goalkeeperIds: e.data.position_id == 1 ? e.data.player_id ? [e.data.player_id] : [] : [],
88634
88650
  teamId: e.data.team_id ? e.data.team_id : 0,
@@ -88740,7 +88756,7 @@ function v5t(e, n, r, P, z, l) {
88740
88756
  ])
88741
88757
  ], 512);
88742
88758
  }
88743
- const _5t = /* @__PURE__ */ po(p5t, [["render", v5t], ["__scopeId", "data-v-355a4095"]]);
88759
+ const _5t = /* @__PURE__ */ po(p5t, [["render", v5t], ["__scopeId", "data-v-651fe3fb"]]);
88744
88760
  let Kz = null;
88745
88761
  const _E = {
88746
88762
  components: {},
@@ -89086,7 +89102,7 @@ const R5t = {
89086
89102
  // 1 = partidos, 2 = jugadores, 3 = equipos
89087
89103
  categoryIds: n,
89088
89104
  //categories view
89089
- gameIds: e.data.game_id ? [e.data.game_id] : null,
89105
+ gameIdsToFilter: e.data.game_id ? [e.data.game_id] : null,
89090
89106
  playerIds: e.data.position_id != 1 ? e.data.player_id ? [e.data.player_id] : [] : [],
89091
89107
  goalkeeperIds: e.data.position_id == 1 ? e.data.player_id ? [e.data.player_id] : [] : [],
89092
89108
  teamId: e.data.team_id ? e.data.team_id : 0,
@@ -89118,10 +89134,10 @@ const R5t = {
89118
89134
  this.setUpResizeObserver();
89119
89135
  }, 1e3);
89120
89136
  }
89121
- }, I1 = (e) => (xr("data-v-2e3ebe2c"), e = e(), wr(), e), D5t = {
89137
+ }, I1 = (e) => (xr("data-v-7682cbf3"), e = e(), wr(), e), D5t = {
89122
89138
  class: "highlights-prominent-game",
89123
89139
  ref: "gamesContainerlivehigh"
89124
- }, z5t = { class: "video-partido-container__highlight" }, B5t = { class: "video-partido-container__content" }, N5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("div", { class: "video-partido-container__ribbon" }, "• LIVE", -1)), $5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("h2", { class: "video-partido-container__title" }, "HIGHLIGHTS AL", -1)), j5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("h2", { class: "video-partido-container__title" }, "MOMENTO", -1)), V5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("p", { class: "video-partido-container__description" }, " Las jugadas más destacadas hasta el momento ", -1)), U5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("h2", { class: "video-partido-container__title" }, "HIGHLIGHTS DEL", -1)), G5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("h2", { class: "video-partido-container__title" }, "PARTIDO", -1)), H5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("p", { class: "video-partido-container__description" }, " Las jugadas más destacadas del partido ", -1)), W5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("svg", {
89140
+ }, z5t = { class: "video-partido-container__highlight" }, B5t = { class: "video-partido-container__content" }, N5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("div", { class: "video-partido-container__ribbon" }, "• LIVE", -1)), $5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("h2", { class: "video-partido-container__title" }, "HIGHLIGHTS AL", -1)), j5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("h2", { class: "video-partido-container__title" }, "MOMENTO", -1)), V5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("p", { class: "video-partido-container__description" }, " Las jugadas más destacadas hasta el momento ", -1)), U5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("h2", { class: "video-partido-container__title" }, "HIGHLIGHTS DEL", -1)), G5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("h2", { class: "video-partido-container__title" }, "PARTIDO", -1)), H5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("p", { class: "video-partido-container__description" }, "Las jugadas más destacadas del partido", -1)), W5t = /* @__PURE__ */ I1(() => /* @__PURE__ */ le("svg", {
89125
89141
  width: "12",
89126
89142
  height: "12",
89127
89143
  viewBox: "0 0 12 12",
@@ -89176,7 +89192,7 @@ function Y5t(e, n, r, P, z, l) {
89176
89192
  ])
89177
89193
  ], 512);
89178
89194
  }
89179
- const X5t = /* @__PURE__ */ po(R5t, [["render", Y5t], ["__scopeId", "data-v-2e3ebe2c"]]), bE = "/play-icn.svg";
89195
+ const X5t = /* @__PURE__ */ po(R5t, [["render", Y5t], ["__scopeId", "data-v-7682cbf3"]]), bE = "/play-icn.svg";
89180
89196
  const Z5t = {
89181
89197
  name: "TooltipEmpty",
89182
89198
  props: {
@@ -89296,7 +89312,7 @@ const o4t = (e) => (xr("data-v-df0b18c7"), e = e(), wr(), e), s4t = { class: "ev
89296
89312
  ]));
89297
89313
  }
89298
89314
  }, d4t = /* @__PURE__ */ po(u4t, [["__scopeId", "data-v-df0b18c7"]]);
89299
- const lx = (e) => (xr("data-v-636d447b"), e = e(), wr(), e), h4t = { class: "tooltip-data" }, p4t = ["src"], f4t = /* @__PURE__ */ lx(() => /* @__PURE__ */ le("div", { class: "game-events__title-left-padding" }, null, -1)), m4t = /* @__PURE__ */ lx(() => /* @__PURE__ */ le("div", { class: "game-events__title" }, "Eventos", -1)), g4t = { class: "game-events__team-logo" }, y4t = ["src"], v4t = { class: "game-events__event-info" }, _4t = {
89315
+ const lx = (e) => (xr("data-v-510b64d7"), e = e(), wr(), e), h4t = { class: "tooltip-data" }, p4t = ["src"], f4t = /* @__PURE__ */ lx(() => /* @__PURE__ */ le("div", { class: "game-events__title-left-padding" }, null, -1)), m4t = /* @__PURE__ */ lx(() => /* @__PURE__ */ le("div", { class: "game-events__title" }, "Eventos", -1)), g4t = { class: "game-events__team-logo" }, y4t = ["src"], v4t = { class: "game-events__event-info" }, _4t = {
89300
89316
  key: 0,
89301
89317
  class: "game-events__event-info__line"
89302
89318
  }, b4t = {
@@ -89356,7 +89372,7 @@ const lx = (e) => (xr("data-v-636d447b"), e = e(), wr(), e), h4t = { class: "too
89356
89372
  Qn(
89357
89373
  () => r.game,
89358
89374
  (x, b) => {
89359
- x && x.gameId !== z ? (a.value.clear(), z = x.gameId, i(), s(x.gameId, x.is_live && x.game_status === 4)) : x && x.is_live && !b.is_live ? s(x.gameId, !0) : x && !x.is_live && b.is_live && i();
89375
+ x && x.gameId !== z ? (a.value.clear(), z = x.gameId, i(), s(x.gameId, x.is_live && x.game_status === 4)) : x && x.is_live && (!b || !b.is_live) ? s(x.gameId, !0) : x && !x.is_live && b.is_live && i();
89360
89376
  },
89361
89377
  { deep: !0, immediate: !0 }
89362
89378
  ), Qn(
@@ -89550,7 +89566,7 @@ const lx = (e) => (xr("data-v-636d447b"), e = e(), wr(), e), h4t = { class: "too
89550
89566
  ], 2)
89551
89567
  ], 64));
89552
89568
  }
89553
- }, G4t = /* @__PURE__ */ po(U4t, [["__scopeId", "data-v-636d447b"]]);
89569
+ }, G4t = /* @__PURE__ */ po(U4t, [["__scopeId", "data-v-510b64d7"]]);
89554
89570
  const H4t = { class: "toggle-buttons__background" }, W4t = ["onClick"], q4t = {
89555
89571
  key: 0,
89556
89572
  class: "toggle-buttons__button__img"
@@ -96260,11 +96276,11 @@ const _Ct = { class: "dropdown" }, bCt = { class: "selected-item" }, xCt = {
96260
96276
  },
96261
96277
  setup(e) {
96262
96278
  const n = e, r = Gy(
96263
- () => import("./FilterSubcategories-92dfe0dc-9041e395.js")
96279
+ () => import("./FilterSubcategories-92dfe0dc-1b8379cf.js")
96264
96280
  ), P = Gy(
96265
- () => import("./FilterConditions-67a56ee9-bb274e3f.js")
96281
+ () => import("./FilterConditions-67a56ee9-f1f2815e.js")
96266
96282
  ), z = Gy(
96267
- () => import("./FilterField-1d2345af-072a5f2d.js")
96283
+ () => import("./FilterField-1d2345af-fc054644.js")
96268
96284
  ), l = [
96269
96285
  {
96270
96286
  name: "Sub categorías",
@@ -217795,7 +217811,7 @@ const HE = {
217795
217811
  default: 0
217796
217812
  },
217797
217813
  filtersProp: {
217798
- type: Object,
217814
+ type: [Object, String],
217799
217815
  default: () => {
217800
217816
  }
217801
217817
  },
@@ -217840,7 +217856,7 @@ const HE = {
217840
217856
  default: 0
217841
217857
  },
217842
217858
  borderRadius: { type: String, default: "8px" },
217843
- borderWidth: { type: String, default: "2px" },
217859
+ borderWidth: { type: [String, Number], default: "2px" },
217844
217860
  borderColor: { type: String, default: "#cfcfcf" },
217845
217861
  backgroundOdd: { type: String, default: "#172531" },
217846
217862
  backgroundEven: { type: String, default: "#0d1d29" },
@@ -217857,12 +217873,14 @@ const HE = {
217857
217873
  season: {
217858
217874
  immediate: !1,
217859
217875
  async handler(e) {
217860
- e && (this.playersInfo = {}, this.teamInfo = {}, this.isloading = !0, this.formatFilterStats = [], await this.getCategoryStats(this.season));
217876
+ e && (this.playersInfo = {}, this.teamInfo = {}, this.isloading = !0, this.formatFilterStats = [], await this.getCategoryStats(this.season), this.game.is_live && (this.intervalIdtops = setInterval(async () => {
217877
+ await this.getCategoryStats(this.season);
217878
+ }, this.timeLiveComparativeAvanced), this.$emit("intervalidtops", this.intervalIdtops)));
217861
217879
  }
217862
217880
  },
217863
217881
  typeData: {
217864
- immediate: !1,
217865
- async handler(e) {
217882
+ immediate: !0,
217883
+ async handler() {
217866
217884
  await this.getCategoryStats(this.season);
217867
217885
  }
217868
217886
  },
@@ -218274,7 +218292,7 @@ const HE = {
218274
218292
  let l = {};
218275
218293
  if (this.typeData == 1 ? this.isWidget && this.teamWidget != 0 ? l = await z.get(
218276
218294
  this.url + "/" + this.gameId + "/" + this.category + "?t=" + this.teamWidget
218277
- ) : l = await z.get(this.url + "/" + this.gameId + "/" + this.category) : this.game.game_status == 1 ? this.isWidget && this.teamWidget != 0 ? l = await z.get(
218295
+ ) : l = await z.get(this.url + "/" + this.gameId + "/" + this.category) : this.game.game_status === 1 ? this.isWidget && this.teamWidget != 0 ? l = await z.get(
218278
218296
  this.url + "/" + this.gameId + "/" + this.category + "?acc=1&t=" + this.teamWidget
218279
218297
  ) : l = await z.get(
218280
218298
  this.url + "/" + this.gameId + "/" + this.category + "?acc=1"
@@ -218388,27 +218406,18 @@ const HE = {
218388
218406
  });
218389
218407
  }
218390
218408
  },
218391
- async created() {
218392
- try {
218393
- await this.getCategoryStats(this.season), this.game.is_live == 1 && (this.intervalIdtops = setInterval(async () => {
218394
- await this.getCategoryStats(this.season);
218395
- }, this.timeLiveComparativeAvanced), this.$emit("intervalidtops", this.intervalIdtops));
218396
- } catch (e) {
218397
- throw new Error(e);
218398
- }
218399
- },
218400
- beforeDestroy() {
218409
+ beforeUnmount() {
218401
218410
  clearInterval(this.intervalIdtops);
218402
218411
  }
218403
218412
  }, dN = () => {
218404
218413
  Yr((e) => ({
218405
- "722e1722": e.borderRadius,
218406
- "06b4b649": e.borderWidth,
218407
- "059db7e6": e.borderColor
218414
+ "7270acad": e.borderRadius,
218415
+ "6f55fe4b": e.borderWidth,
218416
+ "6e3effe8": e.borderColor
218408
218417
  }));
218409
218418
  }, hN = HE.setup;
218410
218419
  HE.setup = hN ? (e, n) => (dN(), hN(e, n)) : dN;
218411
- const X6 = (e) => (xr("data-v-b03f49c8"), e = e(), wr(), e), mUt = { ref: "myDivRef" }, gUt = { class: "btnViewFullList" }, yUt = { class: "text" }, vUt = { class: "groupsLeague" }, _Ut = { class: "row-table-carrousel" }, bUt = {
218420
+ const X6 = (e) => (xr("data-v-43d490e8"), e = e(), wr(), e), mUt = { ref: "myDivRef" }, gUt = { class: "btnViewFullList" }, yUt = { class: "text" }, vUt = { class: "groupsLeague" }, _Ut = { class: "row-table-carrousel" }, bUt = {
218412
218421
  key: 1,
218413
218422
  class: "container-no-search-result"
218414
218423
  }, xUt = {
@@ -218657,7 +218666,7 @@ function AUt(e, n, r, P, z, l) {
218657
218666
  ], 512)
218658
218667
  ], 2);
218659
218668
  }
218660
- const MUt = /* @__PURE__ */ po(HE, [["render", AUt], ["__scopeId", "data-v-b03f49c8"]]), EUt = (e, n) => {
218669
+ const MUt = /* @__PURE__ */ po(HE, [["render", AUt], ["__scopeId", "data-v-43d490e8"]]), EUt = (e, n) => {
218661
218670
  const r = e.__vccOpts || e;
218662
218671
  for (const [P, z] of n)
218663
218672
  r[P] = z;
@@ -222263,9 +222272,8 @@ function uWt(e, n, r, P, z, l) {
222263
222272
  "filter-team": r.teamselect,
222264
222273
  key: z.updateTables,
222265
222274
  onClickprofile: l.clickprofile,
222266
- onSetopenmedia: l.setOpenMedia,
222267
- onComponentLoaded: e.onComponentLoaded
222268
- }, null, 8, ["is-widget", "team-widget", "time-live-comparative-avanced", "is-team", "onMore", "onIntervalidtops", "can-play-videos", "game-id", "game", "typeData", "filters-prop", "category", "type-table", "categoryName", "season", "filter-team", "onClickprofile", "onSetopenmedia", "onComponentLoaded"]))
222275
+ onSetopenmedia: l.setOpenMedia
222276
+ }, null, 8, ["is-widget", "team-widget", "time-live-comparative-avanced", "is-team", "onMore", "onIntervalidtops", "can-play-videos", "game-id", "game", "typeData", "filters-prop", "category", "type-table", "categoryName", "season", "filter-team", "onClickprofile", "onSetopenmedia"]))
222269
222277
  ], 2), [
222270
222278
  [
222271
222279
  Cr,
@@ -232189,11 +232197,11 @@ const daa = { class: "dropdown" }, haa = { class: "selected-item" }, paa = {
232189
232197
  },
232190
232198
  setup(e) {
232191
232199
  const n = e, r = Gy(
232192
- () => import("./FilterSubcategories-92dfe0dc-kpy809mL-ab1025d7.js")
232200
+ () => import("./FilterSubcategories-92dfe0dc-kpy809mL-b246bab0.js")
232193
232201
  ), P = Gy(
232194
- () => import("./FilterConditions-67a56ee9-DJHnVsu6-12629c19.js")
232202
+ () => import("./FilterConditions-67a56ee9-DJHnVsu6-c23c2991.js")
232195
232203
  ), z = Gy(
232196
- () => import("./FilterField-1d2345af-DKrCxsxc-2ea56ea0.js")
232204
+ () => import("./FilterField-1d2345af-DKrCxsxc-ff312fe7.js")
232197
232205
  ), l = [
232198
232206
  {
232199
232207
  name: "Sub categorías",
@@ -340792,7 +340800,7 @@ const V_a = pc({
340792
340800
  p.value = xe.is_captured, a.value = xe.is_female, k.value = xe.is_captured !== 0, l.value.id !== xe.id && (l.value = xe, P.commit("gameGlobal/setTournamentType", xe.tournament_type));
340793
340801
  }
340794
340802
  function ke(xe) {
340795
- !xe.auxwidget && Te.value && !Te.value.canPrivilegesTeamPlayVideos || ((g.value.is_live || g.value.game_status === 0) && (xe.liveGameConfig = {
340803
+ !xe.auxwidget && Te.value && !Te.value.canPrivilegesTeamPlayVideos || ((g.value.is_live || g.value.game_status === 0 || g.value.game_status === 1) && (xe.gameIdsToFilter = [g.value.game_id]), (g.value.is_live || g.value.game_status === 0) && (xe.liveGameConfig = {
340796
340804
  gameId: g.value.game_id
340797
340805
  }), n("openmedia", xe));
340798
340806
  }
@@ -341043,7 +341051,7 @@ const V_a = pc({
341043
341051
  ])
341044
341052
  ], 512));
341045
341053
  }
341046
- }), yxa = /* @__PURE__ */ po(U_a, [["__scopeId", "data-v-189c7690"]]);
341054
+ }), yxa = /* @__PURE__ */ po(U_a, [["__scopeId", "data-v-5c237f88"]]);
341047
341055
  async function Ph({ url: e, options: n = {}, retries: r = 3 }) {
341048
341056
  return await Au.get(e, n).then((P) => P).catch((P) => r > 0 ? Ph({ url: e, options: n, retries: r - 1 }) : P);
341049
341057
  }