@golstats/gsc-landing 1.0.191 → 1.0.193
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-DW2NMKgR-HgCTNwsl.js +325 -0
- package/dist/CardGeneral-Ck1sE8Nk-nYRMD1Jp.js +116 -0
- package/dist/CardGeneralIndividual-KAcHT3zU-v50O2Zlq.js +283 -0
- package/dist/CardGeneralTeams-CwKmM2ip-1ajycpU3.js +654 -0
- package/dist/CardIndividual-OuxjYR6m-BJwKI5HZ.js +517 -0
- package/dist/CardIndividual1vs1-C6nQbFeh-DfQyFZf0.js +487 -0
- package/dist/CardIndividualAreas-DGRNgB7W-BXnQ-9tF.js +503 -0
- package/dist/CardIndividualCenters-0K7CYu6z-C1If3cnK.js +543 -0
- package/dist/CardIndividualDistance-DPP7-JWN-CiCspi8H.js +95 -0
- package/dist/CardIndividualFouls-CbvYRQjI-CVZKAmd3.js +668 -0
- package/dist/CardIndividualGoalParticipation-DBwh-Kcv-DIgeIQTB.js +108 -0
- package/dist/CardIndividualGoals-no1WpbpS-DaNagxNS.js +733 -0
- package/dist/CardIndividualGold-CkAyS4hx-DXmFVXpp.js +112 -0
- package/dist/CardIndividualNoGoalReceived-Bg-pQ5GI-7vmSeaL6.js +194 -0
- package/dist/CardIndividualPerformance-BZJ8PBWe-1n4ucmaO.js +99 -0
- package/dist/CardIndividualSaves-DboDAV9z-DW3t5zbf.js +241 -0
- package/dist/CardIndividualShotsOnGoal-Czqe0JAs-DQ1fY0Cd.js +169 -0
- package/dist/CardIndividualStatistics-Chw1TBSy-EkmKWR9X.js +219 -0
- package/dist/CardPromTournament-BbjTP9KD-CWu7JvYP.js +113 -0
- package/dist/CardSuccessfulPasses-UsTNXLy8-Creea-3D.js +426 -0
- package/dist/CardTheMostProductive-BGExgYBM-twyrFU3-.js +74 -0
- package/dist/CircleWithDotsBig-EzIr2wuY-TMr2eIat.js +91 -0
- package/dist/Shield-Dnuj3Yd--DAk7-Zio.js +150 -0
- package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +95 -0
- package/dist/gsc-landing.js +30847 -20928
- package/dist/gsc-landing.umd.cjs +65 -45
- package/dist/misc-CeQ5H5LP-DeaiNpCH.js +168 -0
- package/dist/style.css +1 -1
- package/package.json +53 -51
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
import { useCssVars as C, computed as p, openBlock as l, createElementBlock as c, normalizeStyle as F, createBlock as _, mergeProps as v, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as h, createCommentVNode as d, createTextVNode as D, pushScopeId as E, popScopeId as q } from "vue";
|
|
2
|
+
import { h as b, z as T, P as N, E as B, I as P, O as I } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
3
|
+
import { d as O } from "./CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js";
|
|
4
|
+
const u = {
|
|
5
|
+
props: {
|
|
6
|
+
cancha: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: !0,
|
|
9
|
+
validator: (o) => ["full", "own", "rival"].includes(o)
|
|
10
|
+
},
|
|
11
|
+
stat: {
|
|
12
|
+
type: Number,
|
|
13
|
+
required: !0
|
|
14
|
+
},
|
|
15
|
+
type: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "box",
|
|
18
|
+
validator: (o) => ["box", "accelerometer"].includes(o)
|
|
19
|
+
},
|
|
20
|
+
colorcancha: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: ""
|
|
23
|
+
},
|
|
24
|
+
colorstat: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: ""
|
|
27
|
+
},
|
|
28
|
+
colorfillcancha: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: ""
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
computed: {
|
|
34
|
+
accelerometerStyle() {
|
|
35
|
+
return {
|
|
36
|
+
percentage: `${Math.min(Math.max(this.stat, 0), 100)}%`
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
canchaType() {
|
|
40
|
+
if (Array.isArray(this.cancha)) {
|
|
41
|
+
const o = [485, 486, 489, 490], r = [487, 488, 491, 492];
|
|
42
|
+
return this.cancha.length === o.length && this.cancha.every((a) => o.includes(Number(a))) ? "rival" : this.cancha.length === r.length && this.cancha.every((a) => r.includes(Number(a))) ? "own" : "full";
|
|
43
|
+
}
|
|
44
|
+
return this.cancha;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}, L = () => {
|
|
48
|
+
C((o) => ({
|
|
49
|
+
"2f2b7686": o.colorstat,
|
|
50
|
+
"8a0fe396": o.accelerometerStyle.percentage,
|
|
51
|
+
"14574b04": o.colorcancha
|
|
52
|
+
}));
|
|
53
|
+
}, x = u.setup;
|
|
54
|
+
u.setup = x ? (o, r) => (L(), x(o, r)) : L;
|
|
55
|
+
const s = (o) => (E("data-v-e8032436"), o = o(), q(), o), V = { class: "outer-box" }, z = {
|
|
56
|
+
key: 0,
|
|
57
|
+
class: "inner-box"
|
|
58
|
+
}, A = {
|
|
59
|
+
key: 1,
|
|
60
|
+
class: "accelerometer"
|
|
61
|
+
}, U = { class: "accelerometer-value" }, Z = /* @__PURE__ */ s(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), $ = {
|
|
62
|
+
key: 2,
|
|
63
|
+
width: "212",
|
|
64
|
+
height: "137",
|
|
65
|
+
viewBox: "0 0 212 137",
|
|
66
|
+
fill: "none",
|
|
67
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
68
|
+
}, R = ["fill"], j = /* @__PURE__ */ s(() => /* @__PURE__ */ t("mask", {
|
|
69
|
+
id: "path-2-inside-1_2150_1935",
|
|
70
|
+
fill: "white"
|
|
71
|
+
}, [
|
|
72
|
+
/* @__PURE__ */ t("rect", {
|
|
73
|
+
x: "211.787",
|
|
74
|
+
y6: "136.084",
|
|
75
|
+
width: "211.787",
|
|
76
|
+
height: "136.08",
|
|
77
|
+
rx: "1.22558",
|
|
78
|
+
transform: "rotate(-180 211.787 136.084)"
|
|
79
|
+
})
|
|
80
|
+
], -1)), H = ["stroke"], G = /* @__PURE__ */ s(() => /* @__PURE__ */ t("path", {
|
|
81
|
+
d: "M105.773 135.615L105.773 0.58395",
|
|
82
|
+
stroke: "#DFE3E2",
|
|
83
|
+
"stroke-width": "0.450603",
|
|
84
|
+
"stroke-linecap": "square"
|
|
85
|
+
}, null, -1)), J = ["stroke"], Y = ["stroke"], K = ["stroke"], Q = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], rt = ["stroke"], ot = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
|
|
86
|
+
key: 3,
|
|
87
|
+
width: "212",
|
|
88
|
+
height: "137",
|
|
89
|
+
viewBox: "0 0 212 137",
|
|
90
|
+
fill: "none",
|
|
91
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
92
|
+
}, st = ["fill"], nt = /* @__PURE__ */ s(() => /* @__PURE__ */ t("mask", {
|
|
93
|
+
id: "path-2-inside-1_2150_1704",
|
|
94
|
+
fill: "white"
|
|
95
|
+
}, [
|
|
96
|
+
/* @__PURE__ */ t("rect", {
|
|
97
|
+
x: "211.787",
|
|
98
|
+
y: "136.084",
|
|
99
|
+
width: "211.787",
|
|
100
|
+
height: "136.08",
|
|
101
|
+
rx: "1.22558",
|
|
102
|
+
transform: "rotate(-180 211.787 136.084)"
|
|
103
|
+
})
|
|
104
|
+
], -1)), it = ["stroke"], ht = /* @__PURE__ */ s(() => /* @__PURE__ */ t("path", {
|
|
105
|
+
d: "M105.773 135.615L105.773 0.58395",
|
|
106
|
+
stroke: "#DFE3E2",
|
|
107
|
+
"stroke-width": "0.450603",
|
|
108
|
+
"stroke-linecap": "square"
|
|
109
|
+
}, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], wt = ["stroke"], mt = { opacity: "0.7" }, ft = ["stroke"], gt = ["stroke"], Lt = ["stroke"], xt = ["stroke"], Ct = ["stroke"], bt = {
|
|
110
|
+
key: 4,
|
|
111
|
+
width: "212",
|
|
112
|
+
height: "137",
|
|
113
|
+
viewBox: "0 0 212 137",
|
|
114
|
+
fill: "none",
|
|
115
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
116
|
+
}, Ft = ["fill"], _t = /* @__PURE__ */ s(() => /* @__PURE__ */ t("mask", {
|
|
117
|
+
id: "path-2-inside-1_2150_1773",
|
|
118
|
+
fill: "white"
|
|
119
|
+
}, [
|
|
120
|
+
/* @__PURE__ */ t("rect", {
|
|
121
|
+
x: "211.787",
|
|
122
|
+
y: "136.084",
|
|
123
|
+
width: "211.787",
|
|
124
|
+
height: "136.08",
|
|
125
|
+
rx: "1.22558",
|
|
126
|
+
transform: "rotate(-180 211.787 136.084)"
|
|
127
|
+
})
|
|
128
|
+
], -1)), vt = ["stroke"], Mt = /* @__PURE__ */ s(() => /* @__PURE__ */ t("path", {
|
|
129
|
+
d: "M105.773 135.615L105.773 0.58395",
|
|
130
|
+
stroke: "#DFE3E2",
|
|
131
|
+
"stroke-width": "0.450603",
|
|
132
|
+
"stroke-linecap": "square"
|
|
133
|
+
}, null, -1)), St = ["stroke"], Dt = ["stroke"], Et = ["stroke"], qt = ["stroke"], Tt = ["stroke"], Nt = ["stroke"], Bt = { opacity: "0.7" }, Pt = ["stroke"], It = ["stroke"], Ot = ["stroke"], Vt = ["stroke"], zt = ["stroke"];
|
|
134
|
+
function At(o, r, a, y, n, e) {
|
|
135
|
+
return l(), c("div", V, [
|
|
136
|
+
a.type === "box" ? (l(), c("div", z, h(a.stat), 1)) : a.type === "accelerometer" ? (l(), c("div", A, [
|
|
137
|
+
t("div", U, [
|
|
138
|
+
D(h(a.stat), 1),
|
|
139
|
+
Z
|
|
140
|
+
])
|
|
141
|
+
])) : d("", !0),
|
|
142
|
+
e.canchaType === "full" ? (l(), c("svg", $, [
|
|
143
|
+
t("rect", {
|
|
144
|
+
opacity: "0.6",
|
|
145
|
+
x: "1.89551",
|
|
146
|
+
y: "136",
|
|
147
|
+
width: "135",
|
|
148
|
+
height: "209",
|
|
149
|
+
transform: "rotate(-90 1.89551 136)",
|
|
150
|
+
fill: a.colorfillcancha,
|
|
151
|
+
"fill-opacity": "0.8"
|
|
152
|
+
}, null, 8, R),
|
|
153
|
+
j,
|
|
154
|
+
t("rect", {
|
|
155
|
+
x: "211.787",
|
|
156
|
+
y: "136.084",
|
|
157
|
+
width: "211.787",
|
|
158
|
+
height: "136.08",
|
|
159
|
+
rx: "1.22558",
|
|
160
|
+
transform: "rotate(-180 211.787 136.084)",
|
|
161
|
+
stroke: a.colorcancha,
|
|
162
|
+
"stroke-width": "1.84031",
|
|
163
|
+
mask: "url(#FFFFFF)"
|
|
164
|
+
}, null, 8, H),
|
|
165
|
+
G,
|
|
166
|
+
t("path", {
|
|
167
|
+
d: "M211.787 100.685L183.971 100.685C183.633 100.685 183.359 100.41 183.359 100.072L183.359 36.1511C183.359 35.8126 183.633 35.5383 183.971 35.5383L211.787 35.5383",
|
|
168
|
+
stroke: a.colorcancha,
|
|
169
|
+
"stroke-opacity": "0.7"
|
|
170
|
+
}, null, 8, J),
|
|
171
|
+
t("path", {
|
|
172
|
+
d: "M211.787 88.8418L195.817 88.8418C195.478 88.8418 195.204 88.5674 195.204 88.229L195.204 47.9978C195.204 47.6593 195.478 47.385 195.817 47.385L211.787 47.385",
|
|
173
|
+
stroke: a.colorcancha,
|
|
174
|
+
"stroke-opacity": "0.7"
|
|
175
|
+
}, null, 8, Y),
|
|
176
|
+
t("path", {
|
|
177
|
+
d: "M0.634998 88.833L16.6026 88.833C16.9422 88.833 17.217 88.5569 17.2154 88.2174L17.0283 47.9861C17.0267 47.6488 16.7528 47.3762 16.4155 47.3762L0.921543 47.3762",
|
|
178
|
+
stroke: a.colorcancha,
|
|
179
|
+
"stroke-opacity": "0.6",
|
|
180
|
+
"stroke-linecap": "square"
|
|
181
|
+
}, null, 8, K),
|
|
182
|
+
t("path", {
|
|
183
|
+
d: "M0.641875 100.683L28.4544 100.683C28.7941 100.683 29.0689 100.406 29.0672 100.067L28.7428 36.146C28.7411 35.8088 28.4673 35.5363 28.1301 35.5363L1.13309 35.5363",
|
|
184
|
+
stroke: a.colorcancha,
|
|
185
|
+
"stroke-opacity": "0.6",
|
|
186
|
+
"stroke-linecap": "square"
|
|
187
|
+
}, null, 8, Q),
|
|
188
|
+
t("path", {
|
|
189
|
+
d: "M71.8618 68.1115C71.8618 49.38 87.0472 34.1951 105.779 34.1951C124.511 34.1951 139.697 49.38 139.697 68.1115C139.697 86.843 124.511 102.028 105.779 102.028C87.0472 102.028 71.8618 86.843 71.8618 68.1115Z",
|
|
190
|
+
stroke: a.colorcancha,
|
|
191
|
+
"stroke-opacity": "0.7",
|
|
192
|
+
"stroke-width": "1.16503"
|
|
193
|
+
}, null, 8, W),
|
|
194
|
+
t("ellipse", {
|
|
195
|
+
cx: "105.788",
|
|
196
|
+
cy: "68.1164",
|
|
197
|
+
rx: "2.9613",
|
|
198
|
+
ry: "2.9612",
|
|
199
|
+
transform: "rotate(-180 105.788 68.1164)",
|
|
200
|
+
fill: "#D8D8D8",
|
|
201
|
+
stroke: a.colorcancha,
|
|
202
|
+
"stroke-width": "0.450603"
|
|
203
|
+
}, null, 8, X),
|
|
204
|
+
t("g", tt, [
|
|
205
|
+
t("path", {
|
|
206
|
+
d: "M52.6768 136.08L52.6768 7.43866e-05",
|
|
207
|
+
stroke: a.colorcancha,
|
|
208
|
+
"stroke-width": "0.523385",
|
|
209
|
+
"stroke-dasharray": "1.05 1.05"
|
|
210
|
+
}, null, 8, at),
|
|
211
|
+
t("path", {
|
|
212
|
+
d: "M105.342 136.08L105.342 7.43866e-05",
|
|
213
|
+
stroke: a.colorcancha,
|
|
214
|
+
"stroke-width": "0.523385",
|
|
215
|
+
"stroke-dasharray": "1.05 1.05"
|
|
216
|
+
}, null, 8, rt),
|
|
217
|
+
t("path", {
|
|
218
|
+
d: "M158.008 136.08L158.008 7.43866e-05",
|
|
219
|
+
stroke: a.colorcancha,
|
|
220
|
+
"stroke-width": "0.523385",
|
|
221
|
+
"stroke-dasharray": "1.05 1.05"
|
|
222
|
+
}, null, 8, ot),
|
|
223
|
+
t("path", {
|
|
224
|
+
d: "M210.673 90.7202L0.0105608 90.7202",
|
|
225
|
+
stroke: a.colorcancha,
|
|
226
|
+
"stroke-width": "0.523385",
|
|
227
|
+
"stroke-dasharray": "1.05 1.05"
|
|
228
|
+
}, null, 8, et),
|
|
229
|
+
t("path", {
|
|
230
|
+
d: "M210.673 45.3599L0.0105608 45.3599",
|
|
231
|
+
stroke: a.colorcancha,
|
|
232
|
+
"stroke-width": "0.523385",
|
|
233
|
+
"stroke-dasharray": "1.05 1.05"
|
|
234
|
+
}, null, 8, lt)
|
|
235
|
+
])
|
|
236
|
+
])) : e.canchaType === "rival" ? (l(), c("svg", ct, [
|
|
237
|
+
t("rect", {
|
|
238
|
+
opacity: "0.6",
|
|
239
|
+
x: "106.002",
|
|
240
|
+
y: "136",
|
|
241
|
+
width: "135",
|
|
242
|
+
height: "105",
|
|
243
|
+
transform: "rotate(-90 106.002 136)",
|
|
244
|
+
fill: a.colorfillcancha,
|
|
245
|
+
"fill-opacity": "0.8"
|
|
246
|
+
}, null, 8, st),
|
|
247
|
+
nt,
|
|
248
|
+
t("rect", {
|
|
249
|
+
x: "211.787",
|
|
250
|
+
y: "136.084",
|
|
251
|
+
width: "211.787",
|
|
252
|
+
height: "136.08",
|
|
253
|
+
rx: "1.22558",
|
|
254
|
+
transform: "rotate(-180 211.787 136.084)",
|
|
255
|
+
stroke: a.colorcancha,
|
|
256
|
+
"stroke-width": "1.84031",
|
|
257
|
+
mask: "url(#FFFFFF)"
|
|
258
|
+
}, null, 8, it),
|
|
259
|
+
ht,
|
|
260
|
+
t("path", {
|
|
261
|
+
d: "M211.787 100.685L183.971 100.685C183.633 100.685 183.359 100.41 183.359 100.072L183.359 36.1511C183.359 35.8126 183.633 35.5383 183.971 35.5383L211.787 35.5383",
|
|
262
|
+
stroke: a.colorcancha,
|
|
263
|
+
"stroke-opacity": "0.7"
|
|
264
|
+
}, null, 8, dt),
|
|
265
|
+
t("path", {
|
|
266
|
+
d: "M211.787 88.8418L195.817 88.8418C195.478 88.8418 195.204 88.5674 195.204 88.229L195.204 47.9978C195.204 47.6593 195.478 47.385 195.817 47.385L211.787 47.385",
|
|
267
|
+
stroke: a.colorcancha,
|
|
268
|
+
"stroke-opacity": "0.7"
|
|
269
|
+
}, null, 8, kt),
|
|
270
|
+
t("path", {
|
|
271
|
+
d: "M0.635487 88.833L16.6031 88.833C16.9427 88.833 17.2175 88.5569 17.2159 88.2174L17.0288 47.9861C17.0272 47.6488 16.7533 47.3762 16.416 47.3762L0.922031 47.3762",
|
|
272
|
+
stroke: a.colorcancha,
|
|
273
|
+
"stroke-opacity": "0.6",
|
|
274
|
+
"stroke-linecap": "square"
|
|
275
|
+
}, null, 8, pt),
|
|
276
|
+
t("path", {
|
|
277
|
+
d: "M0.641875 100.683L28.4544 100.683C28.7941 100.683 29.0689 100.406 29.0672 100.067L28.7428 36.146C28.7411 35.8088 28.4673 35.5363 28.1301 35.5363L1.13309 35.5363",
|
|
278
|
+
stroke: a.colorcancha,
|
|
279
|
+
"stroke-opacity": "0.6",
|
|
280
|
+
"stroke-linecap": "square"
|
|
281
|
+
}, null, 8, ut),
|
|
282
|
+
t("path", {
|
|
283
|
+
d: "M71.8618 68.1115C71.8618 49.38 87.0472 34.1951 105.779 34.1951C124.511 34.1951 139.697 49.38 139.697 68.1115C139.697 86.843 124.511 102.028 105.779 102.028C87.0472 102.028 71.8618 86.843 71.8618 68.1115Z",
|
|
284
|
+
stroke: a.colorcancha,
|
|
285
|
+
"stroke-opacity": "0.7",
|
|
286
|
+
"stroke-width": "1.16503"
|
|
287
|
+
}, null, 8, yt),
|
|
288
|
+
t("ellipse", {
|
|
289
|
+
cx: "105.788",
|
|
290
|
+
cy: "68.1164",
|
|
291
|
+
rx: "2.9613",
|
|
292
|
+
ry: "2.9612",
|
|
293
|
+
transform: "rotate(-180 105.788 68.1164)",
|
|
294
|
+
fill: "#D8D8D8",
|
|
295
|
+
stroke: a.colorcancha,
|
|
296
|
+
"stroke-width": "0.450603"
|
|
297
|
+
}, null, 8, wt),
|
|
298
|
+
t("g", mt, [
|
|
299
|
+
t("path", {
|
|
300
|
+
d: "M52.6768 136.08L52.6768 7.43866e-05",
|
|
301
|
+
stroke: a.colorcancha,
|
|
302
|
+
"stroke-width": "0.523385",
|
|
303
|
+
"stroke-dasharray": "1.05 1.05"
|
|
304
|
+
}, null, 8, ft),
|
|
305
|
+
t("path", {
|
|
306
|
+
d: "M105.342 136.08L105.342 7.43866e-05",
|
|
307
|
+
stroke: a.colorcancha,
|
|
308
|
+
"stroke-width": "0.523385",
|
|
309
|
+
"stroke-dasharray": "1.05 1.05"
|
|
310
|
+
}, null, 8, gt),
|
|
311
|
+
t("path", {
|
|
312
|
+
d: "M158.008 136.08L158.008 7.43866e-05",
|
|
313
|
+
stroke: a.colorcancha,
|
|
314
|
+
"stroke-width": "0.523385",
|
|
315
|
+
"stroke-dasharray": "1.05 1.05"
|
|
316
|
+
}, null, 8, Lt),
|
|
317
|
+
t("path", {
|
|
318
|
+
d: "M210.673 90.7202L0.0105608 90.7202",
|
|
319
|
+
stroke: a.colorcancha,
|
|
320
|
+
"stroke-width": "0.523385",
|
|
321
|
+
"stroke-dasharray": "1.05 1.05"
|
|
322
|
+
}, null, 8, xt),
|
|
323
|
+
t("path", {
|
|
324
|
+
d: "M210.673 45.3599L0.0105608 45.3599",
|
|
325
|
+
stroke: a.colorcancha,
|
|
326
|
+
"stroke-width": "0.523385",
|
|
327
|
+
"stroke-dasharray": "1.05 1.05"
|
|
328
|
+
}, null, 8, Ct)
|
|
329
|
+
])
|
|
330
|
+
])) : e.canchaType === "own" ? (l(), c("svg", bt, [
|
|
331
|
+
t("rect", {
|
|
332
|
+
opacity: "0.6",
|
|
333
|
+
width: "135",
|
|
334
|
+
height: "105",
|
|
335
|
+
transform: "matrix(-4.37114e-08 -1 -1 4.37114e-08 106.002 136)",
|
|
336
|
+
fill: a.colorfillcancha,
|
|
337
|
+
"fill-opacity": "0.8"
|
|
338
|
+
}, null, 8, Ft),
|
|
339
|
+
_t,
|
|
340
|
+
t("rect", {
|
|
341
|
+
x: "211.787",
|
|
342
|
+
y: "136.084",
|
|
343
|
+
width: "211.787",
|
|
344
|
+
height: "136.08",
|
|
345
|
+
rx: "1.22558",
|
|
346
|
+
transform: "rotate(-180 211.787 136.084)",
|
|
347
|
+
stroke: a.colorcancha,
|
|
348
|
+
"stroke-width": "1.84031"
|
|
349
|
+
}, null, 8, vt),
|
|
350
|
+
Mt,
|
|
351
|
+
t("path", {
|
|
352
|
+
d: "M211.787 100.685L183.971 100.685C183.633 100.685 183.359 100.41 183.359 100.072L183.359 36.1511C183.359 35.8126 183.633 35.5383 183.971 35.5383L211.787 35.5383",
|
|
353
|
+
stroke: a.colorcancha,
|
|
354
|
+
"stroke-opacity": "0.7"
|
|
355
|
+
}, null, 8, St),
|
|
356
|
+
t("path", {
|
|
357
|
+
d: "M211.787 88.8418L195.817 88.8418C195.478 88.8418 195.204 88.5674 195.204 88.229L195.204 47.9978C195.204 47.6593 195.478 47.385 195.817 47.385L211.787 47.385",
|
|
358
|
+
stroke: a.colorcancha,
|
|
359
|
+
"stroke-opacity": "0.7"
|
|
360
|
+
}, null, 8, Dt),
|
|
361
|
+
t("path", {
|
|
362
|
+
d: "M0.635487 88.833L16.6031 88.833C16.9427 88.833 17.2175 88.5569 17.2159 88.2174L17.0288 47.9861C17.0272 47.6488 16.7533 47.3762 16.416 47.3762L0.922031 47.3762",
|
|
363
|
+
stroke: a.colorcancha,
|
|
364
|
+
"stroke-opacity": "0.6",
|
|
365
|
+
"stroke-linecap": "square"
|
|
366
|
+
}, null, 8, Et),
|
|
367
|
+
t("path", {
|
|
368
|
+
d: "M0.641875 100.683L28.4544 100.683C28.7941 100.683 29.0689 100.406 29.0672 100.067L28.7428 36.146C28.7411 35.8088 28.4673 35.5363 28.1301 35.5363L1.13309 35.5363",
|
|
369
|
+
stroke: a.colorcancha,
|
|
370
|
+
"stroke-opacity": "0.6",
|
|
371
|
+
"stroke-linecap": "square"
|
|
372
|
+
}, null, 8, qt),
|
|
373
|
+
t("path", {
|
|
374
|
+
d: "M71.8618 68.1115C71.8618 49.38 87.0472 34.1951 105.779 34.1951C124.511 34.1951 139.697 49.38 139.697 68.1115C139.697 86.843 124.511 102.028 105.779 102.028C87.0472 102.028 71.8618 86.843 71.8618 68.1115Z",
|
|
375
|
+
stroke: a.colorcancha,
|
|
376
|
+
"stroke-opacity": "0.7",
|
|
377
|
+
"stroke-width": "1.16503"
|
|
378
|
+
}, null, 8, Tt),
|
|
379
|
+
t("ellipse", {
|
|
380
|
+
cx: "105.788",
|
|
381
|
+
cy: "68.1164",
|
|
382
|
+
rx: "2.9613",
|
|
383
|
+
ry: "2.9612",
|
|
384
|
+
transform: "rotate(-180 105.788 68.1164)",
|
|
385
|
+
fill: "#FF0000",
|
|
386
|
+
stroke: a.colorcancha,
|
|
387
|
+
"stroke-width": "0.450603"
|
|
388
|
+
}, null, 8, Nt),
|
|
389
|
+
t("g", Bt, [
|
|
390
|
+
t("path", {
|
|
391
|
+
d: "M52.6768 136.08L52.6768 7.43866e-05",
|
|
392
|
+
stroke: a.colorcancha,
|
|
393
|
+
"stroke-width": "0.523385",
|
|
394
|
+
"stroke-dasharray": "1.05 1.05"
|
|
395
|
+
}, null, 8, Pt),
|
|
396
|
+
t("path", {
|
|
397
|
+
d: "M105.342 136.08L105.342 7.43866e-05",
|
|
398
|
+
stroke: a.colorcancha,
|
|
399
|
+
"stroke-width": "0.523385",
|
|
400
|
+
"stroke-dasharray": "1.05 1.05"
|
|
401
|
+
}, null, 8, It),
|
|
402
|
+
t("path", {
|
|
403
|
+
d: "M158.008 136.08L158.008 7.43866e-05",
|
|
404
|
+
stroke: a.colorcancha,
|
|
405
|
+
"stroke-width": "0.523385",
|
|
406
|
+
"stroke-dasharray": "1.05 1.05"
|
|
407
|
+
}, null, 8, Ot),
|
|
408
|
+
t("path", {
|
|
409
|
+
d: "M210.673 90.7202L0.0105608 90.7202",
|
|
410
|
+
stroke: a.colorcancha,
|
|
411
|
+
"stroke-width": "0.523385",
|
|
412
|
+
"stroke-dasharray": "1.05 1.05"
|
|
413
|
+
}, null, 8, Vt),
|
|
414
|
+
t("path", {
|
|
415
|
+
d: "M210.673 45.3599L0.0105608 45.3599",
|
|
416
|
+
stroke: a.colorcancha,
|
|
417
|
+
"stroke-width": "0.523385",
|
|
418
|
+
"stroke-dasharray": "1.05 1.05"
|
|
419
|
+
}, null, 8, zt)
|
|
420
|
+
])
|
|
421
|
+
])) : d("", !0)
|
|
422
|
+
]);
|
|
423
|
+
}
|
|
424
|
+
const Ut = /* @__PURE__ */ b(u, [["render", At], ["__scopeId", "data-v-e8032436"]]), Zt = { class: "content-wrapper" }, $t = { class: "content-box" }, Rt = { class: "text-container" }, jt = {
|
|
425
|
+
key: 0,
|
|
426
|
+
class: "title"
|
|
427
|
+
}, Ht = {
|
|
428
|
+
key: 1,
|
|
429
|
+
class: "subtitle"
|
|
430
|
+
}, Gt = {
|
|
431
|
+
__name: "CardIndividual",
|
|
432
|
+
props: {
|
|
433
|
+
height: {
|
|
434
|
+
type: String,
|
|
435
|
+
default: "568px"
|
|
436
|
+
},
|
|
437
|
+
width: {
|
|
438
|
+
type: String,
|
|
439
|
+
default: "319px"
|
|
440
|
+
},
|
|
441
|
+
data: {
|
|
442
|
+
type: Object,
|
|
443
|
+
default: () => null
|
|
444
|
+
},
|
|
445
|
+
descriptionType: {
|
|
446
|
+
type: Number,
|
|
447
|
+
default: 5
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
setup(o) {
|
|
451
|
+
C((e) => ({
|
|
452
|
+
"343a092f": r.data.subtitle ? "100%" : "78%"
|
|
453
|
+
}));
|
|
454
|
+
const r = o, a = p(() => {
|
|
455
|
+
var e, i, k, w, m, f, g;
|
|
456
|
+
return {
|
|
457
|
+
height: r.height,
|
|
458
|
+
width: r.width,
|
|
459
|
+
footerHeight: "93px",
|
|
460
|
+
footerPadding: "24px 24px 30px 24px",
|
|
461
|
+
playerPhotoUrl: T(r.data.player_id || ""),
|
|
462
|
+
teamLogoUrl: N(r.data.team_id || "") || "",
|
|
463
|
+
cardColor: r.data.thumbnails.colors.background_color || "#000000",
|
|
464
|
+
backgroundImageSrc: B((w = (k = (i = (e = r.data) == null ? void 0 : e.thumbnails) == null ? void 0 : i.images) == null ? void 0 : k.background_player_in_action) != null && w[0] ? r.data.thumbnails.images.background_player_in_action[0] : (g = (f = (m = r.data) == null ? void 0 : m.thumbnails) == null ? void 0 : f.images) != null && g.background_team ? r.data.thumbnails.images.background_team : ""),
|
|
465
|
+
textColor: r.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
466
|
+
footerBodyData: {
|
|
467
|
+
textColor: r.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
468
|
+
description: P(I({ data: r.data, descriptionType: r.descriptionType })),
|
|
469
|
+
totalTextColor: r.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
470
|
+
totalCircleColor: r.data.thumbnails.colors.background_color || "#000000",
|
|
471
|
+
isTotalPercentage: !!r.data.footer.show_percentage
|
|
472
|
+
}
|
|
473
|
+
};
|
|
474
|
+
}), y = p(() => ({
|
|
475
|
+
"--title-color": r.data.thumbnails.colors.font_color_header || "#FFFFFF"
|
|
476
|
+
})), n = p(() => {
|
|
477
|
+
var e;
|
|
478
|
+
const i = "BALONES RECUPERADOS";
|
|
479
|
+
if (!r.data.title) return { title: "", subtitle: "" };
|
|
480
|
+
const k = r.data.title.replace(i, "").trim();
|
|
481
|
+
return {
|
|
482
|
+
title: i.replace(/\*/g, ""),
|
|
483
|
+
subtitle: k.replace(/\*/g, ""),
|
|
484
|
+
showPlus: !((e = r.data.footer) != null && e.show_percentage)
|
|
485
|
+
};
|
|
486
|
+
});
|
|
487
|
+
return (e, i) => (l(), c("div", {
|
|
488
|
+
class: "card-general",
|
|
489
|
+
style: F(y.value)
|
|
490
|
+
}, [
|
|
491
|
+
a.value ? (l(), _(O, v({ key: 0 }, a.value, { width: o.width }), {
|
|
492
|
+
body: M(() => [
|
|
493
|
+
t("div", Zt, [
|
|
494
|
+
t("div", $t, [
|
|
495
|
+
S(Ut, {
|
|
496
|
+
colorfillcancha: r.data.thumbnails.colors.graphic_color_2,
|
|
497
|
+
colorcancha: r.data.thumbnails.colors.graphic_color,
|
|
498
|
+
colorstat: r.data.thumbnails.colors.data_color,
|
|
499
|
+
cancha: r.data.categories,
|
|
500
|
+
stat: r.data.body && r.data.body.show_percentage == 0 ? r.data.total : r.data.percentage,
|
|
501
|
+
type: r.data.body.show_percentage == 1 ? "accelerometer" : "box"
|
|
502
|
+
}, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
|
|
503
|
+
]),
|
|
504
|
+
t("div", Rt, [
|
|
505
|
+
n.value.title ? (l(), c("h2", jt, h(n.value.showPlus ? "+" : "") + " " + h(n.value.title), 1)) : d("", !0),
|
|
506
|
+
n.value.subtitle ? (l(), c("p", Ht, h(n.value.subtitle), 1)) : d("", !0)
|
|
507
|
+
])
|
|
508
|
+
])
|
|
509
|
+
]),
|
|
510
|
+
_: 1
|
|
511
|
+
}, 16, ["width"])) : d("", !0)
|
|
512
|
+
], 4));
|
|
513
|
+
}
|
|
514
|
+
}, Qt = /* @__PURE__ */ b(Gt, [["__scopeId", "data-v-ba53198c"]]);
|
|
515
|
+
export {
|
|
516
|
+
Qt as default
|
|
517
|
+
};
|