@golstats/gsc-relevant-data 1.1.1 → 1.1.3

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-BNBUZGU7-CQL3FKH4.js → CardBase-LHalf2V1-DH_4cIUy.js} +52 -43
  2. package/dist/{CardBaseAllIndividual-D5JoiQqR-DWvua8kU.js → CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js} +7 -7
  3. package/dist/{CardGeneral-DTteAML4-BoCp5vlA.js → CardGeneral-eo3knIIA-DiSDBUxd.js} +139 -135
  4. package/dist/{CardGeneralIndividual-D-FKsjFO-DmczWq_i.js → CardGeneralIndividual-CAzGqXtP-CKucAqIc.js} +97 -93
  5. package/dist/{CardGeneralTeams-C0Z5qzcM-Bh5TOCqP.js → CardGeneralTeams-uDvy9Z7o-4o1o3rmK.js} +226 -222
  6. package/dist/{CardIndividual-BhPQqGlc-CejXGqdX.js → CardIndividual-BKTMzciS-CVYDhxcW.js} +61 -57
  7. package/dist/{CardIndividual1vs1-QeAXN4f--v6tZgRnG.js → CardIndividual1vs1-DnPVKDmp-DnamlHEl.js} +47 -43
  8. package/dist/{CardIndividualAreas-CHLqS1mw-PZoijJ8r.js → CardIndividualAreas-D5l7k_ww-DUXH6N-P.js} +61 -57
  9. package/dist/{CardIndividualCenters-hEROPxzH-CtlPKP5Y.js → CardIndividualCenters-BqtSPfOh-CHUdOS1l.js} +41 -37
  10. package/dist/{CardIndividualDistance-BQ8zwHOn-CA5xiYDZ.js → CardIndividualDistance-DjbQVGp0-BG1JjZiV.js} +26 -22
  11. package/dist/{CardIndividualFouls-ChdbYcE_-B40KY0oC.js → CardIndividualFouls-C-mzTK7G-Cog70HZW.js} +36 -32
  12. package/dist/{CardIndividualGoalParticipation-B9xqQ51i-OsxCuASk.js → CardIndividualGoalParticipation-DvGAjbsL-GeLVQIHO.js} +26 -22
  13. package/dist/{CardIndividualGoals-BtqVuDiw-Bq-a1M0D.js → CardIndividualGoals-CMC_PTbH-BamdFgox.js} +41 -37
  14. package/dist/{CardIndividualGold-BLT3Mk27-CaeXji6h.js → CardIndividualGold-D_-tb2Tk-DHL-TpvC.js} +23 -19
  15. package/dist/{CardIndividualNoGoalReceived-DJoQF9wO-Dxf13B0V.js → CardIndividualNoGoalReceived-DQSO9Yd2-D3O-ZUsH.js} +38 -34
  16. package/dist/{CardIndividualPerformance-lhPwEGlm-B7WXzM3P.js → CardIndividualPerformance-zyTJ5UCy-DF-f26EN.js} +31 -27
  17. package/dist/{CardIndividualSaves-CVjR2-WK-DUwpE6Cq.js → CardIndividualSaves-BecZ6U_G-nCSJXu1D.js} +56 -51
  18. package/dist/{CardIndividualShotsOnGoal-BHHi894T-B--B6LCk.js → CardIndividualShotsOnGoal-C7aZbXYB-CIQP7Eui.js} +61 -57
  19. package/dist/{CardIndividualStatistics-C-kaGAYd-rITqUEcS.js → CardIndividualStatistics-C20JRZ7J-Ft1l0Wp0.js} +31 -27
  20. package/dist/{CardPromTournament-BFRTPeVe-DyS-zRNp.js → CardPromTournament-BuPsC06q-BiAAvgkF.js} +50 -46
  21. package/dist/{CardSuccessfulPasses-C_L5d6hy-BH3ayI_z.js → CardSuccessfulPasses-BlTLO_xO-CqjTwJQB.js} +92 -88
  22. package/dist/{CardTheMostProductive-BBt8B_sf-CljO4w32.js → CardTheMostProductive-CSBkS-Z_-DFac0hnk.js} +26 -22
  23. package/dist/{PlayerProfileCircle-CJTiOj5E-C-JYhyfq.js → PlayerProfileCircle-DPjdqyyS-vdPCwx6y.js} +6 -6
  24. package/dist/{Shield-If5I91AC-A8wl9qI_.js → Shield-CfA9mcrj-w0qszHpb.js} +10 -10
  25. package/dist/{TimeSvg-B3vSNjgQ-C-C9O8pw.js → TimeSvg-B3vSNjgQ-BbQ6V9Cu.js} +3 -3
  26. package/dist/{TimeSvg2-BX0bDokD-DUAW7DAH.js → TimeSvg2-BX0bDokD-BWiiXdSp.js} +3 -3
  27. package/dist/gsc-relevant-data.css +1 -1
  28. package/dist/gsc-relevant-data.js +1 -1
  29. package/dist/gsc-relevant-data.umd.cjs +9 -6
  30. package/dist/{index-CSLdtYfE.js → index-DpIUU483.js} +2382 -1810
  31. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
- import { ref as f, computed as d, createElementBlock as u, openBlock as c, createVNode as g, mergeProps as w, withCtx as F, createElementVNode as n, normalizeStyle as S, normalizeClass as C, toDisplayString as _ } from "vue";
2
- import { d as $ } from "./CardBaseAllIndividual-D5JoiQqR-DWvua8kU.js";
3
- import { N as I } from "./Shield-If5I91AC-A8wl9qI_.js";
4
- import { m as N, P as T, A as E, $ as V, E as k, V as A } from "./CardBase-BNBUZGU7-CQL3FKH4.js";
5
- const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
1
+ import { ref as f, computed as d, openBlock as u, createElementBlock as c, createVNode as g, mergeProps as w, withCtx as F, createElementVNode as n, normalizeStyle as S, normalizeClass as I, toDisplayString as _ } from "vue";
2
+ import { d as C } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
3
+ import { N as T } from "./Shield-CfA9mcrj-w0qszHpb.js";
4
+ import { w as $, A as z, O as E, H, z as N, E as V } from "./CardBase-LHalf2V1-DH_4cIUy.js";
5
+ const k = { class: "gold-card" }, A = { class: "gold-card__body__title" }, B = {
6
6
  key: 0,
7
7
  class: "gold-card__body__shield"
8
- }, H = {
8
+ }, D = {
9
9
  key: 1,
10
10
  class: "gold-card__body__player-photo"
11
- }, L = ["src"], P = { class: "gold-card__body__sub-title" }, G = {
11
+ }, L = ["src"], G = { class: "gold-card__body__sub-title" }, O = {
12
12
  __name: "CardIndividualGold",
13
13
  props: {
14
14
  height: {
@@ -34,6 +34,10 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
34
34
  idAux: {
35
35
  type: String,
36
36
  default: ""
37
+ },
38
+ providerId: {
39
+ type: Number,
40
+ default: 0
37
41
  }
38
42
  },
39
43
  setup(s) {
@@ -69,7 +73,7 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
69
73
  footerHeight: "137px",
70
74
  teamLogoUrl: i.value === 2 ? `https://golstatsimages.blob.core.windows.net/tournaments-cards/${t.data.tournament_id}.png` : "",
71
75
  footerBodyData: {
72
- description: T(E({ data: t.data, descriptionType: t.descriptionType })),
76
+ description: z(E({ data: t.data, descriptionType: t.descriptionType })),
73
77
  total: t.data.footer.show_percentage ? t.data.percentage : t.data.total,
74
78
  textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
75
79
  totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
@@ -79,11 +83,11 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
79
83
  goldCardType: i.value
80
84
  })), e = d(() => {
81
85
  var a, o, l, r;
82
- const { title: p, subtitle: x } = V(t.data.title), m = !!((r = (l = (o = (a = t.data) == null ? void 0 : a.thumbnails) == null ? void 0 : o.images) == null ? void 0 : l.player_in_action) != null && r[0]);
86
+ const { title: p, subtitle: x } = H(t.data.title), m = !!((r = (l = (o = (a = t.data) == null ? void 0 : a.thumbnails) == null ? void 0 : o.images) == null ? void 0 : l.player_in_action) != null && r[0]);
83
87
  return {
84
88
  title: p,
85
89
  subtitle: x,
86
- innerImageSrc: m ? k(t.data.thumbnails.images.player_in_action[0]) : A(t.data.player_id || ""),
90
+ innerImageSrc: m ? N(t.data.thumbnails.images.player_in_action[0], t.providerId) : V(t.data.player_id || "", t.providerId),
87
91
  tournamentLogoSrc: `https://golstatsimages.blob.core.windows.net/todoelfut/${t.data.tournament_id}.png`,
88
92
  translate: m ? "0 38px" : "0 21px"
89
93
  };
@@ -95,19 +99,19 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
95
99
  "--player-image-width": p ? "230px" : "180px"
96
100
  };
97
101
  });
98
- return (a, o) => (c(), u("div", B, [
99
- g($, w(y.value, {
102
+ return (a, o) => (u(), c("div", k, [
103
+ g(C, w(y.value, {
100
104
  "show-videos": s.showVideos,
101
105
  "id-aux": s.idAux
102
106
  }), {
103
107
  body: F(() => [
104
108
  n("div", {
105
- class: C(["gold-card__body", { "type-2": i.value === 2 }]),
109
+ class: I(["gold-card__body", { "type-2": i.value === 2 }]),
106
110
  style: S(b.value)
107
111
  }, [
108
- n("div", z, _(e.value.title), 1),
109
- i.value === 1 ? (c(), u("div", D, [
110
- g(I, {
112
+ n("div", A, _(e.value.title), 1),
113
+ i.value === 1 ? (u(), c("div", B, [
114
+ g(T, {
111
115
  "team-logo-src": e.value.tournamentLogoSrc,
112
116
  width: 131,
113
117
  "team-logo-circle-props": v.value,
@@ -115,20 +119,20 @@ const B = { class: "gold-card" }, z = { class: "gold-card__body__title" }, D = {
115
119
  "inner-image-translate": e.value.translate,
116
120
  "inner-image-src": e.value.innerImageSrc
117
121
  }, null, 8, ["team-logo-src", "team-logo-circle-props", "inner-image-translate", "inner-image-src"])
118
- ])) : (c(), u("div", H, [
122
+ ])) : (u(), c("div", D, [
119
123
  n("img", {
120
124
  src: e.value.innerImageSrc,
121
125
  alt: ""
122
126
  }, null, 8, L)
123
127
  ])),
124
- n("div", P, _(e.value.subtitle), 1)
128
+ n("div", G, _(e.value.subtitle), 1)
125
129
  ], 6)
126
130
  ]),
127
131
  _: 1
128
132
  }, 16, ["show-videos", "id-aux"])
129
133
  ]));
130
134
  }
131
- }, W = /* @__PURE__ */ N(G, [["__scopeId", "data-v-37857992"]]);
135
+ }, W = /* @__PURE__ */ $(O, [["__scopeId", "data-v-d82914d6"]]);
132
136
  export {
133
137
  W as default
134
138
  };
@@ -1,8 +1,8 @@
1
- import { computed as r, createElementBlock as i, openBlock as a, normalizeStyle as w, createVNode as v, mergeProps as x, withCtx as k, createElementVNode as o, createCommentVNode as u, toDisplayString as _, createBlock as M, unref as s, normalizeProps as Z, guardReactiveProps as P } from "vue";
2
- import { d as V, B as S } from "./CardBaseAllIndividual-D5JoiQqR-DWvua8kU.js";
3
- import { m as H, P as B, E as T, O as $, A as E, $ as N, V as O } from "./CardBase-BNBUZGU7-CQL3FKH4.js";
4
- import { a as U } from "./TimeSvg-B3vSNjgQ-C-C9O8pw.js";
5
- const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" }, I = { class: "no-goal__body__title-sub__title" }, R = {
1
+ import { computed as C, openBlock as a, createElementBlock as i, normalizeStyle as w, createVNode as m, mergeProps as x, withCtx as k, createElementVNode as o, toDisplayString as _, createCommentVNode as u, unref as s, normalizeProps as M, guardReactiveProps as Z, createBlock as V } from "vue";
2
+ import { d as P, B as S } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
3
+ import { w as H, A as B, O as I, z as N, V as T, H as z, E } from "./CardBase-LHalf2V1-DH_4cIUy.js";
4
+ import { a as O } from "./TimeSvg-B3vSNjgQ-BbQ6V9Cu.js";
5
+ const U = { class: "no-goal__body" }, $ = { class: "no-goal__body__title-sub" }, A = { class: "no-goal__body__title-sub__title" }, R = {
6
6
  key: 0,
7
7
  class: "no-goal__body__title-sub__sub"
8
8
  }, j = { class: "no-goal__body__data" }, D = {
@@ -20,7 +20,7 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
20
20
  viewBox: "0 0 47 46",
21
21
  fill: "none",
22
22
  xmlns: "http://www.w3.org/2000/svg"
23
- }, Q = { "clip-path": "url(#clip0_153_11805)" }, W = ["fill"], X = ["fill"], Y = ["fill"], l1 = ["fill"], o1 = ["fill"], t1 = ["fill"], a1 = ["fill"], i1 = ["fill"], e1 = ["fill"], C1 = ["fill"], r1 = ["fill"], n1 = ["fill"], d1 = ["fill"], u1 = { id: "clip0_153_11805" }, s1 = ["fill"], c1 = {
23
+ }, Q = { "clip-path": "url(#clip0_153_11805)" }, W = ["fill"], X = ["fill"], Y = ["fill"], l1 = ["fill"], o1 = ["fill"], t1 = ["fill"], a1 = ["fill"], i1 = ["fill"], e1 = ["fill"], r1 = ["fill"], C1 = ["fill"], d1 = ["fill"], n1 = ["fill"], u1 = { id: "clip0_153_11805" }, s1 = ["fill"], c1 = {
24
24
  __name: "CardIndividualNoGoalReceived",
25
25
  props: {
26
26
  height: {
@@ -46,10 +46,14 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
46
46
  idAux: {
47
47
  type: String,
48
48
  default: ""
49
+ },
50
+ providerId: {
51
+ type: Number,
52
+ default: 0
49
53
  }
50
54
  },
51
- setup(n) {
52
- const l = n, f = /* @__PURE__ */ new Set([
55
+ setup(d) {
56
+ const l = d, f = /* @__PURE__ */ new Set([
53
57
  "64-i",
54
58
  "29-e"
55
59
  ]), g = /* @__PURE__ */ new Set([
@@ -62,27 +66,27 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
62
66
  "28-e",
63
67
  "31-e",
64
68
  "32-e"
65
- ]), y = r(() => {
66
- var e, C, c, L, p, h, m;
69
+ ]), y = C(() => {
70
+ var e, r, c, L, p, v, h;
67
71
  return {
68
72
  height: l.height,
69
73
  width: l.width,
70
74
  footerHeight: "120px",
71
75
  playerPhotoPositionTop: "24px",
72
- teamLogoUrl: $(l.data.team_id || ""),
76
+ teamLogoUrl: T(l.data.team_id || "", l.providerId),
73
77
  cardColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
74
- backgroundImageSrc: T((L = (c = (C = (e = l.data) == null ? void 0 : e.thumbnails) == null ? void 0 : C.images) == null ? void 0 : c.background_player_in_action) != null && L[0] ? l.data.thumbnails.images.background_player_in_action[0] : (m = (h = (p = l.data) == null ? void 0 : p.thumbnails) == null ? void 0 : h.images) != null && m.background_team ? l.data.thumbnails.images.background_team : ""),
78
+ backgroundImageSrc: N((L = (c = (r = (e = l.data) == null ? void 0 : e.thumbnails) == null ? void 0 : r.images) == null ? void 0 : c.background_player_in_action) != null && L[0] ? l.data.thumbnails.images.background_player_in_action[0] : (h = (v = (p = l.data) == null ? void 0 : p.thumbnails) == null ? void 0 : v.images) != null && h.background_team ? l.data.thumbnails.images.background_team : "", l.providerId),
75
79
  footerBodyData: {
76
- description: B(E({ data: l.data, descriptionType: l.descriptionType })),
80
+ description: B(I({ data: l.data, descriptionType: l.descriptionType })),
77
81
  textColor: (l.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
78
82
  }
79
83
  };
80
- }), t = r(() => {
81
- const { title: e, subtitle: C } = N(l.data.title);
84
+ }), t = C(() => {
85
+ const { title: e, subtitle: r } = z(l.data.title);
82
86
  return {
83
87
  title: e,
84
- subtitle: C,
85
- playerPhotoUrl: O(l.data.player_id || ""),
88
+ subtitle: r,
89
+ playerPhotoUrl: E(l.data.player_id || "", l.providerId),
86
90
  iconColor: (l.data.thumbnails.colors.icon_color || l.data.thumbnails.colors.graphic_color || "#FFFFFF").trim(),
87
91
  total: l.data.total,
88
92
  totalCircleColor: (l.data.thumbnails.colors.data_color || "#cbee6b").trim(),
@@ -93,27 +97,27 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
93
97
  conditions: l.data.conditions
94
98
  }
95
99
  };
96
- }), d = r(() => l.data.id), F = r(() => ({
100
+ }), n = C(() => l.data.id), F = C(() => ({
97
101
  "--title-color": (l.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
98
102
  "--data-color": (l.data.thumbnails.colors.background_color || "#000000").trim()
99
103
  }));
100
- return (e, C) => (a(), i("div", {
104
+ return (e, r) => (a(), i("div", {
101
105
  class: "no-goal",
102
106
  style: w(F.value)
103
107
  }, [
104
- v(V, x(y.value, {
105
- "show-videos": n.showVideos,
106
- "id-aux": n.idAux
108
+ m(P, x(y.value, {
109
+ "show-videos": d.showVideos,
110
+ "id-aux": d.idAux
107
111
  }), {
108
112
  body: k(() => [
109
- o("div", z, [
110
- o("div", A, [
111
- o("div", I, _(t.value.title), 1),
113
+ o("div", U, [
114
+ o("div", $, [
115
+ o("div", A, _(t.value.title), 1),
112
116
  t.value.subtitle ? (a(), i("div", R, _(t.value.subtitle), 1)) : u("", !0)
113
117
  ]),
114
118
  o("div", j, [
115
- s(b).has(d.value) ? u("", !0) : (a(), i("div", D, [
116
- v(U, Z(P(t.value.timeSvgProps)), null, 16)
119
+ s(b).has(n.value) ? u("", !0) : (a(), i("div", D, [
120
+ m(O, M(Z(t.value.timeSvgProps)), null, 16)
117
121
  ])),
118
122
  t.value.playerPhotoUrl ? (a(), i("div", G, [
119
123
  o("div", null, [
@@ -123,7 +127,7 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
123
127
  }, null, 8, q)
124
128
  ])
125
129
  ])) : u("", !0),
126
- s(f).has(d.value) || s(g).has(d.value) ? (a(), M(S, {
130
+ s(f).has(n.value) || s(g).has(n.value) ? (a(), V(S, {
127
131
  key: 2,
128
132
  value: l.data.percentage,
129
133
  "text-color": t.value.totalTextColor
@@ -169,19 +173,19 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
169
173
  o("path", {
170
174
  d: "M20.5186 16.5137C20.1937 16.5137 19.9385 16.2584 19.9385 15.9336V12.3369C19.9385 12.0121 20.1937 11.7568 20.5186 11.7568C20.8434 11.7568 21.0987 12.0121 21.0987 12.3369V15.9336C21.0987 16.2584 20.8434 16.5137 20.5186 16.5137Z",
171
175
  fill: t.value.iconColor
172
- }, null, 8, C1),
176
+ }, null, 8, r1),
173
177
  o("path", {
174
178
  d: "M25.3091 20.1341C25.1002 20.1341 24.903 20.018 24.7986 19.8324C24.6478 19.554 24.7522 19.1943 25.0306 19.0435L27.9776 17.4656C28.256 17.3148 28.6157 17.4192 28.7665 17.6976C28.9173 17.9761 28.8129 18.3357 28.5344 18.4866L25.5875 20.0644C25.4947 20.1108 25.4019 20.1341 25.3091 20.1341Z",
175
179
  fill: t.value.iconColor
176
- }, null, 8, r1),
180
+ }, null, 8, C1),
177
181
  o("path", {
178
182
  d: "M25.2984 27.6634C25.1359 27.6634 24.9851 27.5937 24.8691 27.4661L23.0476 25.4358C22.8387 25.1921 22.8503 24.8325 23.094 24.612C23.3376 24.4032 23.6973 24.4148 23.9177 24.6584L25.7392 26.6888C25.9481 26.9324 25.9365 27.2921 25.6928 27.5125C25.5768 27.6169 25.4492 27.6634 25.31 27.6634H25.2984Z",
179
183
  fill: t.value.iconColor
180
- }, null, 8, n1),
184
+ }, null, 8, d1),
181
185
  o("path", {
182
186
  d: "M15.7494 19.9951C15.6682 19.9951 15.5754 19.9719 15.4942 19.9371L12.5472 18.4984C12.2572 18.3592 12.1412 18.0111 12.2804 17.7211C12.4196 17.431 12.7677 17.315 13.0577 17.4542L16.0047 18.8929C16.2947 19.0321 16.4107 19.3802 16.2715 19.6702C16.1671 19.8791 15.9698 19.9951 15.7494 19.9951Z",
183
187
  fill: t.value.iconColor
184
- }, null, 8, d1)
188
+ }, null, 8, n1)
185
189
  ]),
186
190
  o("defs", null, [
187
191
  o("clipPath", u1, [
@@ -202,7 +206,7 @@ const z = { class: "no-goal__body" }, A = { class: "no-goal__body__title-sub" },
202
206
  }, 16, ["show-videos", "id-aux"])
203
207
  ], 4));
204
208
  }
205
- }, v1 = /* @__PURE__ */ H(c1, [["__scopeId", "data-v-b569d8ed"]]);
209
+ }, m1 = /* @__PURE__ */ H(c1, [["__scopeId", "data-v-eef8479b"]]);
206
210
  export {
207
- v1 as default
211
+ m1 as default
208
212
  };
@@ -1,7 +1,7 @@
1
- import { computed as d, createElementBlock as f, openBlock as h, 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-D5JoiQqR-DWvua8kU.js";
3
- import { m as w, P as T, E as k, V as B, A as N, $ as V } from "./CardBase-BNBUZGU7-CQL3FKH4.js";
4
- const P = (e) => (x("data-v-11b30bf3"), 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 i, openBlock as f, createElementBlock as h, 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 w, B as m } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
3
+ import { w as C, A as T, O as k, z as I, E as N, H as B } from "./CardBase-LHalf2V1-DH_4cIUy.js";
4
+ const O = (e) => (x("data-v-30fa640b"), e = e(), S(), e), $ = { class: "performance__body" }, A = { class: "performance__body__title-sub" }, E = { class: "performance__body__title-sub__title" }, P = { class: "performance__body__title-sub__sub" }, V = { class: "performance__body__data" }, z = { class: "performance__body__data__total-season" }, H = { class: "performance__body__data__total-season__season" }, D = /* @__PURE__ */ O(() => /* @__PURE__ */ o("span", { class: "arrow" }, "→", -1)), j = { 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: {
@@ -27,73 +27,77 @@ const P = (e) => (x("data-v-11b30bf3"), e = e(), S(), e), A = { class: "performa
27
27
  idAux: {
28
28
  type: String,
29
29
  default: ""
30
+ },
31
+ providerId: {
32
+ type: Number,
33
+ default: 0
30
34
  }
31
35
  },
32
36
  setup(e) {
33
- const a = e, b = d(() => {
34
- var l, r, s, i, u, _, p;
37
+ const a = e, b = i(() => {
38
+ var l, r, s, d, u, _, p;
35
39
  return {
36
40
  height: a.height,
37
41
  width: a.width,
38
42
  footerHeight: "fit-content",
39
43
  playerPhotoPositionTop: "24px",
40
- playerPhotoUrl: B(a.data.player_id || ""),
44
+ playerPhotoUrl: N(a.data.player_id || "", a.providerId),
41
45
  cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
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 : ""),
46
+ backgroundImageSrc: I((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 : "", a.providerId),
43
47
  textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
44
48
  footerBodyData: {
45
- description: T(N({ data: a.data, descriptionType: a.descriptionType })),
49
+ description: T(k({ data: a.data, descriptionType: a.descriptionType })),
46
50
  total: a.data.total,
47
51
  textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
48
52
  }
49
53
  };
50
- }), t = d(() => {
54
+ }), t = i(() => {
51
55
  if (!a.data || !a.data.totals || a.data.totals.length < 2)
52
56
  return {};
53
- const { title: l, subtitle: r } = V(a.data.title), [s, i] = a.data.totals;
57
+ const { title: l, subtitle: r } = B(a.data.title), [s, d] = a.data.totals;
54
58
  return {
55
59
  title: l,
56
60
  subtitle: r,
57
- pastSeasonName: i.season,
61
+ pastSeasonName: d.season,
58
62
  currentSeasonName: s.season,
59
- pastSeasonTotal: i.total,
63
+ pastSeasonTotal: d.total,
60
64
  currentSeasonTotal: s.total,
61
65
  textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
62
66
  circleOneColor: (a.data.thumbnails.colors.data_color_2 || "#000000").trim(),
63
67
  circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
64
68
  };
65
69
  });
66
- d(() => a.data.id);
67
- const v = d(() => ({
70
+ i(() => a.data.id);
71
+ const v = i(() => ({
68
72
  "--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
69
73
  "--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
70
74
  }));
71
- return (l, r) => (h(), f("div", {
75
+ return (l, r) => (f(), h("div", {
72
76
  class: "performance",
73
77
  style: y(v.value)
74
78
  }, [
75
- c(C, F(b.value, {
79
+ c(w, F(b.value, {
76
80
  "show-videos": e.showVideos,
77
81
  "id-aux": e.idAux
78
82
  }), {
79
83
  body: g(() => [
80
- o("div", A, [
81
- o("div", E, [
82
- o("div", I, n(t.value.title), 1),
83
- o("div", $, n(t.value.subtitle), 1)
84
+ o("div", $, [
85
+ o("div", A, [
86
+ o("div", E, n(t.value.title), 1),
87
+ o("div", P, n(t.value.subtitle), 1)
84
88
  ]),
85
- o("div", O, [
86
- o("div", D, [
89
+ o("div", V, [
90
+ o("div", z, [
87
91
  c(m, {
88
92
  value: t.value.pastSeasonTotal,
89
93
  suffix: "",
90
94
  "text-color": t.value.textColor,
91
95
  color: t.value.circleOneColor
92
96
  }, null, 8, ["value", "text-color", "color"]),
93
- o("div", j, n(t.value.pastSeasonName), 1)
97
+ o("div", H, n(t.value.pastSeasonName), 1)
94
98
  ]),
95
- z,
96
- o("div", H, [
99
+ D,
100
+ o("div", j, [
97
101
  c(m, {
98
102
  value: t.value.currentSeasonTotal,
99
103
  suffix: "",
@@ -109,7 +113,7 @@ const P = (e) => (x("data-v-11b30bf3"), e = e(), S(), e), A = { class: "performa
109
113
  }, 16, ["show-videos", "id-aux"])
110
114
  ], 4));
111
115
  }
112
- }, J = /* @__PURE__ */ w(q, [["__scopeId", "data-v-11b30bf3"]]);
116
+ }, J = /* @__PURE__ */ C(q, [["__scopeId", "data-v-30fa640b"]]);
113
117
  export {
114
118
  J as default
115
119
  };
@@ -1,6 +1,6 @@
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-D5JoiQqR-DWvua8kU.js";
3
- import { m as x, P as E, E as T, O as z, V as D, A as I } from "./CardBase-BNBUZGU7-CQL3FKH4.js";
1
+ import { useCssVars as y, computed as p, openBlock as a, createElementBlock as s, normalizeStyle as F, createBlock as M, mergeProps as S, withCtx as A, createElementVNode as e, toDisplayString as h, createCommentVNode as d, createVNode as C, pushScopeId as I, popScopeId as B } from "vue";
2
+ import { d as V } from "./CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js";
3
+ import { w as x, A as j, O as z, z as E, V as N, E as T } from "./CardBase-LHalf2V1-DH_4cIUy.js";
4
4
  const m = {
5
5
  props: {
6
6
  position: {
@@ -18,31 +18,31 @@ const m = {
18
18
  }
19
19
  }, w = () => {
20
20
  y((o) => ({
21
- "6fa1ffec": o.color
21
+ "53cdc2ca": o.color
22
22
  }));
23
23
  }, _ = m.setup;
24
24
  m.setup = _ ? (o, t) => (w(), _(o, t)) : w;
25
- const r = (o) => (B("data-v-f0ac71da"), o = o(), V(), o), N = { class: "saves-element-container" }, $ = { class: "saves-element-box" }, O = {
25
+ const r = (o) => (I("data-v-d2968adb"), o = o(), B(), o), D = { class: "saves-element-container" }, $ = { class: "saves-element-box" }, O = {
26
26
  key: 0,
27
27
  class: "small-box"
28
- }, P = {
28
+ }, q = {
29
29
  key: 0,
30
30
  width: "28",
31
31
  height: "31",
32
32
  viewBox: "0 0 28 31",
33
33
  fill: "none",
34
34
  xmlns: "http://www.w3.org/2000/svg"
35
- }, q = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
35
+ }, H = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
36
36
  d: "M10.23.878h7.482",
37
37
  stroke: "#fff",
38
38
  "stroke-width": "1.746",
39
39
  "stroke-linecap": "round"
40
- }, null, -1)), H = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
40
+ }, null, -1)), J = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
41
41
  cx: "13.972",
42
42
  cy: "17.089",
43
43
  fill: "#DE2531",
44
44
  r: "12.47"
45
- }, null, -1)), J = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
45
+ }, null, -1)), P = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
46
46
  d: "M26.442 17.09a12.47 12.47 0 0 0-12.47-12.47v12.47h12.47z",
47
47
  fill: "#fff"
48
48
  }, null, -1)), U = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
@@ -54,9 +54,9 @@ const r = (o) => (B("data-v-f0ac71da"), o = o(), V(), o), N = { class: "saves-el
54
54
  "stroke-linejoin": "round",
55
55
  r: "12.47"
56
56
  }, null, -1)), L = [
57
- q,
58
57
  H,
59
58
  J,
59
+ P,
60
60
  U
61
61
  ], G = {
62
62
  key: 1,
@@ -97,20 +97,20 @@ const r = (o) => (B("data-v-f0ac71da"), o = o(), V(), o), N = { class: "saves-el
97
97
  viewBox: "0 0 48 48",
98
98
  fill: "none",
99
99
  xmlns: "http://www.w3.org/2000/svg"
100
- }, et = ["stroke"], ot = ["stroke"], at = ["stroke"], lt = ["stroke"], rt = /* @__PURE__ */ r(() => /* @__PURE__ */ e("div", { class: "inner-box arrow" }, "→", -1)), it = { class: "inner-box stat" };
101
- function st(o, t, a, u, d, i) {
102
- return l(), s("div", N, [
100
+ }, et = ["stroke"], ot = ["stroke"], lt = ["stroke"], at = ["stroke"], rt = /* @__PURE__ */ r(() => /* @__PURE__ */ e("div", { class: "inner-box arrow" }, "→", -1)), it = { class: "inner-box stat" };
101
+ function st(o, t, l, u, n, i) {
102
+ return a(), s("div", D, [
103
103
  e("div", $, [
104
- a.position === "first" || a.position === "second" ? (l(), s("div", O, [
105
- a.position == "first" ? (l(), s("svg", P, L)) : n("", !0),
106
- a.position == "second" ? (l(), s("svg", G, X)) : n("", !0)
107
- ])) : n("", !0),
104
+ l.position === "first" || l.position === "second" ? (a(), s("div", O, [
105
+ l.position == "first" ? (a(), s("svg", q, L)) : d("", !0),
106
+ l.position == "second" ? (a(), s("svg", G, X)) : d("", !0)
107
+ ])) : d("", !0),
108
108
  e("div", Y, [
109
109
  e("div", Z, [
110
- (l(), s("svg", tt, [
110
+ (a(), s("svg", tt, [
111
111
  e("path", {
112
112
  d: "m18.031 27.241.972-7.303c.044-.33.15-.648.315-.938l2.09-3.688a1.409 1.409 0 0 1 2.61.952l-.87 6.085-5.117 4.892zM42.864 24.232a1.394 1.394 0 0 0-1.844 0l-3.857 3.226 4.6-5.199a1.623 1.623 0 0 0-2.246-2.336l-5.001 3.957 5.872-6.902a1.684 1.684 0 0 0-.105-2.357 1.394 1.394 0 0 0-1.846-.048l-7.548 6.137 4.33-5.041a1.727 1.727 0 0 0-.01-2.375 1.394 1.394 0 0 0-1.921-.09l-10.14 9.146-11.03 10.544 9.886 10.35c.458.399 1.161.31 1.504-.192l2.525-3.688 10.701-6.154a8.47 8.47 0 0 0 2.048-1.821l4.244-5.233c.47-.581.4-1.43-.162-1.924z",
113
- stroke: a.color,
113
+ stroke: l.color,
114
114
  "stroke-width": "1.406",
115
115
  "stroke-miterlimit": "10",
116
116
  "stroke-linecap": "round",
@@ -118,7 +118,7 @@ function st(o, t, a, u, d, i) {
118
118
  }, null, 8, et),
119
119
  e("path", {
120
120
  d: "m3.928 40.154 8.19-7.26 9.018 9.44-3.944 4.222M26.032 39.363l-9.964-10.247M26.424 34.044l-3.444-3.779a1.646 1.646 0 0 1 2.433-2.217l3.444 3.779a1.646 1.646 0 0 1-2.433 2.217zM18.801 21.458a13.836 13.836 0 0 1-1.808-6.86C16.993 6.924 23.215.703 30.89.703s13.894 6.22 13.894 13.895a13.86 13.86 0 0 1-4.676 10.397l-.018.016a14.206 14.206 0 0 1-2.14 1.557v.001",
121
- stroke: a.color,
121
+ stroke: l.color,
122
122
  "stroke-width": "1.406",
123
123
  "stroke-miterlimit": "10",
124
124
  "stroke-linecap": "round",
@@ -126,35 +126,35 @@ function st(o, t, a, u, d, i) {
126
126
  }, null, 8, ot),
127
127
  e("path", {
128
128
  d: "m27.261 8.316-3.626 6.282 2.775 4.808",
129
- stroke: a.color,
129
+ stroke: l.color,
130
130
  "stroke-width": "1.406",
131
131
  "stroke-miterlimit": "10",
132
132
  "stroke-linecap": "round",
133
133
  "stroke-linejoin": "round"
134
- }, null, 8, at),
134
+ }, null, 8, lt),
135
135
  e("path", {
136
136
  d: "m37.909 15.003.233-.405-3.627-6.282h-7.377M23.634 14.598h-6.64M40.282 14.598h4.501M37.922 2.612l-3.406 5.704M27.261 8.316 23.544 2.8M34.908 29.631l2.255-2.173M31.725 26.621l2.79-2.741M28.13 23.223l2.758-2.514",
137
- stroke: a.color,
137
+ stroke: l.color,
138
138
  "stroke-width": "1.406",
139
139
  "stroke-miterlimit": "10",
140
140
  "stroke-linecap": "round",
141
141
  "stroke-linejoin": "round"
142
- }, null, 8, lt)
142
+ }, null, 8, at)
143
143
  ]))
144
144
  ]),
145
145
  rt,
146
- e("div", it, p(a.stat), 1)
146
+ e("div", it, h(l.stat), 1)
147
147
  ])
148
148
  ])
149
149
  ]);
150
150
  }
151
- const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-f0ac71da"]]), dt = { class: "card-general__body" }, ct = { class: "text-container-saves" }, ut = {
151
+ const dt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"]]), nt = { class: "card-general__body" }, ct = { class: "text-container-saves" }, ut = {
152
152
  key: 0,
153
153
  class: "title-saves"
154
- }, ht = {
154
+ }, pt = {
155
155
  key: 1,
156
156
  class: "subtitle-saves"
157
- }, pt = { class: "saves-box" }, mt = {
157
+ }, ht = { class: "saves-box" }, mt = {
158
158
  __name: "CardIndividualSaves",
159
159
  props: {
160
160
  height: {
@@ -180,41 +180,46 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-f0ac71da"
180
180
  idAux: {
181
181
  type: String,
182
182
  default: ""
183
+ },
184
+ providerId: {
185
+ type: Number,
186
+ default: 0
183
187
  }
184
188
  },
185
189
  setup(o) {
186
190
  y((i) => ({
187
- "6d41b7bb": (t.data.subtitle, "100%"),
188
- "024e6944": t.data.thumbnails.colors.font_color_header,
189
- "1c4f4831": t.data.subtitle ? "100%" : "78%"
191
+ "48e38e47": (t.data.subtitle, "100%"),
192
+ aef19f90: t.data.thumbnails.colors.font_color_header,
193
+ "4ddb1fb6": t.data.subtitle ? "100%" : "78%"
190
194
  }));
191
- const t = o, a = h(() => ({
195
+ const t = o, l = p(() => ({
192
196
  "--height": t.height,
193
197
  "--width": t.width,
194
198
  "--footer-background-color": t.data.thumbnails.colors.background_color_cards || "#000000"
195
- })), u = h(() => {
196
- var i, c, k, f, v, g, b;
199
+ })), u = p(() => {
200
+ var i, c, k, v, f, b, g;
197
201
  return {
198
202
  height: t.height,
199
203
  width: t.width,
200
204
  footerHeight: "137px",
201
- playerPhotoUrl: D(t.data.player_id || ""),
202
- teamLogoUrl: z(t.data.team_id || "") || "",
205
+ playerPhotoUrl: T(t.data.player_id || "", t.providerId),
206
+ teamLogoUrl: N(t.data.team_id || "", t.providerId) || "",
203
207
  cardColor: t.data.thumbnails.colors.background_color || "#000000",
204
- backgroundImageSrc: T(
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 : ""
208
+ backgroundImageSrc: E(
209
+ (v = (k = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : k.background_player_in_action) != null && v[0] ? t.data.thumbnails.images.background_player_in_action[0] : (g = (b = (f = t.data) == null ? void 0 : f.thumbnails) == null ? void 0 : b.images) != null && g.background_team ? t.data.thumbnails.images.background_team : "",
210
+ t.providerId
206
211
  ),
207
212
  textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
208
213
  footerBodyData: {
209
214
  textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
210
- description: E(I({ data: t.data, descriptionType: t.descriptionType })),
215
+ description: j(z({ data: t.data, descriptionType: t.descriptionType })),
211
216
  total: t.data.total,
212
217
  totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
213
218
  totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
214
219
  isTotalPercentage: !!t.data.footer.show_percentage
215
220
  }
216
221
  };
217
- }), d = h(() => {
222
+ }), n = p(() => {
218
223
  var i;
219
224
  if (!t.data.title) return { title: "", subtitle: "" };
220
225
  const c = t.data.title.split("MÁS ATAJADAS");
@@ -223,23 +228,23 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-f0ac71da"
223
228
  subtitle: ((i = c[1]) == null ? void 0 : i.trim()) || ""
224
229
  };
225
230
  });
226
- return (i, c) => (l(), s("div", {
231
+ return (i, c) => (a(), s("div", {
227
232
  class: "card-general",
228
- style: F(a.value)
233
+ style: F(l.value)
229
234
  }, [
230
- u.value ? (l(), M(j, S({ key: 0 }, u.value, {
235
+ u.value ? (a(), M(V, S({ key: 0 }, u.value, {
231
236
  width: o.width,
232
237
  "show-videos": o.showVideos,
233
238
  "id-aux": o.idAux
234
239
  }), {
235
240
  body: A(() => [
236
- e("div", dt, [
241
+ e("div", nt, [
237
242
  e("div", ct, [
238
- d.value.title ? (l(), s("h2", ut, p(d.value.title), 1)) : n("", !0),
239
- d.value.subtitle ? (l(), s("p", ht, p(d.value.subtitle), 1)) : n("", !0)
243
+ n.value.title ? (a(), s("h2", ut, h(n.value.title), 1)) : d("", !0),
244
+ n.value.subtitle ? (a(), s("p", pt, h(n.value.subtitle), 1)) : d("", !0)
240
245
  ]),
241
- e("div", pt, [
242
- C(nt, {
246
+ e("div", ht, [
247
+ C(dt, {
243
248
  color: t.data.thumbnails.colors.graphic_color,
244
249
  position: o.data.header.show_icon == 1 ? o.data.header.icon : "",
245
250
  stat: o.data.total
@@ -248,10 +253,10 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-f0ac71da"
248
253
  ])
249
254
  ]),
250
255
  _: 1
251
- }, 16, ["width", "show-videos", "id-aux"])) : n("", !0)
256
+ }, 16, ["width", "show-videos", "id-aux"])) : d("", !0)
252
257
  ], 4));
253
258
  }
254
- }, gt = /* @__PURE__ */ x(mt, [["__scopeId", "data-v-8c4a83ed"]]);
259
+ }, bt = /* @__PURE__ */ x(mt, [["__scopeId", "data-v-f75d639b"]]);
255
260
  export {
256
- gt as default
261
+ bt as default
257
262
  };