@golstats/gsc-relevant-data 1.1.1 → 1.1.3
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-BNBUZGU7-CQL3FKH4.js → CardBase-LHalf2V1-DH_4cIUy.js} +52 -43
- package/dist/{CardBaseAllIndividual-D5JoiQqR-DWvua8kU.js → CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js} +7 -7
- package/dist/{CardGeneral-DTteAML4-BoCp5vlA.js → CardGeneral-eo3knIIA-DiSDBUxd.js} +139 -135
- package/dist/{CardGeneralIndividual-D-FKsjFO-DmczWq_i.js → CardGeneralIndividual-CAzGqXtP-CKucAqIc.js} +97 -93
- package/dist/{CardGeneralTeams-C0Z5qzcM-Bh5TOCqP.js → CardGeneralTeams-uDvy9Z7o-4o1o3rmK.js} +226 -222
- package/dist/{CardIndividual-BhPQqGlc-CejXGqdX.js → CardIndividual-BKTMzciS-CVYDhxcW.js} +61 -57
- package/dist/{CardIndividual1vs1-QeAXN4f--v6tZgRnG.js → CardIndividual1vs1-DnPVKDmp-DnamlHEl.js} +47 -43
- package/dist/{CardIndividualAreas-CHLqS1mw-PZoijJ8r.js → CardIndividualAreas-D5l7k_ww-DUXH6N-P.js} +61 -57
- package/dist/{CardIndividualCenters-hEROPxzH-CtlPKP5Y.js → CardIndividualCenters-BqtSPfOh-CHUdOS1l.js} +41 -37
- package/dist/{CardIndividualDistance-BQ8zwHOn-CA5xiYDZ.js → CardIndividualDistance-DjbQVGp0-BG1JjZiV.js} +26 -22
- package/dist/{CardIndividualFouls-ChdbYcE_-B40KY0oC.js → CardIndividualFouls-C-mzTK7G-Cog70HZW.js} +36 -32
- package/dist/{CardIndividualGoalParticipation-B9xqQ51i-OsxCuASk.js → CardIndividualGoalParticipation-DvGAjbsL-GeLVQIHO.js} +26 -22
- package/dist/{CardIndividualGoals-BtqVuDiw-Bq-a1M0D.js → CardIndividualGoals-CMC_PTbH-BamdFgox.js} +41 -37
- package/dist/{CardIndividualGold-BLT3Mk27-CaeXji6h.js → CardIndividualGold-D_-tb2Tk-DHL-TpvC.js} +23 -19
- package/dist/{CardIndividualNoGoalReceived-DJoQF9wO-Dxf13B0V.js → CardIndividualNoGoalReceived-DQSO9Yd2-D3O-ZUsH.js} +38 -34
- package/dist/{CardIndividualPerformance-lhPwEGlm-B7WXzM3P.js → CardIndividualPerformance-zyTJ5UCy-DF-f26EN.js} +31 -27
- package/dist/{CardIndividualSaves-CVjR2-WK-DUwpE6Cq.js → CardIndividualSaves-BecZ6U_G-nCSJXu1D.js} +56 -51
- package/dist/{CardIndividualShotsOnGoal-BHHi894T-B--B6LCk.js → CardIndividualShotsOnGoal-C7aZbXYB-CIQP7Eui.js} +61 -57
- package/dist/{CardIndividualStatistics-C-kaGAYd-rITqUEcS.js → CardIndividualStatistics-C20JRZ7J-Ft1l0Wp0.js} +31 -27
- package/dist/{CardPromTournament-BFRTPeVe-DyS-zRNp.js → CardPromTournament-BuPsC06q-BiAAvgkF.js} +50 -46
- package/dist/{CardSuccessfulPasses-C_L5d6hy-BH3ayI_z.js → CardSuccessfulPasses-BlTLO_xO-CqjTwJQB.js} +92 -88
- package/dist/{CardTheMostProductive-BBt8B_sf-CljO4w32.js → CardTheMostProductive-CSBkS-Z_-DFac0hnk.js} +26 -22
- package/dist/{PlayerProfileCircle-CJTiOj5E-C-JYhyfq.js → PlayerProfileCircle-DPjdqyyS-vdPCwx6y.js} +6 -6
- package/dist/{Shield-If5I91AC-A8wl9qI_.js → Shield-CfA9mcrj-w0qszHpb.js} +10 -10
- package/dist/{TimeSvg-B3vSNjgQ-C-C9O8pw.js → TimeSvg-B3vSNjgQ-BbQ6V9Cu.js} +3 -3
- package/dist/{TimeSvg2-BX0bDokD-DUAW7DAH.js → TimeSvg2-BX0bDokD-BWiiXdSp.js} +3 -3
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +1 -1
- package/dist/gsc-relevant-data.umd.cjs +9 -6
- package/dist/{index-CSLdtYfE.js → index-DpIUU483.js} +2382 -1810
- package/package.json +2 -2
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import {
|
|
3
|
-
function
|
|
1
|
+
import { computed as u, openBlock as s, createElementBlock as n, normalizeStyle as y, normalizeClass as f, createCommentVNode as c, createElementVNode as l, renderSlot as b, pushScopeId as h, popScopeId as m } from "vue";
|
|
2
|
+
import { O as w } from "./index-DpIUU483.js";
|
|
3
|
+
function p(t, e) {
|
|
4
|
+
if (!e || e <= 1)
|
|
5
|
+
return t;
|
|
6
|
+
const r = new URL(t), o = r.pathname.split("/").filter((g) => g !== "");
|
|
7
|
+
if (o.length === 0)
|
|
8
|
+
return t;
|
|
9
|
+
const [a, ...i] = o, d = [a, e, ...i].join("/");
|
|
10
|
+
return `${r.origin}/${d}${r.search}`;
|
|
11
|
+
}
|
|
12
|
+
function I(t = "") {
|
|
4
13
|
const e = t.split("");
|
|
5
14
|
let r = 1;
|
|
6
15
|
return e.reduce((o, a) => (a === "*" ? (r % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', r++) : o += a, o), "");
|
|
@@ -21,16 +30,16 @@ function T({ data: t, descriptionType: e }) {
|
|
|
21
30
|
return t.description;
|
|
22
31
|
}
|
|
23
32
|
}
|
|
24
|
-
function
|
|
25
|
-
return `https://golstatsimages.blob.core.windows.net/teams-80/${t}.png
|
|
33
|
+
function z(t, e = 1) {
|
|
34
|
+
return p(`https://golstatsimages.blob.core.windows.net/teams-80/${t}.png`, e);
|
|
26
35
|
}
|
|
27
|
-
function
|
|
28
|
-
return `https://golstatsimages.blob.core.windows.net/players-profile/${t}.png
|
|
36
|
+
function A(t, e = 1) {
|
|
37
|
+
return p(`https://golstatsimages.blob.core.windows.net/players-profile/${t}.png`, e);
|
|
29
38
|
}
|
|
30
|
-
function
|
|
31
|
-
return `https://golstatsimages.blob.core.windows.net/images-library/${t}`;
|
|
39
|
+
function R(t, e) {
|
|
40
|
+
return !e || e <= 1 ? `https://golstatsimages.blob.core.windows.net/images-library/${t}` : `https://golstatsimages.blob.core.windows.net/images-library/${e}/${t}`;
|
|
32
41
|
}
|
|
33
|
-
function
|
|
42
|
+
function N(t) {
|
|
34
43
|
if (t.includes("*")) {
|
|
35
44
|
let e = "";
|
|
36
45
|
const r = t.match(/\*(.*?)\*/);
|
|
@@ -44,45 +53,45 @@ function A(t) {
|
|
|
44
53
|
subtitle: ""
|
|
45
54
|
};
|
|
46
55
|
}
|
|
47
|
-
const
|
|
56
|
+
const v = (t, e) => {
|
|
48
57
|
const r = t.__vccOpts || t;
|
|
49
58
|
for (const [o, a] of e)
|
|
50
59
|
r[o] = a;
|
|
51
60
|
return r;
|
|
52
|
-
},
|
|
61
|
+
}, _ = (t) => (h("data-v-03a48352"), t = t(), m(), t), k = {
|
|
53
62
|
key: 0,
|
|
54
63
|
class: "card-base__background-image"
|
|
55
|
-
},
|
|
64
|
+
}, S = ["src"], C = {
|
|
56
65
|
key: 1,
|
|
57
66
|
class: "card-base__background-overlay"
|
|
58
|
-
},
|
|
67
|
+
}, $ = { class: "card-base__slot" }, x = /* @__PURE__ */ _(() => /* @__PURE__ */ l("svg", {
|
|
59
68
|
width: "60",
|
|
60
69
|
height: "60",
|
|
61
70
|
viewBox: "0 0 60 60",
|
|
62
71
|
fill: "none",
|
|
63
72
|
xmlns: "http://www.w3.org/2000/svg"
|
|
64
73
|
}, [
|
|
65
|
-
/* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ l("circle", {
|
|
66
75
|
cx: "30",
|
|
67
76
|
cy: "30",
|
|
68
77
|
r: "30",
|
|
69
78
|
fill: "#0E1E2A",
|
|
70
79
|
"fill-opacity": ".96"
|
|
71
80
|
}),
|
|
72
|
-
/* @__PURE__ */
|
|
81
|
+
/* @__PURE__ */ l("circle", {
|
|
73
82
|
cx: "30",
|
|
74
83
|
cy: "30",
|
|
75
84
|
r: "26.6",
|
|
76
85
|
stroke: "#757575",
|
|
77
86
|
"stroke-width": ".8"
|
|
78
87
|
}),
|
|
79
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ l("path", {
|
|
80
89
|
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",
|
|
81
90
|
fill: "#CBEE6B"
|
|
82
91
|
})
|
|
83
|
-
], -1)),
|
|
84
|
-
|
|
85
|
-
],
|
|
92
|
+
], -1)), B = [
|
|
93
|
+
x
|
|
94
|
+
], O = {
|
|
86
95
|
__name: "CardBase",
|
|
87
96
|
props: {
|
|
88
97
|
height: {
|
|
@@ -131,7 +140,7 @@ const h = (t, e) => {
|
|
|
131
140
|
}
|
|
132
141
|
},
|
|
133
142
|
setup(t) {
|
|
134
|
-
const e = t, r =
|
|
143
|
+
const e = t, r = u(() => ({
|
|
135
144
|
"--height": e.height,
|
|
136
145
|
"--width": e.width,
|
|
137
146
|
"--background-overlay-color": e.backgroundOverlayColor,
|
|
@@ -139,43 +148,43 @@ const h = (t, e) => {
|
|
|
139
148
|
"--border-radius": e.borderRadius,
|
|
140
149
|
"--background-overlay-opacity": e.backgroundOverlayOpacity,
|
|
141
150
|
"--background-gold-size": `${e.width} ${e.height}`
|
|
142
|
-
})), o =
|
|
151
|
+
})), o = u(() => {
|
|
143
152
|
const i = [];
|
|
144
153
|
return e.goldCardType && (e.goldCardType === 1 ? i.push("gold-card-1") : e.goldCardType === 2 && i.push("gold-card-2")), i;
|
|
145
154
|
});
|
|
146
155
|
function a() {
|
|
147
|
-
|
|
156
|
+
w.emit(e.idAux);
|
|
148
157
|
}
|
|
149
|
-
return (i,
|
|
150
|
-
class:
|
|
151
|
-
style:
|
|
158
|
+
return (i, d) => (s(), n("div", {
|
|
159
|
+
class: f(["card-base", o.value]),
|
|
160
|
+
style: y(r.value)
|
|
152
161
|
}, [
|
|
153
|
-
t.goldCardType ? c("", !0) : (
|
|
154
|
-
t.backgroundImageSrc ? (
|
|
162
|
+
t.goldCardType ? c("", !0) : (s(), n("div", k, [
|
|
163
|
+
t.backgroundImageSrc ? (s(), n("img", {
|
|
155
164
|
key: 0,
|
|
156
165
|
src: t.backgroundImageSrc,
|
|
157
166
|
alt: ""
|
|
158
|
-
}, null, 8,
|
|
167
|
+
}, null, 8, S)) : c("", !0)
|
|
159
168
|
])),
|
|
160
|
-
t.goldCardType ? c("", !0) : (
|
|
161
|
-
|
|
162
|
-
|
|
169
|
+
t.goldCardType ? c("", !0) : (s(), n("div", C)),
|
|
170
|
+
l("div", $, [
|
|
171
|
+
b(i.$slots, "default", {}, void 0, !0)
|
|
163
172
|
]),
|
|
164
|
-
t.isPlayButtonVisible && t.showVideos ? (
|
|
173
|
+
t.isPlayButtonVisible && t.showVideos ? (s(), n("div", {
|
|
165
174
|
key: 2,
|
|
166
175
|
class: "card-base__play",
|
|
167
176
|
onClick: a
|
|
168
|
-
},
|
|
177
|
+
}, B)) : c("", !0)
|
|
169
178
|
], 6));
|
|
170
179
|
}
|
|
171
|
-
},
|
|
180
|
+
}, P = /* @__PURE__ */ v(O, [["__scopeId", "data-v-03a48352"]]);
|
|
172
181
|
export {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
182
|
+
I as A,
|
|
183
|
+
A as E,
|
|
184
|
+
N as H,
|
|
185
|
+
T as O,
|
|
186
|
+
P as R,
|
|
187
|
+
z as V,
|
|
188
|
+
v as w,
|
|
189
|
+
R as z
|
|
181
190
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { computed as i,
|
|
2
|
-
import {
|
|
1
|
+
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as H, withCtx as w, renderSlot as D, createElementVNode as r, createCommentVNode as l, normalizeClass as T, toDisplayString as n, Fragment as m, createVNode as b } from "vue";
|
|
2
|
+
import { w as k, R as P } from "./CardBase-LHalf2V1-DH_4cIUy.js";
|
|
3
3
|
const $ = { class: "circle__total" }, L = { class: "total" }, z = { class: "suffix" }, N = ["width", "height", "viewBox"], M = ["stroke"], U = ["stroke"], A = ["stop-color"], I = ["stop-color"], V = {
|
|
4
4
|
__name: "CircleWithDots",
|
|
5
5
|
props: {
|
|
@@ -92,10 +92,10 @@ const $ = { class: "circle__total" }, L = { class: "total" }, z = { class: "suff
|
|
|
92
92
|
], 8, N))
|
|
93
93
|
], 4));
|
|
94
94
|
}
|
|
95
|
-
}, S = /* @__PURE__ */ k(V, [["__scopeId", "data-v-c883293e"]]),
|
|
95
|
+
}, S = /* @__PURE__ */ k(V, [["__scopeId", "data-v-c883293e"]]), R = {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "card-base-individual__content__player-img"
|
|
98
|
-
},
|
|
98
|
+
}, O = ["src"], E = {
|
|
99
99
|
key: 1,
|
|
100
100
|
class: "card-base-individual__content__team-logo"
|
|
101
101
|
}, j = ["src"], Z = {
|
|
@@ -279,15 +279,15 @@ const $ = { class: "circle__total" }, L = { class: "total" }, z = { class: "suff
|
|
|
279
279
|
style: p(u.value),
|
|
280
280
|
class: "card-base-individual__content"
|
|
281
281
|
}, [
|
|
282
|
-
e.playerPhotoUrl ? (o(), a("div",
|
|
282
|
+
e.playerPhotoUrl ? (o(), a("div", R, [
|
|
283
283
|
r("div", null, [
|
|
284
284
|
r("img", {
|
|
285
285
|
src: e.playerPhotoUrl,
|
|
286
286
|
alt: "player"
|
|
287
|
-
}, null, 8,
|
|
287
|
+
}, null, 8, O)
|
|
288
288
|
])
|
|
289
289
|
])) : l("", !0),
|
|
290
|
-
e.teamLogoUrl ? (o(), a("div",
|
|
290
|
+
e.teamLogoUrl ? (o(), a("div", E, [
|
|
291
291
|
r("img", {
|
|
292
292
|
src: e.teamLogoUrl,
|
|
293
293
|
alt: "team"
|