@golstats/gsc-landing 1.0.213 → 1.0.214

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/CardBase-Cdma--ld-BufA9Fxb.js +181 -0
  3. package/dist/{CardBaseAllIndividual-MZU9YVGl-CP107tbU.js → CardBaseAllIndividual-D-OnB5nZ-BPn0LvNB.js} +22 -16
  4. package/dist/{CardGeneral-C9IYdx36-DpuRuCM2.js → CardGeneral-Bw1wA3nD-DCftAsKf.js} +62 -58
  5. package/dist/{CardGeneralIndividual-Cr4vkSx7-CJJdrLMj.js → CardGeneralIndividual-D0egQpIm-CAQh25pC.js} +116 -112
  6. package/dist/{CardGeneralTeams-Dbs9m7rY-DkjTHx_b.js → CardGeneralTeams-C7jWZSZP-7UMUvMn-.js} +64 -60
  7. package/dist/{CardIndividual-BWKDE_dT-DBY7KxMm.js → CardIndividual-5844PHsB-ByyQBoNQ.js} +75 -70
  8. package/dist/CardIndividual1vs1-CQexwdAS-IO9xzI4J.js +119 -0
  9. package/dist/{CardIndividualAreas-B0ER1yDk-BXA3kkP-.js → CardIndividualAreas-C7_BsHLB-DxObq7Ml.js} +32 -26
  10. package/dist/{CardIndividualCenters-Ds8JCDfK-BDqdw3CH.js → CardIndividualCenters-DV5tDLfV-C1ay0coc.js} +91 -85
  11. package/dist/{CardIndividualDistance-DybnqaN1-pWNr0r-3.js → CardIndividualDistance-zl4VOolG-C3tuZVGO.js} +36 -30
  12. package/dist/{CardIndividualFouls-BSZw6Irw-DHoHyyuo.js → CardIndividualFouls-CvSJn7oh-HOx9vQ1u.js} +47 -41
  13. package/dist/{CardIndividualGoalParticipation-D0jx0mKO-CmyYljBx.js → CardIndividualGoalParticipation-CpyCN4pK-CMqtEPao.js} +38 -33
  14. package/dist/{CardIndividualGoals-k1HYTdnr-DwdImXmD.js → CardIndividualGoals-yml-5LMF-C_GyUhBk.js} +397 -247
  15. package/dist/{CardIndividualGold-BoE9YjMT-BTGXOE5O.js → CardIndividualGold-BN6tctB5-G6ym5byu.js} +45 -39
  16. package/dist/{CardIndividualNoGoalReceived-T1szlu3u-BsDem5g0.js → CardIndividualNoGoalReceived-ICCs2ZM5-B1MQrZPF.js} +42 -37
  17. package/dist/CardIndividualPerformance-B8vQAqkl-BYR02_RY.js +113 -0
  18. package/dist/{CardIndividualSaves-rWMesrlG-DthInp2-.js → CardIndividualSaves-BwuZ8ftn-QqesnmR7.js} +47 -43
  19. package/dist/{CardIndividualShotsOnGoal-DCl0FEKe-D1LFguJT.js → CardIndividualShotsOnGoal-BJME2mbD-BdBASKyS.js} +57 -51
  20. package/dist/{CardIndividualStatistics-D5JBvozg-0Gq27kWI.js → CardIndividualStatistics-By5s6JAO-Rv4-QyLp.js} +36 -30
  21. package/dist/{CardPromTournament-DaUtBS2s-DYPh6beM.js → CardPromTournament-gihiLtUr-DUepGBni.js} +48 -44
  22. package/dist/{CardSuccessfulPasses-BdWMHjtx-C7yqLEWL.js → CardSuccessfulPasses-CnfMp77U-rRVe9D87.js} +32 -26
  23. package/dist/CardTheMostProductive-BXTUS6yD-DyZgvFkv.js +87 -0
  24. package/dist/{Shield-DPZx9qP3-BCn1KwjE.js → Shield-CqzYJKHt-OiFc4OPF.js} +3 -3
  25. package/dist/gsc-landing.js +1 -1
  26. package/dist/gsc-landing.umd.cjs +54 -54
  27. package/dist/{index-C-oaQYT0.js → index-CidNks_N.js} +5190 -5251
  28. package/dist/style.css +1 -1
  29. package/package.json +53 -53
  30. package/dist/CardBase-D3YCZX4b-DGnwZ1-j.js +0 -127
  31. package/dist/CardIndividual1vs1-fcFN4SBW-0yRvkJ62.js +0 -113
  32. package/dist/CardIndividualPerformance-BZmpXMyI-Cn3RFU3S.js +0 -108
  33. package/dist/CardTheMostProductive-DTnPP64--C47kK7xA.js +0 -81
  34. package/dist/CircleWithDotsBig-DD6iMX6w-DjUWhXAM.js +0 -151
@@ -1,7 +1,7 @@
1
- import { useCssVars as x, computed as u, openBlock as l, createElementBlock as s, 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 { j as B, $, H as E, B as N, R as V } from "./index-C-oaQYT0.js";
3
- import { b as C } from "./CardBase-D3YCZX4b-DGnwZ1-j.js";
4
- import { d as I } from "./CardBaseAllIndividual-MZU9YVGl-CP107tbU.js";
1
+ import { useCssVars as b, computed as p, 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 u, createCommentVNode as h, createTextVNode as q, pushScopeId as D, popScopeId as T } from "vue";
2
+ import { m as C, V, O as B, z as E, P as N, A as I } from "./CardBase-Cdma--ld-BufA9Fxb.js";
3
+ import "./index-CidNks_N.js";
4
+ import { d as P } from "./CardBaseAllIndividual-D-OnB5nZ-BPn0LvNB.js";
5
5
  const y = {
6
6
  props: {
7
7
  cancha: {
@@ -46,27 +46,27 @@ const y = {
46
46
  }
47
47
  }
48
48
  }, L = () => {
49
- x((r) => ({
50
- "1171bab7": r.colorstat,
51
- "6e896034": r.accelerometerStyle.percentage,
52
- "5f9a566f": r.colorcancha
49
+ b((r) => ({
50
+ "341fe420": r.colorstat,
51
+ "7277aacf": r.accelerometerStyle.percentage,
52
+ e1386cd0: r.colorcancha
53
53
  }));
54
- }, b = y.setup;
55
- y.setup = b ? (r, o) => (L(), b(r, o)) : L;
56
- const i = (r) => (D("data-v-46fe0ed8"), r = r(), T(), r), P = { class: "outer-box" }, j = {
54
+ }, x = y.setup;
55
+ y.setup = x ? (r, o) => (L(), x(r, o)) : L;
56
+ const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), $ = { class: "outer-box" }, A = {
57
57
  key: 0,
58
58
  class: "inner-box"
59
- }, H = {
59
+ }, z = {
60
60
  key: 1,
61
61
  class: "accelerometer"
62
- }, Z = { class: "accelerometer-value" }, A = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), U = {
62
+ }, O = { class: "accelerometer-value" }, Z = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), U = {
63
63
  key: 2,
64
64
  width: "212",
65
65
  height: "137",
66
66
  viewBox: "0 0 212 137",
67
67
  fill: "none",
68
68
  xmlns: "http://www.w3.org/2000/svg"
69
- }, z = ["fill"], O = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
69
+ }, j = ["fill"], H = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
70
70
  id: "path-2-inside-1_2150_1935",
71
71
  fill: "white"
72
72
  }, [
@@ -78,19 +78,19 @@ const i = (r) => (D("data-v-46fe0ed8"), r = r(), T(), r), P = { class: "outer-bo
78
78
  rx: "1.22558",
79
79
  transform: "rotate(-180 211.787 136.084)"
80
80
  })
81
- ], -1)), R = ["stroke"], G = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
81
+ ], -1)), G = ["stroke"], J = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
82
82
  d: "M105.773 135.615L105.773 0.58395",
83
83
  stroke: "#DFE3E2",
84
84
  "stroke-width": "0.450603",
85
85
  "stroke-linecap": "square"
86
- }, null, -1)), J = ["stroke"], K = ["stroke"], Q = ["stroke"], W = ["stroke"], X = ["stroke"], Y = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], st = {
86
+ }, null, -1)), K = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], X = ["stroke"], Y = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
87
87
  key: 3,
88
88
  width: "212",
89
89
  height: "137",
90
90
  viewBox: "0 0 212 137",
91
91
  fill: "none",
92
92
  xmlns: "http://www.w3.org/2000/svg"
93
- }, ct = ["fill"], it = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
93
+ }, st = ["fill"], it = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
94
94
  id: "path-2-inside-1_2150_1704",
95
95
  fill: "white"
96
96
  }, [
@@ -107,7 +107,7 @@ const i = (r) => (D("data-v-46fe0ed8"), r = r(), T(), r), P = { class: "outer-bo
107
107
  stroke: "#DFE3E2",
108
108
  "stroke-width": "0.450603",
109
109
  "stroke-linecap": "square"
110
- }, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], mt = ["stroke"], wt = { opacity: "0.7" }, ft = ["stroke"], gt = ["stroke"], Lt = ["stroke"], bt = ["stroke"], xt = ["stroke"], Ct = {
110
+ }, null, -1)), dt = ["stroke"], kt = ["stroke"], ut = ["stroke"], pt = ["stroke"], yt = ["stroke"], mt = ["stroke"], wt = { opacity: "0.7" }, ft = ["stroke"], gt = ["stroke"], Lt = ["stroke"], xt = ["stroke"], bt = ["stroke"], Ct = {
111
111
  key: 4,
112
112
  width: "212",
113
113
  height: "137",
@@ -131,16 +131,16 @@ const i = (r) => (D("data-v-46fe0ed8"), r = r(), T(), r), P = { class: "outer-bo
131
131
  stroke: "#DFE3E2",
132
132
  "stroke-width": "0.450603",
133
133
  "stroke-linecap": "square"
134
- }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Tt = ["stroke"], Bt = ["stroke"], $t = ["stroke"], Et = { opacity: "0.7" }, Nt = ["stroke"], Vt = ["stroke"], It = ["stroke"], Pt = ["stroke"], jt = ["stroke"];
135
- function Ht(r, o, a, m, n, e) {
136
- return l(), s("div", P, [
137
- a.type === "box" ? (l(), s("div", j, p(a.stat), 1)) : a.type === "accelerometer" ? (l(), s("div", H, [
138
- t("div", Z, [
139
- q(p(a.stat), 1),
140
- A
134
+ }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Tt = ["stroke"], Vt = ["stroke"], Bt = ["stroke"], Et = { opacity: "0.7" }, Nt = ["stroke"], It = ["stroke"], Pt = ["stroke"], $t = ["stroke"], At = ["stroke"];
135
+ function zt(r, o, a, m, n, e) {
136
+ return l(), c("div", $, [
137
+ a.type === "box" ? (l(), c("div", A, u(a.stat), 1)) : a.type === "accelerometer" ? (l(), c("div", z, [
138
+ t("div", O, [
139
+ q(u(a.stat), 1),
140
+ Z
141
141
  ])
142
142
  ])) : h("", !0),
143
- e.canchaType === "full" ? (l(), s("svg", U, [
143
+ e.canchaType === "full" ? (l(), c("svg", U, [
144
144
  t("rect", {
145
145
  opacity: "0.6",
146
146
  x: "1.89551",
@@ -150,8 +150,8 @@ function Ht(r, o, a, m, n, e) {
150
150
  transform: "rotate(-90 1.89551 136)",
151
151
  fill: a.colorfillcancha,
152
152
  "fill-opacity": "0.8"
153
- }, null, 8, z),
154
- O,
153
+ }, null, 8, j),
154
+ H,
155
155
  t("rect", {
156
156
  x: "211.787",
157
157
  y: "136.084",
@@ -162,24 +162,24 @@ function Ht(r, o, a, m, n, e) {
162
162
  stroke: a.colorcancha,
163
163
  "stroke-width": "1.84031",
164
164
  mask: "url(#FFFFFF)"
165
- }, null, 8, R),
166
- G,
165
+ }, null, 8, G),
166
+ J,
167
167
  t("path", {
168
168
  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",
169
169
  stroke: a.colorcancha,
170
170
  "stroke-opacity": "0.7"
171
- }, null, 8, J),
171
+ }, null, 8, K),
172
172
  t("path", {
173
173
  d: "M211.787 88.8418L195.817 88.8418C195.478 88.8418 195.204 88.5674 195.204 88.229L195.204 47.9978C195.204 47.6593 195.478 47.385 195.817 47.385L211.787 47.385",
174
174
  stroke: a.colorcancha,
175
175
  "stroke-opacity": "0.7"
176
- }, null, 8, K),
176
+ }, null, 8, Q),
177
177
  t("path", {
178
178
  d: "M0.634998 88.833L16.6026 88.833C16.9422 88.833 17.217 88.5569 17.2154 88.2174L17.0283 47.9861C17.0267 47.6488 16.7528 47.3762 16.4155 47.3762L0.921543 47.3762",
179
179
  stroke: a.colorcancha,
180
180
  "stroke-opacity": "0.6",
181
181
  "stroke-linecap": "square"
182
- }, null, 8, Q),
182
+ }, null, 8, R),
183
183
  t("path", {
184
184
  d: "M0.641875 100.683L28.4544 100.683C28.7941 100.683 29.0689 100.406 29.0672 100.067L28.7428 36.146C28.7411 35.8088 28.4673 35.5363 28.1301 35.5363L1.13309 35.5363",
185
185
  stroke: a.colorcancha,
@@ -234,7 +234,7 @@ function Ht(r, o, a, m, n, e) {
234
234
  "stroke-dasharray": "1.05 1.05"
235
235
  }, null, 8, lt)
236
236
  ])
237
- ])) : e.canchaType === "own" ? (l(), s("svg", st, [
237
+ ])) : e.canchaType === "own" ? (l(), c("svg", ct, [
238
238
  t("rect", {
239
239
  opacity: "0.6",
240
240
  x: "106.002",
@@ -244,7 +244,7 @@ function Ht(r, o, a, m, n, e) {
244
244
  transform: "rotate(-90 106.002 136)",
245
245
  fill: a.colorfillcancha,
246
246
  "fill-opacity": "0.8"
247
- }, null, 8, ct),
247
+ }, null, 8, st),
248
248
  it,
249
249
  t("rect", {
250
250
  x: "211.787",
@@ -273,13 +273,13 @@ function Ht(r, o, a, m, n, e) {
273
273
  stroke: a.colorcancha,
274
274
  "stroke-opacity": "0.6",
275
275
  "stroke-linecap": "square"
276
- }, null, 8, pt),
276
+ }, null, 8, ut),
277
277
  t("path", {
278
278
  d: "M0.641875 100.683L28.4544 100.683C28.7941 100.683 29.0689 100.406 29.0672 100.067L28.7428 36.146C28.7411 35.8088 28.4673 35.5363 28.1301 35.5363L1.13309 35.5363",
279
279
  stroke: a.colorcancha,
280
280
  "stroke-opacity": "0.6",
281
281
  "stroke-linecap": "square"
282
- }, null, 8, ut),
282
+ }, null, 8, pt),
283
283
  t("path", {
284
284
  d: "M71.8618 68.1115C71.8618 49.38 87.0472 34.1951 105.779 34.1951C124.511 34.1951 139.697 49.38 139.697 68.1115C139.697 86.843 124.511 102.028 105.779 102.028C87.0472 102.028 71.8618 86.843 71.8618 68.1115Z",
285
285
  stroke: a.colorcancha,
@@ -320,15 +320,15 @@ function Ht(r, o, a, m, n, e) {
320
320
  stroke: a.colorcancha,
321
321
  "stroke-width": "0.523385",
322
322
  "stroke-dasharray": "1.05 1.05"
323
- }, null, 8, bt),
323
+ }, null, 8, xt),
324
324
  t("path", {
325
325
  d: "M210.673 45.3599L0.0105608 45.3599",
326
326
  stroke: a.colorcancha,
327
327
  "stroke-width": "0.523385",
328
328
  "stroke-dasharray": "1.05 1.05"
329
- }, null, 8, xt)
329
+ }, null, 8, bt)
330
330
  ])
331
- ])) : e.canchaType === "rival" ? (l(), s("svg", Ct, [
331
+ ])) : e.canchaType === "rival" ? (l(), c("svg", Ct, [
332
332
  t("rect", {
333
333
  opacity: "0.6",
334
334
  width: "135",
@@ -376,7 +376,7 @@ function Ht(r, o, a, m, n, e) {
376
376
  stroke: a.colorcancha,
377
377
  "stroke-opacity": "0.7",
378
378
  "stroke-width": "1.16503"
379
- }, null, 8, Bt),
379
+ }, null, 8, Vt),
380
380
  t("ellipse", {
381
381
  cx: "105.788",
382
382
  cy: "68.1164",
@@ -386,7 +386,7 @@ function Ht(r, o, a, m, n, e) {
386
386
  fill: "#FF0000",
387
387
  stroke: a.colorcancha,
388
388
  "stroke-width": "0.450603"
389
- }, null, 8, $t),
389
+ }, null, 8, Bt),
390
390
  t("g", Et, [
391
391
  t("path", {
392
392
  d: "M52.6768 136.08L52.6768 7.43866e-05",
@@ -399,36 +399,36 @@ function Ht(r, o, a, m, n, e) {
399
399
  stroke: a.colorcancha,
400
400
  "stroke-width": "0.523385",
401
401
  "stroke-dasharray": "1.05 1.05"
402
- }, null, 8, Vt),
402
+ }, null, 8, It),
403
403
  t("path", {
404
404
  d: "M158.008 136.08L158.008 7.43866e-05",
405
405
  stroke: a.colorcancha,
406
406
  "stroke-width": "0.523385",
407
407
  "stroke-dasharray": "1.05 1.05"
408
- }, null, 8, It),
408
+ }, null, 8, Pt),
409
409
  t("path", {
410
410
  d: "M210.673 90.7202L0.0105608 90.7202",
411
411
  stroke: a.colorcancha,
412
412
  "stroke-width": "0.523385",
413
413
  "stroke-dasharray": "1.05 1.05"
414
- }, null, 8, Pt),
414
+ }, null, 8, $t),
415
415
  t("path", {
416
416
  d: "M210.673 45.3599L0.0105608 45.3599",
417
417
  stroke: a.colorcancha,
418
418
  "stroke-width": "0.523385",
419
419
  "stroke-dasharray": "1.05 1.05"
420
- }, null, 8, jt)
420
+ }, null, 8, At)
421
421
  ])
422
422
  ])) : h("", !0)
423
423
  ]);
424
424
  }
425
- const Zt = /* @__PURE__ */ C(y, [["render", Ht], ["__scopeId", "data-v-46fe0ed8"]]), At = { class: "content-wrapper" }, Ut = { class: "content-box" }, zt = { class: "text-container" }, Ot = {
425
+ const Ot = /* @__PURE__ */ C(y, [["render", zt], ["__scopeId", "data-v-9e7db71d"]]), Zt = { class: "content-wrapper" }, Ut = { class: "content-box" }, jt = { class: "text-container" }, Ht = {
426
426
  key: 0,
427
427
  class: "title"
428
- }, Rt = {
428
+ }, Gt = {
429
429
  key: 1,
430
430
  class: "subtitle"
431
- }, Gt = {
431
+ }, Jt = {
432
432
  __name: "CardIndividual",
433
433
  props: {
434
434
  height: {
@@ -450,56 +450,61 @@ const Zt = /* @__PURE__ */ C(y, [["render", Ht], ["__scopeId", "data-v-46fe0ed8"
450
450
  showVideos: {
451
451
  type: Boolean,
452
452
  default: !0
453
+ },
454
+ idAux: {
455
+ type: String,
456
+ default: ""
453
457
  }
454
458
  },
455
459
  setup(r) {
456
- x((e) => ({
457
- a95eb6bc: n.value.subtitle ? "100%" : "78%"
460
+ b((e) => ({
461
+ "4b70ad6a": n.value.subtitle ? "100%" : "78%"
458
462
  }));
459
- const o = r, a = u(() => {
460
- var e, c, d, k, w, f, g;
463
+ const o = r, a = p(() => {
464
+ var e, s, d, k, w, f, g;
461
465
  return {
462
466
  height: o.height,
463
467
  width: o.width,
464
468
  footerHeight: "93px",
465
469
  footerPadding: "24px 24px 30px 24px",
466
- playerPhotoUrl: B(o.data.player_id || ""),
467
- teamLogoUrl: $(o.data.team_id || "") || "",
470
+ playerPhotoUrl: V(o.data.player_id || ""),
471
+ teamLogoUrl: B(o.data.team_id || "") || "",
468
472
  cardColor: o.data.thumbnails.colors.background_color || "#000000",
469
- backgroundImageSrc: E((k = (d = (c = (e = o.data) == null ? void 0 : e.thumbnails) == null ? void 0 : c.images) == null ? void 0 : d.background_player_in_action) != null && k[0] ? o.data.thumbnails.images.background_player_in_action[0] : (g = (f = (w = o.data) == null ? void 0 : w.thumbnails) == null ? void 0 : f.images) != null && g.background_team ? o.data.thumbnails.images.background_team : ""),
473
+ backgroundImageSrc: E((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 = (w = o.data) == null ? void 0 : w.thumbnails) == null ? void 0 : f.images) != null && g.background_team ? o.data.thumbnails.images.background_team : ""),
470
474
  textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
471
475
  footerBodyData: {
472
476
  textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
473
- description: N(V({ data: o.data, descriptionType: o.descriptionType })),
477
+ description: N(I({ data: o.data, descriptionType: o.descriptionType })),
474
478
  totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
475
479
  totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
476
480
  isTotalPercentage: !!o.data.footer.show_percentage
477
481
  }
478
482
  };
479
- }), m = u(() => ({
483
+ }), m = p(() => ({
480
484
  "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
481
- })), n = u(() => {
485
+ })), n = p(() => {
482
486
  var e;
483
487
  if (!o.data.title) return { title: "", subtitle: "" };
484
- const c = o.data.title.match(/\*(.*?)\*/), d = c ? c[1] : "", k = c ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
488
+ const s = o.data.title.match(/\*(.*?)\*/), d = s ? s[1] : "", k = s ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
485
489
  return {
486
490
  title: d,
487
491
  subtitle: k,
488
492
  showPlus: !!((e = o.data.header) != null && e.show_percentage)
489
493
  };
490
494
  });
491
- return (e, c) => (l(), s("div", {
495
+ return (e, s) => (l(), c("div", {
492
496
  class: "card-general",
493
497
  style: _(m.value)
494
498
  }, [
495
- a.value ? (l(), v(I, F({ key: 0 }, a.value, {
499
+ a.value ? (l(), v(P, F({ key: 0 }, a.value, {
496
500
  width: r.width,
497
- "show-videos": r.showVideos
501
+ "show-videos": r.showVideos,
502
+ "id-aux": r.idAux
498
503
  }), {
499
504
  body: M(() => [
500
- t("div", At, [
505
+ t("div", Zt, [
501
506
  t("div", Ut, [
502
- S(Zt, {
507
+ S(Ot, {
503
508
  colorfillcancha: o.data.thumbnails.colors.graphic_color_2,
504
509
  colorcancha: o.data.thumbnails.colors.graphic_color,
505
510
  colorstat: o.data.thumbnails.colors.data_color,
@@ -508,17 +513,17 @@ const Zt = /* @__PURE__ */ C(y, [["render", Ht], ["__scopeId", "data-v-46fe0ed8"
508
513
  type: o.data.body.show_percentage == 1 ? "accelerometer" : "box"
509
514
  }, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
510
515
  ]),
511
- t("div", zt, [
512
- n.value.title ? (l(), s("h2", Ot, p(n.value.title), 1)) : h("", !0),
513
- n.value.subtitle ? (l(), s("p", Rt, p(n.value.subtitle), 1)) : h("", !0)
516
+ t("div", jt, [
517
+ n.value.title ? (l(), c("h2", Ht, u(n.value.title), 1)) : h("", !0),
518
+ n.value.subtitle ? (l(), c("p", Gt, u(n.value.subtitle), 1)) : h("", !0)
514
519
  ])
515
520
  ])
516
521
  ]),
517
522
  _: 1
518
- }, 16, ["width", "show-videos"])) : h("", !0)
523
+ }, 16, ["width", "show-videos", "id-aux"])) : h("", !0)
519
524
  ], 4));
520
525
  }
521
- }, Xt = /* @__PURE__ */ C(Gt, [["__scopeId", "data-v-853bb9bb"]]);
526
+ }, Xt = /* @__PURE__ */ C(Jt, [["__scopeId", "data-v-dc8a708b"]]);
522
527
  export {
523
528
  Xt as default
524
529
  };
@@ -0,0 +1,119 @@
1
+ import { computed as r, openBlock as l, createElementBlock as d, normalizeStyle as _, createVNode as b, mergeProps as w, withCtx as v, createElementVNode as a, toDisplayString as C, Fragment as g, pushScopeId as F, popScopeId as y } from "vue";
2
+ import { d as x } from "./CardBaseAllIndividual-D-OnB5nZ-BPn0LvNB.js";
3
+ import { m as L, V as k, O as S, z as V, P as B, A as T } from "./CardBase-Cdma--ld-BufA9Fxb.js";
4
+ const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone__body" }, I = { class: "onevsone__body__title" }, P = { class: "contsvg" }, H = /* @__PURE__ */ h(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), N = ["fill"], D = ["fill"], E = /* @__PURE__ */ h(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), M = ["fill"], U = ["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
+ idAux: {
28
+ type: String,
29
+ default: ""
30
+ }
31
+ },
32
+ setup(o) {
33
+ const t = o, m = r(() => {
34
+ var n, i, e, s, c, u, p;
35
+ return {
36
+ height: t.height,
37
+ width: t.width,
38
+ footerHeight: "137px",
39
+ footerPadding: "24px 24px 25px 24px",
40
+ playerPhotoUrl: k(t.data.player_id || ""),
41
+ teamLogoUrl: S(t.data.team_id || "") || "",
42
+ cardColor: t.data.thumbnails.colors.background_color || "#000000",
43
+ backgroundImageSrc: V((s = (e = (i = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : i.images) == null ? void 0 : e.background_player_in_action) != null && s[0] ? t.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = t.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? t.data.thumbnails.images.background_team : ""),
44
+ textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
45
+ footerBodyData: {
46
+ textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
47
+ description: B(T({ data: t.data, descriptionType: t.descriptionType })),
48
+ total: t.data.footer && t.data.footer.show_percentage == 1 ? t.data.percentage : t.data.total,
49
+ totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
50
+ totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
51
+ isTotalPercentage: t.data.footer && !!t.data.footer.show_percentage
52
+ }
53
+ };
54
+ });
55
+ r(() => t.data.id);
56
+ const f = r(() => ({
57
+ "--title-color": t.data.thumbnails.colors.font_color_header || "#FFFFFF"
58
+ }));
59
+ return (n, i) => (l(), d("div", {
60
+ class: "onevsone",
61
+ style: _(f.value)
62
+ }, [
63
+ b(x, w(m.value, {
64
+ "show-videos": o.showVideos,
65
+ "id-aux": o.idAux
66
+ }), {
67
+ body: v(() => {
68
+ var e;
69
+ return [
70
+ a("div", A, [
71
+ a("div", I, C(t.data.title.replace(/\*/g, "")), 1),
72
+ a("div", P, [
73
+ (e = t.data.categories) != null && e.includes(4) ? (l(), d(g, { key: 1 }, [
74
+ E,
75
+ (l(), d("svg", {
76
+ width: "12",
77
+ class: "arrow",
78
+ height: "75",
79
+ viewBox: "0 0 12 75",
80
+ fill: t.data.thumbnails.colors.icon_color,
81
+ xmlns: "http://www.w3.org/2000/svg"
82
+ }, [
83
+ a("path", {
84
+ "fill-rule": "evenodd",
85
+ "clip-rule": "evenodd",
86
+ 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",
87
+ fill: t.data.thumbnails.colors.icon_color
88
+ }, null, 8, U)
89
+ ], 8, M))
90
+ ], 64)) : (l(), d(g, { key: 0 }, [
91
+ H,
92
+ (l(), d("svg", {
93
+ class: "arrow",
94
+ width: "12",
95
+ height: "75",
96
+ viewBox: "0 0 12 75",
97
+ fill: t.data.thumbnails.colors.icon_color,
98
+ xmlns: "http://www.w3.org/2000/svg"
99
+ }, [
100
+ a("path", {
101
+ "fill-rule": "evenodd",
102
+ "clip-rule": "evenodd",
103
+ 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",
104
+ fill: t.data.thumbnails.colors.icon_color
105
+ }, null, 8, D)
106
+ ], 8, N))
107
+ ], 64))
108
+ ])
109
+ ])
110
+ ];
111
+ }),
112
+ _: 1
113
+ }, 16, ["show-videos", "id-aux"])
114
+ ], 4));
115
+ }
116
+ }, j = /* @__PURE__ */ L(Z, [["__scopeId", "data-v-6b4e801f"]]);
117
+ export {
118
+ j as default
119
+ };
@@ -1,15 +1,14 @@
1
- import { ref as k, computed as a, openBlock as d, createElementBlock as s, normalizeStyle as v, createVNode as x, mergeProps as F, withCtx as L, createElementVNode as t, toDisplayString as H, pushScopeId as M, popScopeId as B } from "vue";
2
- import { d as S } from "./CardBaseAllIndividual-MZU9YVGl-CP107tbU.js";
3
- import { j as b, $ as Z, H as U, B as G, R as O } from "./index-C-oaQYT0.js";
4
- import { b as A } from "./CardBase-D3YCZX4b-DGnwZ1-j.js";
5
- const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__body" }, V = { class: "areas__body__title" }, D = { class: "areas-svg" }, R = {
1
+ import { ref as k, computed as a, openBlock as d, createElementBlock as s, normalizeStyle as x, createVNode as v, mergeProps as F, withCtx as L, createElementVNode as t, toDisplayString as H, pushScopeId as M, popScopeId as S } from "vue";
2
+ import { d as B } from "./CardBaseAllIndividual-D-OnB5nZ-BPn0LvNB.js";
3
+ import { m as b, V as Z, O as U, z as A, P as G, A as O } from "./CardBase-Cdma--ld-BufA9Fxb.js";
4
+ const e = (l) => (M("data-v-f5cac76b"), l = l(), S(), l), I = { class: "areas__body" }, V = { class: "areas__body__title" }, P = { class: "areas-svg" }, D = {
6
5
  key: 0,
7
6
  width: "270",
8
7
  height: "102",
9
8
  viewBox: "0 0 270 102",
10
9
  fill: "none",
11
10
  xmlns: "http://www.w3.org/2000/svg"
12
- }, P = ["fill"], T = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
11
+ }, T = ["fill"], R = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
13
12
  opacity: "0.6",
14
13
  d: "M267.61 94.5L270 102H0L2.31618 94.5H267.61Z",
15
14
  fill: "black"
@@ -17,7 +16,7 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
17
16
  opacity: "0.2",
18
17
  d: "M31.1838 0H237.184L267.294 94.5H2L31.1838 0Z",
19
18
  fill: "black"
20
- }, null, -1)), j = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
19
+ }, null, -1)), z = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
21
20
  d: "M31.1838 0H237.184L267.294 94.5H2L31.1838 0Z",
22
21
  fill: "url(#paint0_linear_2158_1200)"
23
22
  }, null, -1)), N = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
@@ -30,7 +29,7 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
30
29
  stroke: "white",
31
30
  "stroke-width": "0.548478",
32
31
  "stroke-miterlimit": "10"
33
- }, null, -1)), z = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1200)" }, [
32
+ }, null, -1)), j = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1200)" }, [
34
33
  /* @__PURE__ */ t("path", {
35
34
  d: "M109.648 5.78662V12.589H159.32V5.78662",
36
35
  stroke: "white",
@@ -412,10 +411,14 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
412
411
  showVideos: {
413
412
  type: Boolean,
414
413
  default: !0
414
+ },
415
+ idAux: {
416
+ type: String,
417
+ default: ""
415
418
  }
416
419
  },
417
420
  setup(l) {
418
- const i = l, w = /* @__PURE__ */ new Set([
421
+ const i = l, g = /* @__PURE__ */ new Set([
419
422
  "74-i",
420
423
  "75-i",
421
424
  "76-i",
@@ -429,17 +432,17 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
429
432
  id: 2,
430
433
  name: "Área rival"
431
434
  }
432
- ]), g = a(() => {
433
- var o, r, f, u, c, _;
435
+ ]), w = a(() => {
436
+ var o, r, u, f, c, _;
434
437
  const m = i.data.footer.show_percentage;
435
438
  return {
436
439
  height: i.height,
437
440
  width: i.width,
438
441
  footerHeight: "137px",
439
- playerPhotoUrl: b(i.data.player_id || ""),
440
- teamLogoUrl: Z(i.data.team_id || ""),
442
+ playerPhotoUrl: Z(i.data.player_id || ""),
443
+ teamLogoUrl: U(i.data.team_id || ""),
441
444
  cardColor: (i.data.thumbnails.colors.background_color || "#000000").trim(),
442
- backgroundImageSrc: U((f = (r = (o = i.data) == null ? void 0 : o.thumbnails) == null ? void 0 : r.images) != null && f.background_player_in_action[0] ? i.data.thumbnails.images.background_player_in_action[0] : (_ = (c = (u = i.data) == null ? void 0 : u.thumbnails) == null ? void 0 : c.images) != null && _.background_team ? i.data.thumbnails.images.background_team : ""),
445
+ backgroundImageSrc: A((u = (r = (o = i.data) == null ? void 0 : o.thumbnails) == null ? void 0 : r.images) != null && u.background_player_in_action[0] ? i.data.thumbnails.images.background_player_in_action[0] : (_ = (c = (f = i.data) == null ? void 0 : f.thumbnails) == null ? void 0 : c.images) != null && _.background_team ? i.data.thumbnails.images.background_team : ""),
443
446
  footerBodyData: {
444
447
  description: G(O({ data: i.data, descriptionType: i.descriptionType })),
445
448
  total: m ? i.data.percentage : i.data.total,
@@ -452,29 +455,32 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
452
455
  };
453
456
  }), y = a(() => i.data.id), p = a(() => ({
454
457
  fieldColor: (i.data.thumbnails.colors.graphic_color || "#FFFFFF").trim()
455
- })), h = a(() => w.has(y.value) ? n.value[0] : n.value[1]), C = a(() => ({
458
+ })), h = a(() => g.has(y.value) ? n.value[0] : n.value[1]), C = a(() => ({
456
459
  "--title-color": i.data.thumbnails.colors.font_color_header || "#FFFFFF"
457
460
  }));
458
461
  return (o, r) => (d(), s("div", {
459
462
  class: "areas",
460
- style: v(C.value)
463
+ style: x(C.value)
461
464
  }, [
462
- x(S, F(g.value, { "show-videos": l.showVideos }), {
465
+ v(B, F(w.value, {
466
+ "show-videos": l.showVideos,
467
+ "id-aux": l.idAux
468
+ }), {
463
469
  body: L(() => [
464
470
  t("div", I, [
465
471
  t("div", V, H(h.value.name), 1),
466
- t("div", D, [
467
- h.value.id === 1 ? (d(), s("svg", R, [
472
+ t("div", P, [
473
+ h.value.id === 1 ? (d(), s("svg", D, [
468
474
  t("path", {
469
475
  d: "M31.5 0H237.5L270 102H0L31.5 0Z",
470
476
  fill: p.value.fieldColor
471
- }, null, 8, P),
472
- T,
477
+ }, null, 8, T),
478
+ R,
473
479
  $,
474
- j,
480
+ z,
475
481
  N,
476
482
  E,
477
- z,
483
+ j,
478
484
  q,
479
485
  J,
480
486
  K,
@@ -501,10 +507,10 @@ const e = (l) => (M("data-v-0853aecf"), l = l(), B(), l), I = { class: "areas__b
501
507
  ])
502
508
  ]),
503
509
  _: 1
504
- }, 16, ["show-videos"])
510
+ }, 16, ["show-videos", "id-aux"])
505
511
  ], 4));
506
512
  }
507
- }, m1 = /* @__PURE__ */ A(h1, [["__scopeId", "data-v-0853aecf"]]);
513
+ }, _1 = /* @__PURE__ */ b(h1, [["__scopeId", "data-v-f5cac76b"]]);
508
514
  export {
509
- m1 as default
515
+ _1 as default
510
516
  };