@golstats/gsc-relevant-data 1.0.5 → 1.0.8

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 (33) hide show
  1. package/dist/{CardBaseAllIndividual-BNOgnH6t-D0xjZkGw.js → CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js} +70 -70
  2. package/dist/CardGeneral-DyOdaEFZ-DVY9vI50.js +126 -0
  3. package/dist/{CardGeneralIndividual-BHjZ12n1-BvodKC3y.js → CardGeneralIndividual-DaONNIwT-WoYrg7O0.js} +85 -80
  4. package/dist/{CardGeneralTeams-ByBEp-8b-CbLocm8U.js → CardGeneralTeams-CCfSIg5--ycGF0WJl.js} +147 -143
  5. package/dist/{CardIndividual-BR1r5B5u-DqflCygx.js → CardIndividual-B5YHR_4X-DC-zfHLx.js} +44 -44
  6. package/dist/CardIndividual1vs1-DEBY4dbB-V3PJhhY7.js +108 -0
  7. package/dist/{CardIndividualAreas-qEYtV2XP-C97pNpBa.js → CardIndividualAreas-D9mHXjfS-DrA6YV1T.js} +56 -55
  8. package/dist/{CardIndividualCenters-DURH48kE-BAeLhbBk.js → CardIndividualCenters-DeGyy9wB-BftpRpCL.js} +50 -49
  9. package/dist/{CardIndividualDistance-BKeSbWJ9-B6Vj1YLa.js → CardIndividualDistance-jUf26hS9-BTaa0gSa.js} +31 -31
  10. package/dist/{CardIndividualFouls-BqWT8Bzx-D0EDbSJl.js → CardIndividualFouls-DF0AvPys-C61mrpb7.js} +27 -26
  11. package/dist/CardIndividualGoalParticipation-CGVwsTkf-BsIXMNqX.js +111 -0
  12. package/dist/{CardIndividualGoals-CBAA7DE3-Dco1VuBc.js → CardIndividualGoals-CjrXz7Zv-Cg_lAqNg.js} +54 -53
  13. package/dist/{CardIndividualGold-BBYsUCND-BhqSGl0q.js → CardIndividualGold-Cp8DsHVJ-nOXX6qdb.js} +31 -30
  14. package/dist/{CardIndividualNoGoalReceived-HaDOJruE-CKzigvOP.js → CardIndividualNoGoalReceived-BNjVlC0Z-BtnbjfPl.js} +56 -56
  15. package/dist/{CardIndividualPerformance-CEPnHtE9-Da4MXSxk.js → CardIndividualPerformance-kbuWBDcK-CWDHQrku.js} +34 -30
  16. package/dist/{CardIndividualSaves-BqBRjEt7-CJBgPvne.js → CardIndividualSaves-BTCuv2ld-BJ7OrOnW.js} +70 -66
  17. package/dist/{CardIndividualShotsOnGoal-X_3YzAE3-CbiYLtzD.js → CardIndividualShotsOnGoal-B6fysQZQ-2WTo5bAB.js} +58 -48
  18. package/dist/{CardIndividualStatistics-D769xisE-D2KNSIfX.js → CardIndividualStatistics-B7vL_L1s-BYMwjEJD.js} +38 -38
  19. package/dist/{CardPromTournament-DFGqM4we-C4dX0pKz.js → CardPromTournament-DMe6axFO-DWI8msi-.js} +23 -23
  20. package/dist/{CardSuccessfulPasses-CTjMzZAt-Bv_X927S.js → CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js} +12 -12
  21. package/dist/CardTheMostProductive-CDDFIo-I-LQ50NbB5.js +75 -0
  22. package/dist/CircleWithDotsBig-5eFuZwDk-n956nNzk.js +151 -0
  23. package/dist/{Shield-BjoeEr7g-C7yufXoK.js → Shield-0VkASyDI-Cm8rtKBS.js} +60 -55
  24. package/dist/gsc-relevant-data.css +1 -1
  25. package/dist/gsc-relevant-data.js +924 -893
  26. package/dist/gsc-relevant-data.umd.cjs +6 -6
  27. package/package.json +2 -2
  28. package/dist/CardGeneral-D2PYPb95-DycFnfDS.js +0 -116
  29. package/dist/CardIndividual1vs1-DPov_cGc-DtWs-qcq.js +0 -487
  30. package/dist/CardIndividualGoalParticipation-CRBepIcB-CBc1Wh03.js +0 -108
  31. package/dist/CardTheMostProductive-DzbDtzZn-Dewb8MoQ.js +0 -74
  32. package/dist/CircleWithDotsBig-DfppYko9-BYZNX7zX.js +0 -91
  33. /package/dist/{misc-BJvl3Yld-2p2XKW1m.js → misc-BbzSgyER-2p2XKW1m.js} +0 -0
@@ -1,6 +1,6 @@
1
- import { useCssVars as x, computed as h, openBlock as a, createElementBlock as n, normalizeStyle as M, createBlock as S, mergeProps as C, withCtx as A, createElementVNode as e, toDisplayString as p, createCommentVNode as s, createVNode as j, pushScopeId as z, popScopeId as B } from "vue";
2
- import { d as I } from "./CardBaseAllIndividual-BNOgnH6t-D0xjZkGw.js";
3
- import { h as F, z as D, P as T, E, I as N, O as V } from "./misc-BJvl3Yld-2p2XKW1m.js";
1
+ import { useCssVars as y, computed as h, openBlock as a, createElementBlock as n, normalizeStyle as F, createBlock as M, mergeProps as S, withCtx as C, createElementVNode as e, toDisplayString as p, createCommentVNode as s, createVNode as A, pushScopeId as j, popScopeId as z } from "vue";
2
+ import { o as B } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
3
+ import { h as x, z as E, P as I, E as T, I as D, O as N } from "./misc-BbzSgyER-2p2XKW1m.js";
4
4
  const m = {
5
5
  props: {
6
6
  position: {
@@ -16,36 +16,36 @@ const m = {
16
16
  required: !0
17
17
  }
18
18
  }
19
- }, _ = () => {
20
- x((o) => ({
19
+ }, w = () => {
20
+ y((o) => ({
21
21
  "53cdc2ca": o.color
22
22
  }));
23
- }, y = m.setup;
24
- m.setup = y ? (o, t) => (_(), y(o, t)) : _;
25
- const r = (o) => (z("data-v-d2968adb"), o = o(), B(), o), O = { class: "saves-element-container" }, P = { class: "saves-element-box" }, q = {
23
+ }, _ = m.setup;
24
+ m.setup = _ ? (o, t) => (w(), _(o, t)) : w;
25
+ const r = (o) => (j("data-v-d2968adb"), o = o(), z(), o), V = { class: "saves-element-container" }, O = { class: "saves-element-box" }, P = {
26
26
  key: 0,
27
27
  class: "small-box"
28
- }, H = {
28
+ }, $ = {
29
29
  key: 0,
30
30
  width: "28",
31
31
  height: "31",
32
32
  viewBox: "0 0 28 31",
33
33
  fill: "none",
34
34
  xmlns: "http://www.w3.org/2000/svg"
35
- }, J = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
35
+ }, q = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
36
36
  d: "M10.23.878h7.482",
37
37
  stroke: "#fff",
38
38
  "stroke-width": "1.746",
39
39
  "stroke-linecap": "round"
40
- }, null, -1)), U = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
40
+ }, null, -1)), H = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
41
41
  cx: "13.972",
42
42
  cy: "17.089",
43
43
  fill: "#DE2531",
44
44
  r: "12.47"
45
- }, null, -1)), $ = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
45
+ }, null, -1)), J = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
46
46
  d: "M26.442 17.09a12.47 12.47 0 0 0-12.47-12.47v12.47h12.47z",
47
47
  fill: "#fff"
48
- }, null, -1)), L = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
48
+ }, null, -1)), U = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
49
49
  cx: "13.972",
50
50
  cy: "17.089",
51
51
  stroke: "#fff",
@@ -53,32 +53,32 @@ const r = (o) => (z("data-v-d2968adb"), o = o(), B(), o), O = { class: "saves-el
53
53
  "stroke-linecap": "round",
54
54
  "stroke-linejoin": "round",
55
55
  r: "12.47"
56
- }, null, -1)), G = [
56
+ }, null, -1)), L = [
57
+ q,
58
+ H,
57
59
  J,
58
- U,
59
- $,
60
- L
61
- ], K = {
60
+ U
61
+ ], G = {
62
62
  key: 1,
63
63
  width: "28",
64
64
  height: "31",
65
65
  viewBox: "0 0 28 31",
66
66
  fill: "none",
67
67
  xmlns: "http://www.w3.org/2000/svg"
68
- }, Q = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
68
+ }, K = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
69
69
  d: "M10.23.878h7.482",
70
70
  stroke: "#fff",
71
71
  "stroke-width": "1.746",
72
72
  "stroke-linecap": "round"
73
- }, null, -1)), R = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
73
+ }, null, -1)), Q = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
74
74
  cx: "13.972",
75
75
  cy: "17.089",
76
76
  fill: "#DE2531",
77
77
  r: "12.47"
78
- }, null, -1)), W = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
78
+ }, null, -1)), R = /* @__PURE__ */ r(() => /* @__PURE__ */ e("path", {
79
79
  d: "M1.502 17.09a12.47 12.47 0 0 0 12.47 12.47V17.09H1.502z",
80
80
  fill: "#fff"
81
- }, null, -1)), X = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
81
+ }, null, -1)), W = /* @__PURE__ */ r(() => /* @__PURE__ */ e("circle", {
82
82
  cx: "13.972",
83
83
  cy: "17.089",
84
84
  stroke: "#fff",
@@ -86,28 +86,28 @@ const r = (o) => (z("data-v-d2968adb"), o = o(), B(), o), O = { class: "saves-el
86
86
  "stroke-linecap": "round",
87
87
  "stroke-linejoin": "round",
88
88
  r: "12.47"
89
- }, null, -1)), Y = [
89
+ }, null, -1)), X = [
90
+ K,
90
91
  Q,
91
92
  R,
92
- W,
93
- X
94
- ], Z = { class: "inner-boxes-container" }, tt = { class: "inner-box icon" }, et = {
93
+ W
94
+ ], Y = { class: "inner-boxes-container" }, Z = { class: "inner-box icon" }, tt = {
95
95
  width: "48",
96
96
  height: "48",
97
97
  viewBox: "0 0 48 48",
98
98
  fill: "none",
99
99
  xmlns: "http://www.w3.org/2000/svg"
100
- }, ot = ["stroke"], lt = ["stroke"], at = ["stroke"], rt = ["stroke"], it = /* @__PURE__ */ r(() => /* @__PURE__ */ e("div", { class: "inner-box arrow" }, "→", -1)), nt = { class: "inner-box stat" };
101
- function st(o, t, l, u, d, i) {
102
- return a(), n("div", O, [
103
- e("div", P, [
104
- l.position === "first" || l.position === "second" ? (a(), n("div", q, [
105
- l.position == "first" ? (a(), n("svg", H, G)) : s("", !0),
106
- l.position == "second" ? (a(), n("svg", K, Y)) : s("", !0)
100
+ }, et = ["stroke"], ot = ["stroke"], lt = ["stroke"], at = ["stroke"], rt = /* @__PURE__ */ r(() => /* @__PURE__ */ e("div", { class: "inner-box arrow" }, "→", -1)), it = { class: "inner-box stat" };
101
+ function nt(o, t, l, u, d, i) {
102
+ return a(), n("div", V, [
103
+ e("div", O, [
104
+ l.position === "first" || l.position === "second" ? (a(), n("div", P, [
105
+ l.position == "first" ? (a(), n("svg", $, L)) : s("", !0),
106
+ l.position == "second" ? (a(), n("svg", G, X)) : s("", !0)
107
107
  ])) : s("", !0),
108
- e("div", Z, [
109
- e("div", tt, [
110
- (a(), n("svg", et, [
108
+ e("div", Y, [
109
+ e("div", Z, [
110
+ (a(), n("svg", tt, [
111
111
  e("path", {
112
112
  d: "m18.031 27.241.972-7.303c.044-.33.15-.648.315-.938l2.09-3.688a1.409 1.409 0 0 1 2.61.952l-.87 6.085-5.117 4.892zM42.864 24.232a1.394 1.394 0 0 0-1.844 0l-3.857 3.226 4.6-5.199a1.623 1.623 0 0 0-2.246-2.336l-5.001 3.957 5.872-6.902a1.684 1.684 0 0 0-.105-2.357 1.394 1.394 0 0 0-1.846-.048l-7.548 6.137 4.33-5.041a1.727 1.727 0 0 0-.01-2.375 1.394 1.394 0 0 0-1.921-.09l-10.14 9.146-11.03 10.544 9.886 10.35c.458.399 1.161.31 1.504-.192l2.525-3.688 10.701-6.154a8.47 8.47 0 0 0 2.048-1.821l4.244-5.233c.47-.581.4-1.43-.162-1.924z",
113
113
  stroke: l.color,
@@ -115,7 +115,7 @@ function st(o, t, l, u, d, i) {
115
115
  "stroke-miterlimit": "10",
116
116
  "stroke-linecap": "round",
117
117
  "stroke-linejoin": "round"
118
- }, null, 8, ot),
118
+ }, null, 8, et),
119
119
  e("path", {
120
120
  d: "m3.928 40.154 8.19-7.26 9.018 9.44-3.944 4.222M26.032 39.363l-9.964-10.247M26.424 34.044l-3.444-3.779a1.646 1.646 0 0 1 2.433-2.217l3.444 3.779a1.646 1.646 0 0 1-2.433 2.217zM18.801 21.458a13.836 13.836 0 0 1-1.808-6.86C16.993 6.924 23.215.703 30.89.703s13.894 6.22 13.894 13.895a13.86 13.86 0 0 1-4.676 10.397l-.018.016a14.206 14.206 0 0 1-2.14 1.557v.001",
121
121
  stroke: l.color,
@@ -123,7 +123,7 @@ function st(o, t, l, u, d, i) {
123
123
  "stroke-miterlimit": "10",
124
124
  "stroke-linecap": "round",
125
125
  "stroke-linejoin": "round"
126
- }, null, 8, lt),
126
+ }, null, 8, ot),
127
127
  e("path", {
128
128
  d: "m27.261 8.316-3.626 6.282 2.775 4.808",
129
129
  stroke: l.color,
@@ -131,7 +131,7 @@ function st(o, t, l, u, d, i) {
131
131
  "stroke-miterlimit": "10",
132
132
  "stroke-linecap": "round",
133
133
  "stroke-linejoin": "round"
134
- }, null, 8, at),
134
+ }, null, 8, lt),
135
135
  e("path", {
136
136
  d: "m37.909 15.003.233-.405-3.627-6.282h-7.377M23.634 14.598h-6.64M40.282 14.598h4.501M37.922 2.612l-3.406 5.704M27.261 8.316 23.544 2.8M34.908 29.631l2.255-2.173M31.725 26.621l2.79-2.741M28.13 23.223l2.758-2.514",
137
137
  stroke: l.color,
@@ -139,22 +139,22 @@ function st(o, t, l, u, d, i) {
139
139
  "stroke-miterlimit": "10",
140
140
  "stroke-linecap": "round",
141
141
  "stroke-linejoin": "round"
142
- }, null, 8, rt)
142
+ }, null, 8, at)
143
143
  ]))
144
144
  ]),
145
- it,
146
- e("div", nt, p(l.stat), 1)
145
+ rt,
146
+ e("div", it, p(l.stat), 1)
147
147
  ])
148
148
  ])
149
149
  ]);
150
150
  }
151
- const dt = /* @__PURE__ */ F(m, [["render", st], ["__scopeId", "data-v-d2968adb"]]), ct = { class: "card-general__body" }, ut = { class: "text-container-saves" }, ht = {
151
+ const st = /* @__PURE__ */ x(m, [["render", nt], ["__scopeId", "data-v-d2968adb"]]), dt = { class: "card-general__body" }, ct = { class: "text-container-saves" }, ut = {
152
152
  key: 0,
153
153
  class: "title-saves"
154
- }, pt = {
154
+ }, ht = {
155
155
  key: 1,
156
156
  class: "subtitle-saves"
157
- }, mt = { class: "saves-box" }, kt = {
157
+ }, pt = { class: "saves-box" }, mt = {
158
158
  __name: "CardIndividualSaves",
159
159
  props: {
160
160
  height: {
@@ -168,34 +168,38 @@ const dt = /* @__PURE__ */ F(m, [["render", st], ["__scopeId", "data-v-d2968adb"
168
168
  data: {
169
169
  type: Object,
170
170
  default: () => null
171
+ },
172
+ descriptionType: {
173
+ type: Number,
174
+ default: 0
171
175
  }
172
176
  },
173
177
  setup(o) {
174
- x((i) => ({
175
- "52a5c1d4": (t.data.subtitle, "100%"),
176
- "63e21849": t.data.thumbnails.colors.font_color_header,
177
- "387c0976": t.data.subtitle ? "100%" : "78%"
178
+ y((i) => ({
179
+ "813fee72": (t.data.subtitle, "100%"),
180
+ "3ba6f490": t.data.thumbnails.colors.font_color_header,
181
+ "8846b4b6": t.data.subtitle ? "100%" : "78%"
178
182
  }));
179
183
  const t = o, l = h(() => ({
180
184
  "--height": t.height,
181
185
  "--width": t.width,
182
186
  "--footer-background-color": t.data.thumbnails.colors.background_color_cards || "#000000"
183
187
  })), u = h(() => {
184
- var i, c, k, f, v, g, b, w;
188
+ var i, c, k, f, b, g, v;
185
189
  return {
186
190
  height: t.height,
187
191
  width: t.width,
188
192
  footerHeight: "137px",
189
- playerPhotoUrl: D(t.data.player_id || ""),
190
- teamLogoUrl: T(t.data.team_id || "") || "",
193
+ playerPhotoUrl: E(t.data.player_id || ""),
194
+ teamLogoUrl: I(t.data.team_id || "") || "",
191
195
  cardColor: t.data.thumbnails.colors.background_color || "#000000",
192
- backgroundImageSrc: E(
193
- (f = (k = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : k.background_player_in_action) != null && f[0] ? t.data.thumbnails.images.background_player_in_action[0] : (w = (b = (g = (v = t.data) == null ? void 0 : v.thumbnails) == null ? void 0 : g.images) == null ? void 0 : b.team_in_action) != null && w[0] ? t.data.thumbnails.images.team_in_action[0] : ""
196
+ backgroundImageSrc: T(
197
+ (f = (k = (c = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : c.images) == null ? void 0 : k.background_player_in_action) != null && f[0] ? t.data.thumbnails.images.background_player_in_action[0] : (v = (g = (b = t.data) == null ? void 0 : b.thumbnails) == null ? void 0 : g.images) != null && v.background_tean ? t.data.thumbnails.images.background_team : ""
194
198
  ),
195
199
  textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
196
200
  footerBodyData: {
197
201
  textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
198
- description: N(V({ data: t.data, descriptionType: t.descriptionType })),
202
+ description: D(N({ data: t.data, descriptionType: t.descriptionType })),
199
203
  total: t.data.total,
200
204
  totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
201
205
  totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
@@ -213,17 +217,17 @@ const dt = /* @__PURE__ */ F(m, [["render", st], ["__scopeId", "data-v-d2968adb"
213
217
  });
214
218
  return (i, c) => (a(), n("div", {
215
219
  class: "card-general",
216
- style: M(l.value)
220
+ style: F(l.value)
217
221
  }, [
218
- u.value ? (a(), S(I, C({ key: 0 }, u.value, { width: o.width }), {
219
- body: A(() => [
220
- e("div", ct, [
221
- e("div", ut, [
222
- d.value.title ? (a(), n("h2", ht, p(d.value.title), 1)) : s("", !0),
223
- d.value.subtitle ? (a(), n("p", pt, p(d.value.subtitle), 1)) : s("", !0)
222
+ u.value ? (a(), M(B, S({ key: 0 }, u.value, { width: o.width }), {
223
+ body: C(() => [
224
+ e("div", dt, [
225
+ e("div", ct, [
226
+ d.value.title ? (a(), n("h2", ut, p(d.value.title), 1)) : s("", !0),
227
+ d.value.subtitle ? (a(), n("p", ht, p(d.value.subtitle), 1)) : s("", !0)
224
228
  ]),
225
- e("div", mt, [
226
- j(dt, {
229
+ e("div", pt, [
230
+ A(st, {
227
231
  color: t.data.thumbnails.colors.graphic_color,
228
232
  position: o.data.header.show_icon == 1 ? o.data.header.icon : "",
229
233
  stat: o.data.total
@@ -235,7 +239,7 @@ const dt = /* @__PURE__ */ F(m, [["render", st], ["__scopeId", "data-v-d2968adb"
235
239
  }, 16, ["width"])) : s("", !0)
236
240
  ], 4));
237
241
  }
238
- }, bt = /* @__PURE__ */ F(kt, [["__scopeId", "data-v-d7373135"]]);
242
+ }, gt = /* @__PURE__ */ x(mt, [["__scopeId", "data-v-d61c89de"]]);
239
243
  export {
240
- bt as default
244
+ gt as default
241
245
  };
@@ -1,23 +1,23 @@
1
- import { computed as r, openBlock as d, createElementBlock as n, normalizeStyle as F, createVNode as f, normalizeProps as m, guardReactiveProps as M, withCtx as v, createElementVNode as t, createCommentVNode as g, pushScopeId as k, popScopeId as b } from "vue";
2
- import { d as y } from "./CardBaseAllIndividual-BNOgnH6t-D0xjZkGw.js";
3
- import { y as w } from "./TimeSvg-Cxp_p6OH-cZfI6hDf.js";
4
- import { h as x, z as S, P, E as I, I as O, O as T } from "./misc-BJvl3Yld-2p2XKW1m.js";
5
- const L = (o) => (k("data-v-65ca73c5"), o = o(), b(), o), z = { class: "shots__body" }, E = /* @__PURE__ */ L(() => /* @__PURE__ */ t("div", { class: "shots__body__title" }, " TIROS A GOL ", -1)), N = { class: "shots-svg" }, B = {
1
+ import { computed as r, openBlock as d, createElementBlock as L, normalizeStyle as F, createVNode as m, normalizeProps as f, guardReactiveProps as M, withCtx as k, createElementVNode as t, createCommentVNode as b, pushScopeId as y, popScopeId as w } from "vue";
2
+ import { o as x } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
3
+ import { y as S } from "./TimeSvg-Cxp_p6OH-cZfI6hDf.js";
4
+ import { h as P, z as I, P as T, E as z, I as E, O } from "./misc-BbzSgyER-2p2XKW1m.js";
5
+ const n = (o) => (y("data-v-22104949"), o = o(), w(), o), B = { class: "shots__body" }, N = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "shots__body__title" }, " TIROS A GOL ", -1)), V = { class: "shots-svg" }, G = {
6
6
  key: 0,
7
7
  class: "time-svg"
8
- }, V = {
8
+ }, R = {
9
9
  width: "162",
10
10
  height: "125",
11
11
  viewBox: "0 0 162 125",
12
12
  fill: "none",
13
13
  xmlns: "http://www.w3.org/2000/svg"
14
- }, $ = { "clip-path": "url(#clip0_153_9715)" }, G = ["stroke"], R = ["stroke"], U = ["fill"], j = /* @__PURE__ */ L(() => /* @__PURE__ */ t("path", {
14
+ }, U = { "clip-path": "url(#clip0_153_9715)" }, $ = ["stroke"], j = ["stroke"], q = ["fill"], A = /* @__PURE__ */ n(() => /* @__PURE__ */ t("path", {
15
15
  "fill-rule": "evenodd",
16
16
  "clip-rule": "evenodd",
17
17
  d: "M56.04 0.749809L56.04 18.8563C56.04 19.6572 56.6913 20.3054 57.4922 20.3017L103.497 20.0877C104.292 20.084 104.935 19.438 104.935 18.6423L104.935 1.08777"
18
- }, null, -1)), q = [
19
- j
20
- ], A = ["fill"], D = /* @__PURE__ */ L(() => /* @__PURE__ */ t("mask", {
18
+ }, null, -1)), D = [
19
+ A
20
+ ], H = ["fill"], J = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
21
21
  id: "path-5-inside-2_153_9715",
22
22
  fill: "white"
23
23
  }, [
@@ -26,7 +26,7 @@ const L = (o) => (k("data-v-65ca73c5"), o = o(), b(), o), z = { class: "shots__b
26
26
  "clip-rule": "evenodd",
27
27
  d: "M42.0635 0.755306L42.0635 32.8316C42.0635 33.6328 42.7151 34.2811 43.5163 34.2771L117.461 33.9019C118.256 33.8978 118.899 33.2518 118.899 32.4564L118.899 1.33467"
28
28
  })
29
- ], -1)), H = ["fill"], J = ["stroke"], K = ["fill", "stroke"], Q = ["fill"], W = { id: "clip0_153_9715" }, X = ["fill"], Y = {
29
+ ], -1)), K = ["fill"], Q = ["stroke"], W = ["fill", "stroke"], X = ["fill"], Y = { id: "clip0_153_9715" }, l1 = ["fill"], t1 = {
30
30
  __name: "CardIndividualShotsOnGoal",
31
31
  props: {
32
32
  height: {
@@ -47,51 +47,61 @@ const L = (o) => (k("data-v-65ca73c5"), o = o(), b(), o), z = { class: "shots__b
47
47
  }
48
48
  },
49
49
  setup(o) {
50
- const l = o, _ = r(() => {
51
- var a, i, s, C, c, u, h, p;
50
+ const l = o, _ = /* @__PURE__ */ new Set([
51
+ "29-i",
52
+ "33-i",
53
+ "12-e"
54
+ ]), Z = /* @__PURE__ */ new Set([
55
+ "30-i",
56
+ "32-i",
57
+ "11-e"
58
+ ]), g = r(() => {
59
+ var a, i, s, C, c, u, h;
60
+ const p = l.data.footer.show_percentage;
52
61
  return {
53
62
  height: l.height,
54
63
  width: l.width,
55
64
  footerHeight: "137px",
56
- playerPhotoUrl: S(l.data.player_id || ""),
57
- teamLogoUrl: P(l.data.team_id || ""),
65
+ playerPhotoUrl: I(l.data.player_id || ""),
66
+ teamLogoUrl: T(l.data.team_id || ""),
58
67
  cardColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
59
- backgroundImageSrc: I((C = (s = (i = (a = l.data) == null ? void 0 : a.thumbnails) == null ? void 0 : i.images) == null ? void 0 : s.background_player_in_action) != null && C[0] ? l.data.thumbnails.images.background_player_in_action[0] : (p = (h = (u = (c = l.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) == null ? void 0 : h.team_in_action) != null && p[0] ? l.data.thumbnails.images.team_in_action[0] : ""),
68
+ backgroundImageSrc: z((C = (s = (i = (a = l.data) == null ? void 0 : a.thumbnails) == null ? void 0 : i.images) == null ? void 0 : s.background_player_in_action) != null && C[0] ? l.data.thumbnails.images.background_player_in_action[0] : (h = (u = (c = l.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && h.background_tean ? l.data.thumbnails.images.background_team : ""),
60
69
  footerBodyData: {
61
- description: O(T({ data: l.data, descriptionType: l.descriptionType })),
62
- total: l.data.total,
70
+ description: E(O({ data: l.data, descriptionType: l.descriptionType })),
71
+ total: p ? l.data.percentage : l.data.total,
72
+ isTotalPercentage: p,
63
73
  textColor: (l.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
64
74
  totalTextColor: (l.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
65
- totalCircleColor: (l.data.thumbnails.colors.data_color || "#000000").trim(),
66
- isTotalPercentage: l.data.footer.show_percentage
75
+ totalCircleColor: (l.data.thumbnails.colors.data_color || "#000000").trim()
67
76
  }
68
77
  };
69
78
  }), e = r(() => ({
70
79
  fieldLineColor: l.data.thumbnails.colors.graphic_color || "#FFFFFF",
71
80
  arrowColor: l.data.thumbnails.colors.graphic_color_2 || "#FFFFFF",
72
- hasMatchLapse: l.conditions && l.conditions.matchlapse,
73
81
  timeSvgProps: {
74
82
  lineColor: l.data.thumbnails.colors.icon_color || "#FFFFFF",
75
83
  fillColor: l.data.thumbnails.colors.background_icon_color || "#000000",
76
- conditions: l.data.conditions
84
+ conditions: {
85
+ matchlapse: _.has(l.data.id) ? 1 : Z.has(l.data.id) ? 2 : 0
86
+ }
77
87
  }
78
- })), Z = r(() => ({
88
+ })), v = r(() => ({
79
89
  "--title-color": l.data.thumbnails.colors.font_color_header || "#FFFFFF"
80
90
  }));
81
- return (a, i) => (d(), n("div", {
91
+ return (a, i) => (d(), L("div", {
82
92
  class: "shots",
83
- style: F(Z.value)
93
+ style: F(v.value)
84
94
  }, [
85
- f(y, m(M(_.value)), {
86
- body: v(() => [
87
- t("div", z, [
88
- E,
89
- t("div", N, [
90
- e.value.hasMatchLapse ? (d(), n("div", B, [
91
- f(w, m(M(e.value.timeSvgProps)), null, 16)
92
- ])) : g("", !0),
93
- (d(), n("svg", V, [
94
- t("g", $, [
95
+ m(x, f(M(g.value)), {
96
+ body: k(() => [
97
+ t("div", B, [
98
+ N,
99
+ t("div", V, [
100
+ e.value.timeSvgProps.conditions.matchlapse ? (d(), L("div", G, [
101
+ m(S, f(M(e.value.timeSvgProps)), null, 16)
102
+ ])) : b("", !0),
103
+ (d(), L("svg", R, [
104
+ t("g", U, [
95
105
  t("rect", {
96
106
  x: "0.558697",
97
107
  y: "124.445",
@@ -103,33 +113,33 @@ const L = (o) => (k("data-v-65ca73c5"), o = o(), b(), o), z = { class: "shots__b
103
113
  "fill-opacity": "0.17",
104
114
  stroke: e.value.fieldLineColor,
105
115
  "stroke-width": "1.10958"
106
- }, null, 8, G),
116
+ }, null, 8, $),
107
117
  t("path", {
108
118
  d: "M0.865234 124.752L160.124 124.752",
109
119
  stroke: e.value.fieldLineColor,
110
120
  "stroke-width": "0.531453",
111
121
  "stroke-linecap": "square"
112
- }, null, 8, R),
122
+ }, null, 8, j),
113
123
  t("mask", {
114
124
  id: "path-3-inside-1_153_9715",
115
125
  fill: e.value.fieldLineColor
116
- }, q, 8, U),
126
+ }, D, 8, q),
117
127
  t("path", {
118
128
  d: "M54.9305 0.749809L54.9305 18.8563L57.1496 18.8563L57.1496 0.749809L54.9305 0.749809ZM57.4974 21.4113L103.502 21.1973L103.491 18.9782L57.4871 19.1921L57.4974 21.4113ZM106.045 18.6423L106.045 1.08777L103.826 1.08777L103.826 18.6423L106.045 18.6423ZM103.502 21.1973C104.908 21.1908 106.045 20.0488 106.045 18.6423L103.826 18.6423C103.826 18.8272 103.676 18.9773 103.491 18.9782L103.502 21.1973ZM54.9305 18.8563C54.9305 20.272 56.0817 21.4179 57.4974 21.4113L57.4871 19.1921C57.301 19.193 57.1496 19.0424 57.1496 18.8563L54.9305 18.8563Z",
119
129
  fill: e.value.fieldLineColor,
120
130
  mask: "url(#path-3-inside-1_153_9715)"
121
- }, null, 8, A),
122
- D,
131
+ }, null, 8, H),
132
+ J,
123
133
  t("path", {
124
134
  d: "M40.9539 0.755306L40.9539 32.8316L43.1731 32.8316L43.1731 0.755306L40.9539 0.755306ZM43.5219 35.3866L117.466 35.0114L117.455 32.7923L43.5107 33.1675L43.5219 35.3866ZM120.008 32.4564L120.008 1.33467L117.789 1.33467L117.789 32.4564L120.008 32.4564ZM117.466 35.0114C118.872 35.0043 120.008 33.8625 120.008 32.4564L117.789 32.4564C117.789 32.6412 117.64 32.7913 117.455 32.7923L117.466 35.0114ZM40.9539 32.8316C40.9539 34.2478 42.1058 35.3938 43.5219 35.3866L43.5107 33.1675C43.3245 33.1684 43.1731 33.0178 43.1731 32.8316L40.9539 32.8316Z",
125
135
  fill: e.value.fieldLineColor,
126
136
  mask: "url(#path-5-inside-2_153_9715)"
127
- }, null, 8, H),
137
+ }, null, 8, K),
128
138
  t("path", {
129
139
  d: "M80.475 90.3827C99.4573 90.3827 114.845 105.771 114.845 124.754C114.845 143.737 99.4573 159.126 80.475 159.126C61.4928 159.126 46.1046 143.737 46.1046 124.754C46.1046 105.771 61.4928 90.3827 80.475 90.3827Z",
130
140
  stroke: e.value.fieldLineColor,
131
141
  "stroke-width": "1.10958"
132
- }, null, 8, J),
142
+ }, null, 8, Q),
133
143
  t("ellipse", {
134
144
  cx: "80.474",
135
145
  cy: "124.768",
@@ -139,20 +149,20 @@ const L = (o) => (k("data-v-65ca73c5"), o = o(), b(), o), z = { class: "shots__b
139
149
  fill: e.value.fieldLineColor,
140
150
  stroke: e.value.fieldLineColor,
141
151
  "stroke-width": "0.531453"
142
- }, null, 8, K)
152
+ }, null, 8, W)
143
153
  ]),
144
154
  t("path", {
145
155
  d: "M80.0693 7.64746L77.944 14.2482L84.7231 12.7884L80.0693 7.64746ZM49.2923 59.8762C47.5671 60.267 46.4853 61.9823 46.876 63.7075C47.2667 65.4327 48.982 66.5145 50.7072 66.1238C52.4324 65.7331 53.5143 64.0177 53.1235 62.2925C52.7328 60.5673 51.0175 59.4855 49.2923 59.8762ZM80.1397 11.1767C80.2618 11.939 80.3667 12.6999 80.4548 13.4587L81.6479 13.3202C81.5578 12.5442 81.4505 11.7662 81.3257 10.9868L80.1397 11.1767ZM80.6707 15.7521C80.7262 16.5217 80.7645 17.2887 80.786 18.0525L81.9866 18.0189C81.9647 17.2375 81.9255 16.4529 81.8687 15.6657L80.6707 15.7521ZM80.7995 20.3556C80.7868 21.1267 80.757 21.8939 80.7102 22.6567L81.909 22.7302C81.9569 21.9495 81.9875 21.1643 82.0004 20.3752L80.7995 20.3556ZM80.5174 24.9512C80.4354 25.7177 80.3363 26.4789 80.2203 27.2342L81.4075 27.4165C81.5262 26.643 81.6277 25.8636 81.7117 25.0789L80.5174 24.9512ZM79.8185 29.5009C79.6664 30.2562 79.4973 31.0047 79.3115 31.7459L80.4765 32.038C80.6669 31.2785 80.8401 30.5116 80.9959 29.7379L79.8185 29.5009ZM78.6991 33.9641C78.4766 34.7013 78.2372 35.4301 77.9814 36.1499L79.1131 36.5522C79.3754 35.814 79.6209 35.0668 79.849 34.3112L78.6991 33.9641ZM77.1583 38.2977C76.8653 39.0093 76.5558 39.7108 76.2302 40.4016L77.3166 40.9138C77.6508 40.2048 77.9684 39.4849 78.2689 38.755L77.1583 38.2977ZM75.1975 42.4554C74.8347 43.1332 74.4557 43.7993 74.0609 44.4528L75.089 45.0738C75.4946 44.4024 75.8839 43.7182 76.2564 43.0222L75.1975 42.4554ZM72.8212 46.3878C72.3897 47.0234 71.9424 47.6455 71.4797 48.2531L72.4354 48.9807C72.9113 48.3556 73.3713 47.7159 73.8149 47.0624L72.8212 46.3878ZM70.0386 50.0414C69.5409 50.6251 69.0279 51.1934 68.5002 51.7454L69.3684 52.5753C69.9119 52.0067 70.4401 51.4216 70.9525 50.8208L70.0386 50.0414ZM66.8673 53.3578C66.307 53.8797 65.7322 54.3845 65.1434 54.8712L65.9086 55.7969C66.5159 55.295 67.1085 54.7746 67.686 54.2366L66.8673 53.3578ZM63.3327 56.2785C62.7153 56.729 62.0843 57.1607 61.4401 57.5727L62.0873 58.5846C62.7523 58.1592 63.4036 57.7136 64.0407 57.2487L63.3327 56.2785ZM59.4715 58.7474C58.8048 59.1174 58.1256 59.4673 57.4341 59.7961L57.9499 60.8808C58.6642 60.5411 59.3659 60.1797 60.0544 59.7975L59.4715 58.7474ZM55.3349 60.7141C54.6287 60.9966 53.9109 61.258 53.182 61.4973L53.5567 62.6384C54.3098 62.3912 55.0514 62.1212 55.7811 61.8292L55.3349 60.7141ZM50.9836 62.1429C50.6141 62.2389 50.2419 62.3294 49.8671 62.4143L50.1324 63.5857C50.5194 63.4981 50.9039 63.4046 51.2856 63.3054L50.9836 62.1429ZM80.0693 7.64746L77.944 14.2482L84.7231 12.7884L80.0693 7.64746ZM49.2923 59.8762C47.5671 60.267 46.4853 61.9823 46.876 63.7075C47.2667 65.4327 48.982 66.5145 50.7072 66.1238C52.4324 65.7331 53.5143 64.0177 53.1235 62.2925C52.7328 60.5673 51.0175 59.4855 49.2923 59.8762ZM80.1397 11.1767C80.2618 11.939 80.3667 12.6999 80.4548 13.4587L81.6479 13.3202C81.5578 12.5442 81.4505 11.7662 81.3257 10.9868L80.1397 11.1767ZM80.6707 15.7521C80.7262 16.5217 80.7645 17.2887 80.786 18.0525L81.9866 18.0189C81.9647 17.2375 81.9255 16.4529 81.8687 15.6657L80.6707 15.7521ZM80.7995 20.3556C80.7868 21.1267 80.757 21.8939 80.7102 22.6567L81.909 22.7302C81.9569 21.9495 81.9875 21.1643 82.0004 20.3752L80.7995 20.3556ZM80.5174 24.9512C80.4354 25.7177 80.3363 26.4789 80.2203 27.2342L81.4075 27.4165C81.5262 26.643 81.6277 25.8636 81.7117 25.0789L80.5174 24.9512ZM79.8185 29.5009C79.6664 30.2562 79.4973 31.0047 79.3115 31.7459L80.4765 32.038C80.6669 31.2785 80.8401 30.5116 80.9959 29.7379L79.8185 29.5009ZM78.6991 33.9641C78.4766 34.7013 78.2372 35.4301 77.9814 36.1499L79.1131 36.5522C79.3754 35.814 79.6209 35.0668 79.849 34.3112L78.6991 33.9641ZM77.1583 38.2977C76.8653 39.0093 76.5558 39.7108 76.2302 40.4016L77.3166 40.9138C77.6508 40.2048 77.9684 39.4849 78.2689 38.755L77.1583 38.2977ZM75.1975 42.4554C74.8347 43.1332 74.4557 43.7993 74.0609 44.4528L75.089 45.0738C75.4946 44.4024 75.8839 43.7182 76.2564 43.0222L75.1975 42.4554ZM72.8212 46.3878C72.3897 47.0234 71.9424 47.6455 71.4797 48.2531L72.4354 48.9807C72.9113 48.3556 73.3713 47.7159 73.8149 47.0624L72.8212 46.3878ZM70.0386 50.0414C69.5409 50.6251 69.0279 51.1934 68.5002 51.7454L69.3684 52.5753C69.9119 52.0067 70.4401 51.4216 70.9525 50.8208L70.0386 50.0414ZM66.8673 53.3578C66.307 53.8797 65.7322 54.3845 65.1434 54.8712L65.9086 55.7969C66.5159 55.295 67.1085 54.7746 67.686 54.2366L66.8673 53.3578ZM63.3327 56.2785C62.7153 56.729 62.0843 57.1607 61.4401 57.5727L62.0873 58.5846C62.7523 58.1592 63.4036 57.7136 64.0407 57.2487L63.3327 56.2785ZM59.4715 58.7474C58.8048 59.1174 58.1256 59.4673 57.4341 59.7961L57.9499 60.8808C58.6642 60.5411 59.3659 60.1797 60.0544 59.7975L59.4715 58.7474ZM55.3349 60.7141C54.6287 60.9966 53.9109 61.258 53.182 61.4973L53.5567 62.6384C54.3098 62.3912 55.0514 62.1212 55.7811 61.8292L55.3349 60.7141ZM50.9836 62.1429C50.6141 62.2389 50.2419 62.3294 49.8671 62.4143L50.1324 63.5857C50.5194 63.4981 50.9039 63.4046 51.2856 63.3054L50.9836 62.1429Z",
146
156
  fill: e.value.fieldLineColor
147
- }, null, 8, Q),
157
+ }, null, 8, X),
148
158
  t("defs", null, [
149
- t("clipPath", W, [
159
+ t("clipPath", Y, [
150
160
  t("rect", {
151
161
  width: "161.111",
152
162
  height: "125",
153
163
  fill: e.value.fieldLineColor,
154
164
  transform: "translate(0.00390625)"
155
- }, null, 8, X)
165
+ }, null, 8, l1)
156
166
  ])
157
167
  ])
158
168
  ]))
@@ -163,7 +173,7 @@ const L = (o) => (k("data-v-65ca73c5"), o = o(), b(), o), z = { class: "shots__b
163
173
  }, 16)
164
174
  ], 4));
165
175
  }
166
- }, a5 = /* @__PURE__ */ x(Y, [["__scopeId", "data-v-65ca73c5"]]);
176
+ }, r1 = /* @__PURE__ */ P(t1, [["__scopeId", "data-v-22104949"]]);
167
177
  export {
168
- a5 as default
178
+ r1 as default
169
179
  };