@golstats/gsc-landing 1.0.196 → 1.0.198

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 (31) hide show
  1. package/dist/{CardBaseAllIndividual-Din4dnnE-BKquMV21.js → CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js} +68 -69
  2. package/dist/{CardGeneral-70CyP1c9-BUTqFTI2.js → CardGeneral-DyOdaEFZ-DVY9vI50.js} +29 -30
  3. package/dist/{CardGeneralIndividual-CFAG9SL3-oV36_au1.js → CardGeneralIndividual-DaONNIwT-WoYrg7O0.js} +22 -23
  4. package/dist/{CardGeneralTeams-C1b59sT7-CJ8WP8Rw.js → CardGeneralTeams-CCfSIg5--ycGF0WJl.js} +35 -36
  5. package/dist/{CardIndividual-BVJEvLuq-DKdRxjLS.js → CardIndividual-B5YHR_4X-DC-zfHLx.js} +69 -70
  6. package/dist/{CardIndividual1vs1-BEIdhWs1-Ur49YndI.js → CardIndividual1vs1-DEBY4dbB-V3PJhhY7.js} +8 -9
  7. package/dist/{CardIndividualAreas-T43vItFr-BgrX5OqP.js → CardIndividualAreas-D9mHXjfS-DrA6YV1T.js} +56 -56
  8. package/dist/{CardIndividualCenters-fZNKbbXo-B5mnyhQM.js → CardIndividualCenters-DeGyy9wB-BftpRpCL.js} +108 -108
  9. package/dist/{CardIndividualDistance-CcU2Vbnx-Dhz8NAbJ.js → CardIndividualDistance-jUf26hS9-BTaa0gSa.js} +14 -15
  10. package/dist/{CardIndividualFouls-BYcKqeFK-C31N8-qM.js → CardIndividualFouls-DF0AvPys-C61mrpb7.js} +119 -119
  11. package/dist/{CardIndividualGoalParticipation-yPoWp2QU-C-xHyu40.js → CardIndividualGoalParticipation-CGVwsTkf-BsIXMNqX.js} +21 -22
  12. package/dist/{CardIndividualGoals-C69mSV2s-tOjLCWoh.js → CardIndividualGoals-CjrXz7Zv-Cg_lAqNg.js} +177 -177
  13. package/dist/{CardIndividualGold-BxCrvpoF-C0aIBmHX.js → CardIndividualGold-Cp8DsHVJ-nOXX6qdb.js} +32 -33
  14. package/dist/{CardIndividualNoGoalReceived-CqVz1A2y-CRaVjR0-.js → CardIndividualNoGoalReceived-BNjVlC0Z-BtnbjfPl.js} +18 -19
  15. package/dist/{CardIndividualPerformance-JjUTmJQy-DUAMj2cv.js → CardIndividualPerformance-kbuWBDcK-CWDHQrku.js} +32 -33
  16. package/dist/{CardIndividualSaves-DEvTL6Uw-B122lO1Z.js → CardIndividualSaves-BTCuv2ld-BJ7OrOnW.js} +13 -14
  17. package/dist/{CardIndividualShotsOnGoal-BxwPL-4b-C4O7JVrv.js → CardIndividualShotsOnGoal-B6fysQZQ-2WTo5bAB.js} +68 -59
  18. package/dist/{CardIndividualStatistics-DQRVwOUb-CaDk8RJE.js → CardIndividualStatistics-B7vL_L1s-BYMwjEJD.js} +13 -14
  19. package/dist/{CardPromTournament-HcWvduRV-DpeWH8i8.js → CardPromTournament-DMe6axFO-DWI8msi-.js} +31 -32
  20. package/dist/{CardSuccessfulPasses-D9ZpWlLr-C6iia2Ko.js → CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js} +9 -10
  21. package/dist/{CardTheMostProductive-CNNFBK3--Qo-b7oII.js → CardTheMostProductive-CDDFIo-I-LQ50NbB5.js} +14 -15
  22. package/dist/CircleWithDotsBig-5eFuZwDk-n956nNzk.js +151 -0
  23. package/dist/{Shield-COMdrYaO-DmoFCV4h.js → Shield-0VkASyDI-Cm8rtKBS.js} +1 -1
  24. package/dist/gsc-landing.js +57650 -2
  25. package/dist/gsc-landing.umd.cjs +56 -56
  26. package/dist/misc-BbzSgyER-2p2XKW1m.js +168 -0
  27. package/dist/style.css +1 -1
  28. package/package.json +3 -3
  29. package/dist/CircleWithDotsBig-DOPQy89I-DWZ-BBWO.js +0 -91
  30. package/dist/index-BRCKRHng.js +0 -57605
  31. package/dist/misc-CMAhmOsp-DmS1M3b6.js +0 -163
@@ -1,19 +1,6 @@
1
- import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as f, createBlock as F, mergeProps as k, withCtx as S, renderSlot as v, createElementVNode as r, createCommentVNode as l, normalizeClass as B, toDisplayString as s, Fragment as x, createVNode as m, pushScopeId as H, popScopeId as P } from "vue";
2
- import { I as w } from "./misc-CMAhmOsp-DmS1M3b6.js";
3
- import { h as b } from "./index-BRCKRHng.js";
4
- const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__total" }, I = { class: "total" }, $ = { class: "suffix" }, N = ["width", "height", "viewBox"], z = /* @__PURE__ */ T(() => /* @__PURE__ */ r("path", {
5
- d: "M34.5 2C38.7023 2 42.8635 2.8277 46.7459 4.43586C50.6283 6.04401 54.1559 8.40111 57.1274 11.3726C60.0989 14.3441 62.456 17.8717 64.0641 21.7541C65.6723 25.6366 66.5 29.7977 66.5 34C66.5 38.2023 65.6723 42.3635 64.0641 46.2459C62.456 50.1283 60.0989 53.6559 57.1274 56.6274C54.1559 59.5989 50.6283 61.956 46.7459 63.5641C42.8634 65.1723 38.7023 66 34.5 66C30.2977 66 26.1365 65.1723 22.2541 63.5641C18.3717 61.956 14.844 59.5989 11.8726 56.6274C8.9011 53.6559 6.544 50.1283 4.93585 46.2459C3.3277 42.3634 2.5 38.2023 2.5 34C2.5 29.7977 3.32771 25.6365 4.93586 21.7541C6.54401 17.8717 8.90112 14.344 11.8726 11.3726C14.8441 8.4011 18.3717 6.044 22.2541 4.43585C26.1366 2.8277 30.2977 2 34.5 2L34.5 2Z",
6
- stroke: "url(#paint0_linear_2182_6770)",
7
- "stroke-width": "3.14",
8
- "stroke-linecap": "round"
9
- }, null, -1)), U = ["stroke"], M = {
10
- id: "paint0_linear_2182_6770",
11
- x1: "34.5",
12
- y1: "2",
13
- x2: "34.5",
14
- y2: "66",
15
- gradientUnits: "userSpaceOnUse"
16
- }, O = ["stop-color"], V = ["stop-color"], A = {
1
+ import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as F, mergeProps as k, withCtx as S, renderSlot as v, createElementVNode as r, createCommentVNode as l, normalizeClass as B, toDisplayString as s, Fragment as x, createVNode as m } from "vue";
2
+ import { h as b, T as H } from "./misc-BbzSgyER-2p2XKW1m.js";
3
+ const w = { class: "circle__total" }, P = { class: "total" }, T = { class: "suffix" }, $ = ["width", "height", "viewBox"], L = ["stroke"], N = ["stroke"], z = ["stop-color"], U = ["stop-color"], I = {
17
4
  __name: "CircleWithDots",
18
5
  props: {
19
6
  height: {
@@ -56,14 +43,14 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
56
43
  "--value-font-size": `${t.valueFontSize}px`,
57
44
  "--suffix-font-size": `${t.suffixFontSize}px`,
58
45
  "--color": t.textColor
59
- }));
60
- return (p, y) => (o(), a("div", {
46
+ })), c = `linear-gradient-${Date.now()}`;
47
+ return (y, d) => (o(), a("div", {
61
48
  class: "circle",
62
- style: f(n.value)
49
+ style: p(n.value)
63
50
  }, [
64
- r("div", L, [
65
- r("span", I, s(e.value), 1),
66
- r("span", $, s(e.suffix), 1)
51
+ r("div", w, [
52
+ r("span", P, s(e.value), 1),
53
+ r("span", T, s(e.suffix), 1)
67
54
  ]),
68
55
  (o(), a("svg", {
69
56
  width: n.value["--width"],
@@ -73,60 +60,72 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
73
60
  fill: "none",
74
61
  xmlns: "http://www.w3.org/2000/svg"
75
62
  }, [
76
- z,
63
+ r("path", {
64
+ d: "M34.5 2C38.7023 2 42.8635 2.8277 46.7459 4.43586C50.6283 6.04401 54.1559 8.40111 57.1274 11.3726C60.0989 14.3441 62.456 17.8717 64.0641 21.7541C65.6723 25.6366 66.5 29.7977 66.5 34C66.5 38.2023 65.6723 42.3635 64.0641 46.2459C62.456 50.1283 60.0989 53.6559 57.1274 56.6274C54.1559 59.5989 50.6283 61.956 46.7459 63.5641C42.8634 65.1723 38.7023 66 34.5 66C30.2977 66 26.1365 65.1723 22.2541 63.5641C18.3717 61.956 14.844 59.5989 11.8726 56.6274C8.9011 53.6559 6.544 50.1283 4.93585 46.2459C3.3277 42.3634 2.5 38.2023 2.5 34C2.5 29.7977 3.32771 25.6365 4.93586 21.7541C6.54401 17.8717 8.90112 14.344 11.8726 11.3726C14.8441 8.4011 18.3717 6.044 22.2541 4.43585C26.1366 2.8277 30.2977 2 34.5 2L34.5 2Z",
65
+ stroke: `url(#${c})`,
66
+ "stroke-width": "3.14",
67
+ "stroke-linecap": "round"
68
+ }, null, 8, L),
77
69
  r("path", {
78
70
  d: "M34.4996 6.63965C38.0926 6.63965 41.6504 7.34734 44.9699 8.72231C48.2893 10.0973 51.3055 12.1126 53.8461 14.6532C56.3867 17.1938 58.402 20.21 59.777 23.5294C61.152 26.8489 61.8597 30.4067 61.8596 33.9997C61.8596 37.5926 61.152 41.1504 59.777 44.4699C58.402 47.7893 56.3867 50.8055 53.8461 53.3461C51.3055 55.8867 48.2893 57.902 44.9699 59.277C41.6504 60.652 38.0926 61.3597 34.4996 61.3596C30.9067 61.3596 27.3489 60.652 24.0294 59.277C20.71 57.902 17.6938 55.8867 15.1532 53.3461C12.6126 50.8055 10.5973 47.7893 9.2223 44.4699C7.84733 41.1504 7.13965 37.5926 7.13965 33.9996C7.13965 30.4067 7.84734 26.8489 9.22231 23.5294C10.5973 20.2099 12.6126 17.1938 15.1532 14.6532C17.6938 12.1126 20.71 10.0973 24.0294 8.7223C27.3489 7.34733 30.9067 6.63965 34.4997 6.63965L34.4996 6.63965Z",
79
71
  stroke: e.color,
80
72
  "stroke-width": "0.380952",
81
73
  "stroke-linecap": "round",
82
74
  "stroke-dasharray": "0 0.19 2.61 0 0.19 2.61"
83
- }, null, 8, U),
75
+ }, null, 8, N),
84
76
  r("defs", null, [
85
- r("linearGradient", M, [
86
- r("stop", { "stop-color": e.color }, null, 8, O),
77
+ r("linearGradient", {
78
+ id: c,
79
+ x1: "34.5",
80
+ y1: "2",
81
+ x2: "34.5",
82
+ y2: "66",
83
+ gradientUnits: "userSpaceOnUse"
84
+ }, [
85
+ r("stop", { "stop-color": e.color }, null, 8, z),
87
86
  r("stop", {
88
87
  offset: "1",
89
88
  "stop-color": e.color
90
- }, null, 8, V)
89
+ }, null, 8, U)
91
90
  ])
92
91
  ])
93
- ], 8, N))
92
+ ], 8, $))
94
93
  ], 4));
95
94
  }
96
- }, D = /* @__PURE__ */ b(A, [["__scopeId", "data-v-8506632e"]]), E = {
95
+ }, D = /* @__PURE__ */ b(I, [["__scopeId", "data-v-b9adcb76"]]), M = {
97
96
  key: 0,
98
97
  class: "card-base-individual__content__player-img"
99
- }, R = ["src"], j = {
98
+ }, O = ["src"], V = {
100
99
  key: 1,
101
100
  class: "card-base-individual__content__team-logo"
102
- }, Z = ["src"], G = {
101
+ }, A = ["src"], E = {
103
102
  key: 0,
104
103
  class: "card-base-individual__content__footer__header"
105
- }, W = {
104
+ }, R = {
106
105
  key: 0,
107
106
  class: "card-base-individual__content__footer__header__title-and-sub ts"
108
- }, Y = {
107
+ }, j = {
109
108
  key: 0,
110
109
  class: "card-base-individual__content__footer__header__title"
111
- }, q = {
110
+ }, Z = {
112
111
  key: 1,
113
112
  class: "card-base-individual__content__footer__header__subtitle"
114
- }, J = {
113
+ }, G = {
115
114
  key: 0,
116
115
  class: "th"
117
- }, K = {
116
+ }, W = {
118
117
  key: 1,
119
118
  class: "total th"
120
- }, Q = {
119
+ }, Y = {
121
120
  key: 1,
122
121
  class: "card-base-individual__content__footer__body"
123
- }, X = ["innerHTML"], tt = {
122
+ }, q = ["innerHTML"], J = {
124
123
  key: 0,
125
124
  class: "total-b"
126
- }, et = {
125
+ }, K = {
127
126
  key: 1,
128
127
  class: "total total-b"
129
- }, ot = { class: "card-base-individual__content__body" }, at = {
128
+ }, Q = { class: "card-base-individual__content__body" }, X = {
130
129
  __name: "CardBaseAllIndividual",
131
130
  props: {
132
131
  height: {
@@ -217,21 +216,21 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
217
216
  },
218
217
  setup(e) {
219
218
  const t = e, u = i(() => {
220
- var d, c, h, _;
221
- const g = t.footerBodyData && t.footerBodyData.description && t.footerBodyData.total, C = t.footerHeaderData && t.footerHeaderData.title && t.footerHeaderData.total;
219
+ var d, f, h, g;
220
+ const _ = t.footerBodyData && t.footerBodyData.description && t.footerBodyData.total, C = t.footerHeaderData && t.footerHeaderData.title && t.footerHeaderData.total;
222
221
  return {
223
222
  "--height": t.height,
224
223
  "--width": t.width,
225
224
  "--footer-background-color": t.cardColor || "#000000",
226
225
  "--text-color": t.textColor || "#FFFFFF",
227
226
  "--footer-body-text-color": ((d = t.footerBodyData) == null ? void 0 : d.textColor) || "#FFFFFF",
228
- "--footer-header-text-color": ((c = t.footerHeaderData) == null ? void 0 : c.textColor) || "#FFFFFF",
227
+ "--footer-header-text-color": ((f = t.footerHeaderData) == null ? void 0 : f.textColor) || "#FFFFFF",
229
228
  "--footer-height": t.footerHeight,
230
229
  "--footer-width": t.goldCardType ? "263px" : "auto",
231
230
  "--footer-padding": t.footerPadding,
232
- "--total-color": ((h = t.footerBodyData) == null ? void 0 : h.totalTextColor) || ((_ = t.footerHeaderData) == null ? void 0 : _.totalTextColor) || "#FFFFFF",
233
- "--description-text-align": g || t.footerHeaderData ? "left" : "center",
234
- "--footer-body-template-columns": g ? "1fr min-content" : "1fr",
231
+ "--total-color": ((h = t.footerBodyData) == null ? void 0 : h.totalTextColor) || ((g = t.footerHeaderData) == null ? void 0 : g.totalTextColor) || "#FFFFFF",
232
+ "--description-text-align": _ || t.footerHeaderData ? "left" : "center",
233
+ "--footer-body-template-columns": _ ? "1fr min-content" : "1fr",
235
234
  "--footer-header-template-columns": C ? t.footerHeaderData.isTotalLeft ? "min-content 1fr" : "1fr min-content" : "1fr",
236
235
  "--footer-header-grid-areas": C ? t.footerHeaderData.isTotalLeft ? '"th ts"' : '"ts th"' : '"ts"',
237
236
  "--player-photo-position-top": t.playerPhotoPositionTop,
@@ -244,73 +243,73 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
244
243
  backgroundImageSrc: t.backgroundImageSrc,
245
244
  isPlayButtonVisible: !0,
246
245
  goldCardType: t.goldCardType
247
- })), p = i(() => ({}));
246
+ })), c = i(() => ({}));
248
247
  i(() => t.footerBodyData.total ? t.footerBodyData.isTotalPercentage ? `${t.footerBodyData.total}%` : t.footerBodyData.total : "");
249
248
  const y = i(() => {
250
249
  const d = [];
251
250
  return t.goldCardType && (t.goldCardType === 1 ? d.push("gold-card-1") : t.goldCardType === 2 && d.push("gold-card-2")), d;
252
251
  });
253
- return (d, c) => (o(), a("div", {
252
+ return (d, f) => (o(), a("div", {
254
253
  class: "card-base-individual",
255
- style: f(u.value)
254
+ style: p(u.value)
256
255
  }, [
257
- n.value ? (o(), F(w, k({ key: 0 }, n.value, { width: e.width }), {
256
+ n.value ? (o(), F(H, k({ key: 0 }, n.value, { width: e.width }), {
258
257
  default: S(() => [
259
258
  v(d.$slots, "default", {}, () => [
260
- p.value ? (o(), a("div", {
259
+ c.value ? (o(), a("div", {
261
260
  key: 0,
262
- style: f(u.value),
261
+ style: p(u.value),
263
262
  class: "card-base-individual__content"
264
263
  }, [
265
- e.playerPhotoUrl ? (o(), a("div", E, [
264
+ e.playerPhotoUrl ? (o(), a("div", M, [
266
265
  r("div", null, [
267
266
  r("img", {
268
267
  src: e.playerPhotoUrl,
269
268
  alt: "player"
270
- }, null, 8, R)
269
+ }, null, 8, O)
271
270
  ])
272
271
  ])) : l("", !0),
273
- e.teamLogoUrl ? (o(), a("div", j, [
272
+ e.teamLogoUrl ? (o(), a("div", V, [
274
273
  r("img", {
275
274
  src: e.teamLogoUrl,
276
275
  alt: "team"
277
- }, null, 8, Z)
276
+ }, null, 8, A)
278
277
  ])) : l("", !0),
279
278
  r("div", {
280
279
  class: B(["card-base-individual__content__footer", y.value])
281
280
  }, [
282
- e.footerHeaderData ? (o(), a("div", G, [
283
- e.footerHeaderData.title ? (o(), a("div", W, [
284
- e.footerHeaderData.title ? (o(), a("div", Y, s(e.footerHeaderData.title), 1)) : l("", !0),
285
- e.footerHeaderData.title ? (o(), a("div", q, s(e.footerHeaderData.subtitle), 1)) : l("", !0)
281
+ e.footerHeaderData ? (o(), a("div", E, [
282
+ e.footerHeaderData.title ? (o(), a("div", R, [
283
+ e.footerHeaderData.title ? (o(), a("div", j, s(e.footerHeaderData.title), 1)) : l("", !0),
284
+ e.footerHeaderData.title ? (o(), a("div", Z, s(e.footerHeaderData.subtitle), 1)) : l("", !0)
286
285
  ])) : l("", !0),
287
286
  e.footerHeaderData.total ? (o(), a(x, { key: 1 }, [
288
- e.footerHeaderData.isTotalPercentage ? (o(), a("div", J, [
287
+ e.footerHeaderData.isTotalPercentage ? (o(), a("div", G, [
289
288
  m(D, {
290
289
  value: e.footerHeaderData.total,
291
290
  "text-color": e.footerBodyData.totalTextColor,
292
291
  color: e.footerBodyData.totalCircleColor
293
292
  }, null, 8, ["value", "text-color", "color"])
294
- ])) : (o(), a("div", K, s(e.footerHeaderData.total), 1))
293
+ ])) : (o(), a("div", W, s(e.footerHeaderData.total), 1))
295
294
  ], 64)) : l("", !0)
296
295
  ])) : l("", !0),
297
- e.footerBodyData ? (o(), a("div", Q, [
296
+ e.footerBodyData ? (o(), a("div", Y, [
298
297
  r("div", {
299
298
  class: "card-base-individual__content__footer__body__description",
300
299
  innerHTML: e.footerBodyData.description
301
- }, null, 8, X),
300
+ }, null, 8, q),
302
301
  e.footerBodyData.total ? (o(), a(x, { key: 0 }, [
303
- e.footerBodyData.isTotalPercentage ? (o(), a("div", tt, [
302
+ e.footerBodyData.isTotalPercentage ? (o(), a("div", J, [
304
303
  m(D, {
305
304
  value: e.footerBodyData.total,
306
305
  "text-color": e.footerBodyData.totalTextColor,
307
306
  color: e.footerBodyData.totalCircleColor
308
307
  }, null, 8, ["value", "text-color", "color"])
309
- ])) : (o(), a("div", et, s(e.footerBodyData.total), 1))
308
+ ])) : (o(), a("div", K, s(e.footerBodyData.total), 1))
310
309
  ], 64)) : l("", !0)
311
310
  ])) : l("", !0)
312
311
  ], 2),
313
- r("div", ot, [
312
+ r("div", Q, [
314
313
  v(d.$slots, "body", {}, void 0, !0)
315
314
  ])
316
315
  ], 4)) : l("", !0)
@@ -320,7 +319,7 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
320
319
  }, 16, ["width"])) : l("", !0)
321
320
  ], 4));
322
321
  }
323
- }, it = /* @__PURE__ */ b(at, [["__scopeId", "data-v-c8248477"]]);
322
+ }, ot = /* @__PURE__ */ b(X, [["__scopeId", "data-v-c8248477"]]);
324
323
  export {
325
- it as i
324
+ ot as o
326
325
  };
@@ -1,13 +1,12 @@
1
- import { computed as u, openBlock as e, createElementBlock as o, normalizeStyle as y, createBlock as k, mergeProps as S, withCtx as x, renderSlot as w, createCommentVNode as s, createElementVNode as l, toDisplayString as m, Fragment as I, renderList as C, pushScopeId as $, popScopeId as L } from "vue";
2
- import { $ as g, P as T, z, I as A } from "./misc-CMAhmOsp-DmS1M3b6.js";
3
- import { h as N } from "./index-BRCKRHng.js";
4
- const F = (a) => ($("data-v-7fe677bf"), a = a(), L(), a), B = {
1
+ import { computed as u, openBlock as e, createElementBlock as o, normalizeStyle as y, createBlock as k, mergeProps as S, withCtx as x, renderSlot as w, createCommentVNode as i, createElementVNode as l, toDisplayString as m, Fragment as I, renderList as C, pushScopeId as L, popScopeId as T } from "vue";
2
+ import { h as O, E as g, I as A, O as E, T as N } from "./misc-BbzSgyER-2p2XKW1m.js";
3
+ const F = (a) => (L("data-v-4e37e48c"), a = a(), T(), a), $ = {
5
4
  key: 0,
6
5
  class: "card-general__content__player-img"
7
- }, E = ["src"], H = {
6
+ }, B = ["src"], H = {
8
7
  key: 1,
9
8
  class: "card-general__content__team-img"
10
- }, M = ["src"], O = /* @__PURE__ */ F(() => /* @__PURE__ */ l("div", { class: "card-general__content__body" }, null, -1)), P = { class: "card-general__content__footer" }, V = { class: "card-general__content__footer__header" }, j = { class: "card-general__content__footer__header__team-logo" }, G = ["src"], q = { class: "card-general__content__footer__header__title" }, D = {
9
+ }, M = ["src"], V = /* @__PURE__ */ F(() => /* @__PURE__ */ l("div", { class: "card-general__content__body" }, null, -1)), j = { class: "card-general__content__footer" }, z = { class: "card-general__content__footer__header" }, G = { class: "card-general__content__footer__header__team-logo" }, P = ["src"], q = { class: "card-general__content__footer__header__title" }, D = {
11
10
  key: 0,
12
11
  class: "card-general__content__footer__header__total"
13
12
  }, J = { class: "card-general__content__footer__body" }, K = ["innerHTML"], Q = {
@@ -43,65 +42,65 @@ const F = (a) => ($("data-v-7fe677bf"), a = a(), L(), a), B = {
43
42
  "--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
44
43
  "--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
45
44
  "--border": `1px dashed ${t.data.thumbnails.colors.graphic_color || "#000000"}`
46
- })), h = u(() => (console.log("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"), console.log("props.data", t.data), !t.data || !t.data.thumbnails ? null : {
45
+ })), h = u(() => !t.data || !t.data.thumbnails ? null : {
47
46
  backgroundOverlayColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
48
47
  backgroundImageSrc: t.data.is_player && t.data.thumbnails.images.background_player_in_action[0] ? g(t.data.thumbnails.images.background_player_in_action[0]) : g(t.data.thumbnails.images.background_team),
49
48
  titleColor: (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
50
49
  textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
51
50
  totalColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
52
- })), b = u(() => t.data ? T(z({ data: t.data, descriptionType: t.descriptionType })) : ""), n = u(() => {
51
+ }), v = u(() => t.data ? A(E({ data: t.data, descriptionType: t.descriptionType })) : ""), n = u(() => {
53
52
  if (!t.data) return null;
54
- let d = t.data.team_logo, c = t.data.sections;
55
- d && (d = d.replace("-80", "-150")), c && (c = c.sort((r, i) => r[0] - i[0]));
53
+ let s = t.data.team_logo, c = t.data.sections;
54
+ s && (s = s.replace("-80", "-150")), c && (c = c.sort((r, d) => r[0] - d[0]));
56
55
  let _ = 0;
57
- return c = c.reduce((r, [i, v], f) => (f % 4 === 0 && (r.push([]), _++), r[_ - 1].push([i, v]), r), []).reverse().reduce((r, i) => (r.push(...i), r), []), {
56
+ return c = c.reduce((r, [d, b], f) => (f % 4 === 0 && (r.push([]), _++), r[_ - 1].push([d, b]), r), []).reverse().reduce((r, d) => (r.push(...d), r), []), {
58
57
  playerInAction: t.data.thumbnails.images && t.data.thumbnails.images.player_in_action ? g(t.data.thumbnails.images.player_in_action[0]) : "",
59
- teamLogoSrc: d || "",
58
+ teamLogoSrc: s || "",
60
59
  sections: c || []
61
60
  };
62
61
  });
63
- return (d, c) => (e(), o("div", {
62
+ return (s, c) => (e(), o("div", {
64
63
  class: "card-general",
65
64
  style: y(p.value)
66
65
  }, [
67
- h.value ? (e(), k(A, S({ key: 0 }, h.value, { width: a.width }), {
66
+ h.value ? (e(), k(N, S({ key: 0 }, h.value, { width: a.width }), {
68
67
  default: x(() => [
69
- w(d.$slots, "default", {}, () => [
68
+ w(s.$slots, "default", {}, () => [
70
69
  n.value ? (e(), o("div", {
71
70
  key: 0,
72
71
  style: y(p.value),
73
72
  class: "card-general__content"
74
73
  }, [
75
- a.data.is_player ? (e(), o("div", B, [
74
+ a.data.is_player ? (e(), o("div", $, [
76
75
  n.value.playerInAction ? (e(), o("img", {
77
76
  key: 0,
78
77
  src: n.value.playerInAction,
79
78
  alt: "player"
80
- }, null, 8, E)) : s("", !0)
79
+ }, null, 8, B)) : i("", !0)
81
80
  ])) : (e(), o("div", H, [
82
81
  n.value.teamLogoSrc ? (e(), o("img", {
83
82
  key: 0,
84
83
  src: n.value.teamLogoSrc,
85
84
  alt: "team"
86
- }, null, 8, M)) : s("", !0)
85
+ }, null, 8, M)) : i("", !0)
87
86
  ])),
88
- O,
89
- l("div", P, [
90
- l("div", V, [
91
- l("div", j, [
87
+ V,
88
+ l("div", j, [
89
+ l("div", z, [
90
+ l("div", G, [
92
91
  a.data.team_logo ? (e(), o("img", {
93
92
  key: 0,
94
93
  src: a.data.team_logo,
95
94
  alt: ""
96
- }, null, 8, G)) : s("", !0)
95
+ }, null, 8, P)) : i("", !0)
97
96
  ]),
98
97
  l("div", q, m(a.data.title), 1),
99
- a.data.footer && a.data.footer.show_total ? (e(), o("div", D, m(a.data.total), 1)) : s("", !0)
98
+ a.data.footer && a.data.footer.show_total ? (e(), o("div", D, m(a.data.total), 1)) : i("", !0)
100
99
  ]),
101
100
  l("div", J, [
102
101
  l("div", {
103
102
  class: "card-general__content__footer__body__description",
104
- innerHTML: b.value
103
+ innerHTML: v.value
105
104
  }, null, 8, K),
106
105
  n.value.sections && n.value.sections.length ? (e(), o("div", Q, [
107
106
  (e(!0), o(I, null, C(n.value.sections, ([_, r]) => (e(), o("div", {
@@ -111,17 +110,17 @@ const F = (a) => ($("data-v-7fe677bf"), a = a(), L(), a), B = {
111
110
  l("div", R, m(r), 1),
112
111
  U
113
112
  ]))), 128))
114
- ])) : s("", !0)
113
+ ])) : i("", !0)
115
114
  ])
116
115
  ])
117
- ], 4)) : s("", !0)
116
+ ], 4)) : i("", !0)
118
117
  ], !0)
119
118
  ]),
120
119
  _: 3
121
- }, 16, ["width"])) : s("", !0)
120
+ }, 16, ["width"])) : i("", !0)
122
121
  ], 4));
123
122
  }
124
- }, tt = /* @__PURE__ */ N(W, [["__scopeId", "data-v-7fe677bf"]]);
123
+ }, Z = /* @__PURE__ */ O(W, [["__scopeId", "data-v-4e37e48c"]]);
125
124
  export {
126
- tt as default
125
+ Z as default
127
126
  };
@@ -1,7 +1,6 @@
1
- import { useCssVars as P, computed as g, openBlock as e, createElementBlock as o, normalizeStyle as p, createBlock as $, mergeProps as A, withCtx as N, createElementVNode as a, createCommentVNode as s, toDisplayString as V, unref as q, normalizeClass as I, pushScopeId as E, popScopeId as O } from "vue";
2
- import { $ as S, P as D, z, I as F } from "./misc-CMAhmOsp-DmS1M3b6.js";
3
- import { h as G } from "./index-BRCKRHng.js";
4
- const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-content" }, K = {
1
+ import { useCssVars as P, computed as g, openBlock as e, createElementBlock as o, normalizeStyle as p, createBlock as A, mergeProps as E, withCtx as N, createElementVNode as a, createCommentVNode as s, toDisplayString as q, unref as V, normalizeClass as I, pushScopeId as O, popScopeId as $ } from "vue";
2
+ import { h as D, E as C, I as F, O as z, T as G } from "./misc-BbzSgyER-2p2XKW1m.js";
3
+ const f = (i) => (O("data-v-e7f87fcc"), i = i(), $(), i), J = { class: "card-content" }, K = {
5
4
  key: 0,
6
5
  class: "side-title"
7
6
  }, Q = {
@@ -69,7 +68,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
69
68
  }, M1 = ["fill"], y1 = ["stroke"], b1 = {
70
69
  key: 3,
71
70
  class: "top-content-center"
72
- }, x1 = { class: "text-content" }, L1 = ["innerHTML"], H1 = ["src"], T1 = ["src"], B1 = {
71
+ }, x1 = { class: "text-content" }, L1 = ["innerHTML"], T1 = ["src"], H1 = ["src"], B1 = {
73
72
  __name: "CardGeneralIndividual",
74
73
  props: {
75
74
  height: {
@@ -91,12 +90,12 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
91
90
  },
92
91
  setup(i) {
93
92
  P((n) => ({
94
- "4e30887e": C.value,
93
+ "4e30887e": j.value,
95
94
  "182d53d6": i.data.thumbnails.colors.font_color || "white",
96
95
  "32b0f84e": i.data.title_align || "center",
97
96
  "1868f69c": i.data.header.width || "40px"
98
97
  }));
99
- const l = i, j = g(() => ({
98
+ const l = i, S = g(() => ({
100
99
  "--height": l.height,
101
100
  "--width": l.width,
102
101
  "--footer-background-color": l.data.thumbnails.colors.background_color_cards || "#000000"
@@ -105,22 +104,22 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
105
104
  return !l.data || !l.data.thumbnails ? null : {
106
105
  idCard: l.data.id,
107
106
  backgroundOverlayColor: l.data.thumbnails.colors.background_color || "#000000",
108
- backgroundImageSrc: S((d = (r = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : r.background_player_in_action) != null && d[0] ? l.data.thumbnails.images.background_player_in_action[0] : (h = (m = (u = l.data) == null ? void 0 : u.thumbnails) == null ? void 0 : m.images) != null && h.background_team ? l.data.thumbnails.images.background_team : "")
107
+ backgroundImageSrc: C((d = (r = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : r.background_player_in_action) != null && d[0] ? l.data.thumbnails.images.background_player_in_action[0] : (h = (m = (u = l.data) == null ? void 0 : u.thumbnails) == null ? void 0 : m.images) != null && h.background_team ? l.data.thumbnails.images.background_team : "")
109
108
  };
110
109
  }), _ = g(() => {
111
110
  var n, c, r, d;
112
111
  return l.data ? {
113
- playerInAction: (d = (r = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : r.player_in_action) != null && d[0] ? S(l.data.thumbnails.images.player_in_action[0]) : "",
114
- description: D(z({ data: l.data, descriptionType: l.descriptionType }))
112
+ playerInAction: (d = (r = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : r.player_in_action) != null && d[0] ? C(l.data.thumbnails.images.player_in_action[0]) : "",
113
+ description: F(z({ data: l.data, descriptionType: l.descriptionType }))
115
114
  } : null;
116
- }), C = g(() => l.data.categories.some((n) => [2, 20].includes(n)) && l.data.id == "11-g" ? "space-between" : "center");
115
+ }), j = g(() => l.data.categories.some((n) => [2, 20].includes(n)) && l.data.id == "11-g" ? "space-between" : "center");
117
116
  return (n, c) => (e(), o("div", {
118
117
  class: "card-general",
119
- style: p(j.value)
118
+ style: p(S.value)
120
119
  }, [
121
- k.value ? (e(), $(F, A({ key: 0 }, k.value, { width: i.width }), {
120
+ k.value ? (e(), A(G, E({ key: 0 }, k.value, { width: i.width }), {
122
121
  default: N(() => {
123
- var r, d, u, m, h, w, v, M, y, b, x, L, H, T, B;
122
+ var r, d, u, m, h, w, v, M, y, b, x, L, T, H, B;
124
123
  return [
125
124
  a("div", J, [
126
125
  l.data.vertical_title ? (e(), o("div", K, [
@@ -168,7 +167,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
168
167
  ])) : s("", !0),
169
168
  a("span", {
170
169
  style: p({ color: l.data.thumbnails.colors.font_color_header || "white" })
171
- }, V(l.data.title), 5),
170
+ }, q(l.data.title), 5),
172
171
  a("img", {
173
172
  class: "side-title__team-logo top",
174
173
  src: l.data.team_logo,
@@ -180,7 +179,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
180
179
  "text-align": (m = (u = l.data) == null ? void 0 : u.categories) != null && m.some((t) => [2, 20].includes(t)) && l.data.id == "11-g" || (w = (h = l.data) == null ? void 0 : h.categories) != null && w.some((t) => [4].includes(t)) && l.data.id == "7-g" ? "left !important" : "center !important",
181
180
  color: l.data.thumbnails.colors.font_color_header || "white"
182
181
  })
183
- }, V(l.data.title), 5),
182
+ }, q(l.data.title), 5),
184
183
  (M = (v = l.data) == null ? void 0 : v.categories) != null && M.some((t) => [2, 20].includes(t)) && l.data.id == "11-g" && l.data.header.show_icon ? (e(), o("svg", e1, [
185
184
  a("g", {
186
185
  opacity: ".6",
@@ -238,11 +237,11 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
238
237
  l.data.vertical_title ? (e(), o("div", k1, [
239
238
  a("div", _1, [
240
239
  a("p", {
241
- innerHTML: q(z)({ data: l.data, descriptionType: l.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
240
+ innerHTML: V(z)({ data: l.data, descriptionType: l.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
242
241
  style: p({ color: l.data.thumbnails.colors.font_color_description || "white" })
243
242
  }, null, 12, w1)
244
243
  ]),
245
- (T = (H = l.data) == null ? void 0 : H.categories) != null && T.some((t) => [4].includes(t)) && l.data.id == "6-g" ? (e(), o("svg", v1, [
244
+ (H = (T = l.data) == null ? void 0 : T.categories) != null && H.some((t) => [4].includes(t)) && l.data.id == "6-g" ? (e(), o("svg", v1, [
246
245
  a("path", {
247
246
  d: "M.1 40.667a4 4 0 1 0 8 0 4 4 0 0 0-8 0zm30.167-18.666.436.61.844-.602-.836-.613-.444.605zM1.322.752l3.484 7.93L9.93 1.7 1.322.752zm.843 1.55a.75.75 0 1 0 .888-1.21l-.888 1.21zm4.104 1.151a.75.75 0 1 0-.888 1.21l.888-1.21zm1.685 3.098a.75.75 0 0 0 .888-1.21l-.888 1.21zm4.104 1.152a.75.75 0 1 0-.888 1.209l.888-1.21zm1.685 3.098a.75.75 0 1 0 .887-1.21l-.887 1.21zm4.104 1.151a.75.75 0 1 0-.888 1.21l.888-1.21zm1.685 3.098a.75.75 0 0 0 .887-1.209l-.887 1.21zm4.104 1.152a.75.75 0 0 0-.888 1.21l.888-1.21zM25.32 19.3a.75.75 0 0 0 .887-1.21l-.887 1.21zm4.104 1.152a.75.75 0 0 0-.888 1.209l.888-1.21zm-1.047 1.975a.75.75 0 0 0 .871 1.221l-.871-1.221zm-2.763 3.814a.75.75 0 1 0-.871-1.221l.87 1.22zm-3.779.853a.75.75 0 0 0 .871 1.22l-.87-1.22zm-2.763 3.813a.75.75 0 0 0-.87-1.22l.87 1.22zm-3.778.853a.75.75 0 1 0 .87 1.221l-.87-1.22zm-2.764 3.814a.75.75 0 1 0-.87-1.221l.87 1.22zm-3.778.853a.75.75 0 0 0 .871 1.221l-.871-1.221zM5.99 40.24a.75.75 0 1 0-.871-1.22l.87 1.22zM5.38 4.662l2.573 1.889.888-1.21-2.573-1.888-.888 1.21zm5.789 4.25 2.573 1.889.887-1.21-2.572-1.888-.888 1.209zm5.789 4.25 2.573 1.888.887-1.209-2.572-1.889-.888 1.21zm5.789 4.25 2.573 1.888.887-1.21-2.572-1.888-.888 1.21zm5.789 4.249 1.286.944.888-1.209-1.286-.944-.888 1.209zm1.295-.271-1.454 1.037.871 1.221 1.454-1.037-.871-1.221zm-5.088 3.63-2.908 2.074.871 1.22 2.908-2.073-.871-1.221zm-6.542 4.666-2.907 2.074.87 1.221 2.908-2.074-.87-1.22zm-6.542 4.667-2.907 2.074.871 1.221 2.907-2.074-.87-1.221zM5.12 39.019l-1.454 1.037.871 1.222L5.99 40.24l-.871-1.22z",
248
247
  fill: l.data.thumbnails.colors.icon_color
@@ -257,7 +256,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
257
256
  ])) : (e(), o("div", b1, [
258
257
  a("div", x1, [
259
258
  a("p", {
260
- innerHTML: q(z)({ data: l.data, descriptionType: l.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
259
+ innerHTML: V(z)({ data: l.data, descriptionType: l.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
261
260
  style: p({ color: l.data.thumbnails.colors.font_color_description || "white" })
262
261
  }, null, 12, L1)
263
262
  ]),
@@ -265,7 +264,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
265
264
  class: I(["team-logo", l.data.footer.team_logo_position || "left"]),
266
265
  src: l.data.team_logo,
267
266
  alt: "Logo del equipo"
268
- }, null, 10, H1)
267
+ }, null, 10, T1)
269
268
  ])),
270
269
  (B = _.value) != null && B.playerInAction ? (e(), o("div", {
271
270
  key: 4,
@@ -274,7 +273,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
274
273
  a("img", {
275
274
  src: _.value.playerInAction,
276
275
  alt: "Jugador en acción"
277
- }, null, 8, T1)
276
+ }, null, 8, H1)
278
277
  ], 2)) : s("", !0)
279
278
  ])
280
279
  ];
@@ -283,7 +282,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
283
282
  }, 16, ["width"])) : s("", !0)
284
283
  ], 4));
285
284
  }
286
- }, S1 = /* @__PURE__ */ G(B1, [["__scopeId", "data-v-e7f87fcc"]]);
285
+ }, I1 = /* @__PURE__ */ D(B1, [["__scopeId", "data-v-e7f87fcc"]]);
287
286
  export {
288
- S1 as default
287
+ I1 as default
289
288
  };