@golstats/gsc-landing 1.0.195 → 1.0.197
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-Din4dnnE-9r_ZQ2PD.js → CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js} +68 -69
- package/dist/{CardGeneral-70CyP1c9-DZjdnAqP.js → CardGeneral-DyOdaEFZ-DVY9vI50.js} +29 -30
- package/dist/{CardGeneralIndividual-CFAG9SL3-BG4lUe_F.js → CardGeneralIndividual-DaONNIwT-WoYrg7O0.js} +22 -23
- package/dist/{CardGeneralTeams-C1b59sT7-DG5cs-Tg.js → CardGeneralTeams-CCfSIg5--ycGF0WJl.js} +35 -36
- package/dist/{CardIndividual-BVJEvLuq-_PhgZvaJ.js → CardIndividual-B5YHR_4X-DC-zfHLx.js} +69 -70
- package/dist/{CardIndividual1vs1-BEIdhWs1-BvsUVyut.js → CardIndividual1vs1-DEBY4dbB-V3PJhhY7.js} +8 -9
- package/dist/{CardIndividualAreas-T43vItFr-Ge11BS0-.js → CardIndividualAreas-D9mHXjfS-DrA6YV1T.js} +56 -56
- package/dist/{CardIndividualCenters-fZNKbbXo-CBcfzVIG.js → CardIndividualCenters-DeGyy9wB-BftpRpCL.js} +108 -108
- package/dist/{CardIndividualDistance-CcU2Vbnx-BA0WjvGk.js → CardIndividualDistance-jUf26hS9-BTaa0gSa.js} +14 -15
- package/dist/{CardIndividualFouls-BYcKqeFK-Cje2Mt8Z.js → CardIndividualFouls-DF0AvPys-C61mrpb7.js} +119 -119
- package/dist/{CardIndividualGoalParticipation-yPoWp2QU-CzPvpOTY.js → CardIndividualGoalParticipation-CGVwsTkf-BsIXMNqX.js} +21 -22
- package/dist/{CardIndividualGoals-C69mSV2s-D6_1_Ya_.js → CardIndividualGoals-CjrXz7Zv-Cg_lAqNg.js} +177 -177
- package/dist/{CardIndividualGold-BxCrvpoF-DAinsnlx.js → CardIndividualGold-Cp8DsHVJ-nOXX6qdb.js} +32 -33
- package/dist/{CardIndividualNoGoalReceived-CqVz1A2y-2wvhoRRn.js → CardIndividualNoGoalReceived-BNjVlC0Z-BtnbjfPl.js} +18 -19
- package/dist/{CardIndividualPerformance-JjUTmJQy-BKKJWuAj.js → CardIndividualPerformance-kbuWBDcK-CWDHQrku.js} +32 -33
- package/dist/{CardIndividualSaves-DEvTL6Uw-ExU597Jv.js → CardIndividualSaves-BTCuv2ld-BJ7OrOnW.js} +13 -14
- package/dist/{CardIndividualShotsOnGoal-BxwPL-4b-CjB-aDIc.js → CardIndividualShotsOnGoal-B6fysQZQ-2WTo5bAB.js} +68 -59
- package/dist/{CardIndividualStatistics-DQRVwOUb-BM8QzAyt.js → CardIndividualStatistics-B7vL_L1s-BYMwjEJD.js} +13 -14
- package/dist/{CardPromTournament-HcWvduRV-DarShqZA.js → CardPromTournament-DMe6axFO-DWI8msi-.js} +31 -32
- package/dist/{CardSuccessfulPasses-D9ZpWlLr-DVijdVau.js → CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js} +9 -10
- package/dist/{CardTheMostProductive-CNNFBK3--EbF2Re03.js → CardTheMostProductive-CDDFIo-I-LQ50NbB5.js} +14 -15
- package/dist/CircleWithDotsBig-5eFuZwDk-n956nNzk.js +151 -0
- package/dist/{Shield-COMdrYaO-CimHKi7p.js → Shield-0VkASyDI-Cm8rtKBS.js} +1 -1
- package/dist/gsc-landing.js +57596 -2
- package/dist/gsc-landing.umd.cjs +55 -55
- package/dist/misc-BbzSgyER-2p2XKW1m.js +168 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CircleWithDotsBig-DOPQy89I-DsMw07Qs.js +0 -91
- package/dist/index-Cf6zNZxW.js +0 -57599
- package/dist/misc-CMAhmOsp-DhvMrB3p.js +0 -163
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { computed as l, openBlock as i, createElementBlock as d, normalizeClass as c, normalizeStyle as u, createCommentVNode as s, createElementVNode as n, renderSlot as p, pushScopeId as g, popScopeId as y } from "vue";
|
|
2
|
-
import { h as b } from "./index-Cf6zNZxW.js";
|
|
3
|
-
const f = (e) => (g("data-v-2ba19cd1"), e = e(), y(), e), h = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "card-base__background-image"
|
|
6
|
-
}, m = ["src"], v = {
|
|
7
|
-
key: 1,
|
|
8
|
-
class: "card-base__background-overlay"
|
|
9
|
-
}, _ = { class: "card-base__slot" }, k = {
|
|
10
|
-
key: 2,
|
|
11
|
-
class: "card-base__play"
|
|
12
|
-
}, w = /* @__PURE__ */ f(() => /* @__PURE__ */ n("svg", {
|
|
13
|
-
width: "60",
|
|
14
|
-
height: "60",
|
|
15
|
-
viewBox: "0 0 60 60",
|
|
16
|
-
fill: "none",
|
|
17
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
18
|
-
}, [
|
|
19
|
-
/* @__PURE__ */ n("circle", {
|
|
20
|
-
cx: "30",
|
|
21
|
-
cy: "30",
|
|
22
|
-
r: "30",
|
|
23
|
-
fill: "#0E1E2A",
|
|
24
|
-
"fill-opacity": ".96"
|
|
25
|
-
}),
|
|
26
|
-
/* @__PURE__ */ n("circle", {
|
|
27
|
-
cx: "30",
|
|
28
|
-
cy: "30",
|
|
29
|
-
r: "26.6",
|
|
30
|
-
stroke: "#757575",
|
|
31
|
-
"stroke-width": ".8"
|
|
32
|
-
}),
|
|
33
|
-
/* @__PURE__ */ n("path", {
|
|
34
|
-
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",
|
|
35
|
-
fill: "#CBEE6B"
|
|
36
|
-
})
|
|
37
|
-
], -1)), S = [
|
|
38
|
-
w
|
|
39
|
-
], C = {
|
|
40
|
-
__name: "CardBase",
|
|
41
|
-
props: {
|
|
42
|
-
height: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: "445px"
|
|
45
|
-
},
|
|
46
|
-
width: {
|
|
47
|
-
type: String,
|
|
48
|
-
default: "319px"
|
|
49
|
-
},
|
|
50
|
-
backgroundOverlayColor: {
|
|
51
|
-
type: String,
|
|
52
|
-
default: "#000000"
|
|
53
|
-
},
|
|
54
|
-
backgroundOverlayOpacity: {
|
|
55
|
-
type: String,
|
|
56
|
-
default: "0.8"
|
|
57
|
-
},
|
|
58
|
-
backgroundImageSrc: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: ""
|
|
61
|
-
},
|
|
62
|
-
overflow: {
|
|
63
|
-
type: String,
|
|
64
|
-
default: "visible"
|
|
65
|
-
},
|
|
66
|
-
borderRadius: {
|
|
67
|
-
type: String,
|
|
68
|
-
default: "15px"
|
|
69
|
-
},
|
|
70
|
-
isPlayButtonVisible: {
|
|
71
|
-
type: Boolean,
|
|
72
|
-
default: !0
|
|
73
|
-
},
|
|
74
|
-
goldCardType: {
|
|
75
|
-
type: Number,
|
|
76
|
-
default: 0
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
setup(e) {
|
|
80
|
-
const t = e, a = l(() => ({
|
|
81
|
-
"--height": t.height,
|
|
82
|
-
"--width": t.width,
|
|
83
|
-
"--background-overlay-color": t.backgroundOverlayColor,
|
|
84
|
-
"--overflow": t.overflow,
|
|
85
|
-
"--border-radius": t.borderRadius,
|
|
86
|
-
"--background-overlay-opacity": t.backgroundOverlayOpacity,
|
|
87
|
-
"--background-gold-size": `${t.width} ${t.height}`
|
|
88
|
-
})), o = l(() => {
|
|
89
|
-
const r = [];
|
|
90
|
-
return t.goldCardType && (t.goldCardType === 1 ? r.push("gold-card-1") : t.goldCardType === 2 && r.push("gold-card-2")), r;
|
|
91
|
-
});
|
|
92
|
-
return (r, x) => (i(), d("div", {
|
|
93
|
-
class: c(["card-base", o.value]),
|
|
94
|
-
style: u(a.value)
|
|
95
|
-
}, [
|
|
96
|
-
e.goldCardType ? s("", !0) : (i(), d("div", h, [
|
|
97
|
-
e.backgroundImageSrc ? (i(), d("img", {
|
|
98
|
-
key: 0,
|
|
99
|
-
src: e.backgroundImageSrc,
|
|
100
|
-
alt: ""
|
|
101
|
-
}, null, 8, m)) : s("", !0)
|
|
102
|
-
])),
|
|
103
|
-
e.goldCardType ? s("", !0) : (i(), d("div", v)),
|
|
104
|
-
n("div", _, [
|
|
105
|
-
p(r.$slots, "default", {}, void 0, !0)
|
|
106
|
-
]),
|
|
107
|
-
e.isPlayButtonVisible ? (i(), d("div", k, S)) : s("", !0)
|
|
108
|
-
], 6));
|
|
109
|
-
}
|
|
110
|
-
}, E = /* @__PURE__ */ b(C, [["__scopeId", "data-v-2ba19cd1"]]);
|
|
111
|
-
function I(e = "") {
|
|
112
|
-
const t = e.split("");
|
|
113
|
-
let a = 1;
|
|
114
|
-
return t.reduce((o, r) => (r === "*" ? (a % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', a++) : o += r, o), "");
|
|
115
|
-
}
|
|
116
|
-
function O({ data: e, descriptionType: t }) {
|
|
117
|
-
switch (t) {
|
|
118
|
-
case 1:
|
|
119
|
-
return e.finish_first_person_description;
|
|
120
|
-
case 2:
|
|
121
|
-
return e.first_person_description;
|
|
122
|
-
case 3:
|
|
123
|
-
return e.finish_third_person_description;
|
|
124
|
-
case 4:
|
|
125
|
-
return e.third_person_description;
|
|
126
|
-
case 5:
|
|
127
|
-
return e.finish_description;
|
|
128
|
-
case 6:
|
|
129
|
-
return e.description;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
function T(e) {
|
|
133
|
-
return `https://az755631.vo.msecnd.net/teams-80/${e}.png`;
|
|
134
|
-
}
|
|
135
|
-
function $(e) {
|
|
136
|
-
return `https://az755631.vo.msecnd.net/players-profile/${e}.png`;
|
|
137
|
-
}
|
|
138
|
-
function V(e) {
|
|
139
|
-
return `https://golstatsimages.blob.core.windows.net/images-library/${e}`;
|
|
140
|
-
}
|
|
141
|
-
function N(e) {
|
|
142
|
-
if (e.includes("*")) {
|
|
143
|
-
let t = "";
|
|
144
|
-
const a = e.match(/\*(.*?)\*/);
|
|
145
|
-
return a && (t = a[1]), {
|
|
146
|
-
title: t.trim(),
|
|
147
|
-
subtitle: e.replace(/\*(.*?)\*/, "").trim()
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
return {
|
|
151
|
-
title: e,
|
|
152
|
-
subtitle: ""
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
export {
|
|
156
|
-
V as $,
|
|
157
|
-
N as A,
|
|
158
|
-
T as E,
|
|
159
|
-
E as I,
|
|
160
|
-
$ as O,
|
|
161
|
-
I as P,
|
|
162
|
-
O as z
|
|
163
|
-
};
|