@golstats/gsc-player-team-profile 1.0.168 → 1.0.169

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 (41) hide show
  1. package/dist/CardBase-BCSIUbwa-59a86234-b2c76b30.js +127 -0
  2. package/dist/{CardBaseAllIndividual-VdTcJTWG-5bd58209-e7ef8b30.js → CardBaseAllIndividual-CZ_3lxWf-f6ad68f8-07cb405b.js} +75 -66
  3. package/dist/{CardGeneral-C-VvuOx1-9c9da47b-c41c4a9a.js → CardGeneral-DcE_7xpj-86dd448a-5c59bc36.js} +28 -27
  4. package/dist/{CardGeneralIndividual-Dgeu5sRM-b9de65df-54564419.js → CardGeneralIndividual-DbvxscVI-1a19c0e8-94e4a20f.js} +34 -33
  5. package/dist/{CardGeneralTeams-Bio2uWy5-0475b0d1-063873d8.js → CardGeneralTeams-D0Y6zdKu-04a7e8f7-5e41df74.js} +163 -160
  6. package/dist/{CardIndividual-C3vZnJKJ-8d596645-2c5c3d0b.js → CardIndividual-Ki5omZJI-b2fdb097-1c9dcfd8.js} +54 -53
  7. package/dist/{CardIndividual1vs1-ayelgnf_-047b5f87-4b31d22e.js → CardIndividual1vs1-DmlJbJ8B-b7b4adb9-59f4a2b5.js} +25 -24
  8. package/dist/{CardIndividualAreas-Be04td4J-5f272232-8b8971d2.js → CardIndividualAreas-CYpbCBwP-80ac7cc2-dfd1b374.js} +43 -42
  9. package/dist/{CardIndividualCenters-CY_VblPm-210b2bef-2a6c0a45.js → CardIndividualCenters-JhzJNVnv-6deb69d5-221fb9ff.js} +128 -113
  10. package/dist/{CardIndividualDistance-BJMYJrZB-1c445a8e-7e11c5ae.js → CardIndividualDistance-CKkJ7mwB-f9a9fae9-5c049497.js} +18 -17
  11. package/dist/{CardIndividualFouls-CBm_fj6Z-75c44dc3-9760ad86.js → CardIndividualFouls-6eSJq50u-e135447a-123b2296.js} +36 -35
  12. package/dist/{CardIndividualGoalParticipation-dDcZFtIb-a60c40b4-43c2f192.js → CardIndividualGoalParticipation-S3oTRiGX-16c35834-5acec40c.js} +22 -21
  13. package/dist/{CardIndividualGoals-Lu8PEJkR-39fad13e-68106bf3.js → CardIndividualGoals-CTxER-Rj-55c6ef4d-1eb17128.js} +197 -195
  14. package/dist/CardIndividualGold-B4BcqctC-6fece755-ce30ee94.js +128 -0
  15. package/dist/{CardIndividualNoGoalReceived-kUSshVQ5-1c3283e7-df1ceb1f.js → CardIndividualNoGoalReceived-BrVOXQpB-a98c35dd-daf8da86.js} +32 -31
  16. package/dist/{CardIndividualPerformance-BUOn0sF1-3ce60d38-de472a41.js → CardIndividualPerformance-Kw8Qsjmn-366cea9e-bb1bf554.js} +19 -18
  17. package/dist/{CardIndividualSaves-DRGasLFI-7795ab29-562de2aa.js → CardIndividualSaves-j_epfoNL-6c85d62a-c3200efe.js} +71 -70
  18. package/dist/{CardIndividualShotsOnGoal-D9Dx66aR-2b9802bb-0b7f0776.js → CardIndividualShotsOnGoal-BTVmtE9u-e8d12e92-7af91a62.js} +43 -51
  19. package/dist/{CardIndividualStatistics-QY2fzyFQ-af7f91f5-702ad3a7.js → CardIndividualStatistics-DbAhxMKF-8c99922d-20f42374.js} +32 -31
  20. package/dist/{CardPromTournament-BScZREpO-42690b08-5cd15218.js → CardPromTournament-BtYUa7FA-e6579f88-69a05741.js} +18 -17
  21. package/dist/{CardSuccessfulPasses-B3BQ72bh-fa61badd-1af329ea.js → CardSuccessfulPasses-Bwg7cP83-e456e6c0-bbee70f9.js} +112 -111
  22. package/dist/CardTheMostProductive-CMoq34SC-efb57298-495f8f69.js +81 -0
  23. package/dist/{CircleWithDotsBig-ayb1XwYk-cc492983-41c9efa6.js → CircleWithDotsBig-I8rIqrbw-eb2add2e-53e59d9e.js} +1 -1
  24. package/dist/{FilterConditions-29c1d3c7-1c7730cf.js → FilterConditions-29c1d3c7-89ccc1df.js} +1 -1
  25. package/dist/{FilterConditions-d16ec515-Cm8B52wI-db3379c5.js → FilterConditions-d16ec515-Cm8B52wI-52886e97.js} +1 -1
  26. package/dist/{FilterField-6e36a3d5-v5j1AbSE-7fed6f66.js → FilterField-6e36a3d5-v5j1AbSE-a814f325.js} +1 -1
  27. package/dist/{FilterField-9ac5eaf1-c18db744.js → FilterField-9ac5eaf1-dd1e1a8b.js} +1 -1
  28. package/dist/{FilterSubcategories-51092d11-3bc1a765.js → FilterSubcategories-51092d11-54077240.js} +1 -1
  29. package/dist/{FilterSubcategories-95d712f2-zKq3PF5m-2cc1af42.js → FilterSubcategories-95d712f2-zKq3PF5m-93797fe7.js} +1 -1
  30. package/dist/{Shield-DAT34Ykl-29070082-9418aac9.js → Shield-wY38e4UU-59179fef-e2b8ebfa.js} +9 -9
  31. package/dist/TimeSvg-B3vSNjgQ-3291a198-e4cc2d61.js +56 -0
  32. package/dist/TimeSvg2-Cl28aqUW-698b95a8-3d1a1e27.js +56 -0
  33. package/dist/gsc-player-team-profile.js +1 -1
  34. package/dist/gsc-player-team-profile.umd.cjs +192 -192
  35. package/dist/{index-d513ff42.js → index-38ebf699.js} +19654 -19420
  36. package/dist/style.css +1 -1
  37. package/package.json +2 -2
  38. package/dist/CardIndividualGold-Ptz6THCG-80d254b5-45da335e.js +0 -124
  39. package/dist/CardTheMostProductive-DhsxmRN2-62e55a2e-4d50460d.js +0 -80
  40. package/dist/TimeSvg-Cxp_p6OH-5aec633c-d9ade37e.js +0 -95
  41. package/dist/misc-D94RabGe-ab1821dc-e3585ac1.js +0 -172
@@ -0,0 +1,127 @@
1
+ import { computed as n, openBlock as r, createElementBlock as t, normalizeClass as p, normalizeStyle as g, createCommentVNode as c, createElementVNode as l, renderSlot as u, pushScopeId as y, popScopeId as f } from "vue";
2
+ import { l as v, z as b } from "./index-38ebf699.js";
3
+ const h = (e, a) => {
4
+ const d = e.__vccOpts || e;
5
+ for (const [i, s] of a)
6
+ d[i] = s;
7
+ return d;
8
+ }, k = (e) => (y("data-v-32f11850"), e = e(), f(), e), m = {
9
+ key: 0,
10
+ class: "card-base__background-image"
11
+ }, w = ["src"], S = {
12
+ key: 1,
13
+ class: "card-base__background-overlay"
14
+ }, _ = { class: "card-base__slot" }, C = /* @__PURE__ */ k(() => /* @__PURE__ */ l("svg", {
15
+ width: "60",
16
+ height: "60",
17
+ viewBox: "0 0 60 60",
18
+ fill: "none",
19
+ xmlns: "http://www.w3.org/2000/svg"
20
+ }, [
21
+ /* @__PURE__ */ l("circle", {
22
+ cx: "30",
23
+ cy: "30",
24
+ r: "30",
25
+ fill: "#0E1E2A",
26
+ "fill-opacity": ".96"
27
+ }),
28
+ /* @__PURE__ */ l("circle", {
29
+ cx: "30",
30
+ cy: "30",
31
+ r: "26.6",
32
+ stroke: "#757575",
33
+ "stroke-width": ".8"
34
+ }),
35
+ /* @__PURE__ */ l("path", {
36
+ d: "M25.49 39.862a1.058 1.058 0 0 1-.359-.43 1.396 1.396 0 0 1-.131-.6V20.165a1.4 1.4 0 0 1 .132-.599c.087-.18.21-.329.358-.429a.777.777 0 0 1 .483-.137c.167.01.33.077.47.194l11.143 9.333c.127.107.232.25.304.42.072.17.11.358.11.55 0 .193-.038.382-.11.55-.072.17-.177.314-.304.42l-11.143 9.337a.808.808 0 0 1-.47.194.776.776 0 0 1-.482-.137z",
37
+ fill: "#CBEE6B"
38
+ })
39
+ ], -1)), B = [
40
+ C
41
+ ], x = {
42
+ __name: "CardBase",
43
+ props: {
44
+ height: {
45
+ type: String,
46
+ default: "445px"
47
+ },
48
+ width: {
49
+ type: String,
50
+ default: "319px"
51
+ },
52
+ backgroundOverlayColor: {
53
+ type: String,
54
+ default: "#000000"
55
+ },
56
+ backgroundOverlayOpacity: {
57
+ type: String,
58
+ default: "0.8"
59
+ },
60
+ backgroundImageSrc: {
61
+ type: String,
62
+ default: ""
63
+ },
64
+ overflow: {
65
+ type: String,
66
+ default: "visible"
67
+ },
68
+ borderRadius: {
69
+ type: String,
70
+ default: "15px"
71
+ },
72
+ isPlayButtonVisible: {
73
+ type: Boolean,
74
+ default: !0
75
+ },
76
+ goldCardType: {
77
+ type: Number,
78
+ default: 0
79
+ },
80
+ showVideos: {
81
+ type: Boolean,
82
+ default: !0
83
+ }
84
+ },
85
+ setup(e) {
86
+ const a = e, d = n(() => ({
87
+ "--height": a.height,
88
+ "--width": a.width,
89
+ "--background-overlay-color": a.backgroundOverlayColor,
90
+ "--overflow": a.overflow,
91
+ "--border-radius": a.borderRadius,
92
+ "--background-overlay-opacity": a.backgroundOverlayOpacity,
93
+ "--background-gold-size": `${a.width} ${a.height}`
94
+ })), i = n(() => {
95
+ const o = [];
96
+ return a.goldCardType && (a.goldCardType === 1 ? o.push("gold-card-1") : a.goldCardType === 2 && o.push("gold-card-2")), o;
97
+ });
98
+ function s() {
99
+ v.emit(b());
100
+ }
101
+ return (o, V) => (r(), t("div", {
102
+ class: p(["card-base", i.value]),
103
+ style: g(d.value)
104
+ }, [
105
+ e.goldCardType ? c("", !0) : (r(), t("div", m, [
106
+ e.backgroundImageSrc ? (r(), t("img", {
107
+ key: 0,
108
+ src: e.backgroundImageSrc,
109
+ alt: ""
110
+ }, null, 8, w)) : c("", !0)
111
+ ])),
112
+ e.goldCardType ? c("", !0) : (r(), t("div", S)),
113
+ l("div", _, [
114
+ u(o.$slots, "default", {}, void 0, !0)
115
+ ]),
116
+ e.isPlayButtonVisible && e.showVideos ? (r(), t("div", {
117
+ key: 2,
118
+ class: "card-base__play",
119
+ onClick: s
120
+ }, B)) : c("", !0)
121
+ ], 6));
122
+ }
123
+ }, z = /* @__PURE__ */ h(x, [["__scopeId", "data-v-32f11850"]]);
124
+ export {
125
+ z as V,
126
+ h
127
+ };
@@ -1,6 +1,6 @@
1
- import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as S, withCtx as w, renderSlot as x, createElementVNode as r, createCommentVNode as l, normalizeClass as H, toDisplayString as s, Fragment as D, createVNode as b } from "vue";
2
- import { f as k, O as P } from "./misc-D94RabGe-ab1821dc-e3585ac1.js";
3
- const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suffix" }, N = ["width", "height", "viewBox"], z = ["stroke"], U = ["stroke"], I = ["stop-color"], M = ["stop-color"], O = {
1
+ import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as H, withCtx as w, renderSlot as D, createElementVNode as r, createCommentVNode as l, normalizeClass as T, toDisplayString as n, Fragment as b, createVNode as m } from "vue";
2
+ import { h as S, V as P } from "./CardBase-BCSIUbwa-59a86234-b2c76b30.js";
3
+ const L = { class: "circle__total" }, $ = { class: "total" }, z = { class: "suffix" }, N = ["width", "height", "viewBox"], U = ["stroke"], V = ["stroke"], I = ["stop-color"], M = ["stop-color"], O = {
4
4
  __name: "CircleWithDots",
5
5
  props: {
6
6
  height: {
@@ -37,45 +37,45 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
37
37
  }
38
38
  },
39
39
  setup(e) {
40
- const t = e, c = i(() => `0 0 ${t.width} ${t.height}`), n = i(() => ({
40
+ const t = e, f = i(() => `0 0 ${t.width} ${t.height}`), s = i(() => ({
41
41
  "--width": `${t.width}px`,
42
42
  "--height": `${t.height}px`,
43
43
  "--value-font-size": `${t.valueFontSize}px`,
44
44
  "--suffix-font-size": `${t.suffixFontSize}px`,
45
45
  "--color": t.textColor
46
- })), f = `linear-gradient-${Date.now()}`;
46
+ })), c = `linear-gradient-${Date.now()}`;
47
47
  return (y, d) => (o(), a("div", {
48
48
  class: "circle",
49
- style: p(n.value)
49
+ style: p(s.value)
50
50
  }, [
51
- r("div", T, [
52
- r("span", $, s(e.value), 1),
53
- r("span", L, s(e.suffix), 1)
51
+ r("div", L, [
52
+ r("span", $, n(e.value), 1),
53
+ r("span", z, n(e.suffix), 1)
54
54
  ]),
55
55
  (o(), a("svg", {
56
- width: n.value["--width"],
57
- height: n.value["--height"],
58
- viewBox: c.value,
56
+ width: s.value["--width"],
57
+ height: s.value["--height"],
58
+ viewBox: f.value,
59
59
  preserveAspectRatio: "xMidYMid meet",
60
60
  fill: "none",
61
61
  xmlns: "http://www.w3.org/2000/svg"
62
62
  }, [
63
63
  r("path", {
64
64
  d: "M34.5 2C38.7023 2 42.8635 2.8277 46.7459 4.43586C50.6283 6.04401 54.1559 8.40111 57.1274 11.3726C60.0989 14.3441 62.456 17.8717 64.0641 21.7541C65.6723 25.6366 66.5 29.7977 66.5 34C66.5 38.2023 65.6723 42.3635 64.0641 46.2459C62.456 50.1283 60.0989 53.6559 57.1274 56.6274C54.1559 59.5989 50.6283 61.956 46.7459 63.5641C42.8634 65.1723 38.7023 66 34.5 66C30.2977 66 26.1365 65.1723 22.2541 63.5641C18.3717 61.956 14.844 59.5989 11.8726 56.6274C8.9011 53.6559 6.544 50.1283 4.93585 46.2459C3.3277 42.3634 2.5 38.2023 2.5 34C2.5 29.7977 3.32771 25.6365 4.93586 21.7541C6.54401 17.8717 8.90112 14.344 11.8726 11.3726C14.8441 8.4011 18.3717 6.044 22.2541 4.43585C26.1366 2.8277 30.2977 2 34.5 2L34.5 2Z",
65
- stroke: `url(#${f})`,
65
+ stroke: `url(#${c})`,
66
66
  "stroke-width": "3.14",
67
67
  "stroke-linecap": "round"
68
- }, null, 8, z),
68
+ }, null, 8, U),
69
69
  r("path", {
70
70
  d: "M34.4996 6.63965C38.0926 6.63965 41.6504 7.34734 44.9699 8.72231C48.2893 10.0973 51.3055 12.1126 53.8461 14.6532C56.3867 17.1938 58.402 20.21 59.777 23.5294C61.152 26.8489 61.8597 30.4067 61.8596 33.9997C61.8596 37.5926 61.152 41.1504 59.777 44.4699C58.402 47.7893 56.3867 50.8055 53.8461 53.3461C51.3055 55.8867 48.2893 57.902 44.9699 59.277C41.6504 60.652 38.0926 61.3597 34.4996 61.3596C30.9067 61.3596 27.3489 60.652 24.0294 59.277C20.71 57.902 17.6938 55.8867 15.1532 53.3461C12.6126 50.8055 10.5973 47.7893 9.2223 44.4699C7.84733 41.1504 7.13965 37.5926 7.13965 33.9996C7.13965 30.4067 7.84734 26.8489 9.22231 23.5294C10.5973 20.2099 12.6126 17.1938 15.1532 14.6532C17.6938 12.1126 20.71 10.0973 24.0294 8.7223C27.3489 7.34733 30.9067 6.63965 34.4997 6.63965L34.4996 6.63965Z",
71
71
  stroke: e.color,
72
72
  "stroke-width": "0.380952",
73
73
  "stroke-linecap": "round",
74
74
  "stroke-dasharray": "0 0.19 2.61 0 0.19 2.61"
75
- }, null, 8, U),
75
+ }, null, 8, V),
76
76
  r("defs", null, [
77
77
  r("linearGradient", {
78
- id: f,
78
+ id: c,
79
79
  x1: "34.5",
80
80
  y1: "2",
81
81
  x2: "34.5",
@@ -92,40 +92,43 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
92
92
  ], 8, N))
93
93
  ], 4));
94
94
  }
95
- }, m = /* @__PURE__ */ k(O, [["__scopeId", "data-v-b9adcb76"]]), V = {
95
+ }, k = /* @__PURE__ */ S(O, [["__scopeId", "data-v-b9adcb76"]]), A = {
96
96
  key: 0,
97
97
  class: "card-base-individual__content__player-img"
98
- }, A = ["src"], E = {
98
+ }, E = ["src"], R = {
99
99
  key: 1,
100
100
  class: "card-base-individual__content__team-logo"
101
- }, R = ["src"], j = {
101
+ }, j = ["src"], Z = {
102
102
  key: 0,
103
103
  class: "card-base-individual__content__footer__header"
104
- }, Z = {
104
+ }, G = {
105
105
  key: 0,
106
106
  class: "card-base-individual__content__footer__header__title-and-sub ts"
107
- }, G = {
107
+ }, W = {
108
108
  key: 0,
109
109
  class: "card-base-individual__content__footer__header__title"
110
- }, W = {
110
+ }, Y = {
111
+ key: 0,
112
+ class: "subtitle-same-line"
113
+ }, q = {
111
114
  key: 1,
112
115
  class: "card-base-individual__content__footer__header__subtitle"
113
- }, Y = {
116
+ }, J = {
114
117
  key: 0,
115
118
  class: "th"
116
- }, q = {
119
+ }, K = {
117
120
  key: 1,
118
121
  class: "total th"
119
- }, J = {
122
+ }, Q = {
120
123
  key: 1,
121
124
  class: "card-base-individual__content__footer__body"
122
- }, K = ["innerHTML"], Q = {
125
+ }, X = ["innerHTML"], tt = {
123
126
  key: 0,
124
127
  class: "total-b"
125
- }, X = {
128
+ }, et = {
126
129
  key: 1,
127
130
  class: "total total-b"
128
- }, tt = { class: "card-base-individual__content__body" }, et = {
131
+ }, ot = { class: "card-base-individual__content__body" }, at = {
129
132
  __name: "CardBaseAllIndividual",
130
133
  props: {
131
134
  height: {
@@ -142,6 +145,8 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
142
145
  * {
143
146
  * title: string,
144
147
  * subtitle: string,
148
+ * areTitleSubtitleSameLine: boolean,
149
+ * titleFontSize: string,
145
150
  * total: [string, number],
146
151
  * isTotalLeft: boolean,
147
152
  * isTotalPercentage: boolean,
@@ -221,9 +226,9 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
221
226
  }
222
227
  },
223
228
  setup(e) {
224
- const t = e, c = i(() => {
225
- var d, u, h, g, _, v;
226
- const C = t.footerBodyData && t.footerBodyData.description && t.footerBodyData.total, F = t.footerHeaderData && t.footerHeaderData.title && t.footerHeaderData.total;
229
+ const t = e, f = i(() => {
230
+ var d, u, h, g, _, v, C;
231
+ const F = t.footerBodyData && t.footerBodyData.description && t.footerBodyData.total, x = t.footerHeaderData && t.footerHeaderData.title && t.footerHeaderData.total;
227
232
  return {
228
233
  "--height": t.height,
229
234
  "--width": t.width,
@@ -233,24 +238,25 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
233
238
  "--footer-header-text-color": ((u = t.footerHeaderData) == null ? void 0 : u.textColor) || "#FFFFFF",
234
239
  "--total-border": `1.6px solid ${((h = t.footerBodyData) == null ? void 0 : h.totalBorderColor) || ((g = t.footerHeaderData) == null ? void 0 : g.totalBorderColor) || "#FFFFFF"}`,
235
240
  "--footer-height": t.footerHeight,
236
- "--footer-width": t.goldCardType ? "263px" : "auto",
241
+ "--footer-width": t.goldCardType ? "312px" : "auto",
237
242
  "--footer-padding": t.footerPadding,
238
243
  "--total-color": t.goldCardType ? "#FFFFFF" : ((_ = t.footerBodyData) == null ? void 0 : _.totalTextColor) || ((v = t.footerHeaderData) == null ? void 0 : v.totalTextColor) || "#FFFFFF",
239
- "--description-text-align": C || t.footerHeaderData ? "left" : "center",
240
- "--footer-body-template-columns": C ? "1fr min-content" : "1fr",
241
- "--footer-header-template-columns": F ? t.footerHeaderData.isTotalLeft ? "min-content 1fr" : "1fr min-content" : "1fr",
242
- "--footer-header-grid-areas": F ? t.footerHeaderData.isTotalLeft ? '"th ts"' : '"ts th"' : '"ts"',
244
+ "--footer-header-title-font-size": ((C = t.footerHeaderData) == null ? void 0 : C.titleFontSize) || "27px",
245
+ "--description-text-align": F || t.footerHeaderData ? "left" : "center",
246
+ "--footer-body-template-columns": F ? "1fr min-content" : "1fr",
247
+ "--footer-header-template-columns": x ? t.footerHeaderData.isTotalLeft ? "min-content 1fr" : "1fr min-content" : "1fr",
248
+ "--footer-header-grid-areas": x ? t.footerHeaderData.isTotalLeft ? '"th ts"' : '"ts th"' : '"ts"',
243
249
  "--player-photo-position-top": t.playerPhotoPositionTop,
244
250
  "--player-photo-position-left": t.playerPhotoPositionLeft,
245
251
  "--player-photo-position-right": t.playerPhotoPositionRight,
246
252
  "--player-photo-height": t.playerPhotoHeight
247
253
  };
248
- }), n = i(() => ({
254
+ }), s = i(() => ({
249
255
  backgroundOverlayColor: t.cardColor,
250
256
  backgroundImageSrc: t.backgroundImageSrc,
251
257
  isPlayButtonVisible: t.showVideos,
252
258
  goldCardType: t.goldCardType
253
- })), f = i(() => ({}));
259
+ })), c = i(() => ({}));
254
260
  i(() => t.footerBodyData.total ? t.footerBodyData.isTotalPercentage ? `${t.footerBodyData.total}%` : t.footerBodyData.total : "");
255
261
  const y = i(() => {
256
262
  const d = [];
@@ -258,66 +264,69 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
258
264
  });
259
265
  return (d, u) => (o(), a("div", {
260
266
  class: "card-base-individual",
261
- style: p(c.value)
267
+ style: p(f.value)
262
268
  }, [
263
- n.value ? (o(), B(P, S({ key: 0 }, n.value, { width: e.width }), {
269
+ s.value ? (o(), B(P, H({ key: 0 }, s.value, { width: e.width }), {
264
270
  default: w(() => [
265
- x(d.$slots, "default", {}, () => [
266
- f.value ? (o(), a("div", {
271
+ D(d.$slots, "default", {}, () => [
272
+ c.value ? (o(), a("div", {
267
273
  key: 0,
268
- style: p(c.value),
274
+ style: p(f.value),
269
275
  class: "card-base-individual__content"
270
276
  }, [
271
- e.playerPhotoUrl ? (o(), a("div", V, [
277
+ e.playerPhotoUrl ? (o(), a("div", A, [
272
278
  r("div", null, [
273
279
  r("img", {
274
280
  src: e.playerPhotoUrl,
275
281
  alt: "player"
276
- }, null, 8, A)
282
+ }, null, 8, E)
277
283
  ])
278
284
  ])) : l("", !0),
279
- e.teamLogoUrl ? (o(), a("div", E, [
285
+ e.teamLogoUrl ? (o(), a("div", R, [
280
286
  r("img", {
281
287
  src: e.teamLogoUrl,
282
288
  alt: "team"
283
- }, null, 8, R)
289
+ }, null, 8, j)
284
290
  ])) : l("", !0),
285
291
  r("div", {
286
- class: H(["card-base-individual__content__footer", y.value])
292
+ class: T(["card-base-individual__content__footer", y.value])
287
293
  }, [
288
- e.footerHeaderData ? (o(), a("div", j, [
289
- e.footerHeaderData.title ? (o(), a("div", Z, [
290
- e.footerHeaderData.title ? (o(), a("div", G, s(e.footerHeaderData.title), 1)) : l("", !0),
291
- e.footerHeaderData.title ? (o(), a("div", W, s(e.footerHeaderData.subtitle), 1)) : l("", !0)
294
+ e.footerHeaderData ? (o(), a("div", Z, [
295
+ e.footerHeaderData.title ? (o(), a("div", G, [
296
+ e.footerHeaderData.title ? (o(), a("div", W, [
297
+ r("span", null, n(e.footerHeaderData.title), 1),
298
+ e.footerHeaderData.areTitleSubtitleSameLine ? (o(), a("span", Y, n(e.footerHeaderData.subtitle), 1)) : l("", !0)
299
+ ])) : l("", !0),
300
+ e.footerHeaderData.title && !e.footerHeaderData.areTitleSubtitleSameLine ? (o(), a("div", q, n(e.footerHeaderData.subtitle), 1)) : l("", !0)
292
301
  ])) : l("", !0),
293
- e.footerHeaderData.total ? (o(), a(D, { key: 1 }, [
294
- e.footerHeaderData.isTotalPercentage ? (o(), a("div", Y, [
295
- b(m, {
302
+ e.footerHeaderData.total ? (o(), a(b, { key: 1 }, [
303
+ e.footerHeaderData.isTotalPercentage ? (o(), a("div", J, [
304
+ m(k, {
296
305
  value: e.footerHeaderData.total,
297
306
  "text-color": e.footerBodyData.totalTextColor,
298
307
  color: e.footerBodyData.totalCircleColor
299
308
  }, null, 8, ["value", "text-color", "color"])
300
- ])) : (o(), a("div", q, s(e.footerHeaderData.total), 1))
309
+ ])) : (o(), a("div", K, n(e.footerHeaderData.total), 1))
301
310
  ], 64)) : l("", !0)
302
311
  ])) : l("", !0),
303
- e.footerBodyData ? (o(), a("div", J, [
312
+ e.footerBodyData ? (o(), a("div", Q, [
304
313
  r("div", {
305
314
  class: "card-base-individual__content__footer__body__description",
306
315
  innerHTML: e.footerBodyData.description
307
- }, null, 8, K),
308
- e.footerBodyData.total ? (o(), a(D, { key: 0 }, [
309
- e.footerBodyData.isTotalPercentage ? (o(), a("div", Q, [
310
- b(m, {
316
+ }, null, 8, X),
317
+ e.footerBodyData.total ? (o(), a(b, { key: 0 }, [
318
+ e.footerBodyData.isTotalPercentage ? (o(), a("div", tt, [
319
+ m(k, {
311
320
  value: e.footerBodyData.total,
312
321
  "text-color": e.footerBodyData.totalTextColor,
313
322
  color: e.footerBodyData.totalCircleColor
314
323
  }, null, 8, ["value", "text-color", "color"])
315
- ])) : (o(), a("div", X, s(e.footerBodyData.total), 1))
324
+ ])) : (o(), a("div", et, n(e.footerBodyData.total), 1))
316
325
  ], 64)) : l("", !0)
317
326
  ])) : l("", !0)
318
327
  ], 2),
319
- r("div", tt, [
320
- x(d.$slots, "body", {}, void 0, !0)
328
+ r("div", ot, [
329
+ D(d.$slots, "body", {}, void 0, !0)
321
330
  ])
322
331
  ], 4)) : l("", !0)
323
332
  ], !0)
@@ -326,7 +335,7 @@ const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
326
335
  }, 16, ["width"])) : l("", !0)
327
336
  ], 4));
328
337
  }
329
- }, rt = /* @__PURE__ */ k(et, [["__scopeId", "data-v-c55bb714"]]);
338
+ }, dt = /* @__PURE__ */ S(at, [["__scopeId", "data-v-1133b425"]]);
330
339
  export {
331
- rt as r
340
+ dt as d
332
341
  };
@@ -1,6 +1,7 @@
1
- import { computed as d, openBlock as l, createElementBlock as a, normalizeStyle as f, createBlock as B, mergeProps as D, withCtx as I, renderSlot as U, toDisplayString as v, createCommentVNode as s, unref as L, createElementVNode as e, Fragment as j, renderList as O, pushScopeId as q, popScopeId as T } from "vue";
2
- import { f as A, I as m, T as E, V as N, O as P } from "./misc-D94RabGe-ab1821dc-e3585ac1.js";
3
- const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
1
+ import { computed as d, openBlock as l, createElementBlock as a, normalizeStyle as Z, createBlock as D, mergeProps as B, withCtx as j, renderSlot as I, toDisplayString as v, createCommentVNode as s, unref as L, createElementVNode as e, Fragment as U, renderList as q, pushScopeId as O, popScopeId as T } from "vue";
2
+ import { h as A, V as E } from "./CardBase-BCSIUbwa-59a86234-b2c76b30.js";
3
+ import { V as m, D as N, a as P } from "./index-38ebf699.js";
4
+ const u = (r) => (O("data-v-d39c4494"), r = r(), T(), r), $ = {
4
5
  key: 0,
5
6
  class: "body-total is-absolute"
6
7
  }, G = {
@@ -43,7 +44,7 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
43
44
  viewBox: "0 0 52 82",
44
45
  fill: "none",
45
46
  xmlns: "http://www.w3.org/2000/svg"
46
- }, h1 = ["fill"], L1 = ["fill"], u1 = ["stroke"], k1 = ["stroke"], c1 = ["stroke"], v1 = ["stroke"], g1 = ["stroke"], m1 = ["stroke"], p1 = ["fill", "stroke"], _1 = { opacity: "0.7" }, M1 = ["stroke"], w1 = ["stroke"], y1 = ["stroke"], Z1 = ["stroke"], f1 = ["stroke"], x1 = ["stroke"], F1 = {
47
+ }, h1 = ["fill"], L1 = ["fill"], u1 = ["stroke"], k1 = ["stroke"], c1 = ["stroke"], v1 = ["stroke"], g1 = ["stroke"], m1 = ["stroke"], p1 = ["fill", "stroke"], _1 = { opacity: "0.7" }, M1 = ["stroke"], w1 = ["stroke"], y1 = ["stroke"], f1 = ["stroke"], Z1 = ["stroke"], x1 = ["stroke"], F1 = {
47
48
  key: 5,
48
49
  class: "half-field-svg is-absolute"
49
50
  }, b1 = {
@@ -52,7 +53,7 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
52
53
  viewBox: "0 0 81 128",
53
54
  fill: "none",
54
55
  xmlns: "http://www.w3.org/2000/svg"
55
- }, z1 = ["fill"], S1 = ["fill"], H1 = ["stroke"], V1 = ["stroke"], B1 = ["stroke"], D1 = ["stroke"], I1 = ["stroke"], U1 = ["stroke"], j1 = ["fill"], O1 = { opacity: "0.7" }, q1 = ["stroke"], T1 = ["stroke"], A1 = ["stroke"], E1 = ["stroke"], N1 = ["stroke"], P1 = ["stroke"], $1 = {
56
+ }, z1 = ["fill"], S1 = ["fill"], H1 = ["stroke"], V1 = ["stroke"], D1 = ["stroke"], B1 = ["stroke"], j1 = ["stroke"], I1 = ["stroke"], U1 = ["fill"], q1 = { opacity: "0.7" }, O1 = ["stroke"], T1 = ["stroke"], A1 = ["stroke"], E1 = ["stroke"], N1 = ["stroke"], P1 = ["stroke"], $1 = {
56
57
  key: 6,
57
58
  class: "centers-field-svg is-absolute"
58
59
  }, G1 = {
@@ -115,7 +116,7 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
115
116
  }, m2 = ["src"], p2 = /* @__PURE__ */ u(() => /* @__PURE__ */ e("div", { class: "card-general__content__body" }, null, -1)), _2 = { class: "card-general__content__footer" }, M2 = { class: "card-general__content__footer__header" }, w2 = {
116
117
  key: 0,
117
118
  class: "card-general__content__footer__header__team-logo"
118
- }, y2 = ["src"], Z2 = { class: "card-general__content__footer__header__title" }, f2 = {
119
+ }, y2 = ["src"], f2 = { class: "card-general__content__footer__header__title" }, Z2 = {
119
120
  key: 1,
120
121
  class: "card-general__content__footer__header__total"
121
122
  }, x2 = { class: "card-general__content__footer__body" }, F2 = ["innerHTML"], b2 = {
@@ -175,13 +176,13 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
175
176
  "--left-team-logo": g.has(o.data.id) ? "17px" : "unset",
176
177
  "--right-team-logo": k.has(o.data.id) ? "17px" : "unset",
177
178
  "--font-size-footer-title": M.has(o.data.id) ? "48px" : "29px"
178
- })), Z = d(() => !o.data || !o.data.thumbnails ? null : {
179
+ })), f = d(() => !o.data || !o.data.thumbnails ? null : {
179
180
  backgroundOverlayColor: (o.data.thumbnails.colors.background_color || "#000000").trim(),
180
181
  backgroundImageSrc: o.data.is_player && o.data.thumbnails.images.background_player_in_action[0] ? m(o.data.thumbnails.images.background_player_in_action[0]) : m(o.data.thumbnails.images.background_team),
181
182
  titleColor: (o.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
182
183
  textColor: (o.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
183
184
  totalColor: (o.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
184
- }), S = d(() => o.data ? E(N({ data: o.data, descriptionType: o.descriptionType })) : ""), t = d(() => {
185
+ }), S = d(() => o.data ? N(P({ data: o.data, descriptionType: o.descriptionType })) : ""), t = d(() => {
185
186
  if (!o.data)
186
187
  return null;
187
188
  let C = o.data.team_logo, n = o.data.sections;
@@ -198,17 +199,17 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
198
199
  });
199
200
  return (C, n) => (l(), a("div", {
200
201
  class: "card-general",
201
- style: f(y.value)
202
+ style: Z(y.value)
202
203
  }, [
203
- Z.value ? (l(), B(P, D({ key: 0 }, Z.value, {
204
+ f.value ? (l(), D(E, B({ key: 0 }, f.value, {
204
205
  width: r.width,
205
206
  "show-videos": r.showVideos
206
207
  }), {
207
- default: I(() => [
208
- U(C.$slots, "default", {}, () => [
208
+ default: j(() => [
209
+ I(C.$slots, "default", {}, () => [
209
210
  t.value ? (l(), a("div", {
210
211
  key: 0,
211
- style: f(y.value),
212
+ style: Z(y.value),
212
213
  class: "card-general__content"
213
214
  }, [
214
215
  z.value ? (l(), a("div", $, v(r.data.total), 1)) : s("", !0),
@@ -379,13 +380,13 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
379
380
  stroke: t.value.svgLineColor,
380
381
  "stroke-width": "0.2",
381
382
  "stroke-dasharray": "0.4 0.4"
382
- }, null, 8, Z1),
383
+ }, null, 8, f1),
383
384
  e("path", {
384
385
  d: "M26 81.5L26 1",
385
386
  stroke: t.value.svgLineColor,
386
387
  "stroke-width": "0.2",
387
388
  "stroke-dasharray": "0.4 0.4"
388
- }, null, 8, f1),
389
+ }, null, 8, Z1),
389
390
  e("path", {
390
391
  d: "M39 81.5L39 1",
391
392
  stroke: t.value.svgLineColor,
@@ -426,24 +427,24 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
426
427
  d: "M28.1201 127.064L28.1201 117.557C28.1201 117.356 28.2834 117.193 28.4849 117.193L52.432 117.193C52.6335 117.193 52.7968 117.356 52.7968 117.557L52.7968 127.064",
427
428
  stroke: t.value.svgLineColor,
428
429
  "stroke-width": "0.934615"
429
- }, null, 8, B1),
430
+ }, null, 8, D1),
430
431
  e("path", {
431
432
  d: "M28.126 1.37803L28.126 10.8826C28.126 11.0847 28.2903 11.2483 28.4924 11.2473L52.4396 11.1359C52.6404 11.135 52.8027 10.972 52.8027 10.7712L52.8027 1.5486",
432
433
  stroke: t.value.svgLineColor,
433
434
  "stroke-width": "0.934615",
434
435
  "stroke-linecap": "square"
435
- }, null, 8, D1),
436
+ }, null, 8, B1),
436
437
  e("path", {
437
438
  d: "M21.0723 1.38178L21.0723 17.9369C21.0723 18.139 21.2367 18.3026 21.4389 18.3016L59.4869 18.1085C59.6876 18.1075 59.8498 17.9445 59.8498 17.7438L59.8498 1.67417",
438
439
  stroke: t.value.svgLineColor,
439
440
  "stroke-width": "0.934615",
440
441
  "stroke-linecap": "square"
441
- }, null, 8, I1),
442
+ }, null, 8, j1),
442
443
  e("path", {
443
444
  d: "M40.4572 46.8029C49.9338 46.8029 57.6161 54.4854 57.6161 63.9623C57.6161 73.4393 49.9338 81.1218 40.4572 81.1218C30.9807 81.1218 23.2984 73.4393 23.2984 63.9623C23.2984 54.4854 30.9807 46.8029 40.4572 46.8029Z",
444
445
  stroke: t.value.svgLineColor,
445
446
  "stroke-width": "0.934615"
446
- }, null, 8, U1),
447
+ }, null, 8, I1),
447
448
  e("ellipse", {
448
449
  cx: "40.457",
449
450
  cy: "63.9685",
@@ -453,14 +454,14 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
453
454
  fill: t.value.svgLineColor,
454
455
  stroke: "white",
455
456
  "stroke-width": "0.268216"
456
- }, null, 8, j1),
457
- e("g", O1, [
457
+ }, null, 8, U1),
458
+ e("g", q1, [
458
459
  e("path", {
459
460
  d: "M0 32.3535H81",
460
461
  stroke: t.value.svgLineColor,
461
462
  "stroke-width": "0.311538",
462
463
  "stroke-dasharray": "0.62 0.62"
463
- }, null, 8, q1),
464
+ }, null, 8, O1),
464
465
  e("path", {
465
466
  d: "M0 63.7019H81",
466
467
  stroke: t.value.svgLineColor,
@@ -654,8 +655,8 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
654
655
  alt: ""
655
656
  }, null, 8, y2)) : s("", !0)
656
657
  ])),
657
- e("div", Z2, v(r.data.title), 1),
658
- r.data.footer && r.data.footer.show_total && !r.data.footer.sections ? (l(), a("div", f2, v(r.data.total), 1)) : s("", !0)
658
+ e("div", f2, v(r.data.title), 1),
659
+ r.data.footer && r.data.footer.show_total && !r.data.footer.sections ? (l(), a("div", Z2, v(r.data.total), 1)) : s("", !0)
659
660
  ]),
660
661
  e("div", x2, [
661
662
  e("div", {
@@ -663,7 +664,7 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
663
664
  innerHTML: S.value
664
665
  }, null, 8, F2),
665
666
  t.value.sections && t.value.sections.length ? (l(), a("div", b2, [
666
- (l(!0), a(j, null, O(t.value.sections, ([c, i]) => (l(), a("div", {
667
+ (l(!0), a(U, null, q(t.value.sections, ([c, i]) => (l(), a("div", {
667
668
  key: c,
668
669
  class: "section"
669
670
  }, [
@@ -680,7 +681,7 @@ const u = (r) => (q("data-v-d39c4494"), r = r(), T(), r), $ = {
680
681
  }, 16, ["width", "show-videos"])) : s("", !0)
681
682
  ], 4));
682
683
  }
683
- }, D2 = /* @__PURE__ */ A(H2, [["__scopeId", "data-v-d39c4494"]]);
684
+ }, j2 = /* @__PURE__ */ A(H2, [["__scopeId", "data-v-d39c4494"]]);
684
685
  export {
685
- D2 as default
686
+ j2 as default
686
687
  };