@golstats/gsc-top-category 1.0.0

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 (54) hide show
  1. package/README.md +2 -0
  2. package/dist/america@2x.png +0 -0
  3. package/dist/back-arrow.svg +1 -0
  4. package/dist/cancha.svg +24 -0
  5. package/dist/css/fonts.css +91 -0
  6. package/dist/favicon.ico +0 -0
  7. package/dist/fonts/Montserrat-Black.otf +0 -0
  8. package/dist/fonts/Montserrat-BlackItalic.otf +0 -0
  9. package/dist/fonts/Montserrat-Bold.otf +0 -0
  10. package/dist/fonts/Montserrat-BoldItalic.otf +0 -0
  11. package/dist/fonts/Montserrat-ExtraBold.otf +0 -0
  12. package/dist/fonts/Montserrat-ExtraBoldItalic.otf +0 -0
  13. package/dist/fonts/Montserrat-ExtraLight.otf +0 -0
  14. package/dist/fonts/Montserrat-ExtraLightItalic.otf +0 -0
  15. package/dist/fonts/Montserrat-Italic.otf +0 -0
  16. package/dist/fonts/Montserrat-Light.otf +0 -0
  17. package/dist/fonts/Montserrat-LightItalic.otf +0 -0
  18. package/dist/fonts/Montserrat-Medium.otf +0 -0
  19. package/dist/fonts/Montserrat-MediumItalic.otf +0 -0
  20. package/dist/fonts/Montserrat-Regular.otf +0 -0
  21. package/dist/fonts/Montserrat-SemiBold.otf +0 -0
  22. package/dist/fonts/Montserrat-SemiBoldItalic.otf +0 -0
  23. package/dist/fonts/Montserrat-Thin.otf +0 -0
  24. package/dist/fonts/Montserrat-ThinItalic.otf +0 -0
  25. package/dist/fonts/Poppins-Black.otf +0 -0
  26. package/dist/fonts/Poppins-BlackItalic.otf +0 -0
  27. package/dist/fonts/Poppins-Bold.otf +0 -0
  28. package/dist/fonts/Poppins-BoldItalic.otf +0 -0
  29. package/dist/fonts/Poppins-ExtraBold.otf +0 -0
  30. package/dist/fonts/Poppins-ExtraBoldItalic.otf +0 -0
  31. package/dist/fonts/Poppins-ExtraLight.otf +0 -0
  32. package/dist/fonts/Poppins-ExtraLightItalic.otf +0 -0
  33. package/dist/fonts/Poppins-Italic.otf +0 -0
  34. package/dist/fonts/Poppins-Light.otf +0 -0
  35. package/dist/fonts/Poppins-LightItalic.otf +0 -0
  36. package/dist/fonts/Poppins-Medium.otf +0 -0
  37. package/dist/fonts/Poppins-MediumItalic.otf +0 -0
  38. package/dist/fonts/Poppins-Regular.otf +0 -0
  39. package/dist/fonts/Poppins-SemiBold.otf +0 -0
  40. package/dist/fonts/Poppins-SemiBoldItalic.otf +0 -0
  41. package/dist/fonts/Poppins-Thin.otf +0 -0
  42. package/dist/fonts/Poppins-ThinItalic.otf +0 -0
  43. package/dist/gsc-top.js +3636 -0
  44. package/dist/gsc-top.umd.cjs +7 -0
  45. package/dist/icnplay2.svg +3 -0
  46. package/dist/image@2x.png +0 -0
  47. package/dist/next-arrow.svg +3 -0
  48. package/dist/style.css +1 -0
  49. package/dist/vector-12002.svg +3 -0
  50. package/dist/vector-12003.svg +3 -0
  51. package/dist/vector-12004.svg +3 -0
  52. package/dist/vector-12005.svg +3 -0
  53. package/dist/vector-12006.svg +3 -0
  54. package/package.json +43 -0
@@ -0,0 +1,3636 @@
1
+ import { ref as x, onMounted as ve, onUnmounted as Se, useCssVars as ae, resolveComponent as H, openBlock as m, createElementBlock as y, normalizeClass as d, createElementVNode as f, toDisplayString as $, createVNode as _e, normalizeStyle as L, createCommentVNode as w, createBlock as M, defineComponent as He, inject as X, reactive as oe, h as Z, provide as j, nextTick as pn, computed as gt, watch as ie, cloneVNode as _t, Fragment as B, unref as bt, withCtx as ze, renderList as re, renderSlot as hn, pushScopeId as mn, popScopeId as yn } from "vue";
2
+ function qt(e, n) {
3
+ return function() {
4
+ return e.apply(n, arguments);
5
+ };
6
+ }
7
+ const { toString: gn } = Object.prototype, { getPrototypeOf: We } = Object, we = ((e) => (n) => {
8
+ const t = gn.call(n);
9
+ return e[t] || (e[t] = t.slice(8, -1).toLowerCase());
10
+ })(/* @__PURE__ */ Object.create(null)), z = (e) => (e = e.toLowerCase(), (n) => we(n) === e), Ce = (e) => (n) => typeof n === e, { isArray: Q } = Array, se = Ce("undefined");
11
+ function _n(e) {
12
+ return e !== null && !se(e) && e.constructor !== null && !se(e.constructor) && I(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
+ }
14
+ const Ut = z("ArrayBuffer");
15
+ function bn(e) {
16
+ let n;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? n = ArrayBuffer.isView(e) : n = e && e.buffer && Ut(e.buffer), n;
18
+ }
19
+ const vn = Ce("string"), I = Ce("function"), Vt = Ce("number"), xe = (e) => e !== null && typeof e == "object", Sn = (e) => e === !0 || e === !1, he = (e) => {
20
+ if (we(e) !== "object")
21
+ return !1;
22
+ const n = We(e);
23
+ return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
24
+ }, wn = z("Date"), Cn = z("File"), xn = z("Blob"), $n = z("FileList"), Tn = (e) => xe(e) && I(e.pipe), kn = (e) => {
25
+ let n;
26
+ return e && (typeof FormData == "function" && e instanceof FormData || I(e.append) && ((n = we(e)) === "formdata" || // detect form-data instance
27
+ n === "object" && I(e.toString) && e.toString() === "[object FormData]"));
28
+ }, An = z("URLSearchParams"), Rn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
+ function le(e, n, { allOwnKeys: t = !1 } = {}) {
30
+ if (e === null || typeof e > "u")
31
+ return;
32
+ let o, i;
33
+ if (typeof e != "object" && (e = [e]), Q(e))
34
+ for (o = 0, i = e.length; o < i; o++)
35
+ n.call(null, e[o], o, e);
36
+ else {
37
+ const r = t ? Object.getOwnPropertyNames(e) : Object.keys(e), s = r.length;
38
+ let l;
39
+ for (o = 0; o < s; o++)
40
+ l = r[o], n.call(null, e[l], l, e);
41
+ }
42
+ }
43
+ function Ht(e, n) {
44
+ n = n.toLowerCase();
45
+ const t = Object.keys(e);
46
+ let o = t.length, i;
47
+ for (; o-- > 0; )
48
+ if (i = t[o], n === i.toLowerCase())
49
+ return i;
50
+ return null;
51
+ }
52
+ const Wt = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Gt = (e) => !se(e) && e !== Wt;
53
+ function De() {
54
+ const { caseless: e } = Gt(this) && this || {}, n = {}, t = (o, i) => {
55
+ const r = e && Ht(n, i) || i;
56
+ he(n[r]) && he(o) ? n[r] = De(n[r], o) : he(o) ? n[r] = De({}, o) : Q(o) ? n[r] = o.slice() : n[r] = o;
57
+ };
58
+ for (let o = 0, i = arguments.length; o < i; o++)
59
+ arguments[o] && le(arguments[o], t);
60
+ return n;
61
+ }
62
+ const On = (e, n, t, { allOwnKeys: o } = {}) => (le(n, (i, r) => {
63
+ t && I(i) ? e[r] = qt(i, t) : e[r] = i;
64
+ }, { allOwnKeys: o }), e), En = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Nn = (e, n, t, o) => {
65
+ e.prototype = Object.create(n.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
66
+ value: n.prototype
67
+ }), t && Object.assign(e.prototype, t);
68
+ }, Fn = (e, n, t, o) => {
69
+ let i, r, s;
70
+ const l = {};
71
+ if (n = n || {}, e == null)
72
+ return n;
73
+ do {
74
+ for (i = Object.getOwnPropertyNames(e), r = i.length; r-- > 0; )
75
+ s = i[r], (!o || o(s, e, n)) && !l[s] && (n[s] = e[s], l[s] = !0);
76
+ e = t !== !1 && We(e);
77
+ } while (e && (!t || t(e, n)) && e !== Object.prototype);
78
+ return n;
79
+ }, In = (e, n, t) => {
80
+ e = String(e), (t === void 0 || t > e.length) && (t = e.length), t -= n.length;
81
+ const o = e.indexOf(n, t);
82
+ return o !== -1 && o === t;
83
+ }, Pn = (e) => {
84
+ if (!e)
85
+ return null;
86
+ if (Q(e))
87
+ return e;
88
+ let n = e.length;
89
+ if (!Vt(n))
90
+ return null;
91
+ const t = new Array(n);
92
+ for (; n-- > 0; )
93
+ t[n] = e[n];
94
+ return t;
95
+ }, Bn = ((e) => (n) => e && n instanceof e)(typeof Uint8Array < "u" && We(Uint8Array)), Ln = (e, n) => {
96
+ const o = (e && e[Symbol.iterator]).call(e);
97
+ let i;
98
+ for (; (i = o.next()) && !i.done; ) {
99
+ const r = i.value;
100
+ n.call(e, r[0], r[1]);
101
+ }
102
+ }, zn = (e, n) => {
103
+ let t;
104
+ const o = [];
105
+ for (; (t = e.exec(n)) !== null; )
106
+ o.push(t);
107
+ return o;
108
+ }, Dn = z("HTMLFormElement"), jn = (e) => e.toLowerCase().replace(
109
+ /[-_\s]([a-z\d])(\w*)/g,
110
+ function(t, o, i) {
111
+ return o.toUpperCase() + i;
112
+ }
113
+ ), vt = (({ hasOwnProperty: e }) => (n, t) => e.call(n, t))(Object.prototype), Mn = z("RegExp"), Jt = (e, n) => {
114
+ const t = Object.getOwnPropertyDescriptors(e), o = {};
115
+ le(t, (i, r) => {
116
+ let s;
117
+ (s = n(i, r, e)) !== !1 && (o[r] = s || i);
118
+ }), Object.defineProperties(e, o);
119
+ }, qn = (e) => {
120
+ Jt(e, (n, t) => {
121
+ if (I(e) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
122
+ return !1;
123
+ const o = e[t];
124
+ if (I(o)) {
125
+ if (n.enumerable = !1, "writable" in n) {
126
+ n.writable = !1;
127
+ return;
128
+ }
129
+ n.set || (n.set = () => {
130
+ throw Error("Can not rewrite read-only method '" + t + "'");
131
+ });
132
+ }
133
+ });
134
+ }, Un = (e, n) => {
135
+ const t = {}, o = (i) => {
136
+ i.forEach((r) => {
137
+ t[r] = !0;
138
+ });
139
+ };
140
+ return Q(e) ? o(e) : o(String(e).split(n)), t;
141
+ }, Vn = () => {
142
+ }, Hn = (e, n) => (e = +e, Number.isFinite(e) ? e : n), Ie = "abcdefghijklmnopqrstuvwxyz", St = "0123456789", Xt = {
143
+ DIGIT: St,
144
+ ALPHA: Ie,
145
+ ALPHA_DIGIT: Ie + Ie.toUpperCase() + St
146
+ }, Wn = (e = 16, n = Xt.ALPHA_DIGIT) => {
147
+ let t = "";
148
+ const { length: o } = n;
149
+ for (; e--; )
150
+ t += n[Math.random() * o | 0];
151
+ return t;
152
+ };
153
+ function Gn(e) {
154
+ return !!(e && I(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
155
+ }
156
+ const Jn = (e) => {
157
+ const n = new Array(10), t = (o, i) => {
158
+ if (xe(o)) {
159
+ if (n.indexOf(o) >= 0)
160
+ return;
161
+ if (!("toJSON" in o)) {
162
+ n[i] = o;
163
+ const r = Q(o) ? [] : {};
164
+ return le(o, (s, l) => {
165
+ const u = t(s, i + 1);
166
+ !se(u) && (r[l] = u);
167
+ }), n[i] = void 0, r;
168
+ }
169
+ }
170
+ return o;
171
+ };
172
+ return t(e, 0);
173
+ }, Xn = z("AsyncFunction"), Kn = (e) => e && (xe(e) || I(e)) && I(e.then) && I(e.catch), c = {
174
+ isArray: Q,
175
+ isArrayBuffer: Ut,
176
+ isBuffer: _n,
177
+ isFormData: kn,
178
+ isArrayBufferView: bn,
179
+ isString: vn,
180
+ isNumber: Vt,
181
+ isBoolean: Sn,
182
+ isObject: xe,
183
+ isPlainObject: he,
184
+ isUndefined: se,
185
+ isDate: wn,
186
+ isFile: Cn,
187
+ isBlob: xn,
188
+ isRegExp: Mn,
189
+ isFunction: I,
190
+ isStream: Tn,
191
+ isURLSearchParams: An,
192
+ isTypedArray: Bn,
193
+ isFileList: $n,
194
+ forEach: le,
195
+ merge: De,
196
+ extend: On,
197
+ trim: Rn,
198
+ stripBOM: En,
199
+ inherits: Nn,
200
+ toFlatObject: Fn,
201
+ kindOf: we,
202
+ kindOfTest: z,
203
+ endsWith: In,
204
+ toArray: Pn,
205
+ forEachEntry: Ln,
206
+ matchAll: zn,
207
+ isHTMLForm: Dn,
208
+ hasOwnProperty: vt,
209
+ hasOwnProp: vt,
210
+ // an alias to avoid ESLint no-prototype-builtins detection
211
+ reduceDescriptors: Jt,
212
+ freezeMethods: qn,
213
+ toObjectSet: Un,
214
+ toCamelCase: jn,
215
+ noop: Vn,
216
+ toFiniteNumber: Hn,
217
+ findKey: Ht,
218
+ global: Wt,
219
+ isContextDefined: Gt,
220
+ ALPHABET: Xt,
221
+ generateString: Wn,
222
+ isSpecCompliantForm: Gn,
223
+ toJSONObject: Jn,
224
+ isAsyncFn: Xn,
225
+ isThenable: Kn
226
+ };
227
+ function C(e, n, t, o, i) {
228
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", n && (this.code = n), t && (this.config = t), o && (this.request = o), i && (this.response = i);
229
+ }
230
+ c.inherits(C, Error, {
231
+ toJSON: function() {
232
+ return {
233
+ // Standard
234
+ message: this.message,
235
+ name: this.name,
236
+ // Microsoft
237
+ description: this.description,
238
+ number: this.number,
239
+ // Mozilla
240
+ fileName: this.fileName,
241
+ lineNumber: this.lineNumber,
242
+ columnNumber: this.columnNumber,
243
+ stack: this.stack,
244
+ // Axios
245
+ config: c.toJSONObject(this.config),
246
+ code: this.code,
247
+ status: this.response && this.response.status ? this.response.status : null
248
+ };
249
+ }
250
+ });
251
+ const Kt = C.prototype, Zt = {};
252
+ [
253
+ "ERR_BAD_OPTION_VALUE",
254
+ "ERR_BAD_OPTION",
255
+ "ECONNABORTED",
256
+ "ETIMEDOUT",
257
+ "ERR_NETWORK",
258
+ "ERR_FR_TOO_MANY_REDIRECTS",
259
+ "ERR_DEPRECATED",
260
+ "ERR_BAD_RESPONSE",
261
+ "ERR_BAD_REQUEST",
262
+ "ERR_CANCELED",
263
+ "ERR_NOT_SUPPORT",
264
+ "ERR_INVALID_URL"
265
+ // eslint-disable-next-line func-names
266
+ ].forEach((e) => {
267
+ Zt[e] = { value: e };
268
+ });
269
+ Object.defineProperties(C, Zt);
270
+ Object.defineProperty(Kt, "isAxiosError", { value: !0 });
271
+ C.from = (e, n, t, o, i, r) => {
272
+ const s = Object.create(Kt);
273
+ return c.toFlatObject(e, s, function(u) {
274
+ return u !== Error.prototype;
275
+ }, (l) => l !== "isAxiosError"), C.call(s, e.message, n, t, o, i), s.cause = e, s.name = e.name, r && Object.assign(s, r), s;
276
+ };
277
+ const Zn = null;
278
+ function je(e) {
279
+ return c.isPlainObject(e) || c.isArray(e);
280
+ }
281
+ function Yt(e) {
282
+ return c.endsWith(e, "[]") ? e.slice(0, -2) : e;
283
+ }
284
+ function wt(e, n, t) {
285
+ return e ? e.concat(n).map(function(i, r) {
286
+ return i = Yt(i), !t && r ? "[" + i + "]" : i;
287
+ }).join(t ? "." : "") : n;
288
+ }
289
+ function Yn(e) {
290
+ return c.isArray(e) && !e.some(je);
291
+ }
292
+ const Qn = c.toFlatObject(c, {}, null, function(n) {
293
+ return /^is[A-Z]/.test(n);
294
+ });
295
+ function $e(e, n, t) {
296
+ if (!c.isObject(e))
297
+ throw new TypeError("target must be an object");
298
+ n = n || new FormData(), t = c.toFlatObject(t, {
299
+ metaTokens: !0,
300
+ dots: !1,
301
+ indexes: !1
302
+ }, !1, function(v, R) {
303
+ return !c.isUndefined(R[v]);
304
+ });
305
+ const o = t.metaTokens, i = t.visitor || p, r = t.dots, s = t.indexes, u = (t.Blob || typeof Blob < "u" && Blob) && c.isSpecCompliantForm(n);
306
+ if (!c.isFunction(i))
307
+ throw new TypeError("visitor must be a function");
308
+ function a(_) {
309
+ if (_ === null)
310
+ return "";
311
+ if (c.isDate(_))
312
+ return _.toISOString();
313
+ if (!u && c.isBlob(_))
314
+ throw new C("Blob is not supported. Use a Buffer instead.");
315
+ return c.isArrayBuffer(_) || c.isTypedArray(_) ? u && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
316
+ }
317
+ function p(_, v, R) {
318
+ let T = _;
319
+ if (_ && !R && typeof _ == "object") {
320
+ if (c.endsWith(v, "{}"))
321
+ v = o ? v : v.slice(0, -2), _ = JSON.stringify(_);
322
+ else if (c.isArray(_) && Yn(_) || (c.isFileList(_) || c.endsWith(v, "[]")) && (T = c.toArray(_)))
323
+ return v = Yt(v), T.forEach(function(U, K) {
324
+ !(c.isUndefined(U) || U === null) && n.append(
325
+ // eslint-disable-next-line no-nested-ternary
326
+ s === !0 ? wt([v], K, r) : s === null ? v : v + "[]",
327
+ a(U)
328
+ );
329
+ }), !1;
330
+ }
331
+ return je(_) ? !0 : (n.append(wt(R, v, r), a(_)), !1);
332
+ }
333
+ const g = [], h = Object.assign(Qn, {
334
+ defaultVisitor: p,
335
+ convertValue: a,
336
+ isVisitable: je
337
+ });
338
+ function b(_, v) {
339
+ if (!c.isUndefined(_)) {
340
+ if (g.indexOf(_) !== -1)
341
+ throw Error("Circular reference detected in " + v.join("."));
342
+ g.push(_), c.forEach(_, function(T, N) {
343
+ (!(c.isUndefined(T) || T === null) && i.call(
344
+ n,
345
+ T,
346
+ c.isString(N) ? N.trim() : N,
347
+ v,
348
+ h
349
+ )) === !0 && b(T, v ? v.concat(N) : [N]);
350
+ }), g.pop();
351
+ }
352
+ }
353
+ if (!c.isObject(e))
354
+ throw new TypeError("data must be an object");
355
+ return b(e), n;
356
+ }
357
+ function Ct(e) {
358
+ const n = {
359
+ "!": "%21",
360
+ "'": "%27",
361
+ "(": "%28",
362
+ ")": "%29",
363
+ "~": "%7E",
364
+ "%20": "+",
365
+ "%00": "\0"
366
+ };
367
+ return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(o) {
368
+ return n[o];
369
+ });
370
+ }
371
+ function Ge(e, n) {
372
+ this._pairs = [], e && $e(e, this, n);
373
+ }
374
+ const Qt = Ge.prototype;
375
+ Qt.append = function(n, t) {
376
+ this._pairs.push([n, t]);
377
+ };
378
+ Qt.toString = function(n) {
379
+ const t = n ? function(o) {
380
+ return n.call(this, o, Ct);
381
+ } : Ct;
382
+ return this._pairs.map(function(i) {
383
+ return t(i[0]) + "=" + t(i[1]);
384
+ }, "").join("&");
385
+ };
386
+ function eo(e) {
387
+ return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
388
+ }
389
+ function en(e, n, t) {
390
+ if (!n)
391
+ return e;
392
+ const o = t && t.encode || eo, i = t && t.serialize;
393
+ let r;
394
+ if (i ? r = i(n, t) : r = c.isURLSearchParams(n) ? n.toString() : new Ge(n, t).toString(o), r) {
395
+ const s = e.indexOf("#");
396
+ s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + r;
397
+ }
398
+ return e;
399
+ }
400
+ class to {
401
+ constructor() {
402
+ this.handlers = [];
403
+ }
404
+ /**
405
+ * Add a new interceptor to the stack
406
+ *
407
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
408
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
409
+ *
410
+ * @return {Number} An ID used to remove interceptor later
411
+ */
412
+ use(n, t, o) {
413
+ return this.handlers.push({
414
+ fulfilled: n,
415
+ rejected: t,
416
+ synchronous: o ? o.synchronous : !1,
417
+ runWhen: o ? o.runWhen : null
418
+ }), this.handlers.length - 1;
419
+ }
420
+ /**
421
+ * Remove an interceptor from the stack
422
+ *
423
+ * @param {Number} id The ID that was returned by `use`
424
+ *
425
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
426
+ */
427
+ eject(n) {
428
+ this.handlers[n] && (this.handlers[n] = null);
429
+ }
430
+ /**
431
+ * Clear all interceptors from the stack
432
+ *
433
+ * @returns {void}
434
+ */
435
+ clear() {
436
+ this.handlers && (this.handlers = []);
437
+ }
438
+ /**
439
+ * Iterate over all the registered interceptors
440
+ *
441
+ * This method is particularly useful for skipping over any
442
+ * interceptors that may have become `null` calling `eject`.
443
+ *
444
+ * @param {Function} fn The function to call for each interceptor
445
+ *
446
+ * @returns {void}
447
+ */
448
+ forEach(n) {
449
+ c.forEach(this.handlers, function(o) {
450
+ o !== null && n(o);
451
+ });
452
+ }
453
+ }
454
+ const xt = to, tn = {
455
+ silentJSONParsing: !0,
456
+ forcedJSONParsing: !0,
457
+ clarifyTimeoutError: !1
458
+ }, no = typeof URLSearchParams < "u" ? URLSearchParams : Ge, oo = typeof FormData < "u" ? FormData : null, io = typeof Blob < "u" ? Blob : null, ro = (() => {
459
+ let e;
460
+ return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
461
+ })(), so = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
462
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), P = {
463
+ isBrowser: !0,
464
+ classes: {
465
+ URLSearchParams: no,
466
+ FormData: oo,
467
+ Blob: io
468
+ },
469
+ isStandardBrowserEnv: ro,
470
+ isStandardBrowserWebWorkerEnv: so,
471
+ protocols: ["http", "https", "file", "blob", "url", "data"]
472
+ };
473
+ function ao(e, n) {
474
+ return $e(e, new P.classes.URLSearchParams(), Object.assign({
475
+ visitor: function(t, o, i, r) {
476
+ return P.isNode && c.isBuffer(t) ? (this.append(o, t.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
477
+ }
478
+ }, n));
479
+ }
480
+ function lo(e) {
481
+ return c.matchAll(/\w+|\[(\w*)]/g, e).map((n) => n[0] === "[]" ? "" : n[1] || n[0]);
482
+ }
483
+ function co(e) {
484
+ const n = {}, t = Object.keys(e);
485
+ let o;
486
+ const i = t.length;
487
+ let r;
488
+ for (o = 0; o < i; o++)
489
+ r = t[o], n[r] = e[r];
490
+ return n;
491
+ }
492
+ function nn(e) {
493
+ function n(t, o, i, r) {
494
+ let s = t[r++];
495
+ const l = Number.isFinite(+s), u = r >= t.length;
496
+ return s = !s && c.isArray(i) ? i.length : s, u ? (c.hasOwnProp(i, s) ? i[s] = [i[s], o] : i[s] = o, !l) : ((!i[s] || !c.isObject(i[s])) && (i[s] = []), n(t, o, i[s], r) && c.isArray(i[s]) && (i[s] = co(i[s])), !l);
497
+ }
498
+ if (c.isFormData(e) && c.isFunction(e.entries)) {
499
+ const t = {};
500
+ return c.forEachEntry(e, (o, i) => {
501
+ n(lo(o), i, t, 0);
502
+ }), t;
503
+ }
504
+ return null;
505
+ }
506
+ function uo(e, n, t) {
507
+ if (c.isString(e))
508
+ try {
509
+ return (n || JSON.parse)(e), c.trim(e);
510
+ } catch (o) {
511
+ if (o.name !== "SyntaxError")
512
+ throw o;
513
+ }
514
+ return (t || JSON.stringify)(e);
515
+ }
516
+ const Je = {
517
+ transitional: tn,
518
+ adapter: P.isNode ? "http" : "xhr",
519
+ transformRequest: [function(n, t) {
520
+ const o = t.getContentType() || "", i = o.indexOf("application/json") > -1, r = c.isObject(n);
521
+ if (r && c.isHTMLForm(n) && (n = new FormData(n)), c.isFormData(n))
522
+ return i && i ? JSON.stringify(nn(n)) : n;
523
+ if (c.isArrayBuffer(n) || c.isBuffer(n) || c.isStream(n) || c.isFile(n) || c.isBlob(n))
524
+ return n;
525
+ if (c.isArrayBufferView(n))
526
+ return n.buffer;
527
+ if (c.isURLSearchParams(n))
528
+ return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), n.toString();
529
+ let l;
530
+ if (r) {
531
+ if (o.indexOf("application/x-www-form-urlencoded") > -1)
532
+ return ao(n, this.formSerializer).toString();
533
+ if ((l = c.isFileList(n)) || o.indexOf("multipart/form-data") > -1) {
534
+ const u = this.env && this.env.FormData;
535
+ return $e(
536
+ l ? { "files[]": n } : n,
537
+ u && new u(),
538
+ this.formSerializer
539
+ );
540
+ }
541
+ }
542
+ return r || i ? (t.setContentType("application/json", !1), uo(n)) : n;
543
+ }],
544
+ transformResponse: [function(n) {
545
+ const t = this.transitional || Je.transitional, o = t && t.forcedJSONParsing, i = this.responseType === "json";
546
+ if (n && c.isString(n) && (o && !this.responseType || i)) {
547
+ const s = !(t && t.silentJSONParsing) && i;
548
+ try {
549
+ return JSON.parse(n);
550
+ } catch (l) {
551
+ if (s)
552
+ throw l.name === "SyntaxError" ? C.from(l, C.ERR_BAD_RESPONSE, this, null, this.response) : l;
553
+ }
554
+ }
555
+ return n;
556
+ }],
557
+ /**
558
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
559
+ * timeout is not created.
560
+ */
561
+ timeout: 0,
562
+ xsrfCookieName: "XSRF-TOKEN",
563
+ xsrfHeaderName: "X-XSRF-TOKEN",
564
+ maxContentLength: -1,
565
+ maxBodyLength: -1,
566
+ env: {
567
+ FormData: P.classes.FormData,
568
+ Blob: P.classes.Blob
569
+ },
570
+ validateStatus: function(n) {
571
+ return n >= 200 && n < 300;
572
+ },
573
+ headers: {
574
+ common: {
575
+ Accept: "application/json, text/plain, */*",
576
+ "Content-Type": void 0
577
+ }
578
+ }
579
+ };
580
+ c.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
581
+ Je.headers[e] = {};
582
+ });
583
+ const Xe = Je, fo = c.toObjectSet([
584
+ "age",
585
+ "authorization",
586
+ "content-length",
587
+ "content-type",
588
+ "etag",
589
+ "expires",
590
+ "from",
591
+ "host",
592
+ "if-modified-since",
593
+ "if-unmodified-since",
594
+ "last-modified",
595
+ "location",
596
+ "max-forwards",
597
+ "proxy-authorization",
598
+ "referer",
599
+ "retry-after",
600
+ "user-agent"
601
+ ]), po = (e) => {
602
+ const n = {};
603
+ let t, o, i;
604
+ return e && e.split(`
605
+ `).forEach(function(s) {
606
+ i = s.indexOf(":"), t = s.substring(0, i).trim().toLowerCase(), o = s.substring(i + 1).trim(), !(!t || n[t] && fo[t]) && (t === "set-cookie" ? n[t] ? n[t].push(o) : n[t] = [o] : n[t] = n[t] ? n[t] + ", " + o : o);
607
+ }), n;
608
+ }, $t = Symbol("internals");
609
+ function ne(e) {
610
+ return e && String(e).trim().toLowerCase();
611
+ }
612
+ function me(e) {
613
+ return e === !1 || e == null ? e : c.isArray(e) ? e.map(me) : String(e);
614
+ }
615
+ function ho(e) {
616
+ const n = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
617
+ let o;
618
+ for (; o = t.exec(e); )
619
+ n[o[1]] = o[2];
620
+ return n;
621
+ }
622
+ const mo = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
623
+ function Pe(e, n, t, o, i) {
624
+ if (c.isFunction(o))
625
+ return o.call(this, n, t);
626
+ if (i && (n = t), !!c.isString(n)) {
627
+ if (c.isString(o))
628
+ return n.indexOf(o) !== -1;
629
+ if (c.isRegExp(o))
630
+ return o.test(n);
631
+ }
632
+ }
633
+ function yo(e) {
634
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (n, t, o) => t.toUpperCase() + o);
635
+ }
636
+ function go(e, n) {
637
+ const t = c.toCamelCase(" " + n);
638
+ ["get", "set", "has"].forEach((o) => {
639
+ Object.defineProperty(e, o + t, {
640
+ value: function(i, r, s) {
641
+ return this[o].call(this, n, i, r, s);
642
+ },
643
+ configurable: !0
644
+ });
645
+ });
646
+ }
647
+ class Te {
648
+ constructor(n) {
649
+ n && this.set(n);
650
+ }
651
+ set(n, t, o) {
652
+ const i = this;
653
+ function r(l, u, a) {
654
+ const p = ne(u);
655
+ if (!p)
656
+ throw new Error("header name must be a non-empty string");
657
+ const g = c.findKey(i, p);
658
+ (!g || i[g] === void 0 || a === !0 || a === void 0 && i[g] !== !1) && (i[g || u] = me(l));
659
+ }
660
+ const s = (l, u) => c.forEach(l, (a, p) => r(a, p, u));
661
+ return c.isPlainObject(n) || n instanceof this.constructor ? s(n, t) : c.isString(n) && (n = n.trim()) && !mo(n) ? s(po(n), t) : n != null && r(t, n, o), this;
662
+ }
663
+ get(n, t) {
664
+ if (n = ne(n), n) {
665
+ const o = c.findKey(this, n);
666
+ if (o) {
667
+ const i = this[o];
668
+ if (!t)
669
+ return i;
670
+ if (t === !0)
671
+ return ho(i);
672
+ if (c.isFunction(t))
673
+ return t.call(this, i, o);
674
+ if (c.isRegExp(t))
675
+ return t.exec(i);
676
+ throw new TypeError("parser must be boolean|regexp|function");
677
+ }
678
+ }
679
+ }
680
+ has(n, t) {
681
+ if (n = ne(n), n) {
682
+ const o = c.findKey(this, n);
683
+ return !!(o && this[o] !== void 0 && (!t || Pe(this, this[o], o, t)));
684
+ }
685
+ return !1;
686
+ }
687
+ delete(n, t) {
688
+ const o = this;
689
+ let i = !1;
690
+ function r(s) {
691
+ if (s = ne(s), s) {
692
+ const l = c.findKey(o, s);
693
+ l && (!t || Pe(o, o[l], l, t)) && (delete o[l], i = !0);
694
+ }
695
+ }
696
+ return c.isArray(n) ? n.forEach(r) : r(n), i;
697
+ }
698
+ clear(n) {
699
+ const t = Object.keys(this);
700
+ let o = t.length, i = !1;
701
+ for (; o--; ) {
702
+ const r = t[o];
703
+ (!n || Pe(this, this[r], r, n, !0)) && (delete this[r], i = !0);
704
+ }
705
+ return i;
706
+ }
707
+ normalize(n) {
708
+ const t = this, o = {};
709
+ return c.forEach(this, (i, r) => {
710
+ const s = c.findKey(o, r);
711
+ if (s) {
712
+ t[s] = me(i), delete t[r];
713
+ return;
714
+ }
715
+ const l = n ? yo(r) : String(r).trim();
716
+ l !== r && delete t[r], t[l] = me(i), o[l] = !0;
717
+ }), this;
718
+ }
719
+ concat(...n) {
720
+ return this.constructor.concat(this, ...n);
721
+ }
722
+ toJSON(n) {
723
+ const t = /* @__PURE__ */ Object.create(null);
724
+ return c.forEach(this, (o, i) => {
725
+ o != null && o !== !1 && (t[i] = n && c.isArray(o) ? o.join(", ") : o);
726
+ }), t;
727
+ }
728
+ [Symbol.iterator]() {
729
+ return Object.entries(this.toJSON())[Symbol.iterator]();
730
+ }
731
+ toString() {
732
+ return Object.entries(this.toJSON()).map(([n, t]) => n + ": " + t).join(`
733
+ `);
734
+ }
735
+ get [Symbol.toStringTag]() {
736
+ return "AxiosHeaders";
737
+ }
738
+ static from(n) {
739
+ return n instanceof this ? n : new this(n);
740
+ }
741
+ static concat(n, ...t) {
742
+ const o = new this(n);
743
+ return t.forEach((i) => o.set(i)), o;
744
+ }
745
+ static accessor(n) {
746
+ const o = (this[$t] = this[$t] = {
747
+ accessors: {}
748
+ }).accessors, i = this.prototype;
749
+ function r(s) {
750
+ const l = ne(s);
751
+ o[l] || (go(i, s), o[l] = !0);
752
+ }
753
+ return c.isArray(n) ? n.forEach(r) : r(n), this;
754
+ }
755
+ }
756
+ Te.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
757
+ c.reduceDescriptors(Te.prototype, ({ value: e }, n) => {
758
+ let t = n[0].toUpperCase() + n.slice(1);
759
+ return {
760
+ get: () => e,
761
+ set(o) {
762
+ this[t] = o;
763
+ }
764
+ };
765
+ });
766
+ c.freezeMethods(Te);
767
+ const q = Te;
768
+ function Be(e, n) {
769
+ const t = this || Xe, o = n || t, i = q.from(o.headers);
770
+ let r = o.data;
771
+ return c.forEach(e, function(l) {
772
+ r = l.call(t, r, i.normalize(), n ? n.status : void 0);
773
+ }), i.normalize(), r;
774
+ }
775
+ function on(e) {
776
+ return !!(e && e.__CANCEL__);
777
+ }
778
+ function ce(e, n, t) {
779
+ C.call(this, e ?? "canceled", C.ERR_CANCELED, n, t), this.name = "CanceledError";
780
+ }
781
+ c.inherits(ce, C, {
782
+ __CANCEL__: !0
783
+ });
784
+ function _o(e, n, t) {
785
+ const o = t.config.validateStatus;
786
+ !t.status || !o || o(t.status) ? e(t) : n(new C(
787
+ "Request failed with status code " + t.status,
788
+ [C.ERR_BAD_REQUEST, C.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
789
+ t.config,
790
+ t.request,
791
+ t
792
+ ));
793
+ }
794
+ const bo = P.isStandardBrowserEnv ? (
795
+ // Standard browser envs support document.cookie
796
+ function() {
797
+ return {
798
+ write: function(t, o, i, r, s, l) {
799
+ const u = [];
800
+ u.push(t + "=" + encodeURIComponent(o)), c.isNumber(i) && u.push("expires=" + new Date(i).toGMTString()), c.isString(r) && u.push("path=" + r), c.isString(s) && u.push("domain=" + s), l === !0 && u.push("secure"), document.cookie = u.join("; ");
801
+ },
802
+ read: function(t) {
803
+ const o = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
804
+ return o ? decodeURIComponent(o[3]) : null;
805
+ },
806
+ remove: function(t) {
807
+ this.write(t, "", Date.now() - 864e5);
808
+ }
809
+ };
810
+ }()
811
+ ) : (
812
+ // Non standard browser env (web workers, react-native) lack needed support.
813
+ function() {
814
+ return {
815
+ write: function() {
816
+ },
817
+ read: function() {
818
+ return null;
819
+ },
820
+ remove: function() {
821
+ }
822
+ };
823
+ }()
824
+ );
825
+ function vo(e) {
826
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
827
+ }
828
+ function So(e, n) {
829
+ return n ? e.replace(/\/+$/, "") + "/" + n.replace(/^\/+/, "") : e;
830
+ }
831
+ function rn(e, n) {
832
+ return e && !vo(n) ? So(e, n) : n;
833
+ }
834
+ const wo = P.isStandardBrowserEnv ? (
835
+ // Standard browser envs have full support of the APIs needed to test
836
+ // whether the request URL is of the same origin as current location.
837
+ function() {
838
+ const n = /(msie|trident)/i.test(navigator.userAgent), t = document.createElement("a");
839
+ let o;
840
+ function i(r) {
841
+ let s = r;
842
+ return n && (t.setAttribute("href", s), s = t.href), t.setAttribute("href", s), {
843
+ href: t.href,
844
+ protocol: t.protocol ? t.protocol.replace(/:$/, "") : "",
845
+ host: t.host,
846
+ search: t.search ? t.search.replace(/^\?/, "") : "",
847
+ hash: t.hash ? t.hash.replace(/^#/, "") : "",
848
+ hostname: t.hostname,
849
+ port: t.port,
850
+ pathname: t.pathname.charAt(0) === "/" ? t.pathname : "/" + t.pathname
851
+ };
852
+ }
853
+ return o = i(window.location.href), function(s) {
854
+ const l = c.isString(s) ? i(s) : s;
855
+ return l.protocol === o.protocol && l.host === o.host;
856
+ };
857
+ }()
858
+ ) : (
859
+ // Non standard browser envs (web workers, react-native) lack needed support.
860
+ function() {
861
+ return function() {
862
+ return !0;
863
+ };
864
+ }()
865
+ );
866
+ function Co(e) {
867
+ const n = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
868
+ return n && n[1] || "";
869
+ }
870
+ function xo(e, n) {
871
+ e = e || 10;
872
+ const t = new Array(e), o = new Array(e);
873
+ let i = 0, r = 0, s;
874
+ return n = n !== void 0 ? n : 1e3, function(u) {
875
+ const a = Date.now(), p = o[r];
876
+ s || (s = a), t[i] = u, o[i] = a;
877
+ let g = r, h = 0;
878
+ for (; g !== i; )
879
+ h += t[g++], g = g % e;
880
+ if (i = (i + 1) % e, i === r && (r = (r + 1) % e), a - s < n)
881
+ return;
882
+ const b = p && a - p;
883
+ return b ? Math.round(h * 1e3 / b) : void 0;
884
+ };
885
+ }
886
+ function Tt(e, n) {
887
+ let t = 0;
888
+ const o = xo(50, 250);
889
+ return (i) => {
890
+ const r = i.loaded, s = i.lengthComputable ? i.total : void 0, l = r - t, u = o(l), a = r <= s;
891
+ t = r;
892
+ const p = {
893
+ loaded: r,
894
+ total: s,
895
+ progress: s ? r / s : void 0,
896
+ bytes: l,
897
+ rate: u || void 0,
898
+ estimated: u && s && a ? (s - r) / u : void 0,
899
+ event: i
900
+ };
901
+ p[n ? "download" : "upload"] = !0, e(p);
902
+ };
903
+ }
904
+ const $o = typeof XMLHttpRequest < "u", To = $o && function(e) {
905
+ return new Promise(function(t, o) {
906
+ let i = e.data;
907
+ const r = q.from(e.headers).normalize(), s = e.responseType;
908
+ let l;
909
+ function u() {
910
+ e.cancelToken && e.cancelToken.unsubscribe(l), e.signal && e.signal.removeEventListener("abort", l);
911
+ }
912
+ c.isFormData(i) && (P.isStandardBrowserEnv || P.isStandardBrowserWebWorkerEnv ? r.setContentType(!1) : r.setContentType("multipart/form-data;", !1));
913
+ let a = new XMLHttpRequest();
914
+ if (e.auth) {
915
+ const b = e.auth.username || "", _ = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
916
+ r.set("Authorization", "Basic " + btoa(b + ":" + _));
917
+ }
918
+ const p = rn(e.baseURL, e.url);
919
+ a.open(e.method.toUpperCase(), en(p, e.params, e.paramsSerializer), !0), a.timeout = e.timeout;
920
+ function g() {
921
+ if (!a)
922
+ return;
923
+ const b = q.from(
924
+ "getAllResponseHeaders" in a && a.getAllResponseHeaders()
925
+ ), v = {
926
+ data: !s || s === "text" || s === "json" ? a.responseText : a.response,
927
+ status: a.status,
928
+ statusText: a.statusText,
929
+ headers: b,
930
+ config: e,
931
+ request: a
932
+ };
933
+ _o(function(T) {
934
+ t(T), u();
935
+ }, function(T) {
936
+ o(T), u();
937
+ }, v), a = null;
938
+ }
939
+ if ("onloadend" in a ? a.onloadend = g : a.onreadystatechange = function() {
940
+ !a || a.readyState !== 4 || a.status === 0 && !(a.responseURL && a.responseURL.indexOf("file:") === 0) || setTimeout(g);
941
+ }, a.onabort = function() {
942
+ a && (o(new C("Request aborted", C.ECONNABORTED, e, a)), a = null);
943
+ }, a.onerror = function() {
944
+ o(new C("Network Error", C.ERR_NETWORK, e, a)), a = null;
945
+ }, a.ontimeout = function() {
946
+ let _ = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
947
+ const v = e.transitional || tn;
948
+ e.timeoutErrorMessage && (_ = e.timeoutErrorMessage), o(new C(
949
+ _,
950
+ v.clarifyTimeoutError ? C.ETIMEDOUT : C.ECONNABORTED,
951
+ e,
952
+ a
953
+ )), a = null;
954
+ }, P.isStandardBrowserEnv) {
955
+ const b = (e.withCredentials || wo(p)) && e.xsrfCookieName && bo.read(e.xsrfCookieName);
956
+ b && r.set(e.xsrfHeaderName, b);
957
+ }
958
+ i === void 0 && r.setContentType(null), "setRequestHeader" in a && c.forEach(r.toJSON(), function(_, v) {
959
+ a.setRequestHeader(v, _);
960
+ }), c.isUndefined(e.withCredentials) || (a.withCredentials = !!e.withCredentials), s && s !== "json" && (a.responseType = e.responseType), typeof e.onDownloadProgress == "function" && a.addEventListener("progress", Tt(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && a.upload && a.upload.addEventListener("progress", Tt(e.onUploadProgress)), (e.cancelToken || e.signal) && (l = (b) => {
961
+ a && (o(!b || b.type ? new ce(null, e, a) : b), a.abort(), a = null);
962
+ }, e.cancelToken && e.cancelToken.subscribe(l), e.signal && (e.signal.aborted ? l() : e.signal.addEventListener("abort", l)));
963
+ const h = Co(p);
964
+ if (h && P.protocols.indexOf(h) === -1) {
965
+ o(new C("Unsupported protocol " + h + ":", C.ERR_BAD_REQUEST, e));
966
+ return;
967
+ }
968
+ a.send(i || null);
969
+ });
970
+ }, ye = {
971
+ http: Zn,
972
+ xhr: To
973
+ };
974
+ c.forEach(ye, (e, n) => {
975
+ if (e) {
976
+ try {
977
+ Object.defineProperty(e, "name", { value: n });
978
+ } catch {
979
+ }
980
+ Object.defineProperty(e, "adapterName", { value: n });
981
+ }
982
+ });
983
+ const sn = {
984
+ getAdapter: (e) => {
985
+ e = c.isArray(e) ? e : [e];
986
+ const { length: n } = e;
987
+ let t, o;
988
+ for (let i = 0; i < n && (t = e[i], !(o = c.isString(t) ? ye[t.toLowerCase()] : t)); i++)
989
+ ;
990
+ if (!o)
991
+ throw o === !1 ? new C(
992
+ `Adapter ${t} is not supported by the environment`,
993
+ "ERR_NOT_SUPPORT"
994
+ ) : new Error(
995
+ c.hasOwnProp(ye, t) ? `Adapter '${t}' is not available in the build` : `Unknown adapter '${t}'`
996
+ );
997
+ if (!c.isFunction(o))
998
+ throw new TypeError("adapter is not a function");
999
+ return o;
1000
+ },
1001
+ adapters: ye
1002
+ };
1003
+ function Le(e) {
1004
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1005
+ throw new ce(null, e);
1006
+ }
1007
+ function kt(e) {
1008
+ return Le(e), e.headers = q.from(e.headers), e.data = Be.call(
1009
+ e,
1010
+ e.transformRequest
1011
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), sn.getAdapter(e.adapter || Xe.adapter)(e).then(function(o) {
1012
+ return Le(e), o.data = Be.call(
1013
+ e,
1014
+ e.transformResponse,
1015
+ o
1016
+ ), o.headers = q.from(o.headers), o;
1017
+ }, function(o) {
1018
+ return on(o) || (Le(e), o && o.response && (o.response.data = Be.call(
1019
+ e,
1020
+ e.transformResponse,
1021
+ o.response
1022
+ ), o.response.headers = q.from(o.response.headers))), Promise.reject(o);
1023
+ });
1024
+ }
1025
+ const At = (e) => e instanceof q ? e.toJSON() : e;
1026
+ function Y(e, n) {
1027
+ n = n || {};
1028
+ const t = {};
1029
+ function o(a, p, g) {
1030
+ return c.isPlainObject(a) && c.isPlainObject(p) ? c.merge.call({ caseless: g }, a, p) : c.isPlainObject(p) ? c.merge({}, p) : c.isArray(p) ? p.slice() : p;
1031
+ }
1032
+ function i(a, p, g) {
1033
+ if (c.isUndefined(p)) {
1034
+ if (!c.isUndefined(a))
1035
+ return o(void 0, a, g);
1036
+ } else
1037
+ return o(a, p, g);
1038
+ }
1039
+ function r(a, p) {
1040
+ if (!c.isUndefined(p))
1041
+ return o(void 0, p);
1042
+ }
1043
+ function s(a, p) {
1044
+ if (c.isUndefined(p)) {
1045
+ if (!c.isUndefined(a))
1046
+ return o(void 0, a);
1047
+ } else
1048
+ return o(void 0, p);
1049
+ }
1050
+ function l(a, p, g) {
1051
+ if (g in n)
1052
+ return o(a, p);
1053
+ if (g in e)
1054
+ return o(void 0, a);
1055
+ }
1056
+ const u = {
1057
+ url: r,
1058
+ method: r,
1059
+ data: r,
1060
+ baseURL: s,
1061
+ transformRequest: s,
1062
+ transformResponse: s,
1063
+ paramsSerializer: s,
1064
+ timeout: s,
1065
+ timeoutMessage: s,
1066
+ withCredentials: s,
1067
+ adapter: s,
1068
+ responseType: s,
1069
+ xsrfCookieName: s,
1070
+ xsrfHeaderName: s,
1071
+ onUploadProgress: s,
1072
+ onDownloadProgress: s,
1073
+ decompress: s,
1074
+ maxContentLength: s,
1075
+ maxBodyLength: s,
1076
+ beforeRedirect: s,
1077
+ transport: s,
1078
+ httpAgent: s,
1079
+ httpsAgent: s,
1080
+ cancelToken: s,
1081
+ socketPath: s,
1082
+ responseEncoding: s,
1083
+ validateStatus: l,
1084
+ headers: (a, p) => i(At(a), At(p), !0)
1085
+ };
1086
+ return c.forEach(Object.keys(Object.assign({}, e, n)), function(p) {
1087
+ const g = u[p] || i, h = g(e[p], n[p], p);
1088
+ c.isUndefined(h) && g !== l || (t[p] = h);
1089
+ }), t;
1090
+ }
1091
+ const an = "1.5.0", Ke = {};
1092
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, n) => {
1093
+ Ke[e] = function(o) {
1094
+ return typeof o === e || "a" + (n < 1 ? "n " : " ") + e;
1095
+ };
1096
+ });
1097
+ const Rt = {};
1098
+ Ke.transitional = function(n, t, o) {
1099
+ function i(r, s) {
1100
+ return "[Axios v" + an + "] Transitional option '" + r + "'" + s + (o ? ". " + o : "");
1101
+ }
1102
+ return (r, s, l) => {
1103
+ if (n === !1)
1104
+ throw new C(
1105
+ i(s, " has been removed" + (t ? " in " + t : "")),
1106
+ C.ERR_DEPRECATED
1107
+ );
1108
+ return t && !Rt[s] && (Rt[s] = !0, console.warn(
1109
+ i(
1110
+ s,
1111
+ " has been deprecated since v" + t + " and will be removed in the near future"
1112
+ )
1113
+ )), n ? n(r, s, l) : !0;
1114
+ };
1115
+ };
1116
+ function ko(e, n, t) {
1117
+ if (typeof e != "object")
1118
+ throw new C("options must be an object", C.ERR_BAD_OPTION_VALUE);
1119
+ const o = Object.keys(e);
1120
+ let i = o.length;
1121
+ for (; i-- > 0; ) {
1122
+ const r = o[i], s = n[r];
1123
+ if (s) {
1124
+ const l = e[r], u = l === void 0 || s(l, r, e);
1125
+ if (u !== !0)
1126
+ throw new C("option " + r + " must be " + u, C.ERR_BAD_OPTION_VALUE);
1127
+ continue;
1128
+ }
1129
+ if (t !== !0)
1130
+ throw new C("Unknown option " + r, C.ERR_BAD_OPTION);
1131
+ }
1132
+ }
1133
+ const Me = {
1134
+ assertOptions: ko,
1135
+ validators: Ke
1136
+ }, V = Me.validators;
1137
+ class be {
1138
+ constructor(n) {
1139
+ this.defaults = n, this.interceptors = {
1140
+ request: new xt(),
1141
+ response: new xt()
1142
+ };
1143
+ }
1144
+ /**
1145
+ * Dispatch a request
1146
+ *
1147
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
1148
+ * @param {?Object} config
1149
+ *
1150
+ * @returns {Promise} The Promise to be fulfilled
1151
+ */
1152
+ request(n, t) {
1153
+ typeof n == "string" ? (t = t || {}, t.url = n) : t = n || {}, t = Y(this.defaults, t);
1154
+ const { transitional: o, paramsSerializer: i, headers: r } = t;
1155
+ o !== void 0 && Me.assertOptions(o, {
1156
+ silentJSONParsing: V.transitional(V.boolean),
1157
+ forcedJSONParsing: V.transitional(V.boolean),
1158
+ clarifyTimeoutError: V.transitional(V.boolean)
1159
+ }, !1), i != null && (c.isFunction(i) ? t.paramsSerializer = {
1160
+ serialize: i
1161
+ } : Me.assertOptions(i, {
1162
+ encode: V.function,
1163
+ serialize: V.function
1164
+ }, !0)), t.method = (t.method || this.defaults.method || "get").toLowerCase();
1165
+ let s = r && c.merge(
1166
+ r.common,
1167
+ r[t.method]
1168
+ );
1169
+ r && c.forEach(
1170
+ ["delete", "get", "head", "post", "put", "patch", "common"],
1171
+ (_) => {
1172
+ delete r[_];
1173
+ }
1174
+ ), t.headers = q.concat(s, r);
1175
+ const l = [];
1176
+ let u = !0;
1177
+ this.interceptors.request.forEach(function(v) {
1178
+ typeof v.runWhen == "function" && v.runWhen(t) === !1 || (u = u && v.synchronous, l.unshift(v.fulfilled, v.rejected));
1179
+ });
1180
+ const a = [];
1181
+ this.interceptors.response.forEach(function(v) {
1182
+ a.push(v.fulfilled, v.rejected);
1183
+ });
1184
+ let p, g = 0, h;
1185
+ if (!u) {
1186
+ const _ = [kt.bind(this), void 0];
1187
+ for (_.unshift.apply(_, l), _.push.apply(_, a), h = _.length, p = Promise.resolve(t); g < h; )
1188
+ p = p.then(_[g++], _[g++]);
1189
+ return p;
1190
+ }
1191
+ h = l.length;
1192
+ let b = t;
1193
+ for (g = 0; g < h; ) {
1194
+ const _ = l[g++], v = l[g++];
1195
+ try {
1196
+ b = _(b);
1197
+ } catch (R) {
1198
+ v.call(this, R);
1199
+ break;
1200
+ }
1201
+ }
1202
+ try {
1203
+ p = kt.call(this, b);
1204
+ } catch (_) {
1205
+ return Promise.reject(_);
1206
+ }
1207
+ for (g = 0, h = a.length; g < h; )
1208
+ p = p.then(a[g++], a[g++]);
1209
+ return p;
1210
+ }
1211
+ getUri(n) {
1212
+ n = Y(this.defaults, n);
1213
+ const t = rn(n.baseURL, n.url);
1214
+ return en(t, n.params, n.paramsSerializer);
1215
+ }
1216
+ }
1217
+ c.forEach(["delete", "get", "head", "options"], function(n) {
1218
+ be.prototype[n] = function(t, o) {
1219
+ return this.request(Y(o || {}, {
1220
+ method: n,
1221
+ url: t,
1222
+ data: (o || {}).data
1223
+ }));
1224
+ };
1225
+ });
1226
+ c.forEach(["post", "put", "patch"], function(n) {
1227
+ function t(o) {
1228
+ return function(r, s, l) {
1229
+ return this.request(Y(l || {}, {
1230
+ method: n,
1231
+ headers: o ? {
1232
+ "Content-Type": "multipart/form-data"
1233
+ } : {},
1234
+ url: r,
1235
+ data: s
1236
+ }));
1237
+ };
1238
+ }
1239
+ be.prototype[n] = t(), be.prototype[n + "Form"] = t(!0);
1240
+ });
1241
+ const ge = be;
1242
+ class Ze {
1243
+ constructor(n) {
1244
+ if (typeof n != "function")
1245
+ throw new TypeError("executor must be a function.");
1246
+ let t;
1247
+ this.promise = new Promise(function(r) {
1248
+ t = r;
1249
+ });
1250
+ const o = this;
1251
+ this.promise.then((i) => {
1252
+ if (!o._listeners)
1253
+ return;
1254
+ let r = o._listeners.length;
1255
+ for (; r-- > 0; )
1256
+ o._listeners[r](i);
1257
+ o._listeners = null;
1258
+ }), this.promise.then = (i) => {
1259
+ let r;
1260
+ const s = new Promise((l) => {
1261
+ o.subscribe(l), r = l;
1262
+ }).then(i);
1263
+ return s.cancel = function() {
1264
+ o.unsubscribe(r);
1265
+ }, s;
1266
+ }, n(function(r, s, l) {
1267
+ o.reason || (o.reason = new ce(r, s, l), t(o.reason));
1268
+ });
1269
+ }
1270
+ /**
1271
+ * Throws a `CanceledError` if cancellation has been requested.
1272
+ */
1273
+ throwIfRequested() {
1274
+ if (this.reason)
1275
+ throw this.reason;
1276
+ }
1277
+ /**
1278
+ * Subscribe to the cancel signal
1279
+ */
1280
+ subscribe(n) {
1281
+ if (this.reason) {
1282
+ n(this.reason);
1283
+ return;
1284
+ }
1285
+ this._listeners ? this._listeners.push(n) : this._listeners = [n];
1286
+ }
1287
+ /**
1288
+ * Unsubscribe from the cancel signal
1289
+ */
1290
+ unsubscribe(n) {
1291
+ if (!this._listeners)
1292
+ return;
1293
+ const t = this._listeners.indexOf(n);
1294
+ t !== -1 && this._listeners.splice(t, 1);
1295
+ }
1296
+ /**
1297
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
1298
+ * cancels the `CancelToken`.
1299
+ */
1300
+ static source() {
1301
+ let n;
1302
+ return {
1303
+ token: new Ze(function(i) {
1304
+ n = i;
1305
+ }),
1306
+ cancel: n
1307
+ };
1308
+ }
1309
+ }
1310
+ const Ao = Ze;
1311
+ function Ro(e) {
1312
+ return function(t) {
1313
+ return e.apply(null, t);
1314
+ };
1315
+ }
1316
+ function Oo(e) {
1317
+ return c.isObject(e) && e.isAxiosError === !0;
1318
+ }
1319
+ const qe = {
1320
+ Continue: 100,
1321
+ SwitchingProtocols: 101,
1322
+ Processing: 102,
1323
+ EarlyHints: 103,
1324
+ Ok: 200,
1325
+ Created: 201,
1326
+ Accepted: 202,
1327
+ NonAuthoritativeInformation: 203,
1328
+ NoContent: 204,
1329
+ ResetContent: 205,
1330
+ PartialContent: 206,
1331
+ MultiStatus: 207,
1332
+ AlreadyReported: 208,
1333
+ ImUsed: 226,
1334
+ MultipleChoices: 300,
1335
+ MovedPermanently: 301,
1336
+ Found: 302,
1337
+ SeeOther: 303,
1338
+ NotModified: 304,
1339
+ UseProxy: 305,
1340
+ Unused: 306,
1341
+ TemporaryRedirect: 307,
1342
+ PermanentRedirect: 308,
1343
+ BadRequest: 400,
1344
+ Unauthorized: 401,
1345
+ PaymentRequired: 402,
1346
+ Forbidden: 403,
1347
+ NotFound: 404,
1348
+ MethodNotAllowed: 405,
1349
+ NotAcceptable: 406,
1350
+ ProxyAuthenticationRequired: 407,
1351
+ RequestTimeout: 408,
1352
+ Conflict: 409,
1353
+ Gone: 410,
1354
+ LengthRequired: 411,
1355
+ PreconditionFailed: 412,
1356
+ PayloadTooLarge: 413,
1357
+ UriTooLong: 414,
1358
+ UnsupportedMediaType: 415,
1359
+ RangeNotSatisfiable: 416,
1360
+ ExpectationFailed: 417,
1361
+ ImATeapot: 418,
1362
+ MisdirectedRequest: 421,
1363
+ UnprocessableEntity: 422,
1364
+ Locked: 423,
1365
+ FailedDependency: 424,
1366
+ TooEarly: 425,
1367
+ UpgradeRequired: 426,
1368
+ PreconditionRequired: 428,
1369
+ TooManyRequests: 429,
1370
+ RequestHeaderFieldsTooLarge: 431,
1371
+ UnavailableForLegalReasons: 451,
1372
+ InternalServerError: 500,
1373
+ NotImplemented: 501,
1374
+ BadGateway: 502,
1375
+ ServiceUnavailable: 503,
1376
+ GatewayTimeout: 504,
1377
+ HttpVersionNotSupported: 505,
1378
+ VariantAlsoNegotiates: 506,
1379
+ InsufficientStorage: 507,
1380
+ LoopDetected: 508,
1381
+ NotExtended: 510,
1382
+ NetworkAuthenticationRequired: 511
1383
+ };
1384
+ Object.entries(qe).forEach(([e, n]) => {
1385
+ qe[n] = e;
1386
+ });
1387
+ const Eo = qe;
1388
+ function ln(e) {
1389
+ const n = new ge(e), t = qt(ge.prototype.request, n);
1390
+ return c.extend(t, ge.prototype, n, { allOwnKeys: !0 }), c.extend(t, n, null, { allOwnKeys: !0 }), t.create = function(i) {
1391
+ return ln(Y(e, i));
1392
+ }, t;
1393
+ }
1394
+ const k = ln(Xe);
1395
+ k.Axios = ge;
1396
+ k.CanceledError = ce;
1397
+ k.CancelToken = Ao;
1398
+ k.isCancel = on;
1399
+ k.VERSION = an;
1400
+ k.toFormData = $e;
1401
+ k.AxiosError = C;
1402
+ k.Cancel = k.CanceledError;
1403
+ k.all = function(n) {
1404
+ return Promise.all(n);
1405
+ };
1406
+ k.spread = Ro;
1407
+ k.isAxiosError = Oo;
1408
+ k.mergeConfig = Y;
1409
+ k.AxiosHeaders = q;
1410
+ k.formToJSON = (e) => nn(c.isHTMLForm(e) ? new FormData(e) : e);
1411
+ k.getAdapter = sn.getAdapter;
1412
+ k.HttpStatusCode = Eo;
1413
+ k.default = k;
1414
+ const No = k;
1415
+ function Fo(e) {
1416
+ const n = x({ width: 0, height: 0 });
1417
+ function t() {
1418
+ const o = e.value.getBoundingClientRect();
1419
+ n.value.width = o.width, n.value.height = o.height;
1420
+ }
1421
+ return ve(() => {
1422
+ t(), window.addEventListener("resize", t);
1423
+ }), Se(() => {
1424
+ window.removeEventListener("resize", t);
1425
+ }), { elementSize: n };
1426
+ }
1427
+ const Io = (e, n) => {
1428
+ const t = e.__vccOpts || e;
1429
+ for (const [o, i] of n)
1430
+ t[o] = i;
1431
+ return t;
1432
+ }, Po = {
1433
+ props: {
1434
+ value: { type: Boolean, default: !1 },
1435
+ textValue: String,
1436
+ icon: String,
1437
+ iconPosition: { type: String, default: "left" },
1438
+ iconSize: String,
1439
+ fontColor: { type: String, default: "#FFFFFF" },
1440
+ textDecoration: String,
1441
+ fontSize: { type: String, default: "16px" },
1442
+ fontStyle: String,
1443
+ fontFamily: { type: String, default: "Poppins-Regular" },
1444
+ height: { type: String, default: "fit-content" },
1445
+ width: { type: String, default: "fit-content" },
1446
+ borderRadius: { type: String, default: "0px" },
1447
+ borderType: { type: String, default: "solid" },
1448
+ borderWidth: { type: Number, default: 0 },
1449
+ borderColor: String,
1450
+ backgroundColor: { type: String, default: "none" },
1451
+ activeBackgroundColor: { type: String, default: "#000000" },
1452
+ activeBorderWidth: { type: Number, default: 2 },
1453
+ activeBorderType: { type: String, default: "solid" },
1454
+ activeBorderColor: { type: String, default: "#cbee6b" },
1455
+ activeColorText: { type: String, default: "#FFFFFF" },
1456
+ cursorType: { type: String, default: "default" },
1457
+ typeOnOff: { type: Boolean, default: !1 }
1458
+ },
1459
+ watch: {
1460
+ value: {
1461
+ deep: !0,
1462
+ immediate: !0,
1463
+ handler(e) {
1464
+ this.status = e;
1465
+ }
1466
+ }
1467
+ },
1468
+ data() {
1469
+ return { status: !1 };
1470
+ },
1471
+ computed: {
1472
+ customStyle() {
1473
+ return {
1474
+ height: this.height,
1475
+ width: this.width,
1476
+ backgroundColor: this.backgroundColor,
1477
+ borderRadius: this.borderRadius,
1478
+ border: `${this.borderType} ${this.borderWidth}px ${this.borderColor}`,
1479
+ color: this.fontColor,
1480
+ textDecoration: this.textDecoration,
1481
+ cursor: this.cursorType,
1482
+ fontSize: this.fontSize,
1483
+ fontStyle: this.fontStyle,
1484
+ fontFamily: `${this.fontFamily} !important`
1485
+ };
1486
+ },
1487
+ customActive() {
1488
+ return {
1489
+ backgroundColor: this.activeBackgroundColor,
1490
+ color: this.activeColorText,
1491
+ border: `${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`
1492
+ };
1493
+ }
1494
+ },
1495
+ methods: {
1496
+ btnClick(e) {
1497
+ this.$emit("click", e), this.typeOnOff && (this.status = !this.status, this.$emit("status", this.status));
1498
+ }
1499
+ }
1500
+ }, Bo = ["src"], Lo = {
1501
+ key: 1,
1502
+ class: "text"
1503
+ }, zo = ["src"];
1504
+ function Do(e, n, t, o, i, r) {
1505
+ return m(), y("div", {
1506
+ class: d(["button", i.status && t.typeOnOff && "button-active"]),
1507
+ style: L([r.customStyle, i.status && t.typeOnOff && r.customActive]),
1508
+ onClick: n[0] || (n[0] = (...s) => r.btnClick && r.btnClick(...s))
1509
+ }, [
1510
+ t.icon && t.iconPosition.toLowerCase() === "left" ? (m(), y("img", {
1511
+ key: 0,
1512
+ class: "icon",
1513
+ style: L({ width: t.iconSize }),
1514
+ src: t.icon
1515
+ }, null, 12, Bo)) : w("", !0),
1516
+ t.textValue ? (m(), y("div", Lo, $(t.textValue), 1)) : w("", !0),
1517
+ t.icon && t.iconPosition.toLowerCase() === "right" ? (m(), y("img", {
1518
+ key: 2,
1519
+ class: "icon",
1520
+ style: L({ width: t.iconSize }),
1521
+ src: t.icon
1522
+ }, null, 12, zo)) : w("", !0)
1523
+ ], 6);
1524
+ }
1525
+ const jo = /* @__PURE__ */ Io(Po, [["render", Do], ["__scopeId", "data-v-1bfd444b"]]), Mo = "_tablePosition_xnln6_36", qo = "_tablePositionWrapper_xnln6_50", Uo = "_imgHenrryIcon_xnln6_58", Vo = "_americaIcon_xnln6_66", Ho = "_playerPhoto_xnln6_77", Wo = "_toniKroos_xnln6_85", Go = "_shapeIcon_xnln6_95", Jo = "_menuiconsTeams_xnln6_100", Xo = "_component31_xnln6_108", Ko = "_playerName_xnln6_118", Zo = "_icnPlayIcon_xnln6_125", Yo = "_goles_xnln6_132", Qo = "_americaIcon1_xnln6_138", ei = "_teamsAmerica_xnln6_151", ti = "_containerData_xnln6_156", ni = "_shapeIcon1_xnln6_163", oi = "_icnExpand1_xnln6_168", ii = "_icnExpand_xnln6_168", ri = "_playerData_xnln6_186", si = "_playerInfo_xnln6_196", ai = "_headerTop_xnln6_209", li = "_playerRow_xnln6_222", ci = "_groupsLeague_xnln6_232", di = "_text_xnln6_240", ui = "_btnViewFullList_xnln6_247", fi = "_headerTops_xnln6_263", pi = "_btnVideosOptions_xnln6_324", hi = {
1526
+ tablePosition: Mo,
1527
+ tablePositionWrapper: qo,
1528
+ imgHenrryIcon: Uo,
1529
+ americaIcon: Vo,
1530
+ playerPhoto: Ho,
1531
+ toniKroos: Wo,
1532
+ shapeIcon: Go,
1533
+ menuiconsTeams: Jo,
1534
+ component31: Xo,
1535
+ playerName: Ko,
1536
+ icnPlayIcon: Zo,
1537
+ goles: Yo,
1538
+ americaIcon1: Qo,
1539
+ teamsAmerica: ei,
1540
+ containerData: ti,
1541
+ shapeIcon1: ni,
1542
+ icnExpand1: oi,
1543
+ icnExpand: ii,
1544
+ playerData: ri,
1545
+ playerInfo: si,
1546
+ headerTop: ai,
1547
+ playerRow: li,
1548
+ groupsLeague: ci,
1549
+ text: di,
1550
+ btnViewFullList: ui,
1551
+ headerTops: fi,
1552
+ btnVideosOptions: pi
1553
+ }, mi = (e, n) => {
1554
+ const t = e.__vccOpts || e;
1555
+ for (const [o, i] of n)
1556
+ t[o] = i;
1557
+ return t;
1558
+ }, Ye = {
1559
+ components: {
1560
+ GSCButton: jo
1561
+ },
1562
+ props: {
1563
+ categoryName: { type: String, default: "" },
1564
+ categoryId: { type: String, default: "" },
1565
+ data: { type: Object, default: () => {
1566
+ } },
1567
+ backgroundColor: { type: String, default: "#0d1d29" },
1568
+ backgroundColorHeader: { type: String, default: "#183143" },
1569
+ fontColorName: { type: String, default: "#FFFFFF" },
1570
+ fontSizeName: { type: String, default: "14px" },
1571
+ fontFamilyName: { type: String, default: "Poppins-Regular" },
1572
+ fontColorTopNum: { type: String, default: "#FFFFFF" },
1573
+ fontSizeTopNum: { type: String, default: "96px" },
1574
+ fontFamilyTopNum: { type: String, default: "Poppins-SemiBold" },
1575
+ fontColorCategory: { type: String, default: "#FFFFFF" },
1576
+ fontSizeCategory: { type: String, default: "12px" },
1577
+ fontFamilyCategory: { type: String, default: "Poppins-Regular" },
1578
+ opacityColorTopNum: { type: Number, default: 0.09 },
1579
+ borderColorCategory: { type: String, default: "#cbee6b" },
1580
+ iconVideos: { type: String, default: "https://az755631.vo.msecnd.net/todoelfut/playdes.png" },
1581
+ iconSize: { type: String, default: "12px" },
1582
+ iconPosition: { type: String, default: "left" },
1583
+ colorArrow: { type: String, default: "#D9D9D9" },
1584
+ buttonWidth: { type: String, default: "88px" },
1585
+ buttonHeight: { type: String, default: "32px" },
1586
+ buttonRadius: { type: String, default: "30px" },
1587
+ buttonBorderWidth: { type: Number, default: 1 },
1588
+ buttonBackground: { type: String, default: "#ffffff1a" },
1589
+ buttonfontFamily: { type: String, default: "Poppins-Semibold" },
1590
+ buttonBorderColor: { type: String, default: "#cbee6b" },
1591
+ buttonFontSize: { type: String, default: "10px" }
1592
+ },
1593
+ data: () => ({
1594
+ expand: !1
1595
+ }),
1596
+ methods: {
1597
+ viewProfile(e) {
1598
+ this.$emit("play", e);
1599
+ },
1600
+ clickMore(e) {
1601
+ this.$emit("more", e);
1602
+ },
1603
+ clickExpand(e) {
1604
+ this.expand = !this.expand, this.$emit("expand", { expand: this.expand, id: e });
1605
+ },
1606
+ clickFav(e) {
1607
+ this.$emit("fav", e);
1608
+ }
1609
+ }
1610
+ }, Ot = () => {
1611
+ ae((e) => ({
1612
+ 36973089: e.fontSizeTopNum,
1613
+ "6bda63ec": e.fontFamilyTopNum,
1614
+ "009a2246": e.fontColorTopNum,
1615
+ "3eeaa3b1": e.opacityColorTopNum,
1616
+ "21053e77": e.fontColorName,
1617
+ "3956a974": e.fontFamilyName,
1618
+ "45b409ba": e.fontSizeName,
1619
+ "1003a73a": e.backgroundColorHeader,
1620
+ "1c571839": e.fontFamilyCategory,
1621
+ "2b133196": e.fontSizeCategory,
1622
+ "1c38aaea": e.fontColorCategory,
1623
+ "05d797a6": e.borderColorCategory,
1624
+ "10b2f366": e.backgroundColor
1625
+ }));
1626
+ }, Et = Ye.setup;
1627
+ Ye.setup = Et ? (e, n) => (Ot(), Et(e, n)) : Ot;
1628
+ const yi = ["src"], gi = ["src"], _i = /* @__PURE__ */ f("path", {
1629
+ "fill-rule": "evenodd",
1630
+ "clip-rule": "evenodd",
1631
+ d: "M15.2078 5.28949C16.2005 5.27882 17.0831 5.9194 17.3806 6.86649C17.6994 7.80657 17.3646 8.84446 16.5567 9.42116L14.0346 11.2631L14.9925 14.2294C15.2973 15.1735 14.9584 16.2065 14.1535 16.7865C13.3486 17.3666 12.2615 17.3613 11.4623 16.7734L8.99544 14.9605L6.52934 16.7756C5.73385 17.3754 4.63868 17.3809 3.83723 16.789C3.02181 16.2156 2.68054 15.1742 2.99843 14.2294L3.95625 11.2631L1.43701 9.42116C0.638988 8.8377 0.306381 7.80742 0.612602 6.86748C0.918824 5.92754 1.7945 5.2909 2.78306 5.28949H5.87827L6.81838 2.35935C7.12172 1.41299 8.00167 0.770996 8.99544 0.770996C9.98922 0.770996 10.8692 1.41299 11.1725 2.35935L12.1126 5.28949H15.2078ZM12.7849 10.4229L15.7207 8.27701H15.7222C16.0254 8.05496 16.1516 7.66312 16.035 7.3058C15.9183 6.94849 15.5851 6.70665 15.2092 6.70638H11.5962C11.2884 6.70638 11.0159 6.5077 10.9217 6.21472L9.82362 2.79221C9.70797 2.43288 9.37364 2.18925 8.99615 2.18925C8.61867 2.18925 8.28433 2.43288 8.16868 2.79221L7.07059 6.21472C6.97642 6.5077 6.70389 6.70638 6.39615 6.70638H2.78306C2.40717 6.70665 2.07404 6.94849 1.95735 7.3058C1.84067 7.66312 1.96686 8.05496 2.27014 8.27701L5.20595 10.4229C5.4533 10.6033 5.55675 10.9223 5.46241 11.2135L4.34306 14.6637C4.22518 15.0239 4.35424 15.4189 4.66203 15.64C4.96982 15.8611 5.38539 15.8574 5.68912 15.6307L8.57604 13.5054C8.8256 13.3221 9.16529 13.3221 9.41485 13.5054L12.3018 15.6307C12.6056 15.8543 13.019 15.8564 13.3251 15.6359C13.6312 15.4154 13.7601 15.0227 13.6443 14.6637L12.5285 11.2135C12.4341 10.9223 12.5376 10.6033 12.7849 10.4229Z",
1632
+ fill: "#CBEE6B"
1633
+ }, null, -1), bi = [
1634
+ _i
1635
+ ], vi = ["src"], Si = ["fill"], wi = ["fill"];
1636
+ function Ci(e, n, t, o, i, r) {
1637
+ const s = H("GSCButton");
1638
+ return m(), y("div", {
1639
+ class: d(e.$style.headerTops)
1640
+ }, [
1641
+ f("div", {
1642
+ class: d(e.$style.playerRow),
1643
+ id: "player-row"
1644
+ }, [
1645
+ f("div", {
1646
+ class: d(e.$style.headerTop)
1647
+ }, [
1648
+ f("div", {
1649
+ class: d(e.$style.playerPhoto),
1650
+ id: "container-player-photp"
1651
+ }, [
1652
+ f("div", {
1653
+ class: d(e.$style.tablePositionWrapper)
1654
+ }, [
1655
+ f("b", {
1656
+ class: d(e.$style.tablePosition)
1657
+ }, $(t.data.top), 3)
1658
+ ], 2),
1659
+ f("img", {
1660
+ class: d(e.$style.imgHenrryIcon),
1661
+ alt: "",
1662
+ src: t.data.photo
1663
+ }, null, 10, yi),
1664
+ f("img", {
1665
+ class: d(e.$style.americaIcon),
1666
+ alt: "",
1667
+ src: t.data.logo
1668
+ }, null, 10, gi)
1669
+ ], 2),
1670
+ f("main", {
1671
+ class: d(e.$style.playerInfo),
1672
+ id: "container-player-info"
1673
+ }, [
1674
+ f("div", {
1675
+ class: d(e.$style.playerName)
1676
+ }, [
1677
+ f("div", {
1678
+ class: d(e.$style.toniKroos)
1679
+ }, $(t.data.name), 3),
1680
+ f("div", {
1681
+ class: d(e.$style.component31)
1682
+ }, [
1683
+ f("div", {
1684
+ class: d(e.$style.menuiconsTeams)
1685
+ }, [
1686
+ (m(), y("svg", {
1687
+ onClick: n[0] || (n[0] = (l) => r.clickFav({ player: t.data.player_id, category: t.categoryId })),
1688
+ class: d(e.$style.shapeIcon),
1689
+ width: "18",
1690
+ height: "18",
1691
+ viewBox: "0 0 18 18",
1692
+ fill: "none",
1693
+ xmlns: "http://www.w3.org/2000/svg"
1694
+ }, bi, 2))
1695
+ ], 2)
1696
+ ], 2)
1697
+ ], 2),
1698
+ f("div", {
1699
+ class: d(e.$style.playerData)
1700
+ }, [
1701
+ f("div", {
1702
+ class: d(e.$style.containerData)
1703
+ }, [
1704
+ _e(s, {
1705
+ icon: t.iconVideos,
1706
+ "icon-size": t.iconSize,
1707
+ "icon-position": t.iconPosition,
1708
+ width: t.buttonWidth,
1709
+ height: t.buttonHeight,
1710
+ "border-radius": t.buttonRadius,
1711
+ "border-width": t.buttonBorderWidth,
1712
+ "background-color": t.buttonBackground,
1713
+ "font-family": t.buttonfontFamily,
1714
+ "border-color": t.buttonBorderColor,
1715
+ "text-value": t.data.total + " " + t.categoryName,
1716
+ "font-size": t.buttonFontSize,
1717
+ onClick: n[1] || (n[1] = (l) => r.viewProfile({ player: t.data.player_id, category: t.categoryId }))
1718
+ }, null, 8, ["icon", "icon-size", "icon-position", "width", "height", "border-radius", "border-width", "background-color", "font-family", "border-color", "text-value", "font-size"]),
1719
+ f("div", {
1720
+ class: d(e.$style.teamsAmerica)
1721
+ }, [
1722
+ f("img", {
1723
+ class: d(e.$style.americaIcon1),
1724
+ alt: "",
1725
+ src: t.data.logo
1726
+ }, null, 10, vi)
1727
+ ], 2)
1728
+ ], 2),
1729
+ f("div", {
1730
+ class: d(e.$style.icnExpand),
1731
+ onClick: n[2] || (n[2] = (l) => r.clickExpand(t.data.player_id))
1732
+ }, [
1733
+ (m(), y("svg", {
1734
+ width: "12",
1735
+ height: "8",
1736
+ viewBox: "0 0 12 8",
1737
+ fill: t.colorArrow,
1738
+ xmlns: "http://www.w3.org/2000/svg"
1739
+ }, [
1740
+ f("path", {
1741
+ "fill-rule": "evenodd",
1742
+ "clip-rule": "evenodd",
1743
+ d: "M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",
1744
+ fill: t.colorArrow
1745
+ }, null, 8, wi)
1746
+ ], 8, Si))
1747
+ ], 2)
1748
+ ], 2)
1749
+ ], 2)
1750
+ ], 2)
1751
+ ], 2),
1752
+ f("div", {
1753
+ class: d(e.$style.btnViewFullList),
1754
+ onClick: n[3] || (n[3] = (l) => r.clickMore(t.categoryId))
1755
+ }, [
1756
+ f("div", {
1757
+ class: d(e.$style.text)
1758
+ }, [
1759
+ f("div", {
1760
+ class: d(e.$style.groupsLeague)
1761
+ }, $(t.categoryName) + " →", 3)
1762
+ ], 2)
1763
+ ], 2)
1764
+ ], 2);
1765
+ }
1766
+ const xi = {
1767
+ $style: hi
1768
+ }, $i = /* @__PURE__ */ mi(Ye, [["render", Ci], ["__cssModules", xi]]), Ti = (e, n) => {
1769
+ const t = e.__vccOpts || e;
1770
+ for (const [o, i] of n)
1771
+ t[o] = i;
1772
+ return t;
1773
+ }, ki = {
1774
+ props: {
1775
+ value: { type: Boolean, default: !1 },
1776
+ textValue: String,
1777
+ icon: String,
1778
+ iconPosition: { type: String, default: "left" },
1779
+ iconSize: String,
1780
+ fontColor: { type: String, default: "#FFFFFF" },
1781
+ textDecoration: String,
1782
+ fontSize: { type: String, default: "16px" },
1783
+ fontStyle: String,
1784
+ fontFamily: { type: String, default: "Poppins-Regular" },
1785
+ height: { type: String, default: "fit-content" },
1786
+ width: { type: String, default: "fit-content" },
1787
+ borderRadius: { type: String, default: "0px" },
1788
+ borderType: { type: String, default: "solid" },
1789
+ borderWidth: { type: Number, default: 0 },
1790
+ borderColor: String,
1791
+ backgroundColor: { type: String, default: "none" },
1792
+ activeBackgroundColor: { type: String, default: "#000000" },
1793
+ activeBorderWidth: { type: Number, default: 2 },
1794
+ activeBorderType: { type: String, default: "solid" },
1795
+ activeBorderColor: { type: String, default: "#cbee6b" },
1796
+ activeColorText: { type: String, default: "#FFFFFF" },
1797
+ cursorType: { type: String, default: "default" },
1798
+ typeOnOff: { type: Boolean, default: !1 }
1799
+ },
1800
+ watch: {
1801
+ value: {
1802
+ deep: !0,
1803
+ immediate: !0,
1804
+ handler(e) {
1805
+ this.status = e;
1806
+ }
1807
+ }
1808
+ },
1809
+ data() {
1810
+ return { status: !1 };
1811
+ },
1812
+ computed: {
1813
+ customStyle() {
1814
+ return {
1815
+ height: this.height,
1816
+ width: this.width,
1817
+ backgroundColor: this.backgroundColor,
1818
+ borderRadius: this.borderRadius,
1819
+ border: `${this.borderType} ${this.borderWidth}px ${this.borderColor}`,
1820
+ color: this.fontColor,
1821
+ textDecoration: this.textDecoration,
1822
+ cursor: this.cursorType,
1823
+ fontSize: this.fontSize,
1824
+ fontStyle: this.fontStyle,
1825
+ fontFamily: `${this.fontFamily} !important`
1826
+ };
1827
+ },
1828
+ customActive() {
1829
+ return {
1830
+ backgroundColor: this.activeBackgroundColor,
1831
+ color: this.activeColorText,
1832
+ border: `${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`
1833
+ };
1834
+ }
1835
+ },
1836
+ methods: {
1837
+ btnClick(e) {
1838
+ this.$emit("click", e), this.typeOnOff && (this.status = !this.status, this.$emit("status", this.status));
1839
+ }
1840
+ }
1841
+ }, Ai = ["src"], Ri = {
1842
+ key: 1,
1843
+ class: "text"
1844
+ }, Oi = ["src"];
1845
+ function Ei(e, n, t, o, i, r) {
1846
+ return m(), y("div", {
1847
+ class: d(["button", i.status && t.typeOnOff && "button-active"]),
1848
+ style: L([r.customStyle, i.status && t.typeOnOff && r.customActive]),
1849
+ onClick: n[0] || (n[0] = (...s) => r.btnClick && r.btnClick(...s))
1850
+ }, [
1851
+ t.icon && t.iconPosition.toLowerCase() === "left" ? (m(), y("img", {
1852
+ key: 0,
1853
+ class: "icon",
1854
+ style: L({ width: t.iconSize }),
1855
+ src: t.icon
1856
+ }, null, 12, Ai)) : w("", !0),
1857
+ t.textValue ? (m(), y("div", Ri, $(t.textValue), 1)) : w("", !0),
1858
+ t.icon && t.iconPosition.toLowerCase() === "right" ? (m(), y("img", {
1859
+ key: 2,
1860
+ class: "icon",
1861
+ style: L({ width: t.iconSize }),
1862
+ src: t.icon
1863
+ }, null, 12, Oi)) : w("", !0)
1864
+ ], 6);
1865
+ }
1866
+ const Ni = /* @__PURE__ */ Ti(ki, [["render", Ei], ["__scopeId", "data-v-1bfd444b"]]);
1867
+ function Fi(e) {
1868
+ const n = x({ width: 0, height: 0 });
1869
+ function t() {
1870
+ const o = e.value.getBoundingClientRect();
1871
+ n.value.width = o.width, n.value.height = o.height;
1872
+ }
1873
+ return ve(() => {
1874
+ t(), window.addEventListener("resize", t);
1875
+ }), Se(() => {
1876
+ window.removeEventListener("resize", t);
1877
+ }), { elementSize: n };
1878
+ }
1879
+ const Ii = "_rotate_1ql3p_3", Pi = "_numberPosition_1ql3p_47", Bi = "_shapeIcon_1ql3p_53", Li = "_chivasIcon_1ql3p_58", zi = "_iconFavorites_1ql3p_69", Di = "_positionContainer_1ql3p_77", ji = "_imgPlayerIcon_1ql3p_84", Mi = "_manchesterUnited_1ql3p_92", qi = "_playerContainer_1ql3p_99", Ui = "_containerLeft_1ql3p_110", Vi = "_imgTeamIcon_1ql3p_117", Hi = "_teamName_1ql3p_123", Wi = "_nameTeam_1ql3p_129", Gi = "_dfC_1ql3p_138", Ji = "_position_1ql3p_77", Xi = "_age_1ql3p_148", Ki = "_manchesterUnitedIcon_1ql3p_156", Zi = "_country_1ql3p_162", Yi = "_playedGames_1ql3p_169", Qi = "_playedMinutes_1ql3p_176", er = "_block01_1ql3p_183", tr = "_leagueName_1ql3p_191", nr = "_roleCharacterIcon_1ql3p_197", or = "_verVideos_1ql3p_204", ir = "_btnVideos_1ql3p_210", rr = "_numberOfVideos_1ql3p_224", sr = "_containerBtnVideos_1ql3p_230", ar = "_containesOptions_1ql3p_240", lr = "_arrowExpandIcon_1ql3p_247", cr = "_block02_1ql3p_256", dr = "_containerRight_1ql3p_264", ur = "_rowwPlayer_1ql3p_274", fr = {
1880
+ rotate: Ii,
1881
+ numberPosition: Pi,
1882
+ shapeIcon: Bi,
1883
+ chivasIcon: Li,
1884
+ iconFavorites: zi,
1885
+ positionContainer: Di,
1886
+ imgPlayerIcon: ji,
1887
+ manchesterUnited: Mi,
1888
+ playerContainer: qi,
1889
+ containerLeft: Ui,
1890
+ imgTeamIcon: Vi,
1891
+ teamName: Hi,
1892
+ nameTeam: Wi,
1893
+ dfC: Gi,
1894
+ position: Ji,
1895
+ age: Xi,
1896
+ manchesterUnitedIcon: Ki,
1897
+ country: Zi,
1898
+ playedGames: Yi,
1899
+ playedMinutes: Qi,
1900
+ block01: er,
1901
+ leagueName: tr,
1902
+ roleCharacterIcon: nr,
1903
+ verVideos: or,
1904
+ btnVideos: ir,
1905
+ numberOfVideos: rr,
1906
+ containerBtnVideos: sr,
1907
+ containesOptions: ar,
1908
+ arrowExpandIcon: lr,
1909
+ block02: cr,
1910
+ containerRight: dr,
1911
+ rowwPlayer: ur
1912
+ }, pr = (e, n) => {
1913
+ const t = e.__vccOpts || e;
1914
+ for (const [o, i] of n)
1915
+ t[o] = i;
1916
+ return t;
1917
+ }, Qe = {
1918
+ components: {
1919
+ GSCButton: Ni
1920
+ },
1921
+ setup() {
1922
+ const e = x("myDivRef2"), {
1923
+ elementSize: n
1924
+ } = Fi(e);
1925
+ return {
1926
+ myDivRef2: e,
1927
+ elementSize: n
1928
+ };
1929
+ },
1930
+ props: {
1931
+ background: { type: String, default: "#172531" },
1932
+ height: { type: String, default: "35px" },
1933
+ fontColor: { type: String, default: "#FFFFFF" },
1934
+ fontSize: { type: String, default: "12px" },
1935
+ fontFamily: { type: String, default: "Poppins-Regular" },
1936
+ data: { type: Object, default: () => {
1937
+ } },
1938
+ colorArrow: { type: String, default: "#D9D9D9" },
1939
+ buttonTextValue: { type: String, default: "Ver videos" },
1940
+ iconVideos: { type: String, default: "https://az755631.vo.msecnd.net/todoelfut/playdes.png" },
1941
+ iconSize: { type: String, default: "12px" },
1942
+ iconPosition: { type: String, default: "left" },
1943
+ buttonWidth: { type: String, default: "110px" },
1944
+ buttonWidthMini: { type: String, default: "24px" },
1945
+ buttonHeightMini: { type: String, default: "24px" },
1946
+ buttonHeight: { type: String, default: "30px" },
1947
+ buttonRadius: { type: String, default: "30px" },
1948
+ buttonBorderWidth: { type: Number, default: 1 },
1949
+ buttonBackground: { type: String, default: "#ffffff1a" },
1950
+ buttonfontFamily: { type: String, default: "Poppins-Semibold" },
1951
+ buttonBorderColor: { type: String, default: "#cbee6b" },
1952
+ buttonFontSize: { type: String, default: "9px" }
1953
+ },
1954
+ data: () => ({
1955
+ expand: !1
1956
+ }),
1957
+ methods: {
1958
+ clickExpand(e) {
1959
+ this.expand = !this.expand, this.$emit("expand", { expand: this.expand, id: e });
1960
+ }
1961
+ }
1962
+ }, Nt = () => {
1963
+ ae((e) => ({
1964
+ "2d7dd0c6": e.fontFamily,
1965
+ "646c85c1": e.fontColor,
1966
+ 27158961: e.background,
1967
+ f3f4524c: e.height,
1968
+ "665d45e3": e.fontSize
1969
+ }));
1970
+ }, Ft = Qe.setup;
1971
+ Qe.setup = Ft ? (e, n) => (Nt(), Ft(e, n)) : Nt;
1972
+ const hr = /* @__PURE__ */ f("path", {
1973
+ "fill-rule": "evenodd",
1974
+ "clip-rule": "evenodd",
1975
+ d: "M15.2078 5.28998C16.2005 5.27931 17.0831 5.91989 17.3806 6.86698C17.6994 7.80706 17.3646 8.84495 16.5567 9.42165L14.0346 11.2636L14.9925 14.2299C15.2973 15.174 14.9584 16.207 14.1535 16.787C13.3486 17.3671 12.2615 17.3618 11.4623 16.7739L8.99544 14.961L6.52934 16.776C5.73385 17.3759 4.63868 17.3813 3.83723 16.7895C3.02181 16.2161 2.68054 15.1747 2.99843 14.2299L3.95625 11.2636L1.43701 9.42165C0.638988 8.83819 0.306381 7.80791 0.612602 6.86797C0.918824 5.92803 1.7945 5.29138 2.78306 5.28998H5.87827L6.81838 2.35983C7.12172 1.41348 8.00167 0.771484 8.99544 0.771484C9.98922 0.771484 10.8692 1.41348 11.1725 2.35983L12.1126 5.28998H15.2078ZM12.7849 10.4234L15.7207 8.2775H15.7222C16.0254 8.05544 16.1516 7.66361 16.035 7.30629C15.9183 6.94897 15.5851 6.70714 15.2092 6.70687H11.5962C11.2884 6.70686 11.0159 6.50819 10.9217 6.21521L9.82362 2.7927C9.70797 2.43336 9.37364 2.18974 8.99615 2.18974C8.61867 2.18974 8.28433 2.43336 8.16868 2.7927L7.07059 6.21521C6.97642 6.50819 6.70389 6.70686 6.39615 6.70687H2.78306C2.40717 6.70714 2.07404 6.94897 1.95735 7.30629C1.84067 7.66361 1.96686 8.05544 2.27014 8.2775L5.20595 10.4234C5.4533 10.6038 5.55675 10.9227 5.46241 11.214L4.34306 14.6642C4.22518 15.0243 4.35424 15.4194 4.66203 15.6405C4.96982 15.8616 5.38539 15.8579 5.68912 15.6312L8.57604 13.5059C8.8256 13.3225 9.16529 13.3225 9.41485 13.5059L12.3018 15.6312C12.6056 15.8548 13.019 15.8569 13.3251 15.6364C13.6312 15.4159 13.7601 15.0232 13.6443 14.6642L12.5285 11.214C12.4341 10.9227 12.5376 10.6038 12.7849 10.4234Z",
1976
+ fill: "#CBEE6B"
1977
+ }, null, -1), mr = [
1978
+ hr
1979
+ ], yr = ["src"], gr = ["src"], _r = ["src"], br = ["src"], vr = ["fill"], Sr = ["fill"];
1980
+ function wr(e, n, t, o, i, r) {
1981
+ const s = H("GSCButton");
1982
+ return m(), y("div", {
1983
+ class: d(e.$style.rowwPlayer),
1984
+ id: "container-row-player",
1985
+ ref: o.myDivRef2
1986
+ }, [
1987
+ f("div", {
1988
+ class: d(e.$style.containerLeft),
1989
+ id: "container-left"
1990
+ }, [
1991
+ f("div", {
1992
+ class: d(e.$style.positionContainer)
1993
+ }, [
1994
+ f("div", {
1995
+ class: d(e.$style.numberPosition)
1996
+ }, $(t.data.position), 3),
1997
+ f("div", {
1998
+ class: d(e.$style.iconFavorites)
1999
+ }, [
2000
+ (m(), y("svg", {
2001
+ class: d(e.$style.shapeIcon),
2002
+ width: "18",
2003
+ height: "18",
2004
+ viewBox: "0 0 18 18",
2005
+ fill: "none",
2006
+ xmlns: "http://www.w3.org/2000/svg"
2007
+ }, mr, 2))
2008
+ ], 2)
2009
+ ], 2),
2010
+ f("div", {
2011
+ class: d(e.$style.playerContainer)
2012
+ }, [
2013
+ f("img", {
2014
+ class: d(e.$style.imgPlayerIcon),
2015
+ src: t.data.player_photo
2016
+ }, null, 10, yr),
2017
+ f("div", {
2018
+ class: d(e.$style.manchesterUnited)
2019
+ }, $(t.data.player_name), 3),
2020
+ o.elementSize.width <= 420 ? (m(), y("img", {
2021
+ key: 0,
2022
+ class: d(e.$style.chivasIcon),
2023
+ alt: "",
2024
+ src: t.data.team_logo
2025
+ }, null, 10, gr)) : w("", !0)
2026
+ ], 2)
2027
+ ], 2),
2028
+ f("div", {
2029
+ class: d(e.$style.containerRight),
2030
+ id: "container-right"
2031
+ }, [
2032
+ f("div", {
2033
+ class: d(e.$style.block01)
2034
+ }, [
2035
+ o.elementSize.width > 420 ? (m(), y("div", {
2036
+ key: 0,
2037
+ class: d(e.$style.nameTeam)
2038
+ }, [
2039
+ f("img", {
2040
+ class: d(e.$style.imgTeamIcon),
2041
+ alt: "",
2042
+ src: t.data.team_logo
2043
+ }, null, 10, _r),
2044
+ o.elementSize.width > 540 ? (m(), y("div", {
2045
+ key: 0,
2046
+ class: d(e.$style.teamName)
2047
+ }, $(t.data.team_abrev), 3)) : w("", !0)
2048
+ ], 2)) : w("", !0),
2049
+ o.elementSize.width > 730 ? (m(), y("div", {
2050
+ key: 1,
2051
+ class: d(e.$style.position)
2052
+ }, [
2053
+ f("span", {
2054
+ class: d(e.$style.dfC)
2055
+ }, $(t.data.player_position), 3)
2056
+ ], 2)) : w("", !0),
2057
+ o.elementSize.width > 960 ? (m(), y("div", {
2058
+ key: 2,
2059
+ class: d(e.$style.age)
2060
+ }, $(t.data.player_age), 3)) : w("", !0),
2061
+ o.elementSize.width > 960 ? (m(), y("div", {
2062
+ key: 3,
2063
+ class: d(e.$style.country)
2064
+ }, [
2065
+ f("img", {
2066
+ class: d(e.$style.manchesterUnitedIcon),
2067
+ alt: "",
2068
+ src: t.data.player_country_flag
2069
+ }, null, 10, br)
2070
+ ], 2)) : w("", !0),
2071
+ o.elementSize.width > 540 ? (m(), y("div", {
2072
+ key: 4,
2073
+ class: d(e.$style.playedGames)
2074
+ }, $(t.data.player_games), 3)) : w("", !0),
2075
+ o.elementSize.width > 635 ? (m(), y("div", {
2076
+ key: 5,
2077
+ class: d(e.$style.playedMinutes)
2078
+ }, $(t.data.player_min), 3)) : w("", !0)
2079
+ ], 2),
2080
+ f("div", {
2081
+ class: d(e.$style.block02)
2082
+ }, [
2083
+ f("div", {
2084
+ class: d(e.$style.containesOptions)
2085
+ }, [
2086
+ o.elementSize.width > 1180 ? (m(), y("div", {
2087
+ key: 0,
2088
+ class: d(e.$style.leagueName)
2089
+ }, $(t.data.league_name), 3)) : w("", !0),
2090
+ f("div", {
2091
+ class: d(e.$style.containerBtnVideos)
2092
+ }, [
2093
+ o.elementSize.width > 635 ? (m(), M(s, {
2094
+ key: 0,
2095
+ icon: t.iconVideos,
2096
+ "icon-size": t.iconSize,
2097
+ "icon-position": t.iconPosition,
2098
+ width: t.buttonWidth,
2099
+ height: t.buttonHeight,
2100
+ "border-radius": t.buttonRadius,
2101
+ "border-width": t.buttonBorderWidth,
2102
+ "background-color": t.buttonBackground,
2103
+ "font-family": t.buttonfontFamily,
2104
+ "border-color": t.buttonBorderColor,
2105
+ "text-value": t.buttonTextValue,
2106
+ "font-size": t.buttonFontSize
2107
+ }, null, 8, ["icon", "icon-size", "icon-position", "width", "height", "border-radius", "border-width", "background-color", "font-family", "border-color", "text-value", "font-size"])) : (m(), M(s, {
2108
+ key: 1,
2109
+ icon: t.iconVideos,
2110
+ "icon-size": t.iconSize,
2111
+ "icon-position": t.iconPosition,
2112
+ width: t.buttonWidthMini,
2113
+ height: t.buttonHeightMini,
2114
+ "border-radius": t.buttonRadius,
2115
+ "border-width": t.buttonBorderWidth,
2116
+ "background-color": t.buttonBackground,
2117
+ "font-family": t.buttonfontFamily,
2118
+ "border-color": t.buttonBorderColor,
2119
+ "font-size": t.buttonFontSize
2120
+ }, null, 8, ["icon", "icon-size", "icon-position", "width", "height", "border-radius", "border-width", "background-color", "font-family", "border-color", "font-size"])),
2121
+ o.elementSize.width <= 635 ? (m(), y("div", {
2122
+ key: 2,
2123
+ class: d(e.$style.numberOfVideos)
2124
+ }, $(t.data.total), 3)) : w("", !0)
2125
+ ], 2)
2126
+ ], 2),
2127
+ (m(), y("svg", {
2128
+ class: d([e.$style.arrowExpandIcon, e.expand ? e.$style.rotate : ""]),
2129
+ width: "12",
2130
+ height: "8",
2131
+ viewBox: "0 0 12 8",
2132
+ fill: t.colorArrow,
2133
+ xmlns: "http://www.w3.org/2000/svg",
2134
+ onClick: n[0] || (n[0] = (l) => r.clickExpand(t.data.id))
2135
+ }, [
2136
+ f("path", {
2137
+ "fill-rule": "evenodd",
2138
+ "clip-rule": "evenodd",
2139
+ d: "M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",
2140
+ fill: t.colorArrow
2141
+ }, null, 8, Sr)
2142
+ ], 10, vr))
2143
+ ], 2)
2144
+ ], 2)
2145
+ ], 2);
2146
+ }
2147
+ const Cr = {
2148
+ $style: fr
2149
+ }, xr = /* @__PURE__ */ pr(Qe, [["render", wr], ["__cssModules", Cr]]);
2150
+ function $r(e) {
2151
+ const n = x({ width: 0, height: 0 });
2152
+ function t() {
2153
+ const o = e.value.getBoundingClientRect();
2154
+ n.value.width = o.width, n.value.height = o.height;
2155
+ }
2156
+ return ve(() => {
2157
+ t(), window.addEventListener("resize", t);
2158
+ }), Se(() => {
2159
+ window.removeEventListener("resize", t);
2160
+ }), { elementSize: n };
2161
+ }
2162
+ const Tr = "/icn-arrow-expand.svg", kr = "_position_cnuh0_50", Ar = "_player_cnuh0_59", Rr = "_containerLeftTitles_cnuh0_68", Or = "_teamTitle_cnuh0_75", Er = "_positionTitle_cnuh0_82", Nr = "_ageTitle_cnuh0_89", Fr = "_partidos_cnuh0_96", Ir = "_playedGamesTitle_cnuh0_99", Pr = "_playedMinutesTitle_cnuh0_108", Br = "_block01Titles_cnuh0_117", Lr = "_mon_cnuh0_125", zr = "_mon1_cnuh0_134", Dr = "_containesOptionsTitles_cnuh0_143", jr = "_icnIcon_cnuh0_150", Mr = "_block02Titles_cnuh0_155", qr = "_containerRightTitles_cnuh0_162", Ur = "_headTitles_cnuh0_171", Vr = {
2163
+ position: kr,
2164
+ player: Ar,
2165
+ containerLeftTitles: Rr,
2166
+ teamTitle: Or,
2167
+ positionTitle: Er,
2168
+ ageTitle: Nr,
2169
+ partidos: Fr,
2170
+ playedGamesTitle: Ir,
2171
+ playedMinutesTitle: Pr,
2172
+ block01Titles: Br,
2173
+ mon: Lr,
2174
+ mon1: zr,
2175
+ containesOptionsTitles: Dr,
2176
+ icnIcon: jr,
2177
+ block02Titles: Mr,
2178
+ containerRightTitles: qr,
2179
+ headTitles: Ur
2180
+ }, Hr = (e, n) => {
2181
+ const t = e.__vccOpts || e;
2182
+ for (const [o, i] of n)
2183
+ t[o] = i;
2184
+ return t;
2185
+ }, et = {
2186
+ components: {},
2187
+ setup() {
2188
+ const e = x("myDivRef"), {
2189
+ elementSize: n
2190
+ } = $r(e);
2191
+ return {
2192
+ myDivRef: e,
2193
+ elementSize: n
2194
+ };
2195
+ },
2196
+ props: {
2197
+ background: { type: String, default: "#172531" },
2198
+ height: { type: String, default: "35px" },
2199
+ fontColor: { type: String, default: "#FFFFFF" },
2200
+ fontSize: { type: String, default: "14px" },
2201
+ fontFamily: { type: String, default: "Poppins-Regular" }
2202
+ },
2203
+ watch: {},
2204
+ data: () => ({}),
2205
+ async created() {
2206
+ },
2207
+ computed: {},
2208
+ methods: {}
2209
+ }, It = () => {
2210
+ ae((e) => ({
2211
+ "0432fec2": e.fontFamily,
2212
+ "739ba845": e.fontColor,
2213
+ "046a9146": e.background,
2214
+ accd3a54: e.height,
2215
+ "19847a42": e.fontSize
2216
+ }));
2217
+ }, Pt = et.setup;
2218
+ et.setup = Pt ? (e, n) => (It(), Pt(e, n)) : It;
2219
+ function Wr(e, n, t, o, i, r) {
2220
+ return m(), y("div", {
2221
+ class: d(e.$style.headTitles),
2222
+ id: "container-titles",
2223
+ ref: o.myDivRef
2224
+ }, [
2225
+ f("div", {
2226
+ class: d(e.$style.containerLeftTitles),
2227
+ id: "container-left-titles"
2228
+ }, [
2229
+ f("div", {
2230
+ class: d(e.$style.position)
2231
+ }, "Pos.", 2),
2232
+ f("div", {
2233
+ class: d(e.$style.player)
2234
+ }, "Jugador", 2)
2235
+ ], 2),
2236
+ f("div", {
2237
+ class: d(e.$style.containerRightTitles),
2238
+ id: "container-right-titles"
2239
+ }, [
2240
+ f("div", {
2241
+ class: d(e.$style.block01Titles)
2242
+ }, [
2243
+ o.elementSize.width > 540 ? (m(), y("div", {
2244
+ key: 0,
2245
+ class: d(e.$style.teamTitle)
2246
+ }, "Equipo", 2)) : w("", !0),
2247
+ o.elementSize.width > 730 ? (m(), y("div", {
2248
+ key: 1,
2249
+ class: d(e.$style.positionTitle)
2250
+ }, "Posición", 2)) : w("", !0),
2251
+ o.elementSize.width > 960 ? (m(), y("div", {
2252
+ key: 2,
2253
+ class: d(e.$style.ageTitle)
2254
+ }, "edad", 2)) : w("", !0),
2255
+ o.elementSize.width > 960 ? (m(), y("div", {
2256
+ key: 3,
2257
+ class: d(e.$style.ageTitle)
2258
+ }, "País", 2)) : w("", !0),
2259
+ o.elementSize.width > 540 ? (m(), y("div", {
2260
+ key: 4,
2261
+ class: d(e.$style.playedGamesTitle)
2262
+ }, [
2263
+ f("p", {
2264
+ class: d(e.$style.partidos)
2265
+ }, "Partidos", 2),
2266
+ f("p", {
2267
+ class: d(e.$style.partidos)
2268
+ }, "Jugados", 2)
2269
+ ], 2)) : w("", !0),
2270
+ o.elementSize.width > 635 ? (m(), y("div", {
2271
+ key: 5,
2272
+ class: d(e.$style.playedMinutesTitle)
2273
+ }, [
2274
+ f("p", {
2275
+ class: d(e.$style.partidos)
2276
+ }, "Minutos", 2),
2277
+ f("p", {
2278
+ class: d(e.$style.partidos)
2279
+ }, "Jugados", 2)
2280
+ ], 2)) : w("", !0)
2281
+ ], 2),
2282
+ f("div", {
2283
+ class: d(e.$style.block02Titles)
2284
+ }, [
2285
+ f("div", {
2286
+ class: d(e.$style.containesOptionsTitles)
2287
+ }, [
2288
+ o.elementSize.width > 1180 ? (m(), y("div", {
2289
+ key: 0,
2290
+ class: d(e.$style.mon)
2291
+ }, "Liga", 2)) : w("", !0),
2292
+ f("div", {
2293
+ class: d(e.$style.mon1)
2294
+ }, "videos", 2)
2295
+ ], 2),
2296
+ f("img", {
2297
+ style: { visibility: "hidden" },
2298
+ class: d(e.$style.icnIcon),
2299
+ alt: "",
2300
+ src: Tr
2301
+ }, null, 2)
2302
+ ], 2)
2303
+ ], 2)
2304
+ ], 2);
2305
+ }
2306
+ const Gr = {
2307
+ $style: Vr
2308
+ }, Jr = /* @__PURE__ */ Hr(et, [["render", Wr], ["__cssModules", Gr]]), Xr = (e, n) => {
2309
+ const t = e.__vccOpts || e;
2310
+ for (const [o, i] of n)
2311
+ t[o] = i;
2312
+ return t;
2313
+ }, Kr = {
2314
+ props: {
2315
+ value: { type: Boolean, default: !1 },
2316
+ textValue: String,
2317
+ icon: String,
2318
+ iconPosition: { type: String, default: "left" },
2319
+ iconSize: String,
2320
+ fontColor: { type: String, default: "#FFFFFF" },
2321
+ textDecoration: String,
2322
+ fontSize: { type: String, default: "16px" },
2323
+ fontStyle: String,
2324
+ fontFamily: { type: String, default: "Poppins-Regular" },
2325
+ height: { type: String, default: "fit-content" },
2326
+ width: { type: String, default: "fit-content" },
2327
+ borderRadius: { type: String, default: "0px" },
2328
+ borderType: { type: String, default: "solid" },
2329
+ borderWidth: { type: Number, default: 0 },
2330
+ borderColor: String,
2331
+ backgroundColor: { type: String, default: "none" },
2332
+ activeBackgroundColor: { type: String, default: "#000000" },
2333
+ activeBorderWidth: { type: Number, default: 2 },
2334
+ activeBorderType: { type: String, default: "solid" },
2335
+ activeBorderColor: { type: String, default: "#cbee6b" },
2336
+ activeColorText: { type: String, default: "#FFFFFF" },
2337
+ cursorType: { type: String, default: "default" },
2338
+ typeOnOff: { type: Boolean, default: !1 }
2339
+ },
2340
+ watch: {
2341
+ value: {
2342
+ deep: !0,
2343
+ immediate: !0,
2344
+ handler(e) {
2345
+ this.status = e;
2346
+ }
2347
+ }
2348
+ },
2349
+ data() {
2350
+ return { status: !1 };
2351
+ },
2352
+ computed: {
2353
+ customStyle() {
2354
+ return {
2355
+ height: this.height,
2356
+ width: this.width,
2357
+ backgroundColor: this.backgroundColor,
2358
+ borderRadius: this.borderRadius,
2359
+ border: `${this.borderType} ${this.borderWidth}px ${this.borderColor}`,
2360
+ color: this.fontColor,
2361
+ textDecoration: this.textDecoration,
2362
+ cursor: this.cursorType,
2363
+ fontSize: this.fontSize,
2364
+ fontStyle: this.fontStyle,
2365
+ fontFamily: `${this.fontFamily} !important`
2366
+ };
2367
+ },
2368
+ customActive() {
2369
+ return {
2370
+ backgroundColor: this.activeBackgroundColor,
2371
+ color: this.activeColorText,
2372
+ border: `${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`
2373
+ };
2374
+ }
2375
+ },
2376
+ methods: {
2377
+ btnClick(e) {
2378
+ this.$emit("click", e), this.typeOnOff && (this.status = !this.status, this.$emit("status", this.status));
2379
+ }
2380
+ }
2381
+ }, Zr = ["src"], Yr = {
2382
+ key: 1,
2383
+ class: "text"
2384
+ }, Qr = ["src"];
2385
+ function es(e, n, t, o, i, r) {
2386
+ return m(), y("div", {
2387
+ class: d(["button", i.status && t.typeOnOff && "button-active"]),
2388
+ style: L([r.customStyle, i.status && t.typeOnOff && r.customActive]),
2389
+ onClick: n[0] || (n[0] = (...s) => r.btnClick && r.btnClick(...s))
2390
+ }, [
2391
+ t.icon && t.iconPosition.toLowerCase() === "left" ? (m(), y("img", {
2392
+ key: 0,
2393
+ class: "icon",
2394
+ style: L({ width: t.iconSize }),
2395
+ src: t.icon
2396
+ }, null, 12, Zr)) : w("", !0),
2397
+ t.textValue ? (m(), y("div", Yr, $(t.textValue), 1)) : w("", !0),
2398
+ t.icon && t.iconPosition.toLowerCase() === "right" ? (m(), y("img", {
2399
+ key: 2,
2400
+ class: "icon",
2401
+ style: L({ width: t.iconSize }),
2402
+ src: t.icon
2403
+ }, null, 12, Qr)) : w("", !0)
2404
+ ], 6);
2405
+ }
2406
+ const ts = /* @__PURE__ */ Xr(Kr, [["render", es], ["__scopeId", "data-v-1bfd444b"]]), ns = "_equipo_1jqr6_12", os = "_atlasSeleccin_1jqr6_17", is = "_equipoAtlasSeleccinMexi_1jqr6_20", rs = "_aos_1jqr6_24", ss = "_span_1jqr6_29", as = "_nacionalidadMex_1jqr6_32", ls = "_manchesterUnited_1jqr6_35", cs = "_manchesterUnited1_1jqr6_41", ds = "_containerInfo_1jqr6_51", us = "_verPerfil_1jqr6_60", fs = "_btnProfile_1jqr6_69", ps = "_containerButton_1jqr6_85", hs = "_dataContainer_1jqr6_92", ms = "_expandedInfoPlayer_1jqr6_102", ys = {
2407
+ equipo: ns,
2408
+ atlasSeleccin: os,
2409
+ equipoAtlasSeleccinMexi: is,
2410
+ aos: rs,
2411
+ span: ss,
2412
+ nacionalidadMex: as,
2413
+ manchesterUnited: ls,
2414
+ manchesterUnited1: cs,
2415
+ containerInfo: ds,
2416
+ verPerfil: us,
2417
+ btnProfile: fs,
2418
+ containerButton: ps,
2419
+ dataContainer: hs,
2420
+ expandedInfoPlayer: ms
2421
+ }, gs = (e, n) => {
2422
+ const t = e.__vccOpts || e;
2423
+ for (const [o, i] of n)
2424
+ t[o] = i;
2425
+ return t;
2426
+ }, tt = {
2427
+ components: {
2428
+ GSCButton: ts
2429
+ },
2430
+ props: {
2431
+ viewButton: { type: Boolean, default: !0 },
2432
+ viewTeam: { type: Boolean, default: !0 },
2433
+ viewAge: { type: Boolean, default: !0 },
2434
+ viewNationality: { type: Boolean, default: !0 },
2435
+ viewPosition: { type: Boolean, default: !0 },
2436
+ viewGames: { type: Boolean, default: !0 },
2437
+ viewMin: { type: Boolean, default: !0 },
2438
+ viewGoals: { type: Boolean, default: !0 },
2439
+ viewEffectiveness: { type: Boolean, default: !0 },
2440
+ height: { type: String, default: "134px" },
2441
+ fontColor: { type: String, default: "#ffffffb3" },
2442
+ fontColorValue: { type: String, default: "#ffffff" },
2443
+ fontFamily: { type: String, default: "Poppins-Medium" },
2444
+ fontSize: { type: String, default: "10px" },
2445
+ data: {
2446
+ type: Object,
2447
+ default: () => {
2448
+ }
2449
+ }
2450
+ },
2451
+ data() {
2452
+ return {};
2453
+ },
2454
+ computed: {},
2455
+ methods: {
2456
+ viewProfile(e) {
2457
+ this.$emit("viewprofile", e);
2458
+ }
2459
+ }
2460
+ }, Bt = () => {
2461
+ ae((e) => ({
2462
+ "1201f6d4": e.fontFamily,
2463
+ "6237341a": e.fontColor,
2464
+ "46b40984": e.fontColorValue,
2465
+ "13a0d11e": e.fontSize,
2466
+ "2dbb33e8": e.height
2467
+ }));
2468
+ }, Lt = tt.setup;
2469
+ tt.setup = Lt ? (e, n) => (Bt(), Lt(e, n)) : Bt;
2470
+ function _s(e, n, t, o, i, r) {
2471
+ const s = H("GSCButton");
2472
+ return m(), y("div", {
2473
+ class: d(e.$style.expandedInfoPlayer)
2474
+ }, [
2475
+ f("div", {
2476
+ class: d(e.$style.dataContainer),
2477
+ id: "data-container"
2478
+ }, [
2479
+ f("div", {
2480
+ class: d(e.$style.containerInfo),
2481
+ id: "container-info"
2482
+ }, [
2483
+ f("div", {
2484
+ class: d(e.$style.manchesterUnited)
2485
+ }, [
2486
+ t.viewTeam ? (m(), y("p", {
2487
+ key: 0,
2488
+ class: d(e.$style.equipoAtlasSeleccinMexi)
2489
+ }, [
2490
+ f("span", {
2491
+ class: d(e.$style.equipo)
2492
+ }, "Equipo: ", 2),
2493
+ f("span", {
2494
+ class: d(e.$style.atlasSeleccin)
2495
+ }, $(t.data.teams), 3)
2496
+ ], 2)) : w("", !0),
2497
+ t.viewAge ? (m(), y("p", {
2498
+ key: 1,
2499
+ class: d(e.$style.nacionalidadMex)
2500
+ }, [
2501
+ f("span", {
2502
+ class: d(e.$style.equipo)
2503
+ }, "Edad: ", 2),
2504
+ f("span", {
2505
+ class: d(e.$style.aos)
2506
+ }, $(t.data.age) + " años", 3),
2507
+ f("span", {
2508
+ class: d(e.$style.span)
2509
+ }, " (" + $(t.data.dataofbirth) + ")", 3)
2510
+ ], 2)) : w("", !0),
2511
+ t.viewNationality ? (m(), y("p", {
2512
+ key: 2,
2513
+ class: d(e.$style.nacionalidadMex)
2514
+ }, [
2515
+ f("span", {
2516
+ class: d(e.$style.span)
2517
+ }, "Nacionalidad: ", 2),
2518
+ f("span", {
2519
+ class: d(e.$style.aos)
2520
+ }, $(t.data.nationality), 3)
2521
+ ], 2)) : w("", !0),
2522
+ t.viewPosition ? (m(), y("p", {
2523
+ key: 3,
2524
+ class: d(e.$style.nacionalidadMex)
2525
+ }, [
2526
+ f("span", {
2527
+ class: d(e.$style.span)
2528
+ }, "Posición: ", 2),
2529
+ f("span", {
2530
+ class: d(e.$style.aos)
2531
+ }, $(t.data.position), 3)
2532
+ ], 2)) : w("", !0)
2533
+ ], 2),
2534
+ f("div", {
2535
+ class: d(e.$style.manchesterUnited1)
2536
+ }, [
2537
+ t.viewGames ? (m(), y("p", {
2538
+ key: 0,
2539
+ class: d(e.$style.nacionalidadMex)
2540
+ }, [
2541
+ f("span", {
2542
+ class: d(e.$style.span)
2543
+ }, "partidos Jugados: ", 2),
2544
+ f("span", {
2545
+ class: d(e.$style.aos)
2546
+ }, $(t.data.games), 3)
2547
+ ], 2)) : w("", !0),
2548
+ t.viewMin ? (m(), y("p", {
2549
+ key: 1,
2550
+ class: d(e.$style.nacionalidadMex)
2551
+ }, [
2552
+ f("span", {
2553
+ class: d(e.$style.span)
2554
+ }, "Minutos Jugados: ", 2),
2555
+ f("span", {
2556
+ class: d(e.$style.aos)
2557
+ }, $(t.data.min), 3)
2558
+ ], 2)) : w("", !0),
2559
+ t.viewGoals ? (m(), y("p", {
2560
+ key: 2,
2561
+ class: d(e.$style.nacionalidadMex)
2562
+ }, [
2563
+ f("span", {
2564
+ class: d(e.$style.span)
2565
+ }, $(t.data.category) + ": ", 3),
2566
+ f("span", {
2567
+ class: d(e.$style.aos)
2568
+ }, $(t.data.goals), 3)
2569
+ ], 2)) : w("", !0),
2570
+ t.viewEffectiveness ? (m(), y("p", {
2571
+ key: 3,
2572
+ class: d(e.$style.nacionalidadMex)
2573
+ }, [
2574
+ f("span", {
2575
+ class: d(e.$style.span)
2576
+ }, "Efectividad de pases: ", 2),
2577
+ f("span", {
2578
+ class: d(e.$style.aos)
2579
+ }, $(t.data.effectiveness), 3)
2580
+ ], 2)) : w("", !0)
2581
+ ], 2)
2582
+ ], 2),
2583
+ f("div", {
2584
+ class: d(e.$style.containerButton),
2585
+ id: "btn-container"
2586
+ }, [
2587
+ t.viewButton ? (m(), M(s, {
2588
+ key: 0,
2589
+ width: "88px",
2590
+ height: "30px",
2591
+ "border-radius": "30px",
2592
+ "border-width": 1,
2593
+ "background-color": "#ffffff1a",
2594
+ "font-family": "Poppins-Semibold",
2595
+ "border-color": "#cbee6b",
2596
+ "text-value": "Ver perfil",
2597
+ "font-size": "10px",
2598
+ onClick: n[0] || (n[0] = (l) => r.viewProfile(t.data.id))
2599
+ })) : w("", !0)
2600
+ ], 2)
2601
+ ], 2)
2602
+ ], 2);
2603
+ }
2604
+ const bs = {
2605
+ $style: ys
2606
+ }, vs = /* @__PURE__ */ gs(tt, [["render", _s], ["__cssModules", bs]]);
2607
+ /**
2608
+ * Vue 3 Carousel 0.3.1
2609
+ * (c) 2023
2610
+ * @license MIT
2611
+ */
2612
+ const E = {
2613
+ itemsToShow: 1,
2614
+ itemsToScroll: 1,
2615
+ modelValue: 0,
2616
+ transition: 300,
2617
+ autoplay: 0,
2618
+ snapAlign: "center",
2619
+ wrapAround: !1,
2620
+ throttle: 16,
2621
+ pauseAutoplayOnHover: !1,
2622
+ mouseDrag: !0,
2623
+ touchDrag: !0,
2624
+ dir: "ltr",
2625
+ breakpoints: void 0,
2626
+ i18n: {
2627
+ ariaNextSlide: "Navigate to next slide",
2628
+ ariaPreviousSlide: "Navigate to previous slide",
2629
+ ariaNavigateToSlide: "Navigate to slide {slideNumber}",
2630
+ ariaGallery: "Gallery",
2631
+ itemXofY: "Item {currentSlide} of {slidesCount}",
2632
+ iconArrowUp: "Arrow pointing upwards",
2633
+ iconArrowDown: "Arrow pointing downwards",
2634
+ iconArrowRight: "Arrow pointing to the right",
2635
+ iconArrowLeft: "Arrow pointing to the left"
2636
+ }
2637
+ }, zt = {
2638
+ // count of items to showed per view
2639
+ itemsToShow: {
2640
+ default: E.itemsToShow,
2641
+ type: Number
2642
+ },
2643
+ // count of items to be scrolled
2644
+ itemsToScroll: {
2645
+ default: E.itemsToScroll,
2646
+ type: Number
2647
+ },
2648
+ // control infinite scrolling mode
2649
+ wrapAround: {
2650
+ default: E.wrapAround,
2651
+ type: Boolean
2652
+ },
2653
+ // control max drag
2654
+ throttle: {
2655
+ default: E.throttle,
2656
+ type: Number
2657
+ },
2658
+ // control snap position alignment
2659
+ snapAlign: {
2660
+ default: E.snapAlign,
2661
+ validator(e) {
2662
+ return ["start", "end", "center", "center-even", "center-odd"].includes(e);
2663
+ }
2664
+ },
2665
+ // sliding transition time in ms
2666
+ transition: {
2667
+ default: E.transition,
2668
+ type: Number
2669
+ },
2670
+ // an object to store breakpoints
2671
+ breakpoints: {
2672
+ default: E.breakpoints,
2673
+ type: Object
2674
+ },
2675
+ // time to auto advance slides in ms
2676
+ autoplay: {
2677
+ default: E.autoplay,
2678
+ type: Number
2679
+ },
2680
+ // pause autoplay when mouse hover over the carousel
2681
+ pauseAutoplayOnHover: {
2682
+ default: E.pauseAutoplayOnHover,
2683
+ type: Boolean
2684
+ },
2685
+ // slide number number of initial slide
2686
+ modelValue: {
2687
+ default: void 0,
2688
+ type: Number
2689
+ },
2690
+ // toggle mouse dragging.
2691
+ mouseDrag: {
2692
+ default: E.mouseDrag,
2693
+ type: Boolean
2694
+ },
2695
+ // toggle mouse dragging.
2696
+ touchDrag: {
2697
+ default: E.touchDrag,
2698
+ type: Boolean
2699
+ },
2700
+ // control snap position alignment
2701
+ dir: {
2702
+ default: E.dir,
2703
+ validator(e) {
2704
+ return ["rtl", "ltr"].includes(e);
2705
+ }
2706
+ },
2707
+ // aria-labels and additional text labels
2708
+ i18n: {
2709
+ default: E.i18n,
2710
+ type: Object
2711
+ },
2712
+ // an object to pass all settings
2713
+ settings: {
2714
+ default() {
2715
+ return {};
2716
+ },
2717
+ type: Object
2718
+ }
2719
+ };
2720
+ function Ss({ config: e, slidesCount: n }) {
2721
+ const { snapAlign: t, wrapAround: o, itemsToShow: i = 1 } = e;
2722
+ if (o)
2723
+ return Math.max(n - 1, 0);
2724
+ let r;
2725
+ switch (t) {
2726
+ case "start":
2727
+ r = n - i;
2728
+ break;
2729
+ case "end":
2730
+ r = n - 1;
2731
+ break;
2732
+ case "center":
2733
+ case "center-odd":
2734
+ r = n - Math.ceil((i - 0.5) / 2);
2735
+ break;
2736
+ case "center-even":
2737
+ r = n - Math.ceil(i / 2);
2738
+ break;
2739
+ default:
2740
+ r = 0;
2741
+ break;
2742
+ }
2743
+ return Math.max(r, 0);
2744
+ }
2745
+ function ws({ config: e, slidesCount: n }) {
2746
+ const { wrapAround: t, snapAlign: o, itemsToShow: i = 1 } = e;
2747
+ let r = 0;
2748
+ if (t || i > n)
2749
+ return r;
2750
+ switch (o) {
2751
+ case "start":
2752
+ r = 0;
2753
+ break;
2754
+ case "end":
2755
+ r = i - 1;
2756
+ break;
2757
+ case "center":
2758
+ case "center-odd":
2759
+ r = Math.floor((i - 1) / 2);
2760
+ break;
2761
+ case "center-even":
2762
+ r = Math.floor((i - 2) / 2);
2763
+ break;
2764
+ default:
2765
+ r = 0;
2766
+ break;
2767
+ }
2768
+ return r;
2769
+ }
2770
+ function Ue({ val: e, max: n, min: t }) {
2771
+ return n < t ? e : Math.min(Math.max(e, t), n);
2772
+ }
2773
+ function Cs({ config: e, currentSlide: n, slidesCount: t }) {
2774
+ const { snapAlign: o, wrapAround: i, itemsToShow: r = 1 } = e;
2775
+ let s = n;
2776
+ switch (o) {
2777
+ case "center":
2778
+ case "center-odd":
2779
+ s -= (r - 1) / 2;
2780
+ break;
2781
+ case "center-even":
2782
+ s -= (r - 2) / 2;
2783
+ break;
2784
+ case "end":
2785
+ s -= r - 1;
2786
+ break;
2787
+ }
2788
+ return i ? s : Ue({
2789
+ val: s,
2790
+ max: t - r,
2791
+ min: 0
2792
+ });
2793
+ }
2794
+ function cn(e) {
2795
+ return e ? e.reduce((n, t) => {
2796
+ var o;
2797
+ return t.type === B ? [...n, ...cn(t.children)] : ((o = t.type) === null || o === void 0 ? void 0 : o.name) === "CarouselSlide" ? [...n, t] : n;
2798
+ }, []) : [];
2799
+ }
2800
+ function Ve({ val: e, max: n, min: t = 0 }) {
2801
+ return e > n ? Ve({ val: e - (n + 1), max: n, min: t }) : e < t ? Ve({ val: e + (n + 1), max: n, min: t }) : e;
2802
+ }
2803
+ function xs(e, n) {
2804
+ let t;
2805
+ return n ? function(...o) {
2806
+ const i = this;
2807
+ t || (e.apply(i, o), t = !0, setTimeout(() => t = !1, n));
2808
+ } : e;
2809
+ }
2810
+ function $s(e, n) {
2811
+ let t;
2812
+ return function(...o) {
2813
+ t && clearTimeout(t), t = setTimeout(() => {
2814
+ e(...o), t = null;
2815
+ }, n);
2816
+ };
2817
+ }
2818
+ function Ts(e = "", n = {}) {
2819
+ return Object.entries(n).reduce((t, [o, i]) => t.replace(`{${o}}`, String(i)), e);
2820
+ }
2821
+ var ks = He({
2822
+ name: "ARIA",
2823
+ setup() {
2824
+ const e = X("config", oe(Object.assign({}, E))), n = X("currentSlide", x(0)), t = X("slidesCount", x(0));
2825
+ return () => Z("div", {
2826
+ class: ["carousel__liveregion", "carousel__sr-only"],
2827
+ "aria-live": "polite",
2828
+ "aria-atomic": "true"
2829
+ }, Ts(e.i18n.itemXofY, {
2830
+ currentSlide: n.value + 1,
2831
+ slidesCount: t.value
2832
+ }));
2833
+ }
2834
+ }), As = He({
2835
+ name: "Carousel",
2836
+ props: zt,
2837
+ setup(e, { slots: n, emit: t, expose: o }) {
2838
+ var i;
2839
+ const r = x(null), s = x([]), l = x(0), u = x(0), a = oe(Object.assign({}, E));
2840
+ let p = Object.assign({}, E), g;
2841
+ const h = x((i = e.modelValue) !== null && i !== void 0 ? i : 0), b = x(0), _ = x(0), v = x(0), R = x(0);
2842
+ let T, N;
2843
+ j("config", a), j("slidesCount", u), j("currentSlide", h), j("maxSlide", v), j("minSlide", R), j("slideWidth", l);
2844
+ function U() {
2845
+ g = Object.assign({}, e.breakpoints), p = Object.assign(Object.assign(Object.assign({}, p), e), { i18n: Object.assign(Object.assign({}, p.i18n), e.i18n), breakpoints: void 0 }), ot(p);
2846
+ }
2847
+ function K() {
2848
+ if (!g || !Object.keys(g).length)
2849
+ return;
2850
+ const S = Object.keys(g).map((A) => Number(A)).sort((A, D) => +D - +A);
2851
+ let O = Object.assign({}, p);
2852
+ S.some((A) => {
2853
+ const D = window.matchMedia(`(min-width: ${A}px)`).matches;
2854
+ return D && (O = Object.assign(Object.assign({}, O), g[A])), D;
2855
+ }), ot(O);
2856
+ }
2857
+ function ot(S) {
2858
+ Object.entries(S).forEach(([O, A]) => a[O] = A);
2859
+ }
2860
+ const it = $s(() => {
2861
+ K(), ee();
2862
+ }, 16);
2863
+ function ee() {
2864
+ if (!r.value)
2865
+ return;
2866
+ const S = r.value.getBoundingClientRect();
2867
+ l.value = S.width / a.itemsToShow;
2868
+ }
2869
+ function ke() {
2870
+ u.value <= 0 || (_.value = Math.ceil((u.value - 1) / 2), v.value = Ss({ config: a, slidesCount: u.value }), R.value = ws({ config: a, slidesCount: u.value }), a.wrapAround || (h.value = Ue({
2871
+ val: h.value,
2872
+ max: v.value,
2873
+ min: R.value
2874
+ })));
2875
+ }
2876
+ ve(() => {
2877
+ pn(() => ee()), setTimeout(() => ee(), 1e3), K(), lt(), window.addEventListener("resize", it, { passive: !0 }), t("init");
2878
+ }), Se(() => {
2879
+ N && clearTimeout(N), T && clearInterval(T), window.removeEventListener("resize", it, {
2880
+ passive: !0
2881
+ });
2882
+ });
2883
+ let F = !1;
2884
+ const de = { x: 0, y: 0 }, ue = { x: 0, y: 0 }, W = oe({ x: 0, y: 0 }), fe = x(!1), Ae = x(!1), dn = () => {
2885
+ fe.value = !0;
2886
+ }, un = () => {
2887
+ fe.value = !1;
2888
+ };
2889
+ function rt(S) {
2890
+ ["INPUT", "TEXTAREA", "SELECT"].includes(S.target.tagName) || (F = S.type === "touchstart", F || S.preventDefault(), !(!F && S.button !== 0 || G.value) && (de.x = F ? S.touches[0].clientX : S.clientX, de.y = F ? S.touches[0].clientY : S.clientY, document.addEventListener(F ? "touchmove" : "mousemove", st, !0), document.addEventListener(F ? "touchend" : "mouseup", at, !0)));
2891
+ }
2892
+ const st = xs((S) => {
2893
+ Ae.value = !0, ue.x = F ? S.touches[0].clientX : S.clientX, ue.y = F ? S.touches[0].clientY : S.clientY;
2894
+ const O = ue.x - de.x, A = ue.y - de.y;
2895
+ W.y = A, W.x = O;
2896
+ }, a.throttle);
2897
+ function at() {
2898
+ const S = a.dir === "rtl" ? -1 : 1, O = Math.sign(W.x) * 0.4, A = Math.round(W.x / l.value + O) * S;
2899
+ if (A && !F) {
2900
+ const D = (Oe) => {
2901
+ Oe.stopPropagation(), window.removeEventListener("click", D, !0);
2902
+ };
2903
+ window.addEventListener("click", D, !0);
2904
+ }
2905
+ J(h.value - A), W.x = 0, W.y = 0, Ae.value = !1, document.removeEventListener(F ? "touchmove" : "mousemove", st, !0), document.removeEventListener(F ? "touchend" : "mouseup", at, !0);
2906
+ }
2907
+ function lt() {
2908
+ !a.autoplay || a.autoplay <= 0 || (T = setInterval(() => {
2909
+ a.pauseAutoplayOnHover && fe.value || pe();
2910
+ }, a.autoplay));
2911
+ }
2912
+ function ct() {
2913
+ T && (clearInterval(T), T = null), lt();
2914
+ }
2915
+ const G = x(!1);
2916
+ function J(S) {
2917
+ const O = a.wrapAround ? S : Ue({
2918
+ val: S,
2919
+ max: v.value,
2920
+ min: R.value
2921
+ });
2922
+ h.value === O || G.value || (t("slide-start", {
2923
+ slidingToIndex: S,
2924
+ currentSlideIndex: h.value,
2925
+ prevSlideIndex: b.value,
2926
+ slidesCount: u.value
2927
+ }), G.value = !0, b.value = h.value, h.value = O, N = setTimeout(() => {
2928
+ if (a.wrapAround) {
2929
+ const A = Ve({
2930
+ val: O,
2931
+ max: v.value,
2932
+ min: 0
2933
+ });
2934
+ A !== h.value && (h.value = A, t("loop", {
2935
+ currentSlideIndex: h.value,
2936
+ slidingToIndex: S
2937
+ }));
2938
+ }
2939
+ t("update:modelValue", h.value), t("slide-end", {
2940
+ currentSlideIndex: h.value,
2941
+ prevSlideIndex: b.value,
2942
+ slidesCount: u.value
2943
+ }), G.value = !1, ct();
2944
+ }, a.transition));
2945
+ }
2946
+ function pe() {
2947
+ J(h.value + a.itemsToScroll);
2948
+ }
2949
+ function Re() {
2950
+ J(h.value - a.itemsToScroll);
2951
+ }
2952
+ const dt = { slideTo: J, next: pe, prev: Re };
2953
+ j("nav", dt), j("isSliding", G);
2954
+ const ut = gt(() => Cs({
2955
+ config: a,
2956
+ currentSlide: h.value,
2957
+ slidesCount: u.value
2958
+ }));
2959
+ j("slidesToScroll", ut);
2960
+ const fn = gt(() => {
2961
+ const S = a.dir === "rtl" ? -1 : 1, O = ut.value * l.value * S;
2962
+ return {
2963
+ transform: `translateX(${W.x - O}px)`,
2964
+ transition: `${G.value ? a.transition : 0}ms`,
2965
+ margin: a.wrapAround ? `0 -${u.value * l.value}px` : "",
2966
+ width: "100%"
2967
+ };
2968
+ });
2969
+ function ft() {
2970
+ U(), K(), ke(), ee(), ct();
2971
+ }
2972
+ Object.keys(zt).forEach((S) => {
2973
+ ["modelValue"].includes(S) || ie(() => e[S], ft);
2974
+ }), ie(() => e.modelValue, (S) => {
2975
+ S !== h.value && J(Number(S));
2976
+ }), ie(u, ke), t("before-init"), U();
2977
+ const pt = {
2978
+ config: a,
2979
+ slidesCount: u,
2980
+ slideWidth: l,
2981
+ next: pe,
2982
+ prev: Re,
2983
+ slideTo: J,
2984
+ currentSlide: h,
2985
+ maxSlide: v,
2986
+ minSlide: R,
2987
+ middleSlide: _
2988
+ };
2989
+ o({
2990
+ updateBreakpointsConfigs: K,
2991
+ updateSlidesData: ke,
2992
+ updateSlideWidth: ee,
2993
+ initDefaultConfigs: U,
2994
+ restartCarousel: ft,
2995
+ slideTo: J,
2996
+ next: pe,
2997
+ prev: Re,
2998
+ nav: dt,
2999
+ data: pt
3000
+ });
3001
+ const ht = n.default || n.slides, mt = n.addons, yt = oe(pt);
3002
+ return () => {
3003
+ const S = cn(ht == null ? void 0 : ht(yt)), O = (mt == null ? void 0 : mt(yt)) || [];
3004
+ S.forEach((Ee, Ne) => Ee.props.index = Ne);
3005
+ let A = S;
3006
+ if (a.wrapAround) {
3007
+ const Ee = S.map((Fe, te) => _t(Fe, {
3008
+ index: -S.length + te,
3009
+ isClone: !0,
3010
+ key: `clone-before-${te}`
3011
+ })), Ne = S.map((Fe, te) => _t(Fe, {
3012
+ index: S.length + te,
3013
+ isClone: !0,
3014
+ key: `clone-after-${te}`
3015
+ }));
3016
+ A = [...Ee, ...S, ...Ne];
3017
+ }
3018
+ s.value = S, u.value = Math.max(S.length, 1);
3019
+ const D = Z("ol", {
3020
+ class: "carousel__track",
3021
+ style: fn.value,
3022
+ onMousedownCapture: a.mouseDrag ? rt : null,
3023
+ onTouchstartPassiveCapture: a.touchDrag ? rt : null
3024
+ }, A), Oe = Z("div", { class: "carousel__viewport" }, D);
3025
+ return Z("section", {
3026
+ ref: r,
3027
+ class: {
3028
+ carousel: !0,
3029
+ "is-sliding": G.value,
3030
+ "is-dragging": Ae.value,
3031
+ "is-hover": fe.value,
3032
+ "carousel--rtl": a.dir === "rtl"
3033
+ },
3034
+ dir: a.dir,
3035
+ "aria-label": a.i18n.ariaGallery,
3036
+ tabindex: "0",
3037
+ onMouseenter: dn,
3038
+ onMouseleave: un
3039
+ }, [Oe, O, Z(ks)]);
3040
+ };
3041
+ }
3042
+ }), Dt;
3043
+ (function(e) {
3044
+ e.arrowUp = "arrowUp", e.arrowDown = "arrowDown", e.arrowRight = "arrowRight", e.arrowLeft = "arrowLeft";
3045
+ })(Dt || (Dt = {}));
3046
+ var Rs = He({
3047
+ name: "CarouselSlide",
3048
+ props: {
3049
+ index: {
3050
+ type: Number,
3051
+ default: 1
3052
+ },
3053
+ isClone: {
3054
+ type: Boolean,
3055
+ default: !1
3056
+ }
3057
+ },
3058
+ setup(e, { slots: n }) {
3059
+ const t = X("config", oe(Object.assign({}, E))), o = X("currentSlide", x(0)), i = X("slidesToScroll", x(0)), r = X("isSliding", x(!1)), s = () => e.index === o.value, l = () => e.index === o.value - 1, u = () => e.index === o.value + 1, a = () => {
3060
+ const p = Math.floor(i.value), g = Math.ceil(i.value + t.itemsToShow - 1);
3061
+ return e.index >= p && e.index <= g;
3062
+ };
3063
+ return () => {
3064
+ var p;
3065
+ return Z("li", {
3066
+ style: { width: `${100 / t.itemsToShow}%` },
3067
+ class: {
3068
+ carousel__slide: !0,
3069
+ "carousel__slide--clone": e.isClone,
3070
+ "carousel__slide--visible": a(),
3071
+ "carousel__slide--active": s(),
3072
+ "carousel__slide--prev": l(),
3073
+ "carousel__slide--next": u(),
3074
+ "carousel__slide--sliding": r.value
3075
+ },
3076
+ "aria-hidden": !a()
3077
+ }, (p = n.default) === null || p === void 0 ? void 0 : p.call(n));
3078
+ };
3079
+ }
3080
+ });
3081
+ const Os = (e, n) => {
3082
+ const t = e.__vccOpts || e;
3083
+ for (const [o, i] of n)
3084
+ t[o] = i;
3085
+ return t;
3086
+ }, Es = (e) => (mn("data-v-18bd85a3"), e = e(), yn(), e), Ns = { class: "gsc-carousel" }, Fs = { key: 0 }, Is = /* @__PURE__ */ Es(() => /* @__PURE__ */ f("div", null, "no hay", -1)), Ps = [
3087
+ Is
3088
+ ], Bs = {
3089
+ key: 1,
3090
+ class: "gsc-carousel__2d"
3091
+ }, Ls = { class: "gsc-carousel__2d__slides" }, zs = {
3092
+ key: 0,
3093
+ class: "gsc-carousel__2d__navigation"
3094
+ }, Ds = {
3095
+ width: "8",
3096
+ height: "15",
3097
+ viewBox: "0 0 8 15",
3098
+ fill: "none",
3099
+ xmlns: "http://www.w3.org/2000/svg"
3100
+ }, js = ["stroke"], Ms = { class: "gsc-carousel__2d__navigation__pagination" }, qs = ["onClick"], Us = {
3101
+ width: "7",
3102
+ height: "15",
3103
+ viewBox: "0 0 7 15",
3104
+ fill: "none",
3105
+ xmlns: "http://www.w3.org/2000/svg"
3106
+ }, Vs = ["stroke"], Hs = {
3107
+ __name: "GSC-Carousel",
3108
+ props: {
3109
+ items: {
3110
+ type: Array,
3111
+ default: () => []
3112
+ },
3113
+ is3d: {
3114
+ type: Boolean,
3115
+ default: !1
3116
+ },
3117
+ isPaginationVisible: {
3118
+ type: Boolean,
3119
+ default: !1
3120
+ },
3121
+ areNavigationArrowsVisible: {
3122
+ type: Boolean,
3123
+ default: !0
3124
+ },
3125
+ defaultItemByIndex: {
3126
+ type: Number,
3127
+ default: 0
3128
+ },
3129
+ defaultItemByProp: {
3130
+ type: Object,
3131
+ default: null,
3132
+ validator: (e) => ["propName", "value"].every((n) => n in e)
3133
+ },
3134
+ navigationHeight: {
3135
+ type: Number,
3136
+ default: 4
3137
+ },
3138
+ navigationBorderRadius: {
3139
+ type: Number,
3140
+ default: 4
3141
+ },
3142
+ navigationColor: {
3143
+ type: String,
3144
+ default: "rgba(255, 255, 255, 0.4)"
3145
+ },
3146
+ navigationActiveColor: {
3147
+ type: String,
3148
+ default: "#cbee6b"
3149
+ },
3150
+ navigationActiveWidth: {
3151
+ type: Number,
3152
+ default: 30
3153
+ },
3154
+ arrowsColor: {
3155
+ type: String,
3156
+ default: "#cbee6b"
3157
+ },
3158
+ wrapAround: {
3159
+ type: Boolean,
3160
+ default: !1
3161
+ }
3162
+ },
3163
+ emits: ["input"],
3164
+ setup(e, { emit: n }) {
3165
+ const t = e, o = x({}), i = x({}), r = x(0);
3166
+ ie(o, (u) => {
3167
+ u && u.slideTo && u.slideTo(r.value);
3168
+ }, { deep: !0 }), ie(
3169
+ () => t.items,
3170
+ (u) => {
3171
+ if (u && u.length && o.value) {
3172
+ if (t.defaultItemByProp) {
3173
+ const a = t.items.findIndex(
3174
+ (p) => p[t.defaultItemByProp.propName] === t.defaultItemByProp.value
3175
+ );
3176
+ a !== -1 ? (r.value = a, i.value = u[a]) : (r.value = 0, i.value = u[0]);
3177
+ } else
3178
+ r.value = t.defaultItemByIndex, i.value = u[t.defaultItemByIndex];
3179
+ n("input", i.value);
3180
+ }
3181
+ },
3182
+ { immediate: !0 }
3183
+ );
3184
+ function s(u) {
3185
+ o.value.slideTo(u);
3186
+ }
3187
+ function l(u) {
3188
+ r.value = u.slidingToIndex, i.value = t.items[u.slidingToIndex], n("input", i.value);
3189
+ }
3190
+ return (u, a) => (m(), y("div", Ns, [
3191
+ t.is3d ? (m(), y("div", Fs, Ps)) : (m(), y("div", Bs, [
3192
+ f("div", Ls, [
3193
+ _e(bt(As), {
3194
+ ref_key: "carousel2d",
3195
+ ref: o,
3196
+ onSlideStart: l,
3197
+ wrapAround: e.wrapAround
3198
+ }, {
3199
+ default: ze(() => [
3200
+ (m(!0), y(B, null, re(e.items, (p, g) => (m(), M(bt(Rs), { key: g }, {
3201
+ default: ze(() => [
3202
+ hn(u.$slots, "default", { item: p }, void 0, !0)
3203
+ ]),
3204
+ _: 2
3205
+ }, 1024))), 128))
3206
+ ]),
3207
+ _: 3
3208
+ }, 8, ["wrapAround"])
3209
+ ]),
3210
+ e.isPaginationVisible ? (m(), y("div", zs, [
3211
+ e.areNavigationArrowsVisible ? (m(), y("div", {
3212
+ key: 0,
3213
+ class: "gsc-carousel__2d__navigation__arrow-left",
3214
+ onClick: a[0] || (a[0] = (p) => o.value.prev())
3215
+ }, [
3216
+ (m(), y("svg", Ds, [
3217
+ f("path", {
3218
+ d: "M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",
3219
+ stroke: t.arrowsColor
3220
+ }, null, 8, js)
3221
+ ]))
3222
+ ])) : w("", !0),
3223
+ f("div", Ms, [
3224
+ (m(!0), y(B, null, re(e.items, (p, g) => (m(), y("div", {
3225
+ key: `i-${g}`,
3226
+ class: "gsc-carousel__2d__navigation__pagination__item",
3227
+ style: L({
3228
+ height: `${t.navigationHeight}px`,
3229
+ width: `${r.value === g ? t.navigationActiveWidth : t.navigationActiveWidth / 2}px`,
3230
+ borderRadius: `${t.navigationBorderRadius}px`,
3231
+ backgroundColor: `${r.value === g ? t.navigationActiveColor : t.navigationColor}`,
3232
+ transition: "all 0.1s ease-in-out"
3233
+ }),
3234
+ onClick: (h) => s(g)
3235
+ }, null, 12, qs))), 128))
3236
+ ]),
3237
+ e.areNavigationArrowsVisible ? (m(), y("div", {
3238
+ key: 1,
3239
+ class: "gsc-carousel__2d__navigation__arrow-right",
3240
+ onClick: a[1] || (a[1] = (p) => o.value.next())
3241
+ }, [
3242
+ (m(), y("svg", Us, [
3243
+ f("path", {
3244
+ d: "M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",
3245
+ stroke: t.arrowsColor
3246
+ }, null, 8, Vs)
3247
+ ]))
3248
+ ])) : w("", !0)
3249
+ ])) : w("", !0)
3250
+ ]))
3251
+ ]));
3252
+ }
3253
+ }, Ws = /* @__PURE__ */ Os(Hs, [["__scopeId", "data-v-18bd85a3"]]);
3254
+ const Gs = (e, n) => {
3255
+ const t = e.__vccOpts || e;
3256
+ for (const [o, i] of n)
3257
+ t[o] = i;
3258
+ return t;
3259
+ }, nt = {
3260
+ components: {
3261
+ GSCCarousel: Ws,
3262
+ GSCLeaders: $i,
3263
+ GSCRowTable: xr,
3264
+ GSCTableHeader: Jr,
3265
+ GSCExpandedInfo: vs
3266
+ },
3267
+ props: {
3268
+ category: {
3269
+ type: Number,
3270
+ default: 1
3271
+ },
3272
+ categoryName: {
3273
+ type: String,
3274
+ default: "Goles"
3275
+ },
3276
+ season: {
3277
+ type: Number,
3278
+ default: 1772
3279
+ },
3280
+ type: {
3281
+ type: Number,
3282
+ default: 0
3283
+ },
3284
+ borderRadius: { type: String, default: "8px" },
3285
+ borderWidth: { type: String, default: "2px" },
3286
+ borderColor: { type: String, default: "#cfcfcf" },
3287
+ backgroundOdd: { type: String, default: "#172531" },
3288
+ backgroundEven: { type: String, default: "#0d1d29" },
3289
+ numRows: { type: Number, default: 5 }
3290
+ },
3291
+ setup() {
3292
+ const e = x("myDivRef"), {
3293
+ elementSize: n
3294
+ } = Fo(e);
3295
+ return {
3296
+ myDivRef: e,
3297
+ elementSize: n
3298
+ };
3299
+ },
3300
+ computed: {
3301
+ topData() {
3302
+ var e = {}, n = {}, t = [], o = [];
3303
+ if (Object.entries(this.statsData).length > 0) {
3304
+ this.formatFilterStats.map((i) => {
3305
+ e[i.team_id] ? e[i.team_id].total = e[i.team_id].total + i.total : (e[i.team_id] = {}, e[i.team_id].total = i.total, e[i.team_id].id = this.teamInfo[i.team_id].id, e[i.team_id].name = this.teamInfo[i.team_id].name, e[i.team_id].img = "https://az755631.vo.msecnd.net/teams-80/" + i.team_id + ".png"), n[i.player_id] ? i.player_id != 0 && i.player_id != 62117 && (n[i.player_id].total = n[i.player_id].total + i.total) : i.player_id != 0 && i.player_id != 62117 && (n[i.player_id] = {}, n[i.player_id].total = i.total, i.player_id ? (n[i.player_id].name = this.playersInfo[i.player_id].name, n[i.player_id].img = this.playersInfo[i.player_id].img, n[i.player_id].id = this.playersInfo[i.player_id].id, n[i.player_id].age = this.playersInfo[i.player_id].age, n[i.player_id].team = this.playersInfo[i.player_id].team, n[i.player_id].teamid = this.playersInfo[i.player_id].teamid, n[i.player_id].position = this.playersInfo[i.player_id].position, n[i.player_id].country = this.playersInfo[i.player_id].country, n[i.player_id].effectiveness = this.playersInfo[i.player_id].effectiveness, n[i.player_id].minutes = this.playersInfo[i.player_id].minutes_played, n[i.player_id].games = this.playersInfo[i.player_id].games_played, n[i.player_id].date = this.playersInfo[i.player_id].date, n[i.player_id].nationality = this.playersInfo[i.player_id].nationality) : (n[i.player_id].id = "0", n[i.player_id].name = "-", n[i.player_id].img = "SIN IMAGEN", n[i.player_id].age = "", n[i.player_id].team = "", n[i.player_id].teamid = 0, n[i.player_id].position = "", n[i.player_id].country = "", n[i.player_id].effectiveness = "", n[i.player_id].minutes = "", n[i.player_id].games = "", n[i.player_id].date = "00-00-0000", n[i.player_id].nationality = ""));
3306
+ });
3307
+ for (const i in e)
3308
+ t.push(e[i]);
3309
+ for (const i in n)
3310
+ o.push(n[i]);
3311
+ t.sort((i, r) => i.total < r.total ? 1 : -1), o.sort((i, r) => i.total < r.total ? 1 : -1), t = t.slice(0, 60), o = o.slice(0, 60);
3312
+ }
3313
+ for (let i = 0; i < o.length; i++)
3314
+ o[i].top = i < 9 ? "0" + (i + 1) : i + 1;
3315
+ for (let i = 0; i < t.length; i++)
3316
+ t[i].top = i < 9 ? "0" + (i + 1) : i + 1;
3317
+ return this.updateSliderF(), this.isTeam ? this.formatArrayPaginate(t) : this.formatArrayPaginate(o);
3318
+ }
3319
+ },
3320
+ data: () => ({
3321
+ url: "https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/topsBySeasonAndCategory",
3322
+ data_headers: ["team_id", "player_id", "playing_as", "match_result", "section", "total", "origen", "destino"],
3323
+ token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",
3324
+ mapPlayers: /* @__PURE__ */ new Map(),
3325
+ setNationalityIds: /* @__PURE__ */ new Set(),
3326
+ arrayAgeRange: [0, 0],
3327
+ arePlaysEmpty: !1,
3328
+ teamInfo: {},
3329
+ formatFilterStats: [],
3330
+ formatStats: [],
3331
+ playersInfo: {},
3332
+ statsData: {},
3333
+ updateSlider: 0,
3334
+ isTeam: !1,
3335
+ filtersSelect: {
3336
+ playingAs: [],
3337
+ matchResult: [],
3338
+ sections: [],
3339
+ zone: [],
3340
+ typeZone: []
3341
+ },
3342
+ expand: !1,
3343
+ playerexpand: 0,
3344
+ positions: [
3345
+ {
3346
+ name: "Portero"
3347
+ },
3348
+ {
3349
+ name: "Defensa central"
3350
+ },
3351
+ {
3352
+ name: "Lateral por izquierda"
3353
+ },
3354
+ {
3355
+ name: "Lateral por derecha"
3356
+ },
3357
+ {
3358
+ name: "Volante por izquierda"
3359
+ },
3360
+ {
3361
+ name: "Volante por derecha"
3362
+ },
3363
+ {
3364
+ name: "Volante defensivo"
3365
+ },
3366
+ {
3367
+ name: "Volante ofensivo"
3368
+ },
3369
+ {
3370
+ name: "Delantero"
3371
+ },
3372
+ {
3373
+ name: "Desconocida"
3374
+ }
3375
+ ]
3376
+ }),
3377
+ methods: {
3378
+ morestats(e) {
3379
+ this.$emit("more", e);
3380
+ },
3381
+ viewprofile(e) {
3382
+ this.$emit("clickprofile", e);
3383
+ },
3384
+ clickexpand(e) {
3385
+ this.expand = e.expand, this.playerexpand = e.id;
3386
+ },
3387
+ async getCategoryStats(e) {
3388
+ this.mapPlayers = /* @__PURE__ */ new Map();
3389
+ try {
3390
+ if (!e)
3391
+ return;
3392
+ let n = [], t = {}, o = {};
3393
+ this.arePlaysEmpty = !1;
3394
+ const r = await No.create({
3395
+ headers: {
3396
+ Authorization: `${this.token}`
3397
+ }
3398
+ }).get(this.url + "/" + e + "/" + this.category);
3399
+ if (r && r.data && r.data.data && r.data.data.length > 0) {
3400
+ n = r.data.data.map((l) => this.formatStatsData(l)), r.data.teams.forEach((l) => {
3401
+ t[l[0]] = {}, t[l[0]].id = l[0], t[l[0]].name = l[1], t[l[0]].img = l[3], t[l[0]].abrv = l[2];
3402
+ });
3403
+ const s = /* @__PURE__ */ new Set();
3404
+ r.data.players.forEach((l) => {
3405
+ const u = this.getObjectPlayer(l);
3406
+ this.mapPlayers.set(u.numberId, u);
3407
+ const a = u.numberAge, p = u.teamName[0].acronym, g = u.teamName[0].team_id, h = this.positions[u.numberPositionId - 1].name, b = u.countryId[0].nationality_id, _ = u.effectiveness, v = u.min, R = u.games, T = u.date;
3408
+ u.arrayNationalities.forEach((N) => {
3409
+ s.add(N.numberId);
3410
+ }), o[l[0]] = {
3411
+ id: l[0],
3412
+ name: l[1],
3413
+ img: l[2],
3414
+ age: a,
3415
+ team: p,
3416
+ teamid: g,
3417
+ position: h,
3418
+ effectiveness: _,
3419
+ country: b,
3420
+ games_played: R,
3421
+ minutes_played: v,
3422
+ date: T,
3423
+ nationality: u.stringNationalityName
3424
+ };
3425
+ }), this.setNationalityIds = s, this.arrayAgeRange = [r.data.min_age, r.data.max_age];
3426
+ } else
3427
+ this.arePlaysEmpty = !0;
3428
+ this.teamInfo = t, this.playersInfo = o, this.formatStats = n, this.formatFilterStats = this.filterRecords(this.filtersSelect), this.statsData = r;
3429
+ } catch (n) {
3430
+ return Promise.reject(n);
3431
+ }
3432
+ },
3433
+ filterRecords(e) {
3434
+ let n = !1, t = [];
3435
+ return t = this.formatStats.filter((o) => {
3436
+ let i = !1;
3437
+ const r = e.playingAs.includes(o.playing_as), s = e.matchResult.includes(o.match_result), l = e.sections.includes(o.section);
3438
+ if (e.setPositionsIds && e.setNationalitiesIds && e.arrayAgeRange && !this.isTeam) {
3439
+ const u = this.mapPlayers.get(o.player_id);
3440
+ if (u) {
3441
+ if (e.setPositionsIds.size === 9 && e.setPositionsIds.add(10), !e.setPositionsIds.has(u.numberPositionId))
3442
+ return !1;
3443
+ let a = !1;
3444
+ for (const p of u.arrayNationalitiesIds)
3445
+ if (e.setNationalitiesIds.has(p)) {
3446
+ a = !0;
3447
+ break;
3448
+ }
3449
+ if (!a || u.numberAge < e.arrayAgeRange[0] || u.numberAge > e.arrayAgeRange[1])
3450
+ return !1;
3451
+ } else
3452
+ return !1;
3453
+ }
3454
+ return e.typeZone == 1 && (i = e.zone.includes(o.origen)), e.typeZone == 2 && (i = e.zone.includes(o.destino)), e.playingAs.length > 0 || e.matchResult.length > 0 || e.sections.length > 0 || e.zone.length > 0 ? e.playingAs.length > 0 && e.matchResult.length > 0 && e.sections.length > 0 && e.zone.length > 0 ? n = r && s && l && i : e.playingAs.length > 0 && e.matchResult.length > 0 && e.sections.length > 0 ? n = r && s && l : e.playingAs.length > 0 && e.matchResult.length > 0 && e.zone.length > 0 ? n = r && s && i : e.matchResult.length > 0 && e.sections.length > 0 && e.zone.length > 0 ? n = s && l && i : e.playingAs.length > 0 && e.zone.length > 0 ? n = r && i : e.playingAs.length > 0 && e.sections.length > 0 ? n = r && l : e.playingAs.length > 0 && e.matchResult.length > 0 ? n = r && s : e.zone.length > 0 && e.sections.length > 0 ? n = i && l : e.zone.length > 0 && e.matchResult.length > 0 ? n = i && s : e.sections.length > 0 && e.matchResult.length > 0 ? n = l && s : n = s || l || r || i : n = !0, this.updateSliderF(), n;
3455
+ }), t;
3456
+ },
3457
+ updateSliderF() {
3458
+ this.updateSlider += 1;
3459
+ },
3460
+ formatStatsData(e) {
3461
+ let n = {};
3462
+ return e[1] == 0 && e[2] == 1 ? e[2] = 2 : e[1] == 0 && e[2] == 2 && (e[2] = 1), e[1] == 0 && e[3] == 1 ? e[3] = 2 : e[1] == 0 && e[3] == 2 && (e[3] = 1), this.data_headers.forEach((t, o) => {
3463
+ n[t] = e[o];
3464
+ }), n;
3465
+ },
3466
+ getObjectPlayer(e) {
3467
+ const n = [], t = e[7].map((o) => (n.push(o.nationality_id), {
3468
+ stringName: o.nationality,
3469
+ numberId: o.nationality_id
3470
+ }));
3471
+ return {
3472
+ numberId: e[0],
3473
+ stringFullName: e[1],
3474
+ stringImageUrl: e[2],
3475
+ numberTeamId: e[3],
3476
+ stringNationalityName: e[4],
3477
+ numberAge: e[5],
3478
+ numberPositionId: e[6],
3479
+ countryId: e[7],
3480
+ teamName: e[10],
3481
+ effectiveness: e[11],
3482
+ min: e[12],
3483
+ games: e[13],
3484
+ date: e[9],
3485
+ arrayNationalities: t,
3486
+ arrayNationalitiesIds: n
3487
+ };
3488
+ },
3489
+ formatArrayPaginate(e) {
3490
+ let n = parseInt(e.length / this.numRows);
3491
+ e.length % this.numRows > 0 && (n = n + 1);
3492
+ var o = [];
3493
+ for (let r = 1; r <= n; r++) {
3494
+ var i = r * this.numRows;
3495
+ o[r - 1] = e.slice(i - this.numRows, i);
3496
+ }
3497
+ return o;
3498
+ }
3499
+ },
3500
+ async created() {
3501
+ try {
3502
+ await this.getCategoryStats(this.season);
3503
+ } catch (e) {
3504
+ throw new Error(e);
3505
+ }
3506
+ }
3507
+ }, jt = () => {
3508
+ ae((e) => ({
3509
+ "02f85ad1": e.borderRadius,
3510
+ a46408b2: e.borderWidth,
3511
+ a6920578: e.borderColor
3512
+ }));
3513
+ }, Mt = nt.setup;
3514
+ nt.setup = Mt ? (e, n) => (jt(), Mt(e, n)) : jt;
3515
+ const Js = { class: "row-table-carrousel" };
3516
+ function Xs(e, n, t, o, i, r) {
3517
+ const s = H("GSCLeaders"), l = H("GSCRowTable"), u = H("GSCExpandedInfo"), a = H("GSCCarousel"), p = H("GSCTableHeader");
3518
+ return m(), y("div", {
3519
+ class: d(t.type == 0 ? "gsc-top" : "gsc-top-full"),
3520
+ ref: o.myDivRef
3521
+ }, [
3522
+ t.type == 0 ? (m(), M(a, {
3523
+ key: 0,
3524
+ items: r.topData,
3525
+ "is-pagination-visible": !0,
3526
+ "are-navigation-arrows-visible": !0
3527
+ }, {
3528
+ default: ze(({ item: g }) => [
3529
+ f("div", Js, [
3530
+ (m(!0), y(B, null, re(g, (h, b) => (m(), y(B, { key: b }, [
3531
+ h.top == 1 ? (m(), M(s, {
3532
+ key: 0,
3533
+ data: {
3534
+ top: "01",
3535
+ photo: h.img,
3536
+ logo: "https://az755631.vo.msecnd.net/teams-80/" + h.teamid + ".png",
3537
+ name: h.name,
3538
+ player_id: h.id,
3539
+ categoryId: t.category,
3540
+ total: h.total
3541
+ },
3542
+ "category-name": t.categoryName,
3543
+ onExpand: r.clickexpand,
3544
+ onMore: r.morestats
3545
+ }, null, 8, ["data", "category-name", "onExpand", "onMore"])) : (m(), M(l, {
3546
+ key: 1,
3547
+ data: {
3548
+ position: h.top,
3549
+ player_name: h.name,
3550
+ player_photo: h.img,
3551
+ total: h.total,
3552
+ id: h.id,
3553
+ player_age: h.age,
3554
+ team_abrev: h.team,
3555
+ team_logo: "https://az755631.vo.msecnd.net/teams-80/" + h.teamid + ".png",
3556
+ player_position: h.position,
3557
+ player_country_flag: "https://az755631.vo.msecnd.net/flags/" + h.country + ".jpg",
3558
+ player_games: h.minutes,
3559
+ player_min: h.games,
3560
+ league_name: "          Liga MX          "
3561
+ },
3562
+ height: "80px",
3563
+ background: b % 2 === 0 ? t.backgroundOdd : t.backgroundEven,
3564
+ onExpand: r.clickexpand
3565
+ }, null, 8, ["data", "background", "onExpand"])),
3566
+ e.expand && e.playerexpand == h.id ? (m(), M(u, {
3567
+ key: 2,
3568
+ data: {
3569
+ teams: h.team,
3570
+ age: h.age,
3571
+ dataofbirth: h.date,
3572
+ nationality: h.nationality,
3573
+ position: h.position,
3574
+ games: h.games,
3575
+ min: h.minutes,
3576
+ goals: h.total,
3577
+ effectiveness: h.effectiveness,
3578
+ category: t.categoryName,
3579
+ id: h.id
3580
+ },
3581
+ onViewprofile: r.viewprofile
3582
+ }, null, 8, ["data", "onViewprofile"])) : w("", !0)
3583
+ ], 64))), 128))
3584
+ ])
3585
+ ]),
3586
+ _: 1
3587
+ }, 8, ["items"])) : (m(), y(B, { key: 1 }, [
3588
+ _e(p, { background: "#183143" }),
3589
+ (m(!0), y(B, null, re(r.topData, (g, h) => (m(), y(B, { key: h }, [
3590
+ (m(!0), y(B, null, re(g, (b, _) => (m(), y(B, { key: _ }, [
3591
+ _e(l, {
3592
+ data: {
3593
+ position: b.top,
3594
+ player_name: b.name,
3595
+ player_photo: b.img,
3596
+ total: b.total,
3597
+ id: b.id,
3598
+ player_age: b.age,
3599
+ team_abrev: b.team,
3600
+ team_logo: "https://az755631.vo.msecnd.net/teams-80/" + b.teamid + ".png",
3601
+ player_position: b.position,
3602
+ player_country_flag: "https://az755631.vo.msecnd.net/flags/" + b.country + ".jpg",
3603
+ player_games: b.minutes,
3604
+ player_min: b.games,
3605
+ league_name: "          Liga MX          "
3606
+ },
3607
+ height: "80px",
3608
+ background: ((h + 1) * 5 + _) % 2 === 0 ? t.backgroundOdd : t.backgroundEven,
3609
+ onExpand: r.clickexpand
3610
+ }, null, 8, ["data", "background", "onExpand"]),
3611
+ e.expand && e.playerexpand == b.id ? (m(), M(u, {
3612
+ key: 0,
3613
+ data: {
3614
+ teams: b.team,
3615
+ age: b.age,
3616
+ dataofbirth: b.date,
3617
+ nationality: b.nationality,
3618
+ position: b.position,
3619
+ games: b.games,
3620
+ min: b.minutes,
3621
+ goals: b.total,
3622
+ effectiveness: b.effectiveness,
3623
+ category: t.categoryName,
3624
+ id: b.id
3625
+ },
3626
+ onViewprofile: r.viewprofile
3627
+ }, null, 8, ["data", "onViewprofile"])) : w("", !0)
3628
+ ], 64))), 128))
3629
+ ], 64))), 128))
3630
+ ], 64))
3631
+ ], 2);
3632
+ }
3633
+ const Zs = /* @__PURE__ */ Gs(nt, [["render", Xs], ["__scopeId", "data-v-61bc55ef"]]);
3634
+ export {
3635
+ Zs as GSCTopCategory
3636
+ };