@golstats/gsc-landing 1.0.200 → 1.0.202
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/dist/{CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +71 -64
- package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +92 -85
- package/dist/{CardGeneralIndividual-DaONNIwT-WoYrg7O0.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +45 -38
- package/dist/{CardGeneralTeams-CCfSIg5--ycGF0WJl.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +63 -56
- package/dist/{CardIndividual-DPKW-YpP-Dnc0EEj0.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +87 -81
- package/dist/{CardIndividual1vs1-BRtGgXM7-CedeR8el.js → CardIndividual1vs1-ayelgnf_-Dzunebe6.js} +45 -41
- package/dist/{CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +125 -120
- package/dist/{CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -110
- package/dist/{CardIndividualDistance-C226QSwL-R--LlcPz.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
- package/dist/CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js +686 -0
- package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
- package/dist/{CardIndividualGoals-BVMarvFd-DL29nvxj.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +204 -197
- package/dist/CardIndividualGold-Ptz6THCG-BRqzfQcT.js +124 -0
- package/dist/{CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
- package/dist/{CardIndividualPerformance-DyczUumz-BaHTtZS4.js → CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js} +28 -24
- package/dist/{CardIndividualSaves-CC91zpjd-CAQ8vR7-.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +44 -37
- package/dist/{CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +74 -69
- package/dist/{CardIndividualStatistics-CBd679p9-itsHFDEL.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +47 -39
- package/dist/{CardPromTournament-BKH4VcBp-D784umYN.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
- package/dist/CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js +813 -0
- package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
- package/dist/{CircleWithDotsBig-5eFuZwDk-n956nNzk.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
- package/dist/{Shield-0VkASyDI-Cm8rtKBS.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
- package/dist/gsc-landing.js +200 -157
- package/dist/gsc-landing.umd.cjs +62 -62
- package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardIndividualFouls-ycmte1YE-DyR9GrTc.js +0 -669
- package/dist/CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js +0 -111
- package/dist/CardIndividualGold-Df7Raasl-Byue4uk-.js +0 -117
- package/dist/CardSuccessfulPasses-DKetowpu-B12McLj4.js +0 -91
- package/dist/CardTheMostProductive-CoGLtVYs-BZcw_blj.js +0 -75
- package/dist/misc-BbzSgyER-2p2XKW1m.js +0 -168
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { computed as i, openBlock as r, createElementBlock as d, normalizeStyle as g, createVNode as h, normalizeProps as b, guardReactiveProps as v, withCtx as y, createElementVNode as l, toDisplayString as f, pushScopeId as k, popScopeId as C } from "vue";
|
|
2
|
-
import { o as w } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
|
|
3
|
-
import { h as x, z, P as M, E as P, I as S, O as T } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
-
import { G as I } from "./CircleWithDotsBig-5eFuZwDk-n956nNzk.js";
|
|
5
|
-
const B = (e) => (k("data-v-94a1638a"), e = e(), C(), e), E = { class: "goal-participation__body__data" }, G = {
|
|
6
|
-
width: "35",
|
|
7
|
-
height: "47",
|
|
8
|
-
viewBox: "0 0 35 47",
|
|
9
|
-
fill: "none",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
-
}, L = ["fill"], N = ["stroke"], D = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "goal-participation__body__data__percent"
|
|
14
|
-
}, U = {
|
|
15
|
-
key: 1,
|
|
16
|
-
class: "goal-participation__body__data__total"
|
|
17
|
-
}, H = /* @__PURE__ */ B(() => /* @__PURE__ */ l("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), O = {
|
|
18
|
-
__name: "CardIndividualGoalParticipation",
|
|
19
|
-
props: {
|
|
20
|
-
height: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: "445px"
|
|
23
|
-
},
|
|
24
|
-
width: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: "319px"
|
|
27
|
-
},
|
|
28
|
-
data: {
|
|
29
|
-
type: Object,
|
|
30
|
-
default: () => null
|
|
31
|
-
},
|
|
32
|
-
descriptionType: {
|
|
33
|
-
type: Number,
|
|
34
|
-
default: 0
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
setup(e) {
|
|
38
|
-
const a = e, F = i(() => {
|
|
39
|
-
var o, n, s, p, u, _, m;
|
|
40
|
-
return {
|
|
41
|
-
height: a.height,
|
|
42
|
-
width: a.width,
|
|
43
|
-
footerHeight: "137px",
|
|
44
|
-
playerPhotoUrl: z(a.data.player_id || ""),
|
|
45
|
-
teamLogoUrl: M(a.data.team_id || ""),
|
|
46
|
-
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
47
|
-
backgroundImageSrc: P((p = (s = (n = (o = a.data) == null ? void 0 : o.thumbnails) == null ? void 0 : n.images) == null ? void 0 : s.background_player_in_action) != null && p[0] ? a.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = a.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
48
|
-
footerBodyData: {
|
|
49
|
-
description: S(T({ data: a.data, descriptionType: a.descriptionType })),
|
|
50
|
-
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
}), t = i(() => {
|
|
54
|
-
const o = a.data.body.show_percentage;
|
|
55
|
-
return {
|
|
56
|
-
isTotalPercentage: o,
|
|
57
|
-
iconColor: (a.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
58
|
-
total: o ? a.data.percentage : a.data.total,
|
|
59
|
-
totalCircleColor: (a.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
60
|
-
totalTextColor: (a.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
61
|
-
};
|
|
62
|
-
});
|
|
63
|
-
i(() => a.data.id);
|
|
64
|
-
const c = i(() => ({
|
|
65
|
-
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
66
|
-
"--total-color": (a.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
67
|
-
}));
|
|
68
|
-
return (o, n) => (r(), d("div", {
|
|
69
|
-
class: "goal-participation",
|
|
70
|
-
style: g(c.value)
|
|
71
|
-
}, [
|
|
72
|
-
h(w, b(v(F.value)), {
|
|
73
|
-
body: y(() => [
|
|
74
|
-
l("div", {
|
|
75
|
-
class: "goal-participation__body",
|
|
76
|
-
style: g(c.value)
|
|
77
|
-
}, [
|
|
78
|
-
l("div", E, [
|
|
79
|
-
(r(), d("svg", G, [
|
|
80
|
-
l("path", {
|
|
81
|
-
d: "M4.159 42.568a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zM29.72 26.235l.29.407.563-.402-.557-.409-.296.404zM1.728 7.642a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zm5.388 35.333L30.012 26.64l-.581-.814L6.535 42.161l.58.814zM30.017 25.83 4.69 7.24l-.591.806 25.326 18.593.592-.807z",
|
|
82
|
-
fill: t.value.iconColor
|
|
83
|
-
}, null, 8, L),
|
|
84
|
-
l("path", {
|
|
85
|
-
opacity: ".5",
|
|
86
|
-
d: "M9.217 26.157a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0zM30.158 9.9a2.187 2.187 0 1 1-4.375 0 2.187 2.187 0 0 1 4.375 0zM30.158 43.1a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0z",
|
|
87
|
-
stroke: t.value.iconColor,
|
|
88
|
-
"stroke-width": "1.458"
|
|
89
|
-
}, null, 8, N)
|
|
90
|
-
])),
|
|
91
|
-
t.value.isTotalPercentage ? (r(), d("div", D, [
|
|
92
|
-
h(I, {
|
|
93
|
-
"text-color": t.value.totalTextColor,
|
|
94
|
-
color: t.value.totalCircleColor,
|
|
95
|
-
value: t.value.total
|
|
96
|
-
}, null, 8, ["text-color", "color", "value"])
|
|
97
|
-
])) : (r(), d("div", U, [
|
|
98
|
-
l("div", null, f(a.data.total), 1)
|
|
99
|
-
]))
|
|
100
|
-
]),
|
|
101
|
-
H
|
|
102
|
-
], 4)
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
}, 16)
|
|
106
|
-
], 4));
|
|
107
|
-
}
|
|
108
|
-
}, R = /* @__PURE__ */ x(O, [["__scopeId", "data-v-94a1638a"]]);
|
|
109
|
-
export {
|
|
110
|
-
R as default
|
|
111
|
-
};
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { ref as x, computed as o, openBlock as n, createElementBlock as d, createVNode as p, normalizeProps as w, guardReactiveProps as F, withCtx as S, createElementVNode as i, normalizeClass as C, normalizeStyle as I, toDisplayString as m } from "vue";
|
|
2
|
-
import { o as $ } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
|
|
3
|
-
import { N } from "./Shield-0VkASyDI-Cm8rtKBS.js";
|
|
4
|
-
import { h as T, I as z, O as E, $ as k, E as B, z as H } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
5
|
-
const L = { class: "gold-card" }, P = { class: "gold-card__body__title" }, V = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "gold-card__body__shield"
|
|
8
|
-
}, j = {
|
|
9
|
-
key: 1,
|
|
10
|
-
class: "gold-card__body__player-photo"
|
|
11
|
-
}, D = ["src"], G = { class: "gold-card__body__sub-title" }, O = {
|
|
12
|
-
__name: "CardIndividualGold",
|
|
13
|
-
props: {
|
|
14
|
-
height: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: "445px"
|
|
17
|
-
},
|
|
18
|
-
width: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: "319px"
|
|
21
|
-
},
|
|
22
|
-
data: {
|
|
23
|
-
type: Object,
|
|
24
|
-
default: () => null
|
|
25
|
-
},
|
|
26
|
-
descriptionType: {
|
|
27
|
-
type: Number,
|
|
28
|
-
default: 4
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
setup(u) {
|
|
32
|
-
const t = u, g = /* @__PURE__ */ new Set([
|
|
33
|
-
"85-i",
|
|
34
|
-
"91-i",
|
|
35
|
-
"97-i",
|
|
36
|
-
"103-i",
|
|
37
|
-
"109-i",
|
|
38
|
-
"115-i",
|
|
39
|
-
"121-i",
|
|
40
|
-
"127-i",
|
|
41
|
-
"133-i",
|
|
42
|
-
"139-i",
|
|
43
|
-
"145-i",
|
|
44
|
-
"151-i",
|
|
45
|
-
"157-i",
|
|
46
|
-
"163-i",
|
|
47
|
-
"169-i",
|
|
48
|
-
"175-i",
|
|
49
|
-
"178-i"
|
|
50
|
-
]), _ = x({
|
|
51
|
-
width: "50px",
|
|
52
|
-
height: "50px",
|
|
53
|
-
bottom: "34px",
|
|
54
|
-
right: "-8px",
|
|
55
|
-
innerImageWidth: "39px",
|
|
56
|
-
innerImageHeight: "39px"
|
|
57
|
-
}), a = o(() => g.has(t.data.id) ? 1 : 2), h = o(() => ({
|
|
58
|
-
height: t.height,
|
|
59
|
-
width: t.width,
|
|
60
|
-
footerHeight: "137px",
|
|
61
|
-
teamLogoUrl: a.value === 2 ? `https://golstatsimages.blob.core.windows.net/tournaments-cards/${t.data.tournament_id}.png` : "",
|
|
62
|
-
footerBodyData: {
|
|
63
|
-
description: z(E({ data: t.data, descriptionType: t.descriptionType })),
|
|
64
|
-
total: t.data.footer.show_percentage ? t.data.percentage : t.data.total,
|
|
65
|
-
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
66
|
-
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
67
|
-
totalCircleColor: (t.data.thumbnails.colors.data_color || "#000000").trim(),
|
|
68
|
-
isTotalPercentage: t.data.footer.show_percentage
|
|
69
|
-
},
|
|
70
|
-
goldCardType: a.value
|
|
71
|
-
})), e = o(() => {
|
|
72
|
-
var l, r, s, c;
|
|
73
|
-
const { title: y, subtitle: b } = k(t.data.title), f = !!((c = (s = (r = (l = t.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.player_in_action) != null && c[0]);
|
|
74
|
-
return {
|
|
75
|
-
title: y,
|
|
76
|
-
subtitle: b,
|
|
77
|
-
innerImageSrc: f ? B(t.data.thumbnails.images.player_in_action[0]) : H(t.data.player_id || ""),
|
|
78
|
-
tournamentLogoSrc: `https://az755631.vo.msecnd.net/todoelfut/${t.data.tournament_id}.png`,
|
|
79
|
-
translate: "-38px 23px"
|
|
80
|
-
};
|
|
81
|
-
}), v = o(() => ({
|
|
82
|
-
"--max-width-title": a.value === 2 ? "220px" : "100%"
|
|
83
|
-
}));
|
|
84
|
-
return (l, r) => (n(), d("div", L, [
|
|
85
|
-
p($, w(F(h.value)), {
|
|
86
|
-
body: S(() => [
|
|
87
|
-
i("div", {
|
|
88
|
-
class: C(["gold-card__body", { "type-2": a.value === 2 }]),
|
|
89
|
-
style: I(v.value)
|
|
90
|
-
}, [
|
|
91
|
-
i("div", P, m(e.value.title), 1),
|
|
92
|
-
a.value === 1 ? (n(), d("div", V, [
|
|
93
|
-
p(N, {
|
|
94
|
-
"team-logo-src": e.value.tournamentLogoSrc,
|
|
95
|
-
width: 131,
|
|
96
|
-
"team-logo-circle-props": _.value,
|
|
97
|
-
color: "#C3A650",
|
|
98
|
-
"inner-image-translate": e.value.translate,
|
|
99
|
-
"inner-image-src": e.value.innerImageSrc
|
|
100
|
-
}, null, 8, ["team-logo-src", "team-logo-circle-props", "inner-image-translate", "inner-image-src"])
|
|
101
|
-
])) : (n(), d("div", j, [
|
|
102
|
-
i("img", {
|
|
103
|
-
src: e.value.innerImageSrc,
|
|
104
|
-
alt: ""
|
|
105
|
-
}, null, 8, D)
|
|
106
|
-
])),
|
|
107
|
-
i("div", G, m(e.value.subtitle), 1)
|
|
108
|
-
], 6)
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
}, 16)
|
|
112
|
-
]));
|
|
113
|
-
}
|
|
114
|
-
}, W = /* @__PURE__ */ T(O, [["__scopeId", "data-v-b89e5bf9"]]);
|
|
115
|
-
export {
|
|
116
|
-
W as default
|
|
117
|
-
};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { computed as c, openBlock as f, createElementBlock as g, normalizeStyle as p, createVNode as y, normalizeProps as v, guardReactiveProps as k, withCtx as x, createElementVNode as i, toDisplayString as m, pushScopeId as C, popScopeId as P } from "vue";
|
|
2
|
-
import { o as S } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
|
|
3
|
-
import { h as I, z, P as E, E as O, I as T, O as w, $ as N } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
-
const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__body__title-sub" }, B = { class: "passes__body__title-sub__title" }, D = { class: "passes__body__title-sub__sub" }, H = /* @__PURE__ */ $(() => /* @__PURE__ */ i("div", { class: "passes__body__data" }, null, -1)), L = {
|
|
5
|
-
__name: "CardSuccessfulPasses",
|
|
6
|
-
props: {
|
|
7
|
-
height: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "445px"
|
|
10
|
-
},
|
|
11
|
-
width: {
|
|
12
|
-
type: String,
|
|
13
|
-
default: "319px"
|
|
14
|
-
},
|
|
15
|
-
data: {
|
|
16
|
-
type: Object,
|
|
17
|
-
default: () => null
|
|
18
|
-
},
|
|
19
|
-
descriptionType: {
|
|
20
|
-
type: Number,
|
|
21
|
-
default: 4
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(l) {
|
|
25
|
-
const t = l, b = c(() => {
|
|
26
|
-
var e, o, d, r, n, a, s;
|
|
27
|
-
return {
|
|
28
|
-
height: t.height,
|
|
29
|
-
width: t.width,
|
|
30
|
-
footerHeight: "113px",
|
|
31
|
-
playerPhotoPositionTop: "24px",
|
|
32
|
-
playerPhotoUrl: z(t.data.player_id || ""),
|
|
33
|
-
teamLogoUrl: E(t.data.team_id || ""),
|
|
34
|
-
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
35
|
-
backgroundImageSrc: O((r = (d = (o = (e = t.data) == null ? void 0 : e.thumbnails) == null ? void 0 : o.images) == null ? void 0 : d.background_player_in_action) != null && r[0] ? t.data.thumbnails.images.background_player_in_action[0] : (s = (a = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : a.images) != null && s.background_team ? t.data.thumbnails.images.background_team : ""),
|
|
36
|
-
footerBodyData: {
|
|
37
|
-
description: T(w({ data: t.data, descriptionType: t.descriptionType })),
|
|
38
|
-
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
}), u = c(() => {
|
|
42
|
-
let e = t.data.sections || [];
|
|
43
|
-
e = e.sort((a, s) => a[0] - s[0]);
|
|
44
|
-
let o = 0;
|
|
45
|
-
const d = e.reduce((a, [s, h], F) => (F % 4 === 0 && (a.push([]), o++), a[o - 1].push([h]), a), []), { title: r, subtitle: n } = N(t.data.title);
|
|
46
|
-
return {
|
|
47
|
-
title: r,
|
|
48
|
-
subtitle: n,
|
|
49
|
-
iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
50
|
-
total: t.data.total,
|
|
51
|
-
totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
52
|
-
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
53
|
-
fieldObject: {
|
|
54
|
-
categoryIds: t.data.categories,
|
|
55
|
-
coordinatePoint: 3,
|
|
56
|
-
data: d,
|
|
57
|
-
isNegative: !1
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
});
|
|
61
|
-
c(() => t.data.id);
|
|
62
|
-
const _ = c(() => ({
|
|
63
|
-
"--text-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
64
|
-
"--data-color": (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
65
|
-
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
66
|
-
}));
|
|
67
|
-
return (e, o) => (f(), g("div", {
|
|
68
|
-
class: "passes",
|
|
69
|
-
style: p(_.value)
|
|
70
|
-
}, [
|
|
71
|
-
y(S, v(k(b.value)), {
|
|
72
|
-
body: x(() => [
|
|
73
|
-
i("div", {
|
|
74
|
-
class: "passes__body",
|
|
75
|
-
style: p(_.value)
|
|
76
|
-
}, [
|
|
77
|
-
i("div", j, [
|
|
78
|
-
i("div", B, m(u.value.title), 1),
|
|
79
|
-
i("div", D, m(u.value.subtitle), 1)
|
|
80
|
-
]),
|
|
81
|
-
H
|
|
82
|
-
], 4)
|
|
83
|
-
]),
|
|
84
|
-
_: 1
|
|
85
|
-
}, 16)
|
|
86
|
-
], 4));
|
|
87
|
-
}
|
|
88
|
-
}, R = /* @__PURE__ */ I(L, [["__scopeId", "data-v-2d0e60f5"]]);
|
|
89
|
-
export {
|
|
90
|
-
R as default
|
|
91
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { computed as n, openBlock as h, createElementBlock as b, createVNode as s, normalizeProps as f, guardReactiveProps as y, withCtx as v, createElementVNode as m, normalizeStyle as F, toDisplayString as x } from "vue";
|
|
2
|
-
import { o as k } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
|
|
3
|
-
import { N as C } from "./Shield-0VkASyDI-Cm8rtKBS.js";
|
|
4
|
-
import { h as S, E as p, I as w, O as I, P as B, z as D } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
5
|
-
const N = { class: "productive" }, P = { class: "productive__body__title" }, T = {
|
|
6
|
-
__name: "CardTheMostProductive",
|
|
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: 4
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup(d) {
|
|
26
|
-
const a = d, _ = n(() => {
|
|
27
|
-
var e, t, o, r, i, u, c;
|
|
28
|
-
return {
|
|
29
|
-
height: a.height,
|
|
30
|
-
width: a.width,
|
|
31
|
-
footerHeight: "112px",
|
|
32
|
-
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
33
|
-
backgroundImageSrc: p((r = (o = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : o.background_player_in_action) != null && r[0] ? a.data.thumbnails.images.background_player_in_action[0] : (c = (u = (i = a.data) == null ? void 0 : i.thumbnails) == null ? void 0 : u.images) != null && c.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
34
|
-
footerBodyData: {
|
|
35
|
-
description: w(I({ data: a.data, descriptionType: a.descriptionType })),
|
|
36
|
-
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
}), l = n(() => {
|
|
40
|
-
var e, t, o, r;
|
|
41
|
-
const i = !!((r = (o = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : o.player_in_action) != null && r[0]);
|
|
42
|
-
return {
|
|
43
|
-
teamLogoUrl: B(a.data.team_id || ""),
|
|
44
|
-
playerInActionSrc: i ? p(a.data.thumbnails.images.player_in_action[0]) : D(a.data.player_id || ""),
|
|
45
|
-
shieldColor: (a.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
|
|
46
|
-
translate: i ? "-40px -8px" : "-42px -30px"
|
|
47
|
-
};
|
|
48
|
-
}), g = n(() => ({
|
|
49
|
-
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
50
|
-
}));
|
|
51
|
-
return (e, t) => (h(), b("div", N, [
|
|
52
|
-
s(k, f(y(_.value)), {
|
|
53
|
-
body: v(() => [
|
|
54
|
-
m("div", {
|
|
55
|
-
class: "productive__body",
|
|
56
|
-
style: F(g.value)
|
|
57
|
-
}, [
|
|
58
|
-
m("div", P, x(d.data.title), 1),
|
|
59
|
-
s(C, {
|
|
60
|
-
id: a.data.id,
|
|
61
|
-
"team-logo-src": l.value.teamLogoUrl,
|
|
62
|
-
"inner-image-src": l.value.playerInActionSrc,
|
|
63
|
-
color: l.value.shieldColor,
|
|
64
|
-
"inner-image-translate": l.value.translate
|
|
65
|
-
}, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
|
|
66
|
-
], 4)
|
|
67
|
-
]),
|
|
68
|
-
_: 1
|
|
69
|
-
}, 16)
|
|
70
|
-
]));
|
|
71
|
-
}
|
|
72
|
-
}, L = /* @__PURE__ */ S(T, [["__scopeId", "data-v-8c06560b"]]);
|
|
73
|
-
export {
|
|
74
|
-
L as default
|
|
75
|
-
};
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { computed as d, openBlock as i, createElementBlock as n, normalizeClass as l, normalizeStyle as u, createCommentVNode as c, createElementVNode as s, renderSlot as p, pushScopeId as g, popScopeId as y } from "vue";
|
|
2
|
-
const f = (t, e) => {
|
|
3
|
-
const r = t.__vccOpts || t;
|
|
4
|
-
for (const [o, a] of e)
|
|
5
|
-
r[o] = a;
|
|
6
|
-
return r;
|
|
7
|
-
}, b = (t) => (g("data-v-2ba19cd1"), t = t(), y(), t), h = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "card-base__background-image"
|
|
10
|
-
}, v = ["src"], m = {
|
|
11
|
-
key: 1,
|
|
12
|
-
class: "card-base__background-overlay"
|
|
13
|
-
}, _ = { class: "card-base__slot" }, k = {
|
|
14
|
-
key: 2,
|
|
15
|
-
class: "card-base__play"
|
|
16
|
-
}, w = /* @__PURE__ */ b(() => /* @__PURE__ */ s("svg", {
|
|
17
|
-
width: "60",
|
|
18
|
-
height: "60",
|
|
19
|
-
viewBox: "0 0 60 60",
|
|
20
|
-
fill: "none",
|
|
21
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
22
|
-
}, [
|
|
23
|
-
/* @__PURE__ */ s("circle", {
|
|
24
|
-
cx: "30",
|
|
25
|
-
cy: "30",
|
|
26
|
-
r: "30",
|
|
27
|
-
fill: "#0E1E2A",
|
|
28
|
-
"fill-opacity": ".96"
|
|
29
|
-
}),
|
|
30
|
-
/* @__PURE__ */ s("circle", {
|
|
31
|
-
cx: "30",
|
|
32
|
-
cy: "30",
|
|
33
|
-
r: "26.6",
|
|
34
|
-
stroke: "#757575",
|
|
35
|
-
"stroke-width": ".8"
|
|
36
|
-
}),
|
|
37
|
-
/* @__PURE__ */ s("path", {
|
|
38
|
-
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",
|
|
39
|
-
fill: "#CBEE6B"
|
|
40
|
-
})
|
|
41
|
-
], -1)), S = [
|
|
42
|
-
w
|
|
43
|
-
], C = {
|
|
44
|
-
__name: "CardBase",
|
|
45
|
-
props: {
|
|
46
|
-
height: {
|
|
47
|
-
type: String,
|
|
48
|
-
default: "445px"
|
|
49
|
-
},
|
|
50
|
-
width: {
|
|
51
|
-
type: String,
|
|
52
|
-
default: "319px"
|
|
53
|
-
},
|
|
54
|
-
backgroundOverlayColor: {
|
|
55
|
-
type: String,
|
|
56
|
-
default: "#000000"
|
|
57
|
-
},
|
|
58
|
-
backgroundOverlayOpacity: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: "0.8"
|
|
61
|
-
},
|
|
62
|
-
backgroundImageSrc: {
|
|
63
|
-
type: String,
|
|
64
|
-
default: ""
|
|
65
|
-
},
|
|
66
|
-
overflow: {
|
|
67
|
-
type: String,
|
|
68
|
-
default: "visible"
|
|
69
|
-
},
|
|
70
|
-
borderRadius: {
|
|
71
|
-
type: String,
|
|
72
|
-
default: "15px"
|
|
73
|
-
},
|
|
74
|
-
isPlayButtonVisible: {
|
|
75
|
-
type: Boolean,
|
|
76
|
-
default: !0
|
|
77
|
-
},
|
|
78
|
-
goldCardType: {
|
|
79
|
-
type: Number,
|
|
80
|
-
default: 0
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
setup(t) {
|
|
84
|
-
const e = t, r = d(() => ({
|
|
85
|
-
"--height": e.height,
|
|
86
|
-
"--width": e.width,
|
|
87
|
-
"--background-overlay-color": e.backgroundOverlayColor,
|
|
88
|
-
"--overflow": e.overflow,
|
|
89
|
-
"--border-radius": e.borderRadius,
|
|
90
|
-
"--background-overlay-opacity": e.backgroundOverlayOpacity,
|
|
91
|
-
"--background-gold-size": `${e.width} ${e.height}`
|
|
92
|
-
})), o = d(() => {
|
|
93
|
-
const a = [];
|
|
94
|
-
return e.goldCardType && (e.goldCardType === 1 ? a.push("gold-card-1") : e.goldCardType === 2 && a.push("gold-card-2")), a;
|
|
95
|
-
});
|
|
96
|
-
return (a, x) => (i(), n("div", {
|
|
97
|
-
class: l(["card-base", o.value]),
|
|
98
|
-
style: u(r.value)
|
|
99
|
-
}, [
|
|
100
|
-
t.goldCardType ? c("", !0) : (i(), n("div", h, [
|
|
101
|
-
t.backgroundImageSrc ? (i(), n("img", {
|
|
102
|
-
key: 0,
|
|
103
|
-
src: t.backgroundImageSrc,
|
|
104
|
-
alt: ""
|
|
105
|
-
}, null, 8, v)) : c("", !0)
|
|
106
|
-
])),
|
|
107
|
-
t.goldCardType ? c("", !0) : (i(), n("div", m)),
|
|
108
|
-
s("div", _, [
|
|
109
|
-
p(a.$slots, "default", {}, void 0, !0)
|
|
110
|
-
]),
|
|
111
|
-
t.isPlayButtonVisible ? (i(), n("div", k, S)) : c("", !0)
|
|
112
|
-
], 6));
|
|
113
|
-
}
|
|
114
|
-
}, O = /* @__PURE__ */ f(C, [["__scopeId", "data-v-2ba19cd1"]]);
|
|
115
|
-
function T(t = "") {
|
|
116
|
-
const e = t.split("");
|
|
117
|
-
let r = 1;
|
|
118
|
-
return e.reduce((o, a) => (a === "*" ? (r % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', r++) : o += a, o), "");
|
|
119
|
-
}
|
|
120
|
-
function z({ data: t, descriptionType: e }) {
|
|
121
|
-
switch (e) {
|
|
122
|
-
case 1:
|
|
123
|
-
return t.finish_first_person_description;
|
|
124
|
-
case 2:
|
|
125
|
-
return t.first_person_description;
|
|
126
|
-
case 3:
|
|
127
|
-
return t.finish_third_person_description;
|
|
128
|
-
case 4:
|
|
129
|
-
return t.third_person_description;
|
|
130
|
-
case 5:
|
|
131
|
-
return t.finish_description;
|
|
132
|
-
case 6:
|
|
133
|
-
return t.description;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
function E(t) {
|
|
137
|
-
return `https://az755631.vo.msecnd.net/teams-80/${t}.png`;
|
|
138
|
-
}
|
|
139
|
-
function I(t) {
|
|
140
|
-
return `https://az755631.vo.msecnd.net/players-profile/${t}.png`;
|
|
141
|
-
}
|
|
142
|
-
function $(t) {
|
|
143
|
-
return `https://golstatsimages.blob.core.windows.net/images-library/${t}`;
|
|
144
|
-
}
|
|
145
|
-
function V(t) {
|
|
146
|
-
if (t.includes("*")) {
|
|
147
|
-
let e = "";
|
|
148
|
-
const r = t.match(/\*(.*?)\*/);
|
|
149
|
-
return r && (e = r[1]), {
|
|
150
|
-
title: e.trim(),
|
|
151
|
-
subtitle: t.replace(/\*(.*?)\*/, "").trim()
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
return {
|
|
155
|
-
title: t,
|
|
156
|
-
subtitle: ""
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
export {
|
|
160
|
-
V as $,
|
|
161
|
-
$ as E,
|
|
162
|
-
T as I,
|
|
163
|
-
z as O,
|
|
164
|
-
E as P,
|
|
165
|
-
O as T,
|
|
166
|
-
f as h,
|
|
167
|
-
I as z
|
|
168
|
-
};
|