@golstats/gsc-landing 1.0.194 → 1.0.196
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-BNOgnH6t-D0xjZkGw.js → CardBaseAllIndividual-Din4dnnE-BKquMV21.js} +13 -12
- package/dist/CardGeneral-70CyP1c9-BUTqFTI2.js +127 -0
- package/dist/{CardGeneralIndividual-BHjZ12n1-BvodKC3y.js → CardGeneralIndividual-CFAG9SL3-oV36_au1.js} +83 -77
- package/dist/{CardGeneralTeams-ByBEp-8b-CbLocm8U.js → CardGeneralTeams-C1b59sT7-CJ8WP8Rw.js} +151 -146
- package/dist/{CardIndividual-BR1r5B5u-DqflCygx.js → CardIndividual-BVJEvLuq-DKdRxjLS.js} +38 -37
- package/dist/CardIndividual1vs1-BEIdhWs1-Ur49YndI.js +109 -0
- package/dist/{CardIndividualAreas-qEYtV2XP-C97pNpBa.js → CardIndividualAreas-T43vItFr-BgrX5OqP.js} +22 -21
- package/dist/{CardIndividualCenters-DURH48kE-BAeLhbBk.js → CardIndividualCenters-fZNKbbXo-B5mnyhQM.js} +121 -120
- package/dist/{CardIndividualDistance-BKeSbWJ9-B6Vj1YLa.js → CardIndividualDistance-CcU2Vbnx-Dhz8NAbJ.js} +32 -31
- package/dist/{CardIndividualFouls-BqWT8Bzx-D0EDbSJl.js → CardIndividualFouls-BYcKqeFK-C31N8-qM.js} +111 -110
- package/dist/CardIndividualGoalParticipation-yPoWp2QU-C-xHyu40.js +112 -0
- package/dist/{CardIndividualGoals-CBAA7DE3-Dco1VuBc.js → CardIndividualGoals-C69mSV2s-tOjLCWoh.js} +181 -180
- package/dist/{CardIndividualGold-BBYsUCND-BhqSGl0q.js → CardIndividualGold-BxCrvpoF-C0aIBmHX.js} +28 -26
- package/dist/{CardIndividualNoGoalReceived-HaDOJruE-CKzigvOP.js → CardIndividualNoGoalReceived-CqVz1A2y-CRaVjR0-.js} +56 -55
- package/dist/CardIndividualPerformance-JjUTmJQy-DUAMj2cv.js +104 -0
- package/dist/{CardIndividualSaves-BqBRjEt7-CJBgPvne.js → CardIndividualSaves-DEvTL6Uw-B122lO1Z.js} +70 -65
- package/dist/{CardIndividualShotsOnGoal-X_3YzAE3-CbiYLtzD.js → CardIndividualShotsOnGoal-BxwPL-4b-C4O7JVrv.js} +55 -54
- package/dist/{CardIndividualStatistics-D769xisE-D2KNSIfX.js → CardIndividualStatistics-DQRVwOUb-CaDk8RJE.js} +35 -34
- package/dist/{CardPromTournament-DFGqM4we-C4dX0pKz.js → CardPromTournament-HcWvduRV-DpeWH8i8.js} +28 -27
- package/dist/{CardSuccessfulPasses-CTjMzZAt-Bv_X927S.js → CardSuccessfulPasses-D9ZpWlLr-C6iia2Ko.js} +16 -15
- package/dist/CardTheMostProductive-CNNFBK3--Qo-b7oII.js +76 -0
- package/dist/{CircleWithDotsBig-DfppYko9-BYZNX7zX.js → CircleWithDotsBig-DOPQy89I-DWZ-BBWO.js} +1 -1
- package/dist/{Shield-BjoeEr7g-C7yufXoK.js → Shield-COMdrYaO-DmoFCV4h.js} +60 -55
- package/dist/gsc-landing.js +2 -57546
- package/dist/gsc-landing.umd.cjs +54 -54
- package/dist/index-BRCKRHng.js +57605 -0
- package/dist/misc-CMAhmOsp-DmS1M3b6.js +163 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CardGeneral-D2PYPb95-DycFnfDS.js +0 -116
- package/dist/CardIndividual1vs1-DPov_cGc-DtWs-qcq.js +0 -487
- package/dist/CardIndividualGoalParticipation-CRBepIcB-CBc1Wh03.js +0 -108
- package/dist/CardIndividualPerformance-CEPnHtE9-Da4MXSxk.js +0 -99
- package/dist/CardTheMostProductive-DzbDtzZn-Dewb8MoQ.js +0 -74
- package/dist/misc-BJvl3Yld-2p2XKW1m.js +0 -168
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { computed as e, openBlock as i, createElementBlock as r, normalizeStyle as g, createVNode as F, normalizeProps as y, guardReactiveProps as b, withCtx as f, createElementVNode as o, toDisplayString as C, pushScopeId as w, popScopeId as x } from "vue";
|
|
2
|
-
import { d as k } from "./CardBaseAllIndividual-BNOgnH6t-D0xjZkGw.js";
|
|
3
|
-
import { h as z, z as M, P, E as S, I as T, O as I } from "./misc-BJvl3Yld-2p2XKW1m.js";
|
|
4
|
-
import { w as E } from "./CircleWithDotsBig-DfppYko9-BYZNX7zX.js";
|
|
5
|
-
const B = (l) => (w("data-v-4d8d2054"), l = l(), x(), l), L = { class: "goal-participation__body__data" }, N = {
|
|
6
|
-
width: "35",
|
|
7
|
-
height: "47",
|
|
8
|
-
viewBox: "0 0 35 47",
|
|
9
|
-
fill: "none",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
-
}, D = ["fill"], U = ["stroke"], V = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "goal-participation__body__data__percent"
|
|
14
|
-
}, G = {
|
|
15
|
-
key: 1,
|
|
16
|
-
class: "goal-participation__body__data__total"
|
|
17
|
-
}, H = /* @__PURE__ */ B(() => /* @__PURE__ */ o("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(l) {
|
|
38
|
-
const t = l, v = e(() => {
|
|
39
|
-
var d, n, s, p, u, _, m, h;
|
|
40
|
-
return {
|
|
41
|
-
height: t.height,
|
|
42
|
-
width: t.width,
|
|
43
|
-
footerHeight: "137px",
|
|
44
|
-
playerPhotoUrl: M(t.data.player_id || ""),
|
|
45
|
-
teamLogoUrl: P(t.data.team_id || ""),
|
|
46
|
-
cardColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
47
|
-
backgroundImageSrc: S((p = (s = (n = (d = t.data) == null ? void 0 : d.thumbnails) == null ? void 0 : n.images) == null ? void 0 : s.background_player_in_action) != null && p[0] ? t.data.thumbnails.images.background_player_in_action[0] : (h = (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) == null ? void 0 : m.team_in_action) != null && h[0] ? t.data.thumbnails.images.team_in_action[0] : ""),
|
|
48
|
-
footerBodyData: {
|
|
49
|
-
description: T(I({ data: t.data, descriptionType: t.descriptionType })),
|
|
50
|
-
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
}), a = e(() => ({
|
|
54
|
-
isTotalPercentage: t.data.footer.is_percentage,
|
|
55
|
-
iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
56
|
-
total: t.data.total,
|
|
57
|
-
totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
58
|
-
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
59
|
-
}));
|
|
60
|
-
e(() => t.data.id);
|
|
61
|
-
const c = e(() => ({
|
|
62
|
-
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
63
|
-
"--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
64
|
-
}));
|
|
65
|
-
return (d, n) => (i(), r("div", {
|
|
66
|
-
class: "goal-participation",
|
|
67
|
-
style: g(c.value)
|
|
68
|
-
}, [
|
|
69
|
-
F(k, y(b(v.value)), {
|
|
70
|
-
body: f(() => [
|
|
71
|
-
o("div", {
|
|
72
|
-
class: "goal-participation__body",
|
|
73
|
-
style: g(c.value)
|
|
74
|
-
}, [
|
|
75
|
-
o("div", L, [
|
|
76
|
-
(i(), r("svg", N, [
|
|
77
|
-
o("path", {
|
|
78
|
-
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",
|
|
79
|
-
fill: a.value.iconColor
|
|
80
|
-
}, null, 8, D),
|
|
81
|
-
o("path", {
|
|
82
|
-
opacity: ".5",
|
|
83
|
-
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",
|
|
84
|
-
stroke: a.value.iconColor,
|
|
85
|
-
"stroke-width": "1.458"
|
|
86
|
-
}, null, 8, U)
|
|
87
|
-
])),
|
|
88
|
-
a.value.isTotalPercentage ? (i(), r("div", V, [
|
|
89
|
-
F(E, {
|
|
90
|
-
"text-color": a.value.totalTextColor,
|
|
91
|
-
color: a.value.totalCircleColor,
|
|
92
|
-
value: a.value.total
|
|
93
|
-
}, null, 8, ["text-color", "color", "value"])
|
|
94
|
-
])) : (i(), r("div", G, [
|
|
95
|
-
o("div", null, C(t.data.total), 1)
|
|
96
|
-
]))
|
|
97
|
-
]),
|
|
98
|
-
H
|
|
99
|
-
], 4)
|
|
100
|
-
]),
|
|
101
|
-
_: 1
|
|
102
|
-
}, 16)
|
|
103
|
-
], 4));
|
|
104
|
-
}
|
|
105
|
-
}, $ = /* @__PURE__ */ z(O, [["__scopeId", "data-v-4d8d2054"]]);
|
|
106
|
-
export {
|
|
107
|
-
$ as default
|
|
108
|
-
};
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { computed as i, openBlock as h, createElementBlock as y, normalizeStyle as F, createVNode as c, normalizeProps as g, guardReactiveProps as x, withCtx as S, createElementVNode as o, toDisplayString as d, pushScopeId as C, popScopeId as T } from "vue";
|
|
2
|
-
import { d as w } from "./CardBaseAllIndividual-BNOgnH6t-D0xjZkGw.js";
|
|
3
|
-
import { h as k, z as I, E as N, I as O, O as P, $ as z } from "./misc-BJvl3Yld-2p2XKW1m.js";
|
|
4
|
-
import { w as b } from "./CircleWithDotsBig-DfppYko9-BYZNX7zX.js";
|
|
5
|
-
const E = (e) => (C("data-v-8fb0534d"), e = e(), T(), e), $ = { class: "performance__body" }, B = { class: "performance__body__title-sub" }, V = { class: "performance__body__title-sub__title" }, j = { class: "performance__body__title-sub__sub" }, D = { class: "performance__body__data" }, H = { class: "performance__body__data__total-season" }, R = { class: "performance__body__data__total-season__season" }, U = /* @__PURE__ */ E(() => /* @__PURE__ */ o("span", { class: "arrow" }, "→", -1)), q = { class: "performance__body__data__total-season" }, A = { class: "performance__body__data__total-season__season" }, G = {
|
|
6
|
-
__name: "CardIndividualPerformance",
|
|
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
|
-
},
|
|
21
|
-
setup(e) {
|
|
22
|
-
const a = e, f = i(() => {
|
|
23
|
-
var l, r, s, n, _, u, m, p;
|
|
24
|
-
return {
|
|
25
|
-
height: a.height,
|
|
26
|
-
width: a.width,
|
|
27
|
-
footerHeight: "fit-content",
|
|
28
|
-
playerPhotoPositionTop: "24px",
|
|
29
|
-
playerPhotoUrl: I(a.data.player_id || ""),
|
|
30
|
-
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
31
|
-
backgroundImageSrc: a.data.thumbnails.images ? N((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 = (m = (u = (_ = a.data) == null ? void 0 : _.thumbnails) == null ? void 0 : u.images) == null ? void 0 : m.team_in_action) != null && p[0] ? a.data.thumbnails.images.team_in_action[0] : "") : "",
|
|
32
|
-
textColor: (a.data.thumbnails.colors.text_color_description || "#FFFFFF").trim(),
|
|
33
|
-
footerBodyData: {
|
|
34
|
-
description: O(P({ data: a.data, descriptionType: a.descriptionType })),
|
|
35
|
-
total: a.data.total,
|
|
36
|
-
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
}), t = i(() => {
|
|
40
|
-
const { title: l, subtitle: r } = z(a.data.title), [s, n] = a.data.totals;
|
|
41
|
-
return {
|
|
42
|
-
title: l,
|
|
43
|
-
subtitle: r,
|
|
44
|
-
pastSeasonName: n.season,
|
|
45
|
-
currentSeasonName: s.season,
|
|
46
|
-
pastSeasonTotal: n.total,
|
|
47
|
-
currentSeasonTotal: s.total,
|
|
48
|
-
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
49
|
-
circleOneColor: (a.data.thumbnails.colors.data_color_2 || "#000000").trim(),
|
|
50
|
-
circleTwoColor: (a.data.thumbnails.colors.data_color || "#000000").trim()
|
|
51
|
-
};
|
|
52
|
-
});
|
|
53
|
-
i(() => a.data.id);
|
|
54
|
-
const v = i(() => ({
|
|
55
|
-
"--data-color": a.data.thumbnails.colors.background_color_cards || "#000000",
|
|
56
|
-
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
57
|
-
}));
|
|
58
|
-
return (l, r) => (h(), y("div", {
|
|
59
|
-
class: "performance",
|
|
60
|
-
style: F(v.value)
|
|
61
|
-
}, [
|
|
62
|
-
c(w, g(x(f.value)), {
|
|
63
|
-
body: S(() => [
|
|
64
|
-
o("div", $, [
|
|
65
|
-
o("div", B, [
|
|
66
|
-
o("div", V, d(t.value.title), 1),
|
|
67
|
-
o("div", j, d(t.value.subtitle), 1)
|
|
68
|
-
]),
|
|
69
|
-
o("div", D, [
|
|
70
|
-
o("div", H, [
|
|
71
|
-
c(b, {
|
|
72
|
-
value: t.value.pastSeasonTotal,
|
|
73
|
-
suffix: "",
|
|
74
|
-
"text-color": t.value.textColor,
|
|
75
|
-
color: t.value.circleOneColor
|
|
76
|
-
}, null, 8, ["value", "text-color", "color"]),
|
|
77
|
-
o("div", R, d(t.value.pastSeasonName), 1)
|
|
78
|
-
]),
|
|
79
|
-
U,
|
|
80
|
-
o("div", q, [
|
|
81
|
-
c(b, {
|
|
82
|
-
value: t.value.currentSeasonTotal,
|
|
83
|
-
suffix: "",
|
|
84
|
-
"text-color": t.value.textColor,
|
|
85
|
-
color: t.value.circleTwoColor
|
|
86
|
-
}, null, 8, ["value", "text-color", "color"]),
|
|
87
|
-
o("div", A, d(t.value.currentSeasonName), 1)
|
|
88
|
-
])
|
|
89
|
-
])
|
|
90
|
-
])
|
|
91
|
-
]),
|
|
92
|
-
_: 1
|
|
93
|
-
}, 16)
|
|
94
|
-
], 4));
|
|
95
|
-
}
|
|
96
|
-
}, L = /* @__PURE__ */ k(G, [["__scopeId", "data-v-8fb0534d"]]);
|
|
97
|
-
export {
|
|
98
|
-
L as default
|
|
99
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { computed as d, openBlock as h, createElementBlock as b, createVNode as s, normalizeProps as f, guardReactiveProps as y, withCtx as v, createElementVNode as m, normalizeStyle as F, pushScopeId as x, popScopeId as S } from "vue";
|
|
2
|
-
import { d as k } from "./CardBaseAllIndividual-BNOgnH6t-D0xjZkGw.js";
|
|
3
|
-
import { H as C } from "./Shield-BjoeEr7g-C7yufXoK.js";
|
|
4
|
-
import { h as I, E as p, I as P, O as w, P as B, z as T } from "./misc-BJvl3Yld-2p2XKW1m.js";
|
|
5
|
-
const z = (o) => (x("data-v-0071418d"), o = o(), S(), o), A = { class: "productive" }, D = /* @__PURE__ */ z(() => /* @__PURE__ */ m("div", { class: "productive__body__title" }, " MÁS Productivo ", -1)), E = {
|
|
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(o) {
|
|
26
|
-
const e = o, _ = d(() => {
|
|
27
|
-
var a, t, r, l, n, u, c;
|
|
28
|
-
return {
|
|
29
|
-
height: e.height,
|
|
30
|
-
width: e.width,
|
|
31
|
-
footerHeight: "112px",
|
|
32
|
-
cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
33
|
-
backgroundImageSrc: p((l = (r = (t = (a = e.data) == null ? void 0 : a.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.background_player_in_action) != null && l[0] ? e.data.thumbnails.images.background_player_in_action[0] : (c = (u = (n = e.data) == null ? void 0 : n.thumbnails) == null ? void 0 : u.images) != null && c.background_team ? e.data.thumbnails.images.background_team : ""),
|
|
34
|
-
footerBodyData: {
|
|
35
|
-
description: P(w({ data: e.data, descriptionType: e.descriptionType })),
|
|
36
|
-
textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
}), i = d(() => {
|
|
40
|
-
var a, t, r, l;
|
|
41
|
-
const n = !!((l = (r = (t = (a = e.data) == null ? void 0 : a.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.player_in_action) != null && l[0]);
|
|
42
|
-
return {
|
|
43
|
-
teamLogoUrl: B(e.data.team_id || ""),
|
|
44
|
-
playerInActionSrc: n ? p(e.data.thumbnails.images.player_in_action[0]) : T(e.data.player_id || ""),
|
|
45
|
-
shieldColor: (e.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
|
|
46
|
-
translate: n ? "-42px -8px" : "-42px -30px"
|
|
47
|
-
};
|
|
48
|
-
}), g = d(() => ({
|
|
49
|
-
"--title-color": (e.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
50
|
-
}));
|
|
51
|
-
return (a, t) => (h(), b("div", A, [
|
|
52
|
-
s(k, f(y(_.value)), {
|
|
53
|
-
body: v(() => [
|
|
54
|
-
m("div", {
|
|
55
|
-
class: "productive__body",
|
|
56
|
-
style: F(g.value)
|
|
57
|
-
}, [
|
|
58
|
-
D,
|
|
59
|
-
s(C, {
|
|
60
|
-
"team-logo-src": i.value.teamLogoUrl,
|
|
61
|
-
"inner-image-src": i.value.playerInActionSrc,
|
|
62
|
-
color: i.value.shieldColor,
|
|
63
|
-
"inner-image-translate": i.value.translate
|
|
64
|
-
}, null, 8, ["team-logo-src", "inner-image-src", "color", "inner-image-translate"])
|
|
65
|
-
], 4)
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}, 16)
|
|
69
|
-
]));
|
|
70
|
-
}
|
|
71
|
-
}, H = /* @__PURE__ */ I(E, [["__scopeId", "data-v-0071418d"]]);
|
|
72
|
-
export {
|
|
73
|
-
H as default
|
|
74
|
-
};
|
|
@@ -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
|
-
};
|