@golstats/gsc-game-data 1.0.243 → 1.0.245

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.
@@ -11348,7 +11348,7 @@ const Gle = {
11348
11348
  };
11349
11349
  },
11350
11350
  series() {
11351
- return this.showLiveData ? this.dataLive.map((a, r) => ({
11351
+ return (this.gameForAnalysis.is_live || this.gameForAnalysis.game_status === 0) && this.showLiveData ? this.dataLive.map((a, r) => ({
11352
11352
  name: this.teamAcronyms[r],
11353
11353
  data: a
11354
11354
  })) : this.dataStats.map((a, r) => ({
@@ -11446,7 +11446,7 @@ const Gle = {
11446
11446
  return this.containerWidth - this.containerWidth % 50;
11447
11447
  },
11448
11448
  key() {
11449
- return this.showLiveData ? 1 : 2;
11449
+ return (this.gameForAnalysis.is_live || this.gameForAnalysis.game_status === 0) && this.showLiveData ? 1 : 2;
11450
11450
  }
11451
11451
  },
11452
11452
  watch: {
@@ -11520,7 +11520,7 @@ function Wle(e, a, r, P, z, l) {
11520
11520
  }, null, 8, ["options", "series"]))
11521
11521
  ], 512);
11522
11522
  }
11523
- const qle = /* @__PURE__ */ po(Gle, [["render", Wle], ["__scopeId", "data-v-c7837e23"]]), Yle = (e, a) => {
11523
+ const qle = /* @__PURE__ */ po(Gle, [["render", Wle], ["__scopeId", "data-v-07792768"]]), Yle = (e, a) => {
11524
11524
  const r = e.__vccOpts || e;
11525
11525
  for (const [P, z] of a)
11526
11526
  r[P] = z;
@@ -16550,7 +16550,7 @@ function x0e(e, a, r, P, z, l) {
16550
16550
  ], 512);
16551
16551
  }
16552
16552
  const w0e = /* @__PURE__ */ po(v0e, [["render", x0e], ["__scopeId", "data-v-12759086"]]);
16553
- const JS = (e) => (xr("data-v-556acf41"), e = e(), wr(), e), k0e = { class: "statistics-main" }, T0e = { class: "statistics-main__header" }, C0e = { class: "statistics-main__header__filter" }, S0e = {
16553
+ const JS = (e) => (xr("data-v-081beab5"), e = e(), wr(), e), k0e = { class: "statistics-main" }, T0e = { class: "statistics-main__header" }, C0e = { class: "statistics-main__header__filter" }, S0e = {
16554
16554
  key: 0,
16555
16555
  class: "statistics-main__header__live-switch"
16556
16556
  }, A0e = /* @__PURE__ */ JS(() => /* @__PURE__ */ le("div", null, "Este partido", -1)), M0e = /* @__PURE__ */ JS(() => /* @__PURE__ */ le("div", null, "Acumulado", -1)), E0e = { class: "statistics-main__header__info" }, I0e = /* @__PURE__ */ JS(() => /* @__PURE__ */ le("br", null, null, -1)), P0e = pc({
@@ -16651,7 +16651,7 @@ const JS = (e) => (xr("data-v-556acf41"), e = e(), wr(), e), k0e = { class: "sta
16651
16651
  () => r.game,
16652
16652
  (u) => {
16653
16653
  const c = { ...u };
16654
- p.value = !(r.game.is_live || r.game.game_status === 0), r.game.is_live || $S(), h(c), n.value++;
16654
+ r.game.is_live || $S(), h(c), n.value++;
16655
16655
  },
16656
16656
  { deep: !0, immediate: !0 }
16657
16657
  ), Qn(
@@ -16770,7 +16770,7 @@ const JS = (e) => (xr("data-v-556acf41"), e = e(), wr(), e), k0e = { class: "sta
16770
16770
  ]))
16771
16771
  ]));
16772
16772
  }
16773
- }), L0e = /* @__PURE__ */ po(O0e, [["__scopeId", "data-v-556acf41"]]);
16773
+ }), L0e = /* @__PURE__ */ po(O0e, [["__scopeId", "data-v-081beab5"]]);
16774
16774
  function WU(e, a) {
16775
16775
  return function() {
16776
16776
  return e.apply(a, arguments);
@@ -89936,7 +89936,7 @@ const VE = (e) => (xr("data-v-cb12065f"), e = e(), wr(), e), Y6t = { class: "too
89936
89936
  fill: "#fff",
89937
89937
  "font-family": "'Poppins-SemiBold', sans-serif",
89938
89938
  style: Qa({ opacity: P.value })
89939
- }, Wt(e.eventConnection.player.jersey), 13, x8t)
89939
+ }, Wt(e.eventConnection.player ? e.eventConnection.player.jersey : ""), 13, x8t)
89940
89940
  ], 36), [
89941
89941
  [Sr, z.value]
89942
89942
  ])
@@ -89954,14 +89954,13 @@ const VE = (e) => (xr("data-v-cb12065f"), e = e(), wr(), e), Y6t = { class: "too
89954
89954
  default: 0
89955
89955
  }
89956
89956
  },
89957
- emits: ["click-event", "mouse-over-event"],
89958
- setup(e, { emit: a }) {
89959
- const r = e, P = En(() => r.eventConnections.getEventsConnectionsByEventType()), z = En(() => r.eventConnections.getTeamColor());
89960
- return (l, f) => (je(!0), qe(xa, null, ar(P.value, (t, g) => (je(), jn(w8t, {
89961
- key: t.id,
89962
- color: z.value,
89963
- "is-last-event": g === P.value.length - 1,
89964
- "event-connection": t,
89957
+ setup(e) {
89958
+ const a = e, r = En(() => a.eventConnections.getEventsConnectionsByEventType()), P = En(() => a.eventConnections.getTeamColor());
89959
+ return (z, l) => (je(!0), qe(xa, null, ar(r.value, (f, t) => (je(), jn(w8t, {
89960
+ key: f.id,
89961
+ color: P.value,
89962
+ "is-last-event": t === r.value.length - 1,
89963
+ "event-connection": f,
89965
89964
  "main-event-id-selected": e.mainEventIdSelected
89966
89965
  }, null, 8, ["color", "is-last-event", "event-connection", "main-event-id-selected"]))), 128));
89967
89966
  }
@@ -96527,11 +96526,11 @@ const IAt = { class: "dropdown" }, PAt = { class: "selected-item" }, OAt = {
96527
96526
  },
96528
96527
  setup(e) {
96529
96528
  const a = e, r = Zy(
96530
- () => import("./FilterSubcategories-0a921721-ac43004e.js")
96529
+ () => import("./FilterSubcategories-0a921721-245c36fc.js")
96531
96530
  ), P = Zy(
96532
- () => import("./FilterConditions-d48a19d8-c4990767.js")
96531
+ () => import("./FilterConditions-d48a19d8-5380efc0.js")
96533
96532
  ), z = Zy(
96534
- () => import("./FilterField-f0b75cf7-37ea8e50.js")
96533
+ () => import("./FilterField-f0b75cf7-e3c79d01.js")
96535
96534
  ), l = [
96536
96535
  {
96537
96536
  name: "Sub categorías",
@@ -102250,7 +102249,7 @@ const tDt = /* @__PURE__ */ new Map([
102250
102249
  [1, aDt],
102251
102250
  [2, nDt]
102252
102251
  ]);
102253
- const gy = (e) => (xr("data-v-7bac010e"), e = e(), wr(), e), iDt = { class: "chalkboard-section-container" }, oDt = {
102252
+ const gy = (e) => (xr("data-v-1c485ade"), e = e(), wr(), e), iDt = { class: "chalkboard-section-container" }, oDt = {
102254
102253
  key: 0,
102255
102254
  class: "chalkboard-section-container__pre-match-header"
102256
102255
  }, sDt = {
@@ -102362,7 +102361,7 @@ const gy = (e) => (xr("data-v-7bac010e"), e = e(), wr(), e), iDt = { class: "cha
102362
102361
  { immediate: !0, deep: !0 }
102363
102362
  );
102364
102363
  function L() {
102365
- return c.value && l.value && r.playVideosPrivileges && r.playVideosPrivileges.playVideosPrivileges && l.value.teamId === r.playVideosPrivileges.seasonAndPrivileges.teamId ? c.value.reduce((he, pe) => {
102364
+ return c.value && l.value && r.playVideosPrivileges && r.playVideosPrivileges.seasonAndPrivileges && l.value.teamId === r.playVideosPrivileges.seasonAndPrivileges.teamId ? c.value.reduce((he, pe) => {
102366
102365
  if (pe.home_team === l.value.teamId || pe.visiting_team === l.value.teamId) {
102367
102366
  const me = pe.home_team === l.value.teamId ? 1 : 2;
102368
102367
  r.playVideosPrivileges.seasonAndPrivileges.playingAs.has(me) && he++;
@@ -102761,7 +102760,7 @@ const gy = (e) => (xr("data-v-7bac010e"), e = e(), wr(), e), iDt = { class: "cha
102761
102760
  ])
102762
102761
  ]));
102763
102762
  }
102764
- }, TDt = /* @__PURE__ */ po(kDt, [["__scopeId", "data-v-7bac010e"]]);
102763
+ }, TDt = /* @__PURE__ */ po(kDt, [["__scopeId", "data-v-1c485ade"]]);
102765
102764
  var hJ = { exports: {} };
102766
102765
  (function(e, a) {
102767
102766
  /*! For license information please see plotly.min.js.LICENSE.txt */
@@ -232451,11 +232450,11 @@ const Rna = { class: "dropdown" }, zna = { class: "selected-item" }, Bna = {
232451
232450
  },
232452
232451
  setup(e) {
232453
232452
  const a = e, r = Zy(
232454
- () => import("./FilterSubcategories-0a921721-Da8PVP1K-92e01978.js")
232453
+ () => import("./FilterSubcategories-0a921721-Da8PVP1K-12fd76f1.js")
232455
232454
  ), P = Zy(
232456
- () => import("./FilterConditions-d48a19d8-BaOW8wbz-f111ff88.js")
232455
+ () => import("./FilterConditions-d48a19d8-BaOW8wbz-007b1a33.js")
232457
232456
  ), z = Zy(
232458
- () => import("./FilterField-f0b75cf7-Dt2ZN6_r-4f36f6b0.js")
232457
+ () => import("./FilterField-f0b75cf7-Dt2ZN6_r-52868d8f.js")
232459
232458
  ), l = [
232460
232459
  {
232461
232460
  name: "Sub categorías",
@@ -343258,9 +343257,6 @@ const Rxa = Nse(), zxa = [
343258
343257
  updateShowLiveData(e, a) {
343259
343258
  e.showLiveData = a;
343260
343259
  },
343261
- toggleShowLiveData(e) {
343262
- e.showLiveData = !e.showLiveData;
343263
- },
343264
343260
  toggleAdvanceFilter(e) {
343265
343261
  e.showAdvanceFilter = !e.showAdvanceFilter;
343266
343262
  },
@@ -343843,7 +343839,7 @@ const Rxa = Nse(), zxa = [
343843
343839
  // eslint-disable-next-line no-unused-vars
343844
343840
  exitChannel({ state: e, getters: a, rootState: r, rootGetters: P, commit: z }) {
343845
343841
  const l = P["loginGeneral/getPremiumAccount"];
343846
- a.isLive && l && (z("updateShowLiveData", !1), z("clearLiveTotals"), e.livePlays.clear(), Rxa.emit("unsubscribe", {
343842
+ a.isLive && l && (z("updateShowLiveData", !0), z("clearLiveTotals"), e.livePlays.clear(), Rxa.emit("unsubscribe", {
343847
343843
  channel: `game.${e.gameForAnalysis.game_id}.v2`
343848
343844
  }));
343849
343845
  },