@golstats/gsc-landing 1.0.222 → 1.0.223

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 (31) hide show
  1. package/dist/{CardBase-DJPEW7xu-B5esUc8R.js → CardBase-DJPEW7xu-Bb90xanh.js} +18 -18
  2. package/dist/{CardBaseAllIndividual-CJY0KdrJ-5WGyXZ-X.js → CardBaseAllIndividual-CJY0KdrJ-CJbDdtoT.js} +7 -7
  3. package/dist/{CardGeneral-CDS08xVv-DzydG7Ur.js → CardGeneral-CDS08xVv-B50jt1-C.js} +27 -27
  4. package/dist/{CardGeneralIndividual-DoXvg6Ch-Bp0bug5f.js → CardGeneralIndividual-DoXvg6Ch-B9Q9pZfe.js} +54 -54
  5. package/dist/{CardGeneralTeams-FYzVxcB3-CYMt6r4E.js → CardGeneralTeams-FYzVxcB3-z3J2aQVr.js} +76 -76
  6. package/dist/{CardIndividual-u8FZLLmq-BleEsUPc.js → CardIndividual-u8FZLLmq-BRVg_Ub8.js} +29 -29
  7. package/dist/{CardIndividual1vs1-C13lA1gg-ClCPi_bE.js → CardIndividual1vs1-C13lA1gg-DhHtFIeO.js} +12 -12
  8. package/dist/{CardIndividualAreas-D13F6fry-PLZhKb_2.js → CardIndividualAreas-D13F6fry-DO0EHj-k.js} +5 -5
  9. package/dist/{CardIndividualCenters-If_CjK9--CF3KAJON.js → CardIndividualCenters-If_CjK9--DOQQSL_6.js} +14 -14
  10. package/dist/{CardIndividualDistance-DtT14cRG-suH4ZmuU.js → CardIndividualDistance-DtT14cRG-DvpD2x_n.js} +5 -5
  11. package/dist/{CardIndividualFouls-Bsm2M4Gv-iSxS_1yY.js → CardIndividualFouls-Bsm2M4Gv-DAOZTXFi.js} +13 -13
  12. package/dist/{CardIndividualGoalParticipation-DxJDrw64-BNiTqqu_.js → CardIndividualGoalParticipation-DxJDrw64-G3KlLDiL.js} +18 -18
  13. package/dist/{CardIndividualGoals-tVv3jx9v-CwrvWz11.js → CardIndividualGoals-tVv3jx9v-DPahJY7h.js} +2 -2
  14. package/dist/{CardIndividualGold-B3awfrVU-BX38ltXq.js → CardIndividualGold-B3awfrVU-C7Be15iD.js} +24 -24
  15. package/dist/{CardIndividualNoGoalReceived-plZw_S4K-B8BlOWWD.js → CardIndividualNoGoalReceived-plZw_S4K-DoEt_Vcy.js} +23 -23
  16. package/dist/{CardIndividualPerformance-pONmvZ---COwCm2lc.js → CardIndividualPerformance-pONmvZ---Dd9iPiuJ.js} +30 -30
  17. package/dist/{CardIndividualSaves-7NZaLckt-CZXgnq-e.js → CardIndividualSaves-7NZaLckt-CwetY31M.js} +11 -11
  18. package/dist/{CardIndividualShotsOnGoal-BA2B5zK2-Dn10A5l1.js → CardIndividualShotsOnGoal-BA2B5zK2-QYYcQ6qa.js} +26 -26
  19. package/dist/{CardIndividualStatistics-BdNBubd3-AisS9_aX.js → CardIndividualStatistics-BdNBubd3-Dk95bajC.js} +7 -7
  20. package/dist/CardPromTournament-IvcxYf42-CM6HaXKj.js +145 -0
  21. package/dist/{CardSuccessfulPasses-CvGqK_hf-HezQXETn.js → CardSuccessfulPasses-CvGqK_hf-CprfTS-6.js} +7 -7
  22. package/dist/CardTheMostProductive-Crx3j88e-C6suz2GG.js +87 -0
  23. package/dist/{PlayerProfileCircle-BQwTCjvG-Dhls7PlM.js → PlayerProfileCircle-BQwTCjvG-1KiSm3Hh.js} +1 -1
  24. package/dist/{Shield-aiuYwUJa-CuzatMd1.js → Shield-aiuYwUJa-BJbb4la8.js} +1 -1
  25. package/dist/gsc-landing.js +1 -1
  26. package/dist/gsc-landing.umd.cjs +62 -62
  27. package/dist/{index-vaZMU8Z4.js → index-B2IZobUp.js} +17714 -17222
  28. package/dist/style.css +1 -1
  29. package/package.json +4 -4
  30. package/dist/CardPromTournament-IvcxYf42-f6jLvxRS.js +0 -145
  31. package/dist/CardTheMostProductive-Crx3j88e-Qp69QmRa.js +0 -87
@@ -1,7 +1,7 @@
1
- import { computed as i, createElementBlock as h, openBlock as v, normalizeStyle as y, createVNode as c, mergeProps as F, withCtx as g, createElementVNode as o, toDisplayString as n, pushScopeId as x, popScopeId as S } from "vue";
2
- import { d as C, B as m } from "./CardBaseAllIndividual-CJY0KdrJ-5WGyXZ-X.js";
3
- import { m as w, P as T, E as k, V as B, A as N, $ as V } from "./CardBase-DJPEW7xu-B5esUc8R.js";
4
- const P = (e) => (x("data-v-6260a2ea"), e = e(), S(), e), A = { class: "performance__body" }, E = { class: "performance__body__title-sub" }, I = { class: "performance__body__title-sub__title" }, $ = { class: "performance__body__title-sub__sub" }, O = { class: "performance__body__data" }, D = { class: "performance__body__data__total-season" }, j = { class: "performance__body__data__total-season__season" }, z = /* @__PURE__ */ P(() => /* @__PURE__ */ o("span", { class: "arrow" }, "→", -1)), H = { class: "performance__body__data__total-season" }, U = { class: "performance__body__data__total-season__season" }, q = {
1
+ import { computed as d, createElementBlock as h, openBlock as f, normalizeStyle as y, createVNode as c, mergeProps as F, withCtx as g, createElementVNode as t, toDisplayString as n, pushScopeId as x, popScopeId as S } from "vue";
2
+ import { d as C, B as m } from "./CardBaseAllIndividual-CJY0KdrJ-CJbDdtoT.js";
3
+ import { m as w, P as T, E as k, V as B, A as N, $ as V } from "./CardBase-DJPEW7xu-Bb90xanh.js";
4
+ const P = (e) => (x("data-v-6260a2ea"), e = e(), S(), e), A = { class: "performance__body" }, E = { class: "performance__body__title-sub" }, I = { class: "performance__body__title-sub__title" }, $ = { class: "performance__body__title-sub__sub" }, O = { class: "performance__body__data" }, D = { class: "performance__body__data__total-season" }, j = { class: "performance__body__data__total-season__season" }, z = /* @__PURE__ */ P(() => /* @__PURE__ */ t("span", { class: "arrow" }, "→", -1)), H = { class: "performance__body__data__total-season" }, U = { class: "performance__body__data__total-season__season" }, q = {
5
5
  __name: "CardIndividualPerformance",
6
6
  props: {
7
7
  height: {
@@ -30,8 +30,8 @@ const P = (e) => (x("data-v-6260a2ea"), e = e(), S(), e), A = { class: "performa
30
30
  }
31
31
  },
32
32
  setup(e) {
33
- const a = e, b = i(() => {
34
- var l, r, s, d, u, _, p;
33
+ const a = e, b = d(() => {
34
+ var l, r, s, i, u, _, p;
35
35
  return {
36
36
  height: a.height,
37
37
  width: a.width,
@@ -39,7 +39,7 @@ const P = (e) => (x("data-v-6260a2ea"), e = e(), S(), e), A = { class: "performa
39
39
  playerPhotoPositionTop: "24px",
40
40
  playerPhotoUrl: B(a.data.player_id || ""),
41
41
  cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
42
- backgroundImageSrc: k((d = (s = (r = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.background_player_in_action) != null && d[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_team ? a.data.thumbnails.images.background_team : ""),
42
+ backgroundImageSrc: k((i = (s = (r = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.background_player_in_action) != null && i[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_team ? a.data.thumbnails.images.background_team : ""),
43
43
  textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
44
44
  footerBodyData: {
45
45
  description: T(N({ data: a.data, descriptionType: a.descriptionType })),
@@ -47,58 +47,58 @@ const P = (e) => (x("data-v-6260a2ea"), e = e(), S(), e), A = { class: "performa
47
47
  textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
48
48
  }
49
49
  };
50
- }), t = i(() => {
51
- const { title: l, subtitle: r } = V(a.data.title), [s, d] = a.data.totals;
50
+ }), o = d(() => {
51
+ const { title: l, subtitle: r } = V(a.data.title), [s, i] = a.data.totals;
52
52
  return {
53
53
  title: l,
54
54
  subtitle: r,
55
- pastSeasonName: d.season,
55
+ pastSeasonName: i.season,
56
56
  currentSeasonName: s.season,
57
- pastSeasonTotal: d.total,
57
+ pastSeasonTotal: i.total,
58
58
  currentSeasonTotal: s.total,
59
59
  textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
60
60
  circleOneColor: (a.data.thumbnails.colors.data_color_2 || "#000000").trim(),
61
61
  circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
62
62
  };
63
63
  });
64
- i(() => a.data.id);
65
- const f = i(() => ({
64
+ d(() => a.data.id);
65
+ const v = d(() => ({
66
66
  "--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
67
67
  "--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
68
68
  }));
69
- return (l, r) => (v(), h("div", {
69
+ return (l, r) => (f(), h("div", {
70
70
  class: "performance",
71
- style: y(f.value)
71
+ style: y(v.value)
72
72
  }, [
73
73
  c(C, F(b.value, {
74
74
  "show-videos": e.showVideos,
75
75
  "id-aux": e.idAux
76
76
  }), {
77
77
  body: g(() => [
78
- o("div", A, [
79
- o("div", E, [
80
- o("div", I, n(t.value.title), 1),
81
- o("div", $, n(t.value.subtitle), 1)
78
+ t("div", A, [
79
+ t("div", E, [
80
+ t("div", I, n(o.value.title), 1),
81
+ t("div", $, n(o.value.subtitle), 1)
82
82
  ]),
83
- o("div", O, [
84
- o("div", D, [
83
+ t("div", O, [
84
+ t("div", D, [
85
85
  c(m, {
86
- value: t.value.pastSeasonTotal,
86
+ value: o.value.pastSeasonTotal,
87
87
  suffix: "",
88
- "text-color": t.value.textColor,
89
- color: t.value.circleOneColor
88
+ "text-color": o.value.textColor,
89
+ color: o.value.circleOneColor
90
90
  }, null, 8, ["value", "text-color", "color"]),
91
- o("div", j, n(t.value.pastSeasonName), 1)
91
+ t("div", j, n(o.value.pastSeasonName), 1)
92
92
  ]),
93
93
  z,
94
- o("div", H, [
94
+ t("div", H, [
95
95
  c(m, {
96
- value: t.value.currentSeasonTotal,
96
+ value: o.value.currentSeasonTotal,
97
97
  suffix: "",
98
- "text-color": t.value.textColor,
99
- color: t.value.circleTwoColor
98
+ "text-color": o.value.textColor,
99
+ color: o.value.circleTwoColor
100
100
  }, null, 8, ["value", "text-color", "color"]),
101
- o("div", U, n(t.value.currentSeasonName), 1)
101
+ t("div", U, n(o.value.currentSeasonName), 1)
102
102
  ])
103
103
  ])
104
104
  ])
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as y, computed as h, createElementBlock as s, openBlock as l, normalizeStyle as F, createBlock as M, createCommentVNode as n, mergeProps as S, withCtx as A, createElementVNode as e, toDisplayString as p, createVNode as C, pushScopeId as B, popScopeId as V } from "vue";
2
- import { d as j } from "./CardBaseAllIndividual-CJY0KdrJ-5WGyXZ-X.js";
3
- import { m as x, P as E, E as T, O as z, V as D, A as I } from "./CardBase-DJPEW7xu-B5esUc8R.js";
4
- const f = {
2
+ import { d as j } from "./CardBaseAllIndividual-CJY0KdrJ-CJbDdtoT.js";
3
+ import { m as x, P as E, E as T, O as z, V as D, A as I } from "./CardBase-DJPEW7xu-Bb90xanh.js";
4
+ const m = {
5
5
  props: {
6
6
  position: {
7
7
  type: String,
@@ -20,8 +20,8 @@ const f = {
20
20
  y((o) => ({
21
21
  "6fa1ffec": o.color
22
22
  }));
23
- }, _ = f.setup;
24
- f.setup = _ ? (o, t) => (w(), _(o, t)) : w;
23
+ }, _ = m.setup;
24
+ m.setup = _ ? (o, t) => (w(), _(o, t)) : w;
25
25
  const r = (o) => (B("data-v-f0ac71da"), o = o(), V(), o), N = { class: "saves-element-container" }, $ = { class: "saves-element-box" }, O = {
26
26
  key: 0,
27
27
  class: "small-box"
@@ -148,13 +148,13 @@ function st(o, t, a, u, d, i) {
148
148
  ])
149
149
  ]);
150
150
  }
151
- const nt = /* @__PURE__ */ x(f, [["render", st], ["__scopeId", "data-v-f0ac71da"]]), dt = { class: "card-general__body" }, ct = { class: "text-container-saves" }, ut = {
151
+ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-f0ac71da"]]), dt = { class: "card-general__body" }, ct = { class: "text-container-saves" }, ut = {
152
152
  key: 0,
153
153
  class: "title-saves"
154
154
  }, ht = {
155
155
  key: 1,
156
156
  class: "subtitle-saves"
157
- }, pt = { class: "saves-box" }, ft = {
157
+ }, pt = { class: "saves-box" }, mt = {
158
158
  __name: "CardIndividualSaves",
159
159
  props: {
160
160
  height: {
@@ -193,7 +193,7 @@ const nt = /* @__PURE__ */ x(f, [["render", st], ["__scopeId", "data-v-f0ac71da"
193
193
  "--width": t.width,
194
194
  "--footer-background-color": t.data.thumbnails.colors.background_color_cards || "#000000"
195
195
  })), u = h(() => {
196
- var i, c, m, k, g, v, b;
196
+ var i, c, k, f, v, g, b;
197
197
  return {
198
198
  height: t.height,
199
199
  width: t.width,
@@ -202,7 +202,7 @@ const nt = /* @__PURE__ */ x(f, [["render", st], ["__scopeId", "data-v-f0ac71da"
202
202
  teamLogoUrl: z(t.data.team_id || "") || "",
203
203
  cardColor: t.data.thumbnails.colors.background_color || "#000000",
204
204
  backgroundImageSrc: T(
205
- (k = (m = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : m.background_player_in_action) != null && k[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 : ""
205
+ (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 = (g = (v = t.data) == null ? void 0 : v.thumbnails) == null ? void 0 : g.images) != null && b.background_team ? t.data.thumbnails.images.background_team : ""
206
206
  ),
207
207
  textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
208
208
  footerBodyData: {
@@ -251,7 +251,7 @@ const nt = /* @__PURE__ */ x(f, [["render", st], ["__scopeId", "data-v-f0ac71da"
251
251
  }, 16, ["width", "show-videos", "id-aux"])) : n("", !0)
252
252
  ], 4));
253
253
  }
254
- }, vt = /* @__PURE__ */ x(ft, [["__scopeId", "data-v-8c4a83ed"]]);
254
+ }, gt = /* @__PURE__ */ x(mt, [["__scopeId", "data-v-8c4a83ed"]]);
255
255
  export {
256
- vt as default
256
+ gt as default
257
257
  };
@@ -1,9 +1,9 @@
1
- import { computed as d, createElementBlock as s, openBlock as a, normalizeStyle as Z, createVNode as F, mergeProps as m, withCtx as g, createElementVNode as t, createCommentVNode as v, createBlock as f, normalizeProps as b, pushScopeId as k, popScopeId as y } from "vue";
2
- import { d as w } from "./CardBaseAllIndividual-CJY0KdrJ-5WGyXZ-X.js";
1
+ import { computed as d, createElementBlock as s, openBlock as a, normalizeStyle as Z, createVNode as v, mergeProps as m, withCtx as F, createElementVNode as t, createCommentVNode as g, createBlock as f, normalizeProps as b, pushScopeId as k, popScopeId as y } from "vue";
2
+ import { d as w } from "./CardBaseAllIndividual-CJY0KdrJ-CJbDdtoT.js";
3
3
  import { a as x } from "./TimeSvg-B3vSNjgQ-C-C9O8pw.js";
4
4
  import { u as S } from "./TimeSvg2-BX0bDokD-DUAW7DAH.js";
5
- import { m as P, P as V, E as B, O as I, V as T, A as E } from "./CardBase-DJPEW7xu-B5esUc8R.js";
6
- const L = (o) => (k("data-v-1b56b50f"), o = o(), y(), o), N = { class: "shots__body" }, O = /* @__PURE__ */ L(() => /* @__PURE__ */ t("div", { class: "shots__body__title" }, " TIROS A GOL ", -1)), A = { class: "shots-svg" }, z = {
5
+ import { m as P, P as V, E as B, O as I, V as T, A as E } from "./CardBase-DJPEW7xu-Bb90xanh.js";
6
+ const L = (e) => (k("data-v-1b56b50f"), e = e(), y(), e), N = { class: "shots__body" }, O = /* @__PURE__ */ L(() => /* @__PURE__ */ t("div", { class: "shots__body__title" }, " TIROS A GOL ", -1)), A = { class: "shots-svg" }, z = {
7
7
  key: 0,
8
8
  class: "time-svg"
9
9
  }, G = {
@@ -55,9 +55,9 @@ const L = (o) => (k("data-v-1b56b50f"), o = o(), y(), o), N = { class: "shots__b
55
55
  default: ""
56
56
  }
57
57
  },
58
- setup(o) {
59
- const l = o, _ = d(() => {
60
- var i, r, n, C, u, c, p;
58
+ setup(e) {
59
+ const l = e, _ = d(() => {
60
+ var i, r, n, C, c, u, p;
61
61
  const h = l.data.footer.show_percentage;
62
62
  return {
63
63
  height: l.height,
@@ -66,7 +66,7 @@ const L = (o) => (k("data-v-1b56b50f"), o = o(), y(), o), N = { class: "shots__b
66
66
  playerPhotoUrl: T(l.data.player_id || ""),
67
67
  teamLogoUrl: I(l.data.team_id || ""),
68
68
  cardColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
69
- backgroundImageSrc: B((C = (n = (r = (i = l.data) == null ? void 0 : i.thumbnails) == null ? void 0 : r.images) == null ? void 0 : n.background_player_in_action) != null && C[0] ? l.data.thumbnails.images.background_player_in_action[0] : (p = (c = (u = l.data) == null ? void 0 : u.thumbnails) == null ? void 0 : c.images) != null && p.background_team ? l.data.thumbnails.images.background_team : ""),
69
+ backgroundImageSrc: B((C = (n = (r = (i = l.data) == null ? void 0 : i.thumbnails) == null ? void 0 : r.images) == null ? void 0 : n.background_player_in_action) != null && C[0] ? l.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = l.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? l.data.thumbnails.images.background_team : ""),
70
70
  footerBodyData: {
71
71
  description: V(E({ data: l.data, descriptionType: l.descriptionType })),
72
72
  total: h ? l.data.percentage : l.data.total,
@@ -77,7 +77,7 @@ const L = (o) => (k("data-v-1b56b50f"), o = o(), y(), o), N = { class: "shots__b
77
77
  totalBorderColor: (l.data.thumbnails.colors.data_color || "#FFFFFF").trim()
78
78
  }
79
79
  };
80
- }), e = d(() => ({
80
+ }), o = d(() => ({
81
81
  fieldLineColor: l.data.thumbnails.colors.graphic_color || "#FFFFFF",
82
82
  arrowColor: l.data.thumbnails.colors.graphic_color_2 || "#FFFFFF",
83
83
  timeSvgProps: {
@@ -92,17 +92,17 @@ const L = (o) => (k("data-v-1b56b50f"), o = o(), y(), o), N = { class: "shots__b
92
92
  class: "shots",
93
93
  style: Z(M.value)
94
94
  }, [
95
- F(w, m(_.value, {
96
- "show-videos": o.showVideos,
97
- "id-aux": o.idAux
95
+ v(w, m(_.value, {
96
+ "show-videos": e.showVideos,
97
+ "id-aux": e.idAux
98
98
  }), {
99
- body: g(() => [
99
+ body: F(() => [
100
100
  t("div", N, [
101
101
  O,
102
102
  t("div", A, [
103
- e.value.timeSvgProps.matchlapse ? (a(), s("div", z, [
104
- e.value.timeSvgProps.matchLapse === 1 ? (a(), f(x, { key: 0 })) : (a(), f(S, b(m({ key: 1 }, e.value.timeSvgProps)), null, 16))
105
- ])) : v("", !0),
103
+ o.value.timeSvgProps.matchlapse ? (a(), s("div", z, [
104
+ o.value.timeSvgProps.matchLapse === 1 ? (a(), f(x, { key: 0 })) : (a(), f(S, b(m({ key: 1 }, o.value.timeSvgProps)), null, 16))
105
+ ])) : g("", !0),
106
106
  (a(), s("svg", G, [
107
107
  t("g", U, [
108
108
  t("rect", {
@@ -114,33 +114,33 @@ const L = (o) => (k("data-v-1b56b50f"), o = o(), y(), o), N = { class: "shots__b
114
114
  transform: "rotate(-90 0.558697 124.445)",
115
115
  fill: "#070707",
116
116
  "fill-opacity": "0.17",
117
- stroke: e.value.fieldLineColor,
117
+ stroke: o.value.fieldLineColor,
118
118
  "stroke-width": "1.10958"
119
119
  }, null, 8, j),
120
120
  t("path", {
121
121
  d: "M0.865234 124.752L160.124 124.752",
122
- stroke: e.value.fieldLineColor,
122
+ stroke: o.value.fieldLineColor,
123
123
  "stroke-width": "0.531453",
124
124
  "stroke-linecap": "square"
125
125
  }, null, 8, q),
126
126
  t("mask", {
127
127
  id: "path-3-inside-1_153_9715",
128
- fill: e.value.fieldLineColor
128
+ fill: o.value.fieldLineColor
129
129
  }, R, 8, D),
130
130
  t("path", {
131
131
  d: "M54.9305 0.749809L54.9305 18.8563L57.1496 18.8563L57.1496 0.749809L54.9305 0.749809ZM57.4974 21.4113L103.502 21.1973L103.491 18.9782L57.4871 19.1921L57.4974 21.4113ZM106.045 18.6423L106.045 1.08777L103.826 1.08777L103.826 18.6423L106.045 18.6423ZM103.502 21.1973C104.908 21.1908 106.045 20.0488 106.045 18.6423L103.826 18.6423C103.826 18.8272 103.676 18.9773 103.491 18.9782L103.502 21.1973ZM54.9305 18.8563C54.9305 20.272 56.0817 21.4179 57.4974 21.4113L57.4871 19.1921C57.301 19.193 57.1496 19.0424 57.1496 18.8563L54.9305 18.8563Z",
132
- fill: e.value.fieldLineColor,
132
+ fill: o.value.fieldLineColor,
133
133
  mask: "url(#path-3-inside-1_153_9715)"
134
134
  }, null, 8, J),
135
135
  K,
136
136
  t("path", {
137
137
  d: "M40.9539 0.755306L40.9539 32.8316L43.1731 32.8316L43.1731 0.755306L40.9539 0.755306ZM43.5219 35.3866L117.466 35.0114L117.455 32.7923L43.5107 33.1675L43.5219 35.3866ZM120.008 32.4564L120.008 1.33467L117.789 1.33467L117.789 32.4564L120.008 32.4564ZM117.466 35.0114C118.872 35.0043 120.008 33.8625 120.008 32.4564L117.789 32.4564C117.789 32.6412 117.64 32.7913 117.455 32.7923L117.466 35.0114ZM40.9539 32.8316C40.9539 34.2478 42.1058 35.3938 43.5219 35.3866L43.5107 33.1675C43.3245 33.1684 43.1731 33.0178 43.1731 32.8316L40.9539 32.8316Z",
138
- fill: e.value.fieldLineColor,
138
+ fill: o.value.fieldLineColor,
139
139
  mask: "url(#path-5-inside-2_153_9715)"
140
140
  }, null, 8, Q),
141
141
  t("path", {
142
142
  d: "M80.475 90.3827C99.4573 90.3827 114.845 105.771 114.845 124.754C114.845 143.737 99.4573 159.126 80.475 159.126C61.4928 159.126 46.1046 143.737 46.1046 124.754C46.1046 105.771 61.4928 90.3827 80.475 90.3827Z",
143
- stroke: e.value.fieldLineColor,
143
+ stroke: o.value.fieldLineColor,
144
144
  "stroke-width": "1.10958"
145
145
  }, null, 8, W),
146
146
  t("ellipse", {
@@ -149,21 +149,21 @@ const L = (o) => (k("data-v-1b56b50f"), o = o(), y(), o), N = { class: "shots__b
149
149
  rx: "3.49262",
150
150
  ry: "3.49252",
151
151
  transform: "rotate(-90 80.474 124.768)",
152
- fill: e.value.fieldLineColor,
153
- stroke: e.value.fieldLineColor,
152
+ fill: o.value.fieldLineColor,
153
+ stroke: o.value.fieldLineColor,
154
154
  "stroke-width": "0.531453"
155
155
  }, null, 8, X)
156
156
  ]),
157
157
  t("path", {
158
158
  d: "M80.0693 7.64746L77.944 14.2482L84.7231 12.7884L80.0693 7.64746ZM49.2923 59.8762C47.5671 60.267 46.4853 61.9823 46.876 63.7075C47.2667 65.4327 48.982 66.5145 50.7072 66.1238C52.4324 65.7331 53.5143 64.0177 53.1235 62.2925C52.7328 60.5673 51.0175 59.4855 49.2923 59.8762ZM80.1397 11.1767C80.2618 11.939 80.3667 12.6999 80.4548 13.4587L81.6479 13.3202C81.5578 12.5442 81.4505 11.7662 81.3257 10.9868L80.1397 11.1767ZM80.6707 15.7521C80.7262 16.5217 80.7645 17.2887 80.786 18.0525L81.9866 18.0189C81.9647 17.2375 81.9255 16.4529 81.8687 15.6657L80.6707 15.7521ZM80.7995 20.3556C80.7868 21.1267 80.757 21.8939 80.7102 22.6567L81.909 22.7302C81.9569 21.9495 81.9875 21.1643 82.0004 20.3752L80.7995 20.3556ZM80.5174 24.9512C80.4354 25.7177 80.3363 26.4789 80.2203 27.2342L81.4075 27.4165C81.5262 26.643 81.6277 25.8636 81.7117 25.0789L80.5174 24.9512ZM79.8185 29.5009C79.6664 30.2562 79.4973 31.0047 79.3115 31.7459L80.4765 32.038C80.6669 31.2785 80.8401 30.5116 80.9959 29.7379L79.8185 29.5009ZM78.6991 33.9641C78.4766 34.7013 78.2372 35.4301 77.9814 36.1499L79.1131 36.5522C79.3754 35.814 79.6209 35.0668 79.849 34.3112L78.6991 33.9641ZM77.1583 38.2977C76.8653 39.0093 76.5558 39.7108 76.2302 40.4016L77.3166 40.9138C77.6508 40.2048 77.9684 39.4849 78.2689 38.755L77.1583 38.2977ZM75.1975 42.4554C74.8347 43.1332 74.4557 43.7993 74.0609 44.4528L75.089 45.0738C75.4946 44.4024 75.8839 43.7182 76.2564 43.0222L75.1975 42.4554ZM72.8212 46.3878C72.3897 47.0234 71.9424 47.6455 71.4797 48.2531L72.4354 48.9807C72.9113 48.3556 73.3713 47.7159 73.8149 47.0624L72.8212 46.3878ZM70.0386 50.0414C69.5409 50.6251 69.0279 51.1934 68.5002 51.7454L69.3684 52.5753C69.9119 52.0067 70.4401 51.4216 70.9525 50.8208L70.0386 50.0414ZM66.8673 53.3578C66.307 53.8797 65.7322 54.3845 65.1434 54.8712L65.9086 55.7969C66.5159 55.295 67.1085 54.7746 67.686 54.2366L66.8673 53.3578ZM63.3327 56.2785C62.7153 56.729 62.0843 57.1607 61.4401 57.5727L62.0873 58.5846C62.7523 58.1592 63.4036 57.7136 64.0407 57.2487L63.3327 56.2785ZM59.4715 58.7474C58.8048 59.1174 58.1256 59.4673 57.4341 59.7961L57.9499 60.8808C58.6642 60.5411 59.3659 60.1797 60.0544 59.7975L59.4715 58.7474ZM55.3349 60.7141C54.6287 60.9966 53.9109 61.258 53.182 61.4973L53.5567 62.6384C54.3098 62.3912 55.0514 62.1212 55.7811 61.8292L55.3349 60.7141ZM50.9836 62.1429C50.6141 62.2389 50.2419 62.3294 49.8671 62.4143L50.1324 63.5857C50.5194 63.4981 50.9039 63.4046 51.2856 63.3054L50.9836 62.1429ZM80.0693 7.64746L77.944 14.2482L84.7231 12.7884L80.0693 7.64746ZM49.2923 59.8762C47.5671 60.267 46.4853 61.9823 46.876 63.7075C47.2667 65.4327 48.982 66.5145 50.7072 66.1238C52.4324 65.7331 53.5143 64.0177 53.1235 62.2925C52.7328 60.5673 51.0175 59.4855 49.2923 59.8762ZM80.1397 11.1767C80.2618 11.939 80.3667 12.6999 80.4548 13.4587L81.6479 13.3202C81.5578 12.5442 81.4505 11.7662 81.3257 10.9868L80.1397 11.1767ZM80.6707 15.7521C80.7262 16.5217 80.7645 17.2887 80.786 18.0525L81.9866 18.0189C81.9647 17.2375 81.9255 16.4529 81.8687 15.6657L80.6707 15.7521ZM80.7995 20.3556C80.7868 21.1267 80.757 21.8939 80.7102 22.6567L81.909 22.7302C81.9569 21.9495 81.9875 21.1643 82.0004 20.3752L80.7995 20.3556ZM80.5174 24.9512C80.4354 25.7177 80.3363 26.4789 80.2203 27.2342L81.4075 27.4165C81.5262 26.643 81.6277 25.8636 81.7117 25.0789L80.5174 24.9512ZM79.8185 29.5009C79.6664 30.2562 79.4973 31.0047 79.3115 31.7459L80.4765 32.038C80.6669 31.2785 80.8401 30.5116 80.9959 29.7379L79.8185 29.5009ZM78.6991 33.9641C78.4766 34.7013 78.2372 35.4301 77.9814 36.1499L79.1131 36.5522C79.3754 35.814 79.6209 35.0668 79.849 34.3112L78.6991 33.9641ZM77.1583 38.2977C76.8653 39.0093 76.5558 39.7108 76.2302 40.4016L77.3166 40.9138C77.6508 40.2048 77.9684 39.4849 78.2689 38.755L77.1583 38.2977ZM75.1975 42.4554C74.8347 43.1332 74.4557 43.7993 74.0609 44.4528L75.089 45.0738C75.4946 44.4024 75.8839 43.7182 76.2564 43.0222L75.1975 42.4554ZM72.8212 46.3878C72.3897 47.0234 71.9424 47.6455 71.4797 48.2531L72.4354 48.9807C72.9113 48.3556 73.3713 47.7159 73.8149 47.0624L72.8212 46.3878ZM70.0386 50.0414C69.5409 50.6251 69.0279 51.1934 68.5002 51.7454L69.3684 52.5753C69.9119 52.0067 70.4401 51.4216 70.9525 50.8208L70.0386 50.0414ZM66.8673 53.3578C66.307 53.8797 65.7322 54.3845 65.1434 54.8712L65.9086 55.7969C66.5159 55.295 67.1085 54.7746 67.686 54.2366L66.8673 53.3578ZM63.3327 56.2785C62.7153 56.729 62.0843 57.1607 61.4401 57.5727L62.0873 58.5846C62.7523 58.1592 63.4036 57.7136 64.0407 57.2487L63.3327 56.2785ZM59.4715 58.7474C58.8048 59.1174 58.1256 59.4673 57.4341 59.7961L57.9499 60.8808C58.6642 60.5411 59.3659 60.1797 60.0544 59.7975L59.4715 58.7474ZM55.3349 60.7141C54.6287 60.9966 53.9109 61.258 53.182 61.4973L53.5567 62.6384C54.3098 62.3912 55.0514 62.1212 55.7811 61.8292L55.3349 60.7141ZM50.9836 62.1429C50.6141 62.2389 50.2419 62.3294 49.8671 62.4143L50.1324 63.5857C50.5194 63.4981 50.9039 63.4046 51.2856 63.3054L50.9836 62.1429Z",
159
- fill: e.value.fieldLineColor
159
+ fill: o.value.fieldLineColor
160
160
  }, null, 8, Y),
161
161
  t("defs", null, [
162
162
  t("clipPath", $, [
163
163
  t("rect", {
164
164
  width: "161.111",
165
165
  height: "125",
166
- fill: e.value.fieldLineColor,
166
+ fill: o.value.fieldLineColor,
167
167
  transform: "translate(0.00390625)"
168
168
  }, null, 8, l1)
169
169
  ])
@@ -1,6 +1,6 @@
1
- import { computed as r, createElementBlock as s, openBlock as d, normalizeStyle as m, createVNode as b, mergeProps as C, withCtx as v, createElementVNode as t, toDisplayString as g, createCommentVNode as y, pushScopeId as L, popScopeId as x } from "vue";
2
- import { d as B } from "./CardBaseAllIndividual-CJY0KdrJ-5WGyXZ-X.js";
3
- import { m as w, P as S, E as k, V, A, $ as G, O as I } from "./CardBase-DJPEW7xu-B5esUc8R.js";
1
+ import { computed as r, createElementBlock as s, openBlock as d, normalizeStyle as m, createVNode as b, mergeProps as v, withCtx as C, createElementVNode as t, toDisplayString as g, createCommentVNode as y, pushScopeId as L, popScopeId as x } from "vue";
2
+ import { d as B } from "./CardBaseAllIndividual-CJY0KdrJ-CJbDdtoT.js";
3
+ import { m as w, P as S, E as k, V, A, $ as G, O as I } from "./CardBase-DJPEW7xu-Bb90xanh.js";
4
4
  const n = (a) => (L("data-v-6665b77d"), a = a(), x(), a), M = { class: "statistics__body__title-sub" }, U = { class: "statistics__body__title-sub__title" }, O = { class: "statistics__body__data" }, D = { class: "shield-svg" }, $ = { class: "team-logo" }, E = ["src"], T = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
5
5
  /* @__PURE__ */ t("span", { class: "hashtag" }, "#"),
6
6
  /* @__PURE__ */ t("span", { class: "number" }, "1")
@@ -148,7 +148,7 @@ const n = (a) => (L("data-v-6665b77d"), a = a(), x(), a), M = { class: "statisti
148
148
  },
149
149
  setup(a) {
150
150
  const e = a, F = r(() => {
151
- var l, i, c, p, f, _, h;
151
+ var l, i, c, p, _, f, h;
152
152
  return {
153
153
  height: e.height,
154
154
  width: e.width,
@@ -156,7 +156,7 @@ const n = (a) => (L("data-v-6665b77d"), a = a(), x(), a), M = { class: "statisti
156
156
  playerPhotoPositionTop: "24px",
157
157
  playerPhotoUrl: V(e.data.player_id || ""),
158
158
  cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
159
- backgroundImageSrc: k((p = (c = (i = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : i.images) == null ? void 0 : c.background_player_in_action) != null && p[0] ? e.data.thumbnails.images.background_player_in_action[0] : (h = (_ = (f = e.data) == null ? void 0 : f.thumbnails) == null ? void 0 : _.images) != null && h.background_team ? e.data.thumbnails.images.background_team : ""),
159
+ backgroundImageSrc: k((p = (c = (i = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : i.images) == null ? void 0 : c.background_player_in_action) != null && p[0] ? e.data.thumbnails.images.background_player_in_action[0] : (h = (f = (_ = e.data) == null ? void 0 : _.thumbnails) == null ? void 0 : f.images) != null && h.background_team ? e.data.thumbnails.images.background_team : ""),
160
160
  footerBodyData: {
161
161
  description: S(A({ data: e.data, descriptionType: e.descriptionType })),
162
162
  total: e.data.total,
@@ -185,11 +185,11 @@ const n = (a) => (L("data-v-6665b77d"), a = a(), x(), a), M = { class: "statisti
185
185
  class: "statistics",
186
186
  style: m(u.value)
187
187
  }, [
188
- b(B, C(F.value, {
188
+ b(B, v(F.value, {
189
189
  "show-videos": a.showVideos,
190
190
  "id-aux": a.idAux
191
191
  }), {
192
- body: v(() => [
192
+ body: C(() => [
193
193
  t("div", {
194
194
  class: "statistics__body",
195
195
  style: m(u.value)
@@ -0,0 +1,145 @@
1
+ import { useCssVars as V, computed as d, ref as B, createElementBlock as m, openBlock as c, normalizeStyle as r, createBlock as A, createCommentVNode as R, mergeProps as S, withCtx as D, createElementVNode as e, toDisplayString as u, createVNode as E, unref as T, Fragment as M, renderList as N, normalizeClass as F } from "vue";
2
+ import { m as z, E as p, z as H, A as L } from "./CardBase-DJPEW7xu-Bb90xanh.js";
3
+ import { N as W } from "./Shield-aiuYwUJa-BJbb4la8.js";
4
+ const $ = { class: "card-content" }, j = { class: "content-wrapper" }, q = { class: "main-content" }, G = { class: "title-separator" }, J = { class: "footer-text" }, K = ["innerHTML"], Q = { class: "seasons-sidebar" }, U = { class: "seasons-list" }, X = "1px 54px", Y = {
5
+ __name: "CardPromTournament",
6
+ props: {
7
+ height: {
8
+ type: String,
9
+ default: "568px"
10
+ },
11
+ width: {
12
+ type: String,
13
+ default: "319px"
14
+ },
15
+ showVideos: {
16
+ type: Boolean,
17
+ default: !0
18
+ },
19
+ idAux: {
20
+ type: String,
21
+ default: ""
22
+ },
23
+ data: {
24
+ type: Object,
25
+ default: () => null
26
+ },
27
+ descriptionType: {
28
+ type: Number,
29
+ default: 0
30
+ }
31
+ },
32
+ setup(s) {
33
+ V((o) => {
34
+ var t;
35
+ return {
36
+ d9678364: s.data.thumbnails.colors.background_color,
37
+ "04caf132": ((t = a.data) == null ? void 0 : t.thumbnails.colors.font_color_stats) || "#4CAF50"
38
+ };
39
+ });
40
+ const a = s, O = d(() => ({
41
+ "--height": a.height,
42
+ "--width": a.width,
43
+ "--footer-background-color": a.data.thumbnails.colors.background_color || "#000000"
44
+ })), P = B({
45
+ width: "50px",
46
+ height: "50px",
47
+ bottom: "34px",
48
+ right: "-8px",
49
+ innerImageWidth: "39px",
50
+ innerImageHeight: "39px"
51
+ }), h = d(() => {
52
+ var o, t, l, i;
53
+ return !a.data || !a.data.thumbnails ? null : {
54
+ backgroundOverlayColor: a.data.thumbnails.colors.background_color || "#000000",
55
+ backgroundImageSrc: (i = (l = (t = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : t.images) == null ? void 0 : l.background_player_in_action) != null && i[0] ? p(a.data.thumbnails.images.background_player_in_action[0]) : p(a.data.thumbnails.images.background_team),
56
+ isPlayButtonVisible: a.showVideos
57
+ };
58
+ }), g = d(() => {
59
+ var o, t, l;
60
+ if (!((o = a.data) != null && o.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
61
+ const i = a.data.title.split("*").filter(Boolean);
62
+ return {
63
+ mainTitle: ((t = i[0]) == null ? void 0 : t.trim()) || "",
64
+ sidebarTitle: ((l = i[1]) == null ? void 0 : l.trim()) || "PROMEDIO POR PARTIDO"
65
+ };
66
+ }), C = d(() => {
67
+ var o;
68
+ return (o = a.data) != null && o.averages ? Math.max(...a.data.averages.map((t) => parseFloat(t.average))) : 0;
69
+ });
70
+ return (o, t) => (c(), m("div", {
71
+ class: "card-general",
72
+ style: r(O.value)
73
+ }, [
74
+ h.value ? (c(), A(H, S({ key: 0 }, h.value, {
75
+ width: s.width,
76
+ "show-videos": s.showVideos,
77
+ "id-aux": s.idAux
78
+ }), {
79
+ default: D(() => {
80
+ var l, i, v, b, _, y, f, w;
81
+ return [
82
+ e("div", $, [
83
+ e("div", j, [
84
+ e("div", q, [
85
+ e("h1", {
86
+ class: "main-title",
87
+ style: r({ color: ((l = a.data) == null ? void 0 : l.thumbnails.colors.font_color_header) || "white" })
88
+ }, u(g.value.mainTitle), 5),
89
+ e("div", G, [
90
+ E(W, {
91
+ "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + a.data.team_id + ".png",
92
+ width: 105,
93
+ color: a.data.thumbnails.colors.graphic_color,
94
+ "inner-image-src": (_ = (b = (v = (i = a.data) == null ? void 0 : i.thumbnails) == null ? void 0 : v.images) == null ? void 0 : b.background_player_in_action) != null && _[0] ? T(p)(a.data.thumbnails.images.player_in_action[0]) : "https://golstatsimages.blob.core.windows.net/players-profile/" + a.data.player_id + ".png",
95
+ "team-logo-circle-props": P.value,
96
+ "inner-image-translate": X
97
+ }, null, 8, ["team-logo-src", "color", "inner-image-src", "team-logo-circle-props"])
98
+ ]),
99
+ e("div", J, [
100
+ e("p", {
101
+ innerHTML: T(L)({ data: a.data, descriptionType: a.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
102
+ class: "card-description",
103
+ style: r({ color: ((y = a.data) == null ? void 0 : y.thumbnails.colors.font_color_description) || "white" })
104
+ }, null, 12, K)
105
+ ])
106
+ ]),
107
+ e("div", Q, [
108
+ e("div", {
109
+ class: "sidebar-header",
110
+ style: r({ color: ((f = a.data) == null ? void 0 : f.thumbnails.colors.font_color_description) || "white" })
111
+ }, u(g.value.sidebarTitle), 5),
112
+ e("div", U, [
113
+ (c(!0), m(M, null, N((w = a.data) == null ? void 0 : w.averages, (n, I) => {
114
+ var x, k;
115
+ return c(), m("div", {
116
+ key: I,
117
+ class: F(["season-row", {
118
+ highlighted: n.highlighted,
119
+ "max-value": parseFloat(n.average) === C.value
120
+ }])
121
+ }, [
122
+ e("div", {
123
+ class: "season-value-box",
124
+ style: r({ color: ((x = a.data) == null ? void 0 : x.thumbnails.colors.font_color_stats) || "white" })
125
+ }, u(n.average), 5),
126
+ e("div", {
127
+ class: "season-label",
128
+ style: r({ color: ((k = a.data) == null ? void 0 : k.thumbnails.colors.font_color_stats) || "white" })
129
+ }, u(n.season), 5)
130
+ ], 2);
131
+ }), 128))
132
+ ])
133
+ ])
134
+ ])
135
+ ])
136
+ ];
137
+ }),
138
+ _: 1
139
+ }, 16, ["width", "show-videos", "id-aux"])) : R("", !0)
140
+ ], 4));
141
+ }
142
+ }, ta = /* @__PURE__ */ z(Y, [["__scopeId", "data-v-8c746128"]]);
143
+ export {
144
+ ta as default
145
+ };