@golstats/lilini-player-detection 1.0.31 → 1.0.32

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.
@@ -1,5 +1,5 @@
1
1
  import { useCssVars as E, computed as c, createElementBlock as d, openBlock as i, normalizeStyle as $, createElementVNode as o, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as H, popScopeId as R } from "vue";
2
- import { J as T, Z as m } from "./index-jw5Zc461.js";
2
+ import { J as T, Z as m } from "./index-Cpv9HV_3.js";
3
3
  const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, J = { class: "details__body" }, z = { class: "details__body__playing-as" }, F = ["onClick"], L = { class: "details__header" }, N = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), U = { class: "details__header__checkbox" }, D = { class: "details__body" }, j = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], P = {
4
4
  __name: "FilterConditions",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { useCssVars as E, computed as c, createElementBlock as s, openBlock as i, normalizeStyle as V, createElementVNode as d, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as $, popScopeId as H } from "vue";
2
- import { f as T, l as m } from "./index-jw5Zc461.js";
2
+ import { f as T, l as m } from "./index-Cpv9HV_3.js";
3
3
  const n = (o) => ($("data-v-80d9c265"), o = o(), H(), o), R = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, z = { class: "details__body" }, F = { class: "details__body__playing-as" }, L = ["onClick"], N = { class: "details__header" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), D = { class: "details__header__checkbox" }, J = { class: "details__body" }, j = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], P = {
4
4
  __name: "FilterConditions",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { ref as r, createElementBlock as a, openBlock as n, createVNode as c, unref as f } from "vue";
2
- import { f as d, j as u } from "./index-jw5Zc461.js";
2
+ import { f as d, j as u } from "./index-Cpv9HV_3.js";
3
3
  const m = { class: "filter-field" }, i = {
4
4
  __name: "FilterField",
5
5
  setup(s) {
@@ -1,5 +1,5 @@
1
1
  import { ref as r, createElementBlock as a, openBlock as n, createVNode as c, unref as u } from "vue";
2
- import { J as d, q as i } from "./index-jw5Zc461.js";
2
+ import { J as d, q as i } from "./index-Cpv9HV_3.js";
3
3
  const f = { class: "filter-field" }, m = {
4
4
  __name: "FilterField",
5
5
  setup(p) {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as a, openBlock as r, Fragment as t, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
2
- import { f as l, l as y } from "./index-jw5Zc461.js";
2
+ import { f as l, l as y } from "./index-Cpv9HV_3.js";
3
3
  const b = { class: "subcategory-group" }, g = {
4
4
  __name: "SubcategoryGroup",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as r, Fragment as a, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
2
- import { J as l, Z as g } from "./index-jw5Zc461.js";
2
+ import { J as l, Z as g } from "./index-Cpv9HV_3.js";
3
3
  const y = { class: "subcategory-group" }, b = {
4
4
  __name: "SubcategoryGroup",
5
5
  props: {
@@ -10029,11 +10029,11 @@ const Ub = { class: "dropdown" }, zb = { class: "selected-item" }, Hb = {
10029
10029
  },
10030
10030
  setup(e) {
10031
10031
  const t = e, a = ei(
10032
- () => import("./FilterSubcategories-a9b32cc9-4PBEMwhf.js")
10032
+ () => import("./FilterSubcategories-a9b32cc9-xuNUNIAa.js")
10033
10033
  ), i = ei(
10034
- () => import("./FilterConditions-55d68355-DSace4FN.js")
10034
+ () => import("./FilterConditions-55d68355-ZhqbxnS0.js")
10035
10035
  ), s = ei(
10036
- () => import("./FilterField-59a73e38-D6Be_OrT.js")
10036
+ () => import("./FilterField-59a73e38-CQh-Hx0E.js")
10037
10037
  ), o = [
10038
10038
  {
10039
10039
  name: "Sub categorías",
@@ -26720,11 +26720,11 @@ const VM = { class: "dropdown" }, NM = { class: "selected-item" }, DM = {
26720
26720
  },
26721
26721
  setup(e) {
26722
26722
  const t = e, a = ei(
26723
- () => import("./FilterSubcategories-a9b32cc9-Bb3g52Z6-k25uoBqz.js")
26723
+ () => import("./FilterSubcategories-a9b32cc9-Bb3g52Z6-cL13muob.js")
26724
26724
  ), i = ei(
26725
- () => import("./FilterConditions-55d68355-g8Y16HQC-0XHT7Lhm.js")
26725
+ () => import("./FilterConditions-55d68355-g8Y16HQC-z-hU6X69.js")
26726
26726
  ), s = ei(
26727
- () => import("./FilterField-59a73e38-CIb0_NTi-DcVBpLGr.js")
26727
+ () => import("./FilterField-59a73e38-CIb0_NTi-C1CQK5J8.js")
26728
26728
  ), o = [
26729
26729
  {
26730
26730
  name: "Sub categorías",
@@ -40470,7 +40470,7 @@ const {
40470
40470
  a("open-media", f);
40471
40471
  }
40472
40472
  const d = (f) => {
40473
- var g, p, y;
40473
+ var g, p, y, c;
40474
40474
  return {
40475
40475
  objeto_player: f,
40476
40476
  player_photo: f.photo,
@@ -40478,7 +40478,7 @@ const {
40478
40478
  player_id: f.player_id,
40479
40479
  player_age: r(f.dob),
40480
40480
  team_name: f.team_name || ((g = i.playerAddtionalData[f.player_id]) == null ? void 0 : g.team_name) || "-",
40481
- team_id: f.team_id,
40481
+ team_id: ((p = i.playerAddtionalData[f.player_id]) == null ? void 0 : p.team_id) || 0,
40482
40482
  team_logo: "https://golstatsimages.blob.core.windows.net/teams-80/" + f.team_id + ".png",
40483
40483
  position_name: Dc.get(f.position_id) || "",
40484
40484
  player_games: f.games_played || 0,
@@ -40486,23 +40486,23 @@ const {
40486
40486
  player_position: f.position_id,
40487
40487
  player_country: PJ[`${f.nationality_id}`] || f.nationality,
40488
40488
  player_country_flag: "https://golstatsimages.blob.core.windows.net/flags/" + f.nationality_id + ".jpg",
40489
- league_name: (p = i.playerAddtionalData[f.player_id]) == null ? void 0 : p.tournament_name,
40489
+ league_name: (y = i.playerAddtionalData[f.player_id]) == null ? void 0 : y.tournament_name,
40490
40490
  seasons: [],
40491
- season_id: ((y = i.playerAddtionalData[f.player_id]) == null ? void 0 : y.season_id) || 0,
40492
- stats: i.typeProductivity === 2 ? f.stats.map((c) => ({
40493
- category_id: c[4],
40494
- custom_category_id: c[0],
40495
- name: c[1].replace(/\([^)]*\)/g, "").trim().toLowerCase().replace(/^\w/, (b) => b.toUpperCase()),
40496
- parameters: c.parameters,
40497
- total: c[2],
40498
- seasons: c[3]
40499
- })) : f.internal_stats.map((c) => ({
40500
- category_id: c[4],
40501
- custom_category_id: c[0],
40502
- name: c[1].replace(/\([^)]*\)/g, "").trim().toLowerCase().replace(/^\w/, (b) => b.toUpperCase()),
40503
- parameters: c.parameters,
40504
- total: c[2],
40505
- seasons: c[3]
40491
+ season_id: ((c = i.playerAddtionalData[f.player_id]) == null ? void 0 : c.season_id) || 0,
40492
+ stats: i.typeProductivity === 2 ? f.stats.map((b) => ({
40493
+ category_id: b[4],
40494
+ custom_category_id: b[0],
40495
+ name: b[1].replace(/\([^)]*\)/g, "").trim().toLowerCase().replace(/^\w/, (w) => w.toUpperCase()),
40496
+ parameters: b.parameters,
40497
+ total: b[2],
40498
+ seasons: b[3]
40499
+ })) : f.internal_stats.map((b) => ({
40500
+ category_id: b[4],
40501
+ custom_category_id: b[0],
40502
+ name: b[1].replace(/\([^)]*\)/g, "").trim().toLowerCase().replace(/^\w/, (w) => w.toUpperCase()),
40503
+ parameters: b.parameters,
40504
+ total: b[2],
40505
+ seasons: b[3]
40506
40506
  }))
40507
40507
  };
40508
40508
  }, h = I(() => i.playersScouting ? [...Object.values(i.playersScouting)].map((p) => {
@@ -40539,7 +40539,7 @@ const {
40539
40539
  }, null, 8, ["players", "lists", "token", "user-id"]))
40540
40540
  ]));
40541
40541
  }
40542
- }, VJ = /* @__PURE__ */ ia(IJ, [["__scopeId", "data-v-57413f43"]]), NJ = { class: "title" }, DJ = ["disabled"], jJ = {
40542
+ }, VJ = /* @__PURE__ */ ia(IJ, [["__scopeId", "data-v-03fc321d"]]), NJ = { class: "title" }, DJ = ["disabled"], jJ = {
40543
40543
  key: 0,
40544
40544
  class: "loading-spinner"
40545
40545
  }, UJ = { key: 1 }, zJ = { key: 2 }, HJ = { class: "settings-row" }, WJ = { class: "switch-track" }, qJ = { class: "selector-container" }, GJ = {