@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.
Files changed (34) hide show
  1. package/dist/{CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +71 -64
  2. package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +92 -85
  3. package/dist/{CardGeneralIndividual-DaONNIwT-WoYrg7O0.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +45 -38
  4. package/dist/{CardGeneralTeams-CCfSIg5--ycGF0WJl.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +63 -56
  5. package/dist/{CardIndividual-DPKW-YpP-Dnc0EEj0.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +87 -81
  6. package/dist/{CardIndividual1vs1-BRtGgXM7-CedeR8el.js → CardIndividual1vs1-ayelgnf_-Dzunebe6.js} +45 -41
  7. package/dist/{CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +125 -120
  8. package/dist/{CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -110
  9. package/dist/{CardIndividualDistance-C226QSwL-R--LlcPz.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
  10. package/dist/CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js +686 -0
  11. package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
  12. package/dist/{CardIndividualGoals-BVMarvFd-DL29nvxj.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +204 -197
  13. package/dist/CardIndividualGold-Ptz6THCG-BRqzfQcT.js +124 -0
  14. package/dist/{CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
  15. package/dist/{CardIndividualPerformance-DyczUumz-BaHTtZS4.js → CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js} +28 -24
  16. package/dist/{CardIndividualSaves-CC91zpjd-CAQ8vR7-.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +44 -37
  17. package/dist/{CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +74 -69
  18. package/dist/{CardIndividualStatistics-CBd679p9-itsHFDEL.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +47 -39
  19. package/dist/{CardPromTournament-BKH4VcBp-D784umYN.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
  20. package/dist/CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js +813 -0
  21. package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
  22. package/dist/{CircleWithDotsBig-5eFuZwDk-n956nNzk.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
  23. package/dist/{Shield-0VkASyDI-Cm8rtKBS.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
  24. package/dist/gsc-landing.js +200 -157
  25. package/dist/gsc-landing.umd.cjs +62 -62
  26. package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
  27. package/dist/style.css +1 -1
  28. package/package.json +2 -2
  29. package/dist/CardIndividualFouls-ycmte1YE-DyR9GrTc.js +0 -669
  30. package/dist/CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js +0 -111
  31. package/dist/CardIndividualGold-Df7Raasl-Byue4uk-.js +0 -117
  32. package/dist/CardSuccessfulPasses-DKetowpu-B12McLj4.js +0 -91
  33. package/dist/CardTheMostProductive-CoGLtVYs-BZcw_blj.js +0 -75
  34. package/dist/misc-BbzSgyER-2p2XKW1m.js +0 -168
@@ -0,0 +1,172 @@
1
+ import { computed as c, openBlock as i, createElementBlock as s, normalizeClass as l, normalizeStyle as u, createCommentVNode as d, createElementVNode as n, renderSlot as p, pushScopeId as g, popScopeId as y } from "vue";
2
+ const f = (e, t) => {
3
+ const r = e.__vccOpts || e;
4
+ for (const [a, o] of t)
5
+ r[a] = o;
6
+ return r;
7
+ }, h = (e) => (g("data-v-6a5cdd27"), e = e(), y(), e), b = {
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__ */ h(() => /* @__PURE__ */ n("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__ */ n("circle", {
24
+ cx: "30",
25
+ cy: "30",
26
+ r: "30",
27
+ fill: "#0E1E2A",
28
+ "fill-opacity": ".96"
29
+ }),
30
+ /* @__PURE__ */ n("circle", {
31
+ cx: "30",
32
+ cy: "30",
33
+ r: "26.6",
34
+ stroke: "#757575",
35
+ "stroke-width": ".8"
36
+ }),
37
+ /* @__PURE__ */ n("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
+ showVideos: {
83
+ type: Boolean,
84
+ default: !0
85
+ }
86
+ },
87
+ setup(e) {
88
+ const t = e, r = c(() => ({
89
+ "--height": t.height,
90
+ "--width": t.width,
91
+ "--background-overlay-color": t.backgroundOverlayColor,
92
+ "--overflow": t.overflow,
93
+ "--border-radius": t.borderRadius,
94
+ "--background-overlay-opacity": t.backgroundOverlayOpacity,
95
+ "--background-gold-size": `${t.width} ${t.height}`
96
+ })), a = c(() => {
97
+ const o = [];
98
+ return t.goldCardType && (t.goldCardType === 1 ? o.push("gold-card-1") : t.goldCardType === 2 && o.push("gold-card-2")), o;
99
+ });
100
+ return (o, x) => (i(), s("div", {
101
+ class: l(["card-base", a.value]),
102
+ style: u(r.value)
103
+ }, [
104
+ e.goldCardType ? d("", !0) : (i(), s("div", b, [
105
+ e.backgroundImageSrc ? (i(), s("img", {
106
+ key: 0,
107
+ src: e.backgroundImageSrc,
108
+ alt: ""
109
+ }, null, 8, v)) : d("", !0)
110
+ ])),
111
+ e.goldCardType ? d("", !0) : (i(), s("div", m)),
112
+ n("div", _, [
113
+ p(o.$slots, "default", {}, void 0, !0)
114
+ ]),
115
+ e.isPlayButtonVisible && e.showVideos ? (i(), s("div", k, S)) : d("", !0)
116
+ ], 6));
117
+ }
118
+ }, O = /* @__PURE__ */ f(C, [["__scopeId", "data-v-6a5cdd27"]]);
119
+ function T(e = "") {
120
+ const t = e.split("");
121
+ let r = 1;
122
+ return t.reduce((a, o) => (o === "*" ? (r % 2 === 0 ? a += "</span>" : a += '<span class="text-bold">', r++) : a += o, a), "");
123
+ }
124
+ function V({ data: e, descriptionType: t }) {
125
+ switch (t) {
126
+ case 1:
127
+ return e.finish_first_person_description;
128
+ case 2:
129
+ return e.first_person_description;
130
+ case 3:
131
+ return e.finish_third_person_description;
132
+ case 4:
133
+ return e.third_person_description;
134
+ case 5:
135
+ return e.finish_description;
136
+ case 6:
137
+ return e.description;
138
+ }
139
+ }
140
+ function z(e) {
141
+ return `https://az755631.vo.msecnd.net/teams-80/${e}.png`;
142
+ }
143
+ function E(e) {
144
+ return `https://az755631.vo.msecnd.net/players-profile/${e}.png`;
145
+ }
146
+ function I(e) {
147
+ return `https://golstatsimages.blob.core.windows.net/images-library/${e}`;
148
+ }
149
+ function $(e) {
150
+ if (e.includes("*")) {
151
+ let t = "";
152
+ const r = e.match(/\*(.*?)\*/);
153
+ return r && (t = r[1]), {
154
+ title: t.trim(),
155
+ subtitle: e.replace(/\*(.*?)\*/, "").trim()
156
+ };
157
+ }
158
+ return {
159
+ title: e,
160
+ subtitle: ""
161
+ };
162
+ }
163
+ export {
164
+ $ as E,
165
+ T as I,
166
+ V as O,
167
+ z as P,
168
+ O as T,
169
+ E as V,
170
+ f as h,
171
+ I as z
172
+ };