@golstats/gsc-relevant-data 1.0.8 → 1.0.10

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.
Files changed (25) hide show
  1. package/dist/{CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js → CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js} +16 -16
  2. package/dist/CardGeneral-CzD9BfTs-D1qozgj2.js +678 -0
  3. package/dist/{CardIndividual-B5YHR_4X-DC-zfHLx.js → CardIndividual-DPKW-YpP-Dnc0EEj0.js} +13 -13
  4. package/dist/{CardIndividual1vs1-DEBY4dbB-V3PJhhY7.js → CardIndividual1vs1-BRtGgXM7-CedeR8el.js} +9 -9
  5. package/dist/{CardIndividualAreas-D9mHXjfS-DrA6YV1T.js → CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js} +1 -1
  6. package/dist/{CardIndividualCenters-DeGyy9wB-BftpRpCL.js → CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js} +1 -1
  7. package/dist/{CardIndividualDistance-jUf26hS9-BTaa0gSa.js → CardIndividualDistance-C226QSwL-R--LlcPz.js} +3 -3
  8. package/dist/{CardIndividualFouls-DF0AvPys-C61mrpb7.js → CardIndividualFouls-ycmte1YE-DyR9GrTc.js} +1 -1
  9. package/dist/{CardIndividualGoalParticipation-CGVwsTkf-BsIXMNqX.js → CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js} +28 -28
  10. package/dist/{CardIndividualGoals-CjrXz7Zv-Cg_lAqNg.js → CardIndividualGoals-BVMarvFd-DL29nvxj.js} +18 -18
  11. package/dist/{CardIndividualGold-Cp8DsHVJ-nOXX6qdb.js → CardIndividualGold-Df7Raasl-Byue4uk-.js} +7 -6
  12. package/dist/{CardIndividualNoGoalReceived-BNjVlC0Z-BtnbjfPl.js → CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js} +3 -3
  13. package/dist/{CardIndividualPerformance-kbuWBDcK-CWDHQrku.js → CardIndividualPerformance-DyczUumz-BaHTtZS4.js} +29 -29
  14. package/dist/{CardIndividualSaves-BTCuv2ld-BJ7OrOnW.js → CardIndividualSaves-CC91zpjd-CAQ8vR7-.js} +8 -8
  15. package/dist/{CardIndividualShotsOnGoal-B6fysQZQ-2WTo5bAB.js → CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js} +4 -4
  16. package/dist/{CardIndividualStatistics-B7vL_L1s-BYMwjEJD.js → CardIndividualStatistics-CBd679p9-itsHFDEL.js} +5 -5
  17. package/dist/CardPromTournament-BKH4VcBp-D784umYN.js +128 -0
  18. package/dist/{CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js → CardSuccessfulPasses-DKetowpu-B12McLj4.js} +1 -1
  19. package/dist/{CardTheMostProductive-CDDFIo-I-LQ50NbB5.js → CardTheMostProductive-CoGLtVYs-BZcw_blj.js} +23 -23
  20. package/dist/gsc-relevant-data.css +1 -1
  21. package/dist/gsc-relevant-data.js +1092 -1076
  22. package/dist/gsc-relevant-data.umd.cjs +5 -5
  23. package/package.json +2 -2
  24. package/dist/CardGeneral-DyOdaEFZ-DVY9vI50.js +0 -126
  25. package/dist/CardPromTournament-DMe6axFO-DWI8msi-.js +0 -113
@@ -1,8 +1,8 @@
1
- import { computed as i, openBlock as v, createElementBlock as h, normalizeStyle as y, createVNode as d, normalizeProps as F, guardReactiveProps as g, withCtx as x, createElementVNode as o, toDisplayString as c, pushScopeId as S, popScopeId as C } from "vue";
2
- import { o as T } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
1
+ import { computed as d, openBlock as v, createElementBlock as h, normalizeStyle as y, createVNode as c, normalizeProps as F, guardReactiveProps as g, withCtx as x, createElementVNode as t, toDisplayString as i, pushScopeId as S, popScopeId as C } from "vue";
2
+ import { o as T } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
3
  import { h as k, z as w, E as N, I, O, $ as P } from "./misc-BbzSgyER-2p2XKW1m.js";
4
4
  import { G as m } from "./CircleWithDotsBig-5eFuZwDk-n956nNzk.js";
5
- const z = (e) => (S("data-v-53cfba17"), e = e(), C(), e), E = { class: "performance__body" }, $ = { class: "performance__body__title-sub" }, B = { class: "performance__body__title-sub__title" }, D = { class: "performance__body__title-sub__sub" }, V = { class: "performance__body__data" }, j = { class: "performance__body__data__total-season" }, H = { class: "performance__body__data__total-season__season" }, R = /* @__PURE__ */ z(() => /* @__PURE__ */ o("span", { class: "arrow" }, "→", -1)), U = { class: "performance__body__data__total-season" }, q = { class: "performance__body__data__total-season__season" }, A = {
5
+ const z = (e) => (S("data-v-a137af34"), e = e(), C(), e), E = { class: "performance__body" }, $ = { class: "performance__body__title-sub" }, B = { class: "performance__body__title-sub__title" }, D = { class: "performance__body__title-sub__sub" }, V = { class: "performance__body__data" }, j = { class: "performance__body__data__total-season" }, H = { class: "performance__body__data__total-season__season" }, R = /* @__PURE__ */ z(() => /* @__PURE__ */ t("span", { class: "arrow" }, "→", -1)), U = { class: "performance__body__data__total-season" }, q = { class: "performance__body__data__total-season__season" }, A = {
6
6
  __name: "CardIndividualPerformance",
7
7
  props: {
8
8
  height: {
@@ -23,16 +23,16 @@ const z = (e) => (S("data-v-53cfba17"), e = e(), C(), e), E = { class: "performa
23
23
  }
24
24
  },
25
25
  setup(e) {
26
- const a = e, b = i(() => {
27
- var l, r, s, n, u, _, p;
28
- return {
26
+ const a = e, b = d(() => {
27
+ var l, r, s, n, _, u, p;
28
+ return console.log("--------------------------------------------------------"), console.log("props.data", a.data), {
29
29
  height: a.height,
30
30
  width: a.width,
31
31
  footerHeight: "fit-content",
32
32
  playerPhotoPositionTop: "24px",
33
33
  playerPhotoUrl: w(a.data.player_id || ""),
34
34
  cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
35
- backgroundImageSrc: a.data.thumbnails.images ? N((n = (s = (r = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.background_player_in_action) != null && n[0] ? a.data.thumbnails.images.background_player_in_action[0] : (p = (_ = (u = a.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && p.background_tean ? a.data.thumbnails.images.background_team : "") : "",
35
+ backgroundImageSrc: N((n = (s = (r = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.background_player_in_action) != null && n[0] ? a.data.thumbnails.images.background_player_in_action[0] : (p = (u = (_ = a.data) == null ? void 0 : _.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? a.data.thumbnails.images.background_team : ""),
36
36
  textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
37
37
  footerBodyData: {
38
38
  description: I(O({ data: a.data, descriptionType: a.descriptionType })),
@@ -40,7 +40,7 @@ const z = (e) => (S("data-v-53cfba17"), e = e(), C(), e), E = { class: "performa
40
40
  textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
41
41
  }
42
42
  };
43
- }), t = i(() => {
43
+ }), o = d(() => {
44
44
  const { title: l, subtitle: r } = P(a.data.title), [s, n] = a.data.totals;
45
45
  return {
46
46
  title: l,
@@ -54,8 +54,8 @@ const z = (e) => (S("data-v-53cfba17"), e = e(), C(), e), E = { class: "performa
54
54
  circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
55
55
  };
56
56
  });
57
- i(() => a.data.id);
58
- const f = i(() => ({
57
+ d(() => a.data.id);
58
+ const f = d(() => ({
59
59
  "--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
60
60
  "--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
61
61
  }));
@@ -63,32 +63,32 @@ const z = (e) => (S("data-v-53cfba17"), e = e(), C(), e), E = { class: "performa
63
63
  class: "performance",
64
64
  style: y(f.value)
65
65
  }, [
66
- d(T, F(g(b.value)), {
66
+ c(T, F(g(b.value)), {
67
67
  body: x(() => [
68
- o("div", E, [
69
- o("div", $, [
70
- o("div", B, c(t.value.title), 1),
71
- o("div", D, c(t.value.subtitle), 1)
68
+ t("div", E, [
69
+ t("div", $, [
70
+ t("div", B, i(o.value.title), 1),
71
+ t("div", D, i(o.value.subtitle), 1)
72
72
  ]),
73
- o("div", V, [
74
- o("div", j, [
75
- d(m, {
76
- value: t.value.pastSeasonTotal,
73
+ t("div", V, [
74
+ t("div", j, [
75
+ c(m, {
76
+ value: o.value.pastSeasonTotal,
77
77
  suffix: "",
78
- "text-color": t.value.textColor,
79
- color: t.value.circleOneColor
78
+ "text-color": o.value.textColor,
79
+ color: o.value.circleOneColor
80
80
  }, null, 8, ["value", "text-color", "color"]),
81
- o("div", H, c(t.value.pastSeasonName), 1)
81
+ t("div", H, i(o.value.pastSeasonName), 1)
82
82
  ]),
83
83
  R,
84
- o("div", U, [
85
- d(m, {
86
- value: t.value.currentSeasonTotal,
84
+ t("div", U, [
85
+ c(m, {
86
+ value: o.value.currentSeasonTotal,
87
87
  suffix: "",
88
- "text-color": t.value.textColor,
89
- color: t.value.circleTwoColor
88
+ "text-color": o.value.textColor,
89
+ color: o.value.circleTwoColor
90
90
  }, null, 8, ["value", "text-color", "color"]),
91
- o("div", q, c(t.value.currentSeasonName), 1)
91
+ t("div", q, i(o.value.currentSeasonName), 1)
92
92
  ])
93
93
  ])
94
94
  ])
@@ -97,7 +97,7 @@ const z = (e) => (S("data-v-53cfba17"), e = e(), C(), e), E = { class: "performa
97
97
  }, 16)
98
98
  ], 4));
99
99
  }
100
- }, K = /* @__PURE__ */ k(A, [["__scopeId", "data-v-53cfba17"]]);
100
+ }, K = /* @__PURE__ */ k(A, [["__scopeId", "data-v-a137af34"]]);
101
101
  export {
102
102
  K as default
103
103
  };
@@ -1,5 +1,5 @@
1
1
  import { useCssVars as y, computed as h, openBlock as a, createElementBlock as n, normalizeStyle as F, createBlock as M, mergeProps as S, withCtx as C, createElementVNode as e, toDisplayString as p, createCommentVNode as s, createVNode as A, pushScopeId as j, popScopeId as z } from "vue";
2
- import { o as B } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
2
+ import { o as B } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
3
  import { h as x, z as E, P as I, E as T, I as D, O as N } from "./misc-BbzSgyER-2p2XKW1m.js";
4
4
  const m = {
5
5
  props: {
@@ -176,16 +176,16 @@ const st = /* @__PURE__ */ x(m, [["render", nt], ["__scopeId", "data-v-d2968adb"
176
176
  },
177
177
  setup(o) {
178
178
  y((i) => ({
179
- "813fee72": (t.data.subtitle, "100%"),
180
- "3ba6f490": t.data.thumbnails.colors.font_color_header,
181
- "8846b4b6": t.data.subtitle ? "100%" : "78%"
179
+ "1540070f": (t.data.subtitle, "100%"),
180
+ "4a121870": t.data.thumbnails.colors.font_color_header,
181
+ 93408346: t.data.subtitle ? "100%" : "78%"
182
182
  }));
183
183
  const t = o, l = h(() => ({
184
184
  "--height": t.height,
185
185
  "--width": t.width,
186
186
  "--footer-background-color": t.data.thumbnails.colors.background_color_cards || "#000000"
187
187
  })), u = h(() => {
188
- var i, c, k, f, b, g, v;
188
+ var i, c, k, f, g, v, b;
189
189
  return {
190
190
  height: t.height,
191
191
  width: t.width,
@@ -194,7 +194,7 @@ const st = /* @__PURE__ */ x(m, [["render", nt], ["__scopeId", "data-v-d2968adb"
194
194
  teamLogoUrl: I(t.data.team_id || "") || "",
195
195
  cardColor: t.data.thumbnails.colors.background_color || "#000000",
196
196
  backgroundImageSrc: T(
197
- (f = (k = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : k.background_player_in_action) != null && f[0] ? t.data.thumbnails.images.background_player_in_action[0] : (v = (g = (b = t.data) == null ? void 0 : b.thumbnails) == null ? void 0 : g.images) != null && v.background_tean ? t.data.thumbnails.images.background_team : ""
197
+ (f = (k = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : k.background_player_in_action) != null && f[0] ? t.data.thumbnails.images.background_player_in_action[0] : (b = (v = (g = t.data) == null ? void 0 : g.thumbnails) == null ? void 0 : v.images) != null && b.background_team ? t.data.thumbnails.images.background_team : ""
198
198
  ),
199
199
  textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
200
200
  footerBodyData: {
@@ -239,7 +239,7 @@ const st = /* @__PURE__ */ x(m, [["render", nt], ["__scopeId", "data-v-d2968adb"
239
239
  }, 16, ["width"])) : s("", !0)
240
240
  ], 4));
241
241
  }
242
- }, gt = /* @__PURE__ */ x(mt, [["__scopeId", "data-v-d61c89de"]]);
242
+ }, vt = /* @__PURE__ */ x(mt, [["__scopeId", "data-v-00222891"]]);
243
243
  export {
244
- gt as default
244
+ vt as default
245
245
  };
@@ -1,8 +1,8 @@
1
1
  import { computed as r, openBlock as d, createElementBlock as L, normalizeStyle as F, createVNode as m, normalizeProps as f, guardReactiveProps as M, withCtx as k, createElementVNode as t, createCommentVNode as b, pushScopeId as y, popScopeId as w } from "vue";
2
- import { o as x } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
2
+ import { o as x } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
3
  import { y as S } from "./TimeSvg-Cxp_p6OH-cZfI6hDf.js";
4
4
  import { h as P, z as I, P as T, E as z, I as E, O } from "./misc-BbzSgyER-2p2XKW1m.js";
5
- const n = (o) => (y("data-v-22104949"), o = o(), w(), o), B = { class: "shots__body" }, N = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "shots__body__title" }, " TIROS A GOL ", -1)), V = { class: "shots-svg" }, G = {
5
+ const n = (o) => (y("data-v-f433730c"), o = o(), w(), o), B = { class: "shots__body" }, N = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "shots__body__title" }, " TIROS A GOL ", -1)), V = { class: "shots-svg" }, G = {
6
6
  key: 0,
7
7
  class: "time-svg"
8
8
  }, R = {
@@ -65,7 +65,7 @@ const n = (o) => (y("data-v-22104949"), o = o(), w(), o), B = { class: "shots__b
65
65
  playerPhotoUrl: I(l.data.player_id || ""),
66
66
  teamLogoUrl: T(l.data.team_id || ""),
67
67
  cardColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
68
- backgroundImageSrc: z((C = (s = (i = (a = l.data) == null ? void 0 : a.thumbnails) == null ? void 0 : i.images) == null ? void 0 : s.background_player_in_action) != null && C[0] ? l.data.thumbnails.images.background_player_in_action[0] : (h = (u = (c = l.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && h.background_tean ? l.data.thumbnails.images.background_team : ""),
68
+ backgroundImageSrc: z((C = (s = (i = (a = l.data) == null ? void 0 : a.thumbnails) == null ? void 0 : i.images) == null ? void 0 : s.background_player_in_action) != null && C[0] ? l.data.thumbnails.images.background_player_in_action[0] : (h = (u = (c = l.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && h.background_team ? l.data.thumbnails.images.background_team : ""),
69
69
  footerBodyData: {
70
70
  description: E(O({ data: l.data, descriptionType: l.descriptionType })),
71
71
  total: p ? l.data.percentage : l.data.total,
@@ -173,7 +173,7 @@ const n = (o) => (y("data-v-22104949"), o = o(), w(), o), B = { class: "shots__b
173
173
  }, 16)
174
174
  ], 4));
175
175
  }
176
- }, r1 = /* @__PURE__ */ P(t1, [["__scopeId", "data-v-22104949"]]);
176
+ }, r1 = /* @__PURE__ */ P(t1, [["__scopeId", "data-v-f433730c"]]);
177
177
  export {
178
178
  r1 as default
179
179
  };
@@ -1,7 +1,7 @@
1
1
  import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as b, createVNode as F, normalizeProps as C, guardReactiveProps as L, withCtx as v, createElementVNode as t, toDisplayString as m, createCommentVNode as y, pushScopeId as x, popScopeId as B } from "vue";
2
- import { o as S } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
2
+ import { o as S } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
3
  import { h as k, z as w, E as I, I as M, O as U, $ as V, P as A } from "./misc-BbzSgyER-2p2XKW1m.js";
4
- const n = (a) => (x("data-v-3f601ffb"), a = a(), B(), a), G = { class: "statistics__body" }, O = { class: "statistics__body__title-sub" }, $ = { class: "statistics__body__title-sub__title" }, D = { class: "statistics__body__data" }, E = { class: "shield-svg" }, P = { class: "team-logo" }, T = ["src"], z = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
4
+ const n = (a) => (x("data-v-46d3e244"), a = a(), B(), a), G = { class: "statistics__body" }, O = { class: "statistics__body__title-sub" }, $ = { class: "statistics__body__title-sub__title" }, D = { class: "statistics__body__data" }, E = { class: "shield-svg" }, P = { class: "team-logo" }, T = ["src"], z = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
5
5
  /* @__PURE__ */ t("span", { class: "hashtag" }, "#"),
6
6
  /* @__PURE__ */ t("span", { class: "number" }, "1")
7
7
  ], -1)), N = { class: "subtitle" }, H = {
@@ -140,7 +140,7 @@ const n = (a) => (x("data-v-3f601ffb"), a = a(), B(), a), G = { class: "statisti
140
140
  },
141
141
  setup(a) {
142
142
  const e = a, h = r(() => {
143
- var l, i, u, c, f, p, _;
143
+ var l, i, u, c, p, _, f;
144
144
  return {
145
145
  height: e.height,
146
146
  width: e.width,
@@ -148,7 +148,7 @@ const n = (a) => (x("data-v-3f601ffb"), a = a(), B(), a), G = { class: "statisti
148
148
  playerPhotoPositionTop: "24px",
149
149
  playerPhotoUrl: w(e.data.player_id || ""),
150
150
  cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
151
- backgroundImageSrc: I((c = (u = (i = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : i.images) == null ? void 0 : u.background_player_in_action) != null && c[0] ? e.data.thumbnails.images.background_player_in_action[0] : (_ = (p = (f = e.data) == null ? void 0 : f.thumbnails) == null ? void 0 : p.images) != null && _.background_tean ? e.data.thumbnails.images.background_team : ""),
151
+ backgroundImageSrc: I((c = (u = (i = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : i.images) == null ? void 0 : u.background_player_in_action) != null && c[0] ? e.data.thumbnails.images.background_player_in_action[0] : (f = (_ = (p = e.data) == null ? void 0 : p.thumbnails) == null ? void 0 : _.images) != null && f.background_team ? e.data.thumbnails.images.background_team : ""),
152
152
  footerBodyData: {
153
153
  description: M(U({ data: e.data, descriptionType: e.descriptionType })),
154
154
  total: e.data.total,
@@ -213,7 +213,7 @@ const n = (a) => (x("data-v-3f601ffb"), a = a(), B(), a), G = { class: "statisti
213
213
  }, 16)
214
214
  ], 4));
215
215
  }
216
- }, W = /* @__PURE__ */ k(J, [["__scopeId", "data-v-3f601ffb"]]);
216
+ }, W = /* @__PURE__ */ k(J, [["__scopeId", "data-v-46d3e244"]]);
217
217
  export {
218
218
  W as default
219
219
  };
@@ -0,0 +1,128 @@
1
+ import { useCssVars as O, computed as s, ref as P, openBlock as d, createElementBlock as m, normalizeStyle as i, createBlock as I, mergeProps as B, withCtx as C, createElementVNode as a, toDisplayString as c, createVNode as R, unref as _, Fragment as D, renderList as E, normalizeClass as M, createCommentVNode as N } from "vue";
2
+ import { h as S, E as y, T as V, O as F } from "./misc-BbzSgyER-2p2XKW1m.js";
3
+ import { N as H } from "./Shield-0VkASyDI-Cm8rtKBS.js";
4
+ const z = { class: "card-content" }, L = { class: "content-wrapper" }, $ = { class: "main-content" }, j = { class: "title-separator" }, A = { class: "footer-text" }, W = ["innerHTML"], q = { class: "seasons-sidebar" }, G = { class: "seasons-list" }, J = "-38px 35px", K = {
5
+ __name: "CardPromTournament",
6
+ props: {
7
+ height: {
8
+ type: String,
9
+ default: "568px"
10
+ },
11
+ width: {
12
+ type: String,
13
+ default: "319px"
14
+ },
15
+ data: {
16
+ type: Object,
17
+ default: () => null
18
+ },
19
+ descriptionType: {
20
+ type: Number,
21
+ default: 0
22
+ }
23
+ },
24
+ setup(u) {
25
+ O((t) => ({
26
+ "108226ff": u.data.thumbnails.colors.background_color
27
+ }));
28
+ const e = u, w = s(() => ({
29
+ "--height": e.height,
30
+ "--width": e.width,
31
+ "--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
32
+ })), x = P({
33
+ width: "50px",
34
+ height: "50px",
35
+ bottom: "34px",
36
+ right: "-8px",
37
+ innerImageWidth: "39px",
38
+ innerImageHeight: "39px"
39
+ }), p = s(() => {
40
+ var t, l, n, r;
41
+ return !e.data || !e.data.thumbnails ? null : {
42
+ backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
43
+ backgroundImageSrc: (r = (n = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : n.player_in_action) != null && r[0] ? y(e.data.thumbnails.images.player_in_action[0]) : "",
44
+ isPlayButtonVisible: !0
45
+ };
46
+ }), h = s(() => {
47
+ var t, l, n;
48
+ if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
49
+ const r = e.data.title.split("*").filter(Boolean);
50
+ return {
51
+ mainTitle: ((l = r[0]) == null ? void 0 : l.trim()) || "",
52
+ sidebarTitle: ((n = r[1]) == null ? void 0 : n.trim()) || "PROMEDIO POR PARTIDO"
53
+ };
54
+ }), T = s(() => {
55
+ var t;
56
+ return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
57
+ });
58
+ return (t, l) => (d(), m("div", {
59
+ class: "card-general",
60
+ style: i(w.value)
61
+ }, [
62
+ p.value ? (d(), I(V, B({ key: 0 }, p.value, { width: u.width }), {
63
+ default: C(() => {
64
+ var n, r, g, f;
65
+ return [
66
+ a("div", z, [
67
+ a("div", L, [
68
+ a("div", $, [
69
+ a("h1", {
70
+ class: "main-title",
71
+ style: i({ color: ((n = e.data) == null ? void 0 : n.thumbnails.colors.font_color_header) || "white" })
72
+ }, c(h.value.mainTitle), 5),
73
+ a("div", j, [
74
+ R(H, {
75
+ "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
76
+ width: 105,
77
+ "inner-image-src": _(y)(e.data.thumbnails.images.player_in_action[0]),
78
+ "team-logo-circle-props": x.value,
79
+ "inner-image-translate": J
80
+ }, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
81
+ ]),
82
+ a("div", A, [
83
+ a("p", {
84
+ innerHTML: _(F)({ data: e.data, descriptionType: e.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
85
+ class: "card-description",
86
+ style: i({ color: ((r = e.data) == null ? void 0 : r.thumbnails.colors.font_color_description) || "white" })
87
+ }, null, 12, W)
88
+ ])
89
+ ]),
90
+ a("div", q, [
91
+ a("div", {
92
+ class: "sidebar-header",
93
+ style: i({ color: ((g = e.data) == null ? void 0 : g.thumbnails.colors.font_color_description) || "white" })
94
+ }, c(h.value.sidebarTitle), 5),
95
+ a("div", G, [
96
+ (d(!0), m(D, null, E((f = e.data) == null ? void 0 : f.averages, (o, k) => {
97
+ var v, b;
98
+ return d(), m("div", {
99
+ key: k,
100
+ class: M(["season-row", {
101
+ highlighted: o.highlighted,
102
+ "max-value": parseFloat(o.average) === T.value
103
+ }])
104
+ }, [
105
+ a("div", {
106
+ class: "season-value-box",
107
+ style: i({ color: ((v = e.data) == null ? void 0 : v.thumbnails.colors.font_color_stats) || "white" })
108
+ }, c(o.average), 5),
109
+ a("div", {
110
+ class: "season-label",
111
+ style: i({ color: ((b = e.data) == null ? void 0 : b.thumbnails.colors.font_color_stats) || "white" })
112
+ }, c(o.season), 5)
113
+ ], 2);
114
+ }), 128))
115
+ ])
116
+ ])
117
+ ])
118
+ ])
119
+ ];
120
+ }),
121
+ _: 1
122
+ }, 16, ["width"])) : N("", !0)
123
+ ], 4));
124
+ }
125
+ }, X = /* @__PURE__ */ S(K, [["__scopeId", "data-v-4f9d7035"]]);
126
+ export {
127
+ X as default
128
+ };
@@ -1,5 +1,5 @@
1
1
  import { computed as c, openBlock as f, createElementBlock as g, normalizeStyle as p, createVNode as y, normalizeProps as v, guardReactiveProps as k, withCtx as x, createElementVNode as i, toDisplayString as m, pushScopeId as C, popScopeId as P } from "vue";
2
- import { o as S } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
2
+ import { o as S } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
3
  import { h as I, z, P as E, E as O, I as T, O as w, $ as N } from "./misc-BbzSgyER-2p2XKW1m.js";
4
4
  const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__body__title-sub" }, B = { class: "passes__body__title-sub__title" }, D = { class: "passes__body__title-sub__sub" }, H = /* @__PURE__ */ $(() => /* @__PURE__ */ i("div", { class: "passes__body__data" }, null, -1)), L = {
5
5
  __name: "CardSuccessfulPasses",
@@ -1,8 +1,8 @@
1
- import { computed as d, openBlock as h, createElementBlock as b, createVNode as s, normalizeProps as f, guardReactiveProps as y, withCtx as v, createElementVNode as m, normalizeStyle as F, pushScopeId as x, popScopeId as S } from "vue";
2
- import { o as k } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
1
+ import { computed as n, openBlock as h, createElementBlock as b, createVNode as s, normalizeProps as f, guardReactiveProps as y, withCtx as v, createElementVNode as m, normalizeStyle as F, toDisplayString as x } from "vue";
2
+ import { o as k } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
3
  import { N as C } from "./Shield-0VkASyDI-Cm8rtKBS.js";
4
- import { h as I, E as p, I as P, O as w, P as B, z as N } from "./misc-BbzSgyER-2p2XKW1m.js";
5
- const T = (o) => (x("data-v-d26d27a2"), o = o(), S(), o), z = { class: "productive" }, A = /* @__PURE__ */ T(() => /* @__PURE__ */ m("div", { class: "productive__body__title" }, " MÁS Productivo ", -1)), D = {
4
+ import { h as S, E as p, I as w, O as I, P as B, z as D } from "./misc-BbzSgyER-2p2XKW1m.js";
5
+ const N = { class: "productive" }, P = { class: "productive__body__title" }, T = {
6
6
  __name: "CardTheMostProductive",
7
7
  props: {
8
8
  height: {
@@ -22,46 +22,46 @@ const T = (o) => (x("data-v-d26d27a2"), o = o(), S(), o), z = { class: "producti
22
22
  default: 4
23
23
  }
24
24
  },
25
- setup(o) {
26
- const a = o, _ = d(() => {
27
- var e, t, r, i, l, u, c;
25
+ setup(d) {
26
+ const a = d, _ = n(() => {
27
+ var e, t, o, r, i, u, c;
28
28
  return {
29
29
  height: a.height,
30
30
  width: a.width,
31
31
  footerHeight: "112px",
32
32
  cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
33
- backgroundImageSrc: p((i = (r = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.background_player_in_action) != null && i[0] ? a.data.thumbnails.images.background_player_in_action[0] : (c = (u = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : u.images) != null && c.background_team ? a.data.thumbnails.images.background_team : ""),
33
+ backgroundImageSrc: p((r = (o = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : o.background_player_in_action) != null && r[0] ? a.data.thumbnails.images.background_player_in_action[0] : (c = (u = (i = a.data) == null ? void 0 : i.thumbnails) == null ? void 0 : u.images) != null && c.background_team ? a.data.thumbnails.images.background_team : ""),
34
34
  footerBodyData: {
35
- description: P(w({ data: a.data, descriptionType: a.descriptionType })),
35
+ description: w(I({ data: a.data, descriptionType: a.descriptionType })),
36
36
  textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
37
37
  }
38
38
  };
39
- }), n = d(() => {
40
- var e, t, r, i;
41
- const l = !!((i = (r = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.player_in_action) != null && i[0]);
39
+ }), l = n(() => {
40
+ var e, t, o, r;
41
+ const i = !!((r = (o = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : o.player_in_action) != null && r[0]);
42
42
  return {
43
43
  teamLogoUrl: B(a.data.team_id || ""),
44
- playerInActionSrc: l ? p(a.data.thumbnails.images.player_in_action[0]) : N(a.data.player_id || ""),
44
+ playerInActionSrc: i ? p(a.data.thumbnails.images.player_in_action[0]) : D(a.data.player_id || ""),
45
45
  shieldColor: (a.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
46
- translate: l ? "-40px -8px" : "-42px -30px"
46
+ translate: i ? "-40px -8px" : "-42px -30px"
47
47
  };
48
- }), g = d(() => ({
48
+ }), g = n(() => ({
49
49
  "--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
50
50
  }));
51
- return (e, t) => (h(), b("div", z, [
51
+ return (e, t) => (h(), b("div", N, [
52
52
  s(k, f(y(_.value)), {
53
53
  body: v(() => [
54
54
  m("div", {
55
55
  class: "productive__body",
56
56
  style: F(g.value)
57
57
  }, [
58
- A,
58
+ m("div", P, x(d.data.title), 1),
59
59
  s(C, {
60
60
  id: a.data.id,
61
- "team-logo-src": n.value.teamLogoUrl,
62
- "inner-image-src": n.value.playerInActionSrc,
63
- color: n.value.shieldColor,
64
- "inner-image-translate": n.value.translate
61
+ "team-logo-src": l.value.teamLogoUrl,
62
+ "inner-image-src": l.value.playerInActionSrc,
63
+ color: l.value.shieldColor,
64
+ "inner-image-translate": l.value.translate
65
65
  }, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
66
66
  ], 4)
67
67
  ]),
@@ -69,7 +69,7 @@ const T = (o) => (x("data-v-d26d27a2"), o = o(), S(), o), z = { class: "producti
69
69
  }, 16)
70
70
  ]));
71
71
  }
72
- }, O = /* @__PURE__ */ I(D, [["__scopeId", "data-v-d26d27a2"]]);
72
+ }, L = /* @__PURE__ */ S(T, [["__scopeId", "data-v-8c06560b"]]);
73
73
  export {
74
- O as default
74
+ L as default
75
75
  };