@golstats/gsc-landing 1.0.18 → 1.0.19

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.
@@ -8889,7 +8889,7 @@ const dB = (e, t) => {
8889
8889
  for (const [a, n] of t)
8890
8890
  i[a] = n;
8891
8891
  return i;
8892
- }, uB = (e) => (gt("data-v-786335f9"), e = e(), yt(), e), hB = { class: "gsc-carousel" }, pB = { key: 0 }, mB = /* @__PURE__ */ uB(() => /* @__PURE__ */ m("div", null, "no hay", -1)), fB = [
8892
+ }, uB = (e) => (gt("data-v-295ffea1"), e = e(), yt(), e), hB = { class: "gsc-carousel" }, pB = { key: 0 }, mB = /* @__PURE__ */ uB(() => /* @__PURE__ */ m("div", null, "no hay", -1)), fB = [
8893
8893
  mB
8894
8894
  ], gB = { class: "gsc-carousel__2d__slides" }, yB = {
8895
8895
  width: "9",
@@ -9019,11 +9019,11 @@ const dB = (e, t) => {
9019
9019
  setup(e, { expose: t, emit: i }) {
9020
9020
  const a = e;
9021
9021
  Nt((f) => ({
9022
- "1c85f8d3": e.slideLeftArrowBackgroundImage,
9023
- "02777ea1": e.slidesArrowsLeftAndRight,
9024
- "3878fa18": e.slideRightArrowBackgroundImage,
9025
- d7f8c7c4: e.marginTop,
9026
- dc571484: e.secondarySlidesOpacity
9022
+ "220e89df": e.slideLeftArrowBackgroundImage,
9023
+ "36c37615": e.slidesArrowsLeftAndRight,
9024
+ "37faeae8": e.slideRightArrowBackgroundImage,
9025
+ "1b83a9ac": e.marginTop,
9026
+ "1bdfba32": e.secondarySlidesOpacity
9027
9027
  }));
9028
9028
  const n = J(null), s = J({}), r = J(0), o = J(!1);
9029
9029
  lt(
@@ -9179,7 +9179,7 @@ const dB = (e, t) => {
9179
9179
  ], 2))
9180
9180
  ]));
9181
9181
  }
9182
- }, nI = /* @__PURE__ */ dB(xB, [["__scopeId", "data-v-786335f9"]]), AB = {
9182
+ }, nI = /* @__PURE__ */ dB(xB, [["__scopeId", "data-v-295ffea1"]]), AB = {
9183
9183
  PO1: "CFI",
9184
9184
  PO2: "CFV",
9185
9185
  PO3: "SFI",
@@ -9820,7 +9820,7 @@ const xn = (e, t) => {
9820
9820
  }, $(e.isLandingMode || e.componentWidth <= 425 ? "JOR" : "JORNADA"), 5))
9821
9821
  ], 4));
9822
9822
  }
9823
- }, qB = /* @__PURE__ */ xn(zB, [["__scopeId", "data-v-7ba462ee"]]), WB = { class: "match-day-picker" }, GB = {
9823
+ }, qB = /* @__PURE__ */ xn(zB, [["__scopeId", "data-v-d6d61722"]]), WB = { class: "match-day-picker" }, GB = {
9824
9824
  __name: "MatchDayPicker",
9825
9825
  props: {
9826
9826
  matchDays: {
@@ -9935,13 +9935,15 @@ const xn = (e, t) => {
9935
9935
  }, 16)
9936
9936
  ]));
9937
9937
  }
9938
- }, KB = /* @__PURE__ */ xn(GB, [["__scopeId", "data-v-86701f56"]]);
9938
+ }, KB = /* @__PURE__ */ xn(GB, [["__scopeId", "data-v-9f7cba2a"]]);
9939
9939
  function Sl(e, t = 80) {
9940
9940
  return `${{}.TEAM_LOGOS_URL || "https://az755631.vo.msecnd.net/teams-"}${t}/${e}.png`;
9941
9941
  }
9942
9942
  function eS(e) {
9943
- let t = e.replace("M", "J ");
9944
- return t = t.replace("PO1", "CFI"), t = t.replace("PO2", "CFV"), t = t.replace("PO3", "SFI"), t = t.replace("PO4", "SFV"), t = t.replace("PO5", "FI"), t = t.replace("PO6", "FV"), t;
9943
+ if (typeof e == "string") {
9944
+ let t = e.replace("M", "J ");
9945
+ return t = t.replace("PO1", "CFI"), t = t.replace("PO2", "CFV"), t = t.replace("PO3", "SFI"), t = t.replace("PO4", "SFV"), t = t.replace("PO5", "FI"), t = t.replace("PO6", "FV"), t;
9946
+ }
9945
9947
  }
9946
9948
  function XB(e) {
9947
9949
  let t = "";
@@ -10105,7 +10107,7 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
10105
10107
  ], 4)
10106
10108
  ], 4));
10107
10109
  }
10108
- }, tS = /* @__PURE__ */ xn(rU, [["__scopeId", "data-v-2b206f6a"]]), rI = (e) => (gt("data-v-e2fc9ed0"), e = e(), yt(), e), oU = { class: "game-status" }, lU = {
10110
+ }, tS = /* @__PURE__ */ xn(rU, [["__scopeId", "data-v-afb1954b"]]), rI = (e) => (gt("data-v-8839c56d"), e = e(), yt(), e), oU = { class: "game-status" }, lU = {
10109
10111
  key: 0,
10110
10112
  class: "game-status__day__live"
10111
10113
  }, cU = /* @__PURE__ */ rI(() => /* @__PURE__ */ m("span", null, "LIVE", -1)), dU = /* @__PURE__ */ rI(() => /* @__PURE__ */ m("span", { class: "dot" }, null, -1)), uU = [
@@ -10172,13 +10174,13 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
10172
10174
  e.isRoundMode ? j("", !0) : (T(), I("div", hU, $(e.roundAbbreviation), 1))
10173
10175
  ]));
10174
10176
  }
10175
- }, iS = /* @__PURE__ */ xn(pU, [["__scopeId", "data-v-e2fc9ed0"]]), bn = {
10177
+ }, iS = /* @__PURE__ */ xn(pU, [["__scopeId", "data-v-8839c56d"]]), bn = {
10176
10178
  SHOW_GAME_EVENTS: "SHOW_GAME_EVENTS",
10177
10179
  PLAY_GOALS: "PLAY_GOALS",
10178
10180
  PLAY_RESUME: "PLAY_RESUME",
10179
10181
  NOTIFICATION: "NOTIFICATION",
10180
10182
  STATISTICS: "STATISTICS"
10181
- }, mU = (e) => (gt("data-v-5711c5a6"), e = e(), yt(), e), fU = { class: "actions" }, gU = { class: "actions__row" }, yU = /* @__PURE__ */ mU(() => /* @__PURE__ */ m("svg", {
10183
+ }, mU = (e) => (gt("data-v-0d97b1a8"), e = e(), yt(), e), fU = { class: "actions" }, gU = { class: "actions__row" }, yU = /* @__PURE__ */ mU(() => /* @__PURE__ */ m("svg", {
10182
10184
  width: "10",
10183
10185
  height: "12",
10184
10186
  viewBox: "0 0 10 12",
@@ -10293,7 +10295,7 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
10293
10295
  ])
10294
10296
  ]));
10295
10297
  }
10296
- }, CU = /* @__PURE__ */ xn(SU, [["__scopeId", "data-v-5711c5a6"]]), Ov = (e) => (gt("data-v-1c3d5a08"), e = e(), yt(), e), kU = { class: "actions" }, IU = {
10298
+ }, CU = /* @__PURE__ */ xn(SU, [["__scopeId", "data-v-0d97b1a8"]]), Ov = (e) => (gt("data-v-837bb703"), e = e(), yt(), e), kU = { class: "actions" }, IU = {
10297
10299
  width: "13",
10298
10300
  height: "16",
10299
10301
  viewBox: "0 0 13 16",
@@ -10344,7 +10346,7 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
10344
10346
  }, RU = ["fill"], LU = {
10345
10347
  key: 1,
10346
10348
  class: "actions__videos__thumbnails"
10347
- }, NU = /* @__PURE__ */ Ov(() => /* @__PURE__ */ m("div", { class: "actions__videos__thumbnails__thumbnail__img" }, null, -1)), FU = /* @__PURE__ */ Ov(() => /* @__PURE__ */ m("div", { class: "actions__videos__thumbnails__thumbnail__img" }, null, -1)), BU = {
10349
+ }, NU = /* @__PURE__ */ Ov(() => /* @__PURE__ */ m("div", { class: "actions__videos__thumbnails__thumbnail__goals" }, null, -1)), FU = /* @__PURE__ */ Ov(() => /* @__PURE__ */ m("div", { class: "actions__videos__thumbnails__thumbnail__summary" }, null, -1)), BU = {
10348
10350
  height: 24,
10349
10351
  width: 24,
10350
10352
  viewBox: "0 0 24 24",
@@ -10513,7 +10515,7 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
10513
10515
  }, null, 2))
10514
10516
  ]));
10515
10517
  }
10516
- }, $U = /* @__PURE__ */ xn(jU, [["__scopeId", "data-v-1c3d5a08"]]), cf = (e) => (gt("data-v-1c09ec06"), e = e(), yt(), e), HU = { class: "row-landing__game-status" }, VU = { class: "row-landing__game-actions" }, zU = { class: "row-full__game-status" }, qU = { class: "row-full__game-info" }, WU = { key: 0 }, GU = { class: "row-full__game-actions" }, KU = { class: "game-events-container" }, XU = /* @__PURE__ */ cf(() => /* @__PURE__ */ m("div", { class: "separator" }, null, -1)), JU = /* @__PURE__ */ cf(() => /* @__PURE__ */ m("div", null, null, -1)), YU = { class: "game-events__data" }, QU = { class: "game-events__data__team" }, ZU = ["src"], ej = { class: "game-events__data__team__event__text" }, tj = { class: "game-events__data__team away" }, ij = { class: "game-events__data__team__event__text" }, aj = ["src"], nj = /* @__PURE__ */ cf(() => /* @__PURE__ */ m("div", null, null, -1)), sj = /* @__PURE__ */ cf(() => /* @__PURE__ */ m("div", null, null, -1)), rj = {
10518
+ }, $U = /* @__PURE__ */ xn(jU, [["__scopeId", "data-v-837bb703"]]), cf = (e) => (gt("data-v-477f842f"), e = e(), yt(), e), HU = { class: "row-landing__game-status" }, VU = { class: "row-landing__game-actions" }, zU = { class: "row-full__game-status" }, qU = { class: "row-full__game-info" }, WU = { key: 0 }, GU = { class: "row-full__game-actions" }, KU = { class: "game-events-container" }, XU = /* @__PURE__ */ cf(() => /* @__PURE__ */ m("div", { class: "separator" }, null, -1)), JU = /* @__PURE__ */ cf(() => /* @__PURE__ */ m("div", null, null, -1)), YU = { class: "game-events__data" }, QU = { class: "game-events__data__team" }, ZU = ["src"], ej = { class: "game-events__data__team__event__text" }, tj = { class: "game-events__data__team away" }, ij = { class: "game-events__data__team__event__text" }, aj = ["src"], nj = /* @__PURE__ */ cf(() => /* @__PURE__ */ m("div", null, null, -1)), sj = /* @__PURE__ */ cf(() => /* @__PURE__ */ m("div", null, null, -1)), rj = {
10517
10519
  __name: "CalendarRow",
10518
10520
  props: {
10519
10521
  isLandingMode: {
@@ -10644,7 +10646,7 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
10644
10646
  status: e.game.game_status,
10645
10647
  "is-live": !!e.game.is_live,
10646
10648
  "date-time-millis": e.game.dateTimeMillis,
10647
- "round-abbreviation": Qe(eS)(e.game.roundAbbreviation),
10649
+ "round-abbreviation": Qe(eS)(e.game.matchday_abbreviation),
10648
10650
  "is-landing-mode": e.isLandingMode,
10649
10651
  "is-round-mode": e.isRoundMode,
10650
10652
  "font-size": "10px"
@@ -10749,7 +10751,7 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
10749
10751
  })
10750
10752
  ], 4));
10751
10753
  }
10752
- }, oI = /* @__PURE__ */ xn(rj, [["__scopeId", "data-v-1c09ec06"]]), oj = { class: "calendar-table" }, lj = {
10754
+ }, oI = /* @__PURE__ */ xn(rj, [["__scopeId", "data-v-477f842f"]]), oj = { class: "calendar-table" }, lj = {
10753
10755
  __name: "CalendarTable",
10754
10756
  props: {
10755
10757
  isLandingMode: {
@@ -10806,7 +10808,7 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
10806
10808
  }, null, 8, ["game", "is-landing-mode", "height", "background-color", "component-width", "is-round-mode"]))), 128))
10807
10809
  ]));
10808
10810
  }
10809
- }, cj = /* @__PURE__ */ xn(lj, [["__scopeId", "data-v-c8583c72"]]), dj = { class: "calendar-by-team" }, uj = { class: "playing-as-picker" }, hj = { class: "calendar-by-team__page" }, pj = {
10811
+ }, cj = /* @__PURE__ */ xn(lj, [["__scopeId", "data-v-47b333f0"]]), dj = { class: "calendar-by-team" }, uj = { class: "playing-as-picker" }, hj = { class: "calendar-by-team__page" }, pj = {
10810
10812
  __name: "CalendarTableByTeam",
10811
10813
  props: {
10812
10814
  teamId: {
@@ -10956,7 +10958,7 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
10956
10958
  }, 8, ["is-pagination-visible", "items"])
10957
10959
  ]));
10958
10960
  }
10959
- }, mj = /* @__PURE__ */ xn(pj, [["__scopeId", "data-v-875ef70b"]]), fj = "_image62Icon_1ybd3_2", gj = "_imgChivasIcon_1ybd3_11", yj = "_nameDesktop_1ybd3_18", _j = "_nameMobile_1ybd3_31", vj = "_homeTeam_1ybd3_43", bj = "_sbado16De_1ybd3_54", Tj = "_gameDate_1ybd3_63", wj = "_sab16092023_1ybd3_67", Sj = "_div_1ybd3_80", Cj = "_divscore_1ybd3_89", kj = "_cst_1ybd3_99", Ij = "_hour_1ybd3_108", Ej = "_score_1ybd3_109", xj = "_chivasTvCanal_1ybd3_120", Aj = "_gameStatus_1ybd3_132", Pj = "_matchInfo_1ybd3_143", Oj = "_image62Icon1_1ybd3_156", Dj = "_name_1ybd3_18", Mj = "_imgAtlasIcon_1ybd3_178", Rj = "_name1_1ybd3_185", Lj = "_awayTeam_1ybd3_197", Nj = "_matchCard_1ybd3_208", Fj = {
10961
+ }, mj = /* @__PURE__ */ xn(pj, [["__scopeId", "data-v-aae4ad84"]]), fj = "_image62Icon_1lvdf_3", gj = "_imgChivasIcon_1lvdf_21", yj = "_nameDesktop_1lvdf_35", _j = "_nameMobile_1lvdf_61", vj = "_homeTeam_1lvdf_85", bj = "_sbado16De_1lvdf_107", Tj = "_gameDate_1lvdf_125", wj = "_sab16092023_1lvdf_133", Sj = "_div_1lvdf_159", Cj = "_divscore_1lvdf_177", kj = "_cst_1lvdf_197", Ij = "_hour_1lvdf_215", Ej = "_score_1lvdf_217", xj = "_chivasTvCanal_1lvdf_239", Aj = "_gameStatus_1lvdf_263", Pj = "_matchInfo_1lvdf_285", Oj = "_image62Icon1_1lvdf_311", Dj = "_name_1lvdf_35", Mj = "_imgAtlasIcon_1lvdf_355", Rj = "_name1_1lvdf_369", Lj = "_awayTeam_1lvdf_393", Nj = "_matchCard_1lvdf_415", Fj = {
10960
10962
  image62Icon: fj,
10961
10963
  imgChivasIcon: gj,
10962
10964
  nameDesktop: yj,
@@ -11523,7 +11525,7 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
11523
11525
  ], 64))
11524
11526
  ], 4));
11525
11527
  }
11526
- }, Kj = /* @__PURE__ */ xn(Gj, [["__scopeId", "data-v-7f065e14"]]), Xj = {
11528
+ }, Kj = /* @__PURE__ */ xn(Gj, [["__scopeId", "data-v-3a52cb83"]]), Xj = {
11527
11529
  components: {
11528
11530
  GscSwitchComponent: F3,
11529
11531
  GSCGeneraltable: yN,
@@ -11535,6 +11537,10 @@ const JB = { class: "game-info__teams" }, YB = { class: "game-info__teams__team_
11535
11537
  default: () => {
11536
11538
  }
11537
11539
  },
11540
+ seasons: {
11541
+ type: Array,
11542
+ default: () => []
11543
+ },
11538
11544
  componentWidth: {
11539
11545
  type: Number,
11540
11546
  default: 768,
@@ -11600,7 +11606,7 @@ function Zj(e, t, i, a, n, s) {
11600
11606
  onOpenmedia: s.onOpenMedia,
11601
11607
  width: "100%",
11602
11608
  token: n.tokenFree,
11603
- seasons: [i.season],
11609
+ seasons: i.seasons,
11604
11610
  "row-height": "90px",
11605
11611
  "is-landing-mode": !0,
11606
11612
  "is-pagination-visible": !0,
@@ -11619,7 +11625,7 @@ function Zj(e, t, i, a, n, s) {
11619
11625
  ])
11620
11626
  ]);
11621
11627
  }
11622
- const e$ = /* @__PURE__ */ Ga(Xj, [["render", Zj], ["__scopeId", "data-v-313ba0cc"]]), t$ = { class: "match" }, i$ = { class: "match__header" }, a$ = {
11628
+ const e$ = /* @__PURE__ */ Ga(Xj, [["render", Zj], ["__scopeId", "data-v-46b2c6d3"]]), t$ = { class: "match" }, i$ = { class: "match__header" }, a$ = {
11623
11629
  key: 0,
11624
11630
  class: "match__final-tag"
11625
11631
  }, n$ = {
@@ -87644,11 +87650,11 @@ const USe = /* @__PURE__ */ ASe(DT, [["render", BSe], ["__scopeId", "data-v-fb26
87644
87650
  emits: ["apply-filters"],
87645
87651
  setup(e, { emit: t }) {
87646
87652
  const i = Py(
87647
- () => import("./FilterSubcategories-9ef94a83-HIgQka5k.js")
87653
+ () => import("./FilterSubcategories-9ef94a83-dp6ZqRvy.js")
87648
87654
  ), a = Py(
87649
- () => import("./FilterConditions-397ace57-F73n2lKl.js")
87655
+ () => import("./FilterConditions-397ace57-FkVdRm4h.js")
87650
87656
  ), n = Py(
87651
- () => import("./FilterField-4c61f805-waufrnGH.js")
87657
+ () => import("./FilterField-4c61f805-ZeaKKmmt.js")
87652
87658
  ), s = [
87653
87659
  {
87654
87660
  name: "Sub categorías",
@@ -94278,7 +94284,7 @@ const J3e = /* @__PURE__ */ j3e($T, [["render", X3e], ["__scopeId", "data-v-fb26
94278
94284
  async handler(e) {
94279
94285
  if (Object.keys(this.seasonSelected).length !== 0) {
94280
94286
  const t = await this.generateSeasons(this.seasonSelected);
94281
- this.fetchGames(e, t);
94287
+ this.seasonsSelected = t, this.fetchGames(e, t);
94282
94288
  }
94283
94289
  }
94284
94290
  },
@@ -94340,6 +94346,7 @@ const J3e = /* @__PURE__ */ j3e($T, [["render", X3e], ["__scopeId", "data-v-fb26
94340
94346
  gamesUrl2: "https://qyyibs1w0d.execute-api.us-west-2.amazonaws.com/prod/calendar/gamesBySeason?",
94341
94347
  seasonSelected: {},
94342
94348
  seasonSelectedDropDowns: {},
94349
+ seasonsSelected: [],
94343
94350
  fullTournamentSchedule: {},
94344
94351
  tournamentSelected: {},
94345
94352
  tournamentSelectedDropDowns: { seasons: [] },
@@ -94436,10 +94443,10 @@ const J3e = /* @__PURE__ */ j3e($T, [["render", X3e], ["__scopeId", "data-v-fb26
94436
94443
  async onInputSeason(e) {
94437
94444
  if (this.seasonSelected = e, this.tournamentSelected.id != this.user.tournament) {
94438
94445
  const t = await this.generateSeasons(this.seasonSelected);
94439
- await this.createFullTournamentScheme(t, !1);
94446
+ this.seasonsSelected = t, await this.createFullTournamentScheme(t, !1);
94440
94447
  } else {
94441
94448
  const t = await this.generateSeasons(this.seasonSelected);
94442
- await this.fetchGames(this.user.team, t);
94449
+ this.seasonsSelected = t, await this.fetchGames(this.user.team, t);
94443
94450
  }
94444
94451
  this.seasonSelectedDropDowns !== e.id && (this.seasonSelectedDropDowns = e.id, this.$emit("change-season-id", e.id));
94445
94452
  },
@@ -94579,7 +94586,7 @@ const J3e = /* @__PURE__ */ j3e($T, [["render", X3e], ["__scopeId", "data-v-fb26
94579
94586
  const i = (await this.fetchTournaments(3)).find((n) => n._id === 1).seasons[1], a = [{ id: i.id, type: i.type }];
94580
94587
  i.related_seasons && i.related_seasons.length && a.push(...i.related_seasons.map((n) => ({ id: n.id, type: n.type }))), await this.createFullTournamentScheme(a, !1);
94581
94588
  }
94582
- }, cIe = (e) => (gt("data-v-4254ff87"), e = e(), yt(), e), dIe = {
94589
+ }, cIe = (e) => (gt("data-v-1d1c7fb4"), e = e(), yt(), e), dIe = {
94583
94590
  class: "gsclanding",
94584
94591
  ref: "landingref"
94585
94592
  }, uIe = {
@@ -94718,10 +94725,11 @@ function EIe(e, t, i, a, n, s) {
94718
94725
  be(d, {
94719
94726
  onAction: s.onAction,
94720
94727
  season: n.seasonSelected,
94728
+ seasons: n.seasonsSelected,
94721
94729
  onOpenmedia: s.onOpenMedia,
94722
94730
  onOnOpenProfile: s.onOpenProfile,
94723
94731
  componentWidth: a.elementSize.width
94724
- }, null, 8, ["onAction", "season", "onOpenmedia", "onOnOpenProfile", "componentWidth"])
94732
+ }, null, 8, ["onAction", "season", "seasons", "onOpenmedia", "onOnOpenProfile", "componentWidth"])
94725
94733
  ], 4)
94726
94734
  ], 2),
94727
94735
  n.tournamentSelected.id == i.user.tournament ? Ht((T(), I("div", CIe, [
@@ -94752,7 +94760,7 @@ function EIe(e, t, i, a, n, s) {
94752
94760
  ], 2)
94753
94761
  ], 512);
94754
94762
  }
94755
- const RIe = /* @__PURE__ */ Ga(lIe, [["render", EIe], ["__scopeId", "data-v-4254ff87"]]);
94763
+ const RIe = /* @__PURE__ */ Ga(lIe, [["render", EIe], ["__scopeId", "data-v-1d1c7fb4"]]);
94756
94764
  export {
94757
94765
  RIe as g,
94758
94766
  oi as q