@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 se, ref as F, onMounted as ge, onUnmounted as Jt, resolveComponent as $, openBlock as f, createElementBlock as p, createElementVNode as h, normalizeStyle as k, Fragment as A, renderList as P, toDisplayString as I, renderSlot as Z, createCommentVNode as S, createVNode as z, withCtx as M, normalizeClass as E, computed as W, createBlock as q, unref as ye, watch as fe, onBeforeMount as St, Transition as vt, withDirectives as Q, vShow as re, pushScopeId as ie, popScopeId as ne, mergeProps as Gt, defineAsyncComponent as x, resolveDynamicComponent as Vt, withModifiers as Xe, vModelText as Xt } from "vue";
1
+ import { useCssVars as se, ref as z, onMounted as ge, onUnmounted as Jt, resolveComponent as $, openBlock as p, createElementBlock as g, createElementVNode as m, normalizeStyle as k, Fragment as P, renderList as A, toDisplayString as I, renderSlot as Z, createCommentVNode as v, createVNode as F, withCtx as q, normalizeClass as E, computed as M, createBlock as W, unref as ye, watch as fe, onBeforeMount as St, Transition as vt, withDirectives as Q, vShow as re, pushScopeId as ie, popScopeId as ne, mergeProps as Gt, defineAsyncComponent as x, resolveDynamicComponent as Vt, withModifiers as Xe, vModelText as Xt } from "vue";
2
2
  function Zt(e) {
3
- const r = F({ width: 0, height: 0 });
3
+ const r = z({ width: 0, height: 0 });
4
4
  function t() {
5
5
  const o = e.value.getBoundingClientRect();
6
6
  r.value.width = o.width, r.value.height = o.height;
@@ -110,57 +110,57 @@ const Qt = {
110
110
  class: "scrollable-container"
111
111
  }, Yt = { class: "scrollable-arrows" }, er = ["width", "height", "viewBox"], tr = ["stroke"], rr = { class: "scrollable-wrapper" }, or = { class: "scrollable-arrows" }, sr = ["width", "height", "viewBox"], ir = ["stroke"];
112
112
  function nr(e, r, t, o, s, i) {
113
- return f(), p("div", Qt, [
114
- t.arrows ? (f(), p("div", {
113
+ return p(), g("div", Qt, [
114
+ t.arrows ? (p(), g("div", {
115
115
  key: 0,
116
116
  class: E(["arrows-container", i.hideShowLeftArrow]),
117
117
  onClick: r[0] || (r[0] = (...n) => i.scrollLeft && i.scrollLeft(...n))
118
118
  }, [
119
- h("div", Yt, [
120
- (f(), p("svg", {
119
+ m("div", Yt, [
120
+ (p(), g("svg", {
121
121
  width: t.arrowsWidth,
122
122
  height: t.arrowsHeight,
123
123
  viewBox: i.getViewBox,
124
124
  fill: "none",
125
125
  xmlns: "http://www.w3.org/2000/svg"
126
126
  }, [
127
- h("path", {
127
+ m("path", {
128
128
  d: "M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",
129
129
  stroke: t.arrowsColor
130
130
  }, null, 8, tr)
131
131
  ], 8, er))
132
132
  ])
133
- ], 2)) : S("", !0),
134
- h("div", {
133
+ ], 2)) : v("", !0),
134
+ m("div", {
135
135
  class: "scrollable-content scrollable-content-slider",
136
136
  ref: "content",
137
137
  onScroll: r[1] || (r[1] = (...n) => i.getScroll && i.getScroll(...n))
138
138
  }, [
139
- h("div", rr, [
139
+ m("div", rr, [
140
140
  Z(e.$slots, "default", {}, void 0, !0)
141
141
  ])
142
142
  ], 544),
143
- t.arrows ? (f(), p("div", {
143
+ t.arrows ? (p(), g("div", {
144
144
  key: 1,
145
145
  id: "arrows-container-right",
146
146
  class: E(["arrows-container", i.hideShowRightArrow]),
147
147
  onClick: r[2] || (r[2] = (...n) => i.scrollRight && i.scrollRight(...n))
148
148
  }, [
149
- h("div", or, [
150
- (f(), p("svg", {
149
+ m("div", or, [
150
+ (p(), g("svg", {
151
151
  width: t.arrowsWidth,
152
152
  height: t.arrowsHeight,
153
153
  viewBox: i.getViewBox,
154
154
  fill: "none",
155
155
  xmlns: "http://www.w3.org/2000/svg"
156
156
  }, [
157
- h("path", {
157
+ m("path", {
158
158
  d: "M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",
159
159
  stroke: t.arrowsColor
160
160
  }, null, 8, ir)
161
161
  ], 8, sr))
162
162
  ])
163
- ], 2)) : S("", !0)
163
+ ], 2)) : v("", !0)
164
164
  ], 512);
165
165
  }
166
166
  const ar = /* @__PURE__ */ Kt(ze, [["render", nr], ["__scopeId", "data-v-b548a08d"]]), lr = (e, r) => {
@@ -257,7 +257,7 @@ const ar = /* @__PURE__ */ Kt(ze, [["render", nr], ["__scopeId", "data-v-b548a08
257
257
  arrowsBorder: { type: String, default: "none" }
258
258
  },
259
259
  setup() {
260
- const e = F("myDivRef"), {
260
+ const e = z("myDivRef"), {
261
261
  elementSize: r
262
262
  } = Zt(e);
263
263
  return {
@@ -306,36 +306,36 @@ const dr = { ref: "myDivRef" }, cr = {
306
306
  }, mr = ["onClick"];
307
307
  function gr(e, r, t, o, s, i) {
308
308
  const n = $("GSCSlider");
309
- return f(), p("div", dr, [
310
- t.type == 0 ? (f(), p("div", cr, [
311
- h("div", {
309
+ return p(), g("div", dr, [
310
+ t.type == 0 ? (p(), g("div", cr, [
311
+ m("div", {
312
312
  class: "gs-switch-container__control",
313
313
  style: k([i.customGrid(o.elementSize)])
314
314
  }, [
315
- (f(!0), p(A, null, P(t.buttons, (l, a) => (f(), p("div", {
315
+ (p(!0), g(P, null, A(t.buttons, (a, d) => (p(), g("div", {
316
316
  class: "gs-switch-container__control__button-option",
317
- style: k([{ height: t.height }, t.selectedOption == l ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, color: "grey !important" }]),
318
- key: a,
319
- onClick: (c) => (t.selectedOption = l, i.clickEmitEvent(l))
320
- }, I(l), 13, ur))), 128))
317
+ style: k([{ height: t.height }, t.selectedOption == a ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, color: "grey !important" }]),
318
+ key: d,
319
+ onClick: (u) => (t.selectedOption = a, i.clickEmitEvent(a))
320
+ }, I(a), 13, ur))), 128))
321
321
  ], 4),
322
322
  Z(e.$slots, t.selectedOption, {}, void 0, !0)
323
- ])) : S("", !0),
324
- t.type == 1 ? (f(), p("div", hr, [
325
- h("div", {
323
+ ])) : v("", !0),
324
+ t.type == 1 ? (p(), g("div", hr, [
325
+ m("div", {
326
326
  class: "gs-switch-container-type__control",
327
327
  style: k([i.customGrid(o.elementSize)])
328
328
  }, [
329
- (f(!0), p(A, null, P(t.buttons, (l, a) => (f(), p("div", {
329
+ (p(!0), g(P, null, A(t.buttons, (a, d) => (p(), g("div", {
330
330
  class: "gs-switch-container-type__control__button-option-type",
331
- style: k([{ height: t.height }, t.selectedOption == l ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, borderWidth: "0px", borderWidth: "0px !important", color: "grey !important", background: t.backgroundOptionDisable }]),
332
- key: a,
333
- onClick: (c) => (t.selectedOption = l, i.clickEmitEvent(l))
334
- }, I(l), 13, fr))), 128))
331
+ style: k([{ height: t.height }, t.selectedOption == a ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, borderWidth: "0px", borderWidth: "0px !important", color: "grey !important", background: t.backgroundOptionDisable }]),
332
+ key: d,
333
+ onClick: (u) => (t.selectedOption = a, i.clickEmitEvent(a))
334
+ }, I(a), 13, fr))), 128))
335
335
  ], 4)
336
- ])) : S("", !0),
337
- t.type == 2 ? (f(), p("div", pr, [
338
- z(n, {
336
+ ])) : v("", !0),
337
+ t.type == 2 ? (p(), g("div", pr, [
338
+ F(n, {
339
339
  arrows: t.arrow,
340
340
  "background-color": t.background,
341
341
  "px-scroll": t.pxScroll,
@@ -349,17 +349,17 @@ function gr(e, r, t, o, s, i) {
349
349
  "arrows-radius": t.arrowsRadius,
350
350
  "arrows-border": t.arrowsBorder
351
351
  }, {
352
- default: M(() => [
353
- (f(!0), p(A, null, P(t.buttons, (l, a) => (f(), p("div", {
352
+ default: q(() => [
353
+ (p(!0), g(P, null, A(t.buttons, (a, d) => (p(), g("div", {
354
354
  class: "button-option-multi",
355
- style: k([{ height: t.height }, t.selectedOption == l ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, color: "grey !important" }]),
356
- key: a,
357
- onClick: (c) => (t.selectedOption = l, i.clickEmitEvent(l))
358
- }, I(l), 13, mr))), 128))
355
+ style: k([{ height: t.height }, t.selectedOption == a ? { borderColor: t.colorOptionActive, color: t.colorFont + "!important", background: t.backgroundOptionActive } : { borderColor: t.colorOptionDisable, color: "grey !important" }]),
356
+ key: d,
357
+ onClick: (u) => (t.selectedOption = a, i.clickEmitEvent(a))
358
+ }, I(a), 13, mr))), 128))
359
359
  ]),
360
360
  _: 1
361
361
  }, 8, ["arrows", "background-color", "px-scroll", "scroll-color", "arrows-position", "arrowsScrollHide", "arrows-background", "arrows-container-bg-l", "arrows-container-bg-r", "arrows-margin", "arrows-radius", "arrows-border"])
362
- ])) : S("", !0)
362
+ ])) : v("", !0)
363
363
  ], 512);
364
364
  }
365
365
  const yr = /* @__PURE__ */ lr(Fe, [["render", gr], ["__scopeId", "data-v-8a86dfaf"]]), wr = (e, r) => {
@@ -462,49 +462,49 @@ We.setup = tt ? (e, r) => (et(), tt(e, r)) : et;
462
462
  const br = (e) => (ie("data-v-f3ee6b2b"), e = e(), ne(), e), Sr = ["src"], vr = {
463
463
  key: 1,
464
464
  class: "text"
465
- }, Cr = ["src"], _r = { class: "stats" }, kr = /* @__PURE__ */ br(() => /* @__PURE__ */ h("img", {
465
+ }, Cr = ["src"], _r = { class: "stats" }, kr = /* @__PURE__ */ br(() => /* @__PURE__ */ m("img", {
466
466
  class: "iconstats",
467
467
  src: "https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"
468
468
  }, null, -1)), Tr = { class: "numstats" }, Ir = { class: "leyend" };
469
469
  function xr(e, r, t, o, s, i) {
470
- return f(), p("div", null, [
471
- t.type == 0 ? (f(), p("div", {
470
+ return p(), g("div", null, [
471
+ t.type == 0 ? (p(), g("div", {
472
472
  key: 0,
473
473
  class: E(["button", s.status && t.typeOnOff && "button-active"]),
474
474
  style: k([i.customStyle, s.status && t.typeOnOff && i.customActive]),
475
475
  onClick: r[0] || (r[0] = (...n) => i.btnClick && i.btnClick(...n))
476
476
  }, [
477
- t.icon && t.iconPosition.toLowerCase() === "left" ? (f(), p("img", {
477
+ t.icon && t.iconPosition.toLowerCase() === "left" ? (p(), g("img", {
478
478
  key: 0,
479
479
  class: "icon",
480
480
  style: k({ width: t.iconSize }),
481
481
  src: t.icon
482
- }, null, 12, Sr)) : S("", !0),
483
- t.textValue ? (f(), p("div", vr, I(t.textValue), 1)) : S("", !0),
484
- t.icon && t.iconPosition.toLowerCase() === "right" ? (f(), p("img", {
482
+ }, null, 12, Sr)) : v("", !0),
483
+ t.textValue ? (p(), g("div", vr, I(t.textValue), 1)) : v("", !0),
484
+ t.icon && t.iconPosition.toLowerCase() === "right" ? (p(), g("img", {
485
485
  key: 2,
486
486
  class: "icon",
487
487
  style: k({ width: t.iconSize }),
488
488
  src: t.icon
489
- }, null, 12, Cr)) : S("", !0)
490
- ], 6)) : S("", !0),
491
- t.type == 1 ? (f(), p("div", {
489
+ }, null, 12, Cr)) : v("", !0)
490
+ ], 6)) : v("", !0),
491
+ t.type == 1 ? (p(), g("div", {
492
492
  key: 1,
493
493
  class: "button-target",
494
494
  onClick: r[1] || (r[1] = (...n) => i.btnClick && i.btnClick(...n))
495
495
  }, [
496
- h("div", _r, [
496
+ m("div", _r, [
497
497
  kr,
498
- h("div", Tr, I(t.textStat), 1)
498
+ m("div", Tr, I(t.textStat), 1)
499
499
  ]),
500
- h("div", Ir, I(t.textCategory), 1)
501
- ])) : S("", !0)
500
+ m("div", Ir, I(t.textCategory), 1)
501
+ ])) : v("", !0)
502
502
  ]);
503
503
  }
504
- const Or = /* @__PURE__ */ wr(We, [["render", xr], ["__scopeId", "data-v-f3ee6b2b"]]), Ar = { class: "gsc-dropdown__main-container__item-selected" }, Pr = ["height", "width"], Rr = ["stroke"], Er = { class: "gsc-dropdown__items-container" }, Br = ["onClick"], Dr = {
504
+ const Or = /* @__PURE__ */ wr(We, [["render", xr], ["__scopeId", "data-v-f3ee6b2b"]]), Pr = { class: "gsc-dropdown__main-container__item-selected" }, Ar = ["height", "width"], Rr = ["stroke"], Er = { class: "gsc-dropdown__items-container" }, Br = ["onClick"], Nr = {
505
505
  key: 0,
506
506
  class: "gsc-dropdown__items-footer"
507
- }, Nr = {
507
+ }, Dr = {
508
508
  __name: "GSC-Dropdown",
509
509
  props: {
510
510
  modelValue: {
@@ -666,11 +666,11 @@ const Or = /* @__PURE__ */ wr(We, [["render", xr], ["__scopeId", "data-v-f3ee6b2
666
666
  },
667
667
  emits: ["input", "click-ready", "update:modelValue"],
668
668
  setup(e, { emit: r }) {
669
- const t = e, o = F({}), s = F(null), i = F(t.isMultipleOption ? -1 : 0), n = F(!1);
669
+ const t = e, o = z({}), s = z(null), i = z(t.isMultipleOption ? -1 : 0), n = z(!1);
670
670
  fe(
671
671
  () => t.items,
672
- (y, g) => {
673
- if (!t.modelValue && (!t.onlyFirstTime || !g || !g.length) && y && y.length) {
672
+ (y, f) => {
673
+ if (!t.modelValue && (!t.onlyFirstTime || !f || !f.length) && y && y.length) {
674
674
  if (t.defaultItemByProp) {
675
675
  const w = t.items.findIndex(
676
676
  (b) => b[t.defaultItemByProp.propName] === t.defaultItemByProp.value
@@ -686,13 +686,13 @@ const Or = /* @__PURE__ */ wr(We, [["render", xr], ["__scopeId", "data-v-f3ee6b2
686
686
  () => t.modelValue,
687
687
  (y) => {
688
688
  if (y) {
689
- const g = t.items.findIndex((w) => typeof y == "object" ? JSON.stringify(w) === JSON.stringify(y) : w === y);
690
- g !== -1 && (i.value = g, o.value = t.items[g], r("update:modelValue", o.value));
689
+ const f = t.items.findIndex((w) => typeof y == "object" ? JSON.stringify(w) === JSON.stringify(y) : w === y);
690
+ f !== -1 && (i.value = f, o.value = t.items[f], r("update:modelValue", o.value));
691
691
  }
692
692
  },
693
693
  { immediate: !0 }
694
694
  );
695
- const l = W(() => ({
695
+ const a = M(() => ({
696
696
  height: t.height,
697
697
  width: t.width,
698
698
  backgroundColor: t.backgroundColor,
@@ -720,76 +720,76 @@ const Or = /* @__PURE__ */ wr(We, [["render", xr], ["__scopeId", "data-v-f3ee6b2
720
720
  "--dropdown-opacity": t.isDisabled ? "0.5" : "1",
721
721
  "--dropdown-cursor": t.isDisabled ? "not-allowed" : "pointer",
722
722
  "--dropdown-font-size": t.fontSize ? t.fontSize : "14px"
723
- })), a = W(() => ({
723
+ })), d = M(() => ({
724
724
  height: `${t.arrowHeight}px`,
725
725
  width: `${t.arrowWidth}px`
726
726
  }));
727
- function c() {
727
+ function u() {
728
728
  t.isDisabled || (n.value = !n.value);
729
729
  }
730
- function u(y) {
730
+ function c(y) {
731
731
  s.value && !s.value.contains(y.target) && (n.value = !1);
732
732
  }
733
- function m(y, g) {
734
- t.isMultipleOption ? i.value = -1 : (i.value = g, n.value = !1), o.value = y, r("input", o.value), r("update:modelValue", o.value);
733
+ function h(y, f) {
734
+ t.isMultipleOption ? i.value = -1 : (i.value = f, n.value = !1), o.value = y, r("input", o.value), r("update:modelValue", o.value);
735
735
  }
736
- function v() {
736
+ function S() {
737
737
  n.value = !1, r("click-ready");
738
738
  }
739
739
  return ge(() => {
740
- document.addEventListener("click", u);
740
+ document.addEventListener("click", c);
741
741
  }), St(() => {
742
- document.removeEventListener("click", u);
743
- }), (y, g) => (f(), p("div", {
742
+ document.removeEventListener("click", c);
743
+ }), (y, f) => (p(), g("div", {
744
744
  ref_key: "dropDown",
745
745
  ref: s,
746
746
  class: "gsc-dropdown",
747
- style: k(l.value)
747
+ style: k(a.value)
748
748
  }, [
749
- h("div", {
749
+ m("div", {
750
750
  class: "gsc-dropdown__main-container",
751
751
  style: k({ "padding-right": `${e.arrowWidth + 8}px` }),
752
- onClick: c
752
+ onClick: u
753
753
  }, [
754
- h("div", Ar, [
754
+ m("div", Pr, [
755
755
  Z(y.$slots, "default", { selectedItem: o.value })
756
756
  ]),
757
- h("div", {
757
+ m("div", {
758
758
  class: E(["gsc-dropdown__main-container__icon", { "rotated-180": n.value }]),
759
- style: k(a.value)
759
+ style: k(d.value)
760
760
  }, [
761
- (f(), p("svg", {
761
+ (p(), g("svg", {
762
762
  height: e.arrowHeight,
763
763
  width: e.arrowWidth,
764
764
  viewBox: "0 0 24 24",
765
765
  fill: "none",
766
766
  xmlns: "http://www.w3.org/2000/svg"
767
767
  }, [
768
- h("path", {
768
+ m("path", {
769
769
  d: "M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",
770
770
  stroke: e.arrowColor
771
771
  }, null, 8, Rr)
772
- ], 8, Pr))
772
+ ], 8, Ar))
773
773
  ], 6)
774
774
  ], 4),
775
- z(vt, null, {
776
- default: M(() => [
777
- Q(h("div", Er, [
778
- h("div", null, [
779
- h("div", {
775
+ F(vt, null, {
776
+ default: q(() => [
777
+ Q(m("div", Er, [
778
+ m("div", null, [
779
+ m("div", {
780
780
  class: "gsc-dropdown__items",
781
781
  style: k({ "margin-top": `${t.borderWidth}px` })
782
782
  }, [
783
- (f(!0), p(A, null, P(e.items, (w, b) => (f(), p("div", {
783
+ (p(!0), g(P, null, A(e.items, (w, b) => (p(), g("div", {
784
784
  class: E(["gsc-dropdown__items__item", { selected: b === i.value }]),
785
785
  key: b,
786
- onClick: (T) => m(w, b)
786
+ onClick: (T) => h(w, b)
787
787
  }, [
788
788
  Z(y.$slots, "availableItem", { item: w })
789
789
  ], 10, Br))), 128))
790
790
  ], 4),
791
- e.isFooterVisible ? (f(), p("div", Dr, [
792
- z(ye(Or), {
791
+ e.isFooterVisible ? (p(), g("div", Nr, [
792
+ F(ye(Or), {
793
793
  "text-value": "Listo",
794
794
  "border-color": "#cbee6b",
795
795
  "font-size": "12px",
@@ -797,9 +797,9 @@ const Or = /* @__PURE__ */ wr(We, [["render", xr], ["__scopeId", "data-v-f3ee6b2
797
797
  height: "22px",
798
798
  "border-radius": "62px",
799
799
  "border-width": 0.8,
800
- onClick: v
800
+ onClick: S
801
801
  })
802
- ])) : S("", !0)
802
+ ])) : v("", !0)
803
803
  ])
804
804
  ], 512), [
805
805
  [re, n.value]
@@ -828,14 +828,14 @@ const Or = /* @__PURE__ */ wr(We, [["render", xr], ["__scopeId", "data-v-f3ee6b2
828
828
  },
829
829
  emits: ["input"],
830
830
  setup(e, { emit: r }) {
831
- const t = e, o = W(() => t.seasons.find((n) => n.id === t.currentSeasonId));
831
+ const t = e, o = M(() => t.seasons.find((n) => n.id === t.currentSeasonId));
832
832
  function s(n) {
833
833
  r("input", n);
834
834
  }
835
835
  function i(n) {
836
836
  r("input", n);
837
837
  }
838
- return (n, l) => (f(), q(ye(Nr), {
838
+ return (n, a) => (p(), W(ye(Dr), {
839
839
  items: e.seasons,
840
840
  "model-value": o.value,
841
841
  height: "40px",
@@ -848,13 +848,13 @@ const Or = /* @__PURE__ */ wr(We, [["render", xr], ["__scopeId", "data-v-f3ee6b2
848
848
  onInput: i,
849
849
  "onUpdate:modelValue": s
850
850
  }, {
851
- default: M(({ selectedItem: a }) => [
852
- h("div", Lr, [
853
- h("span", null, I(a.name), 1)
851
+ default: q(({ selectedItem: d }) => [
852
+ m("div", Lr, [
853
+ m("span", null, I(d.name), 1)
854
854
  ])
855
855
  ]),
856
- availableItem: M(({ item: a }) => [
857
- h("span", zr, I(a.name), 1)
856
+ availableItem: q(({ item: d }) => [
857
+ m("span", zr, I(d.name), 1)
858
858
  ]),
859
859
  _: 1
860
860
  }, 8, ["items", "model-value"]));
@@ -956,46 +956,46 @@ const Or = /* @__PURE__ */ wr(We, [["render", xr], ["__scopeId", "data-v-f3ee6b2
956
956
  }));
957
957
  }, ot = Me.setup;
958
958
  Me.setup = ot ? (e, r) => (rt(), ot(e, r)) : rt;
959
- const jr = (e) => (ie("data-v-fb269a1e"), e = e(), ne(), e), Ur = ["src"], qr = {
959
+ const qr = (e) => (ie("data-v-fb269a1e"), e = e(), ne(), e), jr = ["src"], Ur = {
960
960
  key: 1,
961
961
  class: "text"
962
- }, Hr = ["src"], Jr = { class: "stats" }, Gr = /* @__PURE__ */ jr(() => /* @__PURE__ */ h("img", {
962
+ }, Hr = ["src"], Jr = { class: "stats" }, Gr = /* @__PURE__ */ qr(() => /* @__PURE__ */ m("img", {
963
963
  class: "iconstats",
964
964
  src: "https://az755631.vo.msecnd.net/todoelfut/playdes.png"
965
965
  }, null, -1)), Vr = { class: "numstats" }, Xr = { class: "leyend" };
966
966
  function Zr(e, r, t, o, s, i) {
967
- return f(), p("div", null, [
968
- t.type == 0 ? (f(), p("div", {
967
+ return p(), g("div", null, [
968
+ t.type == 0 ? (p(), g("div", {
969
969
  key: 0,
970
970
  class: E(["button", s.status && t.typeOnOff && "button-active"]),
971
971
  style: k([i.customStyle, s.status && t.typeOnOff && i.customActive]),
972
972
  onClick: r[0] || (r[0] = (...n) => i.btnClick && i.btnClick(...n))
973
973
  }, [
974
- t.icon && t.iconPosition.toLowerCase() === "left" ? (f(), p("img", {
974
+ t.icon && t.iconPosition.toLowerCase() === "left" ? (p(), g("img", {
975
975
  key: 0,
976
976
  class: "icon",
977
977
  style: k({ width: t.iconSize }),
978
978
  src: t.icon
979
- }, null, 12, Ur)) : S("", !0),
980
- t.textValue ? (f(), p("div", qr, I(t.textValue), 1)) : S("", !0),
981
- t.icon && t.iconPosition.toLowerCase() === "right" ? (f(), p("img", {
979
+ }, null, 12, jr)) : v("", !0),
980
+ t.textValue ? (p(), g("div", Ur, I(t.textValue), 1)) : v("", !0),
981
+ t.icon && t.iconPosition.toLowerCase() === "right" ? (p(), g("img", {
982
982
  key: 2,
983
983
  class: "icon",
984
984
  style: k({ width: t.iconSize }),
985
985
  src: t.icon
986
- }, null, 12, Hr)) : S("", !0)
987
- ], 6)) : S("", !0),
988
- t.type == 1 ? (f(), p("div", {
986
+ }, null, 12, Hr)) : v("", !0)
987
+ ], 6)) : v("", !0),
988
+ t.type == 1 ? (p(), g("div", {
989
989
  key: 1,
990
990
  class: "button-target",
991
991
  onClick: r[1] || (r[1] = (...n) => i.btnClick && i.btnClick(...n))
992
992
  }, [
993
- h("div", Jr, [
993
+ m("div", Jr, [
994
994
  Gr,
995
- h("div", Vr, I(t.textStat), 1)
995
+ m("div", Vr, I(t.textStat), 1)
996
996
  ]),
997
- h("div", Xr, I(t.textCategory), 1)
998
- ])) : S("", !0)
997
+ m("div", Xr, I(t.textCategory), 1)
998
+ ])) : v("", !0)
999
999
  ]);
1000
1000
  }
1001
1001
  const Kr = /* @__PURE__ */ Mr(Me, [["render", Zr], ["__scopeId", "data-v-fb269a1e"]]), Qr = { class: "gsc-dropdown__main-container__item-selected" }, Yr = ["height", "width"], eo = ["stroke"], to = { class: "gsc-dropdown__items-container" }, ro = ["onClick"], oo = {
@@ -1163,11 +1163,11 @@ const Kr = /* @__PURE__ */ Mr(Me, [["render", Zr], ["__scopeId", "data-v-fb269a1
1163
1163
  },
1164
1164
  emits: ["input", "click-ready", "update:modelValue"],
1165
1165
  setup(e, { emit: r }) {
1166
- const t = e, o = F({}), s = F(null), i = F(t.isMultipleOption ? -1 : 0), n = F(!1);
1166
+ const t = e, o = z({}), s = z(null), i = z(t.isMultipleOption ? -1 : 0), n = z(!1);
1167
1167
  fe(
1168
1168
  () => t.items,
1169
- (y, g) => {
1170
- if (!t.modelValue && (!t.onlyFirstTime || !g || !g.length) && y && y.length) {
1169
+ (y, f) => {
1170
+ if (!t.modelValue && (!t.onlyFirstTime || !f || !f.length) && y && y.length) {
1171
1171
  if (t.defaultItemByProp) {
1172
1172
  const w = t.items.findIndex(
1173
1173
  (b) => b[t.defaultItemByProp.propName] === t.defaultItemByProp.value
@@ -1183,13 +1183,13 @@ const Kr = /* @__PURE__ */ Mr(Me, [["render", Zr], ["__scopeId", "data-v-fb269a1
1183
1183
  () => t.modelValue,
1184
1184
  (y) => {
1185
1185
  if (y) {
1186
- const g = t.items.findIndex((w) => typeof y == "object" ? JSON.stringify(w) === JSON.stringify(y) : w === y);
1187
- g !== -1 && (i.value = g, o.value = t.items[g], r("update:modelValue", o.value));
1186
+ const f = t.items.findIndex((w) => typeof y == "object" ? JSON.stringify(w) === JSON.stringify(y) : w === y);
1187
+ f !== -1 && (i.value = f, o.value = t.items[f], r("update:modelValue", o.value));
1188
1188
  }
1189
1189
  },
1190
1190
  { immediate: !0 }
1191
1191
  );
1192
- const l = W(() => ({
1192
+ const a = M(() => ({
1193
1193
  height: t.height,
1194
1194
  width: t.width,
1195
1195
  backgroundColor: t.backgroundColor,
@@ -1217,76 +1217,76 @@ const Kr = /* @__PURE__ */ Mr(Me, [["render", Zr], ["__scopeId", "data-v-fb269a1
1217
1217
  "--dropdown-opacity": t.isDisabled ? "0.5" : "1",
1218
1218
  "--dropdown-cursor": t.isDisabled ? "not-allowed" : "pointer",
1219
1219
  "--dropdown-font-size": t.fontSize ? t.fontSize : "14px"
1220
- })), a = W(() => ({
1220
+ })), d = M(() => ({
1221
1221
  height: `${t.arrowHeight}px`,
1222
1222
  width: `${t.arrowWidth}px`
1223
1223
  }));
1224
- function c() {
1224
+ function u() {
1225
1225
  t.isDisabled || (n.value = !n.value);
1226
1226
  }
1227
- function u(y) {
1227
+ function c(y) {
1228
1228
  s.value && !s.value.contains(y.target) && (n.value = !1);
1229
1229
  }
1230
- function m(y, g) {
1231
- t.isMultipleOption ? i.value = -1 : (i.value = g, n.value = !1), o.value = y, r("input", o.value), r("update:modelValue", o.value);
1230
+ function h(y, f) {
1231
+ t.isMultipleOption ? i.value = -1 : (i.value = f, n.value = !1), o.value = y, r("input", o.value), r("update:modelValue", o.value);
1232
1232
  }
1233
- function v() {
1233
+ function S() {
1234
1234
  n.value = !1, r("click-ready");
1235
1235
  }
1236
1236
  return ge(() => {
1237
- document.addEventListener("click", u);
1237
+ document.addEventListener("click", c);
1238
1238
  }), St(() => {
1239
- document.removeEventListener("click", u);
1240
- }), (y, g) => (f(), p("div", {
1239
+ document.removeEventListener("click", c);
1240
+ }), (y, f) => (p(), g("div", {
1241
1241
  ref_key: "dropDown",
1242
1242
  ref: s,
1243
1243
  class: "gsc-dropdown",
1244
- style: k(l.value)
1244
+ style: k(a.value)
1245
1245
  }, [
1246
- h("div", {
1246
+ m("div", {
1247
1247
  class: "gsc-dropdown__main-container",
1248
1248
  style: k({ "padding-right": `${e.arrowWidth + 8}px` }),
1249
- onClick: c
1249
+ onClick: u
1250
1250
  }, [
1251
- h("div", Qr, [
1251
+ m("div", Qr, [
1252
1252
  Z(y.$slots, "default", { selectedItem: o.value })
1253
1253
  ]),
1254
- h("div", {
1254
+ m("div", {
1255
1255
  class: E(["gsc-dropdown__main-container__icon", { "rotated-180": n.value }]),
1256
- style: k(a.value)
1256
+ style: k(d.value)
1257
1257
  }, [
1258
- (f(), p("svg", {
1258
+ (p(), g("svg", {
1259
1259
  height: e.arrowHeight,
1260
1260
  width: e.arrowWidth,
1261
1261
  viewBox: "0 0 24 24",
1262
1262
  fill: "none",
1263
1263
  xmlns: "http://www.w3.org/2000/svg"
1264
1264
  }, [
1265
- h("path", {
1265
+ m("path", {
1266
1266
  d: "M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",
1267
1267
  stroke: e.arrowColor
1268
1268
  }, null, 8, eo)
1269
1269
  ], 8, Yr))
1270
1270
  ], 6)
1271
1271
  ], 4),
1272
- z(vt, null, {
1273
- default: M(() => [
1274
- Q(h("div", to, [
1275
- h("div", null, [
1276
- h("div", {
1272
+ F(vt, null, {
1273
+ default: q(() => [
1274
+ Q(m("div", to, [
1275
+ m("div", null, [
1276
+ m("div", {
1277
1277
  class: "gsc-dropdown__items",
1278
1278
  style: k({ "margin-top": `${t.borderWidth}px` })
1279
1279
  }, [
1280
- (f(!0), p(A, null, P(e.items, (w, b) => (f(), p("div", {
1280
+ (p(!0), g(P, null, A(e.items, (w, b) => (p(), g("div", {
1281
1281
  class: E(["gsc-dropdown__items__item", { selected: b === i.value }]),
1282
1282
  key: b,
1283
- onClick: (T) => m(w, b)
1283
+ onClick: (T) => h(w, b)
1284
1284
  }, [
1285
1285
  Z(y.$slots, "availableItem", { item: w })
1286
1286
  ], 10, ro))), 128))
1287
1287
  ], 4),
1288
- e.isFooterVisible ? (f(), p("div", oo, [
1289
- z(ye(Kr), {
1288
+ e.isFooterVisible ? (p(), g("div", oo, [
1289
+ F(ye(Kr), {
1290
1290
  "text-value": "Listo",
1291
1291
  "border-color": "#cbee6b",
1292
1292
  "font-size": "12px",
@@ -1294,9 +1294,9 @@ const Kr = /* @__PURE__ */ Mr(Me, [["render", Zr], ["__scopeId", "data-v-fb269a1
1294
1294
  height: "22px",
1295
1295
  "border-radius": "62px",
1296
1296
  "border-width": 0.8,
1297
- onClick: v
1297
+ onClick: S
1298
1298
  })
1299
- ])) : S("", !0)
1299
+ ])) : v("", !0)
1300
1300
  ])
1301
1301
  ], 512), [
1302
1302
  [re, n.value]
@@ -1401,72 +1401,72 @@ const Kr = /* @__PURE__ */ Mr(Me, [["render", Zr], ["__scopeId", "data-v-fb269a1
1401
1401
  },
1402
1402
  emits: ["input", "change-tournaments"],
1403
1403
  setup(e, { emit: r }) {
1404
- const t = e, o = F([]), s = W(() => {
1404
+ const t = e, o = z([]), s = M(() => {
1405
1405
  const y = {};
1406
1406
  return t.fontFamily && (y["font-family"] = `${t.fontFamily}`), y;
1407
- }), i = W(() => t.tournamentsIdsToInclude.size ? a(o.value) : o.value), n = W(() => i.value.find((y) => y.seasonsIds.has(t.currentSeasonId)) || i.value[0]);
1408
- async function l() {
1407
+ }), i = M(() => t.tournamentsIdsToInclude.size ? d(o.value) : o.value), n = M(() => i.value.find((y) => y.seasonsIds.has(t.currentSeasonId)) || i.value[0]);
1408
+ async function a() {
1409
1409
  try {
1410
1410
  if (t.items && t.items.length)
1411
1411
  o.value = [...t.items];
1412
1412
  else {
1413
- const y = await u();
1414
- r("change-tournaments", y), o.value = y.map((g) => ({
1415
- ...g.tournament,
1416
- seasons: g.seasons,
1417
- seasonsIds: g.seasons.reduce((w, b) => (w.add(b.id), w), /* @__PURE__ */ new Set())
1418
- })).sort((g, w) => g.order - w.order);
1413
+ const y = await c();
1414
+ r("change-tournaments", y), o.value = y.map((f) => ({
1415
+ ...f.tournament,
1416
+ seasons: f.seasons,
1417
+ seasonsIds: f.seasons.reduce((w, b) => (w.add(b.id), w), /* @__PURE__ */ new Set())
1418
+ })).sort((f, w) => f.order - w.order);
1419
1419
  }
1420
1420
  } catch (y) {
1421
1421
  throw new Error(y);
1422
1422
  }
1423
1423
  }
1424
- function a(y) {
1425
- return y.filter((g) => t.tournamentsIdsToInclude.has(g.id));
1424
+ function d(y) {
1425
+ return y.filter((f) => t.tournamentsIdsToInclude.has(f.id));
1426
1426
  }
1427
- function c(y) {
1428
- const g = new XMLHttpRequest(), w = `${t.logosUrl}${y}.${t.logoFileType}`;
1429
- return g.open("HEAD", w, !1), g.send(), g.status !== 404;
1427
+ function u(y) {
1428
+ const f = new XMLHttpRequest(), w = `${t.logosUrl}${y}.${t.logoFileType}`;
1429
+ return f.open("HEAD", w, !1), f.send(), f.status !== 404;
1430
1430
  }
1431
- async function u() {
1431
+ async function c() {
1432
1432
  try {
1433
1433
  return (await fetch(t.apiUrl || uo)).json();
1434
1434
  } catch (y) {
1435
1435
  return Promise.reject(y);
1436
1436
  }
1437
1437
  }
1438
- function m(y) {
1438
+ function h(y) {
1439
1439
  r("input", y);
1440
1440
  }
1441
- function v(y) {
1441
+ function S(y) {
1442
1442
  r("input", y);
1443
1443
  }
1444
1444
  return ge(() => {
1445
- l();
1446
- }), (y, g) => (f(), p("div", {
1445
+ a();
1446
+ }), (y, f) => (p(), g("div", {
1447
1447
  class: "tournament-select",
1448
1448
  style: k(s.value)
1449
1449
  }, [
1450
- z(ye(so), Gt(t, {
1450
+ F(ye(so), Gt(t, {
1451
1451
  "model-value": n.value,
1452
1452
  items: i.value,
1453
- onInput: m,
1454
- "onUpdate:modelValue": v
1453
+ onInput: h,
1454
+ "onUpdate:modelValue": S
1455
1455
  }), {
1456
- default: M(({ selectedItem: w }) => [
1457
- h("div", no, [
1458
- h("div", ao, [
1459
- c(w.id) ? (f(), p("img", {
1456
+ default: q(({ selectedItem: w }) => [
1457
+ m("div", no, [
1458
+ m("div", ao, [
1459
+ u(w.id) ? (p(), g("img", {
1460
1460
  key: 0,
1461
1461
  src: `${t.logosUrl}${w.id}.${t.logoFileType}`,
1462
1462
  alt: ""
1463
- }, null, 8, lo)) : S("", !0)
1463
+ }, null, 8, lo)) : v("", !0)
1464
1464
  ]),
1465
- h("div", co, I(w.name), 1)
1465
+ m("div", co, I(w.name), 1)
1466
1466
  ])
1467
1467
  ]),
1468
- availableItem: M(({ item: w }) => [
1469
- h("div", null, I(w.name), 1)
1468
+ availableItem: q(({ item: w }) => [
1469
+ m("div", null, I(w.name), 1)
1470
1470
  ]),
1471
1471
  _: 1
1472
1472
  }, 16, ["model-value", "items"])
@@ -1477,7 +1477,7 @@ const Kr = /* @__PURE__ */ Mr(Me, [["render", Zr], ["__scopeId", "data-v-fb269a1
1477
1477
  for (const [o, s] of r)
1478
1478
  t[o] = s;
1479
1479
  return t;
1480
- }, je = {
1480
+ }, qe = {
1481
1481
  name: "ScrollableContainer",
1482
1482
  props: {
1483
1483
  backgroundColor: { type: String, default: "#0D1D29" },
@@ -1564,67 +1564,70 @@ const Kr = /* @__PURE__ */ Mr(Me, [["render", Zr], ["__scopeId", "data-v-fb269a1
1564
1564
  66582163: e.arrowsContainerBgR,
1565
1565
  e5900a2e: e.scrollColor
1566
1566
  }));
1567
- }, it = je.setup;
1568
- je.setup = it ? (e, r) => (st(), it(e, r)) : st;
1567
+ }, it = qe.setup;
1568
+ qe.setup = it ? (e, r) => (st(), it(e, r)) : st;
1569
1569
  const mo = {
1570
1570
  ref: "gscScrollableContainer",
1571
1571
  class: "scrollable-container"
1572
1572
  }, go = { class: "scrollable-arrows" }, yo = ["width", "height", "viewBox"], wo = ["stroke"], bo = { class: "scrollable-wrapper" }, So = { class: "scrollable-arrows" }, vo = ["width", "height", "viewBox"], Co = ["stroke"];
1573
1573
  function _o(e, r, t, o, s, i) {
1574
- return f(), p("div", mo, [
1575
- t.arrows ? (f(), p("div", {
1574
+ return p(), g("div", mo, [
1575
+ t.arrows ? (p(), g("div", {
1576
1576
  key: 0,
1577
1577
  class: E(["arrows-container", i.hideShowLeftArrow]),
1578
1578
  onClick: r[0] || (r[0] = (...n) => i.scrollLeft && i.scrollLeft(...n))
1579
1579
  }, [
1580
- h("div", go, [
1581
- (f(), p("svg", {
1580
+ m("div", go, [
1581
+ (p(), g("svg", {
1582
1582
  width: t.arrowsWidth,
1583
1583
  height: t.arrowsHeight,
1584
1584
  viewBox: i.getViewBox,
1585
1585
  fill: "none",
1586
1586
  xmlns: "http://www.w3.org/2000/svg"
1587
1587
  }, [
1588
- h("path", {
1588
+ m("path", {
1589
1589
  d: "M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",
1590
1590
  stroke: t.arrowsColor
1591
1591
  }, null, 8, wo)
1592
1592
  ], 8, yo))
1593
1593
  ])
1594
- ], 2)) : S("", !0),
1595
- h("div", {
1594
+ ], 2)) : v("", !0),
1595
+ m("div", {
1596
1596
  class: "scrollable-content scrollable-content-slider",
1597
1597
  ref: "content",
1598
1598
  onScroll: r[1] || (r[1] = (...n) => i.getScroll && i.getScroll(...n))
1599
1599
  }, [
1600
- h("div", bo, [
1600
+ m("div", bo, [
1601
1601
  Z(e.$slots, "default", {}, void 0, !0)
1602
1602
  ])
1603
1603
  ], 544),
1604
- t.arrows ? (f(), p("div", {
1604
+ t.arrows ? (p(), g("div", {
1605
1605
  key: 1,
1606
1606
  id: "arrows-container-right",
1607
1607
  class: E(["arrows-container", i.hideShowRightArrow]),
1608
1608
  onClick: r[2] || (r[2] = (...n) => i.scrollRight && i.scrollRight(...n))
1609
1609
  }, [
1610
- h("div", So, [
1611
- (f(), p("svg", {
1610
+ m("div", So, [
1611
+ (p(), g("svg", {
1612
1612
  width: t.arrowsWidth,
1613
1613
  height: t.arrowsHeight,
1614
1614
  viewBox: i.getViewBox,
1615
1615
  fill: "none",
1616
1616
  xmlns: "http://www.w3.org/2000/svg"
1617
1617
  }, [
1618
- h("path", {
1618
+ m("path", {
1619
1619
  d: "M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",
1620
1620
  stroke: t.arrowsColor
1621
1621
  }, null, 8, Co)
1622
1622
  ], 8, vo))
1623
1623
  ])
1624
- ], 2)) : S("", !0)
1624
+ ], 2)) : v("", !0)
1625
1625
  ], 512);
1626
1626
  }
1627
- const we = /* @__PURE__ */ po(je, [["render", _o], ["__scopeId", "data-v-7d0811ac"]]), ko = { key: 0 }, Ue = {
1627
+ const we = /* @__PURE__ */ po(qe, [["render", _o], ["__scopeId", "data-v-7d0811ac"]]), ko = {
1628
+ key: 0,
1629
+ class: "card-container"
1630
+ }, je = {
1628
1631
  __name: "GSC-DataCard",
1629
1632
  props: {
1630
1633
  data: {
@@ -1646,26 +1649,26 @@ const we = /* @__PURE__ */ po(je, [["render", _o], ["__scopeId", "data-v-7d0811a
1646
1649
  },
1647
1650
  setup(e) {
1648
1651
  const r = {
1649
- CardGeneral: x(() => import("./CardGeneral-D2PYPb95-DycFnfDS.js")),
1650
- CardGeneralIndividual: x(() => import("./CardGeneralIndividual-BHjZ12n1-BvodKC3y.js")),
1651
- CardGeneralTeams: x(() => import("./CardGeneralTeams-ByBEp-8b-CbLocm8U.js")),
1652
- CardIndividual: x(() => import("./CardIndividual-BR1r5B5u-DqflCygx.js")),
1653
- CardIndividualDistance: x(() => import("./CardIndividualDistance-BKeSbWJ9-B6Vj1YLa.js")),
1654
- CardIndividualAreas: x(() => import("./CardIndividualAreas-qEYtV2XP-C97pNpBa.js")),
1655
- CardIndividualGoalParticipation: x(() => import("./CardIndividualGoalParticipation-CRBepIcB-CBc1Wh03.js")),
1656
- CardIndividualGoals: x(() => import("./CardIndividualGoals-CBAA7DE3-Dco1VuBc.js")),
1657
- CardIndividualShotsOnGoal: x(() => import("./CardIndividualShotsOnGoal-X_3YzAE3-CbiYLtzD.js")),
1658
- CardIndividualFouls: x(() => import("./CardIndividualFouls-BqWT8Bzx-D0EDbSJl.js")),
1659
- CardIndividualCenters: x(() => import("./CardIndividualCenters-DURH48kE-BAeLhbBk.js")),
1660
- CardIndividualSaves: x(() => import("./CardIndividualSaves-BqBRjEt7-CJBgPvne.js")),
1661
- CardIndividual1vs1: x(() => import("./CardIndividual1vs1-DPov_cGc-DtWs-qcq.js")),
1662
- CardIndividualStatistics: x(() => import("./CardIndividualStatistics-D769xisE-D2KNSIfX.js")),
1663
- CardIndividualPerformance: x(() => import("./CardIndividualPerformance-CEPnHtE9-Da4MXSxk.js")),
1664
- CardIndividualGold: x(() => import("./CardIndividualGold-BBYsUCND-BhqSGl0q.js")),
1665
- CardPromTournament: x(() => import("./CardPromTournament-DFGqM4we-C4dX0pKz.js")),
1666
- CardIndividualNoGoalReceived: x(() => import("./CardIndividualNoGoalReceived-HaDOJruE-CKzigvOP.js")),
1667
- CardTheMostProductive: x(() => import("./CardTheMostProductive-DzbDtzZn-Dewb8MoQ.js")),
1668
- CardSuccessfulPasses: x(() => import("./CardSuccessfulPasses-CTjMzZAt-Bv_X927S.js"))
1652
+ CardGeneral: x(() => import("./CardGeneral-DyOdaEFZ-DVY9vI50.js")),
1653
+ CardGeneralIndividual: x(() => import("./CardGeneralIndividual-DaONNIwT-WoYrg7O0.js")),
1654
+ CardGeneralTeams: x(() => import("./CardGeneralTeams-CCfSIg5--ycGF0WJl.js")),
1655
+ CardIndividual: x(() => import("./CardIndividual-B5YHR_4X-DC-zfHLx.js")),
1656
+ CardIndividualDistance: x(() => import("./CardIndividualDistance-jUf26hS9-BTaa0gSa.js")),
1657
+ CardIndividualAreas: x(() => import("./CardIndividualAreas-D9mHXjfS-DrA6YV1T.js")),
1658
+ CardIndividualGoalParticipation: x(() => import("./CardIndividualGoalParticipation-CGVwsTkf-BsIXMNqX.js")),
1659
+ CardIndividualGoals: x(() => import("./CardIndividualGoals-CjrXz7Zv-Cg_lAqNg.js")),
1660
+ CardIndividualShotsOnGoal: x(() => import("./CardIndividualShotsOnGoal-B6fysQZQ-2WTo5bAB.js")),
1661
+ CardIndividualFouls: x(() => import("./CardIndividualFouls-DF0AvPys-C61mrpb7.js")),
1662
+ CardIndividualCenters: x(() => import("./CardIndividualCenters-DeGyy9wB-BftpRpCL.js")),
1663
+ CardIndividualSaves: x(() => import("./CardIndividualSaves-BTCuv2ld-BJ7OrOnW.js")),
1664
+ CardIndividual1vs1: x(() => import("./CardIndividual1vs1-DEBY4dbB-V3PJhhY7.js")),
1665
+ CardIndividualStatistics: x(() => import("./CardIndividualStatistics-B7vL_L1s-BYMwjEJD.js")),
1666
+ CardIndividualPerformance: x(() => import("./CardIndividualPerformance-kbuWBDcK-CWDHQrku.js")),
1667
+ CardIndividualGold: x(() => import("./CardIndividualGold-Cp8DsHVJ-nOXX6qdb.js")),
1668
+ CardPromTournament: x(() => import("./CardPromTournament-DMe6axFO-DWI8msi-.js")),
1669
+ CardIndividualNoGoalReceived: x(() => import("./CardIndividualNoGoalReceived-BNjVlC0Z-BtnbjfPl.js")),
1670
+ CardTheMostProductive: x(() => import("./CardTheMostProductive-CDDFIo-I-LQ50NbB5.js")),
1671
+ CardSuccessfulPasses: x(() => import("./CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js"))
1669
1672
  }, t = [
1670
1673
  {
1671
1674
  componentName: "CardGeneral",
@@ -1878,6 +1881,7 @@ const we = /* @__PURE__ */ po(je, [["render", _o], ["__scopeId", "data-v-7d0811a
1878
1881
  "165-i",
1879
1882
  "168-i",
1880
1883
  "171-i",
1884
+ "174-i",
1881
1885
  "176-i"
1882
1886
  ]
1883
1887
  },
@@ -1937,7 +1941,7 @@ const we = /* @__PURE__ */ po(je, [["render", _o], ["__scopeId", "data-v-7d0811a
1937
1941
  "163-i",
1938
1942
  "167-i",
1939
1943
  "169-i",
1940
- "174-i",
1944
+ "173-i",
1941
1945
  "178-i"
1942
1946
  ]
1943
1947
  },
@@ -1997,17 +2001,20 @@ const we = /* @__PURE__ */ po(je, [["render", _o], ["__scopeId", "data-v-7d0811a
1997
2001
  "6-e"
1998
2002
  ]
1999
2003
  }
2000
- ].reduce((l, { componentName: a, ids: c }) => (c.forEach((u) => {
2001
- l.set(u, a);
2002
- }), l), /* @__PURE__ */ new Map()), o = e, s = W(() => t.get(o.data.id)), i = W(() => r[s.value]), n = W(() => o.data.id.includes("-e") ? o.data.is_finished ? 5 : 6 : o.data.player_id === o.userId ? o.data.is_finished ? 1 : 2 : o.data.is_finished ? 3 : 4);
2003
- return (l, a) => i.value ? (f(), p("div", ko, [
2004
- (f(), q(Vt(i.value), {
2004
+ ].reduce((a, { componentName: d, ids: u }) => (u.forEach((c) => {
2005
+ a.set(c, d);
2006
+ }), a), /* @__PURE__ */ new Map()), o = e, s = M(() => t.get(o.data.id)), i = M(() => r[s.value]), n = M(() => {
2007
+ const a = o.data.id.includes("-e"), d = o.data.id.includes("-g");
2008
+ return a || d ? o.data.is_finished ? 5 : 6 : o.data.player_id === o.userId ? o.data.is_finished ? 1 : 2 : o.data.is_finished ? 3 : 4;
2009
+ });
2010
+ return (a, d) => i.value ? (p(), g("div", ko, [
2011
+ (p(), W(Vt(i.value), {
2005
2012
  data: e.data,
2006
2013
  height: e.height,
2007
2014
  width: e.width,
2008
2015
  "description-type": n.value
2009
2016
  }, null, 8, ["data", "height", "width", "description-type"]))
2010
- ])) : S("", !0);
2017
+ ])) : v("", !0);
2011
2018
  }
2012
2019
  };
2013
2020
  function Ct(e, r) {
@@ -2015,7 +2022,7 @@ function Ct(e, r) {
2015
2022
  return e.apply(r, arguments);
2016
2023
  };
2017
2024
  }
2018
- const { toString: To } = Object.prototype, { getPrototypeOf: qe } = Object, be = /* @__PURE__ */ ((e) => (r) => {
2025
+ const { toString: To } = Object.prototype, { getPrototypeOf: Ue } = Object, be = /* @__PURE__ */ ((e) => (r) => {
2019
2026
  const t = To.call(r);
2020
2027
  return e[t] || (e[t] = t.slice(8, -1).toLowerCase());
2021
2028
  })(/* @__PURE__ */ Object.create(null)), j = (e) => (e = e.toLowerCase(), (r) => be(r) === e), Se = (e) => (r) => typeof r === e, { isArray: Y } = Array, oe = Se("undefined");
@@ -2027,12 +2034,12 @@ function xo(e) {
2027
2034
  let r;
2028
2035
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(e) : r = e && e.buffer && _t(e.buffer), r;
2029
2036
  }
2030
- const Oo = Se("string"), L = Se("function"), kt = Se("number"), ve = (e) => e !== null && typeof e == "object", Ao = (e) => e === !0 || e === !1, ce = (e) => {
2037
+ const Oo = Se("string"), L = Se("function"), kt = Se("number"), ve = (e) => e !== null && typeof e == "object", Po = (e) => e === !0 || e === !1, ce = (e) => {
2031
2038
  if (be(e) !== "object")
2032
2039
  return !1;
2033
- const r = qe(e);
2040
+ const r = Ue(e);
2034
2041
  return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
2035
- }, Po = j("Date"), Ro = j("File"), Eo = j("Blob"), Bo = j("FileList"), Do = (e) => ve(e) && L(e.pipe), No = (e) => {
2042
+ }, Ao = j("Date"), Ro = j("File"), Eo = j("Blob"), Bo = j("FileList"), No = (e) => ve(e) && L(e.pipe), Do = (e) => {
2036
2043
  let r;
2037
2044
  return e && (typeof FormData == "function" && e instanceof FormData || L(e.append) && ((r = be(e)) === "formdata" || // detect form-data instance
2038
2045
  r === "object" && L(e.toString) && e.toString() === "[object FormData]"));
@@ -2046,9 +2053,9 @@ function ae(e, r, { allOwnKeys: t = !1 } = {}) {
2046
2053
  r.call(null, e[o], o, e);
2047
2054
  else {
2048
2055
  const i = t ? Object.getOwnPropertyNames(e) : Object.keys(e), n = i.length;
2049
- let l;
2056
+ let a;
2050
2057
  for (o = 0; o < n; o++)
2051
- l = i[o], r.call(null, e[l], l, e);
2058
+ a = i[o], r.call(null, e[a], a, e);
2052
2059
  }
2053
2060
  }
2054
2061
  function Tt(e, r) {
@@ -2070,20 +2077,20 @@ function Ee() {
2070
2077
  arguments[o] && ae(arguments[o], t);
2071
2078
  return r;
2072
2079
  }
2073
- const jo = (e, r, t, { allOwnKeys: o } = {}) => (ae(r, (s, i) => {
2080
+ const qo = (e, r, t, { allOwnKeys: o } = {}) => (ae(r, (s, i) => {
2074
2081
  t && L(s) ? e[i] = Ct(s, t) : e[i] = s;
2075
- }, { allOwnKeys: o }), e), Uo = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), qo = (e, r, t, o) => {
2082
+ }, { allOwnKeys: o }), e), jo = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Uo = (e, r, t, o) => {
2076
2083
  e.prototype = Object.create(r.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
2077
2084
  value: r.prototype
2078
2085
  }), t && Object.assign(e.prototype, t);
2079
2086
  }, Ho = (e, r, t, o) => {
2080
2087
  let s, i, n;
2081
- const l = {};
2088
+ const a = {};
2082
2089
  if (r = r || {}, e == null) return r;
2083
2090
  do {
2084
2091
  for (s = Object.getOwnPropertyNames(e), i = s.length; i-- > 0; )
2085
- n = s[i], (!o || o(n, e, r)) && !l[n] && (r[n] = e[n], l[n] = !0);
2086
- e = t !== !1 && qe(e);
2092
+ n = s[i], (!o || o(n, e, r)) && !a[n] && (r[n] = e[n], a[n] = !0);
2093
+ e = t !== !1 && Ue(e);
2087
2094
  } while (e && (!t || t(e, r)) && e !== Object.prototype);
2088
2095
  return r;
2089
2096
  }, Jo = (e, r, t) => {
@@ -2099,7 +2106,7 @@ const jo = (e, r, t, { allOwnKeys: o } = {}) => (ae(r, (s, i) => {
2099
2106
  for (; r-- > 0; )
2100
2107
  t[r] = e[r];
2101
2108
  return t;
2102
- }, Vo = /* @__PURE__ */ ((e) => (r) => e && r instanceof e)(typeof Uint8Array < "u" && qe(Uint8Array)), Xo = (e, r) => {
2109
+ }, Vo = /* @__PURE__ */ ((e) => (r) => e && r instanceof e)(typeof Uint8Array < "u" && Ue(Uint8Array)), Xo = (e, r) => {
2103
2110
  const o = (e && e[Symbol.iterator]).call(e);
2104
2111
  let s;
2105
2112
  for (; (s = o.next()) && !s.done; ) {
@@ -2168,31 +2175,31 @@ const ns = (e) => {
2168
2175
  if (!("toJSON" in o)) {
2169
2176
  r[s] = o;
2170
2177
  const i = Y(o) ? [] : {};
2171
- return ae(o, (n, l) => {
2172
- const a = t(n, s + 1);
2173
- !oe(a) && (i[l] = a);
2178
+ return ae(o, (n, a) => {
2179
+ const d = t(n, s + 1);
2180
+ !oe(d) && (i[a] = d);
2174
2181
  }), r[s] = void 0, i;
2175
2182
  }
2176
2183
  }
2177
2184
  return o;
2178
2185
  };
2179
2186
  return t(e, 0);
2180
- }, as = j("AsyncFunction"), ls = (e) => e && (ve(e) || L(e)) && L(e.then) && L(e.catch), At = ((e, r) => e ? setImmediate : r ? ((t, o) => (V.addEventListener("message", ({ source: s, data: i }) => {
2187
+ }, as = j("AsyncFunction"), ls = (e) => e && (ve(e) || L(e)) && L(e.then) && L(e.catch), Pt = ((e, r) => e ? setImmediate : r ? ((t, o) => (V.addEventListener("message", ({ source: s, data: i }) => {
2181
2188
  s === V && i === t && o.length && o.shift()();
2182
2189
  }, !1), (s) => {
2183
2190
  o.push(s), V.postMessage(t, "*");
2184
2191
  }))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
2185
2192
  typeof setImmediate == "function",
2186
2193
  L(V.postMessage)
2187
- ), ds = typeof queueMicrotask < "u" ? queueMicrotask.bind(V) : typeof process < "u" && process.nextTick || At, d = {
2194
+ ), ds = typeof queueMicrotask < "u" ? queueMicrotask.bind(V) : typeof process < "u" && process.nextTick || Pt, l = {
2188
2195
  isArray: Y,
2189
2196
  isArrayBuffer: _t,
2190
2197
  isBuffer: Io,
2191
- isFormData: No,
2198
+ isFormData: Do,
2192
2199
  isArrayBufferView: xo,
2193
2200
  isString: Oo,
2194
2201
  isNumber: kt,
2195
- isBoolean: Ao,
2202
+ isBoolean: Po,
2196
2203
  isObject: ve,
2197
2204
  isPlainObject: ce,
2198
2205
  isReadableStream: Lo,
@@ -2200,21 +2207,21 @@ const ns = (e) => {
2200
2207
  isResponse: Fo,
2201
2208
  isHeaders: Wo,
2202
2209
  isUndefined: oe,
2203
- isDate: Po,
2210
+ isDate: Ao,
2204
2211
  isFile: Ro,
2205
2212
  isBlob: Eo,
2206
2213
  isRegExp: Yo,
2207
2214
  isFunction: L,
2208
- isStream: Do,
2215
+ isStream: No,
2209
2216
  isURLSearchParams: $o,
2210
2217
  isTypedArray: Vo,
2211
2218
  isFileList: Bo,
2212
2219
  forEach: ae,
2213
2220
  merge: Ee,
2214
- extend: jo,
2221
+ extend: qo,
2215
2222
  trim: Mo,
2216
- stripBOM: Uo,
2217
- inherits: qo,
2223
+ stripBOM: jo,
2224
+ inherits: Uo,
2218
2225
  toFlatObject: Ho,
2219
2226
  kindOf: be,
2220
2227
  kindOfTest: j,
@@ -2241,13 +2248,13 @@ const ns = (e) => {
2241
2248
  toJSONObject: ns,
2242
2249
  isAsyncFn: as,
2243
2250
  isThenable: ls,
2244
- setImmediate: At,
2251
+ setImmediate: Pt,
2245
2252
  asap: ds
2246
2253
  };
2247
2254
  function C(e, r, t, o, s) {
2248
2255
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", r && (this.code = r), t && (this.config = t), o && (this.request = o), s && (this.response = s, this.status = s.status ? s.status : null);
2249
2256
  }
2250
- d.inherits(C, Error, {
2257
+ l.inherits(C, Error, {
2251
2258
  toJSON: function() {
2252
2259
  return {
2253
2260
  // Standard
@@ -2262,13 +2269,13 @@ d.inherits(C, Error, {
2262
2269
  columnNumber: this.columnNumber,
2263
2270
  stack: this.stack,
2264
2271
  // Axios
2265
- config: d.toJSONObject(this.config),
2272
+ config: l.toJSONObject(this.config),
2266
2273
  code: this.code,
2267
2274
  status: this.status
2268
2275
  };
2269
2276
  }
2270
2277
  });
2271
- const Pt = C.prototype, Rt = {};
2278
+ const At = C.prototype, Rt = {};
2272
2279
  [
2273
2280
  "ERR_BAD_OPTION_VALUE",
2274
2281
  "ERR_BAD_OPTION",
@@ -2287,19 +2294,19 @@ const Pt = C.prototype, Rt = {};
2287
2294
  Rt[e] = { value: e };
2288
2295
  });
2289
2296
  Object.defineProperties(C, Rt);
2290
- Object.defineProperty(Pt, "isAxiosError", { value: !0 });
2297
+ Object.defineProperty(At, "isAxiosError", { value: !0 });
2291
2298
  C.from = (e, r, t, o, s, i) => {
2292
- const n = Object.create(Pt);
2293
- return d.toFlatObject(e, n, function(a) {
2294
- return a !== Error.prototype;
2295
- }, (l) => l !== "isAxiosError"), C.call(n, e.message, r, t, o, s), n.cause = e, n.name = e.name, i && Object.assign(n, i), n;
2299
+ const n = Object.create(At);
2300
+ return l.toFlatObject(e, n, function(d) {
2301
+ return d !== Error.prototype;
2302
+ }, (a) => a !== "isAxiosError"), C.call(n, e.message, r, t, o, s), n.cause = e, n.name = e.name, i && Object.assign(n, i), n;
2296
2303
  };
2297
2304
  const cs = null;
2298
2305
  function Be(e) {
2299
- return d.isPlainObject(e) || d.isArray(e);
2306
+ return l.isPlainObject(e) || l.isArray(e);
2300
2307
  }
2301
2308
  function Et(e) {
2302
- return d.endsWith(e, "[]") ? e.slice(0, -2) : e;
2309
+ return l.endsWith(e, "[]") ? e.slice(0, -2) : e;
2303
2310
  }
2304
2311
  function lt(e, r, t) {
2305
2312
  return e ? e.concat(r).map(function(s, i) {
@@ -2307,69 +2314,69 @@ function lt(e, r, t) {
2307
2314
  }).join(t ? "." : "") : r;
2308
2315
  }
2309
2316
  function us(e) {
2310
- return d.isArray(e) && !e.some(Be);
2317
+ return l.isArray(e) && !e.some(Be);
2311
2318
  }
2312
- const hs = d.toFlatObject(d, {}, null, function(r) {
2319
+ const hs = l.toFlatObject(l, {}, null, function(r) {
2313
2320
  return /^is[A-Z]/.test(r);
2314
2321
  });
2315
2322
  function Ce(e, r, t) {
2316
- if (!d.isObject(e))
2323
+ if (!l.isObject(e))
2317
2324
  throw new TypeError("target must be an object");
2318
- r = r || new FormData(), t = d.toFlatObject(t, {
2325
+ r = r || new FormData(), t = l.toFlatObject(t, {
2319
2326
  metaTokens: !0,
2320
2327
  dots: !1,
2321
2328
  indexes: !1
2322
2329
  }, !1, function(w, b) {
2323
- return !d.isUndefined(b[w]);
2330
+ return !l.isUndefined(b[w]);
2324
2331
  });
2325
- const o = t.metaTokens, s = t.visitor || u, i = t.dots, n = t.indexes, a = (t.Blob || typeof Blob < "u" && Blob) && d.isSpecCompliantForm(r);
2326
- if (!d.isFunction(s))
2332
+ const o = t.metaTokens, s = t.visitor || c, i = t.dots, n = t.indexes, d = (t.Blob || typeof Blob < "u" && Blob) && l.isSpecCompliantForm(r);
2333
+ if (!l.isFunction(s))
2327
2334
  throw new TypeError("visitor must be a function");
2328
- function c(g) {
2329
- if (g === null) return "";
2330
- if (d.isDate(g))
2331
- return g.toISOString();
2332
- if (!a && d.isBlob(g))
2335
+ function u(f) {
2336
+ if (f === null) return "";
2337
+ if (l.isDate(f))
2338
+ return f.toISOString();
2339
+ if (!d && l.isBlob(f))
2333
2340
  throw new C("Blob is not supported. Use a Buffer instead.");
2334
- return d.isArrayBuffer(g) || d.isTypedArray(g) ? a && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
2341
+ return l.isArrayBuffer(f) || l.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
2335
2342
  }
2336
- function u(g, w, b) {
2337
- let T = g;
2338
- if (g && !b && typeof g == "object") {
2339
- if (d.endsWith(w, "{}"))
2340
- w = o ? w : w.slice(0, -2), g = JSON.stringify(g);
2341
- else if (d.isArray(g) && us(g) || (d.isFileList(g) || d.endsWith(w, "[]")) && (T = d.toArray(g)))
2343
+ function c(f, w, b) {
2344
+ let T = f;
2345
+ if (f && !b && typeof f == "object") {
2346
+ if (l.endsWith(w, "{}"))
2347
+ w = o ? w : w.slice(0, -2), f = JSON.stringify(f);
2348
+ else if (l.isArray(f) && us(f) || (l.isFileList(f) || l.endsWith(w, "[]")) && (T = l.toArray(f)))
2342
2349
  return w = Et(w), T.forEach(function(R, H) {
2343
- !(d.isUndefined(R) || R === null) && r.append(
2350
+ !(l.isUndefined(R) || R === null) && r.append(
2344
2351
  // eslint-disable-next-line no-nested-ternary
2345
2352
  n === !0 ? lt([w], H, i) : n === null ? w : w + "[]",
2346
- c(R)
2353
+ u(R)
2347
2354
  );
2348
2355
  }), !1;
2349
2356
  }
2350
- return Be(g) ? !0 : (r.append(lt(b, w, i), c(g)), !1);
2357
+ return Be(f) ? !0 : (r.append(lt(b, w, i), u(f)), !1);
2351
2358
  }
2352
- const m = [], v = Object.assign(hs, {
2353
- defaultVisitor: u,
2354
- convertValue: c,
2359
+ const h = [], S = Object.assign(hs, {
2360
+ defaultVisitor: c,
2361
+ convertValue: u,
2355
2362
  isVisitable: Be
2356
2363
  });
2357
- function y(g, w) {
2358
- if (!d.isUndefined(g)) {
2359
- if (m.indexOf(g) !== -1)
2364
+ function y(f, w) {
2365
+ if (!l.isUndefined(f)) {
2366
+ if (h.indexOf(f) !== -1)
2360
2367
  throw Error("Circular reference detected in " + w.join("."));
2361
- m.push(g), d.forEach(g, function(T, O) {
2362
- (!(d.isUndefined(T) || T === null) && s.call(
2368
+ h.push(f), l.forEach(f, function(T, O) {
2369
+ (!(l.isUndefined(T) || T === null) && s.call(
2363
2370
  r,
2364
2371
  T,
2365
- d.isString(O) ? O.trim() : O,
2372
+ l.isString(O) ? O.trim() : O,
2366
2373
  w,
2367
- v
2374
+ S
2368
2375
  )) === !0 && y(T, w ? w.concat(O) : [O]);
2369
- }), m.pop();
2376
+ }), h.pop();
2370
2377
  }
2371
2378
  }
2372
- if (!d.isObject(e))
2379
+ if (!l.isObject(e))
2373
2380
  throw new TypeError("data must be an object");
2374
2381
  return y(e), r;
2375
2382
  }
@@ -2405,16 +2412,16 @@ Bt.toString = function(r) {
2405
2412
  function fs(e) {
2406
2413
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
2407
2414
  }
2408
- function Dt(e, r, t) {
2415
+ function Nt(e, r, t) {
2409
2416
  if (!r)
2410
2417
  return e;
2411
2418
  const o = t && t.encode || fs;
2412
- d.isFunction(t) && (t = {
2419
+ l.isFunction(t) && (t = {
2413
2420
  serialize: t
2414
2421
  });
2415
2422
  const s = t && t.serialize;
2416
2423
  let i;
2417
- if (s ? i = s(r, t) : i = d.isURLSearchParams(r) ? r.toString() : new He(r, t).toString(o), i) {
2424
+ if (s ? i = s(r, t) : i = l.isURLSearchParams(r) ? r.toString() : new He(r, t).toString(o), i) {
2418
2425
  const n = e.indexOf("#");
2419
2426
  n !== -1 && (e = e.slice(0, n)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
2420
2427
  }
@@ -2469,12 +2476,12 @@ class ct {
2469
2476
  * @returns {void}
2470
2477
  */
2471
2478
  forEach(r) {
2472
- d.forEach(this.handlers, function(o) {
2479
+ l.forEach(this.handlers, function(o) {
2473
2480
  o !== null && r(o);
2474
2481
  });
2475
2482
  }
2476
2483
  }
2477
- const Nt = {
2484
+ const Dt = {
2478
2485
  silentJSONParsing: !0,
2479
2486
  forcedJSONParsing: !0,
2480
2487
  clarifyTimeoutError: !1
@@ -2486,13 +2493,13 @@ const Nt = {
2486
2493
  Blob: gs
2487
2494
  },
2488
2495
  protocols: ["http", "https", "file", "blob", "url", "data"]
2489
- }, Je = typeof window < "u" && typeof document < "u", De = typeof navigator == "object" && navigator || void 0, ws = Je && (!De || ["ReactNative", "NativeScript", "NS"].indexOf(De.product) < 0), bs = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2496
+ }, Je = typeof window < "u" && typeof document < "u", Ne = typeof navigator == "object" && navigator || void 0, ws = Je && (!Ne || ["ReactNative", "NativeScript", "NS"].indexOf(Ne.product) < 0), bs = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2490
2497
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ss = Je && window.location.href || "http://localhost", vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2491
2498
  __proto__: null,
2492
2499
  hasBrowserEnv: Je,
2493
2500
  hasStandardBrowserEnv: ws,
2494
2501
  hasStandardBrowserWebWorkerEnv: bs,
2495
- navigator: De,
2502
+ navigator: Ne,
2496
2503
  origin: Ss
2497
2504
  }, Symbol.toStringTag, { value: "Module" })), B = {
2498
2505
  ...vs,
@@ -2501,12 +2508,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ss
2501
2508
  function Cs(e, r) {
2502
2509
  return Ce(e, new B.classes.URLSearchParams(), Object.assign({
2503
2510
  visitor: function(t, o, s, i) {
2504
- return B.isNode && d.isBuffer(t) ? (this.append(o, t.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
2511
+ return B.isNode && l.isBuffer(t) ? (this.append(o, t.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
2505
2512
  }
2506
2513
  }, r));
2507
2514
  }
2508
2515
  function _s(e) {
2509
- return d.matchAll(/\w+|\[(\w*)]/g, e).map((r) => r[0] === "[]" ? "" : r[1] || r[0]);
2516
+ return l.matchAll(/\w+|\[(\w*)]/g, e).map((r) => r[0] === "[]" ? "" : r[1] || r[0]);
2510
2517
  }
2511
2518
  function ks(e) {
2512
2519
  const r = {}, t = Object.keys(e);
@@ -2521,21 +2528,21 @@ function $t(e) {
2521
2528
  function r(t, o, s, i) {
2522
2529
  let n = t[i++];
2523
2530
  if (n === "__proto__") return !0;
2524
- const l = Number.isFinite(+n), a = i >= t.length;
2525
- return n = !n && d.isArray(s) ? s.length : n, a ? (d.hasOwnProp(s, n) ? s[n] = [s[n], o] : s[n] = o, !l) : ((!s[n] || !d.isObject(s[n])) && (s[n] = []), r(t, o, s[n], i) && d.isArray(s[n]) && (s[n] = ks(s[n])), !l);
2531
+ const a = Number.isFinite(+n), d = i >= t.length;
2532
+ return n = !n && l.isArray(s) ? s.length : n, d ? (l.hasOwnProp(s, n) ? s[n] = [s[n], o] : s[n] = o, !a) : ((!s[n] || !l.isObject(s[n])) && (s[n] = []), r(t, o, s[n], i) && l.isArray(s[n]) && (s[n] = ks(s[n])), !a);
2526
2533
  }
2527
- if (d.isFormData(e) && d.isFunction(e.entries)) {
2534
+ if (l.isFormData(e) && l.isFunction(e.entries)) {
2528
2535
  const t = {};
2529
- return d.forEachEntry(e, (o, s) => {
2536
+ return l.forEachEntry(e, (o, s) => {
2530
2537
  r(_s(o), s, t, 0);
2531
2538
  }), t;
2532
2539
  }
2533
2540
  return null;
2534
2541
  }
2535
2542
  function Ts(e, r, t) {
2536
- if (d.isString(e))
2543
+ if (l.isString(e))
2537
2544
  try {
2538
- return (r || JSON.parse)(e), d.trim(e);
2545
+ return (r || JSON.parse)(e), l.trim(e);
2539
2546
  } catch (o) {
2540
2547
  if (o.name !== "SyntaxError")
2541
2548
  throw o;
@@ -2543,27 +2550,27 @@ function Ts(e, r, t) {
2543
2550
  return (0, JSON.stringify)(e);
2544
2551
  }
2545
2552
  const le = {
2546
- transitional: Nt,
2553
+ transitional: Dt,
2547
2554
  adapter: ["xhr", "http", "fetch"],
2548
2555
  transformRequest: [function(r, t) {
2549
- const o = t.getContentType() || "", s = o.indexOf("application/json") > -1, i = d.isObject(r);
2550
- if (i && d.isHTMLForm(r) && (r = new FormData(r)), d.isFormData(r))
2556
+ const o = t.getContentType() || "", s = o.indexOf("application/json") > -1, i = l.isObject(r);
2557
+ if (i && l.isHTMLForm(r) && (r = new FormData(r)), l.isFormData(r))
2551
2558
  return s ? JSON.stringify($t(r)) : r;
2552
- if (d.isArrayBuffer(r) || d.isBuffer(r) || d.isStream(r) || d.isFile(r) || d.isBlob(r) || d.isReadableStream(r))
2559
+ if (l.isArrayBuffer(r) || l.isBuffer(r) || l.isStream(r) || l.isFile(r) || l.isBlob(r) || l.isReadableStream(r))
2553
2560
  return r;
2554
- if (d.isArrayBufferView(r))
2561
+ if (l.isArrayBufferView(r))
2555
2562
  return r.buffer;
2556
- if (d.isURLSearchParams(r))
2563
+ if (l.isURLSearchParams(r))
2557
2564
  return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), r.toString();
2558
- let l;
2565
+ let a;
2559
2566
  if (i) {
2560
2567
  if (o.indexOf("application/x-www-form-urlencoded") > -1)
2561
2568
  return Cs(r, this.formSerializer).toString();
2562
- if ((l = d.isFileList(r)) || o.indexOf("multipart/form-data") > -1) {
2563
- const a = this.env && this.env.FormData;
2569
+ if ((a = l.isFileList(r)) || o.indexOf("multipart/form-data") > -1) {
2570
+ const d = this.env && this.env.FormData;
2564
2571
  return Ce(
2565
- l ? { "files[]": r } : r,
2566
- a && new a(),
2572
+ a ? { "files[]": r } : r,
2573
+ d && new d(),
2567
2574
  this.formSerializer
2568
2575
  );
2569
2576
  }
@@ -2572,15 +2579,15 @@ const le = {
2572
2579
  }],
2573
2580
  transformResponse: [function(r) {
2574
2581
  const t = this.transitional || le.transitional, o = t && t.forcedJSONParsing, s = this.responseType === "json";
2575
- if (d.isResponse(r) || d.isReadableStream(r))
2582
+ if (l.isResponse(r) || l.isReadableStream(r))
2576
2583
  return r;
2577
- if (r && d.isString(r) && (o && !this.responseType || s)) {
2584
+ if (r && l.isString(r) && (o && !this.responseType || s)) {
2578
2585
  const n = !(t && t.silentJSONParsing) && s;
2579
2586
  try {
2580
2587
  return JSON.parse(r);
2581
- } catch (l) {
2588
+ } catch (a) {
2582
2589
  if (n)
2583
- throw l.name === "SyntaxError" ? C.from(l, C.ERR_BAD_RESPONSE, this, null, this.response) : l;
2590
+ throw a.name === "SyntaxError" ? C.from(a, C.ERR_BAD_RESPONSE, this, null, this.response) : a;
2584
2591
  }
2585
2592
  }
2586
2593
  return r;
@@ -2608,10 +2615,10 @@ const le = {
2608
2615
  }
2609
2616
  }
2610
2617
  };
2611
- d.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
2618
+ l.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
2612
2619
  le.headers[e] = {};
2613
2620
  });
2614
- const Is = d.toObjectSet([
2621
+ const Is = l.toObjectSet([
2615
2622
  "age",
2616
2623
  "authorization",
2617
2624
  "content-length",
@@ -2641,7 +2648,7 @@ function te(e) {
2641
2648
  return e && String(e).trim().toLowerCase();
2642
2649
  }
2643
2650
  function ue(e) {
2644
- return e === !1 || e == null ? e : d.isArray(e) ? e.map(ue) : String(e);
2651
+ return e === !1 || e == null ? e : l.isArray(e) ? e.map(ue) : String(e);
2645
2652
  }
2646
2653
  function Os(e) {
2647
2654
  const r = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -2650,22 +2657,22 @@ function Os(e) {
2650
2657
  r[o[1]] = o[2];
2651
2658
  return r;
2652
2659
  }
2653
- const As = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
2654
- function Ae(e, r, t, o, s) {
2655
- if (d.isFunction(o))
2660
+ const Ps = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
2661
+ function Pe(e, r, t, o, s) {
2662
+ if (l.isFunction(o))
2656
2663
  return o.call(this, r, t);
2657
- if (s && (r = t), !!d.isString(r)) {
2658
- if (d.isString(o))
2664
+ if (s && (r = t), !!l.isString(r)) {
2665
+ if (l.isString(o))
2659
2666
  return r.indexOf(o) !== -1;
2660
- if (d.isRegExp(o))
2667
+ if (l.isRegExp(o))
2661
2668
  return o.test(r);
2662
2669
  }
2663
2670
  }
2664
- function Ps(e) {
2671
+ function As(e) {
2665
2672
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (r, t, o) => t.toUpperCase() + o);
2666
2673
  }
2667
2674
  function Rs(e, r) {
2668
- const t = d.toCamelCase(" " + r);
2675
+ const t = l.toCamelCase(" " + r);
2669
2676
  ["get", "set", "has"].forEach((o) => {
2670
2677
  Object.defineProperty(e, o + t, {
2671
2678
  value: function(s, i, n) {
@@ -2675,43 +2682,43 @@ function Rs(e, r) {
2675
2682
  });
2676
2683
  });
2677
2684
  }
2678
- class N {
2685
+ class D {
2679
2686
  constructor(r) {
2680
2687
  r && this.set(r);
2681
2688
  }
2682
2689
  set(r, t, o) {
2683
2690
  const s = this;
2684
- function i(l, a, c) {
2685
- const u = te(a);
2686
- if (!u)
2691
+ function i(a, d, u) {
2692
+ const c = te(d);
2693
+ if (!c)
2687
2694
  throw new Error("header name must be a non-empty string");
2688
- const m = d.findKey(s, u);
2689
- (!m || s[m] === void 0 || c === !0 || c === void 0 && s[m] !== !1) && (s[m || a] = ue(l));
2695
+ const h = l.findKey(s, c);
2696
+ (!h || s[h] === void 0 || u === !0 || u === void 0 && s[h] !== !1) && (s[h || d] = ue(a));
2690
2697
  }
2691
- const n = (l, a) => d.forEach(l, (c, u) => i(c, u, a));
2692
- if (d.isPlainObject(r) || r instanceof this.constructor)
2698
+ const n = (a, d) => l.forEach(a, (u, c) => i(u, c, d));
2699
+ if (l.isPlainObject(r) || r instanceof this.constructor)
2693
2700
  n(r, t);
2694
- else if (d.isString(r) && (r = r.trim()) && !As(r))
2701
+ else if (l.isString(r) && (r = r.trim()) && !Ps(r))
2695
2702
  n(xs(r), t);
2696
- else if (d.isHeaders(r))
2697
- for (const [l, a] of r.entries())
2698
- i(a, l, o);
2703
+ else if (l.isHeaders(r))
2704
+ for (const [a, d] of r.entries())
2705
+ i(d, a, o);
2699
2706
  else
2700
2707
  r != null && i(t, r, o);
2701
2708
  return this;
2702
2709
  }
2703
2710
  get(r, t) {
2704
2711
  if (r = te(r), r) {
2705
- const o = d.findKey(this, r);
2712
+ const o = l.findKey(this, r);
2706
2713
  if (o) {
2707
2714
  const s = this[o];
2708
2715
  if (!t)
2709
2716
  return s;
2710
2717
  if (t === !0)
2711
2718
  return Os(s);
2712
- if (d.isFunction(t))
2719
+ if (l.isFunction(t))
2713
2720
  return t.call(this, s, o);
2714
- if (d.isRegExp(t))
2721
+ if (l.isRegExp(t))
2715
2722
  return t.exec(s);
2716
2723
  throw new TypeError("parser must be boolean|regexp|function");
2717
2724
  }
@@ -2719,8 +2726,8 @@ class N {
2719
2726
  }
2720
2727
  has(r, t) {
2721
2728
  if (r = te(r), r) {
2722
- const o = d.findKey(this, r);
2723
- return !!(o && this[o] !== void 0 && (!t || Ae(this, this[o], o, t)));
2729
+ const o = l.findKey(this, r);
2730
+ return !!(o && this[o] !== void 0 && (!t || Pe(this, this[o], o, t)));
2724
2731
  }
2725
2732
  return !1;
2726
2733
  }
@@ -2729,31 +2736,31 @@ class N {
2729
2736
  let s = !1;
2730
2737
  function i(n) {
2731
2738
  if (n = te(n), n) {
2732
- const l = d.findKey(o, n);
2733
- l && (!t || Ae(o, o[l], l, t)) && (delete o[l], s = !0);
2739
+ const a = l.findKey(o, n);
2740
+ a && (!t || Pe(o, o[a], a, t)) && (delete o[a], s = !0);
2734
2741
  }
2735
2742
  }
2736
- return d.isArray(r) ? r.forEach(i) : i(r), s;
2743
+ return l.isArray(r) ? r.forEach(i) : i(r), s;
2737
2744
  }
2738
2745
  clear(r) {
2739
2746
  const t = Object.keys(this);
2740
2747
  let o = t.length, s = !1;
2741
2748
  for (; o--; ) {
2742
2749
  const i = t[o];
2743
- (!r || Ae(this, this[i], i, r, !0)) && (delete this[i], s = !0);
2750
+ (!r || Pe(this, this[i], i, r, !0)) && (delete this[i], s = !0);
2744
2751
  }
2745
2752
  return s;
2746
2753
  }
2747
2754
  normalize(r) {
2748
2755
  const t = this, o = {};
2749
- return d.forEach(this, (s, i) => {
2750
- const n = d.findKey(o, i);
2756
+ return l.forEach(this, (s, i) => {
2757
+ const n = l.findKey(o, i);
2751
2758
  if (n) {
2752
2759
  t[n] = ue(s), delete t[i];
2753
2760
  return;
2754
2761
  }
2755
- const l = r ? Ps(i) : String(i).trim();
2756
- l !== i && delete t[i], t[l] = ue(s), o[l] = !0;
2762
+ const a = r ? As(i) : String(i).trim();
2763
+ a !== i && delete t[i], t[a] = ue(s), o[a] = !0;
2757
2764
  }), this;
2758
2765
  }
2759
2766
  concat(...r) {
@@ -2761,8 +2768,8 @@ class N {
2761
2768
  }
2762
2769
  toJSON(r) {
2763
2770
  const t = /* @__PURE__ */ Object.create(null);
2764
- return d.forEach(this, (o, s) => {
2765
- o != null && o !== !1 && (t[s] = r && d.isArray(o) ? o.join(", ") : o);
2771
+ return l.forEach(this, (o, s) => {
2772
+ o != null && o !== !1 && (t[s] = r && l.isArray(o) ? o.join(", ") : o);
2766
2773
  }), t;
2767
2774
  }
2768
2775
  [Symbol.iterator]() {
@@ -2787,14 +2794,14 @@ class N {
2787
2794
  accessors: {}
2788
2795
  }).accessors, s = this.prototype;
2789
2796
  function i(n) {
2790
- const l = te(n);
2791
- o[l] || (Rs(s, n), o[l] = !0);
2797
+ const a = te(n);
2798
+ o[a] || (Rs(s, n), o[a] = !0);
2792
2799
  }
2793
- return d.isArray(r) ? r.forEach(i) : i(r), this;
2800
+ return l.isArray(r) ? r.forEach(i) : i(r), this;
2794
2801
  }
2795
2802
  }
2796
- N.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
2797
- d.reduceDescriptors(N.prototype, ({ value: e }, r) => {
2803
+ D.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
2804
+ l.reduceDescriptors(D.prototype, ({ value: e }, r) => {
2798
2805
  let t = r[0].toUpperCase() + r.slice(1);
2799
2806
  return {
2800
2807
  get: () => e,
@@ -2803,12 +2810,12 @@ d.reduceDescriptors(N.prototype, ({ value: e }, r) => {
2803
2810
  }
2804
2811
  };
2805
2812
  });
2806
- d.freezeMethods(N);
2807
- function Pe(e, r) {
2808
- const t = this || le, o = r || t, s = N.from(o.headers);
2813
+ l.freezeMethods(D);
2814
+ function Ae(e, r) {
2815
+ const t = this || le, o = r || t, s = D.from(o.headers);
2809
2816
  let i = o.data;
2810
- return d.forEach(e, function(l) {
2811
- i = l.call(t, i, s.normalize(), r ? r.status : void 0);
2817
+ return l.forEach(e, function(a) {
2818
+ i = a.call(t, i, s.normalize(), r ? r.status : void 0);
2812
2819
  }), s.normalize(), i;
2813
2820
  }
2814
2821
  function Lt(e) {
@@ -2817,7 +2824,7 @@ function Lt(e) {
2817
2824
  function ee(e, r, t) {
2818
2825
  C.call(this, e ?? "canceled", C.ERR_CANCELED, r, t), this.name = "CanceledError";
2819
2826
  }
2820
- d.inherits(ee, C, {
2827
+ l.inherits(ee, C, {
2821
2828
  __CANCEL__: !0
2822
2829
  });
2823
2830
  function zt(e, r, t) {
@@ -2838,48 +2845,48 @@ function Bs(e, r) {
2838
2845
  e = e || 10;
2839
2846
  const t = new Array(e), o = new Array(e);
2840
2847
  let s = 0, i = 0, n;
2841
- return r = r !== void 0 ? r : 1e3, function(a) {
2842
- const c = Date.now(), u = o[i];
2843
- n || (n = c), t[s] = a, o[s] = c;
2844
- let m = i, v = 0;
2845
- for (; m !== s; )
2846
- v += t[m++], m = m % e;
2847
- if (s = (s + 1) % e, s === i && (i = (i + 1) % e), c - n < r)
2848
+ return r = r !== void 0 ? r : 1e3, function(d) {
2849
+ const u = Date.now(), c = o[i];
2850
+ n || (n = u), t[s] = d, o[s] = u;
2851
+ let h = i, S = 0;
2852
+ for (; h !== s; )
2853
+ S += t[h++], h = h % e;
2854
+ if (s = (s + 1) % e, s === i && (i = (i + 1) % e), u - n < r)
2848
2855
  return;
2849
- const y = u && c - u;
2850
- return y ? Math.round(v * 1e3 / y) : void 0;
2856
+ const y = c && u - c;
2857
+ return y ? Math.round(S * 1e3 / y) : void 0;
2851
2858
  };
2852
2859
  }
2853
- function Ds(e, r) {
2860
+ function Ns(e, r) {
2854
2861
  let t = 0, o = 1e3 / r, s, i;
2855
- const n = (c, u = Date.now()) => {
2856
- t = u, s = null, i && (clearTimeout(i), i = null), e.apply(null, c);
2862
+ const n = (u, c = Date.now()) => {
2863
+ t = c, s = null, i && (clearTimeout(i), i = null), e.apply(null, u);
2857
2864
  };
2858
- return [(...c) => {
2859
- const u = Date.now(), m = u - t;
2860
- m >= o ? n(c, u) : (s = c, i || (i = setTimeout(() => {
2865
+ return [(...u) => {
2866
+ const c = Date.now(), h = c - t;
2867
+ h >= o ? n(u, c) : (s = u, i || (i = setTimeout(() => {
2861
2868
  i = null, n(s);
2862
- }, o - m)));
2869
+ }, o - h)));
2863
2870
  }, () => s && n(s)];
2864
2871
  }
2865
2872
  const pe = (e, r, t = 3) => {
2866
2873
  let o = 0;
2867
2874
  const s = Bs(50, 250);
2868
- return Ds((i) => {
2869
- const n = i.loaded, l = i.lengthComputable ? i.total : void 0, a = n - o, c = s(a), u = n <= l;
2875
+ return Ns((i) => {
2876
+ const n = i.loaded, a = i.lengthComputable ? i.total : void 0, d = n - o, u = s(d), c = n <= a;
2870
2877
  o = n;
2871
- const m = {
2878
+ const h = {
2872
2879
  loaded: n,
2873
- total: l,
2874
- progress: l ? n / l : void 0,
2875
- bytes: a,
2876
- rate: c || void 0,
2877
- estimated: c && l && u ? (l - n) / c : void 0,
2880
+ total: a,
2881
+ progress: a ? n / a : void 0,
2882
+ bytes: d,
2883
+ rate: u || void 0,
2884
+ estimated: u && a && c ? (a - n) / u : void 0,
2878
2885
  event: i,
2879
- lengthComputable: l != null,
2886
+ lengthComputable: a != null,
2880
2887
  [r ? "download" : "upload"]: !0
2881
2888
  };
2882
- e(m);
2889
+ e(h);
2883
2890
  }, t);
2884
2891
  }, ht = (e, r) => {
2885
2892
  const t = e != null;
@@ -2888,7 +2895,7 @@ const pe = (e, r, t = 3) => {
2888
2895
  total: e,
2889
2896
  loaded: o
2890
2897
  }), r[1]];
2891
- }, ft = (e) => (...r) => d.asap(() => e(...r)), Ns = B.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, r) => (t) => (t = new URL(t, B.origin), e.protocol === t.protocol && e.host === t.host && (r || e.port === t.port)))(
2898
+ }, ft = (e) => (...r) => l.asap(() => e(...r)), Ds = B.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, r) => (t) => (t = new URL(t, B.origin), e.protocol === t.protocol && e.host === t.host && (r || e.port === t.port)))(
2892
2899
  new URL(B.origin),
2893
2900
  B.navigator && /(msie|trident)/i.test(B.navigator.userAgent)
2894
2901
  ) : () => !0, $s = B.hasStandardBrowserEnv ? (
@@ -2896,7 +2903,7 @@ const pe = (e, r, t = 3) => {
2896
2903
  {
2897
2904
  write(e, r, t, o, s, i) {
2898
2905
  const n = [e + "=" + encodeURIComponent(r)];
2899
- d.isNumber(t) && n.push("expires=" + new Date(t).toGMTString()), d.isString(o) && n.push("path=" + o), d.isString(s) && n.push("domain=" + s), i === !0 && n.push("secure"), document.cookie = n.join("; ");
2906
+ l.isNumber(t) && n.push("expires=" + new Date(t).toGMTString()), l.isString(o) && n.push("path=" + o), l.isString(s) && n.push("domain=" + s), i === !0 && n.push("secure"), document.cookie = n.join("; ");
2900
2907
  },
2901
2908
  read(e) {
2902
2909
  const r = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
@@ -2927,36 +2934,36 @@ function zs(e, r) {
2927
2934
  function Ft(e, r) {
2928
2935
  return e && !Ls(r) ? zs(e, r) : r;
2929
2936
  }
2930
- const pt = (e) => e instanceof N ? { ...e } : e;
2937
+ const pt = (e) => e instanceof D ? { ...e } : e;
2931
2938
  function K(e, r) {
2932
2939
  r = r || {};
2933
2940
  const t = {};
2934
- function o(c, u, m, v) {
2935
- return d.isPlainObject(c) && d.isPlainObject(u) ? d.merge.call({ caseless: v }, c, u) : d.isPlainObject(u) ? d.merge({}, u) : d.isArray(u) ? u.slice() : u;
2941
+ function o(u, c, h, S) {
2942
+ return l.isPlainObject(u) && l.isPlainObject(c) ? l.merge.call({ caseless: S }, u, c) : l.isPlainObject(c) ? l.merge({}, c) : l.isArray(c) ? c.slice() : c;
2936
2943
  }
2937
- function s(c, u, m, v) {
2938
- if (d.isUndefined(u)) {
2939
- if (!d.isUndefined(c))
2940
- return o(void 0, c, m, v);
2941
- } else return o(c, u, m, v);
2944
+ function s(u, c, h, S) {
2945
+ if (l.isUndefined(c)) {
2946
+ if (!l.isUndefined(u))
2947
+ return o(void 0, u, h, S);
2948
+ } else return o(u, c, h, S);
2942
2949
  }
2943
- function i(c, u) {
2944
- if (!d.isUndefined(u))
2945
- return o(void 0, u);
2950
+ function i(u, c) {
2951
+ if (!l.isUndefined(c))
2952
+ return o(void 0, c);
2946
2953
  }
2947
- function n(c, u) {
2948
- if (d.isUndefined(u)) {
2949
- if (!d.isUndefined(c))
2950
- return o(void 0, c);
2951
- } else return o(void 0, u);
2954
+ function n(u, c) {
2955
+ if (l.isUndefined(c)) {
2956
+ if (!l.isUndefined(u))
2957
+ return o(void 0, u);
2958
+ } else return o(void 0, c);
2952
2959
  }
2953
- function l(c, u, m) {
2954
- if (m in r)
2955
- return o(c, u);
2956
- if (m in e)
2957
- return o(void 0, c);
2960
+ function a(u, c, h) {
2961
+ if (h in r)
2962
+ return o(u, c);
2963
+ if (h in e)
2964
+ return o(void 0, u);
2958
2965
  }
2959
- const a = {
2966
+ const d = {
2960
2967
  url: i,
2961
2968
  method: i,
2962
2969
  data: i,
@@ -2984,53 +2991,53 @@ function K(e, r) {
2984
2991
  cancelToken: n,
2985
2992
  socketPath: n,
2986
2993
  responseEncoding: n,
2987
- validateStatus: l,
2988
- headers: (c, u, m) => s(pt(c), pt(u), m, !0)
2994
+ validateStatus: a,
2995
+ headers: (u, c, h) => s(pt(u), pt(c), h, !0)
2989
2996
  };
2990
- return d.forEach(Object.keys(Object.assign({}, e, r)), function(u) {
2991
- const m = a[u] || s, v = m(e[u], r[u], u);
2992
- d.isUndefined(v) && m !== l || (t[u] = v);
2997
+ return l.forEach(Object.keys(Object.assign({}, e, r)), function(c) {
2998
+ const h = d[c] || s, S = h(e[c], r[c], c);
2999
+ l.isUndefined(S) && h !== a || (t[c] = S);
2993
3000
  }), t;
2994
3001
  }
2995
3002
  const Wt = (e) => {
2996
3003
  const r = K({}, e);
2997
- let { data: t, withXSRFToken: o, xsrfHeaderName: s, xsrfCookieName: i, headers: n, auth: l } = r;
2998
- r.headers = n = N.from(n), r.url = Dt(Ft(r.baseURL, r.url), e.params, e.paramsSerializer), l && n.set(
3004
+ let { data: t, withXSRFToken: o, xsrfHeaderName: s, xsrfCookieName: i, headers: n, auth: a } = r;
3005
+ r.headers = n = D.from(n), r.url = Nt(Ft(r.baseURL, r.url), e.params, e.paramsSerializer), a && n.set(
2999
3006
  "Authorization",
3000
- "Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
3007
+ "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
3001
3008
  );
3002
- let a;
3003
- if (d.isFormData(t)) {
3009
+ let d;
3010
+ if (l.isFormData(t)) {
3004
3011
  if (B.hasStandardBrowserEnv || B.hasStandardBrowserWebWorkerEnv)
3005
3012
  n.setContentType(void 0);
3006
- else if ((a = n.getContentType()) !== !1) {
3007
- const [c, ...u] = a ? a.split(";").map((m) => m.trim()).filter(Boolean) : [];
3008
- n.setContentType([c || "multipart/form-data", ...u].join("; "));
3013
+ else if ((d = n.getContentType()) !== !1) {
3014
+ const [u, ...c] = d ? d.split(";").map((h) => h.trim()).filter(Boolean) : [];
3015
+ n.setContentType([u || "multipart/form-data", ...c].join("; "));
3009
3016
  }
3010
3017
  }
3011
- if (B.hasStandardBrowserEnv && (o && d.isFunction(o) && (o = o(r)), o || o !== !1 && Ns(r.url))) {
3012
- const c = s && i && $s.read(i);
3013
- c && n.set(s, c);
3018
+ if (B.hasStandardBrowserEnv && (o && l.isFunction(o) && (o = o(r)), o || o !== !1 && Ds(r.url))) {
3019
+ const u = s && i && $s.read(i);
3020
+ u && n.set(s, u);
3014
3021
  }
3015
3022
  return r;
3016
3023
  }, Fs = typeof XMLHttpRequest < "u", Ws = Fs && function(e) {
3017
3024
  return new Promise(function(t, o) {
3018
3025
  const s = Wt(e);
3019
3026
  let i = s.data;
3020
- const n = N.from(s.headers).normalize();
3021
- let { responseType: l, onUploadProgress: a, onDownloadProgress: c } = s, u, m, v, y, g;
3027
+ const n = D.from(s.headers).normalize();
3028
+ let { responseType: a, onUploadProgress: d, onDownloadProgress: u } = s, c, h, S, y, f;
3022
3029
  function w() {
3023
- y && y(), g && g(), s.cancelToken && s.cancelToken.unsubscribe(u), s.signal && s.signal.removeEventListener("abort", u);
3030
+ y && y(), f && f(), s.cancelToken && s.cancelToken.unsubscribe(c), s.signal && s.signal.removeEventListener("abort", c);
3024
3031
  }
3025
3032
  let b = new XMLHttpRequest();
3026
3033
  b.open(s.method.toUpperCase(), s.url, !0), b.timeout = s.timeout;
3027
3034
  function T() {
3028
3035
  if (!b)
3029
3036
  return;
3030
- const R = N.from(
3037
+ const R = D.from(
3031
3038
  "getAllResponseHeaders" in b && b.getAllResponseHeaders()
3032
- ), D = {
3033
- data: !l || l === "text" || l === "json" ? b.responseText : b.response,
3039
+ ), N = {
3040
+ data: !a || a === "text" || a === "json" ? b.responseText : b.response,
3034
3041
  status: b.status,
3035
3042
  statusText: b.statusText,
3036
3043
  headers: R,
@@ -3041,7 +3048,7 @@ const Wt = (e) => {
3041
3048
  t(G), w();
3042
3049
  }, function(G) {
3043
3050
  o(G), w();
3044
- }, D), b = null;
3051
+ }, N), b = null;
3045
3052
  }
3046
3053
  "onloadend" in b ? b.onloadend = T : b.onreadystatechange = function() {
3047
3054
  !b || b.readyState !== 4 || b.status === 0 && !(b.responseURL && b.responseURL.indexOf("file:") === 0) || setTimeout(T);
@@ -3051,18 +3058,18 @@ const Wt = (e) => {
3051
3058
  o(new C("Network Error", C.ERR_NETWORK, e, b)), b = null;
3052
3059
  }, b.ontimeout = function() {
3053
3060
  let H = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
3054
- const D = s.transitional || Nt;
3061
+ const N = s.transitional || Dt;
3055
3062
  s.timeoutErrorMessage && (H = s.timeoutErrorMessage), o(new C(
3056
3063
  H,
3057
- D.clarifyTimeoutError ? C.ETIMEDOUT : C.ECONNABORTED,
3064
+ N.clarifyTimeoutError ? C.ETIMEDOUT : C.ECONNABORTED,
3058
3065
  e,
3059
3066
  b
3060
3067
  )), b = null;
3061
- }, i === void 0 && n.setContentType(null), "setRequestHeader" in b && d.forEach(n.toJSON(), function(H, D) {
3062
- b.setRequestHeader(D, H);
3063
- }), d.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), l && l !== "json" && (b.responseType = s.responseType), c && ([v, g] = pe(c, !0), b.addEventListener("progress", v)), a && b.upload && ([m, y] = pe(a), b.upload.addEventListener("progress", m), b.upload.addEventListener("loadend", y)), (s.cancelToken || s.signal) && (u = (R) => {
3068
+ }, i === void 0 && n.setContentType(null), "setRequestHeader" in b && l.forEach(n.toJSON(), function(H, N) {
3069
+ b.setRequestHeader(N, H);
3070
+ }), l.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), a && a !== "json" && (b.responseType = s.responseType), u && ([S, f] = pe(u, !0), b.addEventListener("progress", S)), d && b.upload && ([h, y] = pe(d), b.upload.addEventListener("progress", h), b.upload.addEventListener("loadend", y)), (s.cancelToken || s.signal) && (c = (R) => {
3064
3071
  b && (o(!R || R.type ? new ee(null, e, b) : R), b.abort(), b = null);
3065
- }, s.cancelToken && s.cancelToken.subscribe(u), s.signal && (s.signal.aborted ? u() : s.signal.addEventListener("abort", u)));
3072
+ }, s.cancelToken && s.cancelToken.subscribe(c), s.signal && (s.signal.aborted ? c() : s.signal.addEventListener("abort", c)));
3066
3073
  const O = Es(s.url);
3067
3074
  if (O && B.protocols.indexOf(O) === -1) {
3068
3075
  o(new C("Unsupported protocol " + O + ":", C.ERR_BAD_REQUEST, e));
@@ -3074,26 +3081,26 @@ const Wt = (e) => {
3074
3081
  const { length: t } = e = e ? e.filter(Boolean) : [];
3075
3082
  if (r || t) {
3076
3083
  let o = new AbortController(), s;
3077
- const i = function(c) {
3084
+ const i = function(u) {
3078
3085
  if (!s) {
3079
- s = !0, l();
3080
- const u = c instanceof Error ? c : this.reason;
3081
- o.abort(u instanceof C ? u : new ee(u instanceof Error ? u.message : u));
3086
+ s = !0, a();
3087
+ const c = u instanceof Error ? u : this.reason;
3088
+ o.abort(c instanceof C ? c : new ee(c instanceof Error ? c.message : c));
3082
3089
  }
3083
3090
  };
3084
3091
  let n = r && setTimeout(() => {
3085
3092
  n = null, i(new C(`timeout ${r} of ms exceeded`, C.ETIMEDOUT));
3086
3093
  }, r);
3087
- const l = () => {
3088
- e && (n && clearTimeout(n), n = null, e.forEach((c) => {
3089
- c.unsubscribe ? c.unsubscribe(i) : c.removeEventListener("abort", i);
3094
+ const a = () => {
3095
+ e && (n && clearTimeout(n), n = null, e.forEach((u) => {
3096
+ u.unsubscribe ? u.unsubscribe(i) : u.removeEventListener("abort", i);
3090
3097
  }), e = null);
3091
3098
  };
3092
- e.forEach((c) => c.addEventListener("abort", i));
3093
- const { signal: a } = o;
3094
- return a.unsubscribe = () => d.asap(l), a;
3099
+ e.forEach((u) => u.addEventListener("abort", i));
3100
+ const { signal: d } = o;
3101
+ return d.unsubscribe = () => l.asap(a), d;
3095
3102
  }
3096
- }, js = function* (e, r) {
3103
+ }, qs = function* (e, r) {
3097
3104
  let t = e.byteLength;
3098
3105
  if (t < r) {
3099
3106
  yield e;
@@ -3102,10 +3109,10 @@ const Wt = (e) => {
3102
3109
  let o = 0, s;
3103
3110
  for (; o < t; )
3104
3111
  s = o + r, yield e.slice(o, s), o = s;
3105
- }, Us = async function* (e, r) {
3106
- for await (const t of qs(e))
3107
- yield* js(t, r);
3108
- }, qs = async function* (e) {
3112
+ }, js = async function* (e, r) {
3113
+ for await (const t of Us(e))
3114
+ yield* qs(t, r);
3115
+ }, Us = async function* (e) {
3109
3116
  if (e[Symbol.asyncIterator]) {
3110
3117
  yield* e;
3111
3118
  return;
@@ -3122,41 +3129,41 @@ const Wt = (e) => {
3122
3129
  await r.cancel();
3123
3130
  }
3124
3131
  }, mt = (e, r, t, o) => {
3125
- const s = Us(e, r);
3126
- let i = 0, n, l = (a) => {
3127
- n || (n = !0, o && o(a));
3132
+ const s = js(e, r);
3133
+ let i = 0, n, a = (d) => {
3134
+ n || (n = !0, o && o(d));
3128
3135
  };
3129
3136
  return new ReadableStream({
3130
- async pull(a) {
3137
+ async pull(d) {
3131
3138
  try {
3132
- const { done: c, value: u } = await s.next();
3133
- if (c) {
3134
- l(), a.close();
3139
+ const { done: u, value: c } = await s.next();
3140
+ if (u) {
3141
+ a(), d.close();
3135
3142
  return;
3136
3143
  }
3137
- let m = u.byteLength;
3144
+ let h = c.byteLength;
3138
3145
  if (t) {
3139
- let v = i += m;
3140
- t(v);
3146
+ let S = i += h;
3147
+ t(S);
3141
3148
  }
3142
- a.enqueue(new Uint8Array(u));
3143
- } catch (c) {
3144
- throw l(c), c;
3149
+ d.enqueue(new Uint8Array(c));
3150
+ } catch (u) {
3151
+ throw a(u), u;
3145
3152
  }
3146
3153
  },
3147
- cancel(a) {
3148
- return l(a), s.return();
3154
+ cancel(d) {
3155
+ return a(d), s.return();
3149
3156
  }
3150
3157
  }, {
3151
3158
  highWaterMark: 2
3152
3159
  });
3153
- }, _e = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Mt = _e && typeof ReadableStream == "function", Hs = _e && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (r) => e.encode(r))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), jt = (e, ...r) => {
3160
+ }, _e = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Mt = _e && typeof ReadableStream == "function", Hs = _e && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (r) => e.encode(r))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), qt = (e, ...r) => {
3154
3161
  try {
3155
3162
  return !!e(...r);
3156
3163
  } catch {
3157
3164
  return !1;
3158
3165
  }
3159
- }, Js = Mt && jt(() => {
3166
+ }, Js = Mt && qt(() => {
3160
3167
  let e = !1;
3161
3168
  const r = new Request(B.origin, {
3162
3169
  body: new ReadableStream(),
@@ -3166,12 +3173,12 @@ const Wt = (e) => {
3166
3173
  }
3167
3174
  }).headers.has("Content-Type");
3168
3175
  return e && !r;
3169
- }), gt = 64 * 1024, Ne = Mt && jt(() => d.isReadableStream(new Response("").body)), me = {
3170
- stream: Ne && ((e) => e.body)
3176
+ }), gt = 64 * 1024, De = Mt && qt(() => l.isReadableStream(new Response("").body)), me = {
3177
+ stream: De && ((e) => e.body)
3171
3178
  };
3172
3179
  _e && ((e) => {
3173
3180
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((r) => {
3174
- !me[r] && (me[r] = d.isFunction(e[r]) ? (t) => t[r]() : (t, o) => {
3181
+ !me[r] && (me[r] = l.isFunction(e[r]) ? (t) => t[r]() : (t, o) => {
3175
3182
  throw new C(`Response type '${r}' is not supported`, C.ERR_NOT_SUPPORT, o);
3176
3183
  });
3177
3184
  });
@@ -3179,19 +3186,19 @@ _e && ((e) => {
3179
3186
  const Gs = async (e) => {
3180
3187
  if (e == null)
3181
3188
  return 0;
3182
- if (d.isBlob(e))
3189
+ if (l.isBlob(e))
3183
3190
  return e.size;
3184
- if (d.isSpecCompliantForm(e))
3191
+ if (l.isSpecCompliantForm(e))
3185
3192
  return (await new Request(B.origin, {
3186
3193
  method: "POST",
3187
3194
  body: e
3188
3195
  }).arrayBuffer()).byteLength;
3189
- if (d.isArrayBufferView(e) || d.isArrayBuffer(e))
3196
+ if (l.isArrayBufferView(e) || l.isArrayBuffer(e))
3190
3197
  return e.byteLength;
3191
- if (d.isURLSearchParams(e) && (e = e + ""), d.isString(e))
3198
+ if (l.isURLSearchParams(e) && (e = e + ""), l.isString(e))
3192
3199
  return (await Hs(e)).byteLength;
3193
3200
  }, Vs = async (e, r) => {
3194
- const t = d.toFiniteNumber(e.getContentLength());
3201
+ const t = l.toFiniteNumber(e.getContentLength());
3195
3202
  return t ?? Gs(r);
3196
3203
  }, Xs = _e && (async (e) => {
3197
3204
  let {
@@ -3201,89 +3208,89 @@ const Gs = async (e) => {
3201
3208
  signal: s,
3202
3209
  cancelToken: i,
3203
3210
  timeout: n,
3204
- onDownloadProgress: l,
3205
- onUploadProgress: a,
3206
- responseType: c,
3207
- headers: u,
3208
- withCredentials: m = "same-origin",
3209
- fetchOptions: v
3211
+ onDownloadProgress: a,
3212
+ onUploadProgress: d,
3213
+ responseType: u,
3214
+ headers: c,
3215
+ withCredentials: h = "same-origin",
3216
+ fetchOptions: S
3210
3217
  } = Wt(e);
3211
- c = c ? (c + "").toLowerCase() : "text";
3212
- let y = Ms([s, i && i.toAbortSignal()], n), g;
3218
+ u = u ? (u + "").toLowerCase() : "text";
3219
+ let y = Ms([s, i && i.toAbortSignal()], n), f;
3213
3220
  const w = y && y.unsubscribe && (() => {
3214
3221
  y.unsubscribe();
3215
3222
  });
3216
3223
  let b;
3217
3224
  try {
3218
- if (a && Js && t !== "get" && t !== "head" && (b = await Vs(u, o)) !== 0) {
3219
- let D = new Request(r, {
3225
+ if (d && Js && t !== "get" && t !== "head" && (b = await Vs(c, o)) !== 0) {
3226
+ let N = new Request(r, {
3220
3227
  method: "POST",
3221
3228
  body: o,
3222
3229
  duplex: "half"
3223
3230
  }), J;
3224
- if (d.isFormData(o) && (J = D.headers.get("content-type")) && u.setContentType(J), D.body) {
3231
+ if (l.isFormData(o) && (J = N.headers.get("content-type")) && c.setContentType(J), N.body) {
3225
3232
  const [G, de] = ht(
3226
3233
  b,
3227
- pe(ft(a))
3234
+ pe(ft(d))
3228
3235
  );
3229
- o = mt(D.body, gt, G, de);
3236
+ o = mt(N.body, gt, G, de);
3230
3237
  }
3231
3238
  }
3232
- d.isString(m) || (m = m ? "include" : "omit");
3239
+ l.isString(h) || (h = h ? "include" : "omit");
3233
3240
  const T = "credentials" in Request.prototype;
3234
- g = new Request(r, {
3235
- ...v,
3241
+ f = new Request(r, {
3242
+ ...S,
3236
3243
  signal: y,
3237
3244
  method: t.toUpperCase(),
3238
- headers: u.normalize().toJSON(),
3245
+ headers: c.normalize().toJSON(),
3239
3246
  body: o,
3240
3247
  duplex: "half",
3241
- credentials: T ? m : void 0
3248
+ credentials: T ? h : void 0
3242
3249
  });
3243
- let O = await fetch(g);
3244
- const R = Ne && (c === "stream" || c === "response");
3245
- if (Ne && (l || R && w)) {
3246
- const D = {};
3250
+ let O = await fetch(f);
3251
+ const R = De && (u === "stream" || u === "response");
3252
+ if (De && (a || R && w)) {
3253
+ const N = {};
3247
3254
  ["status", "statusText", "headers"].forEach((Ve) => {
3248
- D[Ve] = O[Ve];
3255
+ N[Ve] = O[Ve];
3249
3256
  });
3250
- const J = d.toFiniteNumber(O.headers.get("content-length")), [G, de] = l && ht(
3257
+ const J = l.toFiniteNumber(O.headers.get("content-length")), [G, de] = a && ht(
3251
3258
  J,
3252
- pe(ft(l), !0)
3259
+ pe(ft(a), !0)
3253
3260
  ) || [];
3254
3261
  O = new Response(
3255
3262
  mt(O.body, gt, G, () => {
3256
3263
  de && de(), w && w();
3257
3264
  }),
3258
- D
3265
+ N
3259
3266
  );
3260
3267
  }
3261
- c = c || "text";
3262
- let H = await me[d.findKey(me, c) || "text"](O, e);
3263
- return !R && w && w(), await new Promise((D, J) => {
3264
- zt(D, J, {
3268
+ u = u || "text";
3269
+ let H = await me[l.findKey(me, u) || "text"](O, e);
3270
+ return !R && w && w(), await new Promise((N, J) => {
3271
+ zt(N, J, {
3265
3272
  data: H,
3266
- headers: N.from(O.headers),
3273
+ headers: D.from(O.headers),
3267
3274
  status: O.status,
3268
3275
  statusText: O.statusText,
3269
3276
  config: e,
3270
- request: g
3277
+ request: f
3271
3278
  });
3272
3279
  });
3273
3280
  } catch (T) {
3274
3281
  throw w && w(), T && T.name === "TypeError" && /fetch/i.test(T.message) ? Object.assign(
3275
- new C("Network Error", C.ERR_NETWORK, e, g),
3282
+ new C("Network Error", C.ERR_NETWORK, e, f),
3276
3283
  {
3277
3284
  cause: T.cause || T
3278
3285
  }
3279
- ) : C.from(T, T && T.code, e, g);
3286
+ ) : C.from(T, T && T.code, e, f);
3280
3287
  }
3281
3288
  }), $e = {
3282
3289
  http: cs,
3283
3290
  xhr: Ws,
3284
3291
  fetch: Xs
3285
3292
  };
3286
- d.forEach($e, (e, r) => {
3293
+ l.forEach($e, (e, r) => {
3287
3294
  if (e) {
3288
3295
  try {
3289
3296
  Object.defineProperty(e, "name", { value: r });
@@ -3292,9 +3299,9 @@ d.forEach($e, (e, r) => {
3292
3299
  Object.defineProperty(e, "adapterName", { value: r });
3293
3300
  }
3294
3301
  });
3295
- const yt = (e) => `- ${e}`, Zs = (e) => d.isFunction(e) || e === null || e === !1, Ut = {
3302
+ const yt = (e) => `- ${e}`, Zs = (e) => l.isFunction(e) || e === null || e === !1, jt = {
3296
3303
  getAdapter: (e) => {
3297
- e = d.isArray(e) ? e : [e];
3304
+ e = l.isArray(e) ? e : [e];
3298
3305
  const { length: r } = e;
3299
3306
  let t, o;
3300
3307
  const s = {};
@@ -3309,7 +3316,7 @@ const yt = (e) => `- ${e}`, Zs = (e) => d.isFunction(e) || e === null || e === !
3309
3316
  }
3310
3317
  if (!o) {
3311
3318
  const i = Object.entries(s).map(
3312
- ([l, a]) => `adapter ${l} ` + (a === !1 ? "is not supported by the environment" : "is not available in the build")
3319
+ ([a, d]) => `adapter ${a} ` + (d === !1 ? "is not supported by the environment" : "is not available in the build")
3313
3320
  );
3314
3321
  let n = r ? i.length > 1 ? `since :
3315
3322
  ` + i.map(yt).join(`
@@ -3328,24 +3335,24 @@ function Re(e) {
3328
3335
  throw new ee(null, e);
3329
3336
  }
3330
3337
  function wt(e) {
3331
- return Re(e), e.headers = N.from(e.headers), e.data = Pe.call(
3338
+ return Re(e), e.headers = D.from(e.headers), e.data = Ae.call(
3332
3339
  e,
3333
3340
  e.transformRequest
3334
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ut.getAdapter(e.adapter || le.adapter)(e).then(function(o) {
3335
- return Re(e), o.data = Pe.call(
3341
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), jt.getAdapter(e.adapter || le.adapter)(e).then(function(o) {
3342
+ return Re(e), o.data = Ae.call(
3336
3343
  e,
3337
3344
  e.transformResponse,
3338
3345
  o
3339
- ), o.headers = N.from(o.headers), o;
3346
+ ), o.headers = D.from(o.headers), o;
3340
3347
  }, function(o) {
3341
- return Lt(o) || (Re(e), o && o.response && (o.response.data = Pe.call(
3348
+ return Lt(o) || (Re(e), o && o.response && (o.response.data = Ae.call(
3342
3349
  e,
3343
3350
  e.transformResponse,
3344
3351
  o.response
3345
- ), o.response.headers = N.from(o.response.headers))), Promise.reject(o);
3352
+ ), o.response.headers = D.from(o.response.headers))), Promise.reject(o);
3346
3353
  });
3347
3354
  }
3348
- const qt = "1.7.9", ke = {};
3355
+ const Ut = "1.7.9", ke = {};
3349
3356
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, r) => {
3350
3357
  ke[e] = function(o) {
3351
3358
  return typeof o === e || "a" + (r < 1 ? "n " : " ") + e;
@@ -3354,9 +3361,9 @@ const qt = "1.7.9", ke = {};
3354
3361
  const bt = {};
3355
3362
  ke.transitional = function(r, t, o) {
3356
3363
  function s(i, n) {
3357
- return "[Axios v" + qt + "] Transitional option '" + i + "'" + n + (o ? ". " + o : "");
3364
+ return "[Axios v" + Ut + "] Transitional option '" + i + "'" + n + (o ? ". " + o : "");
3358
3365
  }
3359
- return (i, n, l) => {
3366
+ return (i, n, a) => {
3360
3367
  if (r === !1)
3361
3368
  throw new C(
3362
3369
  s(n, " has been removed" + (t ? " in " + t : "")),
@@ -3367,7 +3374,7 @@ ke.transitional = function(r, t, o) {
3367
3374
  n,
3368
3375
  " has been deprecated since v" + t + " and will be removed in the near future"
3369
3376
  )
3370
- )), r ? r(i, n, l) : !0;
3377
+ )), r ? r(i, n, a) : !0;
3371
3378
  };
3372
3379
  };
3373
3380
  ke.spelling = function(r) {
@@ -3381,9 +3388,9 @@ function Ks(e, r, t) {
3381
3388
  for (; s-- > 0; ) {
3382
3389
  const i = o[s], n = r[i];
3383
3390
  if (n) {
3384
- const l = e[i], a = l === void 0 || n(l, i, e);
3385
- if (a !== !0)
3386
- throw new C("option " + i + " must be " + a, C.ERR_BAD_OPTION_VALUE);
3391
+ const a = e[i], d = a === void 0 || n(a, i, e);
3392
+ if (d !== !0)
3393
+ throw new C("option " + i + " must be " + d, C.ERR_BAD_OPTION_VALUE);
3387
3394
  continue;
3388
3395
  }
3389
3396
  if (t !== !0)
@@ -3433,7 +3440,7 @@ class X {
3433
3440
  silentJSONParsing: U.transitional(U.boolean),
3434
3441
  forcedJSONParsing: U.transitional(U.boolean),
3435
3442
  clarifyTimeoutError: U.transitional(U.boolean)
3436
- }, !1), s != null && (d.isFunction(s) ? t.paramsSerializer = {
3443
+ }, !1), s != null && (l.isFunction(s) ? t.paramsSerializer = {
3437
3444
  serialize: s
3438
3445
  } : he.assertOptions(s, {
3439
3446
  encode: U.function,
@@ -3442,59 +3449,59 @@ class X {
3442
3449
  baseUrl: U.spelling("baseURL"),
3443
3450
  withXsrfToken: U.spelling("withXSRFToken")
3444
3451
  }, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
3445
- let n = i && d.merge(
3452
+ let n = i && l.merge(
3446
3453
  i.common,
3447
3454
  i[t.method]
3448
3455
  );
3449
- i && d.forEach(
3456
+ i && l.forEach(
3450
3457
  ["delete", "get", "head", "post", "put", "patch", "common"],
3451
- (g) => {
3452
- delete i[g];
3458
+ (f) => {
3459
+ delete i[f];
3453
3460
  }
3454
- ), t.headers = N.concat(n, i);
3455
- const l = [];
3456
- let a = !0;
3461
+ ), t.headers = D.concat(n, i);
3462
+ const a = [];
3463
+ let d = !0;
3457
3464
  this.interceptors.request.forEach(function(w) {
3458
- typeof w.runWhen == "function" && w.runWhen(t) === !1 || (a = a && w.synchronous, l.unshift(w.fulfilled, w.rejected));
3465
+ typeof w.runWhen == "function" && w.runWhen(t) === !1 || (d = d && w.synchronous, a.unshift(w.fulfilled, w.rejected));
3459
3466
  });
3460
- const c = [];
3467
+ const u = [];
3461
3468
  this.interceptors.response.forEach(function(w) {
3462
- c.push(w.fulfilled, w.rejected);
3469
+ u.push(w.fulfilled, w.rejected);
3463
3470
  });
3464
- let u, m = 0, v;
3465
- if (!a) {
3466
- const g = [wt.bind(this), void 0];
3467
- for (g.unshift.apply(g, l), g.push.apply(g, c), v = g.length, u = Promise.resolve(t); m < v; )
3468
- u = u.then(g[m++], g[m++]);
3469
- return u;
3471
+ let c, h = 0, S;
3472
+ if (!d) {
3473
+ const f = [wt.bind(this), void 0];
3474
+ for (f.unshift.apply(f, a), f.push.apply(f, u), S = f.length, c = Promise.resolve(t); h < S; )
3475
+ c = c.then(f[h++], f[h++]);
3476
+ return c;
3470
3477
  }
3471
- v = l.length;
3478
+ S = a.length;
3472
3479
  let y = t;
3473
- for (m = 0; m < v; ) {
3474
- const g = l[m++], w = l[m++];
3480
+ for (h = 0; h < S; ) {
3481
+ const f = a[h++], w = a[h++];
3475
3482
  try {
3476
- y = g(y);
3483
+ y = f(y);
3477
3484
  } catch (b) {
3478
3485
  w.call(this, b);
3479
3486
  break;
3480
3487
  }
3481
3488
  }
3482
3489
  try {
3483
- u = wt.call(this, y);
3484
- } catch (g) {
3485
- return Promise.reject(g);
3490
+ c = wt.call(this, y);
3491
+ } catch (f) {
3492
+ return Promise.reject(f);
3486
3493
  }
3487
- for (m = 0, v = c.length; m < v; )
3488
- u = u.then(c[m++], c[m++]);
3489
- return u;
3494
+ for (h = 0, S = u.length; h < S; )
3495
+ c = c.then(u[h++], u[h++]);
3496
+ return c;
3490
3497
  }
3491
3498
  getUri(r) {
3492
3499
  r = K(this.defaults, r);
3493
3500
  const t = Ft(r.baseURL, r.url);
3494
- return Dt(t, r.params, r.paramsSerializer);
3501
+ return Nt(t, r.params, r.paramsSerializer);
3495
3502
  }
3496
3503
  }
3497
- d.forEach(["delete", "get", "head", "options"], function(r) {
3504
+ l.forEach(["delete", "get", "head", "options"], function(r) {
3498
3505
  X.prototype[r] = function(t, o) {
3499
3506
  return this.request(K(o || {}, {
3500
3507
  method: r,
@@ -3503,10 +3510,10 @@ d.forEach(["delete", "get", "head", "options"], function(r) {
3503
3510
  }));
3504
3511
  };
3505
3512
  });
3506
- d.forEach(["post", "put", "patch"], function(r) {
3513
+ l.forEach(["post", "put", "patch"], function(r) {
3507
3514
  function t(o) {
3508
- return function(i, n, l) {
3509
- return this.request(K(l || {}, {
3515
+ return function(i, n, a) {
3516
+ return this.request(K(a || {}, {
3510
3517
  method: r,
3511
3518
  headers: o ? {
3512
3519
  "Content-Type": "multipart/form-data"
@@ -3535,14 +3542,14 @@ class Ge {
3535
3542
  o._listeners = null;
3536
3543
  }), this.promise.then = (s) => {
3537
3544
  let i;
3538
- const n = new Promise((l) => {
3539
- o.subscribe(l), i = l;
3545
+ const n = new Promise((a) => {
3546
+ o.subscribe(a), i = a;
3540
3547
  }).then(s);
3541
3548
  return n.cancel = function() {
3542
3549
  o.unsubscribe(i);
3543
3550
  }, n;
3544
- }, r(function(i, n, l) {
3545
- o.reason || (o.reason = new ee(i, n, l), t(o.reason));
3551
+ }, r(function(i, n, a) {
3552
+ o.reason || (o.reason = new ee(i, n, a), t(o.reason));
3546
3553
  });
3547
3554
  }
3548
3555
  /**
@@ -3597,7 +3604,7 @@ function Qs(e) {
3597
3604
  };
3598
3605
  }
3599
3606
  function Ys(e) {
3600
- return d.isObject(e) && e.isAxiosError === !0;
3607
+ return l.isObject(e) && e.isAxiosError === !0;
3601
3608
  }
3602
3609
  const Le = {
3603
3610
  Continue: 100,
@@ -3669,7 +3676,7 @@ Object.entries(Le).forEach(([e, r]) => {
3669
3676
  });
3670
3677
  function Ht(e) {
3671
3678
  const r = new X(e), t = Ct(X.prototype.request, r);
3672
- return d.extend(t, X.prototype, r, { allOwnKeys: !0 }), d.extend(t, r, null, { allOwnKeys: !0 }), t.create = function(s) {
3679
+ return l.extend(t, X.prototype, r, { allOwnKeys: !0 }), l.extend(t, r, null, { allOwnKeys: !0 }), t.create = function(s) {
3673
3680
  return Ht(K(e, s));
3674
3681
  }, t;
3675
3682
  }
@@ -3678,7 +3685,7 @@ _.Axios = X;
3678
3685
  _.CanceledError = ee;
3679
3686
  _.CancelToken = Ge;
3680
3687
  _.isCancel = Lt;
3681
- _.VERSION = qt;
3688
+ _.VERSION = Ut;
3682
3689
  _.toFormData = Ce;
3683
3690
  _.AxiosError = C;
3684
3691
  _.Cancel = _.CanceledError;
@@ -3688,9 +3695,9 @@ _.all = function(r) {
3688
3695
  _.spread = Qs;
3689
3696
  _.isAxiosError = Ys;
3690
3697
  _.mergeConfig = K;
3691
- _.AxiosHeaders = N;
3692
- _.formToJSON = (e) => $t(d.isHTMLForm(e) ? new FormData(e) : e);
3693
- _.getAdapter = Ut.getAdapter;
3698
+ _.AxiosHeaders = D;
3699
+ _.formToJSON = (e) => $t(l.isHTMLForm(e) ? new FormData(e) : e);
3700
+ _.getAdapter = jt.getAdapter;
3694
3701
  _.HttpStatusCode = Le;
3695
3702
  _.default = _;
3696
3703
  const Te = (e, r) => {
@@ -3702,7 +3709,7 @@ const Te = (e, r) => {
3702
3709
  name: "DataIAGenerales",
3703
3710
  components: {
3704
3711
  GSCSlider: we,
3705
- GSCDataCard: Ue
3712
+ GSCDataCard: je
3706
3713
  },
3707
3714
  props: {
3708
3715
  currentSeasonId: {
@@ -3735,12 +3742,15 @@ const Te = (e, r) => {
3735
3742
  }
3736
3743
  }).get(
3737
3744
  `https://qxk21vj1q7.execute-api.us-east-2.amazonaws.com/prod/seasons/${e}/generals`
3738
- );
3739
- this.generalsData = t.data;
3740
- const o = t.data.generals.find((s) => s.id === "16-g");
3741
- o && this.$emit("most-productive", {
3742
- player_id: o.player_id,
3743
- team_id: o.team_id
3745
+ ), o = [...t.data.generals].sort(() => Math.random() - 0.5);
3746
+ this.generalsData = {
3747
+ ...t.data,
3748
+ generals: o
3749
+ };
3750
+ const s = t.data.generals.find((i) => i.id === "16-g");
3751
+ s && this.$emit("most-productive", {
3752
+ player_id: s.player_id,
3753
+ team_id: s.team_id
3744
3754
  });
3745
3755
  } catch (r) {
3746
3756
  console.error("Error al obtener datos generals:", r);
@@ -3749,18 +3759,19 @@ const Te = (e, r) => {
3749
3759
  }
3750
3760
  }
3751
3761
  }
3752
- }, ti = (e) => (ie("data-v-7da1c005"), e = e(), ne(), e), ri = { class: "generales-container" }, oi = { class: "container-generals-cards-ia-generales" }, si = { class: "container-data-cards-ia-generales" }, ii = /* @__PURE__ */ ti(() => /* @__PURE__ */ h("div", { class: "loading-overlay" }, [
3753
- /* @__PURE__ */ h("div", { class: "loading-animation" })
3762
+ }, ti = (e) => (ie("data-v-3c7040f5"), e = e(), ne(), e), ri = { class: "generales-container" }, oi = { class: "container-generals-cards-ia-generales" }, si = { class: "container-data-cards-ia-generales" }, ii = /* @__PURE__ */ ti(() => /* @__PURE__ */ m("div", { class: "loading-overlay" }, [
3763
+ /* @__PURE__ */ m("div", { class: "loading-animation" })
3754
3764
  ], -1)), ni = [
3755
3765
  ii
3756
3766
  ];
3757
3767
  function ai(e, r, t, o, s, i) {
3758
- const n = $("GSCDataCard"), l = $("GSCSlider");
3759
- return f(), p("div", ri, [
3760
- h("div", oi, [
3761
- z(l, {
3768
+ const n = $("GSCDataCard"), a = $("GSCSlider");
3769
+ return p(), g("div", ri, [
3770
+ m("div", oi, [
3771
+ (p(), W(a, {
3772
+ key: t.currentSeasonId,
3762
3773
  height: 610,
3763
- "px-scroll": 377,
3774
+ "px-scroll": 339,
3764
3775
  "scroll-color": "none",
3765
3776
  "arrows-position": "absolute",
3766
3777
  "arrows-scroll-hide": !0,
@@ -3774,36 +3785,36 @@ function ai(e, r, t, o, s, i) {
3774
3785
  "arrows-border": "#ddd",
3775
3786
  arrows: !s.loading
3776
3787
  }, {
3777
- default: M(() => [
3778
- h("div", si, [
3779
- s.loading ? (f(), p(A, { key: 0 }, P(4, (a) => h("div", {
3780
- key: a,
3788
+ default: q(() => [
3789
+ m("div", si, [
3790
+ s.loading ? (p(), g(P, { key: 0 }, A(4, (d) => m("div", {
3791
+ key: d,
3781
3792
  class: "skeleton-card",
3782
3793
  style: k([
3783
- a > 1 ? { "margin-left": "20px" } : {},
3784
- a === 4 ? { "margin-right": "30px" } : {}
3794
+ d > 1 ? { "margin-left": "20px" } : {},
3795
+ d === 4 ? { "margin-right": "30px" } : {}
3785
3796
  ])
3786
- }, ni, 4)), 64)) : s.generalsData && s.generalsData.generals ? (f(!0), p(A, { key: 1 }, P(s.generalsData.generals, (a, c) => (f(), q(n, {
3787
- key: c,
3788
- data: a,
3797
+ }, ni, 4)), 64)) : s.generalsData && s.generalsData.generals ? (p(!0), g(P, { key: 1 }, A(s.generalsData.generals, (d, u) => (p(), W(n, {
3798
+ key: u,
3799
+ data: d,
3789
3800
  style: k([
3790
- c > 0 ? { "margin-left": "20px" } : {},
3791
- c === s.generalsData.generals.length - 1 ? { "margin-right": "30px" } : {}
3801
+ u > 0 ? { "margin-left": "20px" } : {},
3802
+ u === s.generalsData.generals.length - 1 ? { "margin-right": "30px" } : {}
3792
3803
  ]),
3793
3804
  height: "520px"
3794
- }, null, 8, ["data", "style"]))), 128)) : S("", !0)
3805
+ }, null, 8, ["data", "style"]))), 128)) : v("", !0)
3795
3806
  ])
3796
3807
  ]),
3797
3808
  _: 1
3798
- }, 8, ["arrows-background", "arrows"])
3809
+ }, 8, ["arrows-background", "arrows"]))
3799
3810
  ])
3800
3811
  ]);
3801
3812
  }
3802
- const li = /* @__PURE__ */ Te(ei, [["render", ai], ["__scopeId", "data-v-7da1c005"]]), di = {
3813
+ const li = /* @__PURE__ */ Te(ei, [["render", ai], ["__scopeId", "data-v-3c7040f5"]]), di = {
3803
3814
  name: "DataIAEquipos",
3804
3815
  components: {
3805
3816
  GSCSlider: we,
3806
- GSCDataCard: Ue
3817
+ GSCDataCard: je
3807
3818
  },
3808
3819
  props: {
3809
3820
  currentSeasonId: Number,
@@ -3999,65 +4010,66 @@ const li = /* @__PURE__ */ Te(ei, [["render", ai], ["__scopeId", "data-v-7da1c00
3999
4010
  return this.getModifiedTeamData(this.teamData);
4000
4011
  }
4001
4012
  }
4002
- }, Ie = (e) => (ie("data-v-a9c7cdcc"), e = e(), ne(), e), ci = { class: "equipos-container" }, ui = { class: "header-container-equipos" }, hi = { class: "select-container" }, fi = { class: "custom-select" }, pi = ["src", "alt"], mi = /* @__PURE__ */ Ie(() => /* @__PURE__ */ h("div", { class: "select-arrow" }, null, -1)), gi = {
4013
+ }, Ie = (e) => (ie("data-v-5d6e193d"), e = e(), ne(), e), ci = { class: "equipos-container" }, ui = { class: "header-container-equipos" }, hi = { class: "select-container" }, fi = { class: "custom-select" }, pi = ["src", "alt"], mi = /* @__PURE__ */ Ie(() => /* @__PURE__ */ m("div", { class: "select-arrow" }, null, -1)), gi = {
4003
4014
  key: 1,
4004
4015
  class: "options-container"
4005
4016
  }, yi = ["onClick"], wi = ["src", "alt"], bi = { class: "container-generals-cards-ia-equipos" }, Si = { class: "container-data-cards-ia-equipos" }, vi = {
4006
4017
  key: 0,
4007
4018
  class: "loading-overlay"
4008
- }, Ci = /* @__PURE__ */ Ie(() => /* @__PURE__ */ h("div", { class: "loading-animation" }, null, -1)), _i = [
4019
+ }, Ci = /* @__PURE__ */ Ie(() => /* @__PURE__ */ m("div", { class: "loading-animation" }, null, -1)), _i = [
4009
4020
  Ci
4010
- ], ki = { class: "header-container-equipos" }, Ti = { class: "select-container" }, Ii = { class: "custom-select" }, xi = ["src", "alt"], Oi = ["onClick"], Ai = /* @__PURE__ */ Ie(() => /* @__PURE__ */ h("div", { class: "select-arrow" }, null, -1)), Pi = {
4021
+ ], ki = { class: "header-container-equipos" }, Ti = { class: "select-container" }, Ii = { class: "custom-select" }, xi = ["src", "alt"], Oi = ["onClick"], Pi = /* @__PURE__ */ Ie(() => /* @__PURE__ */ m("div", { class: "select-arrow" }, null, -1)), Ai = {
4011
4022
  key: 1,
4012
4023
  class: "options-container"
4013
- }, Ri = ["onClick"], Ei = ["src", "alt"], Bi = ["onClick"], Di = { class: "container-generals-cards-ia-equipos" }, Ni = { class: "container-data-cards-ia-equipos" }, $i = {
4024
+ }, Ri = ["onClick"], Ei = ["src", "alt"], Bi = ["onClick"], Ni = { class: "container-generals-cards-ia-equipos" }, Di = { class: "container-data-cards-ia-equipos" }, $i = {
4014
4025
  key: 0,
4015
4026
  class: "loading-overlay"
4016
- }, Li = /* @__PURE__ */ Ie(() => /* @__PURE__ */ h("div", { class: "loading-animation" }, null, -1)), zi = [
4027
+ }, Li = /* @__PURE__ */ Ie(() => /* @__PURE__ */ m("div", { class: "loading-animation" }, null, -1)), zi = [
4017
4028
  Li
4018
4029
  ], Fi = { class: "add-button-container" };
4019
4030
  function Wi(e, r, t, o, s, i) {
4020
- const n = $("GSCDataCard"), l = $("GSCSlider");
4021
- return f(), p("div", ci, [
4022
- h("div", ui, [
4023
- h("div", hi, [
4024
- h("div", fi, [
4025
- s.selectedTeam && s.selectedTeam.logo ? (f(), p("img", {
4031
+ var d, u;
4032
+ const n = $("GSCDataCard"), a = $("GSCSlider");
4033
+ return p(), g("div", ci, [
4034
+ m("div", ui, [
4035
+ m("div", hi, [
4036
+ m("div", fi, [
4037
+ s.selectedTeam && s.selectedTeam.logo ? (p(), g("img", {
4026
4038
  key: 0,
4027
4039
  src: s.selectedTeam.logo,
4028
4040
  class: "selected-team-logo",
4029
- alt: s.selectedTeam.team_name
4030
- }, null, 8, pi)) : S("", !0),
4031
- h("div", {
4041
+ alt: s.selectedTeam.colloquial_name
4042
+ }, null, 8, pi)) : v("", !0),
4043
+ m("div", {
4032
4044
  class: E(["team-selector", { "has-logo": s.selectedTeam && s.selectedTeam.logo }]),
4033
- onClick: r[0] || (r[0] = (...a) => i.toggleDropdown && i.toggleDropdown(...a))
4045
+ onClick: r[0] || (r[0] = (...c) => i.toggleDropdown && i.toggleDropdown(...c))
4034
4046
  }, [
4035
- h("span", null, I(s.selectedTeam ? s.selectedTeam.team_name : "Seleccionar equipo"), 1),
4047
+ m("span", null, I(s.selectedTeam ? s.selectedTeam.colloquial_name : "Seleccionar equipo"), 1),
4036
4048
  mi
4037
4049
  ], 2),
4038
- s.isOpen ? (f(), p("div", gi, [
4039
- (f(!0), p(A, null, P(i.availableTeams, (a) => (f(), p("div", {
4040
- key: a.id,
4050
+ s.isOpen ? (p(), g("div", gi, [
4051
+ (p(!0), g(P, null, A(i.availableTeams, (c) => (p(), g("div", {
4052
+ key: c.id,
4041
4053
  class: "option",
4042
- onClick: (c) => i.selectTeam(a)
4054
+ onClick: (h) => i.selectTeam(c)
4043
4055
  }, [
4044
- a.logo ? (f(), p("img", {
4056
+ c.logo ? (p(), g("img", {
4045
4057
  key: 0,
4046
- src: a.logo,
4058
+ src: c.logo,
4047
4059
  class: "option-team-logo",
4048
- alt: a.team_name
4049
- }, null, 8, wi)) : S("", !0),
4050
- h("span", null, I(a.team_name), 1)
4060
+ alt: c.colloquial_name
4061
+ }, null, 8, wi)) : v("", !0),
4062
+ m("span", null, I(c.colloquial_name), 1)
4051
4063
  ], 8, yi))), 128))
4052
- ])) : S("", !0)
4064
+ ])) : v("", !0)
4053
4065
  ])
4054
4066
  ])
4055
4067
  ]),
4056
- h("div", bi, [
4057
- (f(), q(l, {
4058
- key: "main-slider",
4068
+ m("div", bi, [
4069
+ (p(), W(a, {
4070
+ key: `main-slider-${(d = s.selectedTeam) == null ? void 0 : d.team_id}`,
4059
4071
  height: 510,
4060
- "px-scroll": 377,
4072
+ "px-scroll": 339,
4061
4073
  "scroll-color": "none",
4062
4074
  "arrows-position": "absolute",
4063
4075
  "arrows-scroll-hide": !0,
@@ -4069,79 +4081,79 @@ function Wi(e, r, t, o, s, i) {
4069
4081
  "arrows-margin": 0,
4070
4082
  "arrows-radius": "50%",
4071
4083
  "arrows-border": "#ddd",
4072
- arrows: !s.loading && s.teamData,
4084
+ arrows: !s.loading && ((u = s.teamData) == null ? void 0 : u.length) > 0,
4073
4085
  ref: "mainSlider"
4074
4086
  }, {
4075
- default: M(() => [
4076
- h("div", Si, [
4077
- s.loading ? (f(), p(A, { key: 0 }, P(4, (a) => h("div", {
4078
- key: a,
4087
+ default: q(() => [
4088
+ m("div", Si, [
4089
+ s.loading ? (p(), g(P, { key: 0 }, A(4, (c) => m("div", {
4090
+ key: c,
4079
4091
  class: "skeleton-card",
4080
4092
  style: k([
4081
- a > 1 ? { "margin-left": "20px" } : {},
4082
- a === 4 ? { "margin-right": "30px" } : {}
4093
+ c > 1 ? { "margin-left": "20px" } : {},
4094
+ c === 4 ? { "margin-right": "30px" } : {}
4083
4095
  ])
4084
4096
  }, [
4085
- s.selectedTeam ? (f(), p("div", vi, _i)) : S("", !0)
4086
- ], 4)), 64)) : s.teamData ? (f(!0), p(A, { key: 1 }, P(s.teamData, (a, c) => (f(), q(n, {
4087
- key: c,
4088
- data: a,
4097
+ s.selectedTeam ? (p(), g("div", vi, _i)) : v("", !0)
4098
+ ], 4)), 64)) : s.teamData ? (p(!0), g(P, { key: 1 }, A(s.teamData, (c, h) => (p(), W(n, {
4099
+ key: h,
4100
+ data: c,
4089
4101
  class: "data-card"
4090
- }, null, 8, ["data"]))), 128)) : S("", !0)
4102
+ }, null, 8, ["data"]))), 128)) : v("", !0)
4091
4103
  ])
4092
4104
  ]),
4093
4105
  _: 1
4094
4106
  }, 8, ["arrows-background", "arrows"]))
4095
4107
  ]),
4096
- (f(!0), p(A, null, P(s.additionalCarousels, (a, c) => {
4097
- var u;
4098
- return f(), p("div", {
4099
- key: c,
4108
+ (p(!0), g(P, null, A(s.additionalCarousels, (c, h) => {
4109
+ var S, y;
4110
+ return p(), g("div", {
4111
+ key: h,
4100
4112
  class: "additional-carousel"
4101
4113
  }, [
4102
- h("div", ki, [
4103
- h("div", Ti, [
4104
- h("div", Ii, [
4105
- a.selectedTeam && a.selectedTeam.logo ? (f(), p("img", {
4114
+ m("div", ki, [
4115
+ m("div", Ti, [
4116
+ m("div", Ii, [
4117
+ c.selectedTeam && c.selectedTeam.logo ? (p(), g("img", {
4106
4118
  key: 0,
4107
- src: a.selectedTeam.logo,
4119
+ src: c.selectedTeam.logo,
4108
4120
  class: "selected-team-logo",
4109
- alt: a.selectedTeam.team_name
4110
- }, null, 8, xi)) : S("", !0),
4111
- h("div", {
4112
- class: E(["team-selector", { "has-logo": a.selectedTeam && a.selectedTeam.logo }]),
4113
- onClick: (m) => i.toggleDropdownAdditional(c)
4121
+ alt: c.selectedTeam.team_name
4122
+ }, null, 8, xi)) : v("", !0),
4123
+ m("div", {
4124
+ class: E(["team-selector", { "has-logo": c.selectedTeam && c.selectedTeam.logo }]),
4125
+ onClick: (f) => i.toggleDropdownAdditional(h)
4114
4126
  }, [
4115
- h("span", null, I(a.selectedTeam ? a.selectedTeam.team_name : "Seleccionar equipo"), 1),
4116
- Ai
4127
+ m("span", null, I(c.selectedTeam ? c.selectedTeam.team_name : "Seleccionar equipo"), 1),
4128
+ Pi
4117
4129
  ], 10, Oi),
4118
- a.isOpen ? (f(), p("div", Pi, [
4119
- (f(!0), p(A, null, P(i.getAvailableTeamsForCarousel(c), (m) => (f(), p("div", {
4120
- key: m.id,
4130
+ c.isOpen ? (p(), g("div", Ai, [
4131
+ (p(!0), g(P, null, A(i.getAvailableTeamsForCarousel(h), (f) => (p(), g("div", {
4132
+ key: f.id,
4121
4133
  class: "option",
4122
- onClick: (v) => i.selectTeamAdditional(m, c)
4134
+ onClick: (w) => i.selectTeamAdditional(f, h)
4123
4135
  }, [
4124
- m.logo ? (f(), p("img", {
4136
+ f.logo ? (p(), g("img", {
4125
4137
  key: 0,
4126
- src: m.logo,
4138
+ src: f.logo,
4127
4139
  class: "option-team-logo",
4128
- alt: m.team_name
4129
- }, null, 8, Ei)) : S("", !0),
4130
- h("span", null, I(m.team_name), 1)
4140
+ alt: f.team_name
4141
+ }, null, 8, Ei)) : v("", !0),
4142
+ m("span", null, I(f.team_name), 1)
4131
4143
  ], 8, Ri))), 128))
4132
- ])) : S("", !0)
4144
+ ])) : v("", !0)
4133
4145
  ])
4134
4146
  ]),
4135
- h("div", {
4147
+ m("div", {
4136
4148
  class: "remove-carousel-btn",
4137
- onClick: (m) => i.removeCarousel(c)
4149
+ onClick: (f) => i.removeCarousel(h)
4138
4150
  }, "×", 8, Bi)
4139
4151
  ]),
4140
- h("div", Di, [
4141
- (f(), q(l, {
4142
- key: `carousel-slider-${c}`,
4152
+ m("div", Ni, [
4153
+ (p(), W(a, {
4154
+ key: `carousel-slider-${h}-${(S = c.selectedTeam) == null ? void 0 : S.team_id}`,
4143
4155
  height: 510,
4144
- "px-scroll": 377,
4156
+ "px-scroll": 339,
4145
4157
  "scroll-color": "none",
4146
4158
  "arrows-position": "absolute",
4147
4159
  "arrows-scroll-hide": !0,
@@ -4153,27 +4165,27 @@ function Wi(e, r, t, o, s, i) {
4153
4165
  "arrows-margin": 0,
4154
4166
  "arrows-radius": "50%",
4155
4167
  "arrows-border": "#ddd",
4156
- arrows: !a.loading && ((u = a.teamData) == null ? void 0 : u.teams),
4168
+ arrows: !c.loading && ((y = c.teamData) == null ? void 0 : y.teams),
4157
4169
  ref_for: !0,
4158
- ref: `carouselSlider${c}`,
4159
- onMounted: (m) => i.initializeSlider(c)
4170
+ ref: `carouselSlider${h}`,
4171
+ onMounted: (f) => i.initializeSlider(h)
4160
4172
  }, {
4161
- default: M(() => [
4162
- h("div", Ni, [
4163
- a.loading ? (f(), p(A, { key: 0 }, P(4, (m) => h("div", {
4164
- key: m,
4173
+ default: q(() => [
4174
+ m("div", Di, [
4175
+ c.loading ? (p(), g(P, { key: 0 }, A(4, (f) => m("div", {
4176
+ key: f,
4165
4177
  class: "skeleton-card",
4166
4178
  style: k([
4167
- m > 1 ? { "margin-left": "20px" } : {},
4168
- m === 4 ? { "margin-right": "30px" } : {}
4179
+ f > 1 ? { "margin-left": "20px" } : {},
4180
+ f === 4 ? { "margin-right": "30px" } : {}
4169
4181
  ])
4170
4182
  }, [
4171
- a.selectedTeam ? (f(), p("div", $i, zi)) : S("", !0)
4172
- ], 4)), 64)) : a.teamData && a.teamData.teams ? (f(!0), p(A, { key: 1 }, P(a.teamData.teams, (m, v) => (f(), q(n, {
4173
- key: v,
4174
- data: m,
4183
+ c.selectedTeam ? (p(), g("div", $i, zi)) : v("", !0)
4184
+ ], 4)), 64)) : c.teamData && c.teamData.teams ? (p(!0), g(P, { key: 1 }, A(c.teamData.teams, (f, w) => (p(), W(n, {
4185
+ key: w,
4186
+ data: f,
4175
4187
  class: "data-card"
4176
- }, null, 8, ["data"]))), 128)) : S("", !0)
4188
+ }, null, 8, ["data"]))), 128)) : v("", !0)
4177
4189
  ])
4178
4190
  ]),
4179
4191
  _: 2
@@ -4181,19 +4193,19 @@ function Wi(e, r, t, o, s, i) {
4181
4193
  ])
4182
4194
  ]);
4183
4195
  }), 128)),
4184
- h("div", Fi, [
4185
- h("div", {
4196
+ m("div", Fi, [
4197
+ m("div", {
4186
4198
  class: "carousel-placeholder-equipos",
4187
- onClick: r[1] || (r[1] = (...a) => i.addCarousel && i.addCarousel(...a))
4199
+ onClick: r[1] || (r[1] = (...c) => i.addCarousel && i.addCarousel(...c))
4188
4200
  }, " Agregar carrusel de jugadores ")
4189
4201
  ])
4190
4202
  ]);
4191
4203
  }
4192
- const Mi = /* @__PURE__ */ Te(di, [["render", Wi], ["__scopeId", "data-v-a9c7cdcc"]]), ji = {
4204
+ const Mi = /* @__PURE__ */ Te(di, [["render", Wi], ["__scopeId", "data-v-5d6e193d"]]), qi = {
4193
4205
  name: "DataIAJugadores",
4194
4206
  components: {
4195
4207
  "g-s-c-slider": we,
4196
- "g-s-c-data-card": Ue
4208
+ "g-s-c-data-card": je
4197
4209
  },
4198
4210
  props: {
4199
4211
  currentSeasonId: {
@@ -4203,6 +4215,10 @@ const Mi = /* @__PURE__ */ Te(di, [["render", Wi], ["__scopeId", "data-v-a9c7cdc
4203
4215
  mostProductivePlayer: {
4204
4216
  type: Object,
4205
4217
  required: !0
4218
+ },
4219
+ isFemale: {
4220
+ type: Number,
4221
+ default: 0
4206
4222
  }
4207
4223
  },
4208
4224
  data() {
@@ -4307,7 +4323,7 @@ const Mi = /* @__PURE__ */ Te(di, [["render", Wi], ["__scopeId", "data-v-a9c7cdc
4307
4323
  players: i[0].players
4308
4324
  }, t === 0 && ((o = this.mostProductivePlayer) != null && o.player_id)) {
4309
4325
  const n = i[0].players.find(
4310
- (l) => l.player_id === this.mostProductivePlayer.player_id
4326
+ (a) => a.player_id === this.mostProductivePlayer.player_id
4311
4327
  );
4312
4328
  n && await this.selectPlayer(n, 0);
4313
4329
  }
@@ -4468,6 +4484,12 @@ const Mi = /* @__PURE__ */ Te(di, [["render", Wi], ["__scopeId", "data-v-a9c7cdc
4468
4484
  } finally {
4469
4485
  r.loading = !1;
4470
4486
  }
4487
+ },
4488
+ formatPlayerName(e) {
4489
+ const r = e.split(",");
4490
+ if (r.length === 1) return e;
4491
+ const t = r[0].trim();
4492
+ return `${r[1].trim()}, ${t}`;
4471
4493
  }
4472
4494
  },
4473
4495
  mounted() {
@@ -4476,12 +4498,12 @@ const Mi = /* @__PURE__ */ Te(di, [["render", Wi], ["__scopeId", "data-v-a9c7cdc
4476
4498
  beforeUnmount() {
4477
4499
  document.removeEventListener("click", this.closeTeamDropdown), document.removeEventListener("click", this.closePlayerDropdown);
4478
4500
  }
4479
- }, xe = (e) => (ie("data-v-747d21f0"), e = e(), ne(), e), Ui = { class: "jugadores-container" }, qi = ["onClick"], Hi = /* @__PURE__ */ xe(() => /* @__PURE__ */ h("span", null, "×", -1)), Ji = [
4501
+ }, xe = (e) => (ie("data-v-491cc8a4"), e = e(), ne(), e), ji = { class: "jugadores-container" }, Ui = ["onClick"], Hi = /* @__PURE__ */ xe(() => /* @__PURE__ */ m("span", null, "×", -1)), Ji = [
4480
4502
  Hi
4481
- ], Gi = { class: "header-container-jugadores" }, Vi = { class: "custom-select" }, Xi = ["src", "alt"], Zi = ["onClick"], Ki = /* @__PURE__ */ xe(() => /* @__PURE__ */ h("div", { class: "select-arrow" }, null, -1)), Qi = {
4503
+ ], Gi = { class: "header-container-jugadores" }, Vi = { class: "custom-select" }, Xi = ["src", "alt"], Zi = ["onClick"], Ki = /* @__PURE__ */ xe(() => /* @__PURE__ */ m("div", { class: "select-arrow" }, null, -1)), Qi = {
4482
4504
  key: 1,
4483
4505
  class: "options-container"
4484
- }, Yi = ["onClick"], en = ["src", "alt"], tn = { class: "custom-select" }, rn = ["src", "alt"], on = ["onClick"], sn = /* @__PURE__ */ xe(() => /* @__PURE__ */ h("div", { class: "select-arrow" }, null, -1)), nn = {
4506
+ }, Yi = ["onClick"], en = ["src", "alt"], tn = { class: "custom-select" }, rn = ["src", "alt"], on = ["onClick"], sn = /* @__PURE__ */ xe(() => /* @__PURE__ */ m("div", { class: "select-arrow" }, null, -1)), nn = {
4485
4507
  key: 1,
4486
4508
  class: "options-container"
4487
4509
  }, an = {
@@ -4493,165 +4515,168 @@ const Mi = /* @__PURE__ */ Te(di, [["render", Wi], ["__scopeId", "data-v-a9c7cdc
4493
4515
  }, gn = {
4494
4516
  key: 0,
4495
4517
  class: "loading-overlay"
4496
- }, yn = /* @__PURE__ */ xe(() => /* @__PURE__ */ h("div", { class: "loading-animation" }, null, -1)), wn = [
4518
+ }, yn = /* @__PURE__ */ xe(() => /* @__PURE__ */ m("div", { class: "loading-animation" }, null, -1)), wn = [
4497
4519
  yn
4498
4520
  ];
4499
4521
  function bn(e, r, t, o, s, i) {
4500
- const n = $("g-s-c-data-card"), l = $("g-s-c-slider");
4501
- return f(), p("div", Ui, [
4502
- (f(!0), p(A, null, P(s.containers, (a, c) => (f(), p("div", {
4503
- key: `container-${a.id}`,
4504
- class: "container-section"
4505
- }, [
4506
- c > 0 ? (f(), p("div", {
4507
- key: 0,
4508
- class: "close-container-button",
4509
- onClick: (u) => i.removeContainer(c)
4510
- }, Ji, 8, qi)) : S("", !0),
4511
- h("div", Gi, [
4512
- h("div", {
4513
- class: "select-container",
4514
- ref_for: !0,
4515
- ref: `teamSelect${c}`
4516
- }, [
4517
- h("div", Vi, [
4518
- a.selectedTeam && a.selectedTeam.logo ? (f(), p("img", {
4519
- key: 0,
4520
- src: a.selectedTeam.logo,
4521
- class: "selected-team-logo",
4522
- alt: a.selectedTeam.team_name
4523
- }, null, 8, Xi)) : S("", !0),
4524
- h("div", {
4525
- class: E(["team-selector", { "has-logo": a.selectedTeam && a.selectedTeam.logo }]),
4526
- onClick: (u) => i.toggleDropdown(c)
4527
- }, [
4528
- h("span", null, I(a.selectedTeam ? a.selectedTeam.team_name : "Seleccionar equipo"), 1),
4529
- Ki
4530
- ], 10, Zi),
4531
- a.isOpen ? (f(), p("div", Qi, [
4532
- (f(!0), p(A, null, P(s.filteredTeams, (u) => (f(), p("div", {
4533
- key: u.id,
4534
- class: "option",
4535
- onClick: (m) => i.selectTeam(u, c)
4522
+ const n = $("g-s-c-data-card"), a = $("g-s-c-slider");
4523
+ return p(), g("div", ji, [
4524
+ (p(!0), g(P, null, A(s.containers, (d, u) => {
4525
+ var c;
4526
+ return p(), g("div", {
4527
+ key: `container-${d.id}`,
4528
+ class: "container-section"
4529
+ }, [
4530
+ u > 0 ? (p(), g("div", {
4531
+ key: 0,
4532
+ class: "close-container-button",
4533
+ onClick: (h) => i.removeContainer(u)
4534
+ }, Ji, 8, Ui)) : v("", !0),
4535
+ m("div", Gi, [
4536
+ m("div", {
4537
+ class: "select-container",
4538
+ ref_for: !0,
4539
+ ref: `teamSelect${u}`
4540
+ }, [
4541
+ m("div", Vi, [
4542
+ d.selectedTeam && d.selectedTeam.logo ? (p(), g("img", {
4543
+ key: 0,
4544
+ src: d.selectedTeam.logo,
4545
+ class: "selected-team-logo",
4546
+ alt: d.selectedTeam.colloquial_name
4547
+ }, null, 8, Xi)) : v("", !0),
4548
+ m("div", {
4549
+ class: E(["team-selector", { "has-logo": d.selectedTeam && d.selectedTeam.logo }]),
4550
+ onClick: (h) => i.toggleDropdown(u)
4536
4551
  }, [
4537
- u.logo ? (f(), p("img", {
4538
- key: 0,
4539
- src: u.logo,
4540
- class: "option-team-logo",
4541
- alt: u.team_name
4542
- }, null, 8, en)) : S("", !0),
4543
- h("span", null, I(u.team_name), 1)
4544
- ], 8, Yi))), 128))
4545
- ])) : S("", !0)
4546
- ])
4547
- ], 512),
4548
- h("div", {
4549
- class: "select-container player-select",
4550
- ref_for: !0,
4551
- ref: "playerSelect"
4552
- }, [
4553
- h("div", tn, [
4554
- a.selectedPlayer && a.selectedPlayer.photo ? (f(), p("img", {
4555
- key: 0,
4556
- src: a.selectedPlayer.photo,
4557
- class: "selected-team-logo",
4558
- alt: a.selectedPlayer.name
4559
- }, null, 8, rn)) : S("", !0),
4560
- h("div", {
4561
- class: E(["team-selector", {
4562
- "has-logo": a.selectedPlayer && a.selectedPlayer.photo,
4563
- disabled: !a.selectedTeam || a.players.length === 0
4564
- }]),
4565
- onClick: (u) => a.selectedTeam && i.togglePlayerDropdown(c)
4566
- }, [
4567
- h("span", null, I(a.selectedPlayer ? a.selectedPlayer.name : "Seleccionar jugador"), 1),
4568
- sn
4569
- ], 10, on),
4570
- a.isPlayerOpen ? (f(), p("div", nn, [
4571
- a.players.length > 0 ? (f(), p("div", an, [
4572
- h("div", ln, [
4573
- Q(h("input", {
4574
- type: "text",
4575
- "onUpdate:modelValue": (u) => a.playerSearchQuery = u,
4576
- placeholder: "Buscar jugador...",
4577
- onClick: r[0] || (r[0] = Xe(() => {
4578
- }, ["stop"]))
4579
- }, null, 8, dn), [
4580
- [Xt, a.playerSearchQuery]
4581
- ]),
4582
- a.playerSearchQuery ? (f(), p("button", {
4552
+ m("span", null, I(d.selectedTeam ? d.selectedTeam.colloquial_name : "Seleccionar equipo"), 1),
4553
+ Ki
4554
+ ], 10, Zi),
4555
+ d.isOpen ? (p(), g("div", Qi, [
4556
+ (p(!0), g(P, null, A(s.filteredTeams, (h) => (p(), g("div", {
4557
+ key: h.id,
4558
+ class: "option",
4559
+ onClick: (S) => i.selectTeam(h, u)
4560
+ }, [
4561
+ h.logo ? (p(), g("img", {
4583
4562
  key: 0,
4584
- class: "clear-search",
4585
- onClick: Xe((u) => i.clearSearch(c), ["stop"])
4586
- }, " ✕ ", 8, cn)) : S("", !0)
4587
- ])
4588
- ])) : S("", !0),
4589
- (f(!0), p(A, null, P(i.filteredPlayers(c), (u) => (f(), p("div", {
4590
- key: u.player_id,
4591
- class: E(["option", {
4592
- selected: a.selectedPlayer && a.selectedPlayer.player_id === u.player_id
4563
+ src: h.logo,
4564
+ class: "option-team-logo",
4565
+ alt: h.colloquial_name
4566
+ }, null, 8, en)) : v("", !0),
4567
+ m("span", null, I(h.colloquial_name), 1)
4568
+ ], 8, Yi))), 128))
4569
+ ])) : v("", !0)
4570
+ ])
4571
+ ], 512),
4572
+ m("div", {
4573
+ class: "select-container player-select",
4574
+ ref_for: !0,
4575
+ ref: "playerSelect"
4576
+ }, [
4577
+ m("div", tn, [
4578
+ d.selectedPlayer && d.selectedPlayer.photo ? (p(), g("img", {
4579
+ key: 0,
4580
+ src: d.selectedPlayer.photo,
4581
+ class: "selected-team-logo",
4582
+ alt: d.selectedPlayer.name
4583
+ }, null, 8, rn)) : v("", !0),
4584
+ m("div", {
4585
+ class: E(["team-selector", {
4586
+ "has-logo": d.selectedPlayer && d.selectedPlayer.photo,
4587
+ disabled: !d.selectedTeam || d.players.length === 0
4593
4588
  }]),
4594
- onClick: (m) => i.selectPlayer(u, c)
4589
+ onClick: (h) => d.selectedTeam && i.togglePlayerDropdown(u)
4595
4590
  }, [
4596
- u.photo ? (f(), p("img", {
4597
- key: 0,
4598
- src: u.photo,
4599
- class: "option-team-logo",
4600
- alt: u.name
4601
- }, null, 8, hn)) : S("", !0),
4602
- h("span", null, I(u.name), 1)
4603
- ], 10, un))), 128))
4604
- ])) : S("", !0)
4605
- ])
4606
- ], 512)
4607
- ]),
4608
- h("div", fn, [
4609
- (f(), q(l, {
4610
- ref_for: !0,
4611
- ref: "slider",
4612
- key: `slider-${a.id}`,
4613
- height: 510,
4614
- "px-scroll": 377,
4615
- "scroll-color": "none",
4616
- "arrows-position": "absolute",
4617
- "arrows-scroll-hide": !0,
4618
- "arrows-hide-on-no-scroll": !0,
4619
- "arrows-padding": 0,
4620
- "arrows-background": "rgba(255,255,255,.16)",
4621
- "arrows-container-bg-l": "none",
4622
- "arrows-container-bg-r": "none",
4623
- "background-color": "none",
4624
- "arrows-margin": 0,
4625
- "arrows-radius": "50%",
4626
- "arrows-border": "#ddd",
4627
- arrows: a.selectedPlayer && a.playerData
4628
- }, {
4629
- default: M(() => [
4630
- h("div", pn, [
4631
- a.selectedPlayer && a.playerData ? (f(!0), p(A, { key: 0 }, P(a.playerData, (u, m) => (f(), p("div", { key: m }, [
4632
- z(n, { data: u }, null, 8, ["data"])
4633
- ]))), 128)) : (f(), p("div", mn, [
4634
- (f(), p(A, null, P(4, (u) => h("div", {
4635
- key: u,
4636
- class: "skeleton-card"
4591
+ m("span", null, I(d.selectedPlayer ? i.formatPlayerName(d.selectedPlayer.name) : "Seleccionar jugador"), 1),
4592
+ sn
4593
+ ], 10, on),
4594
+ d.isPlayerOpen ? (p(), g("div", nn, [
4595
+ d.players.length > 0 ? (p(), g("div", an, [
4596
+ m("div", ln, [
4597
+ Q(m("input", {
4598
+ type: "text",
4599
+ "onUpdate:modelValue": (h) => d.playerSearchQuery = h,
4600
+ placeholder: "Buscar jugador...",
4601
+ onClick: r[0] || (r[0] = Xe(() => {
4602
+ }, ["stop"]))
4603
+ }, null, 8, dn), [
4604
+ [Xt, d.playerSearchQuery]
4605
+ ]),
4606
+ d.playerSearchQuery ? (p(), g("button", {
4607
+ key: 0,
4608
+ class: "clear-search",
4609
+ onClick: Xe((h) => i.clearSearch(u), ["stop"])
4610
+ }, "", 8, cn)) : v("", !0)
4611
+ ])
4612
+ ])) : v("", !0),
4613
+ (p(!0), g(P, null, A(i.filteredPlayers(u), (h) => (p(), g("div", {
4614
+ key: h.player_id,
4615
+ class: E(["option", {
4616
+ selected: d.selectedPlayer && d.selectedPlayer.player_id === h.player_id
4617
+ }]),
4618
+ onClick: (S) => i.selectPlayer(h, u)
4637
4619
  }, [
4638
- a.selectedPlayer && a.loading ? (f(), p("div", gn, wn)) : S("", !0)
4639
- ])), 64))
4640
- ]))
4620
+ h.photo ? (p(), g("img", {
4621
+ key: 0,
4622
+ src: h.photo,
4623
+ class: "option-team-logo",
4624
+ alt: h.name
4625
+ }, null, 8, hn)) : v("", !0),
4626
+ m("span", null, I(i.formatPlayerName(h.name)), 1)
4627
+ ], 10, un))), 128))
4628
+ ])) : v("", !0)
4641
4629
  ])
4642
- ]),
4643
- _: 2
4644
- }, 1032, ["arrows-background", "arrows"]))
4645
- ])
4646
- ]))), 128)),
4647
- s.containers.length < s.maxContainers ? (f(), p("div", {
4630
+ ], 512)
4631
+ ]),
4632
+ m("div", fn, [
4633
+ (p(), W(a, {
4634
+ ref_for: !0,
4635
+ ref: "slider",
4636
+ key: `slider-${d.id}-${(c = d.selectedPlayer) == null ? void 0 : c.player_id}`,
4637
+ height: 510,
4638
+ "px-scroll": 339,
4639
+ "scroll-color": "none",
4640
+ "arrows-position": "absolute",
4641
+ "arrows-scroll-hide": !0,
4642
+ "arrows-hide-on-no-scroll": !0,
4643
+ "arrows-padding": 0,
4644
+ "arrows-background": "rgba(255,255,255,.16)",
4645
+ "arrows-container-bg-l": "none",
4646
+ "arrows-container-bg-r": "none",
4647
+ "background-color": "none",
4648
+ "arrows-margin": 0,
4649
+ "arrows-radius": "50%",
4650
+ "arrows-border": "#ddd",
4651
+ arrows: d.selectedPlayer && d.playerData
4652
+ }, {
4653
+ default: q(() => [
4654
+ m("div", pn, [
4655
+ d.selectedPlayer && d.playerData ? (p(!0), g(P, { key: 0 }, A(d.playerData, (h, S) => (p(), g("div", { key: S }, [
4656
+ F(n, { data: h }, null, 8, ["data"])
4657
+ ]))), 128)) : (p(), g("div", mn, [
4658
+ (p(), g(P, null, A(4, (h) => m("div", {
4659
+ key: h,
4660
+ class: "skeleton-card"
4661
+ }, [
4662
+ d.selectedPlayer && d.loading ? (p(), g("div", gn, wn)) : v("", !0)
4663
+ ])), 64))
4664
+ ]))
4665
+ ])
4666
+ ]),
4667
+ _: 2
4668
+ }, 1032, ["arrows-background", "arrows"]))
4669
+ ])
4670
+ ]);
4671
+ }), 128)),
4672
+ s.containers.length < s.maxContainers ? (p(), g("div", {
4648
4673
  key: 0,
4649
4674
  class: "carousel-placeholder-jugadores",
4650
- onClick: r[1] || (r[1] = (...a) => i.addContainer && i.addContainer(...a))
4651
- }, " Agregar carrusel de jugadores ")) : S("", !0)
4675
+ onClick: r[1] || (r[1] = (...d) => i.addContainer && i.addContainer(...d))
4676
+ }, " Agregar carrusel de " + I(t.isFemale ? "jugadoras" : "jugadores"), 1)) : v("", !0)
4652
4677
  ]);
4653
4678
  }
4654
- const Sn = /* @__PURE__ */ Te(ji, [["render", bn], ["__scopeId", "data-v-747d21f0"]]), vn = {
4679
+ const Sn = /* @__PURE__ */ Te(qi, [["render", bn], ["__scopeId", "data-v-491cc8a4"]]), vn = {
4655
4680
  name: "DataIA",
4656
4681
  components: {
4657
4682
  GSCSlider: we,
@@ -4702,6 +4727,9 @@ const Sn = /* @__PURE__ */ Te(ji, [["render", bn], ["__scopeId", "data-v-747d21f
4702
4727
  Equipos: !this.torneoLiderId,
4703
4728
  Jugadores: !this.mostProductivePlayerId
4704
4729
  };
4730
+ },
4731
+ switchOptions() {
4732
+ return ["Generales", "Equipos", this.isFemale ? "Jugadoras" : "Jugadores"];
4705
4733
  }
4706
4734
  },
4707
4735
  data() {
@@ -4721,7 +4749,8 @@ const Sn = /* @__PURE__ */ Te(ji, [["render", bn], ["__scopeId", "data-v-747d21f
4721
4749
  selectWidthJugadores: 200,
4722
4750
  mostProductivePlayerId: null,
4723
4751
  generalTableData: null,
4724
- torneoLiderId: null
4752
+ torneoLiderId: null,
4753
+ isFemale: !1
4725
4754
  };
4726
4755
  },
4727
4756
  watch: {
@@ -4746,14 +4775,14 @@ const Sn = /* @__PURE__ */ Te(ji, [["render", bn], ["__scopeId", "data-v-747d21f
4746
4775
  console.log("Valores: season: ", e), this.seasonActive !== e.id && (this.seasonActive = e.id, this.optionSelected = "Generales", this.$emit("change-season-id", e.id));
4747
4776
  },
4748
4777
  async changeTournament(e) {
4749
- e.id !== this.selectedTournament.id && (this.selectedTournament = e, this.tournamentType = e.tournament_type, this.optionSelected = "Generales", this.tournamentSelectedObj = {
4778
+ console.log("tournament: ", e), e.id !== this.selectedTournament.id && (this.selectedTournament = e, this.tournamentType = e.tournament_type, this.isFemale = e.is_female === 1, this.optionSelected = "Generales", this.tournamentSelectedObj = {
4750
4779
  propName: "id",
4751
4780
  value: e.id,
4752
- is_female: e.is_female == 1
4781
+ is_female: this.isFemale
4753
4782
  });
4754
4783
  },
4755
4784
  changeTabsGeneral(e) {
4756
- e === "Equipos" && !this.torneoLiderId || e === "Jugadores" && !this.mostProductivePlayerId || (this.optionSelected = e);
4785
+ e === "Equipos" && !this.torneoLiderId || (e === "Jugadores" || e === "Jugadoras") && !this.mostProductivePlayerId || (this.optionSelected = e);
4757
4786
  },
4758
4787
  handleResize() {
4759
4788
  this.$refs.container && (this.parentWidth = this.$refs.container.offsetWidth, this.updateContainerWidth());
@@ -4767,17 +4796,17 @@ const Sn = /* @__PURE__ */ Te(ji, [["render", bn], ["__scopeId", "data-v-747d21f
4767
4796
  async fetchGeneralTable(e) {
4768
4797
  var r, t, o, s, i;
4769
4798
  try {
4770
- const l = await _.create({
4799
+ const a = await _.create({
4771
4800
  headers: {
4772
4801
  Authorization: `${this.tokenPremium}`
4773
4802
  }
4774
4803
  }).get(
4775
4804
  `https://jfxv8fqkn3.execute-api.us-west-2.amazonaws.com/prod/generalTable/${e}`
4776
4805
  );
4777
- if (this.generalTableData = l.data, this.tournamentType === 0 && ((t = (r = this.generalTableData) == null ? void 0 : r.data) == null ? void 0 : t.length) > 0)
4806
+ if (this.generalTableData = a.data, this.tournamentType === 0 && ((t = (r = this.generalTableData) == null ? void 0 : r.data) == null ? void 0 : t.length) > 0)
4778
4807
  this.torneoLiderId = this.generalTableData.data[0].team_id;
4779
4808
  else if (this.tournamentType === 2 && ((s = (o = this.generalTableData) == null ? void 0 : o.data) == null ? void 0 : s.length) > 0) {
4780
- const a = [
4809
+ const d = [
4781
4810
  175,
4782
4811
  392,
4783
4812
  550,
@@ -4802,10 +4831,10 @@ const Sn = /* @__PURE__ */ Te(ji, [["render", bn], ["__scopeId", "data-v-747d21f
4802
4831
  3036,
4803
4832
  3407,
4804
4833
  3454
4805
- ], c = [...this.generalTableData.data].sort((m, v) => m.team_name.localeCompare(v.team_name)), u = c.find((m) => a.includes(m.team_id));
4806
- this.torneoLiderId = u ? u.team_id : c[0].team_id, this.generalTableData.data = c;
4834
+ ], u = [...this.generalTableData.data].sort((h, S) => h.team_name.localeCompare(S.team_name)), c = u.find((h) => d.includes(h.team_id));
4835
+ this.torneoLiderId = c ? c.team_id : u[0].team_id, this.generalTableData.data = u;
4807
4836
  } else if (this.tournamentType === 1 && ((i = this.generalTableData) != null && i.groups)) {
4808
- const c = this.generalTableData.groups.reduce((v, y) => v.concat(y.data || []), []).sort((v, y) => v.team_name.localeCompare(y.team_name)), u = [
4837
+ const u = this.generalTableData.groups.reduce((S, y) => S.concat(y.data || []), []).sort((S, y) => S.team_name.localeCompare(y.team_name)), c = [
4809
4838
  175,
4810
4839
  392,
4811
4840
  550,
@@ -4830,8 +4859,8 @@ const Sn = /* @__PURE__ */ Te(ji, [["render", bn], ["__scopeId", "data-v-747d21f
4830
4859
  3036,
4831
4860
  3407,
4832
4861
  3454
4833
- ], m = c.find((v) => u.includes(v.team_id));
4834
- this.torneoLiderId = m ? m.team_id : c[0].team_id, this.generalTableData.data = c;
4862
+ ], h = u.find((S) => c.includes(S.team_id));
4863
+ this.torneoLiderId = h ? h.team_id : u[0].team_id, this.generalTableData.data = u;
4835
4864
  }
4836
4865
  } catch (n) {
4837
4866
  console.error("Error al obtener datos de la tabla general:", n);
@@ -4843,19 +4872,19 @@ const Sn = /* @__PURE__ */ Te(ji, [["render", bn], ["__scopeId", "data-v-747d21f
4843
4872
  ref: "container"
4844
4873
  }, _n = { class: "data-ia-header" }, kn = { class: "tabs" }, Tn = { class: "filters" }, In = { class: "league-select" }, xn = { class: "season-select" };
4845
4874
  function On(e, r, t, o, s, i) {
4846
- const n = $("GscSwitchComponent"), l = $("GSCTournamentSelect"), a = $("GSCSeasonSelect"), c = $("DataIAGenerales"), u = $("DataIAEquipos"), m = $("DataIAJugadores");
4847
- return f(), p("div", Cn, [
4848
- h("div", _n, [
4849
- h("h2", {
4875
+ const n = $("GscSwitchComponent"), a = $("GSCTournamentSelect"), d = $("GSCSeasonSelect"), u = $("DataIAGenerales"), c = $("DataIAEquipos"), h = $("DataIAJugadores");
4876
+ return p(), g("div", Cn, [
4877
+ m("div", _n, [
4878
+ m("h2", {
4850
4879
  class: E(i.headerFontSize)
4851
4880
  }, "Datos inteligencia Artificial", 2),
4852
- h("div", {
4881
+ m("div", {
4853
4882
  class: E(["header-controls", s.containerSizeClass])
4854
4883
  }, [
4855
- h("div", kn, [
4856
- z(n, {
4884
+ m("div", kn, [
4885
+ F(n, {
4857
4886
  type: 2,
4858
- buttons: ["Generales", "Equipos", "Jugadores"],
4887
+ buttons: i.switchOptions,
4859
4888
  "selected-option": s.optionSelected,
4860
4889
  "disabled-options": i.disabledOptions,
4861
4890
  "font-size": "14px",
@@ -4865,19 +4894,20 @@ function On(e, r, t, o, s, i) {
4865
4894
  arrow: !1,
4866
4895
  height: "46px",
4867
4896
  onInput: i.changeTabsGeneral
4868
- }, null, 8, ["selected-option", "disabled-options", "width", "onInput"])
4897
+ }, null, 8, ["buttons", "selected-option", "disabled-options", "width", "onInput"])
4869
4898
  ]),
4870
- h("div", Tn, [
4871
- h("div", In, [
4872
- z(l, {
4899
+ m("div", Tn, [
4900
+ m("div", In, [
4901
+ F(a, {
4873
4902
  width: i.selectWidth,
4874
4903
  "current-season-id": e.currentSeasonId,
4904
+ "tournaments-ids-to-include": e.tournamentsIdsToInclude,
4875
4905
  "api-url": t.tournamentsApiUrl,
4876
4906
  onInput: i.changeTournament
4877
- }, null, 8, ["width", "current-season-id", "api-url", "onInput"])
4907
+ }, null, 8, ["width", "current-season-id", "tournaments-ids-to-include", "api-url", "onInput"])
4878
4908
  ]),
4879
- h("div", xn, [
4880
- z(a, {
4909
+ m("div", xn, [
4910
+ F(d, {
4881
4911
  width: i.selectWidth,
4882
4912
  "current-season-id": e.currentSeasonId,
4883
4913
  seasons: s.selectedTournament.seasons,
@@ -4887,34 +4917,35 @@ function On(e, r, t, o, s, i) {
4887
4917
  ])
4888
4918
  ], 2)
4889
4919
  ]),
4890
- h("div", {
4920
+ m("div", {
4891
4921
  class: E(["cards-container", s.containerSizeClass]),
4892
4922
  style: { width: "100%" }
4893
4923
  }, [
4894
- Q(z(c, {
4924
+ Q(F(u, {
4895
4925
  "current-season-id": s.seasonActive,
4896
4926
  onMostProductive: i.handleMostProductive
4897
4927
  }, null, 8, ["current-season-id", "onMostProductive"]), [
4898
4928
  [re, s.optionSelected === "Generales"]
4899
4929
  ]),
4900
- s.torneoLiderId ? Q((f(), q(u, {
4930
+ s.torneoLiderId ? Q((p(), W(c, {
4901
4931
  key: 0,
4902
4932
  "current-season-id": s.seasonActive,
4903
4933
  "torneo-lider-id": s.torneoLiderId
4904
4934
  }, null, 8, ["current-season-id", "torneo-lider-id"])), [
4905
4935
  [re, s.optionSelected === "Equipos"]
4906
- ]) : S("", !0),
4907
- s.mostProductivePlayerId ? Q((f(), q(m, {
4936
+ ]) : v("", !0),
4937
+ s.mostProductivePlayerId ? Q((p(), W(h, {
4908
4938
  key: 1,
4909
4939
  "current-season-id": s.seasonActive,
4910
- "most-productive-player": s.mostProductivePlayerId
4911
- }, null, 8, ["current-season-id", "most-productive-player"])), [
4912
- [re, s.optionSelected === "Jugadores"]
4913
- ]) : S("", !0)
4940
+ "most-productive-player": s.mostProductivePlayerId,
4941
+ "is-female": s.isFemale
4942
+ }, null, 8, ["current-season-id", "most-productive-player", "is-female"])), [
4943
+ [re, s.optionSelected === "Jugadores" || s.optionSelected === "Jugadoras"]
4944
+ ]) : v("", !0)
4914
4945
  ], 2)
4915
4946
  ], 512);
4916
4947
  }
4917
- const Pn = /* @__PURE__ */ Te(vn, [["render", On], ["__scopeId", "data-v-64df3f2a"]]);
4948
+ const An = /* @__PURE__ */ Te(vn, [["render", On], ["__scopeId", "data-v-41b1b590"]]);
4918
4949
  export {
4919
- Pn as GSCDataIA
4950
+ An as GSCDataIA
4920
4951
  };