@golstats/gsc-landing 1.0.199 → 1.0.201
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.
- package/README.md +2 -2
- package/dist/{CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js → CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js} +68 -65
- package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-AZwvWZ_3-AQOM0OL9.js} +46 -46
- package/dist/{CardGeneralIndividual-DaONNIwT-WoYrg7O0.js → CardGeneralIndividual-DetWgcUA-BTLZpGNX.js} +17 -17
- package/dist/{CardGeneralTeams-CCfSIg5--ycGF0WJl.js → CardGeneralTeams-wLzPsHgF-fLdKm-YP.js} +30 -30
- package/dist/{CardIndividual-B5YHR_4X-DC-zfHLx.js → CardIndividual-DsTXOh1h-Dc3790C2.js} +105 -106
- package/dist/{CardIndividual1vs1-CwWPZ1jp-By52KIVf.js → CardIndividual1vs1-D4ApefEV-BpJl9DFk.js} +16 -16
- package/dist/{CardIndividualAreas-D9mHXjfS-DrA6YV1T.js → CardIndividualAreas-DngsmF39-DcK3uLDs.js} +8 -7
- package/dist/{CardIndividualCenters-DeGyy9wB-BftpRpCL.js → CardIndividualCenters-BG_eOM3D-xuIP7w17.js} +108 -107
- package/dist/{CardIndividualDistance-Dq2calI2-Ibl6uHbE.js → CardIndividualDistance-CvBDGVS--D8YWMCKb.js} +2 -2
- package/dist/CardIndividualFouls-C44UeLyO-ZIHkkK8-.js +682 -0
- package/dist/{CardIndividualGoalParticipation-BC_F7PdP-IXEeZoV4.js → CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js} +3 -3
- package/dist/{CardIndividualGoals-BBu5FY5j-CBMS5ssK.js → CardIndividualGoals-B4b5wkp6-BwluJyoB.js} +95 -92
- package/dist/{CardIndividualGold-BMKxc3r9-De2Anuon.js → CardIndividualGold-BfC-u_iy-DT3GeGNQ.js} +36 -33
- package/dist/{CardIndividualNoGoalReceived-I-e5vsG7-CEzJIp_l.js → CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js} +4 -4
- package/dist/{CardIndividualPerformance-DaQseH4c-DQdCn0VP.js → CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js} +23 -23
- package/dist/{CardIndividualSaves-CCaV8HU6-wv9lT0tB.js → CardIndividualSaves-nqci9xWF-CDd6dQLA.js} +36 -36
- package/dist/{CardIndividualShotsOnGoal-CwzjHXK9-CdK_9OTp.js → CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js} +18 -17
- package/dist/{CardIndividualStatistics-C_z-rRXF-DGbkpB-m.js → CardIndividualStatistics-Z68XArun-DT_RnZV9.js} +39 -35
- package/dist/CardPromTournament-D8dm7vzw-DjvD0ktc.js +128 -0
- package/dist/CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js +809 -0
- package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +76 -0
- package/dist/{CircleWithDotsBig-5eFuZwDk-n956nNzk.js → CircleWithDotsBig-BWySvEMt-COAdxI3W.js} +1 -1
- package/dist/{Shield-0VkASyDI-Cm8rtKBS.js → Shield-DzbSNLIW-B-twHEDg.js} +1 -1
- package/dist/gsc-landing.js +2284 -2251
- package/dist/gsc-landing.umd.cjs +65 -65
- package/dist/{misc-BbzSgyER-2p2XKW1m.js → misc-BpbriWn--Bd_IQoHZ.js} +4 -4
- package/dist/style.css +1 -1
- package/package.json +53 -53
- package/dist/CardIndividualFouls-DF0AvPys-C61mrpb7.js +0 -669
- package/dist/CardPromTournament-DMe6axFO-DWI8msi-.js +0 -113
- package/dist/CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js +0 -91
- package/dist/CardTheMostProductive-CDDFIo-I-LQ50NbB5.js +0 -75
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# landing-component
|
|
2
|
-
Componente de la pagina principal de Golstats 3.0
|
|
1
|
+
# landing-component
|
|
2
|
+
Componente de la pagina principal de Golstats 3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as
|
|
2
|
-
import { h as
|
|
3
|
-
const
|
|
1
|
+
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as S, withCtx as H, renderSlot as x, createElementVNode as r, createCommentVNode as l, normalizeClass as w, toDisplayString as s, Fragment as D, createVNode as b } from "vue";
|
|
2
|
+
import { h as k, T as P } from "./misc-BpbriWn--Bd_IQoHZ.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 = {
|
|
4
4
|
__name: "CircleWithDots",
|
|
5
5
|
props: {
|
|
6
6
|
height: {
|
|
@@ -43,14 +43,14 @@ const w = { class: "circle__total" }, P = { class: "total" }, T = { class: "suff
|
|
|
43
43
|
"--value-font-size": `${t.valueFontSize}px`,
|
|
44
44
|
"--suffix-font-size": `${t.suffixFontSize}px`,
|
|
45
45
|
"--color": t.textColor
|
|
46
|
-
})),
|
|
46
|
+
})), f = `linear-gradient-${Date.now()}`;
|
|
47
47
|
return (y, d) => (o(), a("div", {
|
|
48
48
|
class: "circle",
|
|
49
49
|
style: p(n.value)
|
|
50
50
|
}, [
|
|
51
|
-
r("div",
|
|
52
|
-
r("span",
|
|
53
|
-
r("span",
|
|
51
|
+
r("div", T, [
|
|
52
|
+
r("span", $, s(e.value), 1),
|
|
53
|
+
r("span", L, s(e.suffix), 1)
|
|
54
54
|
]),
|
|
55
55
|
(o(), a("svg", {
|
|
56
56
|
width: n.value["--width"],
|
|
@@ -62,70 +62,70 @@ const w = { class: "circle__total" }, P = { class: "total" }, T = { class: "suff
|
|
|
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(#${
|
|
65
|
+
stroke: `url(#${f})`,
|
|
66
66
|
"stroke-width": "3.14",
|
|
67
67
|
"stroke-linecap": "round"
|
|
68
|
-
}, null, 8,
|
|
68
|
+
}, null, 8, z),
|
|
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,
|
|
75
|
+
}, null, 8, U),
|
|
76
76
|
r("defs", null, [
|
|
77
77
|
r("linearGradient", {
|
|
78
|
-
id:
|
|
78
|
+
id: f,
|
|
79
79
|
x1: "34.5",
|
|
80
80
|
y1: "2",
|
|
81
81
|
x2: "34.5",
|
|
82
82
|
y2: "66",
|
|
83
83
|
gradientUnits: "userSpaceOnUse"
|
|
84
84
|
}, [
|
|
85
|
-
r("stop", { "stop-color": e.color }, null, 8,
|
|
85
|
+
r("stop", { "stop-color": e.color }, null, 8, I),
|
|
86
86
|
r("stop", {
|
|
87
87
|
offset: "1",
|
|
88
88
|
"stop-color": e.color
|
|
89
|
-
}, null, 8,
|
|
89
|
+
}, null, 8, M)
|
|
90
90
|
])
|
|
91
91
|
])
|
|
92
|
-
], 8,
|
|
92
|
+
], 8, N))
|
|
93
93
|
], 4));
|
|
94
94
|
}
|
|
95
|
-
},
|
|
95
|
+
}, m = /* @__PURE__ */ k(O, [["__scopeId", "data-v-b9adcb76"]]), V = {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "card-base-individual__content__player-img"
|
|
98
|
-
},
|
|
98
|
+
}, A = ["src"], E = {
|
|
99
99
|
key: 1,
|
|
100
100
|
class: "card-base-individual__content__team-logo"
|
|
101
|
-
},
|
|
101
|
+
}, R = ["src"], j = {
|
|
102
102
|
key: 0,
|
|
103
103
|
class: "card-base-individual__content__footer__header"
|
|
104
|
-
},
|
|
104
|
+
}, Z = {
|
|
105
105
|
key: 0,
|
|
106
106
|
class: "card-base-individual__content__footer__header__title-and-sub ts"
|
|
107
|
-
},
|
|
107
|
+
}, G = {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "card-base-individual__content__footer__header__title"
|
|
110
|
-
},
|
|
110
|
+
}, W = {
|
|
111
111
|
key: 1,
|
|
112
112
|
class: "card-base-individual__content__footer__header__subtitle"
|
|
113
|
-
},
|
|
113
|
+
}, Y = {
|
|
114
114
|
key: 0,
|
|
115
115
|
class: "th"
|
|
116
|
-
},
|
|
116
|
+
}, q = {
|
|
117
117
|
key: 1,
|
|
118
118
|
class: "total th"
|
|
119
|
-
},
|
|
119
|
+
}, J = {
|
|
120
120
|
key: 1,
|
|
121
121
|
class: "card-base-individual__content__footer__body"
|
|
122
|
-
},
|
|
122
|
+
}, K = ["innerHTML"], Q = {
|
|
123
123
|
key: 0,
|
|
124
124
|
class: "total-b"
|
|
125
|
-
},
|
|
125
|
+
}, X = {
|
|
126
126
|
key: 1,
|
|
127
127
|
class: "total total-b"
|
|
128
|
-
},
|
|
128
|
+
}, tt = { class: "card-base-individual__content__body" }, et = {
|
|
129
129
|
__name: "CardBaseAllIndividual",
|
|
130
130
|
props: {
|
|
131
131
|
height: {
|
|
@@ -146,6 +146,7 @@ const w = { class: "circle__total" }, P = { class: "total" }, T = { class: "suff
|
|
|
146
146
|
* isTotalLeft: boolean,
|
|
147
147
|
* isTotalPercentage: boolean,
|
|
148
148
|
* textColor: string,
|
|
149
|
+
* totalBorderColor: string,
|
|
149
150
|
* }
|
|
150
151
|
* */
|
|
151
152
|
default: () => null
|
|
@@ -161,6 +162,7 @@ const w = { class: "circle__total" }, P = { class: "total" }, T = { class: "suff
|
|
|
161
162
|
* totalTextColor: string,
|
|
162
163
|
* totalCircleColor: string,
|
|
163
164
|
* textColor: string,
|
|
165
|
+
* totalBorderColor: string,
|
|
164
166
|
* }
|
|
165
167
|
* */
|
|
166
168
|
default: () => null
|
|
@@ -216,23 +218,24 @@ const w = { class: "circle__total" }, P = { class: "total" }, T = { class: "suff
|
|
|
216
218
|
},
|
|
217
219
|
setup(e) {
|
|
218
220
|
const t = e, u = i(() => {
|
|
219
|
-
var d,
|
|
220
|
-
const
|
|
221
|
+
var d, c, h, g, _, C;
|
|
222
|
+
const v = t.footerBodyData && t.footerBodyData.description && t.footerBodyData.total, F = t.footerHeaderData && t.footerHeaderData.title && t.footerHeaderData.total;
|
|
221
223
|
return {
|
|
222
224
|
"--height": t.height,
|
|
223
225
|
"--width": t.width,
|
|
224
226
|
"--footer-background-color": t.cardColor || "#000000",
|
|
225
|
-
"--text-color": t.textColor || "#FFFFFF",
|
|
226
|
-
"--footer-body-text-color": ((d = t.footerBodyData) == null ? void 0 : d.textColor) || "#FFFFFF",
|
|
227
|
-
"--footer-header-text-color": ((
|
|
227
|
+
"--text-color": t.goldCardType ? "#FFFFFF" : t.textColor || "#FFFFFF",
|
|
228
|
+
"--footer-body-text-color": t.goldCardType ? "#FFFFFF" : ((d = t.footerBodyData) == null ? void 0 : d.textColor) || "#FFFFFF",
|
|
229
|
+
"--footer-header-text-color": ((c = t.footerHeaderData) == null ? void 0 : c.textColor) || "#FFFFFF",
|
|
230
|
+
"--total-border": `1.6px solid ${((h = t.footerBodyData) == null ? void 0 : h.totalBorderColor) || ((g = t.footerHeaderData) == null ? void 0 : g.totalBorderColor) || "#FFFFFF"}`,
|
|
228
231
|
"--footer-height": t.footerHeight,
|
|
229
232
|
"--footer-width": t.goldCardType ? "263px" : "auto",
|
|
230
233
|
"--footer-padding": t.footerPadding,
|
|
231
|
-
"--total-color": ((
|
|
232
|
-
"--description-text-align":
|
|
233
|
-
"--footer-body-template-columns":
|
|
234
|
-
"--footer-header-template-columns":
|
|
235
|
-
"--footer-header-grid-areas":
|
|
234
|
+
"--total-color": t.goldCardType ? "#FFFFFF" : ((_ = t.footerBodyData) == null ? void 0 : _.totalTextColor) || ((C = t.footerHeaderData) == null ? void 0 : C.totalTextColor) || "#FFFFFF",
|
|
235
|
+
"--description-text-align": v || t.footerHeaderData ? "left" : "center",
|
|
236
|
+
"--footer-body-template-columns": v ? "1fr min-content" : "1fr",
|
|
237
|
+
"--footer-header-template-columns": F ? t.footerHeaderData.isTotalLeft ? "min-content 1fr" : "1fr min-content" : "1fr",
|
|
238
|
+
"--footer-header-grid-areas": F ? t.footerHeaderData.isTotalLeft ? '"th ts"' : '"ts th"' : '"ts"',
|
|
236
239
|
"--player-photo-position-top": t.playerPhotoPositionTop,
|
|
237
240
|
"--player-photo-position-left": t.playerPhotoPositionLeft,
|
|
238
241
|
"--player-photo-position-right": t.playerPhotoPositionRight,
|
|
@@ -243,74 +246,74 @@ const w = { class: "circle__total" }, P = { class: "total" }, T = { class: "suff
|
|
|
243
246
|
backgroundImageSrc: t.backgroundImageSrc,
|
|
244
247
|
isPlayButtonVisible: !0,
|
|
245
248
|
goldCardType: t.goldCardType
|
|
246
|
-
})),
|
|
249
|
+
})), f = i(() => ({}));
|
|
247
250
|
i(() => t.footerBodyData.total ? t.footerBodyData.isTotalPercentage ? `${t.footerBodyData.total}%` : t.footerBodyData.total : "");
|
|
248
251
|
const y = i(() => {
|
|
249
252
|
const d = [];
|
|
250
253
|
return t.goldCardType && (t.goldCardType === 1 ? d.push("gold-card-1") : t.goldCardType === 2 && d.push("gold-card-2")), d;
|
|
251
254
|
});
|
|
252
|
-
return (d,
|
|
255
|
+
return (d, c) => (o(), a("div", {
|
|
253
256
|
class: "card-base-individual",
|
|
254
257
|
style: p(u.value)
|
|
255
258
|
}, [
|
|
256
|
-
n.value ? (o(),
|
|
257
|
-
default:
|
|
258
|
-
|
|
259
|
-
|
|
259
|
+
n.value ? (o(), B(P, S({ key: 0 }, n.value, { width: e.width }), {
|
|
260
|
+
default: H(() => [
|
|
261
|
+
x(d.$slots, "default", {}, () => [
|
|
262
|
+
f.value ? (o(), a("div", {
|
|
260
263
|
key: 0,
|
|
261
264
|
style: p(u.value),
|
|
262
265
|
class: "card-base-individual__content"
|
|
263
266
|
}, [
|
|
264
|
-
e.playerPhotoUrl ? (o(), a("div",
|
|
267
|
+
e.playerPhotoUrl ? (o(), a("div", V, [
|
|
265
268
|
r("div", null, [
|
|
266
269
|
r("img", {
|
|
267
270
|
src: e.playerPhotoUrl,
|
|
268
271
|
alt: "player"
|
|
269
|
-
}, null, 8,
|
|
272
|
+
}, null, 8, A)
|
|
270
273
|
])
|
|
271
274
|
])) : l("", !0),
|
|
272
|
-
e.teamLogoUrl ? (o(), a("div",
|
|
275
|
+
e.teamLogoUrl ? (o(), a("div", E, [
|
|
273
276
|
r("img", {
|
|
274
277
|
src: e.teamLogoUrl,
|
|
275
278
|
alt: "team"
|
|
276
|
-
}, null, 8,
|
|
279
|
+
}, null, 8, R)
|
|
277
280
|
])) : l("", !0),
|
|
278
281
|
r("div", {
|
|
279
|
-
class:
|
|
282
|
+
class: w(["card-base-individual__content__footer", y.value])
|
|
280
283
|
}, [
|
|
281
|
-
e.footerHeaderData ? (o(), a("div",
|
|
282
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
283
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
284
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
284
|
+
e.footerHeaderData ? (o(), a("div", j, [
|
|
285
|
+
e.footerHeaderData.title ? (o(), a("div", Z, [
|
|
286
|
+
e.footerHeaderData.title ? (o(), a("div", G, s(e.footerHeaderData.title), 1)) : l("", !0),
|
|
287
|
+
e.footerHeaderData.title ? (o(), a("div", W, s(e.footerHeaderData.subtitle), 1)) : l("", !0)
|
|
285
288
|
])) : l("", !0),
|
|
286
|
-
e.footerHeaderData.total ? (o(), a(
|
|
287
|
-
e.footerHeaderData.isTotalPercentage ? (o(), a("div",
|
|
288
|
-
m
|
|
289
|
+
e.footerHeaderData.total ? (o(), a(D, { key: 1 }, [
|
|
290
|
+
e.footerHeaderData.isTotalPercentage ? (o(), a("div", Y, [
|
|
291
|
+
b(m, {
|
|
289
292
|
value: e.footerHeaderData.total,
|
|
290
293
|
"text-color": e.footerBodyData.totalTextColor,
|
|
291
294
|
color: e.footerBodyData.totalCircleColor
|
|
292
295
|
}, null, 8, ["value", "text-color", "color"])
|
|
293
|
-
])) : (o(), a("div",
|
|
296
|
+
])) : (o(), a("div", q, s(e.footerHeaderData.total), 1))
|
|
294
297
|
], 64)) : l("", !0)
|
|
295
298
|
])) : l("", !0),
|
|
296
|
-
e.footerBodyData ? (o(), a("div",
|
|
299
|
+
e.footerBodyData ? (o(), a("div", J, [
|
|
297
300
|
r("div", {
|
|
298
301
|
class: "card-base-individual__content__footer__body__description",
|
|
299
302
|
innerHTML: e.footerBodyData.description
|
|
300
|
-
}, null, 8,
|
|
301
|
-
e.footerBodyData.total ? (o(), a(
|
|
302
|
-
e.footerBodyData.isTotalPercentage ? (o(), a("div",
|
|
303
|
-
m
|
|
303
|
+
}, null, 8, K),
|
|
304
|
+
e.footerBodyData.total ? (o(), a(D, { key: 0 }, [
|
|
305
|
+
e.footerBodyData.isTotalPercentage ? (o(), a("div", Q, [
|
|
306
|
+
b(m, {
|
|
304
307
|
value: e.footerBodyData.total,
|
|
305
308
|
"text-color": e.footerBodyData.totalTextColor,
|
|
306
309
|
color: e.footerBodyData.totalCircleColor
|
|
307
310
|
}, null, 8, ["value", "text-color", "color"])
|
|
308
|
-
])) : (o(), a("div",
|
|
311
|
+
])) : (o(), a("div", X, s(e.footerBodyData.total), 1))
|
|
309
312
|
], 64)) : l("", !0)
|
|
310
313
|
])) : l("", !0)
|
|
311
314
|
], 2),
|
|
312
|
-
r("div",
|
|
313
|
-
|
|
315
|
+
r("div", tt, [
|
|
316
|
+
x(d.$slots, "body", {}, void 0, !0)
|
|
314
317
|
])
|
|
315
318
|
], 4)) : l("", !0)
|
|
316
319
|
], !0)
|
|
@@ -319,7 +322,7 @@ const w = { class: "circle__total" }, P = { class: "total" }, T = { class: "suff
|
|
|
319
322
|
}, 16, ["width"])) : l("", !0)
|
|
320
323
|
], 4));
|
|
321
324
|
}
|
|
322
|
-
},
|
|
325
|
+
}, rt = /* @__PURE__ */ k(et, [["__scopeId", "data-v-6a189308"]]);
|
|
323
326
|
export {
|
|
324
|
-
|
|
327
|
+
rt as r
|
|
325
328
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed as d, openBlock as o, createElementBlock as
|
|
2
|
-
import { h as A, E as m, I as E, O as $, T as N } from "./misc-
|
|
3
|
-
const u = (
|
|
1
|
+
import { computed as d, openBlock as o, createElementBlock as r, normalizeStyle as f, createBlock as D, mergeProps as I, withCtx as B, 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 { h as A, E as m, I as E, O as $, T as N } from "./misc-BpbriWn--Bd_IQoHZ.js";
|
|
3
|
+
const u = (a) => (q("data-v-73382c86"), a = a(), T(), a), P = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "body-total is-absolute"
|
|
6
6
|
}, G = {
|
|
@@ -23,7 +23,7 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
23
23
|
y: "0",
|
|
24
24
|
width: "42",
|
|
25
25
|
height: "42"
|
|
26
|
-
}, W = ["fill", "stroke"], X = { mask: "url(#mask0_2153_556)" }, Y = ["stroke"], e1 = ["stroke"], t1 = ["stroke"], l1 = ["stroke"], o1 = ["stroke"],
|
|
26
|
+
}, W = ["fill", "stroke"], X = { mask: "url(#mask0_2153_556)" }, Y = ["stroke"], e1 = ["stroke"], t1 = ["stroke"], l1 = ["stroke"], o1 = ["stroke"], r1 = ["stroke"], a1 = {
|
|
27
27
|
key: 3,
|
|
28
28
|
class: "circle-arrow-svg is-absolute"
|
|
29
29
|
}, s1 = {
|
|
@@ -43,7 +43,7 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
43
43
|
viewBox: "0 0 52 82",
|
|
44
44
|
fill: "none",
|
|
45
45
|
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"],
|
|
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
47
|
key: 5,
|
|
48
48
|
class: "half-field-svg is-absolute"
|
|
49
49
|
}, b1 = {
|
|
@@ -76,7 +76,7 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
76
76
|
transform: "matrix(1 0 0 -1 35.4844 29.8347)",
|
|
77
77
|
fill: "#D9D9D9"
|
|
78
78
|
})
|
|
79
|
-
], -1)),
|
|
79
|
+
], -1)), r2 = { mask: "url(#mask0_4146_61854)" }, a2 = ["stroke"], s2 = ["fill"], i2 = /* @__PURE__ */ u(() => /* @__PURE__ */ e("mask", {
|
|
80
80
|
id: "mask1_4146_61854",
|
|
81
81
|
style: { "mask-type": "alpha" },
|
|
82
82
|
maskUnits: "userSpaceOnUse",
|
|
@@ -115,7 +115,7 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
115
115
|
}, 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
116
|
key: 0,
|
|
117
117
|
class: "card-general__content__footer__header__team-logo"
|
|
118
|
-
}, y2 = ["src"],
|
|
118
|
+
}, y2 = ["src"], Z2 = { class: "card-general__content__footer__header__title" }, f2 = {
|
|
119
119
|
key: 1,
|
|
120
120
|
class: "card-general__content__footer__header__total"
|
|
121
121
|
}, x2 = { class: "card-general__content__footer__body" }, F2 = ["innerHTML"], b2 = {
|
|
@@ -141,8 +141,8 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
141
141
|
default: 4
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
|
-
setup(
|
|
145
|
-
const l =
|
|
144
|
+
setup(a) {
|
|
145
|
+
const l = a, g = /* @__PURE__ */ new Set([
|
|
146
146
|
"1-g"
|
|
147
147
|
]), k = /* @__PURE__ */ new Set([
|
|
148
148
|
"2-g"
|
|
@@ -171,13 +171,13 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
171
171
|
"--left-team-logo": g.has(l.data.id) ? "17px" : "unset",
|
|
172
172
|
"--right-team-logo": k.has(l.data.id) ? "17px" : "unset",
|
|
173
173
|
"--font-size-footer-title": M.has(l.data.id) ? "48px" : "29px"
|
|
174
|
-
})),
|
|
174
|
+
})), Z = d(() => !l.data || !l.data.thumbnails ? null : {
|
|
175
175
|
backgroundOverlayColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
176
176
|
backgroundImageSrc: l.data.is_player && l.data.thumbnails.images.background_player_in_action[0] ? m(l.data.thumbnails.images.background_player_in_action[0]) : m(l.data.thumbnails.images.background_team),
|
|
177
177
|
titleColor: (l.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
178
178
|
textColor: (l.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
179
179
|
totalColor: (l.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
180
|
-
})
|
|
180
|
+
}), S = d(() => l.data ? E($({ data: l.data, descriptionType: l.descriptionType })) : ""), t = d(() => {
|
|
181
181
|
if (!l.data) return null;
|
|
182
182
|
let C = l.data.team_logo, n = l.data.sections;
|
|
183
183
|
C && (C = C.replace("-80", "-150")), n && (n = n.sort((i, h) => i[0] - h[0]));
|
|
@@ -191,28 +191,28 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
191
191
|
iconColor: (l.data.thumbnails.colors.icon_color || "#FFFFFF").trim()
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return (C, n) => (o(),
|
|
194
|
+
return (C, n) => (o(), r("div", {
|
|
195
195
|
class: "card-general",
|
|
196
|
-
style:
|
|
196
|
+
style: f(y.value)
|
|
197
197
|
}, [
|
|
198
|
-
|
|
198
|
+
Z.value ? (o(), D(N, I({ key: 0 }, Z.value, { width: a.width }), {
|
|
199
199
|
default: B(() => [
|
|
200
200
|
U(C.$slots, "default", {}, () => [
|
|
201
|
-
t.value ? (o(),
|
|
201
|
+
t.value ? (o(), r("div", {
|
|
202
202
|
key: 0,
|
|
203
|
-
style:
|
|
203
|
+
style: f(y.value),
|
|
204
204
|
class: "card-general__content"
|
|
205
205
|
}, [
|
|
206
|
-
z.value ? (o(),
|
|
207
|
-
b.value ? (o(),
|
|
208
|
-
t.value.teamLogoSrc ? (o(),
|
|
206
|
+
z.value ? (o(), r("div", P, v(a.data.total), 1)) : s("", !0),
|
|
207
|
+
b.value ? (o(), r("div", G, [
|
|
208
|
+
t.value.teamLogoSrc ? (o(), r("img", {
|
|
209
209
|
key: 0,
|
|
210
210
|
src: t.value.teamLogoSrc,
|
|
211
211
|
alt: "team logo"
|
|
212
212
|
}, null, 8, J)) : s("", !0)
|
|
213
213
|
])) : s("", !0),
|
|
214
|
-
L(M).has(
|
|
215
|
-
(o(),
|
|
214
|
+
L(M).has(a.data.id) ? (o(), r("div", K, [
|
|
215
|
+
(o(), r("svg", Q, [
|
|
216
216
|
e("mask", R, [
|
|
217
217
|
e("path", {
|
|
218
218
|
d: "M41.2963 41.2961V0.703659H0.703871V41.2961H41.2963Z",
|
|
@@ -269,12 +269,12 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
269
269
|
"stroke-miterlimit": "10",
|
|
270
270
|
"stroke-linecap": "round",
|
|
271
271
|
"stroke-linejoin": "round"
|
|
272
|
-
}, null, 8,
|
|
272
|
+
}, null, 8, r1)
|
|
273
273
|
])
|
|
274
274
|
]))
|
|
275
275
|
])) : s("", !0),
|
|
276
|
-
L(F).has(
|
|
277
|
-
(o(),
|
|
276
|
+
L(F).has(a.data.id) ? (o(), r("div", a1, [
|
|
277
|
+
(o(), r("svg", s1, [
|
|
278
278
|
e("path", {
|
|
279
279
|
"data-v-6639ffc7": "",
|
|
280
280
|
d: "M.1 40.667a4 4 0 1 0 8 0 4 4 0 0 0-8 0zm30.167-18.666.436.61.844-.602-.836-.613-.444.605zM1.322.752l3.484 7.93L9.93 1.7 1.322.752zm.843 1.55a.75.75 0 1 0 .888-1.21l-.888 1.21zm4.104 1.151a.75.75 0 1 0-.888 1.21l.888-1.21zm1.685 3.098a.75.75 0 0 0 .888-1.21l-.888 1.21zm4.104 1.152a.75.75 0 1 0-.888 1.209l.888-1.21zm1.685 3.098a.75.75 0 1 0 .887-1.21l-.887 1.21zm4.104 1.151a.75.75 0 1 0-.888 1.21l.888-1.21zm1.685 3.098a.75.75 0 0 0 .887-1.209l-.887 1.21zm4.104 1.152a.75.75 0 0 0-.888 1.21l.888-1.21zM25.32 19.3a.75.75 0 0 0 .887-1.21l-.887 1.21zm4.104 1.152a.75.75 0 0 0-.888 1.209l.888-1.21zm-1.047 1.975a.75.75 0 0 0 .871 1.221l-.871-1.221zm-2.763 3.814a.75.75 0 1 0-.871-1.221l.87 1.22zm-3.779.853a.75.75 0 0 0 .871 1.22l-.87-1.22zm-2.763 3.813a.75.75 0 0 0-.87-1.22l.87 1.22zm-3.778.853a.75.75 0 1 0 .87 1.221l-.87-1.22zm-2.764 3.814a.75.75 0 1 0-.87-1.221l.87 1.22zm-3.778.853a.75.75 0 0 0 .871 1.221l-.871-1.221zM5.99 40.24a.75.75 0 1 0-.871-1.22l.87 1.22zM5.38 4.662l2.573 1.889.888-1.21-2.573-1.888-.888 1.21zm5.789 4.25 2.573 1.889.887-1.21-2.572-1.888-.888 1.209zm5.789 4.25 2.573 1.888.887-1.209-2.572-1.889-.888 1.21zm5.789 4.25 2.573 1.888.887-1.21-2.572-1.888-.888 1.21zm5.789 4.249 1.286.944.888-1.209-1.286-.944-.888 1.209zm1.295-.271-1.454 1.037.871 1.221 1.454-1.037-.871-1.221zm-5.088 3.63-2.908 2.074.871 1.22 2.908-2.073-.871-1.221zm-6.542 4.666-2.907 2.074.87 1.221 2.908-2.074-.87-1.22zm-6.542 4.667-2.907 2.074.871 1.221 2.907-2.074-.87-1.221zM5.12 39.019l-1.454 1.037.871 1.222L5.99 40.24l-.871-1.22z",
|
|
@@ -289,8 +289,8 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
289
289
|
}, null, 8, n1)
|
|
290
290
|
]))
|
|
291
291
|
])) : s("", !0),
|
|
292
|
-
L(k).has(
|
|
293
|
-
(o(),
|
|
292
|
+
L(k).has(a.data.id) ? (o(), r("div", d1, [
|
|
293
|
+
(o(), r("svg", C1, [
|
|
294
294
|
e("rect", {
|
|
295
295
|
x: "0.5",
|
|
296
296
|
y: "1.46484",
|
|
@@ -371,13 +371,13 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
371
371
|
stroke: t.value.svgLineColor,
|
|
372
372
|
"stroke-width": "0.2",
|
|
373
373
|
"stroke-dasharray": "0.4 0.4"
|
|
374
|
-
}, null, 8,
|
|
374
|
+
}, null, 8, Z1),
|
|
375
375
|
e("path", {
|
|
376
376
|
d: "M26 81.5L26 1",
|
|
377
377
|
stroke: t.value.svgLineColor,
|
|
378
378
|
"stroke-width": "0.2",
|
|
379
379
|
"stroke-dasharray": "0.4 0.4"
|
|
380
|
-
}, null, 8,
|
|
380
|
+
}, null, 8, f1),
|
|
381
381
|
e("path", {
|
|
382
382
|
d: "M39 81.5L39 1",
|
|
383
383
|
stroke: t.value.svgLineColor,
|
|
@@ -387,8 +387,8 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
387
387
|
])
|
|
388
388
|
]))
|
|
389
389
|
])) : s("", !0),
|
|
390
|
-
L(p).has(
|
|
391
|
-
(o(),
|
|
390
|
+
L(p).has(a.data.id) ? (o(), r("div", F1, [
|
|
391
|
+
(o(), r("svg", b1, [
|
|
392
392
|
e("rect", {
|
|
393
393
|
opacity: "0.8",
|
|
394
394
|
x: "0.44043",
|
|
@@ -486,8 +486,8 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
486
486
|
])
|
|
487
487
|
]))
|
|
488
488
|
])) : s("", !0),
|
|
489
|
-
L(_).has(
|
|
490
|
-
(o(),
|
|
489
|
+
L(_).has(a.data.id) ? (o(), r("div", P1, [
|
|
490
|
+
(o(), r("svg", G1, [
|
|
491
491
|
e("rect", {
|
|
492
492
|
opacity: "0.8",
|
|
493
493
|
x: "88.7295",
|
|
@@ -571,7 +571,7 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
571
571
|
"stroke-width": "0.620969"
|
|
572
572
|
}, null, 8, l2),
|
|
573
573
|
o2,
|
|
574
|
-
e("g",
|
|
574
|
+
e("g", r2, [
|
|
575
575
|
e("rect", {
|
|
576
576
|
x: "46.2997",
|
|
577
577
|
y: "1.57123",
|
|
@@ -580,7 +580,7 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
580
580
|
rx: "13.1359",
|
|
581
581
|
stroke: t.value.svgLineColor,
|
|
582
582
|
"stroke-width": "0.620969"
|
|
583
|
-
}, null, 8,
|
|
583
|
+
}, null, 8, a2)
|
|
584
584
|
]),
|
|
585
585
|
e("path", {
|
|
586
586
|
"fill-rule": "evenodd",
|
|
@@ -623,14 +623,14 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
623
623
|
}, null, 8, k2)
|
|
624
624
|
]))
|
|
625
625
|
])) : s("", !0),
|
|
626
|
-
|
|
627
|
-
t.value.playerInAction ? (o(),
|
|
626
|
+
a.data.is_player ? (o(), r("div", c2, [
|
|
627
|
+
t.value.playerInAction ? (o(), r("img", {
|
|
628
628
|
key: 0,
|
|
629
629
|
src: t.value.playerInAction,
|
|
630
630
|
alt: "player"
|
|
631
631
|
}, null, 8, v2)) : s("", !0)
|
|
632
|
-
])) : (o(),
|
|
633
|
-
t.value.teamLogoSrc ? (o(),
|
|
632
|
+
])) : (o(), r("div", g2, [
|
|
633
|
+
t.value.teamLogoSrc ? (o(), r("img", {
|
|
634
634
|
key: 0,
|
|
635
635
|
src: t.value.teamLogoSrc,
|
|
636
636
|
alt: "team"
|
|
@@ -639,23 +639,23 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
639
639
|
p2,
|
|
640
640
|
e("div", _2, [
|
|
641
641
|
e("div", M2, [
|
|
642
|
-
w.value ? s("", !0) : (o(),
|
|
643
|
-
|
|
642
|
+
w.value ? s("", !0) : (o(), r("div", w2, [
|
|
643
|
+
a.data.team_logo ? (o(), r("img", {
|
|
644
644
|
key: 0,
|
|
645
|
-
src:
|
|
645
|
+
src: a.data.team_logo,
|
|
646
646
|
alt: ""
|
|
647
647
|
}, null, 8, y2)) : s("", !0)
|
|
648
648
|
])),
|
|
649
|
-
e("div",
|
|
650
|
-
|
|
649
|
+
e("div", Z2, v(a.data.title), 1),
|
|
650
|
+
a.data.footer && a.data.footer.show_total && !a.data.footer.sections ? (o(), r("div", f2, v(a.data.total), 1)) : s("", !0)
|
|
651
651
|
]),
|
|
652
652
|
e("div", x2, [
|
|
653
653
|
e("div", {
|
|
654
654
|
class: "card-general__content__footer__body__description",
|
|
655
655
|
innerHTML: S.value
|
|
656
656
|
}, null, 8, F2),
|
|
657
|
-
t.value.sections && t.value.sections.length ? (o(),
|
|
658
|
-
(o(!0),
|
|
657
|
+
t.value.sections && t.value.sections.length ? (o(), r("div", b2, [
|
|
658
|
+
(o(!0), r(j, null, O(t.value.sections, ([c, i]) => (o(), r("div", {
|
|
659
659
|
key: c,
|
|
660
660
|
class: "section"
|
|
661
661
|
}, [
|
|
@@ -672,7 +672,7 @@ const u = (r) => (q("data-v-fca3679d"), r = r(), T(), r), P = {
|
|
|
672
672
|
}, 16, ["width"])) : s("", !0)
|
|
673
673
|
], 4));
|
|
674
674
|
}
|
|
675
|
-
}, I2 = /* @__PURE__ */ A(H2, [["__scopeId", "data-v-
|
|
675
|
+
}, I2 = /* @__PURE__ */ A(H2, [["__scopeId", "data-v-73382c86"]]);
|
|
676
676
|
export {
|
|
677
677
|
I2 as default
|
|
678
678
|
};
|