@golstats/gsc-landing 1.0.213 → 1.0.215

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 (36) hide show
  1. package/dist/CardBase-ChDCLySs-BnJ37O3_.js +181 -0
  2. package/dist/{CardBaseAllIndividual-MZU9YVGl-CP107tbU.js → CardBaseAllIndividual-CX7X5hP3-DeBDJbUf.js} +22 -16
  3. package/dist/CardGeneral-BOFU3ewp-vla0R6ar.js +714 -0
  4. package/dist/{CardGeneralIndividual-Cr4vkSx7-CJJdrLMj.js → CardGeneralIndividual-uQTtFW4U-BkHnaPPD.js} +122 -95
  5. package/dist/{CardGeneralTeams-Dbs9m7rY-DkjTHx_b.js → CardGeneralTeams-BP3La-Ld-Xyq_L5uX.js} +64 -60
  6. package/dist/{CardIndividual-BWKDE_dT-DBY7KxMm.js → CardIndividual-DMMRmSi2-BqN7gmFv.js} +65 -60
  7. package/dist/CardIndividual1vs1-Bv8b5IIG-Ch9qSDIz.js +119 -0
  8. package/dist/{CardIndividualAreas-B0ER1yDk-BXA3kkP-.js → CardIndividualAreas-CvTLzhDe-CxZqYbA3.js} +32 -26
  9. package/dist/{CardIndividualCenters-Ds8JCDfK-BDqdw3CH.js → CardIndividualCenters-CrYHyQxu-cIdiMvOc.js} +91 -85
  10. package/dist/{CardIndividualDistance-DybnqaN1-pWNr0r-3.js → CardIndividualDistance-CWDDIJ83-wq3ChNSO.js} +42 -34
  11. package/dist/{CardIndividualFouls-BSZw6Irw-DHoHyyuo.js → CardIndividualFouls-BOBPG76o-Cr7zPQ-k.js} +47 -41
  12. package/dist/{CardIndividualGoalParticipation-D0jx0mKO-CmyYljBx.js → CardIndividualGoalParticipation-BDxpFsvg-Bxe8LNLj.js} +38 -33
  13. package/dist/{CardIndividualGoals-k1HYTdnr-DwdImXmD.js → CardIndividualGoals-DVDdbBfi-3pxFdVek.js} +397 -247
  14. package/dist/{CardIndividualGold-BoE9YjMT-BTGXOE5O.js → CardIndividualGold-CLwqSmhY-DQxNX96O.js} +45 -39
  15. package/dist/{CardIndividualNoGoalReceived-T1szlu3u-BsDem5g0.js → CardIndividualNoGoalReceived-BdnMEYLP-BmH2Q3hB.js} +42 -37
  16. package/dist/CardIndividualPerformance-9Cgxb8AH-CKHPoagm.js +113 -0
  17. package/dist/{CardIndividualSaves-rWMesrlG-DthInp2-.js → CardIndividualSaves-DxroAo6u-DjwSYz7p.js} +40 -36
  18. package/dist/{CardIndividualShotsOnGoal-DCl0FEKe-D1LFguJT.js → CardIndividualShotsOnGoal-DJkETXaD-DC6DZtaf.js} +57 -51
  19. package/dist/{CardIndividualStatistics-D5JBvozg-0Gq27kWI.js → CardIndividualStatistics-Bci82FbX-_u70bydD.js} +36 -30
  20. package/dist/CardPromTournament-DBsGq2Rt-BiIeMZAU.js +145 -0
  21. package/dist/{CardSuccessfulPasses-BdWMHjtx-C7yqLEWL.js → CardSuccessfulPasses-38zySsbp-CjINypSW.js} +30 -24
  22. package/dist/CardTheMostProductive-B1UOywJ1-CDybX3LK.js +87 -0
  23. package/dist/PlayerProfileCircle-Dfaw_14p-WaOYxU8Q.js +41 -0
  24. package/dist/{Shield-DPZx9qP3-BCn1KwjE.js → Shield-T4ZGXEnI-Csqj5bz2.js} +3 -3
  25. package/dist/gsc-landing.js +1 -1
  26. package/dist/gsc-landing.umd.cjs +54 -54
  27. package/dist/{index-C-oaQYT0.js → index-Clf4kqRY.js} +5177 -5238
  28. package/dist/style.css +1 -1
  29. package/package.json +2 -2
  30. package/dist/CardBase-D3YCZX4b-DGnwZ1-j.js +0 -127
  31. package/dist/CardGeneral-C9IYdx36-DpuRuCM2.js +0 -686
  32. package/dist/CardIndividual1vs1-fcFN4SBW-0yRvkJ62.js +0 -113
  33. package/dist/CardIndividualPerformance-BZmpXMyI-Cn3RFU3S.js +0 -108
  34. package/dist/CardPromTournament-DaUtBS2s-DYPh6beM.js +0 -141
  35. package/dist/CardTheMostProductive-DTnPP64--C47kK7xA.js +0 -81
  36. package/dist/CircleWithDotsBig-DD6iMX6w-DjUWhXAM.js +0 -151
@@ -1,113 +0,0 @@
1
- import { computed as i, openBlock as l, createElementBlock as d, normalizeStyle as f, createVNode as b, mergeProps as w, withCtx as v, createElementVNode as t, toDisplayString as C, Fragment as m, pushScopeId as F, popScopeId as y } from "vue";
2
- import { d as L } from "./CardBaseAllIndividual-MZU9YVGl-CP107tbU.js";
3
- import { j as x, $ as k, H as B, B as S, R as H } from "./index-C-oaQYT0.js";
4
- import { b as T } from "./CardBase-D3YCZX4b-DGnwZ1-j.js";
5
- const g = (a) => (F("data-v-9530476c"), a = a(), y(), a), I = { class: "onevsone__body" }, V = { class: "onevsone__body__title" }, N = { class: "contsvg" }, P = /* @__PURE__ */ g(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), D = ["fill"], E = ["fill"], M = /* @__PURE__ */ g(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), U = ["fill"], Z = ["fill"], j = {
6
- __name: "CardIndividual1vs1",
7
- props: {
8
- height: {
9
- type: String,
10
- default: "445px"
11
- },
12
- width: {
13
- type: String,
14
- default: "319px"
15
- },
16
- data: {
17
- type: Object,
18
- default: () => null
19
- },
20
- descriptionType: {
21
- type: Number,
22
- default: 0
23
- },
24
- showVideos: {
25
- type: Boolean,
26
- default: !0
27
- }
28
- },
29
- setup(a) {
30
- const o = a, h = i(() => {
31
- var r, n, e, s, c, u, p;
32
- return {
33
- height: o.height,
34
- width: o.width,
35
- footerHeight: "137px",
36
- footerPadding: "24px 24px 25px 24px",
37
- playerPhotoUrl: x(o.data.player_id || ""),
38
- teamLogoUrl: k(o.data.team_id || "") || "",
39
- cardColor: o.data.thumbnails.colors.background_color || "#000000",
40
- backgroundImageSrc: B((s = (e = (n = (r = o.data) == null ? void 0 : r.thumbnails) == null ? void 0 : n.images) == null ? void 0 : e.background_player_in_action) != null && s[0] ? o.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = o.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? o.data.thumbnails.images.background_team : ""),
41
- textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
42
- footerBodyData: {
43
- textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
44
- description: S(H({ data: o.data, descriptionType: o.descriptionType })),
45
- total: o.data.footer && o.data.footer.show_percentage == 1 ? o.data.percentage : o.data.total,
46
- totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
47
- totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
48
- isTotalPercentage: o.data.footer && !!o.data.footer.show_percentage
49
- }
50
- };
51
- });
52
- i(() => o.data.id);
53
- const _ = i(() => ({
54
- "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
55
- }));
56
- return (r, n) => (l(), d("div", {
57
- class: "onevsone",
58
- style: f(_.value)
59
- }, [
60
- b(L, w(h.value, { "show-videos": a.showVideos }), {
61
- body: v(() => {
62
- var e;
63
- return [
64
- t("div", I, [
65
- t("div", V, C(o.data.title.replace(/\*/g, "")), 1),
66
- t("div", N, [
67
- (e = o.data.categories) != null && e.includes(4) ? (l(), d(m, { key: 1 }, [
68
- M,
69
- (l(), d("svg", {
70
- width: "12",
71
- class: "arrow",
72
- height: "75",
73
- viewBox: "0 0 12 75",
74
- fill: o.data.thumbnails.colors.icon_color,
75
- xmlns: "http://www.w3.org/2000/svg"
76
- }, [
77
- t("path", {
78
- "fill-rule": "evenodd",
79
- "clip-rule": "evenodd",
80
- d: "M5 4.5489L5 75H7L7 4.62807L10.1992 7.86923C10.3268 7.9985 10.4817 8.05853 10.664 8.04929C10.8463 8.04006 11.0013 7.9708 11.1289 7.84153L11.7304 7.23208C11.858 7.1028 11.9218 6.94582 11.9218 6.76114C11.9218 6.57645 11.858 6.41948 11.7304 6.2902L6.34592 0.836174C6.23509 0.741615 6.10676 0.694336 5.96092 0.694336C5.77863 0.694336 5.62368 0.768211 5.49608 0.915955L0.191406 6.2902C0.0638018 6.41948 0 6.57645 0 6.76114C0 6.94582 0.0638018 7.1028 0.191406 7.23208L0.792967 7.84153C0.920571 7.9708 1.07552 8.04006 1.25781 8.04929C1.4401 8.05853 1.59505 7.9985 1.72265 7.86923L5 4.5489Z",
81
- fill: o.data.thumbnails.colors.icon_color
82
- }, null, 8, Z)
83
- ], 8, U))
84
- ], 64)) : (l(), d(m, { key: 0 }, [
85
- P,
86
- (l(), d("svg", {
87
- class: "arrow",
88
- width: "12",
89
- height: "75",
90
- viewBox: "0 0 12 75",
91
- fill: o.data.thumbnails.colors.icon_color,
92
- xmlns: "http://www.w3.org/2000/svg"
93
- }, [
94
- t("path", {
95
- "fill-rule": "evenodd",
96
- "clip-rule": "evenodd",
97
- d: "M5 71.1454L5 0.694344H7L7 71.0663L10.1992 67.8251C10.3268 67.6958 10.4817 67.6358 10.664 67.6451C10.8463 67.6543 11.0013 67.7235 11.1289 67.8528L11.7304 68.4623C11.858 68.5915 11.9218 68.7485 11.9218 68.9332C11.9218 69.1179 11.858 69.2749 11.7304 69.4041L6.34592 74.8582C6.23509 74.9527 6.10676 75 5.96092 75C5.77863 75 5.62368 74.9261 5.49608 74.7784L0.191406 69.4041C0.0638018 69.2749 0 69.1179 0 68.9332C0 68.7485 0.0638018 68.5915 0.191406 68.4623L0.792967 67.8528C0.920571 67.7235 1.07552 67.6543 1.25781 67.6451C1.4401 67.6358 1.59505 67.6958 1.72265 67.8251L5 71.1454Z",
98
- fill: o.data.thumbnails.colors.icon_color
99
- }, null, 8, E)
100
- ], 8, D))
101
- ], 64))
102
- ])
103
- ])
104
- ];
105
- }),
106
- _: 1
107
- }, 16, ["show-videos"])
108
- ], 4));
109
- }
110
- }, O = /* @__PURE__ */ T(j, [["__scopeId", "data-v-9530476c"]]);
111
- export {
112
- O as default
113
- };
@@ -1,108 +0,0 @@
1
- import { computed as d, openBlock as h, createElementBlock as v, normalizeStyle as y, createVNode as c, mergeProps as F, withCtx as g, createElementVNode as t, toDisplayString as i, pushScopeId as x, popScopeId as S } from "vue";
2
- import { d as C } from "./CardBaseAllIndividual-MZU9YVGl-CP107tbU.js";
3
- import { j as w, H as T, B as k, R as B, V as N } from "./index-C-oaQYT0.js";
4
- import { b as V } from "./CardBase-D3YCZX4b-DGnwZ1-j.js";
5
- import { G as m } from "./CircleWithDotsBig-DD6iMX6w-DjUWhXAM.js";
6
- const I = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), P = { class: "performance__body" }, j = { class: "performance__body__title-sub" }, H = { class: "performance__body__title-sub__title" }, O = { class: "performance__body__title-sub__sub" }, $ = { class: "performance__body__data" }, D = { class: "performance__body__data__total-season" }, E = { class: "performance__body__data__total-season__season" }, z = /* @__PURE__ */ I(() => /* @__PURE__ */ t("span", { class: "arrow" }, "→", -1)), U = { class: "performance__body__data__total-season" }, q = { class: "performance__body__data__total-season__season" }, A = {
7
- __name: "CardIndividualPerformance",
8
- props: {
9
- height: {
10
- type: String,
11
- default: "445px"
12
- },
13
- width: {
14
- type: String,
15
- default: "319px"
16
- },
17
- data: {
18
- type: Object,
19
- default: () => null
20
- },
21
- descriptionType: {
22
- type: Number,
23
- default: 4
24
- },
25
- showVideos: {
26
- type: Boolean,
27
- default: !0
28
- }
29
- },
30
- setup(e) {
31
- const a = e, b = d(() => {
32
- var l, r, s, n, u, _, p;
33
- return {
34
- height: a.height,
35
- width: a.width,
36
- footerHeight: "fit-content",
37
- playerPhotoPositionTop: "24px",
38
- playerPhotoUrl: w(a.data.player_id || ""),
39
- cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
40
- backgroundImageSrc: T((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_team ? a.data.thumbnails.images.background_team : ""),
41
- textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
42
- footerBodyData: {
43
- description: k(B({ data: a.data, descriptionType: a.descriptionType })),
44
- total: a.data.total,
45
- textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
46
- }
47
- };
48
- }), o = d(() => {
49
- const { title: l, subtitle: r } = N(a.data.title), [s, n] = a.data.totals;
50
- return {
51
- title: l,
52
- subtitle: r,
53
- pastSeasonName: n.season,
54
- currentSeasonName: s.season,
55
- pastSeasonTotal: n.total,
56
- currentSeasonTotal: s.total,
57
- textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
58
- circleOneColor: (a.data.thumbnails.colors.data_color_2 || "#000000").trim(),
59
- circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
60
- };
61
- });
62
- d(() => a.data.id);
63
- const f = d(() => ({
64
- "--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
65
- "--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
66
- }));
67
- return (l, r) => (h(), v("div", {
68
- class: "performance",
69
- style: y(f.value)
70
- }, [
71
- c(C, F(b.value, { "show-videos": e.showVideos }), {
72
- body: g(() => [
73
- t("div", P, [
74
- t("div", j, [
75
- t("div", H, i(o.value.title), 1),
76
- t("div", O, i(o.value.subtitle), 1)
77
- ]),
78
- t("div", $, [
79
- t("div", D, [
80
- c(m, {
81
- value: o.value.pastSeasonTotal,
82
- suffix: "",
83
- "text-color": o.value.textColor,
84
- color: o.value.circleOneColor
85
- }, null, 8, ["value", "text-color", "color"]),
86
- t("div", E, i(o.value.pastSeasonName), 1)
87
- ]),
88
- z,
89
- t("div", U, [
90
- c(m, {
91
- value: o.value.currentSeasonTotal,
92
- suffix: "",
93
- "text-color": o.value.textColor,
94
- color: o.value.circleTwoColor
95
- }, null, 8, ["value", "text-color", "color"]),
96
- t("div", q, i(o.value.currentSeasonName), 1)
97
- ])
98
- ])
99
- ])
100
- ]),
101
- _: 1
102
- }, 16, ["show-videos"])
103
- ], 4));
104
- }
105
- }, K = /* @__PURE__ */ V(A, [["__scopeId", "data-v-4dfe79fb"]]);
106
- export {
107
- K as default
108
- };
@@ -1,141 +0,0 @@
1
- import { useCssVars as O, computed as d, ref as P, openBlock as c, createElementBlock as m, normalizeStyle as s, createBlock as I, mergeProps as V, withCtx as B, createElementVNode as a, toDisplayString as u, createVNode as C, unref as _, Fragment as N, renderList as R, normalizeClass as H, createCommentVNode as D } from "vue";
2
- import { b as E, E as M } from "./CardBase-D3YCZX4b-DGnwZ1-j.js";
3
- import { N as S } from "./Shield-DPZx9qP3-BCn1KwjE.js";
4
- import { H as w, R as F } from "./index-C-oaQYT0.js";
5
- const $ = { class: "card-content" }, z = { class: "content-wrapper" }, A = { class: "main-content" }, L = { class: "title-separator" }, j = { class: "footer-text" }, W = ["innerHTML"], q = { class: "seasons-sidebar" }, G = { class: "seasons-list" }, J = "1px 54px", K = {
6
- __name: "CardPromTournament",
7
- props: {
8
- height: {
9
- type: String,
10
- default: "568px"
11
- },
12
- width: {
13
- type: String,
14
- default: "319px"
15
- },
16
- showVideos: {
17
- type: Boolean,
18
- default: !0
19
- },
20
- data: {
21
- type: Object,
22
- default: () => null
23
- },
24
- descriptionType: {
25
- type: Number,
26
- default: 0
27
- }
28
- },
29
- setup(n) {
30
- O((l) => {
31
- var t;
32
- return {
33
- "251c278b": n.data.thumbnails.colors.background_color,
34
- "5e024c22": ((t = e.data) == null ? void 0 : t.thumbnails.colors.font_color_stats) || "#4CAF50"
35
- };
36
- });
37
- const e = n, y = d(() => ({
38
- "--height": e.height,
39
- "--width": e.width,
40
- "--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
41
- })), x = P({
42
- width: "50px",
43
- height: "50px",
44
- bottom: "34px",
45
- right: "-8px",
46
- innerImageWidth: "39px",
47
- innerImageHeight: "39px"
48
- }), p = d(() => {
49
- var l, t, o, r;
50
- return !e.data || !e.data.thumbnails ? null : {
51
- backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
52
- backgroundImageSrc: (r = (o = (t = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : t.images) == null ? void 0 : o.player_in_action) != null && r[0] ? w(e.data.thumbnails.images.player_in_action[0]) : "",
53
- isPlayButtonVisible: e.showVideos
54
- };
55
- }), h = d(() => {
56
- var l, t, o;
57
- if (!((l = e.data) != null && l.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
58
- const r = e.data.title.split("*").filter(Boolean);
59
- return {
60
- mainTitle: ((t = r[0]) == null ? void 0 : t.trim()) || "",
61
- sidebarTitle: ((o = r[1]) == null ? void 0 : o.trim()) || "PROMEDIO POR PARTIDO"
62
- };
63
- }), T = d(() => {
64
- var l;
65
- return (l = e.data) != null && l.averages ? Math.max(...e.data.averages.map((t) => parseFloat(t.average))) : 0;
66
- });
67
- return (l, t) => (c(), m("div", {
68
- class: "card-general",
69
- style: s(y.value)
70
- }, [
71
- p.value ? (c(), I(M, V({ key: 0 }, p.value, {
72
- width: n.width,
73
- "show-videos": n.showVideos
74
- }), {
75
- default: B(() => {
76
- var o, r, g, f;
77
- return [
78
- a("div", $, [
79
- a("div", z, [
80
- a("div", A, [
81
- a("h1", {
82
- class: "main-title",
83
- style: s({ color: ((o = e.data) == null ? void 0 : o.thumbnails.colors.font_color_header) || "white" })
84
- }, u(h.value.mainTitle), 5),
85
- a("div", L, [
86
- C(S, {
87
- "team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
88
- width: 105,
89
- color: e.data.thumbnails.colors.graphic_color,
90
- "inner-image-src": _(w)(e.data.thumbnails.images.player_in_action[0]),
91
- "team-logo-circle-props": x.value,
92
- "inner-image-translate": J
93
- }, null, 8, ["team-logo-src", "color", "inner-image-src", "team-logo-circle-props"])
94
- ]),
95
- a("div", j, [
96
- a("p", {
97
- innerHTML: _(F)({ data: e.data, descriptionType: e.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
98
- class: "card-description",
99
- style: s({ color: ((r = e.data) == null ? void 0 : r.thumbnails.colors.font_color_description) || "white" })
100
- }, null, 12, W)
101
- ])
102
- ]),
103
- a("div", q, [
104
- a("div", {
105
- class: "sidebar-header",
106
- style: s({ color: ((g = e.data) == null ? void 0 : g.thumbnails.colors.font_color_description) || "white" })
107
- }, u(h.value.sidebarTitle), 5),
108
- a("div", G, [
109
- (c(!0), m(N, null, R((f = e.data) == null ? void 0 : f.averages, (i, k) => {
110
- var b, v;
111
- return c(), m("div", {
112
- key: k,
113
- class: H(["season-row", {
114
- highlighted: i.highlighted,
115
- "max-value": parseFloat(i.average) === T.value
116
- }])
117
- }, [
118
- a("div", {
119
- class: "season-value-box",
120
- style: s({ color: ((b = e.data) == null ? void 0 : b.thumbnails.colors.font_color_stats) || "white" })
121
- }, u(i.average), 5),
122
- a("div", {
123
- class: "season-label",
124
- style: s({ color: ((v = e.data) == null ? void 0 : v.thumbnails.colors.font_color_stats) || "white" })
125
- }, u(i.season), 5)
126
- ], 2);
127
- }), 128))
128
- ])
129
- ])
130
- ])
131
- ])
132
- ];
133
- }),
134
- _: 1
135
- }, 16, ["width", "show-videos"])) : D("", !0)
136
- ], 4));
137
- }
138
- }, Z = /* @__PURE__ */ E(K, [["__scopeId", "data-v-02bc8d41"]]);
139
- export {
140
- Z as default
141
- };
@@ -1,81 +0,0 @@
1
- import { computed as s, openBlock as h, createElementBlock as b, createVNode as c, mergeProps as f, withCtx as y, createElementVNode as m, normalizeStyle as v, toDisplayString as F } from "vue";
2
- import { d as k } from "./CardBaseAllIndividual-MZU9YVGl-CP107tbU.js";
3
- import { N as w } from "./Shield-DPZx9qP3-BCn1KwjE.js";
4
- import { H as p, B as x, R as B, V as C, $ as S, j as V } from "./index-C-oaQYT0.js";
5
- import { b as A } from "./CardBase-D3YCZX4b-DGnwZ1-j.js";
6
- const D = { class: "productive" }, I = { class: "productive__body__title" }, N = {
7
- __name: "CardTheMostProductive",
8
- props: {
9
- height: {
10
- type: String,
11
- default: "445px"
12
- },
13
- width: {
14
- type: String,
15
- default: "319px"
16
- },
17
- data: {
18
- type: Object,
19
- default: () => null
20
- },
21
- descriptionType: {
22
- type: Number,
23
- default: 4
24
- },
25
- showVideos: {
26
- type: Boolean,
27
- default: !0
28
- }
29
- },
30
- setup(u) {
31
- const e = u, _ = s(() => {
32
- var t, a, i, l, r, n, d;
33
- return {
34
- height: e.height,
35
- width: e.width,
36
- footerHeight: "112px",
37
- cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
38
- backgroundImageSrc: p((l = (i = (a = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : a.images) == null ? void 0 : i.background_player_in_action) != null && l[0] ? e.data.thumbnails.images.background_player_in_action[0] : (d = (n = (r = e.data) == null ? void 0 : r.thumbnails) == null ? void 0 : n.images) != null && d.background_team ? e.data.thumbnails.images.background_team : ""),
39
- footerBodyData: {
40
- description: x(B({ data: e.data, descriptionType: e.descriptionType })),
41
- textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
42
- }
43
- };
44
- }), o = s(() => {
45
- var t, a, i, l;
46
- const r = !!((l = (i = (a = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : a.images) == null ? void 0 : i.player_in_action) != null && l[0]), { title: n, subtitle: d } = C(e.data.title);
47
- return {
48
- title: n,
49
- teamLogoUrl: S(e.data.team_id || ""),
50
- playerInActionSrc: r ? p(e.data.thumbnails.images.player_in_action[0]) : V(e.data.player_id || ""),
51
- shieldColor: (e.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
52
- translate: r ? "0 8px" : "0 -16px"
53
- };
54
- }), g = s(() => ({
55
- "--title-color": (e.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
56
- }));
57
- return (t, a) => (h(), b("div", D, [
58
- c(k, f(_.value, { "show-videos": u.showVideos }), {
59
- body: y(() => [
60
- m("div", {
61
- class: "productive__body",
62
- style: v(g.value)
63
- }, [
64
- m("div", I, F(o.value.title), 1),
65
- c(w, {
66
- id: e.data.id,
67
- "team-logo-src": o.value.teamLogoUrl,
68
- "inner-image-src": o.value.playerInActionSrc,
69
- color: o.value.shieldColor,
70
- "inner-image-translate": o.value.translate
71
- }, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
72
- ], 4)
73
- ]),
74
- _: 1
75
- }, 16, ["show-videos"])
76
- ]));
77
- }
78
- }, M = /* @__PURE__ */ A(N, [["__scopeId", "data-v-591e8894"]]);
79
- export {
80
- M as default
81
- };
@@ -1,151 +0,0 @@
1
- import { computed as s, openBlock as t, createElementBlock as i, normalizeStyle as c, createElementVNode as l, toDisplayString as p, createCommentVNode as f, pushScopeId as C, popScopeId as v } from "vue";
2
- import { b as h } from "./CardBase-D3YCZX4b-DGnwZ1-j.js";
3
- const d = (e) => (C("data-v-22c8adc8"), e = e(), v(), e), x = { class: "circle__total" }, g = { class: "total" }, y = {
4
- key: 0,
5
- class: "suffix"
6
- }, m = {
7
- width: "99",
8
- height: "99",
9
- viewBox: "0 0 99 99",
10
- fill: "none",
11
- xmlns: "http://www.w3.org/2000/svg"
12
- }, S = { opacity: "0.1" }, w = ["fill"], $ = /* @__PURE__ */ d(() => /* @__PURE__ */ l("path", {
13
- "fill-rule": "evenodd",
14
- "clip-rule": "evenodd",
15
- d: "M49.3904 89.2114C71.383 89.2114 89.2114 71.383 89.2114 49.3904C89.2114 27.3979 71.383 9.5694 49.3904 9.5694C27.3979 9.5694 9.5694 27.3979 9.5694 49.3904C9.5694 71.383 27.3979 89.2114 49.3904 89.2114ZM49.3904 98.7808C76.668 98.7808 98.7808 76.668 98.7808 49.3904C98.7808 22.1128 76.668 0 49.3904 0C22.1128 0 0 22.1128 0 49.3904C0 76.668 22.1128 98.7808 49.3904 98.7808Z",
16
- fill: "black",
17
- "fill-opacity": "0.2"
18
- }, null, -1)), M = ["fill"], Z = /* @__PURE__ */ d(() => /* @__PURE__ */ l("path", {
19
- "fill-rule": "evenodd",
20
- "clip-rule": "evenodd",
21
- d: "M49.0829 92.1143C72.8485 92.1143 92.1143 72.8485 92.1143 49.0829C92.1143 25.3173 72.8485 6.05151 49.0829 6.05151C25.3173 6.05151 6.05151 25.3173 6.05151 49.0829C6.05151 72.8485 25.3173 92.1143 49.0829 92.1143ZM49.0829 95.6951C74.8261 95.6951 95.6951 74.8261 95.6951 49.0829C95.6951 23.3397 74.8261 2.4707 49.0829 2.4707C23.3397 2.4707 2.4707 23.3397 2.4707 49.0829C2.4707 74.8261 23.3397 95.6951 49.0829 95.6951Z",
22
- fill: "black",
23
- "fill-opacity": "0.2"
24
- }, null, -1)), b = ["fill"], z = ["stop-color"], N = ["stop-color"], U = ["stop-color"], k = ["stop-color"], D = ["stop-color"], F = ["stop-color"], _ = {
25
- __name: "CircleWithDotsBig",
26
- props: {
27
- height: {
28
- type: Number,
29
- default: 68
30
- },
31
- width: {
32
- type: Number,
33
- default: 69
34
- },
35
- color: {
36
- type: String,
37
- default: "#4E8AF2"
38
- },
39
- textColor: {
40
- type: String,
41
- default: "#fff"
42
- },
43
- value: {
44
- type: [Number, String],
45
- default: 0
46
- },
47
- suffix: {
48
- type: String,
49
- default: "%"
50
- },
51
- valueFontSize: {
52
- type: Number,
53
- default: 21.3
54
- },
55
- suffixFontSize: {
56
- type: Number,
57
- default: 10.1
58
- }
59
- },
60
- setup(e) {
61
- const o = e;
62
- s(() => `0 0 ${o.width} ${o.height}`);
63
- const u = s(() => ({
64
- "--width": `${o.width}px`,
65
- "--height": `${o.height}px`,
66
- "--value-font-size": `${o.valueFontSize}px`,
67
- "--suffix-font-size": `${o.suffixFontSize}px`,
68
- "--color": o.textColor
69
- })), r = `linear-gradient-1-${Date.now()}`, n = `linear-gradient-2-${Date.now()}`, a = `linear-gradient-3-${Date.now()}`;
70
- return (B, G) => (t(), i("div", {
71
- class: "circle",
72
- style: c(u.value)
73
- }, [
74
- l("div", x, [
75
- l("span", g, p(e.value), 1),
76
- e.suffix ? (t(), i("span", y, p(e.suffix), 1)) : f("", !0)
77
- ]),
78
- (t(), i("svg", m, [
79
- l("g", S, [
80
- l("path", {
81
- "fill-rule": "evenodd",
82
- "clip-rule": "evenodd",
83
- d: "M49.3904 89.2114C71.383 89.2114 89.2114 71.383 89.2114 49.3904C89.2114 27.3979 71.383 9.5694 49.3904 9.5694C27.3979 9.5694 9.5694 27.3979 9.5694 49.3904C9.5694 71.383 27.3979 89.2114 49.3904 89.2114ZM49.3904 98.7808C76.668 98.7808 98.7808 76.668 98.7808 49.3904C98.7808 22.1128 76.668 0 49.3904 0C22.1128 0 0 22.1128 0 49.3904C0 76.668 22.1128 98.7808 49.3904 98.7808Z",
84
- fill: `url(#${r})`
85
- }, null, 8, w),
86
- $
87
- ]),
88
- l("path", {
89
- "fill-rule": "evenodd",
90
- "clip-rule": "evenodd",
91
- d: "M49.0829 92.1143C72.8485 92.1143 92.1143 72.8485 92.1143 49.0829C92.1143 25.3173 72.8485 6.05151 49.0829 6.05151C25.3173 6.05151 6.05151 25.3173 6.05151 49.0829C6.05151 72.8485 25.3173 92.1143 49.0829 92.1143ZM49.0829 95.6951C74.8261 95.6951 95.6951 74.8261 95.6951 49.0829C95.6951 23.3397 74.8261 2.4707 49.0829 2.4707C23.3397 2.4707 2.4707 23.3397 2.4707 49.0829C2.4707 74.8261 23.3397 95.6951 49.0829 95.6951Z",
92
- fill: `url(#${n})`
93
- }, null, 8, M),
94
- Z,
95
- l("path", {
96
- "fill-rule": "evenodd",
97
- "clip-rule": "evenodd",
98
- d: "M49.0829 92.1143C72.8485 92.1143 92.1143 72.8485 92.1143 49.0829C92.1143 25.3173 72.8485 6.05151 49.0829 6.05151C25.3173 6.05151 6.05151 25.3173 6.05151 49.0829C6.05151 72.8485 25.3173 92.1143 49.0829 92.1143ZM49.0829 95.6951C74.8261 95.6951 95.6951 74.8261 95.6951 49.0829C95.6951 23.3397 74.8261 2.4707 49.0829 2.4707C23.3397 2.4707 2.4707 23.3397 2.4707 49.0829C2.4707 74.8261 23.3397 95.6951 49.0829 95.6951Z",
99
- fill: `url(#${a})`
100
- }, null, 8, b),
101
- l("defs", null, [
102
- l("linearGradient", {
103
- id: r,
104
- x1: "49.3904",
105
- y1: "0",
106
- x2: "49.3904",
107
- y2: "98.7808",
108
- gradientUnits: "userSpaceOnUse"
109
- }, [
110
- l("stop", { "stop-color": e.color }, null, 8, z),
111
- l("stop", {
112
- offset: "1",
113
- "stop-color": e.color
114
- }, null, 8, N)
115
- ]),
116
- l("linearGradient", {
117
- id: n,
118
- x1: "49.0829",
119
- y1: "2.4707",
120
- x2: "49.0829",
121
- y2: "95.6951",
122
- gradientUnits: "userSpaceOnUse"
123
- }, [
124
- l("stop", { "stop-color": e.color }, null, 8, U),
125
- l("stop", {
126
- offset: "1",
127
- "stop-color": e.color
128
- }, null, 8, k)
129
- ]),
130
- l("linearGradient", {
131
- id: a,
132
- x1: "49.0829",
133
- y1: "2.4707",
134
- x2: "49.0829",
135
- y2: "95.6951",
136
- gradientUnits: "userSpaceOnUse"
137
- }, [
138
- l("stop", { "stop-color": e.color }, null, 8, D),
139
- l("stop", {
140
- offset: "1",
141
- "stop-color": e.color
142
- }, null, 8, F)
143
- ])
144
- ])
145
- ]))
146
- ], 4));
147
- }
148
- }, O = /* @__PURE__ */ h(_, [["__scopeId", "data-v-22c8adc8"]]);
149
- export {
150
- O as G
151
- };