@golstats/gsc-game-data 1.1.42 → 1.1.43

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.
@@ -75643,11 +75643,11 @@ const jit = { class: "dropdown" }, Vit = { class: "selected-item" }, Uit = {
75643
75643
  },
75644
75644
  setup(e) {
75645
75645
  const r = e, o = Rv(
75646
- () => import("./FilterSubcategories-b2a3e96e-90356213.js")
75646
+ () => import("./FilterSubcategories-b2a3e96e-697bf2da.js")
75647
75647
  ), E = Rv(
75648
- () => import("./FilterConditions-888b9405-338fcc21.js")
75648
+ () => import("./FilterConditions-888b9405-bb35f834.js")
75649
75649
  ), U = Rv(
75650
- () => import("./FilterField-81087d89-f9b9f3af.js")
75650
+ () => import("./FilterField-81087d89-26e3ffe5.js")
75651
75651
  ), f = [
75652
75652
  {
75653
75653
  name: "Sub categorías",
@@ -229379,11 +229379,11 @@ const Ozt = { class: "dropdown" }, Dzt = { class: "selected-item" }, zzt = {
229379
229379
  },
229380
229380
  setup(e) {
229381
229381
  const r = e, o = Rv(
229382
- () => import("./FilterSubcategories-b2a3e96e-F_O1jFfM-805cc373.js")
229382
+ () => import("./FilterSubcategories-b2a3e96e-B3oNm-PB-5ea35708.js")
229383
229383
  ), E = Rv(
229384
- () => import("./FilterConditions-888b9405-CTWuM8ST-fc278316.js")
229384
+ () => import("./FilterConditions-888b9405-EUx577RV-b2edff48.js")
229385
229385
  ), U = Rv(
229386
- () => import("./FilterField-81087d89-COcMS_q6-e58757e6.js")
229386
+ () => import("./FilterField-81087d89-D_err0r8-b969160a.js")
229387
229387
  ), f = [
229388
229388
  {
229389
229389
  name: "Sub categorías",
@@ -235829,6 +235829,14 @@ const AGt = {
235829
235829
  },
235830
235830
  computed: {},
235831
235831
  methods: {
235832
+ // El logo del torneo estaba fijo a `golstats2-tournaments/<id>.png`, un contenedor que solo
235833
+ // existe para GolStats (provider 1); en Opta la imagen no esta ahi y salia rota. Mismo patron
235834
+ // que ya usa gsc-strengths: para provider >= 2 el proveedor va DESPUES del contenedor
235835
+ // (`tournaments/<provider>/<id>.png`), porque Azure exige que el primer segmento sea un
235836
+ // nombre de contenedor valido y responde 400 si se antepone.
235837
+ getTournamentLogoUrl(e) {
235838
+ return this.providerId > 1 ? "https://golstatsimages.blob.core.windows.net/tournaments/" + this.providerId + "/" + e + ".png" : "https://golstatsimages.blob.core.windows.net/golstats2-tournaments/" + e + ".png";
235839
+ },
235832
235840
  async getData() {
235833
235841
  const e = this.flagRegular ? this.game.regularSeasonId : this.season, r = Jh(
235834
235842
  "https://1qvtl1japi.execute-api.us-east-2.amazonaws.com/prod/seasons/" + e + "/corners/highlights/teams/" + this.team,
@@ -235937,7 +235945,7 @@ function aHt(e, r, o, E, U, f) {
235937
235945
  fe("div", null, [
235938
235946
  Fi(" #" + oa(a.ranking) + " en la liga ", 1),
235939
235947
  fe("img", {
235940
- src: "https://golstatsimages.blob.core.windows.net/golstats2-tournaments/" + U.tournamentId + ".png"
235948
+ src: f.getTournamentLogoUrl(U.tournamentId)
235941
235949
  }, null, 8, WGt)
235942
235950
  ]),
235943
235951
  a.is_percentage ? (Qe(), rt("div", YGt, [
@@ -235960,7 +235968,7 @@ function aHt(e, r, o, E, U, f) {
235960
235968
  fe("div", null, [
235961
235969
  Fi(" #" + oa(a.ranking) + " en la liga ", 1),
235962
235970
  fe("img", {
235963
- src: "https://golstatsimages.blob.core.windows.net/golstats2-tournaments/" + U.tournamentId + ".png"
235971
+ src: f.getTournamentLogoUrl(U.tournamentId)
235964
235972
  }, null, 8, eHt)
235965
235973
  ]),
235966
235974
  a.is_percentage ? (Qe(), rt("div", tHt, [
@@ -235980,7 +235988,7 @@ function aHt(e, r, o, E, U, f) {
235980
235988
  fe("div", null, [
235981
235989
  Fi(" #" + oa(a.ranking) + " en la liga ", 1),
235982
235990
  fe("img", {
235983
- src: "https://golstatsimages.blob.core.windows.net/golstats2-tournaments/" + U.tournamentId + ".png"
235991
+ src: f.getTournamentLogoUrl(U.tournamentId)
235984
235992
  }, null, 8, OGt)
235985
235993
  ]),
235986
235994
  a.is_percentage ? (Qe(), rt("div", DGt, [
@@ -236000,7 +236008,7 @@ function aHt(e, r, o, E, U, f) {
236000
236008
  fe("div", null, [
236001
236009
  Fi(" #" + oa(a.ranking) + " en la liga ", 1),
236002
236010
  fe("img", {
236003
- src: "https://golstatsimages.blob.core.windows.net/golstats2-tournaments/" + U.tournamentId + ".png"
236011
+ src: f.getTournamentLogoUrl(U.tournamentId)
236004
236012
  }, null, 8, jGt)
236005
236013
  ]),
236006
236014
  a.is_percentage ? (Qe(), rt("div", VGt, [
@@ -236020,7 +236028,7 @@ function aHt(e, r, o, E, U, f) {
236020
236028
  ], 2)
236021
236029
  ], 2);
236022
236030
  }
236023
- const iHt = /* @__PURE__ */ Gu(AGt, [["render", aHt], ["__scopeId", "data-v-40b28355"]]), rHt = {
236031
+ const iHt = /* @__PURE__ */ Gu(AGt, [["render", aHt], ["__scopeId", "data-v-5c385630"]]), rHt = {
236024
236032
  key: 0,
236025
236033
  width: " 19",
236026
236034
  height: "19",