@golstats/gsc-landing 1.0.201 → 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/README.md +2 -2
  2. package/dist/{CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +15 -11
  3. package/dist/{CardGeneral-AZwvWZ_3-AQOM0OL9.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +79 -72
  4. package/dist/{CardGeneralIndividual-DetWgcUA-BTLZpGNX.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +47 -40
  5. package/dist/{CardGeneralTeams-wLzPsHgF-fLdKm-YP.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +40 -33
  6. package/dist/{CardIndividual-DsTXOh1h-Dc3790C2.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +79 -72
  7. package/dist/CardIndividual1vs1-ayelgnf_-Dzunebe6.js +112 -0
  8. package/dist/{CardIndividualAreas-DngsmF39-DcK3uLDs.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +123 -119
  9. package/dist/{CardIndividualCenters-BG_eOM3D-xuIP7w17.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -111
  10. package/dist/{CardIndividualDistance-CvBDGVS--D8YWMCKb.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
  11. package/dist/{CardIndividualFouls-C44UeLyO-ZIHkkK8-.js → CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js} +131 -127
  12. package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
  13. package/dist/{CardIndividualGoals-B4b5wkp6-BwluJyoB.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +186 -182
  14. package/dist/{CardIndividualGold-BfC-u_iy-DT3GeGNQ.js → CardIndividualGold-Ptz6THCG-BRqzfQcT.js} +39 -35
  15. package/dist/{CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
  16. package/dist/CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js +107 -0
  17. package/dist/{CardIndividualSaves-nqci9xWF-CDd6dQLA.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +47 -40
  18. package/dist/{CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +72 -68
  19. package/dist/{CardIndividualStatistics-Z68XArun-DT_RnZV9.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +36 -32
  20. package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
  21. package/dist/{CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js → CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js} +64 -60
  22. package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
  23. package/dist/{CircleWithDotsBig-BWySvEMt-COAdxI3W.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
  24. package/dist/{Shield-DzbSNLIW-B-twHEDg.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
  25. package/dist/gsc-landing.js +2152 -2142
  26. package/dist/gsc-landing.umd.cjs +59 -59
  27. package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
  28. package/dist/style.css +1 -1
  29. package/package.json +53 -53
  30. package/dist/CardIndividual1vs1-D4ApefEV-BpJl9DFk.js +0 -108
  31. package/dist/CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js +0 -111
  32. package/dist/CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js +0 -103
  33. package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +0 -76
  34. package/dist/misc-BpbriWn--Bd_IQoHZ.js +0 -168
@@ -1,12 +1,12 @@
1
- import { useCssVars as C, computed as u, openBlock as l, createElementBlock as c, normalizeStyle as _, createBlock as F, mergeProps as v, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as p, createCommentVNode as h, createTextVNode as q, pushScopeId as D, popScopeId as T } from "vue";
2
- import { h as b, z as E, P as N, E as B, I, O as P } from "./misc-BpbriWn--Bd_IQoHZ.js";
3
- import { r as V } from "./CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js";
1
+ import { useCssVars as C, computed as u, openBlock as l, createElementBlock as c, normalizeStyle as _, createBlock as v, mergeProps as F, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as p, createCommentVNode as h, createTextVNode as q, pushScopeId as D, popScopeId as T } from "vue";
2
+ import { h as b, V as B, P as E, z as N, I as V, O as I } from "./misc-D94RabGe-BRVOC8Yx.js";
3
+ import { r as P } from "./CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js";
4
4
  const y = {
5
5
  props: {
6
6
  cancha: {
7
7
  type: String,
8
8
  required: !0,
9
- validator: (o) => ["full", "own", "rival"].includes(o)
9
+ validator: (r) => ["full", "own", "rival"].includes(r)
10
10
  },
11
11
  stat: {
12
12
  type: Number,
@@ -15,7 +15,7 @@ const y = {
15
15
  type: {
16
16
  type: String,
17
17
  default: "box",
18
- validator: (o) => ["box", "accelerometer"].includes(o)
18
+ validator: (r) => ["box", "accelerometer"].includes(r)
19
19
  },
20
20
  colorcancha: {
21
21
  type: String,
@@ -38,34 +38,34 @@ const y = {
38
38
  },
39
39
  canchaType() {
40
40
  if (Array.isArray(this.cancha)) {
41
- const o = [485, 486, 489, 490], r = [487, 488, 491, 492];
42
- return this.cancha.length === o.length && this.cancha.every((a) => o.includes(Number(a))) ? "rival" : this.cancha.length === r.length && this.cancha.every((a) => r.includes(Number(a))) ? "own" : "full";
41
+ const r = [485, 486, 489, 490], o = [487, 488, 491, 492];
42
+ return this.cancha.length === r.length && this.cancha.every((a) => r.includes(Number(a))) ? "rival" : this.cancha.length === o.length && this.cancha.every((a) => o.includes(Number(a))) ? "own" : "full";
43
43
  }
44
44
  return this.cancha;
45
45
  }
46
46
  }
47
47
  }, L = () => {
48
- C((o) => ({
49
- "341fe420": o.colorstat,
50
- "7277aacf": o.accelerometerStyle.percentage,
51
- e1386cd0: o.colorcancha
48
+ C((r) => ({
49
+ "341fe420": r.colorstat,
50
+ "7277aacf": r.accelerometerStyle.percentage,
51
+ e1386cd0: r.colorcancha
52
52
  }));
53
53
  }, x = y.setup;
54
- y.setup = x ? (o, r) => (L(), x(o, r)) : L;
55
- const n = (o) => (D("data-v-9e7db71d"), o = o(), T(), o), z = { class: "outer-box" }, O = {
54
+ y.setup = x ? (r, o) => (L(), x(r, o)) : L;
55
+ const n = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), z = { class: "outer-box" }, O = {
56
56
  key: 0,
57
57
  class: "inner-box"
58
58
  }, Z = {
59
59
  key: 1,
60
60
  class: "accelerometer"
61
- }, $ = { class: "accelerometer-value" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), j = {
61
+ }, $ = { class: "accelerometer-value" }, A = /* @__PURE__ */ n(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), U = {
62
62
  key: 2,
63
63
  width: "212",
64
64
  height: "137",
65
65
  viewBox: "0 0 212 137",
66
66
  fill: "none",
67
67
  xmlns: "http://www.w3.org/2000/svg"
68
- }, A = ["fill"], H = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
68
+ }, j = ["fill"], H = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
69
69
  id: "path-2-inside-1_2150_1935",
70
70
  fill: "white"
71
71
  }, [
@@ -82,7 +82,7 @@ const n = (o) => (D("data-v-9e7db71d"), o = o(), T(), o), z = { class: "outer-bo
82
82
  stroke: "#DFE3E2",
83
83
  "stroke-width": "0.450603",
84
84
  "stroke-linecap": "square"
85
- }, null, -1)), K = ["stroke"], Y = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], rt = ["stroke"], ot = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
85
+ }, null, -1)), K = ["stroke"], Y = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
86
86
  key: 3,
87
87
  width: "212",
88
88
  height: "137",
@@ -106,14 +106,14 @@ const n = (o) => (D("data-v-9e7db71d"), o = o(), T(), o), z = { class: "outer-bo
106
106
  stroke: "#DFE3E2",
107
107
  "stroke-width": "0.450603",
108
108
  "stroke-linecap": "square"
109
- }, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], mt = ["stroke"], ft = { opacity: "0.7" }, wt = ["stroke"], gt = ["stroke"], Lt = ["stroke"], xt = ["stroke"], Ct = ["stroke"], bt = {
109
+ }, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], wt = ["stroke"], mt = { opacity: "0.7" }, ft = ["stroke"], gt = ["stroke"], Lt = ["stroke"], xt = ["stroke"], Ct = ["stroke"], bt = {
110
110
  key: 4,
111
111
  width: "212",
112
112
  height: "137",
113
113
  viewBox: "0 0 212 137",
114
114
  fill: "none",
115
115
  xmlns: "http://www.w3.org/2000/svg"
116
- }, _t = ["fill"], Ft = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
116
+ }, _t = ["fill"], vt = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
117
117
  id: "path-2-inside-1_2150_1773",
118
118
  fill: "white"
119
119
  }, [
@@ -125,21 +125,21 @@ const n = (o) => (D("data-v-9e7db71d"), o = o(), T(), o), z = { class: "outer-bo
125
125
  rx: "1.22558",
126
126
  transform: "rotate(-180 211.787 136.084)"
127
127
  })
128
- ], -1)), vt = ["stroke"], Mt = /* @__PURE__ */ n(() => /* @__PURE__ */ t("path", {
128
+ ], -1)), Ft = ["stroke"], Mt = /* @__PURE__ */ n(() => /* @__PURE__ */ t("path", {
129
129
  d: "M105.773 135.615L105.773 0.58395",
130
130
  stroke: "#DFE3E2",
131
131
  "stroke-width": "0.450603",
132
132
  "stroke-linecap": "square"
133
- }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Tt = ["stroke"], Et = ["stroke"], Nt = ["stroke"], Bt = { opacity: "0.7" }, It = ["stroke"], Pt = ["stroke"], Vt = ["stroke"], zt = ["stroke"], Ot = ["stroke"];
134
- function Zt(o, r, a, m, i, e) {
133
+ }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Tt = ["stroke"], Bt = ["stroke"], Et = ["stroke"], Nt = { opacity: "0.7" }, Vt = ["stroke"], It = ["stroke"], Pt = ["stroke"], zt = ["stroke"], Ot = ["stroke"];
134
+ function Zt(r, o, a, w, i, e) {
135
135
  return l(), c("div", z, [
136
136
  a.type === "box" ? (l(), c("div", O, p(a.stat), 1)) : a.type === "accelerometer" ? (l(), c("div", Z, [
137
137
  t("div", $, [
138
138
  q(p(a.stat), 1),
139
- U
139
+ A
140
140
  ])
141
141
  ])) : h("", !0),
142
- e.canchaType === "full" ? (l(), c("svg", j, [
142
+ e.canchaType === "full" ? (l(), c("svg", U, [
143
143
  t("rect", {
144
144
  opacity: "0.6",
145
145
  x: "1.89551",
@@ -149,7 +149,7 @@ function Zt(o, r, a, m, i, e) {
149
149
  transform: "rotate(-90 1.89551 136)",
150
150
  fill: a.colorfillcancha,
151
151
  "fill-opacity": "0.8"
152
- }, null, 8, A),
152
+ }, null, 8, j),
153
153
  H,
154
154
  t("rect", {
155
155
  x: "211.787",
@@ -213,13 +213,13 @@ function Zt(o, r, a, m, i, e) {
213
213
  stroke: a.colorcancha,
214
214
  "stroke-width": "0.523385",
215
215
  "stroke-dasharray": "1.05 1.05"
216
- }, null, 8, rt),
216
+ }, null, 8, ot),
217
217
  t("path", {
218
218
  d: "M158.008 136.08L158.008 7.43866e-05",
219
219
  stroke: a.colorcancha,
220
220
  "stroke-width": "0.523385",
221
221
  "stroke-dasharray": "1.05 1.05"
222
- }, null, 8, ot),
222
+ }, null, 8, rt),
223
223
  t("path", {
224
224
  d: "M210.673 90.7202L0.0105608 90.7202",
225
225
  stroke: a.colorcancha,
@@ -294,14 +294,14 @@ function Zt(o, r, a, m, i, e) {
294
294
  fill: "#D8D8D8",
295
295
  stroke: a.colorcancha,
296
296
  "stroke-width": "0.450603"
297
- }, null, 8, mt),
298
- t("g", ft, [
297
+ }, null, 8, wt),
298
+ t("g", mt, [
299
299
  t("path", {
300
300
  d: "M52.6768 136.08L52.6768 7.43866e-05",
301
301
  stroke: a.colorcancha,
302
302
  "stroke-width": "0.523385",
303
303
  "stroke-dasharray": "1.05 1.05"
304
- }, null, 8, wt),
304
+ }, null, 8, ft),
305
305
  t("path", {
306
306
  d: "M105.342 136.08L105.342 7.43866e-05",
307
307
  stroke: a.colorcancha,
@@ -336,7 +336,7 @@ function Zt(o, r, a, m, i, e) {
336
336
  fill: a.colorfillcancha,
337
337
  "fill-opacity": "0.8"
338
338
  }, null, 8, _t),
339
- Ft,
339
+ vt,
340
340
  t("rect", {
341
341
  x: "211.787",
342
342
  y: "136.084",
@@ -346,7 +346,7 @@ function Zt(o, r, a, m, i, e) {
346
346
  transform: "rotate(-180 211.787 136.084)",
347
347
  stroke: a.colorcancha,
348
348
  "stroke-width": "1.84031"
349
- }, null, 8, vt),
349
+ }, null, 8, Ft),
350
350
  Mt,
351
351
  t("path", {
352
352
  d: "M211.787 100.685L183.971 100.685C183.633 100.685 183.359 100.41 183.359 100.072L183.359 36.1511C183.359 35.8126 183.633 35.5383 183.971 35.5383L211.787 35.5383",
@@ -375,7 +375,7 @@ function Zt(o, r, a, m, i, e) {
375
375
  stroke: a.colorcancha,
376
376
  "stroke-opacity": "0.7",
377
377
  "stroke-width": "1.16503"
378
- }, null, 8, Et),
378
+ }, null, 8, Bt),
379
379
  t("ellipse", {
380
380
  cx: "105.788",
381
381
  cy: "68.1164",
@@ -385,26 +385,26 @@ function Zt(o, r, a, m, i, e) {
385
385
  fill: "#FF0000",
386
386
  stroke: a.colorcancha,
387
387
  "stroke-width": "0.450603"
388
- }, null, 8, Nt),
389
- t("g", Bt, [
388
+ }, null, 8, Et),
389
+ t("g", Nt, [
390
390
  t("path", {
391
391
  d: "M52.6768 136.08L52.6768 7.43866e-05",
392
392
  stroke: a.colorcancha,
393
393
  "stroke-width": "0.523385",
394
394
  "stroke-dasharray": "1.05 1.05"
395
- }, null, 8, It),
395
+ }, null, 8, Vt),
396
396
  t("path", {
397
397
  d: "M105.342 136.08L105.342 7.43866e-05",
398
398
  stroke: a.colorcancha,
399
399
  "stroke-width": "0.523385",
400
400
  "stroke-dasharray": "1.05 1.05"
401
- }, null, 8, Pt),
401
+ }, null, 8, It),
402
402
  t("path", {
403
403
  d: "M158.008 136.08L158.008 7.43866e-05",
404
404
  stroke: a.colorcancha,
405
405
  "stroke-width": "0.523385",
406
406
  "stroke-dasharray": "1.05 1.05"
407
- }, null, 8, Vt),
407
+ }, null, 8, Pt),
408
408
  t("path", {
409
409
  d: "M210.673 90.7202L0.0105608 90.7202",
410
410
  stroke: a.colorcancha,
@@ -421,7 +421,7 @@ function Zt(o, r, a, m, i, e) {
421
421
  ])) : h("", !0)
422
422
  ]);
423
423
  }
424
- const $t = /* @__PURE__ */ b(y, [["render", Zt], ["__scopeId", "data-v-9e7db71d"]]), Ut = { class: "content-wrapper" }, jt = { class: "content-box" }, At = { class: "text-container" }, Ht = {
424
+ const $t = /* @__PURE__ */ b(y, [["render", Zt], ["__scopeId", "data-v-9e7db71d"]]), At = { class: "content-wrapper" }, Ut = { class: "content-box" }, jt = { class: "text-container" }, Ht = {
425
425
  key: 0,
426
426
  class: "title"
427
427
  }, Gt = {
@@ -445,72 +445,79 @@ const $t = /* @__PURE__ */ b(y, [["render", Zt], ["__scopeId", "data-v-9e7db71d"
445
445
  descriptionType: {
446
446
  type: Number,
447
447
  default: 0
448
+ },
449
+ showVideos: {
450
+ type: Boolean,
451
+ default: !0
448
452
  }
449
453
  },
450
- setup(o) {
454
+ setup(r) {
451
455
  C((e) => ({
452
- "95df9cfe": i.value.subtitle ? "100%" : "78%"
456
+ b47f3daa: i.value.subtitle ? "100%" : "78%"
453
457
  }));
454
- const r = o, a = u(() => {
455
- var e, s, d, k, f, w, g;
458
+ const o = r, a = u(() => {
459
+ var e, s, d, k, m, f, g;
456
460
  return {
457
- height: r.height,
458
- width: r.width,
461
+ height: o.height,
462
+ width: o.width,
459
463
  footerHeight: "93px",
460
464
  footerPadding: "24px 24px 30px 24px",
461
- playerPhotoUrl: E(r.data.player_id || ""),
462
- teamLogoUrl: N(r.data.team_id || "") || "",
463
- cardColor: r.data.thumbnails.colors.background_color || "#000000",
464
- backgroundImageSrc: B((k = (d = (s = (e = r.data) == null ? void 0 : e.thumbnails) == null ? void 0 : s.images) == null ? void 0 : d.background_player_in_action) != null && k[0] ? r.data.thumbnails.images.background_player_in_action[0] : (g = (w = (f = r.data) == null ? void 0 : f.thumbnails) == null ? void 0 : w.images) != null && g.background_team ? r.data.thumbnails.images.background_team : ""),
465
- textColor: r.data.thumbnails.colors.font_color_description || "#FFFFFF",
465
+ playerPhotoUrl: B(o.data.player_id || ""),
466
+ teamLogoUrl: E(o.data.team_id || "") || "",
467
+ cardColor: o.data.thumbnails.colors.background_color || "#000000",
468
+ backgroundImageSrc: N((k = (d = (s = (e = o.data) == null ? void 0 : e.thumbnails) == null ? void 0 : s.images) == null ? void 0 : d.background_player_in_action) != null && k[0] ? o.data.thumbnails.images.background_player_in_action[0] : (g = (f = (m = o.data) == null ? void 0 : m.thumbnails) == null ? void 0 : f.images) != null && g.background_team ? o.data.thumbnails.images.background_team : ""),
469
+ textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
466
470
  footerBodyData: {
467
- textColor: r.data.thumbnails.colors.font_color_stats || "#FFFFFF",
468
- description: I(P({ data: r.data, descriptionType: r.descriptionType })),
469
- totalTextColor: r.data.thumbnails.colors.font_color_stats || "#FFFFFF",
470
- totalCircleColor: r.data.thumbnails.colors.background_color || "#000000",
471
- isTotalPercentage: !!r.data.footer.show_percentage
471
+ textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
472
+ description: V(I({ data: o.data, descriptionType: o.descriptionType })),
473
+ totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
474
+ totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
475
+ isTotalPercentage: !!o.data.footer.show_percentage
472
476
  }
473
477
  };
474
- }), m = u(() => ({
475
- "--title-color": r.data.thumbnails.colors.font_color_header || "#FFFFFF"
478
+ }), w = u(() => ({
479
+ "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
476
480
  })), i = u(() => {
477
481
  var e;
478
- if (!r.data.title) return { title: "", subtitle: "" };
479
- const s = r.data.title.match(/\*(.*?)\*/), d = s ? s[1] : "", k = s ? r.data.title.replace(/\*.*?\*/, "").trim() : r.data.title.trim();
482
+ if (!o.data.title) return { title: "", subtitle: "" };
483
+ const s = o.data.title.match(/\*(.*?)\*/), d = s ? s[1] : "", k = s ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
480
484
  return {
481
485
  title: d,
482
486
  subtitle: k,
483
- showPlus: !!((e = r.data.header) != null && e.show_percentage)
487
+ showPlus: !!((e = o.data.header) != null && e.show_percentage)
484
488
  };
485
489
  });
486
490
  return (e, s) => (l(), c("div", {
487
491
  class: "card-general",
488
- style: _(m.value)
492
+ style: _(w.value)
489
493
  }, [
490
- a.value ? (l(), F(V, v({ key: 0 }, a.value, { width: o.width }), {
494
+ a.value ? (l(), v(P, F({ key: 0 }, a.value, {
495
+ width: r.width,
496
+ "show-videos": r.showVideos
497
+ }), {
491
498
  body: M(() => [
492
- t("div", Ut, [
493
- t("div", jt, [
499
+ t("div", At, [
500
+ t("div", Ut, [
494
501
  S($t, {
495
- colorfillcancha: r.data.thumbnails.colors.graphic_color_2,
496
- colorcancha: r.data.thumbnails.colors.graphic_color,
497
- colorstat: r.data.thumbnails.colors.data_color,
498
- cancha: r.data.categories,
499
- stat: r.data.body && r.data.body.show_percentage == 0 ? r.data.total : r.data.percentage,
500
- type: r.data.body.show_percentage == 1 ? "accelerometer" : "box"
502
+ colorfillcancha: o.data.thumbnails.colors.graphic_color_2,
503
+ colorcancha: o.data.thumbnails.colors.graphic_color,
504
+ colorstat: o.data.thumbnails.colors.data_color,
505
+ cancha: o.data.categories,
506
+ stat: o.data.body && o.data.body.show_percentage == 0 ? o.data.total : o.data.percentage,
507
+ type: o.data.body.show_percentage == 1 ? "accelerometer" : "box"
501
508
  }, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
502
509
  ]),
503
- t("div", At, [
510
+ t("div", jt, [
504
511
  i.value.title ? (l(), c("h2", Ht, p(i.value.title), 1)) : h("", !0),
505
512
  i.value.subtitle ? (l(), c("p", Gt, p(i.value.subtitle), 1)) : h("", !0)
506
513
  ])
507
514
  ])
508
515
  ]),
509
516
  _: 1
510
- }, 16, ["width"])) : h("", !0)
517
+ }, 16, ["width", "show-videos"])) : h("", !0)
511
518
  ], 4));
512
519
  }
513
- }, Rt = /* @__PURE__ */ b(Jt, [["__scopeId", "data-v-41f385fa"]]);
520
+ }, Rt = /* @__PURE__ */ b(Jt, [["__scopeId", "data-v-6faa6970"]]);
514
521
  export {
515
522
  Rt as default
516
523
  };
@@ -0,0 +1,112 @@
1
+ import { computed as i, openBlock as l, createElementBlock as d, normalizeStyle as f, createVNode as b, mergeProps as w, withCtx as v, createElementVNode as t, toDisplayString as C, Fragment as g, pushScopeId as F, popScopeId as y } from "vue";
2
+ import { r as L } from "./CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js";
3
+ import { h as x, V as k, P as S, z as V, I as B, O as I } from "./misc-D94RabGe-BRVOC8Yx.js";
4
+ const h = (e) => (F("data-v-504d80ec"), e = e(), y(), e), T = { class: "onevsone__body" }, P = { class: "onevsone__body__title" }, H = { class: "contsvg" }, N = /* @__PURE__ */ h(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), D = ["fill"], E = ["fill"], M = /* @__PURE__ */ h(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), U = ["fill"], Z = ["fill"], z = {
5
+ __name: "CardIndividual1vs1",
6
+ props: {
7
+ height: {
8
+ type: String,
9
+ default: "445px"
10
+ },
11
+ width: {
12
+ type: String,
13
+ default: "319px"
14
+ },
15
+ data: {
16
+ type: Object,
17
+ default: () => null
18
+ },
19
+ descriptionType: {
20
+ type: Number,
21
+ default: 0
22
+ },
23
+ showVideos: {
24
+ type: Boolean,
25
+ default: !0
26
+ }
27
+ },
28
+ setup(e) {
29
+ const o = e, m = i(() => {
30
+ var r, n, a, s, c, u, p;
31
+ return {
32
+ height: o.height,
33
+ width: o.width,
34
+ footerHeight: "137px",
35
+ footerPadding: "24px 24px 25px 24px",
36
+ playerPhotoUrl: k(o.data.player_id || ""),
37
+ teamLogoUrl: S(o.data.team_id || "") || "",
38
+ cardColor: o.data.thumbnails.colors.background_color || "#000000",
39
+ backgroundImageSrc: V((s = (a = (n = (r = o.data) == null ? void 0 : r.thumbnails) == null ? void 0 : n.images) == null ? void 0 : a.background_player_in_action) != null && s[0] ? o.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = o.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? o.data.thumbnails.images.background_team : ""),
40
+ textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
41
+ footerBodyData: {
42
+ textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
43
+ description: B(I({ data: o.data, descriptionType: o.descriptionType })),
44
+ total: o.data.footer && o.data.footer.show_percentage == 1 ? o.data.percentage : o.data.total,
45
+ totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
46
+ totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
47
+ isTotalPercentage: o.data.footer && !!o.data.footer.show_percentage
48
+ }
49
+ };
50
+ });
51
+ i(() => o.data.id);
52
+ const _ = i(() => ({
53
+ "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
54
+ }));
55
+ return (r, n) => (l(), d("div", {
56
+ class: "onevsone",
57
+ style: f(_.value)
58
+ }, [
59
+ b(L, w(m.value, { "show-videos": e.showVideos }), {
60
+ body: v(() => {
61
+ var a;
62
+ return [
63
+ t("div", T, [
64
+ t("div", P, C(o.data.title.replace(/\*/g, "")), 1),
65
+ t("div", H, [
66
+ (a = o.data.categories) != null && a.includes(4) ? (l(), d(g, { key: 1 }, [
67
+ M,
68
+ (l(), d("svg", {
69
+ width: "12",
70
+ class: "arrow",
71
+ height: "75",
72
+ viewBox: "0 0 12 75",
73
+ fill: o.data.thumbnails.colors.icon_color,
74
+ xmlns: "http://www.w3.org/2000/svg"
75
+ }, [
76
+ t("path", {
77
+ "fill-rule": "evenodd",
78
+ "clip-rule": "evenodd",
79
+ d: "M5 4.5489L5 75H7L7 4.62807L10.1992 7.86923C10.3268 7.9985 10.4817 8.05853 10.664 8.04929C10.8463 8.04006 11.0013 7.9708 11.1289 7.84153L11.7304 7.23208C11.858 7.1028 11.9218 6.94582 11.9218 6.76114C11.9218 6.57645 11.858 6.41948 11.7304 6.2902L6.34592 0.836174C6.23509 0.741615 6.10676 0.694336 5.96092 0.694336C5.77863 0.694336 5.62368 0.768211 5.49608 0.915955L0.191406 6.2902C0.0638018 6.41948 0 6.57645 0 6.76114C0 6.94582 0.0638018 7.1028 0.191406 7.23208L0.792967 7.84153C0.920571 7.9708 1.07552 8.04006 1.25781 8.04929C1.4401 8.05853 1.59505 7.9985 1.72265 7.86923L5 4.5489Z",
80
+ fill: o.data.thumbnails.colors.icon_color
81
+ }, null, 8, Z)
82
+ ], 8, U))
83
+ ], 64)) : (l(), d(g, { key: 0 }, [
84
+ N,
85
+ (l(), d("svg", {
86
+ class: "arrow",
87
+ width: "12",
88
+ height: "75",
89
+ viewBox: "0 0 12 75",
90
+ fill: o.data.thumbnails.colors.icon_color,
91
+ xmlns: "http://www.w3.org/2000/svg"
92
+ }, [
93
+ t("path", {
94
+ "fill-rule": "evenodd",
95
+ "clip-rule": "evenodd",
96
+ d: "M5 71.1454L5 0.694344H7L7 71.0663L10.1992 67.8251C10.3268 67.6958 10.4817 67.6358 10.664 67.6451C10.8463 67.6543 11.0013 67.7235 11.1289 67.8528L11.7304 68.4623C11.858 68.5915 11.9218 68.7485 11.9218 68.9332C11.9218 69.1179 11.858 69.2749 11.7304 69.4041L6.34592 74.8582C6.23509 74.9527 6.10676 75 5.96092 75C5.77863 75 5.62368 74.9261 5.49608 74.7784L0.191406 69.4041C0.0638018 69.2749 0 69.1179 0 68.9332C0 68.7485 0.0638018 68.5915 0.191406 68.4623L0.792967 67.8528C0.920571 67.7235 1.07552 67.6543 1.25781 67.6451C1.4401 67.6358 1.59505 67.6958 1.72265 67.8251L5 71.1454Z",
97
+ fill: o.data.thumbnails.colors.icon_color
98
+ }, null, 8, E)
99
+ ], 8, D))
100
+ ], 64))
101
+ ])
102
+ ])
103
+ ];
104
+ }),
105
+ _: 1
106
+ }, 16, ["show-videos"])
107
+ ], 4));
108
+ }
109
+ }, A = /* @__PURE__ */ x(z, [["__scopeId", "data-v-504d80ec"]]);
110
+ export {
111
+ A as default
112
+ };