@golstats/gsc-game-data 1.0.300 → 1.0.302

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.
@@ -67417,11 +67417,11 @@ const nXe = { class: "dropdown" }, rXe = { class: "selected-item" }, aXe = {
67417
67417
  },
67418
67418
  setup(e) {
67419
67419
  const h = e, p = Ig(
67420
- () => import("./FilterSubcategories-4bc20b72-e4a4bce9.js")
67420
+ () => import("./FilterSubcategories-4bc20b72-fcad2884.js")
67421
67421
  ), D = Ig(
67422
- () => import("./FilterConditions-8968e395-d4e2f31f.js")
67422
+ () => import("./FilterConditions-8968e395-6b550867.js")
67423
67423
  ), q = Ig(
67424
- () => import("./FilterField-ef44bc20-f50b2dc6.js")
67424
+ () => import("./FilterField-ef44bc20-e875be95.js")
67425
67425
  ), x = [
67426
67426
  {
67427
67427
  name: "Sub categorías",
@@ -203449,11 +203449,11 @@ const Xxt = { class: "dropdown" }, Zxt = { class: "selected-item" }, Jxt = {
203449
203449
  },
203450
203450
  setup(e) {
203451
203451
  const h = e, p = Ig(
203452
- () => import("./FilterSubcategories-92dfe0dc-DaoB77-Y-1ab72da2.js")
203452
+ () => import("./FilterSubcategories-92dfe0dc-BxsguvYJ-09739a9b.js")
203453
203453
  ), D = Ig(
203454
- () => import("./FilterConditions-67a56ee9-CCPuUhk1-3258e9d3.js")
203454
+ () => import("./FilterConditions-67a56ee9-DBtqCSYy-0cb9f61a.js")
203455
203455
  ), q = Ig(
203456
- () => import("./FilterField-1d2345af-BeTZvDSC-49b40c86.js")
203456
+ () => import("./FilterField-1d2345af-C2C9vdHz-1891603c.js")
203457
203457
  ), x = [
203458
203458
  {
203459
203459
  name: "Sub categorías",
@@ -213164,7 +213164,7 @@ const bSt = /* @__PURE__ */ uSt(vT, [["render", _St], ["__scopeId", "data-v-fb26
213164
213164
  ])
213165
213165
  ]));
213166
213166
  }
213167
- }, qSt = /* @__PURE__ */ Xc(WSt, [["__scopeId", "data-v-7d965f0f"]]), _T = (e) => (Ia("data-v-f86c758e"), e = e(), La(), e), YSt = /* @__PURE__ */ _T(() => /* @__PURE__ */ ye("defs", null, [
213167
+ }, qSt = /* @__PURE__ */ Xc(WSt, [["__scopeId", "data-v-7d965f0f"]]), _T = (e) => (Ia("data-v-d03899c6"), e = e(), La(), e), YSt = /* @__PURE__ */ _T(() => /* @__PURE__ */ ye("defs", null, [
213168
213168
  /* @__PURE__ */ ye("marker", {
213169
213169
  id: "arrowPlayerPosition",
213170
213170
  markerWidth: "10",
@@ -213225,7 +213225,7 @@ const bSt = /* @__PURE__ */ uSt(vT, [["render", _St], ["__scopeId", "data-v-fb26
213225
213225
  },
213226
213226
  emits: ["player-position-click"],
213227
213227
  setup(e, { emit: h }) {
213228
- const p = e, D = h, q = Ir(() => p.teamIdForAnalysis === p.playerPosition.teamId ? "#336DFF" : "#CBEE6B"), x = Ir(() => p.teamIdForAnalysis === p.playerPosition.teamId ? "#FFFFFF" : "#183143"), v = Ir(() => y(p.playerPosition)), t = Ir(() => g(p.playerPosition, v.value)), m = Ir(() => p.playerPosition.finalPlayerPosition ? y(p.playerPosition.finalPlayerPosition) : null), d = Ir(() => p.playerPosition.finalPlayerPosition ? g(p.playerPosition.finalPlayerPosition, m.value) : null);
213228
+ const p = e, D = h, q = Ir(() => p.playerPosition.isHomeTeam ? "#336DFF" : "#CBEE6B"), x = Ir(() => p.playerPosition.isHomeTeam ? "#FFFFFF" : "#183143"), v = Ir(() => y(p.playerPosition)), t = Ir(() => g(p.playerPosition, v.value)), m = Ir(() => p.playerPosition.finalPlayerPosition ? y(p.playerPosition.finalPlayerPosition) : null), d = Ir(() => p.playerPosition.finalPlayerPosition ? g(p.playerPosition.finalPlayerPosition, m.value) : null);
213229
213229
  function n(c) {
213230
213230
  D("player-position-click", {
213231
213231
  event: c,
@@ -213286,7 +213286,7 @@ const bSt = /* @__PURE__ */ uSt(vT, [["render", _St], ["__scopeId", "data-v-fb26
213286
213286
  ], 8, ZSt)) : Xt("", !0)
213287
213287
  ], 64)) : Xt("", !0);
213288
213288
  }
213289
- }, nCt = /* @__PURE__ */ Xc(tCt, [["__scopeId", "data-v-f86c758e"]]), jj = 481, rCt = 606, Vj = 210, aCt = Vj * 2, iCt = 88, oCt = rCt - jj, sCt = oCt / Vj, e5 = 18;
213289
+ }, nCt = /* @__PURE__ */ Xc(tCt, [["__scopeId", "data-v-d03899c6"]]), jj = 481, rCt = 606, Vj = 210, aCt = Vj * 2, iCt = 88, oCt = rCt - jj, sCt = oCt / Vj, e5 = 18;
213290
213290
  function F_(e) {
213291
213291
  return e * aCt;
213292
213292
  }
@@ -213402,7 +213402,7 @@ const lCt = /* @__PURE__ */ ye("defs", null, [
213402
213402
  }
213403
213403
  return (t, m) => (Je(), nt(Dn, null, [
213404
213404
  lCt,
213405
- e.playConnection.isTeamForAnalysis ? (Je(), nt("svg", {
213405
+ e.playConnection.isHomeTeam ? (Je(), nt("svg", {
213406
213406
  key: 0,
213407
213407
  x: D.value - 13,
213408
213408
  y: p.value - 35,
@@ -213733,7 +213733,7 @@ function GCt() {
213733
213733
  const D_ = {
213734
213734
  TO_RIGHT: "toRight",
213735
213735
  TO_LEFT: "toLeft"
213736
- }, Tu = (e) => (Ia("data-v-b9f1f462"), e = e(), La(), e), HCt = { class: "modal-confirmation" }, WCt = { class: "modal-confirmation__container" }, qCt = { class: "modal-confirmation__title" }, YCt = { class: "modal-confirmation" }, XCt = { class: "modal-confirmation__container" }, ZCt = { class: "modal-confirmation__title" }, JCt = {
213736
+ }, Tu = (e) => (Ia("data-v-b78c1e2a"), e = e(), La(), e), HCt = { class: "modal-confirmation" }, WCt = { class: "modal-confirmation__container" }, qCt = { class: "modal-confirmation__title" }, YCt = { class: "modal-confirmation" }, XCt = { class: "modal-confirmation__container" }, ZCt = { class: "modal-confirmation__title" }, JCt = {
213737
213737
  key: 0,
213738
213738
  class: "title-movil-title"
213739
213739
  }, KCt = { class: "specific-plays-titlecontainer" }, QCt = { class: "specific-plays-title" }, eAt = {
@@ -214210,7 +214210,7 @@ const D_ = {
214210
214210
  }
214211
214211
  function V(he, me, be, we) {
214212
214212
  he && he.forEach((xe) => {
214213
- xe.attackDirection = we.get(xe.playId).mainPlay.attackDirection, xe.player = me.get(xe.playerId) || be.get(xe.playerId);
214213
+ xe.isHomeTeam = xe.teamId === D.game.home_team, xe.attackDirection = we.get(xe.playId).mainPlay.attackDirection, xe.player = me.get(xe.playerId) || be.get(xe.playerId);
214214
214214
  });
214215
214215
  }
214216
214216
  function X(he, me) {
@@ -214407,7 +214407,7 @@ const D_ = {
214407
214407
  (Te) => Te.team_id !== D.teamIdForAnalysis
214408
214408
  ));
214409
214409
  const Ae = me.data.data.reduce((Te, ke) => {
214410
- const ge = ke.reduce((De, Be, Ue) => (De[x[Ue]] = Be, De), {}), fe = ge.playId === ge.relatedPlayId, Ee = Te.get(ge.relatedPlayId), Se = ge.momentOfPlay.split(":"), Fe = j(Se);
214410
+ const ge = ke.reduce((De, Be, Ue) => (De[x[Ue]] = Be, De.isHomeTeam = De.teamId === he.home_team, De), {}), fe = ge.playId === ge.relatedPlayId, Ee = Te.get(ge.relatedPlayId), Se = ge.momentOfPlay.split(":"), Fe = j(Se);
214411
214411
  return ge.player = we.get(ge.playerId) || xe.get(ge.playerId), ge.isTeamForAnalysis = ge.teamId === D.teamIdForAnalysis, fe && (ge.attackDirection = i.value.get(
214412
214412
  ge.matchLapse
214413
214413
  ), be.set(ge.playId, Fe)), Ee ? fe ? Ee.mainPlay = ge : Ee.relatedPlays.length < SMt && (Ee.relatedPlays.push(ge), Ee.relatedPlays.length > 1 && Ee.relatedPlays.sort((De, Be) => De.touchOrder - Be.touchOrder)) : Te.set(ge.playId, {
@@ -214843,7 +214843,7 @@ const D_ = {
214843
214843
  ], 2)
214844
214844
  ], 64));
214845
214845
  }
214846
- }, AMt = /* @__PURE__ */ Xc(CMt, [["__scopeId", "data-v-b9f1f462"]]), MMt = {
214846
+ }, AMt = /* @__PURE__ */ Xc(CMt, [["__scopeId", "data-v-b78c1e2a"]]), MMt = {
214847
214847
  components: { GSCRadioToggle: mT },
214848
214848
  props: {},
214849
214849
  data() {