@golstats/gsc-top-player 1.1.1 → 1.1.2
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.
- package/dist/{FilterConditions-e6c1cf0d-CR6046FF.js → FilterConditions-33ce2100-BdE1vYE7.js} +1 -1
- package/dist/{FilterField-5dfcd3ba-B5krjHfM.js → FilterField-0f3013eb-DwYb-xkF.js} +1 -1
- package/dist/{FilterSubcategories-eb0e7102-DP67Y6JD.js → FilterSubcategories-4c69ac5b-B8IgttLN.js} +1 -1
- package/dist/gsc-top-player.css +1 -1
- package/dist/gsc-top-player.es.js +1 -1
- package/dist/gsc-top-player.umd.js +5 -5
- package/dist/{index-CffQSWF3.js → index-DnoB2hRC.js} +70 -81
- package/package.json +4 -4
- package/src/components/comparative/gsc-tops-full.vue +0 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as A, onMounted as Dt, onUnmounted as ga, openBlock as h, createElementBlock as y, normalizeStyle as I, normalizeClass as u, createCommentVNode as S, toDisplayString as C, createElementVNode as o, useCssVars as Y, resolveComponent as ae, Fragment as O, createTextVNode as Z, createVNode as F, pushScopeId as
|
|
1
|
+
import { ref as A, onMounted as Dt, onUnmounted as ga, openBlock as h, createElementBlock as y, normalizeStyle as I, normalizeClass as u, createCommentVNode as S, toDisplayString as C, createElementVNode as o, useCssVars as Y, resolveComponent as ae, Fragment as O, createTextVNode as Z, createVNode as F, pushScopeId as be, popScopeId as ve, createBlock as $, renderList as Ce, defineComponent as _a, normalizeProps as at, guardReactiveProps as nt, computed as J, unref as de, mergeProps as $t, withCtx as ye, watch as ze, defineAsyncComponent as St, KeepAlive as ba, resolveDynamicComponent as va, onBeforeMount as Ta, renderSlot as Ts, Transition as wa, withDirectives as ws, vShow as Ss } from "vue";
|
|
2
2
|
function Ti(e, s) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(s, arguments);
|
|
@@ -70,7 +70,7 @@ function Pi(e, s) {
|
|
|
70
70
|
return n;
|
|
71
71
|
return null;
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const fe = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, xi = (e) => !Pe(e) && e !== fe;
|
|
74
74
|
function Et() {
|
|
75
75
|
const { caseless: e, skipUndefined: s } = xi(this) && this || {}, t = {}, i = (n, a) => {
|
|
76
76
|
if (a === "__proto__" || a === "constructor" || a === "prototype")
|
|
@@ -197,15 +197,15 @@ const on = (e) => {
|
|
|
197
197
|
return i;
|
|
198
198
|
};
|
|
199
199
|
return t(e, 0);
|
|
200
|
-
}, ln = Q("AsyncFunction"), dn = (e) => e && (Le(e) || j(e)) && j(e.then) && j(e.catch), Fi = ((e, s) => e ? setImmediate : s ? ((t, i) => (
|
|
200
|
+
}, ln = Q("AsyncFunction"), dn = (e) => e && (Le(e) || j(e)) && j(e.then) && j(e.catch), Fi = ((e, s) => e ? setImmediate : s ? ((t, i) => (fe.addEventListener(
|
|
201
201
|
"message",
|
|
202
202
|
({ source: n, data: a }) => {
|
|
203
|
-
n ===
|
|
203
|
+
n === fe && a === t && i.length && i.shift()();
|
|
204
204
|
},
|
|
205
205
|
!1
|
|
206
206
|
), (n) => {
|
|
207
|
-
i.push(n),
|
|
208
|
-
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(typeof setImmediate == "function", j(
|
|
207
|
+
i.push(n), fe.postMessage(t, "*");
|
|
208
|
+
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(typeof setImmediate == "function", j(fe.postMessage)), cn = typeof queueMicrotask < "u" ? queueMicrotask.bind(fe) : typeof process < "u" && process.nextTick || Fi, un = (e) => e != null && j(e[rt]), g = {
|
|
209
209
|
isArray: xe,
|
|
210
210
|
isArrayBuffer: Si,
|
|
211
211
|
isBuffer: Ve,
|
|
@@ -257,7 +257,7 @@ const on = (e) => {
|
|
|
257
257
|
noop: an,
|
|
258
258
|
toFiniteNumber: nn,
|
|
259
259
|
findKey: Pi,
|
|
260
|
-
global:
|
|
260
|
+
global: fe,
|
|
261
261
|
isContextDefined: xi,
|
|
262
262
|
isSpecCompliantForm: rn,
|
|
263
263
|
toJSONObject: on,
|
|
@@ -1016,7 +1016,7 @@ function Vi(e, s, t) {
|
|
|
1016
1016
|
return e && (i || t == !1) ? Dn(e, s) : s;
|
|
1017
1017
|
}
|
|
1018
1018
|
const Is = (e) => e instanceof q ? { ...e } : e;
|
|
1019
|
-
function
|
|
1019
|
+
function ge(e, s) {
|
|
1020
1020
|
s = s || {};
|
|
1021
1021
|
const t = {};
|
|
1022
1022
|
function i(c, l, f, b) {
|
|
@@ -1082,7 +1082,7 @@ function _e(e, s) {
|
|
|
1082
1082
|
}), t;
|
|
1083
1083
|
}
|
|
1084
1084
|
const Li = (e) => {
|
|
1085
|
-
const s =
|
|
1085
|
+
const s = ge({}, e);
|
|
1086
1086
|
let { data: t, withXSRFToken: i, xsrfHeaderName: n, xsrfCookieName: a, headers: r, auth: d } = s;
|
|
1087
1087
|
if (s.headers = r = q.from(r), s.url = Ii(
|
|
1088
1088
|
Vi(s.baseURL, s.url, s.allowAbsoluteUrls),
|
|
@@ -1356,8 +1356,8 @@ const Li = (e) => {
|
|
|
1356
1356
|
method: "POST",
|
|
1357
1357
|
body: x,
|
|
1358
1358
|
duplex: "half"
|
|
1359
|
-
}),
|
|
1360
|
-
if (g.isFormData(x) && (
|
|
1359
|
+
}), we;
|
|
1360
|
+
if (g.isFormData(x) && (we = oe.headers.get("content-type")) && ne.setContentType(we), oe.body) {
|
|
1361
1361
|
const [wt, je] = As(
|
|
1362
1362
|
gs,
|
|
1363
1363
|
et(Es(G))
|
|
@@ -1383,8 +1383,8 @@ const Li = (e) => {
|
|
|
1383
1383
|
["status", "statusText", "headers"].forEach((vs) => {
|
|
1384
1384
|
oe[vs] = re[vs];
|
|
1385
1385
|
});
|
|
1386
|
-
const
|
|
1387
|
-
|
|
1386
|
+
const we = g.toFiniteNumber(re.headers.get("content-length")), [wt, je] = B && As(
|
|
1387
|
+
we,
|
|
1388
1388
|
et(Es(B), !0)
|
|
1389
1389
|
) || [];
|
|
1390
1390
|
re = new i(
|
|
@@ -1399,8 +1399,8 @@ const Li = (e) => {
|
|
|
1399
1399
|
re,
|
|
1400
1400
|
m
|
|
1401
1401
|
);
|
|
1402
|
-
return !bs && pe && pe(), await new Promise((oe,
|
|
1403
|
-
Bi(oe,
|
|
1402
|
+
return !bs && pe && pe(), await new Promise((oe, we) => {
|
|
1403
|
+
Bi(oe, we, {
|
|
1404
1404
|
data: ya,
|
|
1405
1405
|
headers: q.from(re.headers),
|
|
1406
1406
|
status: re.status,
|
|
@@ -1560,7 +1560,7 @@ const Ke = {
|
|
|
1560
1560
|
assertOptions: er,
|
|
1561
1561
|
validators: ct
|
|
1562
1562
|
}, K = Ke.validators;
|
|
1563
|
-
let
|
|
1563
|
+
let he = class {
|
|
1564
1564
|
constructor(s) {
|
|
1565
1565
|
this.defaults = s || {}, this.interceptors = {
|
|
1566
1566
|
request: new Fs(),
|
|
@@ -1606,7 +1606,7 @@ let ye = class {
|
|
|
1606
1606
|
}
|
|
1607
1607
|
}
|
|
1608
1608
|
_request(s, t) {
|
|
1609
|
-
typeof s == "string" ? (t = t || {}, t.url = s) : t = s || {}, t =
|
|
1609
|
+
typeof s == "string" ? (t = t || {}, t.url = s) : t = s || {}, t = ge(this.defaults, t);
|
|
1610
1610
|
const { transitional: i, paramsSerializer: n, headers: a } = t;
|
|
1611
1611
|
i !== void 0 && Ke.assertOptions(
|
|
1612
1612
|
i,
|
|
@@ -1679,15 +1679,15 @@ let ye = class {
|
|
|
1679
1679
|
return l;
|
|
1680
1680
|
}
|
|
1681
1681
|
getUri(s) {
|
|
1682
|
-
s =
|
|
1682
|
+
s = ge(this.defaults, s);
|
|
1683
1683
|
const t = Vi(s.baseURL, s.url, s.allowAbsoluteUrls);
|
|
1684
1684
|
return Ii(t, s.params, s.paramsSerializer);
|
|
1685
1685
|
}
|
|
1686
1686
|
};
|
|
1687
1687
|
g.forEach(["delete", "get", "head", "options"], function(s) {
|
|
1688
|
-
|
|
1688
|
+
he.prototype[s] = function(t, i) {
|
|
1689
1689
|
return this.request(
|
|
1690
|
-
|
|
1690
|
+
ge(i || {}, {
|
|
1691
1691
|
method: s,
|
|
1692
1692
|
url: t,
|
|
1693
1693
|
data: (i || {}).data
|
|
@@ -1699,7 +1699,7 @@ g.forEach(["post", "put", "patch"], function(s) {
|
|
|
1699
1699
|
function t(i) {
|
|
1700
1700
|
return function(a, r, d) {
|
|
1701
1701
|
return this.request(
|
|
1702
|
-
|
|
1702
|
+
ge(d || {}, {
|
|
1703
1703
|
method: s,
|
|
1704
1704
|
headers: i ? {
|
|
1705
1705
|
"Content-Type": "multipart/form-data"
|
|
@@ -1710,7 +1710,7 @@ g.forEach(["post", "put", "patch"], function(s) {
|
|
|
1710
1710
|
);
|
|
1711
1711
|
};
|
|
1712
1712
|
}
|
|
1713
|
-
|
|
1713
|
+
he.prototype[s] = t(), he.prototype[s + "Form"] = t(!0);
|
|
1714
1714
|
});
|
|
1715
1715
|
let tr = class Di {
|
|
1716
1716
|
constructor(s) {
|
|
@@ -1868,13 +1868,13 @@ Object.entries(Ot).forEach(([e, s]) => {
|
|
|
1868
1868
|
Ot[s] = e;
|
|
1869
1869
|
});
|
|
1870
1870
|
function $i(e) {
|
|
1871
|
-
const s = new
|
|
1872
|
-
return g.extend(t,
|
|
1873
|
-
return $i(
|
|
1871
|
+
const s = new he(e), t = Ti(he.prototype.request, s);
|
|
1872
|
+
return g.extend(t, he.prototype, s, { allOwnKeys: !0 }), g.extend(t, s, null, { allOwnKeys: !0 }), t.create = function(n) {
|
|
1873
|
+
return $i(ge(e, n));
|
|
1874
1874
|
}, t;
|
|
1875
1875
|
}
|
|
1876
1876
|
const N = $i(We);
|
|
1877
|
-
N.Axios =
|
|
1877
|
+
N.Axios = he;
|
|
1878
1878
|
N.CanceledError = Me;
|
|
1879
1879
|
N.CancelToken = tr;
|
|
1880
1880
|
N.isCancel = zi;
|
|
@@ -1887,7 +1887,7 @@ N.all = function(s) {
|
|
|
1887
1887
|
};
|
|
1888
1888
|
N.spread = sr;
|
|
1889
1889
|
N.isAxiosError = ir;
|
|
1890
|
-
N.mergeConfig =
|
|
1890
|
+
N.mergeConfig = ge;
|
|
1891
1891
|
N.AxiosHeaders = q;
|
|
1892
1892
|
N.formToJSON = (e) => Ni(g.isHTMLForm(e) ? new FormData(e) : e);
|
|
1893
1893
|
N.getAdapter = Wi.getAdapter;
|
|
@@ -1911,7 +1911,7 @@ const {
|
|
|
1911
1911
|
getAdapter: X2,
|
|
1912
1912
|
mergeConfig: Q2
|
|
1913
1913
|
} = N;
|
|
1914
|
-
function
|
|
1914
|
+
function Se(e, s, t) {
|
|
1915
1915
|
if (s == null || s <= 1)
|
|
1916
1916
|
return e;
|
|
1917
1917
|
const i = t ? `https://dev-apis.golstats.com/${s}/` : `https://apis.golstats.com/${s}/`, n = new URL(e);
|
|
@@ -3880,7 +3880,7 @@ const $p = {
|
|
|
3880
3880
|
}));
|
|
3881
3881
|
}, Zs = Qt.setup;
|
|
3882
3882
|
Qt.setup = Zs ? (e, s) => (Ks(), Zs(e, s)) : Ks;
|
|
3883
|
-
const qp = (e) => (
|
|
3883
|
+
const qp = (e) => (be("data-v-f3ee6b2b"), e = e(), ve(), e), Hp = ["src"], Jp = {
|
|
3884
3884
|
key: 1,
|
|
3885
3885
|
class: "text"
|
|
3886
3886
|
}, Kp = ["src"], Zp = { class: "stats" }, Yp = /* @__PURE__ */ qp(() => /* @__PURE__ */ o("img", {
|
|
@@ -5110,9 +5110,9 @@ const Of = {
|
|
|
5110
5110
|
this.isloading = !0;
|
|
5111
5111
|
let p = {};
|
|
5112
5112
|
if (this.typeData === 0 ? p = await d.get(
|
|
5113
|
-
|
|
5113
|
+
Se(this.url, this.provider, this.isDevApis) + "/" + this.gameId + "/" + this.category
|
|
5114
5114
|
) : p = await d.get(
|
|
5115
|
-
|
|
5115
|
+
Se(this.urlPrematch, this.provider, this.isDevApis) + r + "/" + this.category + "?t=" + this.game.home_team + "&t=" + this.game.visiting_team
|
|
5116
5116
|
), p && p.data && p.data.data && p.data.data.length > 0) {
|
|
5117
5117
|
i = p.data.data.map((l) => this.formatStatsData(l)), p.data.teams.forEach((l) => {
|
|
5118
5118
|
n[l[0]] = {}, n[l[0]].id = l[0], n[l[0]].name = l[1], n[l[0]].abrv = l[2], n[l[0]].img = l[3], n[l[0]].effectiveness = l[4], n[l[0]].games_played = l[5], n[l[0]].games_played_lastseason = l[6], n[l[0]].positiontable = l[7], n[l[0]].goals = l[8], n[l[0]].goalsrecived = l[9], n[l[0]].xg = l[10], n[l[0]].frecuency = l[11], n[l[0]].game_avg = l[12], n[l[0]].game_avg_last_season = l[13];
|
|
@@ -5821,7 +5821,7 @@ const $f = /* @__PURE__ */ ce(ts, [["render", Df], ["__scopeId", "data-v-197d4b0
|
|
|
5821
5821
|
}));
|
|
5822
5822
|
}, si = ss.setup;
|
|
5823
5823
|
ss.setup = si ? (e, s) => (ti(), si(e, s)) : ti;
|
|
5824
|
-
const sm = (e) => (
|
|
5824
|
+
const sm = (e) => (be("data-v-f3ee6b2b"), e = e(), ve(), e), im = ["src"], am = {
|
|
5825
5825
|
key: 1,
|
|
5826
5826
|
class: "text"
|
|
5827
5827
|
}, nm = ["src"], rm = { class: "stats" }, om = /* @__PURE__ */ sm(() => /* @__PURE__ */ o("img", {
|
|
@@ -6157,7 +6157,7 @@ const um = /* @__PURE__ */ tm(ss, [["render", cm], ["__scopeId", "data-v-f3ee6b2
|
|
|
6157
6157
|
], 6)
|
|
6158
6158
|
], 4),
|
|
6159
6159
|
F(wa, null, {
|
|
6160
|
-
default:
|
|
6160
|
+
default: ye(() => [
|
|
6161
6161
|
ws(o("div", gm, [
|
|
6162
6162
|
o("div", null, [
|
|
6163
6163
|
o("div", {
|
|
@@ -6313,7 +6313,7 @@ const um = /* @__PURE__ */ tm(ss, [["render", cm], ["__scopeId", "data-v-f3ee6b2
|
|
|
6313
6313
|
}));
|
|
6314
6314
|
}, ai = ns.setup;
|
|
6315
6315
|
ns.setup = ai ? (e, s) => (ii(), ai(e, s)) : ii;
|
|
6316
|
-
const Tm = (e) => (
|
|
6316
|
+
const Tm = (e) => (be("data-v-f3ee6b2b"), e = e(), ve(), e), wm = ["src"], Sm = {
|
|
6317
6317
|
key: 1,
|
|
6318
6318
|
class: "text"
|
|
6319
6319
|
}, Cm = ["src"], Pm = { class: "stats" }, xm = /* @__PURE__ */ Tm(() => /* @__PURE__ */ o("img", {
|
|
@@ -7134,7 +7134,7 @@ function Ki(e, s) {
|
|
|
7134
7134
|
return n;
|
|
7135
7135
|
return null;
|
|
7136
7136
|
}
|
|
7137
|
-
const
|
|
7137
|
+
const me = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Zi = (e) => !Be(e) && e !== me;
|
|
7138
7138
|
function zt() {
|
|
7139
7139
|
const { caseless: e } = Zi(this) && this || {}, s = {}, t = (i, n) => {
|
|
7140
7140
|
const a = e && Ki(s, n) || n;
|
|
@@ -7245,14 +7245,14 @@ const Yh = (e) => {
|
|
|
7245
7245
|
return i;
|
|
7246
7246
|
};
|
|
7247
7247
|
return t(e, 0);
|
|
7248
|
-
}, Xh = ee("AsyncFunction"), Qh = (e) => e && (mt(e) || H(e)) && H(e.then) && H(e.catch), Xi = ((e, s) => e ? setImmediate : s ? ((t, i) => (
|
|
7249
|
-
n ===
|
|
7248
|
+
}, Xh = ee("AsyncFunction"), Qh = (e) => e && (mt(e) || H(e)) && H(e.then) && H(e.catch), Xi = ((e, s) => e ? setImmediate : s ? ((t, i) => (me.addEventListener("message", ({ source: n, data: a }) => {
|
|
7249
|
+
n === me && a === t && i.length && i.shift()();
|
|
7250
7250
|
}, !1), (n) => {
|
|
7251
|
-
i.push(n),
|
|
7251
|
+
i.push(n), me.postMessage(t, "*");
|
|
7252
7252
|
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
|
|
7253
7253
|
typeof setImmediate == "function",
|
|
7254
|
-
H(
|
|
7255
|
-
), ey = typeof queueMicrotask < "u" ? queueMicrotask.bind(
|
|
7254
|
+
H(me.postMessage)
|
|
7255
|
+
), ey = typeof queueMicrotask < "u" ? queueMicrotask.bind(me) : typeof process < "u" && process.nextTick || Xi, ty = (e) => e != null && H(e[ut]), _ = {
|
|
7256
7256
|
isArray: Re,
|
|
7257
7257
|
isArrayBuffer: Hi,
|
|
7258
7258
|
isBuffer: _h,
|
|
@@ -7301,7 +7301,7 @@ const Yh = (e) => {
|
|
|
7301
7301
|
noop: Jh,
|
|
7302
7302
|
toFiniteNumber: Kh,
|
|
7303
7303
|
findKey: Ki,
|
|
7304
|
-
global:
|
|
7304
|
+
global: me,
|
|
7305
7305
|
isContextDefined: Zi,
|
|
7306
7306
|
isSpecCompliantForm: Zh,
|
|
7307
7307
|
toJSONObject: Yh,
|
|
@@ -8007,7 +8007,7 @@ function la(e, s, t) {
|
|
|
8007
8007
|
return e && (i || t == !1) ? Ey(e, s) : s;
|
|
8008
8008
|
}
|
|
8009
8009
|
const mi = (e) => e instanceof X ? { ...e } : e;
|
|
8010
|
-
function
|
|
8010
|
+
function _e(e, s) {
|
|
8011
8011
|
s = s || {};
|
|
8012
8012
|
const t = {};
|
|
8013
8013
|
function i(c, l, f, b) {
|
|
@@ -8074,7 +8074,7 @@ function be(e, s) {
|
|
|
8074
8074
|
}), t;
|
|
8075
8075
|
}
|
|
8076
8076
|
const da = (e) => {
|
|
8077
|
-
const s =
|
|
8077
|
+
const s = _e({}, e);
|
|
8078
8078
|
let { data: t, withXSRFToken: i, xsrfHeaderName: n, xsrfCookieName: a, headers: r, auth: d } = s;
|
|
8079
8079
|
s.headers = r = X.from(r), s.url = ia(la(s.baseURL, s.url, s.allowAbsoluteUrls), e.params, e.paramsSerializer), d && r.set(
|
|
8080
8080
|
"Authorization",
|
|
@@ -8505,7 +8505,7 @@ class it {
|
|
|
8505
8505
|
}
|
|
8506
8506
|
}
|
|
8507
8507
|
_request(s, t) {
|
|
8508
|
-
typeof s == "string" ? (t = t || {}, t.url = s) : t = s || {}, t =
|
|
8508
|
+
typeof s == "string" ? (t = t || {}, t.url = s) : t = s || {}, t = _e(this.defaults, t);
|
|
8509
8509
|
const { transitional: i, paramsSerializer: n, headers: a } = t;
|
|
8510
8510
|
i !== void 0 && Xe.assertOptions(i, {
|
|
8511
8511
|
silentJSONParsing: te.transitional(te.boolean),
|
|
@@ -8567,14 +8567,14 @@ class it {
|
|
|
8567
8567
|
return l;
|
|
8568
8568
|
}
|
|
8569
8569
|
getUri(s) {
|
|
8570
|
-
s =
|
|
8570
|
+
s = _e(this.defaults, s);
|
|
8571
8571
|
const t = la(s.baseURL, s.url, s.allowAbsoluteUrls);
|
|
8572
8572
|
return ia(t, s.params, s.paramsSerializer);
|
|
8573
8573
|
}
|
|
8574
8574
|
}
|
|
8575
8575
|
_.forEach(["delete", "get", "head", "options"], function(e) {
|
|
8576
8576
|
it.prototype[e] = function(s, t) {
|
|
8577
|
-
return this.request(
|
|
8577
|
+
return this.request(_e(t || {}, {
|
|
8578
8578
|
method: e,
|
|
8579
8579
|
url: s,
|
|
8580
8580
|
data: (t || {}).data
|
|
@@ -8584,7 +8584,7 @@ _.forEach(["delete", "get", "head", "options"], function(e) {
|
|
|
8584
8584
|
_.forEach(["post", "put", "patch"], function(e) {
|
|
8585
8585
|
function s(t) {
|
|
8586
8586
|
return function(i, n, a) {
|
|
8587
|
-
return this.request(
|
|
8587
|
+
return this.request(_e(a || {}, {
|
|
8588
8588
|
method: e,
|
|
8589
8589
|
headers: t ? {
|
|
8590
8590
|
"Content-Type": "multipart/form-data"
|
|
@@ -8752,7 +8752,7 @@ const Ky = Wt;
|
|
|
8752
8752
|
function ma(e) {
|
|
8753
8753
|
const s = new Qe(e), t = ji(Qe.prototype.request, s);
|
|
8754
8754
|
return _.extend(t, Qe.prototype, s, { allOwnKeys: !0 }), _.extend(t, s, null, { allOwnKeys: !0 }), t.create = function(i) {
|
|
8755
|
-
return ma(
|
|
8755
|
+
return ma(_e(e, i));
|
|
8756
8756
|
}, t;
|
|
8757
8757
|
}
|
|
8758
8758
|
const V = ma(us);
|
|
@@ -8769,7 +8769,7 @@ V.all = function(e) {
|
|
|
8769
8769
|
};
|
|
8770
8770
|
V.spread = Hy;
|
|
8771
8771
|
V.isAxiosError = Jy;
|
|
8772
|
-
V.mergeConfig =
|
|
8772
|
+
V.mergeConfig = _e;
|
|
8773
8773
|
V.AxiosHeaders = X;
|
|
8774
8774
|
V.formToJSON = (e) => na(_.isHTMLForm(e) ? new FormData(e) : e);
|
|
8775
8775
|
V.getAdapter = pa.getAdapter;
|
|
@@ -8985,10 +8985,10 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
8985
8985
|
items: e.items,
|
|
8986
8986
|
onInput: t
|
|
8987
8987
|
}), {
|
|
8988
|
-
default:
|
|
8988
|
+
default: ye(({ selectedItem: a }) => [
|
|
8989
8989
|
o("div", Qy, C(e.itemTextKey ? a[e.itemTextKey] : a), 1)
|
|
8990
8990
|
]),
|
|
8991
|
-
availableItem:
|
|
8991
|
+
availableItem: ye(({ item: a }) => [
|
|
8992
8992
|
o("div", null, C(e.itemTextKey ? a[e.itemTextKey] : a), 1)
|
|
8993
8993
|
]),
|
|
8994
8994
|
_: 1
|
|
@@ -9016,7 +9016,7 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
9016
9016
|
items: e.items,
|
|
9017
9017
|
onInput: t
|
|
9018
9018
|
}), {
|
|
9019
|
-
default:
|
|
9019
|
+
default: ye(({ selectedItem: a }) => [
|
|
9020
9020
|
o("div", s1, [
|
|
9021
9021
|
a.homeTeam ? (h(), y("div", i1, [
|
|
9022
9022
|
o("div", a1, C(a.roundAbbreviation), 1),
|
|
@@ -9038,7 +9038,7 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
9038
9038
|
])) : S("", !0)
|
|
9039
9039
|
])
|
|
9040
9040
|
]),
|
|
9041
|
-
availableItem:
|
|
9041
|
+
availableItem: ye(({ item: a }) => [
|
|
9042
9042
|
o("div", p1, [
|
|
9043
9043
|
o("div", null, C(a.roundAbbreviation), 1),
|
|
9044
9044
|
o("div", f1, [
|
|
@@ -9062,7 +9062,7 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
9062
9062
|
}, 16, ["items"])
|
|
9063
9063
|
]));
|
|
9064
9064
|
}
|
|
9065
|
-
}, vt = /* @__PURE__ */ ie(v1, [["__scopeId", "data-v-7883a91e"]]), Tt = (e) => (
|
|
9065
|
+
}, vt = /* @__PURE__ */ ie(v1, [["__scopeId", "data-v-7883a91e"]]), Tt = (e) => (be("data-v-b63e9c84"), e = e(), ve(), e), T1 = { class: "container" }, w1 = { class: "container__row" }, S1 = { class: "container__row__wrapper" }, C1 = /* @__PURE__ */ Tt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "1. Elige la liga", -1)), P1 = { class: "container__row__wrapper__input" }, x1 = { class: "container__row two-items" }, R1 = { class: "container__row__wrapper" }, F1 = /* @__PURE__ */ Tt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "2. Elige el torneo", -1)), k1 = {
|
|
9066
9066
|
key: 0,
|
|
9067
9067
|
class: "container__row__wrapper__input"
|
|
9068
9068
|
}, A1 = { class: "container__row__wrapper" }, E1 = /* @__PURE__ */ Tt(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "3. Elige la jornada", -1)), I1 = {
|
|
@@ -9173,7 +9173,7 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
9173
9173
|
items: e.items,
|
|
9174
9174
|
onInput: t
|
|
9175
9175
|
}), {
|
|
9176
|
-
default:
|
|
9176
|
+
default: ye(({ selectedItem: a }) => [
|
|
9177
9177
|
o("div", M1, [
|
|
9178
9178
|
o("div", D1, [
|
|
9179
9179
|
o("img", {
|
|
@@ -9184,7 +9184,7 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
9184
9184
|
o("div", U1, C(a.acronym), 1)
|
|
9185
9185
|
])
|
|
9186
9186
|
]),
|
|
9187
|
-
availableItem:
|
|
9187
|
+
availableItem: ye(({ item: a }) => [
|
|
9188
9188
|
o("div", j1, [
|
|
9189
9189
|
o("div", q1, [
|
|
9190
9190
|
o("img", {
|
|
@@ -9209,11 +9209,11 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
9209
9209
|
},
|
|
9210
9210
|
setup(e) {
|
|
9211
9211
|
const s = e, t = St(
|
|
9212
|
-
() => import("./FilterSubcategories-
|
|
9212
|
+
() => import("./FilterSubcategories-4c69ac5b-B8IgttLN.js")
|
|
9213
9213
|
), i = St(
|
|
9214
|
-
() => import("./FilterConditions-
|
|
9214
|
+
() => import("./FilterConditions-33ce2100-BdE1vYE7.js")
|
|
9215
9215
|
), n = St(
|
|
9216
|
-
() => import("./FilterField-
|
|
9216
|
+
() => import("./FilterField-0f3013eb-DwYb-xkF.js")
|
|
9217
9217
|
), a = [
|
|
9218
9218
|
{
|
|
9219
9219
|
name: "Sub categorías",
|
|
@@ -9247,19 +9247,19 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
9247
9247
|
])
|
|
9248
9248
|
]));
|
|
9249
9249
|
}
|
|
9250
|
-
}, ms = /* @__PURE__ */ ie(e0, [["__scopeId", "data-v-c62c5b9c"]]),
|
|
9250
|
+
}, ms = /* @__PURE__ */ ie(e0, [["__scopeId", "data-v-c62c5b9c"]]), Te = (e) => (be("data-v-575b26b5"), e = e(), ve(), e), t0 = { class: "container" }, s0 = { class: "container__row" }, i0 = { class: "container__row__wrapper" }, a0 = /* @__PURE__ */ Te(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "1. Elige la liga", -1)), n0 = { class: "container__row__wrapper__input" }, r0 = { class: "container__row two-items" }, o0 = { class: "container__row__wrapper" }, l0 = /* @__PURE__ */ Te(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "2. Elige el torneo", -1)), d0 = {
|
|
9251
9251
|
key: 0,
|
|
9252
9252
|
class: "container__row__wrapper__input"
|
|
9253
|
-
}, c0 = { class: "container__row__wrapper" }, u0 = /* @__PURE__ */
|
|
9253
|
+
}, c0 = { class: "container__row__wrapper" }, u0 = /* @__PURE__ */ Te(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "3. En que equipo juega?", -1)), p0 = {
|
|
9254
9254
|
key: 0,
|
|
9255
9255
|
class: "container__row__wrapper__input"
|
|
9256
|
-
}, f0 = { class: "container__row" }, m0 = { class: "container__row__wrapper" }, h0 = /* @__PURE__ */
|
|
9256
|
+
}, f0 = { class: "container__row" }, m0 = { class: "container__row__wrapper" }, h0 = /* @__PURE__ */ Te(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "4. Nombre del jugador", -1)), y0 = {
|
|
9257
9257
|
key: 0,
|
|
9258
9258
|
class: "container__row__wrapper__input"
|
|
9259
|
-
}, g0 = { class: "container__row" }, _0 = { class: "container__row__wrapper" }, b0 = /* @__PURE__ */
|
|
9259
|
+
}, g0 = { class: "container__row" }, _0 = { class: "container__row__wrapper" }, b0 = /* @__PURE__ */ Te(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "5. Elige el partido", -1)), v0 = {
|
|
9260
9260
|
key: 0,
|
|
9261
9261
|
class: "container__row__wrapper__input"
|
|
9262
|
-
}, T0 = { class: "container__row type-and-advanced" }, w0 = { class: "container__row__wrapper" }, S0 = /* @__PURE__ */
|
|
9262
|
+
}, T0 = { class: "container__row type-and-advanced" }, w0 = { class: "container__row__wrapper" }, S0 = /* @__PURE__ */ Te(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "6. Elige el tipo de video", -1)), C0 = { class: "container__row__wrapper__input" }, P0 = { class: "container__row__wrapper center" }, x0 = /* @__PURE__ */ Te(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "Filtrado avanzado", -1)), R0 = { class: "container__row__wrapper__input" }, F0 = { class: "container__row" }, k0 = { class: "container__action" }, A0 = {
|
|
9263
9263
|
__name: "VideosPlayer",
|
|
9264
9264
|
props: {
|
|
9265
9265
|
tournaments: {
|
|
@@ -9395,7 +9395,7 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
9395
9395
|
])
|
|
9396
9396
|
], 64));
|
|
9397
9397
|
}
|
|
9398
|
-
}, E0 = /* @__PURE__ */ ie(A0, [["__scopeId", "data-v-575b26b5"]]), ke = (e) => (
|
|
9398
|
+
}, E0 = /* @__PURE__ */ ie(A0, [["__scopeId", "data-v-575b26b5"]]), ke = (e) => (be("data-v-6d73d5e6"), e = e(), ve(), e), I0 = { class: "container" }, N0 = { class: "container__row" }, O0 = { class: "container__row__wrapper" }, z0 = /* @__PURE__ */ ke(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "1. Elige la liga", -1)), B0 = { class: "container__row__wrapper__input" }, V0 = { class: "container__row two-items" }, L0 = { class: "container__row__wrapper" }, G0 = /* @__PURE__ */ ke(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "2. Elige el torneo", -1)), W0 = {
|
|
9399
9399
|
key: 0,
|
|
9400
9400
|
class: "container__row__wrapper__input"
|
|
9401
9401
|
}, M0 = { class: "container__row__wrapper" }, D0 = /* @__PURE__ */ ke(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "3. Elige el equipo", -1)), $0 = {
|
|
@@ -9524,7 +9524,7 @@ const Xy = { class: "dropdown" }, Qy = { class: "selected-item" }, e1 = {
|
|
|
9524
9524
|
])
|
|
9525
9525
|
], 64));
|
|
9526
9526
|
}
|
|
9527
|
-
}, ag = /* @__PURE__ */ ie(ig, [["__scopeId", "data-v-6d73d5e6"]]), Ae = (e) => (
|
|
9527
|
+
}, ag = /* @__PURE__ */ ie(ig, [["__scopeId", "data-v-6d73d5e6"]]), Ae = (e) => (be("data-v-6e904db8"), e = e(), ve(), e), ng = { class: "container" }, rg = { class: "container__row" }, og = { class: "container__row__wrapper" }, lg = /* @__PURE__ */ Ae(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "1. Elige la liga", -1)), dg = { class: "container__row__wrapper__input" }, cg = { class: "container__row two-items" }, ug = { class: "container__row__wrapper" }, pg = /* @__PURE__ */ Ae(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "2. Elige el torneo", -1)), fg = {
|
|
9528
9528
|
key: 0,
|
|
9529
9529
|
class: "container__row__wrapper__input"
|
|
9530
9530
|
}, mg = { class: "container__row__wrapper" }, hg = /* @__PURE__ */ Ae(() => /* @__PURE__ */ o("div", { class: "container__row__wrapper__label" }, "3. Elige la jornada", -1)), yg = {
|
|
@@ -10394,7 +10394,6 @@ const Ng = "_comfiltersContainer_xl2as_1", Og = "_comfiltersContainer1232_xl2as_
|
|
|
10394
10394
|
updateTablesfull: 0,
|
|
10395
10395
|
optionSelected: "Jugadores",
|
|
10396
10396
|
optionSelectedSubmenu: "Todas las jugadas",
|
|
10397
|
-
tournamentsUrl: "https://17zyhpyc7c.execute-api.us-west-2.amazonaws.com/prod/tournaments",
|
|
10398
10397
|
teamsUrl: "https://d2oco6mqmc.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/",
|
|
10399
10398
|
urlFilter: "https://cqqxaonvm6.execute-api.us-east-2.amazonaws.com/prod/gs2/tops/filters?categories=",
|
|
10400
10399
|
retries: 3,
|
|
@@ -10561,7 +10560,7 @@ const Ng = "_comfiltersContainer_xl2as_1", Og = "_comfiltersContainer1232_xl2as_
|
|
|
10561
10560
|
async getScoutingData() {
|
|
10562
10561
|
this.arrayFiltersPlays = [], this.loadingActive = !0;
|
|
10563
10562
|
const e = N.create({ headers: { Authorization: `${this.token}` } }), { data: s } = await e.post(
|
|
10564
|
-
|
|
10563
|
+
Se(
|
|
10565
10564
|
"https://eh9nhj69z7.execute-api.us-west-2.amazonaws.com/prod/players/productivity",
|
|
10566
10565
|
this.provider,
|
|
10567
10566
|
this.isDevApis
|
|
@@ -11210,23 +11209,13 @@ const Ng = "_comfiltersContainer_xl2as_1", Og = "_comfiltersContainer1232_xl2as_
|
|
|
11210
11209
|
changeTabsSubmenu(e) {
|
|
11211
11210
|
e != "Predeterminados" ? this.resetPredefinedTeamAll() : this.arrayFiltersPlays = [], this.optionSelectedSubmenu = e;
|
|
11212
11211
|
},
|
|
11213
|
-
async fetchTournaments() {
|
|
11214
|
-
const e = N.create({
|
|
11215
|
-
headers: {
|
|
11216
|
-
Authorization: `${this.token}`
|
|
11217
|
-
}
|
|
11218
|
-
}), { data: s } = await e.get(
|
|
11219
|
-
fe(this.tournamentsUrl, this.provider, this.isDevApis)
|
|
11220
|
-
);
|
|
11221
|
-
return s;
|
|
11222
|
-
},
|
|
11223
11212
|
async fetchTeams() {
|
|
11224
11213
|
const e = N.create({
|
|
11225
11214
|
headers: {
|
|
11226
11215
|
Authorization: `${this.token}`
|
|
11227
11216
|
}
|
|
11228
11217
|
}), { data: s } = await e.get(
|
|
11229
|
-
|
|
11218
|
+
Se(this.teamsUrl, this.provider, this.isDevApis) + this.seasonActive
|
|
11230
11219
|
);
|
|
11231
11220
|
return s;
|
|
11232
11221
|
},
|
|
@@ -11236,7 +11225,7 @@ const Ng = "_comfiltersContainer_xl2as_1", Og = "_comfiltersContainer1232_xl2as_
|
|
|
11236
11225
|
Authorization: `${this.token}`
|
|
11237
11226
|
}
|
|
11238
11227
|
}), { data: t } = await s.get(
|
|
11239
|
-
|
|
11228
|
+
Se(this.teamsUrl, this.provider, this.isDevApis) + e
|
|
11240
11229
|
);
|
|
11241
11230
|
return t;
|
|
11242
11231
|
},
|
|
@@ -11249,7 +11238,7 @@ const Ng = "_comfiltersContainer_xl2as_1", Og = "_comfiltersContainer1232_xl2as_
|
|
|
11249
11238
|
Authorization: `${this.token}`
|
|
11250
11239
|
}
|
|
11251
11240
|
}), { data: i } = await t.get(
|
|
11252
|
-
|
|
11241
|
+
Se(s, this.provider, this.isDevApis) + e.id
|
|
11253
11242
|
);
|
|
11254
11243
|
if (Object.keys(i[0].match_lapse_combinations).forEach((f) => {
|
|
11255
11244
|
this.predefinedFiltersMatchLapse[f.toString()] = i[0].match_lapse_combinations[f];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golstats/gsc-top-player",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"main": "dist/gsc-top-player.umd.js",
|
|
5
5
|
"module": "dist/gsc-top-player.es.js",
|
|
6
6
|
"exports": {
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@golstats/gsc-carousel": "^1.0.15",
|
|
52
52
|
"@golstats/gsc-filterperteam": "^1.0.17",
|
|
53
|
-
"@golstats/gsc-filters": "^1.1.
|
|
53
|
+
"@golstats/gsc-filters": "^1.1.3",
|
|
54
54
|
"@golstats/gsc-label": "^1.0.5",
|
|
55
|
-
"@golstats/gsc-season-select": "^1.0.
|
|
55
|
+
"@golstats/gsc-season-select": "^1.0.10",
|
|
56
56
|
"@golstats/gsc-switch-component": "^1.0.14",
|
|
57
|
-
"@golstats/gsc-tournament-select": "^1.0.
|
|
57
|
+
"@golstats/gsc-tournament-select": "^1.0.23",
|
|
58
58
|
"axios": "^1.10.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -638,7 +638,6 @@ export default {
|
|
|
638
638
|
updateTablesfull: 0,
|
|
639
639
|
optionSelected: 'Jugadores',
|
|
640
640
|
optionSelectedSubmenu: 'Todas las jugadas',
|
|
641
|
-
tournamentsUrl: 'https://17zyhpyc7c.execute-api.us-west-2.amazonaws.com/prod/tournaments',
|
|
642
641
|
teamsUrl: 'https://d2oco6mqmc.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/',
|
|
643
642
|
urlFilter:
|
|
644
643
|
'https://cqqxaonvm6.execute-api.us-east-2.amazonaws.com/prod/gs2/tops/filters?categories=',
|
|
@@ -1630,17 +1629,6 @@ export default {
|
|
|
1630
1629
|
this.optionSelectedSubmenu = idchange
|
|
1631
1630
|
},
|
|
1632
1631
|
|
|
1633
|
-
async fetchTournaments() {
|
|
1634
|
-
const axiosInstance = axios.create({
|
|
1635
|
-
headers: {
|
|
1636
|
-
Authorization: `${this.token}`,
|
|
1637
|
-
},
|
|
1638
|
-
})
|
|
1639
|
-
const { data } = await axiosInstance.get(
|
|
1640
|
-
getApiUrl(this.tournamentsUrl, this.provider, this.isDevApis),
|
|
1641
|
-
)
|
|
1642
|
-
return data
|
|
1643
|
-
},
|
|
1644
1632
|
async fetchTeams() {
|
|
1645
1633
|
const axiosInstance = axios.create({
|
|
1646
1634
|
headers: {
|