@golstats/gsc-landing 1.0.210 → 1.0.211
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/{CardBase-D2PPB-i0-BSL07ywy.js → CardBase-BCSIUbwa-D0QHJaVZ.js} +3 -3
- package/dist/{CardBaseAllIndividual-BtD15BfP-CgQeoWdJ.js → CardBaseAllIndividual-CZ_3lxWf-CiOPAnOV.js} +64 -55
- package/dist/{CardGeneral-Db7PtjpY-BrwPTFva.js → CardGeneral-DcE_7xpj-Da1P5A1Y.js} +23 -23
- package/dist/{CardGeneralIndividual-B7hJ1cJT-CFPAU2oF.js → CardGeneralIndividual-DbvxscVI-Bc1kGIr7.js} +16 -16
- package/dist/{CardGeneralTeams-D8ZC2bRY-N_UEQmSa.js → CardGeneralTeams-D0Y6zdKu-DrJgbPOQ.js} +22 -22
- package/dist/{CardIndividual-CFpXabtZ-D0w9R16O.js → CardIndividual-Ki5omZJI-Ciu0hwXk.js} +35 -35
- package/dist/{CardIndividual1vs1-dGQ0VDLL-f0mqI-dy.js → CardIndividual1vs1-DmlJbJ8B-CqHJErBM.js} +19 -19
- package/dist/{CardIndividualAreas-E2RY6NuF-CiOlFduq.js → CardIndividualAreas-CYpbCBwP-BjZB3XbX.js} +10 -10
- package/dist/{CardIndividualCenters-DYNn1gUK-FyVETZXG.js → CardIndividualCenters-JhzJNVnv-CJn74p6o.js} +142 -128
- package/dist/{CardIndividualDistance-DcENou2v-D6qOTc9p.js → CardIndividualDistance-CKkJ7mwB-u2DfEB97.js} +13 -13
- package/dist/{CardIndividualFouls-b7Ae3kJx-BvE6QIzJ.js → CardIndividualFouls-6eSJq50u-wf78GxeZ.js} +15 -15
- package/dist/{CardIndividualGoalParticipation-QhK-SHO0-DZltnxma.js → CardIndividualGoalParticipation-S3oTRiGX-CNKud2Cq.js} +9 -9
- package/dist/{CardIndividualGoals-CtdA3WIi-CCiOnY-Q.js → CardIndividualGoals-CTxER-Rj-BZhtgjMk.js} +214 -264
- package/dist/CardIndividualGold-B4BcqctC-DqyiNjdq.js +128 -0
- package/dist/{CardIndividualNoGoalReceived-lIZnPxlW-BRB-ktHy.js → CardIndividualNoGoalReceived-BrVOXQpB-B3V2Zmtw.js} +14 -14
- package/dist/{CardIndividualPerformance-BAa6VBL4-CVJUDSDe.js → CardIndividualPerformance-Kw8Qsjmn-DfLh8-n-.js} +19 -19
- package/dist/{CardIndividualSaves-Co35mxDZ-DhVjkPx2.js → CardIndividualSaves-j_epfoNL-B2sE6QGA.js} +30 -30
- package/dist/{CardIndividualShotsOnGoal-BqrJWNg2-CY0tOCF1.js → CardIndividualShotsOnGoal-BTVmtE9u-_HJTv__w.js} +68 -77
- package/dist/{CardIndividualStatistics-BzQ49WmS-D6YUc7s1.js → CardIndividualStatistics-DbAhxMKF-Z3K8YQ8t.js} +9 -9
- package/dist/{CardPromTournament-DF3Lx49G-BhtHgR14.js → CardPromTournament-BtYUa7FA-LXLTJ5tI.js} +5 -5
- package/dist/{CardSuccessfulPasses-BTfsfPZY-DqaYnV3I.js → CardSuccessfulPasses-Bwg7cP83-gQTXyq4i.js} +5 -5
- package/dist/{CardTheMostProductive-gjJTU5gM-DaEN0f5h.js → CardTheMostProductive-CMoq34SC-Bd-ALBIQ.js} +11 -11
- package/dist/{CircleWithDotsBig-3oDL9dtc-D8yET2DS.js → CircleWithDotsBig-I8rIqrbw-cAY-ws0w.js} +1 -1
- package/dist/{Shield-CylUzPz2-DKfnKzsu.js → Shield-wY38e4UU-53G6vCsw.js} +1 -1
- package/dist/TimeSvg2-Cl28aqUW-CYEg4vC4.js +56 -0
- package/dist/gsc-landing.js +1 -1
- package/dist/gsc-landing.umd.cjs +57 -57
- package/dist/{index-BiKXrdSy.js → index-DN5VzqV1.js} +1847 -1851
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardIndividualGold-BPrJOY01-FtHJCaGT.js +0 -125
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { ref as x, computed as n, openBlock as c, createElementBlock as p, createVNode as g, mergeProps as w, withCtx as F, createElementVNode as d, normalizeClass as S, normalizeStyle as C, toDisplayString as _ } from "vue";
|
|
2
|
+
import { d as I } from "./CardBaseAllIndividual-CZ_3lxWf-CiOPAnOV.js";
|
|
3
|
+
import { N } from "./Shield-wY38e4UU-53G6vCsw.js";
|
|
4
|
+
import { B as T, R as B, V as H, H as V, j as $ } from "./index-DN5VzqV1.js";
|
|
5
|
+
import { b as k } from "./CardBase-BCSIUbwa-D0QHJaVZ.js";
|
|
6
|
+
const z = { class: "gold-card" }, D = { class: "gold-card__body__title" }, E = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "gold-card__body__shield"
|
|
9
|
+
}, L = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "gold-card__body__player-photo"
|
|
12
|
+
}, j = ["src"], G = { class: "gold-card__body__sub-title" }, P = {
|
|
13
|
+
__name: "CardIndividualGold",
|
|
14
|
+
props: {
|
|
15
|
+
height: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "445px"
|
|
18
|
+
},
|
|
19
|
+
width: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "319px"
|
|
22
|
+
},
|
|
23
|
+
data: {
|
|
24
|
+
type: Object,
|
|
25
|
+
default: () => null
|
|
26
|
+
},
|
|
27
|
+
descriptionType: {
|
|
28
|
+
type: Number,
|
|
29
|
+
default: 4
|
|
30
|
+
},
|
|
31
|
+
showVideos: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: !0
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
setup(u) {
|
|
37
|
+
const t = u, h = /* @__PURE__ */ new Set([
|
|
38
|
+
"85-i",
|
|
39
|
+
"91-i",
|
|
40
|
+
"97-i",
|
|
41
|
+
"103-i",
|
|
42
|
+
"109-i",
|
|
43
|
+
"115-i",
|
|
44
|
+
"121-i",
|
|
45
|
+
"127-i",
|
|
46
|
+
"133-i",
|
|
47
|
+
"139-i",
|
|
48
|
+
"145-i",
|
|
49
|
+
"151-i",
|
|
50
|
+
"157-i",
|
|
51
|
+
"163-i",
|
|
52
|
+
"169-i",
|
|
53
|
+
"175-i",
|
|
54
|
+
"179-i",
|
|
55
|
+
"185-i"
|
|
56
|
+
]), y = x({
|
|
57
|
+
width: "50px",
|
|
58
|
+
height: "50px",
|
|
59
|
+
bottom: "34px",
|
|
60
|
+
right: "-8px",
|
|
61
|
+
innerImageWidth: "39px",
|
|
62
|
+
innerImageHeight: "39px"
|
|
63
|
+
}), i = n(() => h.has(t.data.id) ? 1 : 2), v = n(() => ({
|
|
64
|
+
height: t.height,
|
|
65
|
+
width: t.width,
|
|
66
|
+
footerHeight: "137px",
|
|
67
|
+
teamLogoUrl: i.value === 2 ? `https://golstatsimages.blob.core.windows.net/tournaments-cards/${t.data.tournament_id}.png` : "",
|
|
68
|
+
footerBodyData: {
|
|
69
|
+
description: T(B({ data: t.data, descriptionType: t.descriptionType })),
|
|
70
|
+
total: t.data.footer.show_percentage ? t.data.percentage : t.data.total,
|
|
71
|
+
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
72
|
+
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
73
|
+
totalCircleColor: (t.data.thumbnails.colors.data_color || "#000000").trim(),
|
|
74
|
+
isTotalPercentage: t.data.footer.show_percentage
|
|
75
|
+
},
|
|
76
|
+
goldCardType: i.value
|
|
77
|
+
})), e = n(() => {
|
|
78
|
+
var a, o, l, r;
|
|
79
|
+
const { title: s, subtitle: b } = H(t.data.title), m = !!((r = (l = (o = (a = t.data) == null ? void 0 : a.thumbnails) == null ? void 0 : o.images) == null ? void 0 : l.player_in_action) != null && r[0]);
|
|
80
|
+
return {
|
|
81
|
+
title: s,
|
|
82
|
+
subtitle: b,
|
|
83
|
+
innerImageSrc: m ? V(t.data.thumbnails.images.player_in_action[0]) : $(t.data.player_id || ""),
|
|
84
|
+
tournamentLogoSrc: `https://az755631.vo.msecnd.net/todoelfut/${t.data.tournament_id}.png`,
|
|
85
|
+
translate: m ? "0 38px" : "0 21px"
|
|
86
|
+
};
|
|
87
|
+
}), f = n(() => {
|
|
88
|
+
var a, o, l, r;
|
|
89
|
+
const s = !!((r = (l = (o = (a = t.data) == null ? void 0 : a.thumbnails) == null ? void 0 : o.images) == null ? void 0 : l.player_in_action) != null && r[0]);
|
|
90
|
+
return {
|
|
91
|
+
"--max-width-title": i.value === 2 ? "220px" : "100%",
|
|
92
|
+
"--player-image-width": s ? "230px" : "180px"
|
|
93
|
+
};
|
|
94
|
+
});
|
|
95
|
+
return (a, o) => (c(), p("div", z, [
|
|
96
|
+
g(I, w(v.value, { "show-videos": u.showVideos }), {
|
|
97
|
+
body: F(() => [
|
|
98
|
+
d("div", {
|
|
99
|
+
class: S(["gold-card__body", { "type-2": i.value === 2 }]),
|
|
100
|
+
style: C(f.value)
|
|
101
|
+
}, [
|
|
102
|
+
d("div", D, _(e.value.title), 1),
|
|
103
|
+
i.value === 1 ? (c(), p("div", E, [
|
|
104
|
+
g(N, {
|
|
105
|
+
"team-logo-src": e.value.tournamentLogoSrc,
|
|
106
|
+
width: 131,
|
|
107
|
+
"team-logo-circle-props": y.value,
|
|
108
|
+
color: "#C3A650",
|
|
109
|
+
"inner-image-translate": e.value.translate,
|
|
110
|
+
"inner-image-src": e.value.innerImageSrc
|
|
111
|
+
}, null, 8, ["team-logo-src", "team-logo-circle-props", "inner-image-translate", "inner-image-src"])
|
|
112
|
+
])) : (c(), p("div", L, [
|
|
113
|
+
d("img", {
|
|
114
|
+
src: e.value.innerImageSrc,
|
|
115
|
+
alt: ""
|
|
116
|
+
}, null, 8, j)
|
|
117
|
+
])),
|
|
118
|
+
d("div", G, _(e.value.subtitle), 1)
|
|
119
|
+
], 6)
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
}, 16, ["show-videos"])
|
|
123
|
+
]));
|
|
124
|
+
}
|
|
125
|
+
}, W = /* @__PURE__ */ k(P, [["__scopeId", "data-v-e7552207"]]);
|
|
126
|
+
export {
|
|
127
|
+
W as default
|
|
128
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { computed as C, openBlock as t, createElementBlock as e, normalizeStyle as w, createVNode as v, mergeProps as k, withCtx as M, createElementVNode as o, toDisplayString as g, createCommentVNode as s, unref as u, normalizeProps as Z, guardReactiveProps as P, createBlock as V } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { $ as S, H,
|
|
4
|
-
import { b as R } from "./CardBase-
|
|
5
|
-
import { G as T } from "./CircleWithDotsBig-
|
|
2
|
+
import { d as x } from "./CardBaseAllIndividual-CZ_3lxWf-CiOPAnOV.js";
|
|
3
|
+
import { $ as S, H, B, R as $, j as N } from "./index-DN5VzqV1.js";
|
|
4
|
+
import { b as R } from "./CardBase-BCSIUbwa-D0QHJaVZ.js";
|
|
5
|
+
import { G as T } from "./CircleWithDotsBig-I8rIqrbw-cAY-ws0w.js";
|
|
6
6
|
import { a as j } from "./TimeSvg-B3vSNjgQ-BbQ6V9Cu.js";
|
|
7
|
-
const G = { class: "no-goal__body" },
|
|
7
|
+
const G = { class: "no-goal__body" }, U = { class: "no-goal__body__title-sub" }, z = { class: "no-goal__body__title-sub__title" }, E = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "no-goal__body__title-sub__sub"
|
|
10
|
-
},
|
|
10
|
+
}, I = { class: "no-goal__body__data" }, D = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "time-svg"
|
|
13
|
-
},
|
|
13
|
+
}, O = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "player-img"
|
|
16
16
|
}, q = ["src"], A = {
|
|
@@ -71,7 +71,7 @@ const G = { class: "no-goal__body" }, O = { class: "no-goal__body__title-sub" },
|
|
|
71
71
|
cardColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
72
72
|
backgroundImageSrc: H((m = (p = (d = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : d.images) == null ? void 0 : p.background_player_in_action) != null && m[0] ? l.data.thumbnails.images.background_player_in_action[0] : (_ = (f = (h = l.data) == null ? void 0 : h.thumbnails) == null ? void 0 : f.images) != null && _.background_team ? l.data.thumbnails.images.background_team : ""),
|
|
73
73
|
footerBodyData: {
|
|
74
|
-
description: $(
|
|
74
|
+
description: B($({ data: l.data, descriptionType: l.descriptionType })),
|
|
75
75
|
textColor: (l.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
76
76
|
}
|
|
77
77
|
};
|
|
@@ -99,15 +99,15 @@ const G = { class: "no-goal__body" }, O = { class: "no-goal__body__title-sub" },
|
|
|
99
99
|
v(x, k(y.value, { "show-videos": c.showVideos }), {
|
|
100
100
|
body: M(() => [
|
|
101
101
|
o("div", G, [
|
|
102
|
-
o("div",
|
|
103
|
-
o("div",
|
|
104
|
-
a.value.subtitle ? (t(), e("div",
|
|
102
|
+
o("div", U, [
|
|
103
|
+
o("div", z, g(a.value.title), 1),
|
|
104
|
+
a.value.subtitle ? (t(), e("div", E, g(a.value.subtitle), 1)) : s("", !0)
|
|
105
105
|
]),
|
|
106
|
-
o("div",
|
|
107
|
-
u(b).has(i.value) ? s("", !0) : (t(), e("div",
|
|
106
|
+
o("div", I, [
|
|
107
|
+
u(b).has(i.value) ? s("", !0) : (t(), e("div", D, [
|
|
108
108
|
v(j, Z(P(a.value.timeSvgProps)), null, 16)
|
|
109
109
|
])),
|
|
110
|
-
a.value.playerPhotoUrl ? (t(), e("div",
|
|
110
|
+
a.value.playerPhotoUrl ? (t(), e("div", O, [
|
|
111
111
|
o("div", null, [
|
|
112
112
|
o("img", {
|
|
113
113
|
src: a.value.playerPhotoUrl,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import {
|
|
3
|
-
import { j as w, H as T,
|
|
4
|
-
import { b as
|
|
5
|
-
import { G as m } from "./CircleWithDotsBig-
|
|
6
|
-
const
|
|
1
|
+
import { computed as d, openBlock as h, createElementBlock as v, normalizeStyle as y, createVNode as c, mergeProps as F, withCtx as g, createElementVNode as t, toDisplayString as i, pushScopeId as x, popScopeId as S } from "vue";
|
|
2
|
+
import { d as C } from "./CardBaseAllIndividual-CZ_3lxWf-CiOPAnOV.js";
|
|
3
|
+
import { j as w, H as T, B as k, R as B, V as N } from "./index-DN5VzqV1.js";
|
|
4
|
+
import { b as V } from "./CardBase-BCSIUbwa-D0QHJaVZ.js";
|
|
5
|
+
import { G as m } from "./CircleWithDotsBig-I8rIqrbw-cAY-ws0w.js";
|
|
6
|
+
const I = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), P = { class: "performance__body" }, j = { class: "performance__body__title-sub" }, H = { class: "performance__body__title-sub__title" }, O = { class: "performance__body__title-sub__sub" }, $ = { class: "performance__body__data" }, D = { class: "performance__body__data__total-season" }, E = { class: "performance__body__data__total-season__season" }, z = /* @__PURE__ */ I(() => /* @__PURE__ */ t("span", { class: "arrow" }, "→", -1)), U = { class: "performance__body__data__total-season" }, q = { class: "performance__body__data__total-season__season" }, A = {
|
|
7
7
|
__name: "CardIndividualPerformance",
|
|
8
8
|
props: {
|
|
9
9
|
height: {
|
|
@@ -28,7 +28,7 @@ const B = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), I = { class: "performa
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(e) {
|
|
31
|
-
const a = e, b =
|
|
31
|
+
const a = e, b = d(() => {
|
|
32
32
|
var l, r, s, n, u, _, p;
|
|
33
33
|
return {
|
|
34
34
|
height: a.height,
|
|
@@ -40,13 +40,13 @@ const B = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), I = { class: "performa
|
|
|
40
40
|
backgroundImageSrc: T((n = (s = (r = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : r.images) == null ? void 0 : s.background_player_in_action) != null && n[0] ? a.data.thumbnails.images.background_player_in_action[0] : (p = (_ = (u = a.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && p.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
41
41
|
textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
|
|
42
42
|
footerBodyData: {
|
|
43
|
-
description: k(
|
|
43
|
+
description: k(B({ data: a.data, descriptionType: a.descriptionType })),
|
|
44
44
|
total: a.data.total,
|
|
45
45
|
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
}), o =
|
|
49
|
-
const { title: l, subtitle: r } =
|
|
48
|
+
}), o = d(() => {
|
|
49
|
+
const { title: l, subtitle: r } = N(a.data.title), [s, n] = a.data.totals;
|
|
50
50
|
return {
|
|
51
51
|
title: l,
|
|
52
52
|
subtitle: r,
|
|
@@ -59,8 +59,8 @@ const B = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), I = { class: "performa
|
|
|
59
59
|
circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
|
|
60
60
|
};
|
|
61
61
|
});
|
|
62
|
-
|
|
63
|
-
const f =
|
|
62
|
+
d(() => a.data.id);
|
|
63
|
+
const f = d(() => ({
|
|
64
64
|
"--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
|
|
65
65
|
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
66
66
|
}));
|
|
@@ -70,10 +70,10 @@ const B = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), I = { class: "performa
|
|
|
70
70
|
}, [
|
|
71
71
|
c(C, F(b.value, { "show-videos": e.showVideos }), {
|
|
72
72
|
body: g(() => [
|
|
73
|
-
t("div",
|
|
74
|
-
t("div",
|
|
75
|
-
t("div",
|
|
76
|
-
t("div",
|
|
73
|
+
t("div", P, [
|
|
74
|
+
t("div", j, [
|
|
75
|
+
t("div", H, i(o.value.title), 1),
|
|
76
|
+
t("div", O, i(o.value.subtitle), 1)
|
|
77
77
|
]),
|
|
78
78
|
t("div", $, [
|
|
79
79
|
t("div", D, [
|
|
@@ -83,7 +83,7 @@ const B = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), I = { class: "performa
|
|
|
83
83
|
"text-color": o.value.textColor,
|
|
84
84
|
color: o.value.circleOneColor
|
|
85
85
|
}, null, 8, ["value", "text-color", "color"]),
|
|
86
|
-
t("div", E,
|
|
86
|
+
t("div", E, i(o.value.pastSeasonName), 1)
|
|
87
87
|
]),
|
|
88
88
|
z,
|
|
89
89
|
t("div", U, [
|
|
@@ -93,7 +93,7 @@ const B = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), I = { class: "performa
|
|
|
93
93
|
"text-color": o.value.textColor,
|
|
94
94
|
color: o.value.circleTwoColor
|
|
95
95
|
}, null, 8, ["value", "text-color", "color"]),
|
|
96
|
-
t("div", q,
|
|
96
|
+
t("div", q, i(o.value.currentSeasonName), 1)
|
|
97
97
|
])
|
|
98
98
|
])
|
|
99
99
|
])
|
|
@@ -102,7 +102,7 @@ const B = (e) => (x("data-v-4dfe79fb"), e = e(), S(), e), I = { class: "performa
|
|
|
102
102
|
}, 16, ["show-videos"])
|
|
103
103
|
], 4));
|
|
104
104
|
}
|
|
105
|
-
}, K = /* @__PURE__ */
|
|
105
|
+
}, K = /* @__PURE__ */ V(A, [["__scopeId", "data-v-4dfe79fb"]]);
|
|
106
106
|
export {
|
|
107
107
|
K as default
|
|
108
108
|
};
|
package/dist/{CardIndividualSaves-Co35mxDZ-DhVjkPx2.js → CardIndividualSaves-j_epfoNL-B2sE6QGA.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useCssVars as y, computed as h, openBlock as l, createElementBlock as s, normalizeStyle as F, createBlock as M, mergeProps as S, withCtx as C, createElementVNode as e, toDisplayString as p, createCommentVNode as n, createVNode as
|
|
2
|
-
import {
|
|
3
|
-
import { b as x } from "./CardBase-
|
|
4
|
-
import { j as T, $ as V, H as z,
|
|
5
|
-
const
|
|
1
|
+
import { useCssVars as y, computed as h, openBlock as l, createElementBlock as s, normalizeStyle as F, createBlock as M, mergeProps as S, withCtx as C, createElementVNode as e, toDisplayString as p, createCommentVNode as n, createVNode as B, pushScopeId as j, popScopeId as A } from "vue";
|
|
2
|
+
import { d as $ } from "./CardBaseAllIndividual-CZ_3lxWf-CiOPAnOV.js";
|
|
3
|
+
import { b as x } from "./CardBase-BCSIUbwa-D0QHJaVZ.js";
|
|
4
|
+
import { j as T, $ as V, H as z, B as D, R as I } from "./index-DN5VzqV1.js";
|
|
5
|
+
const f = {
|
|
6
6
|
props: {
|
|
7
7
|
position: {
|
|
8
8
|
type: String,
|
|
@@ -19,34 +19,34 @@ const m = {
|
|
|
19
19
|
}
|
|
20
20
|
}, w = () => {
|
|
21
21
|
y((o) => ({
|
|
22
|
-
"
|
|
22
|
+
"6fa1ffec": o.color
|
|
23
23
|
}));
|
|
24
|
-
}, _ =
|
|
25
|
-
|
|
26
|
-
const r = (o) => (j("data-v-
|
|
24
|
+
}, _ = f.setup;
|
|
25
|
+
f.setup = _ ? (o, t) => (w(), _(o, t)) : w;
|
|
26
|
+
const r = (o) => (j("data-v-f0ac71da"), o = o(), A(), o), N = { class: "saves-element-container" }, E = { class: "saves-element-box" }, H = {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "small-box"
|
|
29
|
-
},
|
|
29
|
+
}, q = {
|
|
30
30
|
key: 0,
|
|
31
31
|
width: "28",
|
|
32
32
|
height: "31",
|
|
33
33
|
viewBox: "0 0 28 31",
|
|
34
34
|
fill: "none",
|
|
35
35
|
xmlns: "http://www.w3.org/2000/svg"
|
|
36
|
-
},
|
|
36
|
+
}, J = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
|
|
37
37
|
d: "M10.23.878h7.482",
|
|
38
38
|
stroke: "#fff",
|
|
39
39
|
"stroke-width": "1.746",
|
|
40
40
|
"stroke-linecap": "round"
|
|
41
|
-
}, null, -1)),
|
|
41
|
+
}, null, -1)), P = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
|
|
42
42
|
cx: "13.972",
|
|
43
43
|
cy: "17.089",
|
|
44
44
|
fill: "#DE2531",
|
|
45
45
|
r: "12.47"
|
|
46
|
-
}, null, -1)),
|
|
46
|
+
}, null, -1)), R = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
|
|
47
47
|
d: "M26.442 17.09a12.47 12.47 0 0 0-12.47-12.47v12.47h12.47z",
|
|
48
48
|
fill: "#fff"
|
|
49
|
-
}, null, -1)),
|
|
49
|
+
}, null, -1)), U = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
|
|
50
50
|
cx: "13.972",
|
|
51
51
|
cy: "17.089",
|
|
52
52
|
stroke: "#fff",
|
|
@@ -54,12 +54,12 @@ const r = (o) => (j("data-v-d2968adb"), o = o(), A(), o), N = { class: "saves-el
|
|
|
54
54
|
"stroke-linecap": "round",
|
|
55
55
|
"stroke-linejoin": "round",
|
|
56
56
|
r: "12.47"
|
|
57
|
-
}, null, -1)),
|
|
58
|
-
q,
|
|
57
|
+
}, null, -1)), L = [
|
|
59
58
|
J,
|
|
60
59
|
P,
|
|
61
|
-
R
|
|
62
|
-
|
|
60
|
+
R,
|
|
61
|
+
U
|
|
62
|
+
], O = {
|
|
63
63
|
key: 1,
|
|
64
64
|
width: "28",
|
|
65
65
|
height: "31",
|
|
@@ -103,8 +103,8 @@ function st(o, t, a, u, d, i) {
|
|
|
103
103
|
return l(), s("div", N, [
|
|
104
104
|
e("div", E, [
|
|
105
105
|
a.position === "first" || a.position === "second" ? (l(), s("div", H, [
|
|
106
|
-
a.position == "first" ? (l(), s("svg",
|
|
107
|
-
a.position == "second" ? (l(), s("svg",
|
|
106
|
+
a.position == "first" ? (l(), s("svg", q, L)) : n("", !0),
|
|
107
|
+
a.position == "second" ? (l(), s("svg", O, X)) : n("", !0)
|
|
108
108
|
])) : n("", !0),
|
|
109
109
|
e("div", Y, [
|
|
110
110
|
e("div", Z, [
|
|
@@ -149,13 +149,13 @@ function st(o, t, a, u, d, i) {
|
|
|
149
149
|
])
|
|
150
150
|
]);
|
|
151
151
|
}
|
|
152
|
-
const nt = /* @__PURE__ */ x(
|
|
152
|
+
const nt = /* @__PURE__ */ x(f, [["render", st], ["__scopeId", "data-v-f0ac71da"]]), dt = { class: "card-general__body" }, ct = { class: "text-container-saves" }, ut = {
|
|
153
153
|
key: 0,
|
|
154
154
|
class: "title-saves"
|
|
155
155
|
}, ht = {
|
|
156
156
|
key: 1,
|
|
157
157
|
class: "subtitle-saves"
|
|
158
|
-
}, pt = { class: "saves-box" },
|
|
158
|
+
}, pt = { class: "saves-box" }, ft = {
|
|
159
159
|
__name: "CardIndividualSaves",
|
|
160
160
|
props: {
|
|
161
161
|
height: {
|
|
@@ -181,16 +181,16 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"
|
|
|
181
181
|
},
|
|
182
182
|
setup(o) {
|
|
183
183
|
y((i) => ({
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
"
|
|
184
|
+
"6b6e99a2": (t.data.subtitle, "100%"),
|
|
185
|
+
c18ddf60: t.data.thumbnails.colors.font_color_header,
|
|
186
|
+
"34fde386": t.data.subtitle ? "100%" : "78%"
|
|
187
187
|
}));
|
|
188
188
|
const t = o, a = h(() => ({
|
|
189
189
|
"--height": t.height,
|
|
190
190
|
"--width": t.width,
|
|
191
191
|
"--footer-background-color": t.data.thumbnails.colors.background_color_cards || "#000000"
|
|
192
192
|
})), u = h(() => {
|
|
193
|
-
var i, c, k,
|
|
193
|
+
var i, c, m, k, v, b, g;
|
|
194
194
|
return {
|
|
195
195
|
height: t.height,
|
|
196
196
|
width: t.width,
|
|
@@ -199,7 +199,7 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"
|
|
|
199
199
|
teamLogoUrl: V(t.data.team_id || "") || "",
|
|
200
200
|
cardColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
201
201
|
backgroundImageSrc: z(
|
|
202
|
-
(
|
|
202
|
+
(k = (m = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : m.background_player_in_action) != null && k[0] ? t.data.thumbnails.images.background_player_in_action[0] : (g = (b = (v = t.data) == null ? void 0 : v.thumbnails) == null ? void 0 : b.images) != null && g.background_team ? t.data.thumbnails.images.background_team : ""
|
|
203
203
|
),
|
|
204
204
|
textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
205
205
|
footerBodyData: {
|
|
@@ -224,7 +224,7 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"
|
|
|
224
224
|
class: "card-general",
|
|
225
225
|
style: F(a.value)
|
|
226
226
|
}, [
|
|
227
|
-
u.value ? (l(), M(
|
|
227
|
+
u.value ? (l(), M($, S({ key: 0 }, u.value, {
|
|
228
228
|
width: o.width,
|
|
229
229
|
"show-videos": o.showVideos
|
|
230
230
|
}), {
|
|
@@ -235,7 +235,7 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"
|
|
|
235
235
|
d.value.subtitle ? (l(), s("p", ht, p(d.value.subtitle), 1)) : n("", !0)
|
|
236
236
|
]),
|
|
237
237
|
e("div", pt, [
|
|
238
|
-
|
|
238
|
+
B(nt, {
|
|
239
239
|
color: t.data.thumbnails.colors.graphic_color,
|
|
240
240
|
position: o.data.header.show_icon == 1 ? o.data.header.icon : "",
|
|
241
241
|
stat: o.data.total
|
|
@@ -247,7 +247,7 @@ const nt = /* @__PURE__ */ x(m, [["render", st], ["__scopeId", "data-v-d2968adb"
|
|
|
247
247
|
}, 16, ["width", "show-videos"])) : n("", !0)
|
|
248
248
|
], 4));
|
|
249
249
|
}
|
|
250
|
-
}, gt = /* @__PURE__ */ x(
|
|
250
|
+
}, gt = /* @__PURE__ */ x(ft, [["__scopeId", "data-v-3f616b48"]]);
|
|
251
251
|
export {
|
|
252
252
|
gt as default
|
|
253
253
|
};
|