@golstats/gsc-top-player 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- (function(Z,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],s):(Z=typeof globalThis<"u"?globalThis:Z||self,s(Z.GscTopPlayer={},Z.Vue))})(this,(function(Z,s){"use strict";function Ht(e,a){return function(){return e.apply(a,arguments)}}const{toString:ja}=Object.prototype,{getPrototypeOf:st}=Object,{iterator:Ee,toStringTag:qt}=Symbol,Ne=(e=>a=>{const t=ja.call(a);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),W=e=>(e=e.toLowerCase(),a=>Ne(a)===e),Pe=e=>a=>typeof a===e,{isArray:ne}=Array,re=Pe("undefined");function fe(e){return e!==null&&!re(e)&&e.constructor!==null&&!re(e.constructor)&&z(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kt=W("ArrayBuffer");function Ja(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&Kt(e.buffer),a}const Ha=Pe("string"),z=Pe("function"),Zt=Pe("number"),ue=e=>e!==null&&typeof e=="object",qa=e=>e===!0||e===!1,Ve=e=>{if(Ne(e)!=="object")return!1;const a=st(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(qt in e)&&!(Ee in e)},Ka=e=>{if(!ue(e)||fe(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Za=W("Date"),Ya=W("File"),Xa=e=>!!(e&&typeof e.uri<"u"),Qa=e=>e&&typeof e.getParts<"u",ei=W("Blob"),ti=W("FileList"),si=e=>ue(e)&&z(e.pipe);function ai(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Yt=ai(),Xt=typeof Yt.FormData<"u"?Yt.FormData:void 0,ii=e=>{let a;return e&&(Xt&&e instanceof Xt||z(e.append)&&((a=Ne(e))==="formdata"||a==="object"&&z(e.toString)&&e.toString()==="[object FormData]"))},oi=W("URLSearchParams"),[ni,ri,li,ci]=["ReadableStream","Request","Response","Headers"].map(W),di=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function he(e,a,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let i,n;if(typeof e!="object"&&(e=[e]),ne(e))for(i=0,n=e.length;i<n;i++)a.call(null,e[i],i,e);else{if(fe(e))return;const o=t?Object.getOwnPropertyNames(e):Object.keys(e),r=o.length;let c;for(i=0;i<r;i++)c=o[i],a.call(null,e[c],c,e)}}function Qt(e,a){if(fe(e))return null;a=a.toLowerCase();const t=Object.keys(e);let i=t.length,n;for(;i-- >0;)if(n=t[i],a===n.toLowerCase())return n;return null}const Y=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,es=e=>!re(e)&&e!==Y;function at(){const{caseless:e,skipUndefined:a}=es(this)&&this||{},t={},i=(n,o)=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const r=e&&Qt(t,o)||o;Ve(t[r])&&Ve(n)?t[r]=at(t[r],n):Ve(n)?t[r]=at({},n):ne(n)?t[r]=n.slice():(!a||!re(n))&&(t[r]=n)};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&he(arguments[n],i);return t}const mi=(e,a,t,{allOwnKeys:i}={})=>(he(a,(n,o)=>{t&&z(n)?Object.defineProperty(e,o,{value:Ht(n,t),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),pi=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),fi=(e,a,t,i)=>{e.prototype=Object.create(a.prototype,i),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:a.prototype}),t&&Object.assign(e.prototype,t)},ui=(e,a,t,i)=>{let n,o,r;const c={};if(a=a||{},e==null)return a;do{for(n=Object.getOwnPropertyNames(e),o=n.length;o-- >0;)r=n[o],(!i||i(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=t!==!1&&st(e)}while(e&&(!t||t(e,a))&&e!==Object.prototype);return a},hi=(e,a,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=a.length;const i=e.indexOf(a,t);return i!==-1&&i===t},yi=e=>{if(!e)return null;if(ne(e))return e;let a=e.length;if(!Zt(a))return null;const t=new Array(a);for(;a-- >0;)t[a]=e[a];return t},gi=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&st(Uint8Array)),_i=(e,a)=>{const i=(e&&e[Ee]).call(e);let n;for(;(n=i.next())&&!n.done;){const o=n.value;a.call(e,o[0],o[1])}},bi=(e,a)=>{let t;const i=[];for(;(t=e.exec(a))!==null;)i.push(t);return i},Ti=W("HTMLFormElement"),Si=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,i,n){return i.toUpperCase()+n}),ts=(({hasOwnProperty:e})=>(a,t)=>e.call(a,t))(Object.prototype),wi=W("RegExp"),ss=(e,a)=>{const t=Object.getOwnPropertyDescriptors(e),i={};he(t,(n,o)=>{let r;(r=a(n,o,e))!==!1&&(i[o]=r||n)}),Object.defineProperties(e,i)},Ci=e=>{ss(e,(a,t)=>{if(z(e)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const i=e[t];if(z(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},ki=(e,a)=>{const t={},i=n=>{n.forEach(o=>{t[o]=!0})};return ne(e)?i(e):i(String(e).split(a)),t},Ei=()=>{},Ni=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function Pi(e){return!!(e&&z(e.append)&&e[qt]==="FormData"&&e[Ee])}const Vi=e=>{const a=new Array(10),t=(i,n)=>{if(ue(i)){if(a.indexOf(i)>=0)return;if(fe(i))return i;if(!("toJSON"in i)){a[n]=i;const o=ne(i)?[]:{};return he(i,(r,c)=>{const p=t(r,n+1);!re(p)&&(o[c]=p)}),a[n]=void 0,o}}return i};return t(e,0)},xi=W("AsyncFunction"),Ri=e=>e&&(ue(e)||z(e))&&z(e.then)&&z(e.catch),as=((e,a)=>e?setImmediate:a?((t,i)=>(Y.addEventListener("message",({source:n,data:o})=>{n===Y&&o===t&&i.length&&i.shift()()},!1),n=>{i.push(n),Y.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",z(Y.postMessage)),Fi=typeof queueMicrotask<"u"?queueMicrotask.bind(Y):typeof process<"u"&&process.nextTick||as,h={isArray:ne,isArrayBuffer:Kt,isBuffer:fe,isFormData:ii,isArrayBufferView:Ja,isString:Ha,isNumber:Zt,isBoolean:qa,isObject:ue,isPlainObject:Ve,isEmptyObject:Ka,isReadableStream:ni,isRequest:ri,isResponse:li,isHeaders:ci,isUndefined:re,isDate:Za,isFile:Ya,isReactNativeBlob:Xa,isReactNative:Qa,isBlob:ei,isRegExp:wi,isFunction:z,isStream:si,isURLSearchParams:oi,isTypedArray:gi,isFileList:ti,forEach:he,merge:at,extend:mi,trim:di,stripBOM:pi,inherits:fi,toFlatObject:ui,kindOf:Ne,kindOfTest:W,endsWith:hi,toArray:yi,forEachEntry:_i,matchAll:bi,isHTMLForm:Ti,hasOwnProperty:ts,hasOwnProp:ts,reduceDescriptors:ss,freezeMethods:Ci,toObjectSet:ki,toCamelCase:Si,noop:Ei,toFiniteNumber:Ni,findKey:Qt,global:Y,isContextDefined:es,isSpecCompliantForm:Pi,toJSONObject:Vi,isAsyncFn:xi,isThenable:Ri,setImmediate:as,asap:Fi,isIterable:e=>e!=null&&z(e[Ee])};let w=class $a extends Error{static from(a,t,i,n,o,r){const c=new $a(a.message,t||a.code,i,n,o);return c.cause=a,c.name=a.name,a.status!=null&&c.status==null&&(c.status=a.status),r&&Object.assign(c,r),c}constructor(a,t,i,n,o){super(a),Object.defineProperty(this,"message",{value:a,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:h.toJSONObject(this.config),code:this.code,status:this.status}}};w.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",w.ERR_BAD_OPTION="ERR_BAD_OPTION",w.ECONNABORTED="ECONNABORTED",w.ETIMEDOUT="ETIMEDOUT",w.ERR_NETWORK="ERR_NETWORK",w.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",w.ERR_DEPRECATED="ERR_DEPRECATED",w.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",w.ERR_BAD_REQUEST="ERR_BAD_REQUEST",w.ERR_CANCELED="ERR_CANCELED",w.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",w.ERR_INVALID_URL="ERR_INVALID_URL";const Bi=null;function it(e){return h.isPlainObject(e)||h.isArray(e)}function is(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function ot(e,a,t){return e?e.concat(a).map(function(n,o){return n=is(n),!t&&o?"["+n+"]":n}).join(t?".":""):a}function zi(e){return h.isArray(e)&&!e.some(it)}const Ai=h.toFlatObject(h,{},null,function(a){return/^is[A-Z]/.test(a)});function xe(e,a,t){if(!h.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,t=h.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!h.isUndefined(b[g])});const i=t.metaTokens,n=t.visitor||l,o=t.dots,r=t.indexes,p=(t.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(a);if(!h.isFunction(n))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(h.isDate(f))return f.toISOString();if(h.isBoolean(f))return f.toString();if(!p&&h.isBlob(f))throw new w("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(f)||h.isTypedArray(f)?p&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function l(f,g,b){let S=f;if(h.isReactNative(a)&&h.isReactNativeBlob(f))return a.append(ot(b,g,o),d(f)),!1;if(f&&!b&&typeof f=="object"){if(h.endsWith(g,"{}"))g=i?g:g.slice(0,-2),f=JSON.stringify(f);else if(h.isArray(f)&&zi(f)||(h.isFileList(f)||h.endsWith(g,"[]"))&&(S=h.toArray(f)))return g=is(g),S.forEach(function(k,N){!(h.isUndefined(k)||k===null)&&a.append(r===!0?ot([g],N,o):r===null?g:g+"[]",d(k))}),!1}return it(f)?!0:(a.append(ot(b,g,o),d(f)),!1)}const m=[],u=Object.assign(Ai,{defaultVisitor:l,convertValue:d,isVisitable:it});function _(f,g){if(!h.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+g.join("."));m.push(f),h.forEach(f,function(S,T){(!(h.isUndefined(S)||S===null)&&n.call(a,S,h.isString(T)?T.trim():T,g,u))===!0&&_(S,g?g.concat(T):[T])}),m.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return _(e),a}function os(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return a[i]})}function nt(e,a){this._pairs=[],e&&xe(e,this,a)}const ns=nt.prototype;ns.append=function(a,t){this._pairs.push([a,t])},ns.toString=function(a){const t=a?function(i){return a.call(this,i,os)}:os;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function Ii(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function rs(e,a,t){if(!a)return e;const i=t&&t.encode||Ii,n=h.isFunction(t)?{serialize:t}:t,o=n&&n.serialize;let r;if(o?r=o(a,n):r=h.isURLSearchParams(a)?a.toString():new nt(a,n).toString(i),r){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class ls{constructor(){this.handlers=[]}use(a,t,i){return this.handlers.push({fulfilled:a,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){h.forEach(this.handlers,function(i){i!==null&&a(i)})}}const rt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Oi={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:nt,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},lt=typeof window<"u"&&typeof document<"u",ct=typeof navigator=="object"&&navigator||void 0,Gi=lt&&(!ct||["ReactNative","NativeScript","NS"].indexOf(ct.product)<0),Li=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vi=lt&&window.location.href||"http://localhost",R={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:lt,hasStandardBrowserEnv:Gi,hasStandardBrowserWebWorkerEnv:Li,navigator:ct,origin:vi},Symbol.toStringTag,{value:"Module"})),...Oi};function Wi(e,a){return xe(e,new R.classes.URLSearchParams,{visitor:function(t,i,n,o){return R.isNode&&h.isBuffer(t)?(this.append(i,t.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...a})}function Di(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Mi(e){const a={},t=Object.keys(e);let i;const n=t.length;let o;for(i=0;i<n;i++)o=t[i],a[o]=e[o];return a}function cs(e){function a(t,i,n,o){let r=t[o++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),p=o>=t.length;return r=!r&&h.isArray(n)?n.length:r,p?(h.hasOwnProp(n,r)?n[r]=[n[r],i]:n[r]=i,!c):((!n[r]||!h.isObject(n[r]))&&(n[r]=[]),a(t,i,n[r],o)&&h.isArray(n[r])&&(n[r]=Mi(n[r])),!c)}if(h.isFormData(e)&&h.isFunction(e.entries)){const t={};return h.forEachEntry(e,(i,n)=>{a(Di(i),n,t,0)}),t}return null}function $i(e,a,t){if(h.isString(e))try{return(a||JSON.parse)(e),h.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(e)}const ye={transitional:rt,adapter:["xhr","http","fetch"],transformRequest:[function(a,t){const i=t.getContentType()||"",n=i.indexOf("application/json")>-1,o=h.isObject(a);if(o&&h.isHTMLForm(a)&&(a=new FormData(a)),h.isFormData(a))return n?JSON.stringify(cs(a)):a;if(h.isArrayBuffer(a)||h.isBuffer(a)||h.isStream(a)||h.isFile(a)||h.isBlob(a)||h.isReadableStream(a))return a;if(h.isArrayBufferView(a))return a.buffer;if(h.isURLSearchParams(a))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let c;if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Wi(a,this.formSerializer).toString();if((c=h.isFileList(a))||i.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return xe(c?{"files[]":a}:a,p&&new p,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),$i(a)):a}],transformResponse:[function(a){const t=this.transitional||ye.transitional,i=t&&t.forcedJSONParsing,n=this.responseType==="json";if(h.isResponse(a)||h.isReadableStream(a))return a;if(a&&h.isString(a)&&(i&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(a,this.parseReviver)}catch(c){if(r)throw c.name==="SyntaxError"?w.from(c,w.ERR_BAD_RESPONSE,this,null,this.response):c}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:R.classes.FormData,Blob:R.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{ye.headers[e]={}});const Ui=h.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ji=e=>{const a={};let t,i,n;return e&&e.split(`
2
- `).forEach(function(r){n=r.indexOf(":"),t=r.substring(0,n).trim().toLowerCase(),i=r.substring(n+1).trim(),!(!t||a[t]&&Ui[t])&&(t==="set-cookie"?a[t]?a[t].push(i):a[t]=[i]:a[t]=a[t]?a[t]+", "+i:i)}),a},ds=Symbol("internals"),Ji=e=>!/[\r\n]/.test(e);function ms(e,a){if(!(e===!1||e==null)){if(h.isArray(e)){e.forEach(t=>ms(t,a));return}if(!Ji(String(e)))throw new Error(`Invalid character in header content ["${a}"]`)}}function ge(e){return e&&String(e).trim().toLowerCase()}function Hi(e){let a=e.length;for(;a>0;){const t=e.charCodeAt(a-1);if(t!==10&&t!==13)break;a-=1}return a===e.length?e:e.slice(0,a)}function Re(e){return e===!1||e==null?e:h.isArray(e)?e.map(Re):Hi(String(e))}function qi(e){const a=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=t.exec(e);)a[i[1]]=i[2];return a}const Ki=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function dt(e,a,t,i,n){if(h.isFunction(i))return i.call(this,a,t);if(n&&(a=t),!!h.isString(a)){if(h.isString(i))return a.indexOf(i)!==-1;if(h.isRegExp(i))return i.test(a)}}function Zi(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,t,i)=>t.toUpperCase()+i)}function Yi(e,a){const t=h.toCamelCase(" "+a);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+t,{value:function(n,o,r){return this[i].call(this,a,n,o,r)},configurable:!0})})}let A=class{constructor(a){a&&this.set(a)}set(a,t,i){const n=this;function o(c,p,d){const l=ge(p);if(!l)throw new Error("header name must be a non-empty string");const m=h.findKey(n,l);(!m||n[m]===void 0||d===!0||d===void 0&&n[m]!==!1)&&(ms(c,p),n[m||p]=Re(c))}const r=(c,p)=>h.forEach(c,(d,l)=>o(d,l,p));if(h.isPlainObject(a)||a instanceof this.constructor)r(a,t);else if(h.isString(a)&&(a=a.trim())&&!Ki(a))r(ji(a),t);else if(h.isObject(a)&&h.isIterable(a)){let c={},p,d;for(const l of a){if(!h.isArray(l))throw TypeError("Object iterator must return a key-value pair");c[d=l[0]]=(p=c[d])?h.isArray(p)?[...p,l[1]]:[p,l[1]]:l[1]}r(c,t)}else a!=null&&o(t,a,i);return this}get(a,t){if(a=ge(a),a){const i=h.findKey(this,a);if(i){const n=this[i];if(!t)return n;if(t===!0)return qi(n);if(h.isFunction(t))return t.call(this,n,i);if(h.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,t){if(a=ge(a),a){const i=h.findKey(this,a);return!!(i&&this[i]!==void 0&&(!t||dt(this,this[i],i,t)))}return!1}delete(a,t){const i=this;let n=!1;function o(r){if(r=ge(r),r){const c=h.findKey(i,r);c&&(!t||dt(i,i[c],c,t))&&(delete i[c],n=!0)}}return h.isArray(a)?a.forEach(o):o(a),n}clear(a){const t=Object.keys(this);let i=t.length,n=!1;for(;i--;){const o=t[i];(!a||dt(this,this[o],o,a,!0))&&(delete this[o],n=!0)}return n}normalize(a){const t=this,i={};return h.forEach(this,(n,o)=>{const r=h.findKey(i,o);if(r){t[r]=Re(n),delete t[o];return}const c=a?Zi(o):String(o).trim();c!==o&&delete t[o],t[c]=Re(n),i[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const t=Object.create(null);return h.forEach(this,(i,n)=>{i!=null&&i!==!1&&(t[n]=a&&h.isArray(i)?i.join(", "):i)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,t])=>a+": "+t).join(`
3
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...t){const i=new this(a);return t.forEach(n=>i.set(n)),i}static accessor(a){const i=(this[ds]=this[ds]={accessors:{}}).accessors,n=this.prototype;function o(r){const c=ge(r);i[c]||(Yi(n,r),i[c]=!0)}return h.isArray(a)?a.forEach(o):o(a),this}};A.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),h.reduceDescriptors(A.prototype,({value:e},a)=>{let t=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(i){this[t]=i}}}),h.freezeMethods(A);function mt(e,a){const t=this||ye,i=a||t,n=A.from(i.headers);let o=i.data;return h.forEach(e,function(c){o=c.call(t,o,n.normalize(),a?a.status:void 0)}),n.normalize(),o}function ps(e){return!!(e&&e.__CANCEL__)}let _e=class extends w{constructor(a,t,i){super(a??"canceled",w.ERR_CANCELED,t,i),this.name="CanceledError",this.__CANCEL__=!0}};function fs(e,a,t){const i=t.config.validateStatus;!t.status||!i||i(t.status)?e(t):a(new w("Request failed with status code "+t.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function Xi(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function Qi(e,a){e=e||10;const t=new Array(e),i=new Array(e);let n=0,o=0,r;return a=a!==void 0?a:1e3,function(p){const d=Date.now(),l=i[o];r||(r=d),t[n]=p,i[n]=d;let m=o,u=0;for(;m!==n;)u+=t[m++],m=m%e;if(n=(n+1)%e,n===o&&(o=(o+1)%e),d-r<a)return;const _=l&&d-l;return _?Math.round(u*1e3/_):void 0}}function eo(e,a){let t=0,i=1e3/a,n,o;const r=(d,l=Date.now())=>{t=l,n=null,o&&(clearTimeout(o),o=null),e(...d)};return[(...d)=>{const l=Date.now(),m=l-t;m>=i?r(d,l):(n=d,o||(o=setTimeout(()=>{o=null,r(n)},i-m)))},()=>n&&r(n)]}const Fe=(e,a,t=3)=>{let i=0;const n=Qi(50,250);return eo(o=>{const r=o.loaded,c=o.lengthComputable?o.total:void 0,p=r-i,d=n(p),l=r<=c;i=r;const m={loaded:r,total:c,progress:c?r/c:void 0,bytes:p,rate:d||void 0,estimated:d&&c&&l?(c-r)/d:void 0,event:o,lengthComputable:c!=null,[a?"download":"upload"]:!0};e(m)},t)},us=(e,a)=>{const t=e!=null;return[i=>a[0]({lengthComputable:t,total:e,loaded:i}),a[1]]},hs=e=>(...a)=>h.asap(()=>e(...a)),to=R.hasStandardBrowserEnv?((e,a)=>t=>(t=new URL(t,R.origin),e.protocol===t.protocol&&e.host===t.host&&(a||e.port===t.port)))(new URL(R.origin),R.navigator&&/(msie|trident)/i.test(R.navigator.userAgent)):()=>!0,so=R.hasStandardBrowserEnv?{write(e,a,t,i,n,o,r){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(a)}`];h.isNumber(t)&&c.push(`expires=${new Date(t).toUTCString()}`),h.isString(i)&&c.push(`path=${i}`),h.isString(n)&&c.push(`domain=${n}`),o===!0&&c.push("secure"),h.isString(r)&&c.push(`SameSite=${r}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const a=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return a?decodeURIComponent(a[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function ao(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function io(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function ys(e,a,t){let i=!ao(a);return e&&(i||t==!1)?io(e,a):a}const gs=e=>e instanceof A?{...e}:e;function X(e,a){a=a||{};const t={};function i(d,l,m,u){return h.isPlainObject(d)&&h.isPlainObject(l)?h.merge.call({caseless:u},d,l):h.isPlainObject(l)?h.merge({},l):h.isArray(l)?l.slice():l}function n(d,l,m,u){if(h.isUndefined(l)){if(!h.isUndefined(d))return i(void 0,d,m,u)}else return i(d,l,m,u)}function o(d,l){if(!h.isUndefined(l))return i(void 0,l)}function r(d,l){if(h.isUndefined(l)){if(!h.isUndefined(d))return i(void 0,d)}else return i(void 0,l)}function c(d,l,m){if(m in a)return i(d,l);if(m in e)return i(void 0,d)}const p={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:c,headers:(d,l,m)=>n(gs(d),gs(l),m,!0)};return h.forEach(Object.keys({...e,...a}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;const m=h.hasOwnProp(p,l)?p[l]:n,u=m(e[l],a[l],l);h.isUndefined(u)&&m!==c||(t[l]=u)}),t}const _s=e=>{const a=X({},e);let{data:t,withXSRFToken:i,xsrfHeaderName:n,xsrfCookieName:o,headers:r,auth:c}=a;if(a.headers=r=A.from(r),a.url=rs(ys(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),h.isFormData(t)){if(R.hasStandardBrowserEnv||R.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if(h.isFunction(t.getHeaders)){const p=t.getHeaders(),d=["content-type","content-length"];Object.entries(p).forEach(([l,m])=>{d.includes(l.toLowerCase())&&r.set(l,m)})}}if(R.hasStandardBrowserEnv&&(i&&h.isFunction(i)&&(i=i(a)),i||i!==!1&&to(a.url))){const p=n&&o&&so.read(o);p&&r.set(n,p)}return a},oo=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(t,i){const n=_s(e);let o=n.data;const r=A.from(n.headers).normalize();let{responseType:c,onUploadProgress:p,onDownloadProgress:d}=n,l,m,u,_,f;function g(){_&&_(),f&&f(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let b=new XMLHttpRequest;b.open(n.method.toUpperCase(),n.url,!0),b.timeout=n.timeout;function S(){if(!b)return;const k=A.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),P={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:k,config:e,request:b};fs(function(x){t(x),g()},function(x){i(x),g()},P),b=null}"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(S)},b.onabort=function(){b&&(i(new w("Request aborted",w.ECONNABORTED,e,b)),b=null)},b.onerror=function(N){const P=N&&N.message?N.message:"Network Error",B=new w(P,w.ERR_NETWORK,e,b);B.event=N||null,i(B),b=null},b.ontimeout=function(){let N=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const P=n.transitional||rt;n.timeoutErrorMessage&&(N=n.timeoutErrorMessage),i(new w(N,P.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,b)),b=null},o===void 0&&r.setContentType(null),"setRequestHeader"in b&&h.forEach(r.toJSON(),function(N,P){b.setRequestHeader(P,N)}),h.isUndefined(n.withCredentials)||(b.withCredentials=!!n.withCredentials),c&&c!=="json"&&(b.responseType=n.responseType),d&&([u,f]=Fe(d,!0),b.addEventListener("progress",u)),p&&b.upload&&([m,_]=Fe(p),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",_)),(n.cancelToken||n.signal)&&(l=k=>{b&&(i(!k||k.type?new _e(null,e,b):k),b.abort(),b=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal&&(n.signal.aborted?l():n.signal.addEventListener("abort",l)));const T=Xi(n.url);if(T&&R.protocols.indexOf(T)===-1){i(new w("Unsupported protocol "+T+":",w.ERR_BAD_REQUEST,e));return}b.send(o||null)})},no=(e,a)=>{const{length:t}=e=e?e.filter(Boolean):[];if(a||t){let i=new AbortController,n;const o=function(d){if(!n){n=!0,c();const l=d instanceof Error?d:this.reason;i.abort(l instanceof w?l:new _e(l instanceof Error?l.message:l))}};let r=a&&setTimeout(()=>{r=null,o(new w(`timeout of ${a}ms exceeded`,w.ETIMEDOUT))},a);const c=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),e=null)};e.forEach(d=>d.addEventListener("abort",o));const{signal:p}=i;return p.unsubscribe=()=>h.asap(c),p}},ro=function*(e,a){let t=e.byteLength;if(t<a){yield e;return}let i=0,n;for(;i<t;)n=i+a,yield e.slice(i,n),i=n},lo=async function*(e,a){for await(const t of co(e))yield*ro(t,a)},co=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:t,value:i}=await a.read();if(t)break;yield i}}finally{await a.cancel()}},bs=(e,a,t,i)=>{const n=lo(e,a);let o=0,r,c=p=>{r||(r=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:d,value:l}=await n.next();if(d){c(),p.close();return}let m=l.byteLength;if(t){let u=o+=m;t(u)}p.enqueue(new Uint8Array(l))}catch(d){throw c(d),d}},cancel(p){return c(p),n.return()}},{highWaterMark:2})},Ts=64*1024,{isFunction:Be}=h,mo=(({Request:e,Response:a})=>({Request:e,Response:a}))(h.global),{ReadableStream:Ss,TextEncoder:ws}=h.global,Cs=(e,...a)=>{try{return!!e(...a)}catch{return!1}},po=e=>{e=h.merge.call({skipUndefined:!0},mo,e);const{fetch:a,Request:t,Response:i}=e,n=a?Be(a):typeof fetch=="function",o=Be(t),r=Be(i);if(!n)return!1;const c=n&&Be(Ss),p=n&&(typeof ws=="function"?(f=>g=>f.encode(g))(new ws):async f=>new Uint8Array(await new t(f).arrayBuffer())),d=o&&c&&Cs(()=>{let f=!1;const g=new Ss,b=new t(R.origin,{body:g,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return g.cancel(),f&&!b}),l=r&&c&&Cs(()=>h.isReadableStream(new i("").body)),m={stream:l&&(f=>f.body)};n&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!m[f]&&(m[f]=(g,b)=>{let S=g&&g[f];if(S)return S.call(g);throw new w(`Response type '${f}' is not supported`,w.ERR_NOT_SUPPORT,b)})});const u=async f=>{if(f==null)return 0;if(h.isBlob(f))return f.size;if(h.isSpecCompliantForm(f))return(await new t(R.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(h.isArrayBufferView(f)||h.isArrayBuffer(f))return f.byteLength;if(h.isURLSearchParams(f)&&(f=f+""),h.isString(f))return(await p(f)).byteLength},_=async(f,g)=>{const b=h.toFiniteNumber(f.getContentLength());return b??u(g)};return async f=>{let{url:g,method:b,data:S,signal:T,cancelToken:k,timeout:N,onDownloadProgress:P,onUploadProgress:B,responseType:x,headers:H,withCredentials:ie="same-origin",fetchOptions:Ga}=_s(f),La=a||fetch;x=x?(x+"").toLowerCase():"text";let et=no([T,k&&k.toAbortSignal()],N),ke=null;const oe=et&&et.unsubscribe&&(()=>{et.unsubscribe()});let va;try{if(B&&d&&b!=="get"&&b!=="head"&&(va=await _(H,S))!==0){let K=new t(g,{method:"POST",body:S,duplex:"half"}),pe;if(h.isFormData(S)&&(pe=K.headers.get("content-type"))&&H.setContentType(pe),K.body){const[Jt,tt]=us(va,Fe(hs(B)));S=bs(K.body,Ts,Jt,tt)}}h.isString(ie)||(ie=ie?"include":"omit");const L=o&&"credentials"in t.prototype,Wa={...Ga,signal:et,method:b.toUpperCase(),headers:H.normalize().toJSON(),body:S,duplex:"half",credentials:L?ie:void 0};ke=o&&new t(g,Wa);let q=await(o?La(ke,Ga):La(g,Wa));const Da=l&&(x==="stream"||x==="response");if(l&&(P||Da&&oe)){const K={};["status","statusText","headers"].forEach(Ma=>{K[Ma]=q[Ma]});const pe=h.toFiniteNumber(q.headers.get("content-length")),[Jt,tt]=P&&us(pe,Fe(hs(P),!0))||[];q=new i(bs(q.body,Ts,Jt,()=>{tt&&tt(),oe&&oe()}),K)}x=x||"text";let tf=await m[h.findKey(m,x)||"text"](q,f);return!Da&&oe&&oe(),await new Promise((K,pe)=>{fs(K,pe,{data:tf,headers:A.from(q.headers),status:q.status,statusText:q.statusText,config:f,request:ke})})}catch(L){throw oe&&oe(),L&&L.name==="TypeError"&&/Load failed|fetch/i.test(L.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,f,ke,L&&L.response),{cause:L.cause||L}):w.from(L,L&&L.code,f,ke,L&&L.response)}}},fo=new Map,ks=e=>{let a=e&&e.env||{};const{fetch:t,Request:i,Response:n}=a,o=[i,n,t];let r=o.length,c=r,p,d,l=fo;for(;c--;)p=o[c],d=l.get(p),d===void 0&&l.set(p,d=c?new Map:po(a)),l=d;return d};ks();const pt={http:Bi,xhr:oo,fetch:{get:ks}};h.forEach(pt,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const Es=e=>`- ${e}`,uo=e=>h.isFunction(e)||e===null||e===!1;function ho(e,a){e=h.isArray(e)?e:[e];const{length:t}=e;let i,n;const o={};for(let r=0;r<t;r++){i=e[r];let c;if(n=i,!uo(i)&&(n=pt[(c=String(i)).toLowerCase()],n===void 0))throw new w(`Unknown adapter '${c}'`);if(n&&(h.isFunction(n)||(n=n.get(a))))break;o[c||"#"+r]=n}if(!n){const r=Object.entries(o).map(([p,d])=>`adapter ${p} `+(d===!1?"is not supported by the environment":"is not available in the build"));let c=t?r.length>1?`since :
1
+ (function(Z,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],s):(Z=typeof globalThis<"u"?globalThis:Z||self,s(Z.GscTopPlayer={},Z.Vue))})(this,(function(Z,s){"use strict";function Ht(e,a){return function(){return e.apply(a,arguments)}}const{toString:ja}=Object.prototype,{getPrototypeOf:st}=Object,{iterator:Ee,toStringTag:qt}=Symbol,Ne=(e=>a=>{const t=ja.call(a);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),W=e=>(e=e.toLowerCase(),a=>Ne(a)===e),Pe=e=>a=>typeof a===e,{isArray:oe}=Array,ne=Pe("undefined");function fe(e){return e!==null&&!ne(e)&&e.constructor!==null&&!ne(e.constructor)&&z(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kt=W("ArrayBuffer");function Ja(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&Kt(e.buffer),a}const Ha=Pe("string"),z=Pe("function"),Zt=Pe("number"),ue=e=>e!==null&&typeof e=="object",qa=e=>e===!0||e===!1,Ve=e=>{if(Ne(e)!=="object")return!1;const a=st(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(qt in e)&&!(Ee in e)},Ka=e=>{if(!ue(e)||fe(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Za=W("Date"),Ya=W("File"),Xa=e=>!!(e&&typeof e.uri<"u"),Qa=e=>e&&typeof e.getParts<"u",ei=W("Blob"),ti=W("FileList"),si=e=>ue(e)&&z(e.pipe);function ai(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Yt=ai(),Xt=typeof Yt.FormData<"u"?Yt.FormData:void 0,ii=e=>{let a;return e&&(Xt&&e instanceof Xt||z(e.append)&&((a=Ne(e))==="formdata"||a==="object"&&z(e.toString)&&e.toString()==="[object FormData]"))},oi=W("URLSearchParams"),[ni,ri,li,ci]=["ReadableStream","Request","Response","Headers"].map(W),di=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function he(e,a,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let i,n;if(typeof e!="object"&&(e=[e]),oe(e))for(i=0,n=e.length;i<n;i++)a.call(null,e[i],i,e);else{if(fe(e))return;const o=t?Object.getOwnPropertyNames(e):Object.keys(e),r=o.length;let c;for(i=0;i<r;i++)c=o[i],a.call(null,e[c],c,e)}}function Qt(e,a){if(fe(e))return null;a=a.toLowerCase();const t=Object.keys(e);let i=t.length,n;for(;i-- >0;)if(n=t[i],a===n.toLowerCase())return n;return null}const Y=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,es=e=>!ne(e)&&e!==Y;function at(){const{caseless:e,skipUndefined:a}=es(this)&&this||{},t={},i=(n,o)=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const r=e&&Qt(t,o)||o;Ve(t[r])&&Ve(n)?t[r]=at(t[r],n):Ve(n)?t[r]=at({},n):oe(n)?t[r]=n.slice():(!a||!ne(n))&&(t[r]=n)};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&he(arguments[n],i);return t}const mi=(e,a,t,{allOwnKeys:i}={})=>(he(a,(n,o)=>{t&&z(n)?Object.defineProperty(e,o,{value:Ht(n,t),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),pi=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),fi=(e,a,t,i)=>{e.prototype=Object.create(a.prototype,i),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:a.prototype}),t&&Object.assign(e.prototype,t)},ui=(e,a,t,i)=>{let n,o,r;const c={};if(a=a||{},e==null)return a;do{for(n=Object.getOwnPropertyNames(e),o=n.length;o-- >0;)r=n[o],(!i||i(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=t!==!1&&st(e)}while(e&&(!t||t(e,a))&&e!==Object.prototype);return a},hi=(e,a,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=a.length;const i=e.indexOf(a,t);return i!==-1&&i===t},yi=e=>{if(!e)return null;if(oe(e))return e;let a=e.length;if(!Zt(a))return null;const t=new Array(a);for(;a-- >0;)t[a]=e[a];return t},gi=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&st(Uint8Array)),_i=(e,a)=>{const i=(e&&e[Ee]).call(e);let n;for(;(n=i.next())&&!n.done;){const o=n.value;a.call(e,o[0],o[1])}},bi=(e,a)=>{let t;const i=[];for(;(t=e.exec(a))!==null;)i.push(t);return i},Ti=W("HTMLFormElement"),Si=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,i,n){return i.toUpperCase()+n}),ts=(({hasOwnProperty:e})=>(a,t)=>e.call(a,t))(Object.prototype),wi=W("RegExp"),ss=(e,a)=>{const t=Object.getOwnPropertyDescriptors(e),i={};he(t,(n,o)=>{let r;(r=a(n,o,e))!==!1&&(i[o]=r||n)}),Object.defineProperties(e,i)},Ci=e=>{ss(e,(a,t)=>{if(z(e)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const i=e[t];if(z(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},ki=(e,a)=>{const t={},i=n=>{n.forEach(o=>{t[o]=!0})};return oe(e)?i(e):i(String(e).split(a)),t},Ei=()=>{},Ni=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function Pi(e){return!!(e&&z(e.append)&&e[qt]==="FormData"&&e[Ee])}const Vi=e=>{const a=new Array(10),t=(i,n)=>{if(ue(i)){if(a.indexOf(i)>=0)return;if(fe(i))return i;if(!("toJSON"in i)){a[n]=i;const o=oe(i)?[]:{};return he(i,(r,c)=>{const p=t(r,n+1);!ne(p)&&(o[c]=p)}),a[n]=void 0,o}}return i};return t(e,0)},Ri=W("AsyncFunction"),xi=e=>e&&(ue(e)||z(e))&&z(e.then)&&z(e.catch),as=((e,a)=>e?setImmediate:a?((t,i)=>(Y.addEventListener("message",({source:n,data:o})=>{n===Y&&o===t&&i.length&&i.shift()()},!1),n=>{i.push(n),Y.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",z(Y.postMessage)),Fi=typeof queueMicrotask<"u"?queueMicrotask.bind(Y):typeof process<"u"&&process.nextTick||as,h={isArray:oe,isArrayBuffer:Kt,isBuffer:fe,isFormData:ii,isArrayBufferView:Ja,isString:Ha,isNumber:Zt,isBoolean:qa,isObject:ue,isPlainObject:Ve,isEmptyObject:Ka,isReadableStream:ni,isRequest:ri,isResponse:li,isHeaders:ci,isUndefined:ne,isDate:Za,isFile:Ya,isReactNativeBlob:Xa,isReactNative:Qa,isBlob:ei,isRegExp:wi,isFunction:z,isStream:si,isURLSearchParams:oi,isTypedArray:gi,isFileList:ti,forEach:he,merge:at,extend:mi,trim:di,stripBOM:pi,inherits:fi,toFlatObject:ui,kindOf:Ne,kindOfTest:W,endsWith:hi,toArray:yi,forEachEntry:_i,matchAll:bi,isHTMLForm:Ti,hasOwnProperty:ts,hasOwnProp:ts,reduceDescriptors:ss,freezeMethods:Ci,toObjectSet:ki,toCamelCase:Si,noop:Ei,toFiniteNumber:Ni,findKey:Qt,global:Y,isContextDefined:es,isSpecCompliantForm:Pi,toJSONObject:Vi,isAsyncFn:Ri,isThenable:xi,setImmediate:as,asap:Fi,isIterable:e=>e!=null&&z(e[Ee])};let w=class $a extends Error{static from(a,t,i,n,o,r){const c=new $a(a.message,t||a.code,i,n,o);return c.cause=a,c.name=a.name,a.status!=null&&c.status==null&&(c.status=a.status),r&&Object.assign(c,r),c}constructor(a,t,i,n,o){super(a),Object.defineProperty(this,"message",{value:a,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:h.toJSONObject(this.config),code:this.code,status:this.status}}};w.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",w.ERR_BAD_OPTION="ERR_BAD_OPTION",w.ECONNABORTED="ECONNABORTED",w.ETIMEDOUT="ETIMEDOUT",w.ERR_NETWORK="ERR_NETWORK",w.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",w.ERR_DEPRECATED="ERR_DEPRECATED",w.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",w.ERR_BAD_REQUEST="ERR_BAD_REQUEST",w.ERR_CANCELED="ERR_CANCELED",w.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",w.ERR_INVALID_URL="ERR_INVALID_URL";const Bi=null;function it(e){return h.isPlainObject(e)||h.isArray(e)}function is(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function ot(e,a,t){return e?e.concat(a).map(function(n,o){return n=is(n),!t&&o?"["+n+"]":n}).join(t?".":""):a}function zi(e){return h.isArray(e)&&!e.some(it)}const Ai=h.toFlatObject(h,{},null,function(a){return/^is[A-Z]/.test(a)});function Re(e,a,t){if(!h.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,t=h.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!h.isUndefined(b[g])});const i=t.metaTokens,n=t.visitor||l,o=t.dots,r=t.indexes,p=(t.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(a);if(!h.isFunction(n))throw new TypeError("visitor must be a function");function d(f){if(f===null)return"";if(h.isDate(f))return f.toISOString();if(h.isBoolean(f))return f.toString();if(!p&&h.isBlob(f))throw new w("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(f)||h.isTypedArray(f)?p&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function l(f,g,b){let S=f;if(h.isReactNative(a)&&h.isReactNativeBlob(f))return a.append(ot(b,g,o),d(f)),!1;if(f&&!b&&typeof f=="object"){if(h.endsWith(g,"{}"))g=i?g:g.slice(0,-2),f=JSON.stringify(f);else if(h.isArray(f)&&zi(f)||(h.isFileList(f)||h.endsWith(g,"[]"))&&(S=h.toArray(f)))return g=is(g),S.forEach(function(k,N){!(h.isUndefined(k)||k===null)&&a.append(r===!0?ot([g],N,o):r===null?g:g+"[]",d(k))}),!1}return it(f)?!0:(a.append(ot(b,g,o),d(f)),!1)}const m=[],u=Object.assign(Ai,{defaultVisitor:l,convertValue:d,isVisitable:it});function _(f,g){if(!h.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+g.join("."));m.push(f),h.forEach(f,function(S,T){(!(h.isUndefined(S)||S===null)&&n.call(a,S,h.isString(T)?T.trim():T,g,u))===!0&&_(S,g?g.concat(T):[T])}),m.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return _(e),a}function os(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return a[i]})}function nt(e,a){this._pairs=[],e&&Re(e,this,a)}const ns=nt.prototype;ns.append=function(a,t){this._pairs.push([a,t])},ns.toString=function(a){const t=a?function(i){return a.call(this,i,os)}:os;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function Ii(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function rs(e,a,t){if(!a)return e;const i=t&&t.encode||Ii,n=h.isFunction(t)?{serialize:t}:t,o=n&&n.serialize;let r;if(o?r=o(a,n):r=h.isURLSearchParams(a)?a.toString():new nt(a,n).toString(i),r){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class ls{constructor(){this.handlers=[]}use(a,t,i){return this.handlers.push({fulfilled:a,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){h.forEach(this.handlers,function(i){i!==null&&a(i)})}}const rt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Oi={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:nt,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},lt=typeof window<"u"&&typeof document<"u",ct=typeof navigator=="object"&&navigator||void 0,Gi=lt&&(!ct||["ReactNative","NativeScript","NS"].indexOf(ct.product)<0),Li=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vi=lt&&window.location.href||"http://localhost",x={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:lt,hasStandardBrowserEnv:Gi,hasStandardBrowserWebWorkerEnv:Li,navigator:ct,origin:vi},Symbol.toStringTag,{value:"Module"})),...Oi};function Wi(e,a){return Re(e,new x.classes.URLSearchParams,{visitor:function(t,i,n,o){return x.isNode&&h.isBuffer(t)?(this.append(i,t.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...a})}function Di(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Mi(e){const a={},t=Object.keys(e);let i;const n=t.length;let o;for(i=0;i<n;i++)o=t[i],a[o]=e[o];return a}function cs(e){function a(t,i,n,o){let r=t[o++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),p=o>=t.length;return r=!r&&h.isArray(n)?n.length:r,p?(h.hasOwnProp(n,r)?n[r]=[n[r],i]:n[r]=i,!c):((!n[r]||!h.isObject(n[r]))&&(n[r]=[]),a(t,i,n[r],o)&&h.isArray(n[r])&&(n[r]=Mi(n[r])),!c)}if(h.isFormData(e)&&h.isFunction(e.entries)){const t={};return h.forEachEntry(e,(i,n)=>{a(Di(i),n,t,0)}),t}return null}function $i(e,a,t){if(h.isString(e))try{return(a||JSON.parse)(e),h.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(e)}const ye={transitional:rt,adapter:["xhr","http","fetch"],transformRequest:[function(a,t){const i=t.getContentType()||"",n=i.indexOf("application/json")>-1,o=h.isObject(a);if(o&&h.isHTMLForm(a)&&(a=new FormData(a)),h.isFormData(a))return n?JSON.stringify(cs(a)):a;if(h.isArrayBuffer(a)||h.isBuffer(a)||h.isStream(a)||h.isFile(a)||h.isBlob(a)||h.isReadableStream(a))return a;if(h.isArrayBufferView(a))return a.buffer;if(h.isURLSearchParams(a))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let c;if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Wi(a,this.formSerializer).toString();if((c=h.isFileList(a))||i.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return Re(c?{"files[]":a}:a,p&&new p,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),$i(a)):a}],transformResponse:[function(a){const t=this.transitional||ye.transitional,i=t&&t.forcedJSONParsing,n=this.responseType==="json";if(h.isResponse(a)||h.isReadableStream(a))return a;if(a&&h.isString(a)&&(i&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(a,this.parseReviver)}catch(c){if(r)throw c.name==="SyntaxError"?w.from(c,w.ERR_BAD_RESPONSE,this,null,this.response):c}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:x.classes.FormData,Blob:x.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{ye.headers[e]={}});const Ui=h.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ji=e=>{const a={};let t,i,n;return e&&e.split(`
2
+ `).forEach(function(r){n=r.indexOf(":"),t=r.substring(0,n).trim().toLowerCase(),i=r.substring(n+1).trim(),!(!t||a[t]&&Ui[t])&&(t==="set-cookie"?a[t]?a[t].push(i):a[t]=[i]:a[t]=a[t]?a[t]+", "+i:i)}),a},ds=Symbol("internals"),Ji=e=>!/[\r\n]/.test(e);function ms(e,a){if(!(e===!1||e==null)){if(h.isArray(e)){e.forEach(t=>ms(t,a));return}if(!Ji(String(e)))throw new Error(`Invalid character in header content ["${a}"]`)}}function ge(e){return e&&String(e).trim().toLowerCase()}function Hi(e){let a=e.length;for(;a>0;){const t=e.charCodeAt(a-1);if(t!==10&&t!==13)break;a-=1}return a===e.length?e:e.slice(0,a)}function xe(e){return e===!1||e==null?e:h.isArray(e)?e.map(xe):Hi(String(e))}function qi(e){const a=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=t.exec(e);)a[i[1]]=i[2];return a}const Ki=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function dt(e,a,t,i,n){if(h.isFunction(i))return i.call(this,a,t);if(n&&(a=t),!!h.isString(a)){if(h.isString(i))return a.indexOf(i)!==-1;if(h.isRegExp(i))return i.test(a)}}function Zi(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,t,i)=>t.toUpperCase()+i)}function Yi(e,a){const t=h.toCamelCase(" "+a);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+t,{value:function(n,o,r){return this[i].call(this,a,n,o,r)},configurable:!0})})}let A=class{constructor(a){a&&this.set(a)}set(a,t,i){const n=this;function o(c,p,d){const l=ge(p);if(!l)throw new Error("header name must be a non-empty string");const m=h.findKey(n,l);(!m||n[m]===void 0||d===!0||d===void 0&&n[m]!==!1)&&(ms(c,p),n[m||p]=xe(c))}const r=(c,p)=>h.forEach(c,(d,l)=>o(d,l,p));if(h.isPlainObject(a)||a instanceof this.constructor)r(a,t);else if(h.isString(a)&&(a=a.trim())&&!Ki(a))r(ji(a),t);else if(h.isObject(a)&&h.isIterable(a)){let c={},p,d;for(const l of a){if(!h.isArray(l))throw TypeError("Object iterator must return a key-value pair");c[d=l[0]]=(p=c[d])?h.isArray(p)?[...p,l[1]]:[p,l[1]]:l[1]}r(c,t)}else a!=null&&o(t,a,i);return this}get(a,t){if(a=ge(a),a){const i=h.findKey(this,a);if(i){const n=this[i];if(!t)return n;if(t===!0)return qi(n);if(h.isFunction(t))return t.call(this,n,i);if(h.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,t){if(a=ge(a),a){const i=h.findKey(this,a);return!!(i&&this[i]!==void 0&&(!t||dt(this,this[i],i,t)))}return!1}delete(a,t){const i=this;let n=!1;function o(r){if(r=ge(r),r){const c=h.findKey(i,r);c&&(!t||dt(i,i[c],c,t))&&(delete i[c],n=!0)}}return h.isArray(a)?a.forEach(o):o(a),n}clear(a){const t=Object.keys(this);let i=t.length,n=!1;for(;i--;){const o=t[i];(!a||dt(this,this[o],o,a,!0))&&(delete this[o],n=!0)}return n}normalize(a){const t=this,i={};return h.forEach(this,(n,o)=>{const r=h.findKey(i,o);if(r){t[r]=xe(n),delete t[o];return}const c=a?Zi(o):String(o).trim();c!==o&&delete t[o],t[c]=xe(n),i[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const t=Object.create(null);return h.forEach(this,(i,n)=>{i!=null&&i!==!1&&(t[n]=a&&h.isArray(i)?i.join(", "):i)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,t])=>a+": "+t).join(`
3
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...t){const i=new this(a);return t.forEach(n=>i.set(n)),i}static accessor(a){const i=(this[ds]=this[ds]={accessors:{}}).accessors,n=this.prototype;function o(r){const c=ge(r);i[c]||(Yi(n,r),i[c]=!0)}return h.isArray(a)?a.forEach(o):o(a),this}};A.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),h.reduceDescriptors(A.prototype,({value:e},a)=>{let t=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(i){this[t]=i}}}),h.freezeMethods(A);function mt(e,a){const t=this||ye,i=a||t,n=A.from(i.headers);let o=i.data;return h.forEach(e,function(c){o=c.call(t,o,n.normalize(),a?a.status:void 0)}),n.normalize(),o}function ps(e){return!!(e&&e.__CANCEL__)}let _e=class extends w{constructor(a,t,i){super(a??"canceled",w.ERR_CANCELED,t,i),this.name="CanceledError",this.__CANCEL__=!0}};function fs(e,a,t){const i=t.config.validateStatus;!t.status||!i||i(t.status)?e(t):a(new w("Request failed with status code "+t.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function Xi(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function Qi(e,a){e=e||10;const t=new Array(e),i=new Array(e);let n=0,o=0,r;return a=a!==void 0?a:1e3,function(p){const d=Date.now(),l=i[o];r||(r=d),t[n]=p,i[n]=d;let m=o,u=0;for(;m!==n;)u+=t[m++],m=m%e;if(n=(n+1)%e,n===o&&(o=(o+1)%e),d-r<a)return;const _=l&&d-l;return _?Math.round(u*1e3/_):void 0}}function eo(e,a){let t=0,i=1e3/a,n,o;const r=(d,l=Date.now())=>{t=l,n=null,o&&(clearTimeout(o),o=null),e(...d)};return[(...d)=>{const l=Date.now(),m=l-t;m>=i?r(d,l):(n=d,o||(o=setTimeout(()=>{o=null,r(n)},i-m)))},()=>n&&r(n)]}const Fe=(e,a,t=3)=>{let i=0;const n=Qi(50,250);return eo(o=>{const r=o.loaded,c=o.lengthComputable?o.total:void 0,p=r-i,d=n(p),l=r<=c;i=r;const m={loaded:r,total:c,progress:c?r/c:void 0,bytes:p,rate:d||void 0,estimated:d&&c&&l?(c-r)/d:void 0,event:o,lengthComputable:c!=null,[a?"download":"upload"]:!0};e(m)},t)},us=(e,a)=>{const t=e!=null;return[i=>a[0]({lengthComputable:t,total:e,loaded:i}),a[1]]},hs=e=>(...a)=>h.asap(()=>e(...a)),to=x.hasStandardBrowserEnv?((e,a)=>t=>(t=new URL(t,x.origin),e.protocol===t.protocol&&e.host===t.host&&(a||e.port===t.port)))(new URL(x.origin),x.navigator&&/(msie|trident)/i.test(x.navigator.userAgent)):()=>!0,so=x.hasStandardBrowserEnv?{write(e,a,t,i,n,o,r){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(a)}`];h.isNumber(t)&&c.push(`expires=${new Date(t).toUTCString()}`),h.isString(i)&&c.push(`path=${i}`),h.isString(n)&&c.push(`domain=${n}`),o===!0&&c.push("secure"),h.isString(r)&&c.push(`SameSite=${r}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const a=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return a?decodeURIComponent(a[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function ao(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function io(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function ys(e,a,t){let i=!ao(a);return e&&(i||t==!1)?io(e,a):a}const gs=e=>e instanceof A?{...e}:e;function X(e,a){a=a||{};const t={};function i(d,l,m,u){return h.isPlainObject(d)&&h.isPlainObject(l)?h.merge.call({caseless:u},d,l):h.isPlainObject(l)?h.merge({},l):h.isArray(l)?l.slice():l}function n(d,l,m,u){if(h.isUndefined(l)){if(!h.isUndefined(d))return i(void 0,d,m,u)}else return i(d,l,m,u)}function o(d,l){if(!h.isUndefined(l))return i(void 0,l)}function r(d,l){if(h.isUndefined(l)){if(!h.isUndefined(d))return i(void 0,d)}else return i(void 0,l)}function c(d,l,m){if(m in a)return i(d,l);if(m in e)return i(void 0,d)}const p={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:c,headers:(d,l,m)=>n(gs(d),gs(l),m,!0)};return h.forEach(Object.keys({...e,...a}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;const m=h.hasOwnProp(p,l)?p[l]:n,u=m(e[l],a[l],l);h.isUndefined(u)&&m!==c||(t[l]=u)}),t}const _s=e=>{const a=X({},e);let{data:t,withXSRFToken:i,xsrfHeaderName:n,xsrfCookieName:o,headers:r,auth:c}=a;if(a.headers=r=A.from(r),a.url=rs(ys(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),h.isFormData(t)){if(x.hasStandardBrowserEnv||x.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if(h.isFunction(t.getHeaders)){const p=t.getHeaders(),d=["content-type","content-length"];Object.entries(p).forEach(([l,m])=>{d.includes(l.toLowerCase())&&r.set(l,m)})}}if(x.hasStandardBrowserEnv&&(i&&h.isFunction(i)&&(i=i(a)),i||i!==!1&&to(a.url))){const p=n&&o&&so.read(o);p&&r.set(n,p)}return a},oo=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(t,i){const n=_s(e);let o=n.data;const r=A.from(n.headers).normalize();let{responseType:c,onUploadProgress:p,onDownloadProgress:d}=n,l,m,u,_,f;function g(){_&&_(),f&&f(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let b=new XMLHttpRequest;b.open(n.method.toUpperCase(),n.url,!0),b.timeout=n.timeout;function S(){if(!b)return;const k=A.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),P={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:k,config:e,request:b};fs(function(R){t(R),g()},function(R){i(R),g()},P),b=null}"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(S)},b.onabort=function(){b&&(i(new w("Request aborted",w.ECONNABORTED,e,b)),b=null)},b.onerror=function(N){const P=N&&N.message?N.message:"Network Error",B=new w(P,w.ERR_NETWORK,e,b);B.event=N||null,i(B),b=null},b.ontimeout=function(){let N=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const P=n.transitional||rt;n.timeoutErrorMessage&&(N=n.timeoutErrorMessage),i(new w(N,P.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,b)),b=null},o===void 0&&r.setContentType(null),"setRequestHeader"in b&&h.forEach(r.toJSON(),function(N,P){b.setRequestHeader(P,N)}),h.isUndefined(n.withCredentials)||(b.withCredentials=!!n.withCredentials),c&&c!=="json"&&(b.responseType=n.responseType),d&&([u,f]=Fe(d,!0),b.addEventListener("progress",u)),p&&b.upload&&([m,_]=Fe(p),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",_)),(n.cancelToken||n.signal)&&(l=k=>{b&&(i(!k||k.type?new _e(null,e,b):k),b.abort(),b=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal&&(n.signal.aborted?l():n.signal.addEventListener("abort",l)));const T=Xi(n.url);if(T&&x.protocols.indexOf(T)===-1){i(new w("Unsupported protocol "+T+":",w.ERR_BAD_REQUEST,e));return}b.send(o||null)})},no=(e,a)=>{const{length:t}=e=e?e.filter(Boolean):[];if(a||t){let i=new AbortController,n;const o=function(d){if(!n){n=!0,c();const l=d instanceof Error?d:this.reason;i.abort(l instanceof w?l:new _e(l instanceof Error?l.message:l))}};let r=a&&setTimeout(()=>{r=null,o(new w(`timeout of ${a}ms exceeded`,w.ETIMEDOUT))},a);const c=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),e=null)};e.forEach(d=>d.addEventListener("abort",o));const{signal:p}=i;return p.unsubscribe=()=>h.asap(c),p}},ro=function*(e,a){let t=e.byteLength;if(t<a){yield e;return}let i=0,n;for(;i<t;)n=i+a,yield e.slice(i,n),i=n},lo=async function*(e,a){for await(const t of co(e))yield*ro(t,a)},co=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:t,value:i}=await a.read();if(t)break;yield i}}finally{await a.cancel()}},bs=(e,a,t,i)=>{const n=lo(e,a);let o=0,r,c=p=>{r||(r=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:d,value:l}=await n.next();if(d){c(),p.close();return}let m=l.byteLength;if(t){let u=o+=m;t(u)}p.enqueue(new Uint8Array(l))}catch(d){throw c(d),d}},cancel(p){return c(p),n.return()}},{highWaterMark:2})},Ts=64*1024,{isFunction:Be}=h,mo=(({Request:e,Response:a})=>({Request:e,Response:a}))(h.global),{ReadableStream:Ss,TextEncoder:ws}=h.global,Cs=(e,...a)=>{try{return!!e(...a)}catch{return!1}},po=e=>{e=h.merge.call({skipUndefined:!0},mo,e);const{fetch:a,Request:t,Response:i}=e,n=a?Be(a):typeof fetch=="function",o=Be(t),r=Be(i);if(!n)return!1;const c=n&&Be(Ss),p=n&&(typeof ws=="function"?(f=>g=>f.encode(g))(new ws):async f=>new Uint8Array(await new t(f).arrayBuffer())),d=o&&c&&Cs(()=>{let f=!1;const g=new Ss,b=new t(x.origin,{body:g,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return g.cancel(),f&&!b}),l=r&&c&&Cs(()=>h.isReadableStream(new i("").body)),m={stream:l&&(f=>f.body)};n&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!m[f]&&(m[f]=(g,b)=>{let S=g&&g[f];if(S)return S.call(g);throw new w(`Response type '${f}' is not supported`,w.ERR_NOT_SUPPORT,b)})});const u=async f=>{if(f==null)return 0;if(h.isBlob(f))return f.size;if(h.isSpecCompliantForm(f))return(await new t(x.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(h.isArrayBufferView(f)||h.isArrayBuffer(f))return f.byteLength;if(h.isURLSearchParams(f)&&(f=f+""),h.isString(f))return(await p(f)).byteLength},_=async(f,g)=>{const b=h.toFiniteNumber(f.getContentLength());return b??u(g)};return async f=>{let{url:g,method:b,data:S,signal:T,cancelToken:k,timeout:N,onDownloadProgress:P,onUploadProgress:B,responseType:R,headers:H,withCredentials:ae="same-origin",fetchOptions:Ga}=_s(f),La=a||fetch;R=R?(R+"").toLowerCase():"text";let et=no([T,k&&k.toAbortSignal()],N),ke=null;const ie=et&&et.unsubscribe&&(()=>{et.unsubscribe()});let va;try{if(B&&d&&b!=="get"&&b!=="head"&&(va=await _(H,S))!==0){let K=new t(g,{method:"POST",body:S,duplex:"half"}),pe;if(h.isFormData(S)&&(pe=K.headers.get("content-type"))&&H.setContentType(pe),K.body){const[Jt,tt]=us(va,Fe(hs(B)));S=bs(K.body,Ts,Jt,tt)}}h.isString(ae)||(ae=ae?"include":"omit");const L=o&&"credentials"in t.prototype,Wa={...Ga,signal:et,method:b.toUpperCase(),headers:H.normalize().toJSON(),body:S,duplex:"half",credentials:L?ae:void 0};ke=o&&new t(g,Wa);let q=await(o?La(ke,Ga):La(g,Wa));const Da=l&&(R==="stream"||R==="response");if(l&&(P||Da&&ie)){const K={};["status","statusText","headers"].forEach(Ma=>{K[Ma]=q[Ma]});const pe=h.toFiniteNumber(q.headers.get("content-length")),[Jt,tt]=P&&us(pe,Fe(hs(P),!0))||[];q=new i(bs(q.body,Ts,Jt,()=>{tt&&tt(),ie&&ie()}),K)}R=R||"text";let tf=await m[h.findKey(m,R)||"text"](q,f);return!Da&&ie&&ie(),await new Promise((K,pe)=>{fs(K,pe,{data:tf,headers:A.from(q.headers),status:q.status,statusText:q.statusText,config:f,request:ke})})}catch(L){throw ie&&ie(),L&&L.name==="TypeError"&&/Load failed|fetch/i.test(L.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,f,ke,L&&L.response),{cause:L.cause||L}):w.from(L,L&&L.code,f,ke,L&&L.response)}}},fo=new Map,ks=e=>{let a=e&&e.env||{};const{fetch:t,Request:i,Response:n}=a,o=[i,n,t];let r=o.length,c=r,p,d,l=fo;for(;c--;)p=o[c],d=l.get(p),d===void 0&&l.set(p,d=c?new Map:po(a)),l=d;return d};ks();const pt={http:Bi,xhr:oo,fetch:{get:ks}};h.forEach(pt,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const Es=e=>`- ${e}`,uo=e=>h.isFunction(e)||e===null||e===!1;function ho(e,a){e=h.isArray(e)?e:[e];const{length:t}=e;let i,n;const o={};for(let r=0;r<t;r++){i=e[r];let c;if(n=i,!uo(i)&&(n=pt[(c=String(i)).toLowerCase()],n===void 0))throw new w(`Unknown adapter '${c}'`);if(n&&(h.isFunction(n)||(n=n.get(a))))break;o[c||"#"+r]=n}if(!n){const r=Object.entries(o).map(([p,d])=>`adapter ${p} `+(d===!1?"is not supported by the environment":"is not available in the build"));let c=t?r.length>1?`since :
4
4
  `+r.map(Es).join(`
5
- `):" "+Es(r[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return n}const Ns={getAdapter:ho,adapters:pt};function ft(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _e(null,e)}function Ps(e){return ft(e),e.headers=A.from(e.headers),e.data=mt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ns.getAdapter(e.adapter||ye.adapter,e)(e).then(function(i){return ft(e),i.data=mt.call(e,e.transformResponse,i),i.headers=A.from(i.headers),i},function(i){return ps(i)||(ft(e),i&&i.response&&(i.response.data=mt.call(e,e.transformResponse,i.response),i.response.headers=A.from(i.response.headers))),Promise.reject(i)})}const Vs="1.15.0",ze={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{ze[e]=function(i){return typeof i===e||"a"+(a<1?"n ":" ")+e}});const xs={};ze.transitional=function(a,t,i){function n(o,r){return"[Axios v"+Vs+"] Transitional option '"+o+"'"+r+(i?". "+i:"")}return(o,r,c)=>{if(a===!1)throw new w(n(r," has been removed"+(t?" in "+t:"")),w.ERR_DEPRECATED);return t&&!xs[r]&&(xs[r]=!0,console.warn(n(r," has been deprecated since v"+t+" and will be removed in the near future"))),a?a(o,r,c):!0}},ze.spelling=function(a){return(t,i)=>(console.warn(`${i} is likely a misspelling of ${a}`),!0)};function yo(e,a,t){if(typeof e!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let n=i.length;for(;n-- >0;){const o=i[n],r=a[o];if(r){const c=e[o],p=c===void 0||r(c,o,e);if(p!==!0)throw new w("option "+o+" must be "+p,w.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new w("Unknown option "+o,w.ERR_BAD_OPTION)}}const Ae={assertOptions:yo,validators:ze},v=Ae.validators;let Q=class{constructor(a){this.defaults=a||{},this.interceptors={request:new ls,response:new ls}}async request(a,t){try{return await this._request(a,t)}catch(i){if(i instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const o=(()=>{if(!n.stack)return"";const r=n.stack.indexOf(`
5
+ `):" "+Es(r[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return n}const Ns={getAdapter:ho,adapters:pt};function ft(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _e(null,e)}function Ps(e){return ft(e),e.headers=A.from(e.headers),e.data=mt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ns.getAdapter(e.adapter||ye.adapter,e)(e).then(function(i){return ft(e),i.data=mt.call(e,e.transformResponse,i),i.headers=A.from(i.headers),i},function(i){return ps(i)||(ft(e),i&&i.response&&(i.response.data=mt.call(e,e.transformResponse,i.response),i.response.headers=A.from(i.response.headers))),Promise.reject(i)})}const Vs="1.15.0",ze={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{ze[e]=function(i){return typeof i===e||"a"+(a<1?"n ":" ")+e}});const Rs={};ze.transitional=function(a,t,i){function n(o,r){return"[Axios v"+Vs+"] Transitional option '"+o+"'"+r+(i?". "+i:"")}return(o,r,c)=>{if(a===!1)throw new w(n(r," has been removed"+(t?" in "+t:"")),w.ERR_DEPRECATED);return t&&!Rs[r]&&(Rs[r]=!0,console.warn(n(r," has been deprecated since v"+t+" and will be removed in the near future"))),a?a(o,r,c):!0}},ze.spelling=function(a){return(t,i)=>(console.warn(`${i} is likely a misspelling of ${a}`),!0)};function yo(e,a,t){if(typeof e!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let n=i.length;for(;n-- >0;){const o=i[n],r=a[o];if(r){const c=e[o],p=c===void 0||r(c,o,e);if(p!==!0)throw new w("option "+o+" must be "+p,w.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new w("Unknown option "+o,w.ERR_BAD_OPTION)}}const Ae={assertOptions:yo,validators:ze},v=Ae.validators;let Q=class{constructor(a){this.defaults=a||{},this.interceptors={request:new ls,response:new ls}}async request(a,t){try{return await this._request(a,t)}catch(i){if(i instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const o=(()=>{if(!n.stack)return"";const r=n.stack.indexOf(`
6
6
  `);return r===-1?"":n.stack.slice(r+1)})();try{if(!i.stack)i.stack=o;else if(o){const r=o.indexOf(`
7
7
  `),c=r===-1?-1:o.indexOf(`
8
8
  `,r+1),p=c===-1?"":o.slice(c+1);String(i.stack).endsWith(p)||(i.stack+=`
9
- `+o)}}catch{}}throw i}}_request(a,t){typeof a=="string"?(t=t||{},t.url=a):t=a||{},t=X(this.defaults,t);const{transitional:i,paramsSerializer:n,headers:o}=t;i!==void 0&&Ae.assertOptions(i,{silentJSONParsing:v.transitional(v.boolean),forcedJSONParsing:v.transitional(v.boolean),clarifyTimeoutError:v.transitional(v.boolean),legacyInterceptorReqResOrdering:v.transitional(v.boolean)},!1),n!=null&&(h.isFunction(n)?t.paramsSerializer={serialize:n}:Ae.assertOptions(n,{encode:v.function,serialize:v.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ae.assertOptions(t,{baseUrl:v.spelling("baseURL"),withXsrfToken:v.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=o&&h.merge(o.common,o[t.method]);o&&h.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),t.headers=A.concat(r,o);const c=[];let p=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(t)===!1)return;p=p&&g.synchronous;const b=t.transitional||rt;b&&b.legacyInterceptorReqResOrdering?c.unshift(g.fulfilled,g.rejected):c.push(g.fulfilled,g.rejected)});const d=[];this.interceptors.response.forEach(function(g){d.push(g.fulfilled,g.rejected)});let l,m=0,u;if(!p){const f=[Ps.bind(this),void 0];for(f.unshift(...c),f.push(...d),u=f.length,l=Promise.resolve(t);m<u;)l=l.then(f[m++],f[m++]);return l}u=c.length;let _=t;for(;m<u;){const f=c[m++],g=c[m++];try{_=f(_)}catch(b){g.call(this,b);break}}try{l=Ps.call(this,_)}catch(f){return Promise.reject(f)}for(m=0,u=d.length;m<u;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=X(this.defaults,a);const t=ys(a.baseURL,a.url,a.allowAbsoluteUrls);return rs(t,a.params,a.paramsSerializer)}};h.forEach(["delete","get","head","options"],function(a){Q.prototype[a]=function(t,i){return this.request(X(i||{},{method:a,url:t,data:(i||{}).data}))}}),h.forEach(["post","put","patch"],function(a){function t(i){return function(o,r,c){return this.request(X(c||{},{method:a,headers:i?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}Q.prototype[a]=t(),Q.prototype[a+"Form"]=t(!0)});let go=class Ua{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(o){t=o});const i=this;this.promise.then(n=>{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](n);i._listeners=null}),this.promise.then=n=>{let o;const r=new Promise(c=>{i.subscribe(c),o=c}).then(n);return r.cancel=function(){i.unsubscribe(o)},r},a(function(o,r,c){i.reason||(i.reason=new _e(o,r,c),t(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const t=this._listeners.indexOf(a);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const a=new AbortController,t=i=>{a.abort(i)};return this.subscribe(t),a.signal.unsubscribe=()=>this.unsubscribe(t),a.signal}static source(){let a;return{token:new Ua(function(n){a=n}),cancel:a}}};function _o(e){return function(t){return e.apply(null,t)}}function bo(e){return h.isObject(e)&&e.isAxiosError===!0}const ut={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ut).forEach(([e,a])=>{ut[a]=e});function Rs(e){const a=new Q(e),t=Ht(Q.prototype.request,a);return h.extend(t,Q.prototype,a,{allOwnKeys:!0}),h.extend(t,a,null,{allOwnKeys:!0}),t.create=function(n){return Rs(X(e,n))},t}const E=Rs(ye);E.Axios=Q,E.CanceledError=_e,E.CancelToken=go,E.isCancel=ps,E.VERSION=Vs,E.toFormData=xe,E.AxiosError=w,E.Cancel=E.CanceledError,E.all=function(a){return Promise.all(a)},E.spread=_o,E.isAxiosError=bo,E.mergeConfig=X,E.AxiosHeaders=A,E.formToJSON=e=>cs(h.isHTMLForm(e)?new FormData(e):e),E.getAdapter=Ns.getAdapter,E.HttpStatusCode=ut,E.default=E;const{Axios:cf,AxiosError:df,CanceledError:mf,isCancel:pf,CancelToken:ff,VERSION:uf,all:hf,Cancel:yf,isAxiosError:gf,spread:_f,toFormData:bf,AxiosHeaders:Tf,HttpStatusCode:Sf,formToJSON:wf,getAdapter:Cf,mergeConfig:kf}=E;function ee(e,a,t){if(a==null||a<=1)return e;const i=t?`https://dev-apis.golstats.com/${a}/`:`https://apis.golstats.com/${a}/`,n=new URL(e);let o=n.pathname+n.search;o=o.replace(/^\/(prod|qa)\//,"/");const r=o.replace(/^\//,"");return i+r}const To={computed:{sizeTabsFontMP(){const e=this.elementSize.width;return e<=380?"12px":e<=768?"14px":"16px"},sizeTabsFontMS(){const e=this.elementSize.width;return e<=600?"12px":e<=768?"13px":"14px"},sizeTabsMS(){const e=this.elementSize.width;return e<=480?"145px":e<=600?"153px":e<=620?"163px":e<=640?"170px":e<=660?"175px":e<=680?"180px":e<=700?"185px":e<=720?"195px":"200px"},sizeTabsMP(){const e=this.elementSize.width;return e<=319?"68px":e<=330?"73px":e<=340?"78px":e<=350?"82px":e<=360||e<=370?"90px":e<=390?"95px":e<=410?"105px":e<=430?"110px":e<=450?"117px":e<=470?"122px":e<=500?"130px":e<=530?"138px":e<=560?"155px":e<=590?"163px":e<=620?"175px":e<=650?"180px":e<=680?"195px":e<=730?"210px":e<=768?"100px":"110px"},comextleyemdmultipleleaguesClass(){return this.elementSize.width<=380?this.$style.comtextleyemdmultipleleagues380:this.$style.comtextleyemdmultipleleagues},comdropdownParentClass(){return this.elementSize.width<=730?this.$style.comdropdownParent730:this.$style.comdropdownParent},comdescubreVideosClass(){const e=this.elementSize.width;return e<=960?this.$style.comdescubreVideos960:e<=1232?this.$style.comdescubreVideos1232:this.$style.comdescubreVideos},comquitarFiltrosClass(){const e=this.elementSize.width;return e<=380?this.$style.comquitarFiltros380:e<=480?this.$style.comquitarFiltros480:e<=730?this.$style.comquitarFiltros730:this.$style.comquitarFiltros},commejoresJugadoresClass(){const e=this.elementSize.width;return e<=480?this.$style.commejoresJugadores480:e<=730?this.$style.commejoresJugadores730:this.$style.commejoresJugadores},menuSectionClass(){return this.elementSize.width<=960?this.$style.commenuSection960:this.$style.commenuSection},topFiltersClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFilters420:e<=460?this.$style.comtopFilters460:e<=1232?this.$style.comtopFilters1232:this.$style.comtopFilters},toniKroosWrapperClass(){const e=this.elementSize.width;return e<=319?this.$style.comtoniKroosWrapper320:e<=420?this.$style.comtoniKroosWrapper420:e<=916?this.$style.comtoniKroosWrapper760:e<=975?this.$style.comtoniKroosWrapper975:e<=1079?this.$style.comtoniKroosWrapper1080:this.$style.comtoniKroosWrapper},containerTablesClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTables320:e<=916?this.$style.comcontainerTables760:e<=1079?this.$style.comcontainerTables960:this.$style.comcontainerTables},containerTheBestClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTheBest320:e<=960?this.$style.comcontainerTheBest960:e<=1232?this.$style.comcontainerTheBest1232:this.$style.comcontainerTheBest},menuSectionHeaderClass(){const e=this.elementSize.width;return e<=730?this.$style.commenuSectionHeader730:e<=960?this.$style.commenuSectionHeader960:e<=1232?this.$style.commenuSectionHeader1232:this.$style.commenuSectionHeader},losMejoresClass(){const e=this.elementSize.width;return e<=380?this.$style.comlosMejores380:e<=530?this.$style.comlosMejores530:e<=730?this.$style.comlosMejores730:this.$style.comlosMejores},dropdownClass(){return this.elementSize.width<=730?this.$style.comdropdown730:this.$style.comdropdown},dropdown1Class(){return this.elementSize.width<=730?this.$style.comdropdown1730:this.$style.comdropdown1},menuSectionParentHeaderClass(){const e=this.elementSize.width;return e<=430?this.$style.commenuSectionParentHeader430:e<=730?this.$style.commenuSectionParentHeader730:e<=960?this.$style.commenuSectionParentHeader960:e<=1232?this.$style.commenuSectionParentHeader1232:this.$style.commenuSectionParentHeader},templateLosMejoresClass(){const e=this.elementSize.width;return e<=319?this.$style.comtemplateLosMejores1320:e<=350?this.$style.comtemplateLosMejores1350:e<=420?this.$style.comtemplateLosMejores1420:e<=540?this.$style.comtemplateLosMejores1540:e<=960?this.$style.comtemplateLosMejores1960:e<=1232?this.$style.comtemplateLosMejores11232:this.$style.comtemplateLosMejores1},containerMenuClass(){return this.elementSize.width<=760?this.$style.comcontainerMenu760:this.$style.comcontainerMenu},titleSectionClass(){return this.elementSize.width<=540?this.$style.comtitleSection540:this.$style.comtitleSection},containerSectionClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerSection320:e<=350?this.$style.comcontainerSection350:e<=960?this.$style.comcontainerSection960:e<=1232?this.$style.comcontainerSection1232:this.$style.comcontainerSection},filtersContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.comfiltersContainer420:e<=760?this.$style.comfiltersContainer760:e<=1232?this.$style.comfiltersContainer1232:this.$style.comfiltersContainer},topFiltersParentClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFiltersParent420:e<=460?this.$style.comtopFiltersParent460:e<=1232?this.$style.comtopFiltersParent1232:this.$style.comtopFiltersParent}}};function be(e){const a=s.ref({width:0,height:0});function t(){const i=e.value.getBoundingClientRect();a.value.width=i.width,a.value.height=i.height}return s.onMounted(()=>{t(),window.addEventListener("resize",t)}),s.onUnmounted(()=>{window.removeEventListener("resize",t)}),{elementSize:a}}const j=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},ht={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,iconPosition:{type:String,default:"left"},iconSize:String,mini:{type:Boolean,default:!1},fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"auto"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,maxWidth:this.buttonMaxWidth,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},Fs=()=>{s.useCssVars(e=>({v006631b0:e.height,d22b27fa:e.borderWidthBtn,v074def07:e.borderType,v3d086d94:e.borderColor,v66cd0d1f:e.borderRadius,e592d8b6:e.width,v0aedd1f4:e.backgroundColor,c0802d9e:e.cursorType,eabd0a9e:e.fontSize,v6cda4dfe:e.fontStyle,v51880a14:e.fontFamily,v3824dfca:e.marginLeftStat,v133a34a5:e.fontSizeStat}))},Bs=ht.setup;ht.setup=Bs?(e,a)=>(Fs(),Bs(e,a)):Fs;const So=["src"],wo={key:1,class:"text"},Co={class:"stats"},ko={class:"numstats"},Eo={class:"leyend"};function No(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",n.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([o.customStyle,n.status&&t.typeOnOff&&o.customActive]),onClick:a[0]||(a[0]=(...r)=>o.btnClick&&o.btnClick(...r))},[e.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:s.normalizeClass(t.mini?"icon-txt":"icon"),style:s.normalizeStyle({width:t.iconSize}),src:e.icon},null,14,So)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",wo,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>o.btnClick&&o.btnClick(...r))},[s.createElementVNode("div",Co,[s.createElementVNode("div",ko,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",Eo,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const Po=j(ht,[["render",No],["__scopeId","data-v-a6e73249"]]),Vo={tablePositionGamesReports:"_tablePositionGamesReports_77dpo_46",tablePositionWrapperGamesReports:"_tablePositionWrapperGamesReports_77dpo_62",imgHenrryIconReports:"_imgHenrryIconReports_77dpo_71",americaIconReports:"_americaIconReports_77dpo_79",playerPhotoGamesReports:"_playerPhotoGamesReports_77dpo_91",toniKroosGamesReports:"_toniKroosGamesReports_77dpo_100",shapeIconReports:"_shapeIconReports_77dpo_111",menuiconsTeamsReports:"_menuiconsTeamsReports_77dpo_117",component31Reports:"_component31Reports_77dpo_126",playerNameGamesReports:"_playerNameGamesReports_77dpo_137",icnPlayIconReports:"_icnPlayIconReports_77dpo_145",golesReports:"_golesReports_77dpo_153",americaIcon1Reports:"_americaIcon1Reports_77dpo_160",teamsAmericaReports:"_teamsAmericaReports_77dpo_174",containerDataReports:"_containerDataReports_77dpo_180",shapeIcon1Reports:"_shapeIcon1Reports_77dpo_188",icnExpand1Reports:"_icnExpand1Reports_77dpo_194",icnExpandReports:"_icnExpandReports_77dpo_205",playerDataGamesReports:"_playerDataGamesReports_77dpo_214",playerInfoGamesReports:"_playerInfoGamesReports_77dpo_225",headerTopGameReportsAuto:"_headerTopGameReportsAuto_77dpo_240",playerRowReports:"_playerRowReports_77dpo_254",groupsLeagueReports:"_groupsLeagueReports_77dpo_265",textReports:"_textReports_77dpo_274",btnViewFullListReports:"_btnViewFullListReports_77dpo_282",headerTopsGamesReports:"_headerTopsGamesReports_77dpo_299",btnVideosOptionsReports:"_btnVideosOptionsReports_77dpo_373","container-player-info":"_container-player-info_77dpo_1","gsc-button":"_gsc-button_77dpo_619",teamIconOverlay:"_teamIconOverlay_77dpo_672",positionReports:"_positionReports_77dpo_718",positionWrapperReports:"_positionWrapperReports_77dpo_730",imgNecaxaIconReports:"_imgNecaxaIconReports_77dpo_738",teamLogoReports:"_teamLogoReports_77dpo_744",teamPhotoReports:"_teamPhotoReports_77dpo_752",nameReports:"_nameReports_77dpo_760",icnPlayIconType1Reports:"_icnPlayIconType1Reports_77dpo_768",verVideosType1Reports:"_verVideosType1Reports_77dpo_775",btnVideosOptionsType1Reports:"_btnVideosOptionsType1Reports_77dpo_781",btnVideosOptions1GamesReports:"_btnVideosOptions1GamesReports_77dpo_793",leftContainerReports:"_leftContainerReports_77dpo_805",shapeIconType1Reports:"_shapeIconType1Reports_77dpo_814",icnExpandType1Reports:"_icnExpandType1Reports_77dpo_819",arrowExpandReports:"_arrowExpandReports_77dpo_829",containerInfoGamesReports:"_containerInfoGamesReports_77dpo_837",headerTopTeamReports:"_headerTopTeamReports_77dpo_849",containerHeaderReports:"_containerHeaderReports_77dpo_863",goles1Reports:"_goles1Reports_77dpo_872",golesType1Reports:"_golesType1Reports_77dpo_875",golesWrapperReports:"_golesWrapperReports_77dpo_880",btnViewAllReports:"_btnViewAllReports_77dpo_889",headerTopsTeamsReports:"_headerTopsTeamsReports_77dpo_906",arrowExpandIconReports:"_arrowExpandIconReports_77dpo_1066",rotateReports:"_rotateReports_77dpo_1075"},yt={components:{GSCButton:Po},props:{typeData:{type:Number,default:1},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>{}},type:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},canPlayVideos:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},categoryName:{type:String,default:""},categoryId:{type:String,default:""},data:{type:Object,default:()=>{}},backgroundColor:{type:String,default:"#0d1d29"},backgroundColorHeader:{type:String,default:"#183143"},fontColorName:{type:String,default:"#F4F4F4"},fontSizeName:{type:String,default:"14px"},fontFamilyName:{type:String,default:"Poppins-Regular"},fontColorTopNum:{type:String,default:"#FFFFFF"},fontSizeTopNum:{type:String,default:"96px"},fontFamilyTopNum:{type:String,default:"Oswald-Bold"},fontColorCategory:{type:String,default:"#FFFFFF"},fontSizeCategory:{type:String,default:"12px"},fontFamilyCategory:{type:String,default:"Poppins-Regular"},opacityColorTopNum:{type:Number,default:.09},borderColorCategory:{type:String,default:"#cbee6b"},iconSize:{type:String,default:"18px"},iconPosition:{type:String,default:"left"},colorArrow:{type:String,default:"#D9D9D9"},buttonWidth:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"180px"},buttonHeight:{type:String,default:"24px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#cbee6b"},buttonFontSize:{type:String,default:"12px"},showPosition:{type:Boolean,default:!0}},data:()=>({expand:!1}),methods:{viewProfile(e){this.$emit("play",e)},clickMore(e){this.$emit("more",e)},clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},clickFav(e){this.$emit("fav",e)},clickEventMedia(e){this.$emit("mediadata",e)}}},zs=()=>{s.useCssVars(e=>({v06270c4a:e.fontSizeTopNum,d23b5926:e.fontFamilyTopNum,v221e8b3c:e.fontColorTopNum,v7096921c:e.opacityColorTopNum,v97cb32d4:e.fontColorName,v9a36f1f2:e.fontFamilyName,v7ecbd324:e.fontSizeName,v63ba4059:e.backgroundColorHeader,b5bda90c:e.fontFamilyCategory,v561b2117:e.fontSizeCategory,v522eab89:e.fontColorCategory,e4e6ede8:e.borderColorCategory}))},As=yt.setup;yt.setup=As?(e,a)=>(zs(),As(e,a)):zs;const xo=["src"],Ro=["src"],Fo=["src"],Bo=["src"],zo=["fill"],Ao=["fill"],Io=["src"],Oo=["fill"],Go=["fill"];function Lo(e,a,t,i,n,o){const r=s.resolveComponent("GSCButton");return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.headerTopsGamesReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerRowReports),id:"player-row"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.headerTopGameReportsAuto)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerPhotoGamesReports),id:"container-player-photp"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.tablePositionWrapperGamesReports)},[s.createElementVNode("b",{class:s.normalizeClass(e.$style.tablePositionGamesReports)},[t.showPosition?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createTextVNode(s.toDisplayString(t.data.top),1)],64)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamIconOverlay),style:s.normalizeStyle({backgroundImage:`url(${t.data.logo})`})},null,6)],2),s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgHenrryIconReports),alt:"",src:t.data.photo},null,10,xo),s.createElementVNode("img",{class:s.normalizeClass(e.$style.americaIconReports),alt:"",src:t.data.logo},null,10,Ro)],2),s.createElementVNode("main",{class:s.normalizeClass(e.$style.playerInfoGamesReports),id:"container-player-info"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerNameGamesReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.toniKroosGamesReports)},s.toDisplayString(t.data.name),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerDataGamesReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerDataReports)},[t.canPlayVideos||t.game.awayTeam.team_id==t.teamWidget&&t.typeData!=1?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(r,{"icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize,onClick:a[0]||(a[0]=c=>o.clickEventMedia(t.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamsAmericaReports)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.americaIcon1Reports),alt:"",src:t.data.logo},null,10,Fo)],2)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createVNode(r,{icon:"","icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamsAmericaReports)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.americaIcon1Reports),alt:"",src:t.data.logo},null,10,Bo)],2)],64))],2),t.arrow?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.icnExpandReports),onClick:a[1]||(a[1]=c=>o.clickExpand(t.data.player_id))},[(s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass([e.$style.arrowExpandIconReports,t.isExpanded?e.$style.rotateReports:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,Ao)],10,zo))],2)):s.createCommentVNode("",!0)],2)],2)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.headerTopsTeamsReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerHeaderReports),id:"header-container"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.headerTopTeamReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamPhotoReports),id:"container-team"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.positionWrapperReports)},[s.createElementVNode("b",{class:s.normalizeClass(e.$style.positionReports)},[t.showPosition?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createTextVNode(s.toDisplayString(t.data.top),1)],64)):s.createCommentVNode("",!0)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamLogoReports)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgNecaxaIconReports),alt:"",src:t.data.logo},null,10,Io)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerInfoGamesReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.leftContainerReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.nameReports)},s.toDisplayString(t.data.name_team),3),s.createVNode(r,{"icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize,onClick:a[2]||(a[2]=c=>o.clickEventMedia(t.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.btnVideosOptions1GamesReports)},[s.createVNode(r,{"icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize,onClick:a[3]||(a[3]=c=>o.clickEventMedia(t.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.verVideosType1Reports)},s.toDisplayString(t.data.total),3)],2)],2),t.arrow?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.arrowExpandReports),onClick:a[4]||(a[4]=c=>o.clickExpand(t.data.player_id))},[(s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass([e.$style.arrowExpandIconReports,t.isExpanded?e.$style.rotateReports:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,Go)],10,Oo))],2)):s.createCommentVNode("",!0)],2)],2)],2)],2)):s.createCommentVNode("",!0)])}const vo=j(yt,[["render",Lo],["__cssModules",{$style:Vo}]]),Wo={rotate:"_rotate_tumgv_3",positionContainer:"_positionContainer_tumgv_50",positionContainer300:"_positionContainer300_tumgv_57",positionContainer620:"_positionContainer620_tumgv_64",rowwPlayerGamesReports:"_rowwPlayerGamesReports_tumgv_71",rowwPlayer300GamesReports:"_rowwPlayer300GamesReports_tumgv_87",rowwPlayer960GamesReports:"_rowwPlayer960GamesReports_tumgv_103",rowwPlayer420GamesReports:"_rowwPlayer420GamesReports_tumgv_118",rowwPlayer460GamesReports:"_rowwPlayer460GamesReports_tumgv_134",containerLeftGames:"_containerLeftGames_tumgv_151",containerLeft300Games:"_containerLeft300Games_tumgv_159",containerLeft420Games:"_containerLeft420Games_tumgv_167",containerLeft620Games:"_containerLeft620Games_tumgv_175",iconFavoritesType1:"_iconFavoritesType1_tumgv_182",iconFavoritesType1300:"_iconFavoritesType1300_tumgv_190",iconFavoritesType1320:"_iconFavoritesType1320_tumgv_198",iconFavorites:"_iconFavorites_tumgv_182",iconFavorites300:"_iconFavorites300_tumgv_214",iconFavorites420:"_iconFavorites420_tumgv_222",playerContainerGames:"_playerContainerGames_tumgv_230",playerContainer300Games:"_playerContainer300Games_tumgv_242",playerContainer420Games:"_playerContainer420Games_tumgv_254",playerContainer460Games:"_playerContainer460Games_tumgv_266",playerContainerType1Games:"_playerContainerType1Games_tumgv_278",playerContainerType1300Games:"_playerContainerType1300Games_tumgv_288",playerContainerType1320Games:"_playerContainerType1320Games_tumgv_298",playerContainerType1460Games:"_playerContainerType1460Games_tumgv_308",imgPlayerIcon:"_imgPlayerIcon_tumgv_318",imgPlayerIcon300:"_imgPlayerIcon300_tumgv_328",imgPlayerIcon460:"_imgPlayerIcon460_tumgv_338",imgPlayerIcon420:"_imgPlayerIcon420_tumgv_348",manchesterUnitedGames:"_manchesterUnitedGames_tumgv_358",manchesterUnited300Games:"_manchesterUnited300Games_tumgv_369",manchesterUnited360Games:"_manchesterUnited360Games_tumgv_381",manchesterUnited420Games:"_manchesterUnited420Games_tumgv_392",manchesterUnited460Games:"_manchesterUnited460Games_tumgv_403",containerRightGames:"_containerRightGames_tumgv_414",containerRight300Games:"_containerRight300Games_tumgv_423",containerRight960Games:"_containerRight960Games_tumgv_435",containerRight420Games:"_containerRight420Games_tumgv_445",numberOfVideos:"_numberOfVideos_tumgv_456",numberOfVideos300:"_numberOfVideos300_tumgv_462",numberOfVideos620:"_numberOfVideos620_tumgv_469",block02Games:"_block02Games_tumgv_475",block02300Games:"_block02300Games_tumgv_484",block02960Games:"_block02960Games_tumgv_493",block02620Games:"_block02620Games_tumgv_502",block02420Games:"_block02420Games_tumgv_509",verVideos:"_verVideos_tumgv_517",verVideos620:"_verVideos620_tumgv_523",numberPosition:"_numberPosition_tumgv_526",numberPosition300:"_numberPosition300_tumgv_532",shapeIcon:"_shapeIcon_tumgv_539",chivasIcon:"_chivasIcon_tumgv_544",imgTeamIcon:"_imgTeamIcon_tumgv_555",imgTeamIcon300:"_imgTeamIcon300_tumgv_560",teamName:"_teamName_tumgv_565",nameTeamGames:"_nameTeamGames_tumgv_571",dfC:"_dfC_tumgv_580",position:"_position_tumgv_50",age:"_age_tumgv_590",manchesterUnitedIcon:"_manchesterUnitedIcon_tumgv_598",country:"_country_tumgv_605",playedGames:"_playedGames_tumgv_612",playedMinutes:"_playedMinutes_tumgv_619",block01:"_block01_tumgv_626",leagueName:"_leagueName_tumgv_633",roleCharacterIcon:"_roleCharacterIcon_tumgv_639",btnVideosGames:"_btnVideosGames_tumgv_647",containerBtnVideosGames:"_containerBtnVideosGames_tumgv_662",containerBtnVideos300Games:"_containerBtnVideos300Games_tumgv_672",containerBtnVideos620Games:"_containerBtnVideos620Games_tumgv_682",containesOptions:"_containesOptions_tumgv_691",arrowExpandIcon:"_arrowExpandIcon_tumgv_699",rowTeam:"_rowTeam_tumgv_708",rowTeam300:"_rowTeam300_tumgv_726",rowTeam420:"_rowTeam420_tumgv_744",rowTeam320:"_rowTeam320_tumgv_762",rowTeam460:"_rowTeam460_tumgv_781",rowTeam350:"_rowTeam350_tumgv_800",containerLeftType1:"_containerLeftType1_tumgv_818",containerLeftType1300:"_containerLeftType1300_tumgv_824",containerLeftType1680:"_containerLeftType1680_tumgv_832",containerLeftType1320:"_containerLeftType1320_tumgv_839",containerLeftType1350:"_containerLeftType1350_tumgv_847",positionContainertype1:"_positionContainertype1_tumgv_854",positionContainertype1300:"_positionContainertype1300_tumgv_862",positionContainertype1380:"_positionContainertype1380_tumgv_870",positionContainertype1680:"_positionContainertype1680_tumgv_878",positionContainertype1420:"_positionContainertype1420_tumgv_886",manchesterUnitedType1:"_manchesterUnitedType1_tumgv_894",manchesterUnitedType1300:"_manchesterUnitedType1300_tumgv_900",manchesterUnitedType1460:"_manchesterUnitedType1460_tumgv_908",manchesterUnitedType1320:"_manchesterUnitedType1320_tumgv_915",containerRightType1Games:"_containerRightType1Games_tumgv_922",containerRightType1300Games:"_containerRightType1300Games_tumgv_933",containerRightType1420Games:"_containerRightType1420Games_tumgv_945",containerRightType1320Games:"_containerRightType1320Games_tumgv_956",teamNameWrapperType1:"_teamNameWrapperType1_tumgv_967",teamNameWrapperType1300:"_teamNameWrapperType1300_tumgv_974",teamNameWrapperType1960:"_teamNameWrapperType1960_tumgv_982",teamNameWrapperType11086:"_teamNameWrapperType11086_tumgv_989",ageWrapperType1:"_ageWrapperType1_tumgv_996",ageWrapperType1300:"_ageWrapperType1300_tumgv_1003",ageWrapperType1680:"_ageWrapperType1680_tumgv_1011",ageWrapperType11086:"_ageWrapperType11086_tumgv_1019",ageType1:"_ageType1_tumgv_1027",ageType1300:"_ageType1300_tumgv_1035",ageType1960:"_ageType1960_tumgv_1038",playedGamesWrapperType1:"_playedGamesWrapperType1_tumgv_1041",playedGamesWrapperType1300:"_playedGamesWrapperType1300_tumgv_1048",playedGamesWrapperType1680:"_playedGamesWrapperType1680_tumgv_1051",playedGamesWrapperType1960:"_playedGamesWrapperType1960_tumgv_1054",playedGamesType1:"_playedGamesType1_tumgv_1057",playedGamesType1300:"_playedGamesType1300_tumgv_1064",playedGamesType1540:"_playedGamesType1540_tumgv_1068",playedGamesType1960:"_playedGamesType1960_tumgv_1072",playedGamesType11086:"_playedGamesType11086_tumgv_1075",playedMinutesWrapperType1:"_playedMinutesWrapperType1_tumgv_1078",playedMinutesWrapperType1300:"_playedMinutesWrapperType1300_tumgv_1085",playedMinutesWrapperType11086:"_playedMinutesWrapperType11086_tumgv_1092",playedMinutesType1:"_playedMinutesType1_tumgv_1099",playedMinutesType1300:"_playedMinutesType1300_tumgv_1106",playedMinutesType1680:"_playedMinutesType1680_tumgv_1109",block02Type1Games:"_block02Type1Games_tumgv_1112",block02Type1300Games:"_block02Type1300Games_tumgv_1120",block02Type1680Games:"_block02Type1680Games_tumgv_1129",block02Type1320Games:"_block02Type1320Games_tumgv_1137",block02Type1350Games:"_block02Type1350Games_tumgv_1146",leagueNameWrapperType1:"_leagueNameWrapperType1_tumgv_1154",leagueNameWrapperType1300:"_leagueNameWrapperType1300_tumgv_1162",leagueNameWrapperType1680:"_leagueNameWrapperType1680_tumgv_1165",leagueNameWrapperType1960:"_leagueNameWrapperType1960_tumgv_1168",leagueNameType1:"_leagueNameType1_tumgv_1176",leagueNameType1300:"_leagueNameType1300_tumgv_1185",leagueNameType1960:"_leagueNameType1960_tumgv_1188",numberOfVideosType1:"_numberOfVideosType1_tumgv_1198",numberOfVideosType1300:"_numberOfVideosType1300_tumgv_1205",numberOfVideosType1680:"_numberOfVideosType1680_tumgv_1213",numberOfVideosType11232:"_numberOfVideosType11232_tumgv_1220",vectorIconType1:"_vectorIconType1_tumgv_1227",block01TitlesType1:"_block01TitlesType1_tumgv_1244",numberPositionType1:"_numberPositionType1_tumgv_1251",numberPositionType1300:"_numberPositionType1300_tumgv_1257",shapeIconType1:"_shapeIconType1_tumgv_1264",tijuanaIconType1:"_tijuanaIconType1_tumgv_1270",tijuanaWrapperType1:"_tijuanaWrapperType1_tumgv_1276",tijuanaWrapperType1NoBg:"_tijuanaWrapperType1NoBg_tumgv_1287",teamNameType1:"_teamNameType1_tumgv_1295",roleCharacterIconType1:"_roleCharacterIconType1_tumgv_1302",verVideosType1:"_verVideosType1_tumgv_1309",btnVideosType1Games:"_btnVideosType1Games_tumgv_1315",containerBtnVideosType1Games:"_containerBtnVideosType1Games_tumgv_1330",containesOptionsType1Games:"_containesOptionsType1Games_tumgv_1341",arrowExpandIconType1:"_arrowExpandIconType1_tumgv_1350",templateTablaProductividadType1:"_templateTablaProductividadType1_tumgv_1356",verVideosType11232:"_verVideosType11232_tumgv_1368",templateTablaProductividadType1320:"_templateTablaProductividadType1320_tumgv_1372",verVideosType1680:"_verVideosType1680_tumgv_1376"},gt={components:{},computed:{manchesterUnitedType1Class(){const e=this.elementSize.width;return e<=300?this.$style.manchesterUnitedType1300:e<=320?this.$style.manchesterUnitedType1320:e<=460?this.$style.manchesterUnitedType1460:this.$style.manchesterUnitedType1},containerRightType1Class(){const e=this.elementSize.width;return e<=300?this.$style.containerRightType1300Games:e<=320?this.$style.containerRightType1320Games:e<=420?this.$style.containerRightType1420Games:this.$style.containerRightType1Games},teamNameWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.teamNameWrapperType1300:e<=960?this.$style.teamNameWrapperType1960:e<=1086?this.$style.teamNameWrapperType11086:this.$style.teamNameWrapperType1},ageWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.ageWrapperType1300:e<=680?this.$style.ageWrapperType1680:e<=1086?this.$style.ageWrapperType11086:this.$style.ageWrapperType1},ageType1Class(){const e=this.elementSize.width;return e<=300?this.$style.ageType1300:e<=960?this.$style.ageType1960:this.$style.ageType1},playedGamesWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playedGamesWrapperType1300:e<=680?this.$style.playedGamesWrapperType1680:e<=960?this.$style.playedGamesWrapperType1960:this.$style.playedGamesWrapperType1},playedGamesType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playedGamesType1300:e<=540?this.$style.playedGamesType1540:e<=960?this.$style.playedGamesType1960:e<=1086?this.$style.playedGamesType11086:this.$style.playedGamesType1},playedMinutesWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playedMinutesWrapperType1300:e<=1086?this.$style.playedMinutesWrapperType11086:this.$style.playedMinutesWrapperType1},playedMinutesType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playedMinutesType1300:e<=680?this.$style.playedMinutesType1680:this.$style.playedMinutesType1},block02Type1Class(){const e=this.elementSize.width;return e<=300?this.$style.block02Type1300Games:e<=320?this.$style.block02Type1320Games:e<=350?this.$style.block02Type1350Games:e<=680?this.$style.block02Type1680Games:this.$style.block02Type1Games},leagueNameWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.leagueNameWrapperType1300:e<=680?this.$style.leagueNameWrapperType1680:e<=960?this.$style.leagueNameWrapperType1960:this.$style.leagueNameWrapperType1},leagueNameType1Class(){const e=this.elementSize.width;return e<=300?this.$style.leagueNameType1300:e<=960?this.$style.leagueNameType1960:this.$style.leagueNameType1},numberOfVideosType1Class(){const e=this.elementSize.width;return e<=300?this.$style.numberOfVideosType1300:e<=680?this.$style.numberOfVideosType1680:e<=1232?this.$style.numberOfVideosType11232:this.$style.numberOfVideosType1},containerBtnVideosType1Class(){return this.elementSize.width<=300?this.$style.containerBtnVideosType1300Games:this.$style.containerBtnVideosType1Games},containerLeftType1Class(){const e=this.elementSize.width;return e<=300?this.$style.containerLeftType1300:e<=320?this.$style.containerLeftType1320:e<=350?this.$style.containerLeftType1350:e<=680?this.$style.containerLeftType1680:this.$style.containerLeftType1},positionContainertype1Class(){const e=this.elementSize.width;return e<=300?this.$style.positionContainertype1300:e<=380?this.$style.positionContainertype1380:e<=420?this.$style.positionContainertype1420:e<=680?this.$style.positionContainertype1680:this.$style.positionContainertype1},rowTeamClass(){const e=this.elementSize.width;return e<=300?this.$style.rowTeam300:e<=320?this.$style.rowTeam320:e<=350?this.$style.rowTeam350:e<=420?this.$style.rowTeam420:e<=460?this.$style.rowTeam460:this.$style.rowTeam},containerBtnVideosClass(){return this.elementSize.width<=300?this.$style.containerBtnVideos300Games:this.$style.containerBtnVideosGames},numberOfVideosClass(){const e=this.elementSize.width;return e<=300?this.$style.numberOfVideos300:e<=620?this.$style.numberOfVideos620:this.$style.numberOfVideos},block02Class(){const e=this.elementSize.width;return e<=300?this.$style.block02300Games:e<=420?this.$style.block02420Games:e<=620?this.$style.block02620Games:e<=960?this.$style.block02960Games:this.$style.block02Games},imgPlayerIconClass(){const e=this.elementSize.width;return e<=300?this.$style.imgPlayerIcon300:e<=420?this.$style.imgPlayerIcon420:e<=460?this.$style.imgPlayerIcon460:this.$style.imgPlayerIcon},manchesterUnitedClass(){const e=this.elementSize.width;return e<=300?this.$style.manchesterUnited300Games:e<=360?this.$style.manchesterUnited360Games:e<=420?this.$style.manchesterUnited420Games:e<=460?this.$style.manchesterUnited460Games:this.$style.manchesterUnitedGames},containerRightClass(){const e=this.elementSize.width;return e<=300?this.$style.containerRight300Games:e<=420?this.$style.containerRight420Games:e<=960?this.$style.containerRight960Games:this.$style.containerRightGames},playerContainerType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playerContainerType1300Games:e<=320?this.$style.playerContainerType1320Games:e<=460?this.$style.playerContainerType1460Games:this.$style.playerContainerType1Games},playerContainerClass(){const e=this.elementSize.width;return e<=300?this.$style.playerContainer300Games:e<=420?this.$style.playerContainer420Games:e<=460?this.$style.playerContainer460Games:this.$style.playerContainerGames},iconFavoritesClass(){const e=this.elementSize.width;return e<=300?this.$style.iconFavorites300:e<=420?this.$style.iconFavorites420:this.$style.iconFavorites},iconFavoritesType1Class(){const e=this.elementSize.width;return e<=300?this.$style.iconFavoritesType1300:e<=320?this.$style.iconFavoritesType1320:this.$style.iconFavoritesType1},containerLeftClass(){const e=this.elementSize.width;return e<=300?this.$style.containerLeft300Games:e<=420?this.$style.containerLeft420Games:e<=620?this.$style.containerLeft620Games:this.$style.containerLeftGames},positionContainerClass(){const e=this.elementSize.width;return e<=300?this.$style.positionContainer300:e<=620?this.$style.positionContainer620:this.$style.positionContainer},numberPositionType1Class(){return this.elementSize.width<=300?this.$style.numberPositionType1300:this.$style.numberPositionType1},numberPositionClass(){return this.elementSize.width<=300?this.$style.numberPosition300:this.$style.numberPosition},imgTeamIconClass(){return this.elementSize.width<=300?this.$style.imgTeamIcon300:this.$style.imgTeamIcon},rowwPlayerClass(){const e=this.elementSize.width;return e<=300?this.$style.rowwPlayer300GamesReports:e<=420?this.$style.rowwPlayer420GamesReports:e<=460?this.$style.rowwPlayer460GamesReports:e<=960?this.$style.rowwPlayer960GamesReports:this.$style.rowwPlayerGamesReports}},setup(){const e=s.ref("myDivRef2"),{elementSize:a}=be(e);return{myDivRef2:e,elementSize:a}},props:{typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},type:{type:Number,default:0},typeView:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},background:{type:String,default:"#172531"},height:{type:String,default:"35px"},fontColor:{type:String,default:"#F4F4F4"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"},data:{type:Object,default:()=>{}},game:{type:Object,default:()=>{}},colorArrow:{type:String,default:"#D9D9D9"},buttonTextValue:{type:String,default:"Ver videos"},iconSize:{type:String,default:"13px"},iconSizeMini:{type:String,default:"13px"},iconPosition:{type:String,default:"left"},buttonWidth:{type:String,default:"93px"},buttonWidthMini:{type:String,default:"24px"},buttonHeightMini:{type:String,default:"24px"},buttonHeight:{type:String,default:"30px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#55636e"},buttonFontSize:{type:String,default:"10px"},showPosition:{type:Boolean,default:!0}},data:()=>({expand:!1}),methods:{clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},emitEventMedia(e){this.$emit("mediadata",e)}}},Is=()=>{s.useCssVars(e=>({v4269c8ea:e.height,v5d570d92:e.background,ba37bb58:e.fontSize,v8e7d9120:e.fontColor,v63bf54f7:e.fontFamily}))},Os=gt.setup;gt.setup=Os?(e,a)=>(Is(),Os(e,a)):Is;const Do={ref:"myDivRef2",style:{"border-left":"rgba(13, 29, 41, 0.7) 1px solid","border-right":"rgba(13, 29, 41, 0.7) 1px solid"}},Mo=["src"],$o=["src"],Uo=["fill"],jo=["fill"],Jo=["src"],Ho=["fill"],qo=["fill"],Ko=["src"],Zo=["src"],Yo=["src"],Xo=["fill"],Qo=["fill"];function en(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",Do,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.rowwPlayerClass),id:"container-row-player"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftClass),id:"container-left"},[t.showPosition?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.positionContainerClass)},[s.createElementVNode("div",{class:s.normalizeClass(o.numberPositionClass)},s.toDisplayString(t.data.position),3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.playerContainerClass)},[s.createElementVNode("img",{class:s.normalizeClass(o.imgPlayerIconClass),src:t.data.player_photo},null,10,Mo),s.createElementVNode("div",{class:s.normalizeClass(o.manchesterUnitedClass)},[i.elementSize.width<=420?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createTextVNode(s.toDisplayString(t.data.player_short),1)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createTextVNode(s.toDisplayString(t.data.player_name),1)],64))],2)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightClass),id:"container-right"},[s.createElementVNode("div",{class:s.normalizeClass(o.block02Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptions)},[s.createElementVNode("div",{class:s.normalizeClass(o.containerBtnVideosClass)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgTeamIcon),alt:"",src:t.data.team_logo},null,10,$o),s.createElementVNode("div",{class:s.normalizeClass(o.numberOfVideosClass)},s.toDisplayString(t.data.total),3)],2)],2),t.arrow?(s.openBlock(),s.createElementBlock("svg",{key:0,class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[0]||(a[0]=r=>o.clickExpand(t.data.id))},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,jo)],10,Uo)):s.createCommentVNode("",!0)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(o.rowTeamClass),style:s.normalizeStyle(i.elementSize.width>540?"border-bottom: 1px solid rgba(255, 255, 255, 0.1)":""),id:"container-row-player"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftType1Class),id:"container-left"},[t.showPosition?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.positionContainertype1Class)},[s.createElementVNode("div",{class:s.normalizeClass(o.numberPositionType1Class)},s.toDisplayString(t.data.position),3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.playerContainerType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(o.manchesterUnitedType1Class)},s.toDisplayString(t.data.team_abrev),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightType1Class),id:"container-right"},[s.createElementVNode("div",{class:s.normalizeClass(o.block02Type1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptionsType1Games)},[s.createElementVNode("div",{class:s.normalizeClass(o.containerBtnVideosType1Class)},[s.createElementVNode("img",{class:s.normalizeClass(o.imgTeamIconClass),alt:"",src:t.data.team_logo},null,10,Jo),s.createElementVNode("div",{class:s.normalizeClass(o.numberOfVideosType1Class)},s.toDisplayString(t.data.total),3)],2)],2),t.arrow?(s.openBlock(),s.createElementBlock("svg",{key:0,class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[1]||(a[1]=r=>o.clickExpand(t.data.id))},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,qo)],10,Ho)):s.createCommentVNode("",!0)],2)],2)],6)):s.createCommentVNode("",!0),t.type==2?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(o.rowwPlayerClass),id:"container-row-player"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftClass),id:"container-left"},[t.showPosition?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.positionContainerClass)},[s.createElementVNode("div",{class:s.normalizeClass(o.numberPositionClass)},s.toDisplayString(t.data.position),3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.playerContainerClass)},[s.createElementVNode("img",{class:s.normalizeClass(o.imgPlayerIconClass),src:t.data.player_photo},null,10,Ko),s.createElementVNode("div",{class:s.normalizeClass(o.manchesterUnitedClass)},s.toDisplayString(t.data.player_name),3),i.elementSize.width<=420?(s.openBlock(),s.createElementBlock("img",{key:0,class:s.normalizeClass(e.$style.chivasIcon),alt:"",src:t.data.team_logo},null,10,Zo)):s.createCommentVNode("",!0)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightClass),id:"container-right"},[s.createElementVNode("div",{class:s.normalizeClass(o.block02Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptions)},[s.createElementVNode("div",{class:s.normalizeClass(o.containerBtnVideosClass)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgTeamIcon),alt:"",src:t.data.team_logo},null,10,Yo),s.createElementVNode("div",{class:s.normalizeClass(o.numberOfVideosClass)},s.toDisplayString(t.data.total),3)],2)],2),(s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[2]||(a[2]=r=>o.clickExpand(t.data.id))},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,Qo)],10,Xo))],2)],2)],2)):s.createCommentVNode("",!0)],512)}const tn=j(gt,[["render",en],["__cssModules",{$style:Wo}]]),sn={containerLeftTitles:"_containerLeftTitles_10kz4_60",containerLeftTitles420:"_containerLeftTitles420_10kz4_68",containerLeftTitles620:"_containerLeftTitles620_10kz4_76",containerLeftTitlesTeam:"_containerLeftTitlesTeam_10kz4_85",containerLeftTitlesTeam1180:"_containerLeftTitlesTeam1180_10kz4_93",containerLeftTitlesTeam1090:"_containerLeftTitlesTeam1090_10kz4_101",containerLeftTitlesTeam960:"_containerLeftTitlesTeam960_10kz4_109",containerLeftTitlesTeam860:"_containerLeftTitlesTeam860_10kz4_117",containerLeftTitlesTeam768:"_containerLeftTitlesTeam768_10kz4_125",containerLeftTitlesTeam680:"_containerLeftTitlesTeam680_10kz4_133",containerLeftTitlesTeam620:"_containerLeftTitlesTeam620_10kz4_141",containerLeftTitlesTeam420:"_containerLeftTitlesTeam420_10kz4_149",headTitlesAvanced:"_headTitlesAvanced_10kz4_158",headTitlesAvanced960:"_headTitlesAvanced960_10kz4_173",headTitlesAvanced420:"_headTitlesAvanced420_10kz4_188",headTitlesAvanced540:"_headTitlesAvanced540_10kz4_208",headTitlesAvanced460:"_headTitlesAvanced460_10kz4_223",headTitlesAvanced620:"_headTitlesAvanced620_10kz4_238",position:"_position_10kz4_253",position420:"_position420_10kz4_262",player:"_player_10kz4_265",player420:"_player420_10kz4_276",containerRightTypeAvanced1:"_containerRightTypeAvanced1_10kz4_280",containerRightTitlesAdvanced:"_containerRightTitlesAdvanced_10kz4_287",containerRightTitlesAdvanced960:"_containerRightTitlesAdvanced960_10kz4_296",block02Titles:"_block02Titles_10kz4_305",block02Titles620:"_block02Titles620_10kz4_313",mon1Scouting:"_mon1Scouting_10kz4_317",mon1Scouting960:"_mon1Scouting960_10kz4_327",mon1:"_mon1_10kz4_317",mon1420:"_mon1420_10kz4_345",mon1620:"_mon1620_10kz4_355",icnIcon:"_icnIcon_10kz4_365",icnIcon960:"_icnIcon960_10kz4_370",icnIcon420:"_icnIcon420_10kz4_376",teamTitle:"_teamTitle_10kz4_380",positionTitle:"_positionTitle_10kz4_390",ageTitle:"_ageTitle_10kz4_398",partidos:"_partidos_10kz4_406",playedGamesTitle:"_playedGamesTitle_10kz4_410",playedMinutesTitle:"_playedMinutesTitle_10kz4_420",block01Titles:"_block01Titles_10kz4_429",mon:"_mon_10kz4_317",containesOptionsTitles:"_containesOptionsTitles_10kz4_445",templateTablaProductividadType1:"_templateTablaProductividadType1_10kz4_452",templateTablaProductividadType1400:"_templateTablaProductividadType1400_10kz4_464",headTitlesType1:"_headTitlesType1_10kz4_478",headTitlesType1420:"_headTitlesType1420_10kz4_491",headTitlesType1400:"_headTitlesType1400_10kz4_507",headTitlesType1540:"_headTitlesType1540_10kz4_523",headTitlesType1460:"_headTitlesType1460_10kz4_537",headTitlesType1680:"_headTitlesType1680_10kz4_551",headTitlesType1350:"_headTitlesType1350_10kz4_564",positionType1:"_positionType1_10kz4_579",positionType1400:"_positionType1400_10kz4_588",teamType1:"_teamType1_10kz4_598",teamType1400:"_teamType1400_10kz4_607",frecuenciaType1:"_frecuenciaType1_10kz4_617",frecuenciaType1540:"_frecuenciaType1540_10kz4_625",containerLeftTitlesType1:"_containerLeftTitlesType1_10kz4_634",frecuenciaWrapperType1:"_frecuenciaWrapperType1_10kz4_642",frecuenciaWrapperType1680:"_frecuenciaWrapperType1680_10kz4_651",promedioPartidoType1:"_promedioPartidoType1_10kz4_659",promedioEstePartidoType1:"_promedioEstePartidoType1_10kz4_663",promedioEstePartidoType1960:"_promedioEstePartidoType1960_10kz4_671",promedioEstePartidoWrapperType1:"_promedioEstePartidoWrapperType1_10kz4_675",promedioEstePartidoWrapperType11200:"_promedioEstePartidoWrapperType11200_10kz4_683",promedioEstePartidoWrapperType11090:"_promedioEstePartidoWrapperType11090_10kz4_692",promedioEstePartidoWrapperType11086:"_promedioEstePartidoWrapperType11086_10kz4_702",promedioPartidosType1:"_promedioPartidosType1_10kz4_711",promedioPartidosWrapperType1:"_promedioPartidosWrapperType1_10kz4_718",promedioPartidosWrapperType1960:"_promedioPartidosWrapperType1960_10kz4_726",promedioPartidosWrapperType11086:"_promedioPartidosWrapperType11086_10kz4_729",partidosJugadosType1:"_partidosJugadosType1_10kz4_732",partidosJugadosType1960:"_partidosJugadosType1960_10kz4_738",partidosJugadosWrapperType1:"_partidosJugadosWrapperType1_10kz4_745",partidosJugadosWrapperType11200:"_partidosJugadosWrapperType11200_10kz4_753",partidosJugadosWrapperType11180:"_partidosJugadosWrapperType11180_10kz4_761",partidosJugadosWrapperType11170:"_partidosJugadosWrapperType11170_10kz4_769",partidosJugadosWrapperType11140:"_partidosJugadosWrapperType11140_10kz4_777",partidosJugadosWrapperType11086:"_partidosJugadosWrapperType11086_10kz4_785",partidosJugadosWrapperType1960:"_partidosJugadosWrapperType1960_10kz4_793",partidosJugadosWrapperType1880:"_partidosJugadosWrapperType1880_10kz4_801",partidosJugadosWrapperType1860:"_partidosJugadosWrapperType1860_10kz4_809",partidosJugadosWrapperType1830:"_partidosJugadosWrapperType1830_10kz4_817",partidosJugadosWrapperType1790:"_partidosJugadosWrapperType1790_10kz4_825",partidosJugadosWrapperType1930:"_partidosJugadosWrapperType1930_10kz4_833",partidosJugadosWrapperType1770:"_partidosJugadosWrapperType1770_10kz4_841",block01TitlesType1:"_block01TitlesType1_10kz4_844",monType1:"_monType1_10kz4_852",monType1960:"_monType1960_10kz4_861",monType1680:"_monType1680_10kz4_871",videosType1:"_videosType1_10kz4_874",videosType1680:"_videosType1680_10kz4_884",videosType1600:"_videosType1600_10kz4_893",videosType1540:"_videosType1540_10kz4_902",videosType1420:"_videosType1420_10kz4_911",videosType1400:"_videosType1400_10kz4_920",containesOptionsTitlesType1:"_containesOptionsTitlesType1_10kz4_932",containesOptionsTitlesType1768:"_containesOptionsTitlesType1768_10kz4_940",containesOptionsTitlesType1730:"_containesOptionsTitlesType1730_10kz4_947",containesOptionsTitlesType1690:"_containesOptionsTitlesType1690_10kz4_954",icnIconType1:"_icnIconType1_10kz4_961",icnIconType1420:"_icnIconType1420_10kz4_967",icnIconType1400:"_icnIconType1400_10kz4_974",block02TitlesType1:"_block02TitlesType1_10kz4_978",block02TitlesType1680:"_block02TitlesType1680_10kz4_985",block02TitlesType1350:"_block02TitlesType1350_10kz4_992",containerRightTitlesType1:"_containerRightTitlesType1_10kz4_999",containerRightTitlesType1420:"_containerRightTitlesType1420_10kz4_1008"},_t={components:{},computed:{icnIconType1Class(){const e=this.elementSize.width;return e<=400?this.$style.icnIconType1400:e<=420?this.$style.icnIconType1420:this.$style.icnIconType1},videosType1Class(){const e=this.elementSize.width;return e<=400?this.$style.videosType1400:e<=420?this.$style.videosType1420:e<=540?this.$style.videosType1540:e<=600?this.$style.videosType1600:e<=680?this.$style.videosType1680:this.$style.videosType1},monType1Class(){const e=this.elementSize.width;return e<=680?this.$style.monType1680:e<=960?this.$style.monType1960:this.$style.monType1},block02TitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.block02TitlesType1350:e<=680?this.$style.block02TitlesType1680:this.$style.block02TitlesType1},containesOptionsTitlesType1Class(){const e=this.elementSize.width;return e<=400?this.$style.containesOptionsTitlesType1400:e<=690?this.$style.containesOptionsTitlesType1690:e<=730?this.$style.containesOptionsTitlesType1730:e<=768?this.$style.containesOptionsTitlesType1768:this.$style.containesOptionsTitlesType1},partidosJugadosWrapperType1Class(){const e=this.elementSize.width;return e<=770?this.$style.promedioPartidosWrapperType1770:e<=790?this.$style.partidosJugadosWrapperType1790:e<=830?this.$style.partidosJugadosWrapperType1830:e<=860?this.$style.partidosJugadosWrapperType1860:e<=880?this.$style.partidosJugadosWrapperType1880:e<=930?this.$style.partidosJugadosWrapperType1930:e<=960?this.$style.partidosJugadosWrapperType1960:e<=1086?this.$style.partidosJugadosWrapperType11086:e<=1140?this.$style.partidosJugadosWrapperType11140:e<=1170?this.$style.partidosJugadosWrapperType11170:e<=1180?this.$style.partidosJugadosWrapperType11180:e<=1200?this.$style.partidosJugadosWrapperType11200:this.$style.partidosJugadosWrapperType1},promedioPartidosWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.promedioPartidosWrapperType1960:e<=1086?this.$style.promedioPartidosWrapperType11086:this.$style.promedioPartidosWrapperType1},partidosJugadosType1Class(){return this.elementSize.width<=960?this.$style.partidosJugadosType1960:this.$style.partidosJugadosType1},templateTablaProductividadType1Class(){return this.elementSize.width<=400?this.$style.templateTablaProductividadType1400:this.$style.templateTablaProductividadType1},promedioEstePartidoType1Class(){return this.elementSize.width<=960?this.$style.promedioEstePartidoType1960:this.$style.promedioEstePartidoType1},headTitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.headTitlesType1350:e<=400?this.$style.headTitlesType1400:e<=420?this.$style.headTitlesType1420:e<=460?this.$style.headTitlesType1460:e<=540?this.$style.headTitlesType1540:e<=680?this.$style.headTitlesType1680:this.$style.headTitlesType1},headTitlesClassAvanced(){const e=this.elementSize.width;return e<=420?this.$style.headTitlesAvanced420:e<=460?this.$style.headTitlesAvanced460:e<=540?this.$style.headTitlesAvanced540:e<=620?this.$style.headTitlesAvanced620:e<=960?this.$style.headTitlesAvanced960:this.$style.headTitlesAvanced},containerLeftTitlesClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitles420:e<=620?this.$style.containerLeftTitles620:this.$style.containerLeftTitles},containerLeftTitlesClassTeam(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitlesTeam420:e<=620?this.$style.containerLeftTitlesTeam620:e<=680?this.$style.containerLeftTitlesTeam680:e<=768?this.$style.containerLeftTitlesTeam768:e<=860?this.$style.containerLeftTitlesTeam860:e<=960?this.$style.containerLeftTitlesTeam960:e<=1090?this.$style.containerLeftTitlesTeam1090:e<=1180?this.$style.containerLeftTitlesTeam1180:this.$style.containerLeftTitlesTeam},icnIconClass(){const e=this.elementSize.width;return e<=420?this.$style.icnIcon420:e<=960?this.$style.icnIcon960:this.$style.icnIcon},mon1Class(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=620?this.$style.mon1620:this.$style.mon1},mon1ScoutingClass(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=960?this.$style.mon1Scouting960:this.$style.mon1Scouting},promedioEstePartidoWrapperType1Class(){const e=this.elementSize.width;return e<=1086?this.$style.promedioEstePartidoWrapperType11086:e<=1090?this.$style.promedioEstePartidoWrapperType11090:e<=1200?this.$style.promedioEstePartidoWrapperType11200:this.$style.promedioEstePartidoWrapperType1},frecuenciaWrapperType1Class(){return this.elementSize.width<=680?this.$style.frecuenciaWrapperType1680:this.$style.frecuenciaWrapperType1},frecuenciaType1Class(){return this.elementSize.width<=540?this.$style.frecuenciaType1540:this.$style.frecuenciaType1},positionType1Class(){return this.elementSize.width<=400?this.$style.positionType1400:this.$style.positionType1},containerRightType1ClassAvanced(){return this.elementSize.width<=420?this.$style.containerRightTypeAvanced1420:this.$style.containerRightTypeAvanced1},containerRightTitlesType1Class(){return this.elementSize.width<=420?this.$style.containerRightTitlesType1420:this.$style.containerRightTitlesType1},teamType1Class(){return this.elementSize.width<=400?this.$style.teamType1400:this.$style.teamType1},playerClass(){return this.elementSize.width<=420?this.$style.player420:this.$style.player},positionClass(){return this.elementSize.width<=420?this.$style.position420:this.$style.position},containerRightTitlesClassAdvanced(){return this.elementSize.width<=960?this.$style.containerRightTitlesAdvanced960:this.$style.containerRightTitlesAdvanced},block02TitlesClass(){return this.elementSize.width<=620?this.$style.block02Titles960:this.$style.block02Titles}},setup(){const e=s.ref("myDivRef"),{elementSize:a}=be(e);return{myDivRef:e,elementSize:a}},props:{type:{type:Number,default:0},background:{type:String,default:"#172531"},height:{type:String,default:"71px"},heightTeam:{type:String,default:"65px"},fontColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"}},watch:{},data:()=>({}),async created(){},methods:{}},Gs=()=>{s.useCssVars(e=>({v833b0df6:e.background,v1c64387e:e.height,v42ac62f2:e.fontSize,v149ddcc6:e.fontColor,v766a7f2c:e.fontFamily,v669f7ffb:e.heightTeam}))},Ls=_t.setup;_t.setup=Ls?(e,a)=>(Gs(),Ls(e,a)):Gs;const an={ref:"myDivRef"};function on(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",an,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.headTitlesClassAvanced),id:"container-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftTitlesClass),id:"container-left-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.positionClass)},"Pos.",2),s.createElementVNode("div",{class:s.normalizeClass(o.playerClass)},"Jugador",2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightTitlesClassAdvanced),id:"container-right-titles"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.teamTitle)},"Equipo",2)):s.createCommentVNode("",!0),i.elementSize.width>730?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.positionTitle)},"Posición",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.$style.ageTitle)},"edad",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:3,class:s.normalizeClass(e.$style.ageTitle)},"País",2)):s.createCommentVNode("",!0),i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:4,class:s.normalizeClass(e.$style.playedGamesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Partidos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0),i.elementSize.width>635?(s.openBlock(),s.createElementBlock("div",{key:5,class:s.normalizeClass(e.$style.playedMinutesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Minutos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(o.block02TitlesClass)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptionsTitles)},[i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.mon)},"Total",2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.mon1Class)},"Videos",2)],2)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(o.templateTablaProductividadType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(o.headTitlesType1Class),id:"container-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftTitlesClassTeam),id:"container-left-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.positionType1Class)},"Pos.",2),s.createElementVNode("div",{class:s.normalizeClass(o.teamType1Class)},"Equipo",2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightType1ClassAvanced)},[s.createElementVNode("div",{class:s.normalizeClass(o.frecuenciaWrapperType1Class)},[i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.frecuenciaType1Class)},"Frecuencia",2)):s.createCommentVNode("",!0)],2),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.promedioEstePartidoWrapperType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(o.promedioEstePartidoType1Class)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},"Promedio partido",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},"este Torneo",2)],2)],2)):s.createCommentVNode("",!0),i.elementSize.width>1086?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(o.promedioPartidosWrapperType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.promedioPartidosType1)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},[...a[0]||(a[0]=[s.createTextVNode("Promedio partido",-1),s.createElementVNode("br",null,null,-1),s.createTextVNode("Torneo anterior",-1)])],2)],2)],2)):s.createCommentVNode("",!0),i.elementSize.width>770?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(o.partidosJugadosWrapperType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.partidosJugadosType1)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},[...a[1]||(a[1]=[s.createTextVNode("Partidos ",-1),s.createElementVNode("br",null,null,-1),s.createTextVNode("Jugados",-1)])],2)],2)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containesOptionsTitlesType1Class)},[i.elementSize.width>680?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.monType1Class)},"total",2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.videosType1Class)},"Videos",2)],2)],2)],2)):s.createCommentVNode("",!0),t.type==2?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(o.headTitlesClassAvanced),id:"container-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftTitlesClass),id:"container-left-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.positionClass)},"Pos.",2),s.createElementVNode("div",{class:s.normalizeClass(o.playerClass)},"Jugador",2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightTitlesClassAdvanced),id:"container-right-titles"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.teamTitle)},"Equipo",2)):s.createCommentVNode("",!0),i.elementSize.width>730?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.positionTitle)},"Posición",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.$style.ageTitle)},"edad",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:3,class:s.normalizeClass(e.$style.ageTitle)},"País",2)):s.createCommentVNode("",!0),i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:4,class:s.normalizeClass(e.$style.playedGamesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Partidos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0),i.elementSize.width>635?(s.openBlock(),s.createElementBlock("div",{key:5,class:s.normalizeClass(e.$style.playedMinutesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Minutos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0),i.elementSize.width>635?(s.openBlock(),s.createElementBlock("div",{key:6,class:s.normalizeClass(e.$style.playedMinutesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Liga",2)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(o.block02TitlesClass)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptionsTitles)},[s.createElementVNode("div",{class:s.normalizeClass(o.mon1ScoutingClass)},"Videos",2)],2)],2)],2)],2)):s.createCommentVNode("",!0)],512)}const nn=j(_t,[["render",on],["__cssModules",{$style:sn}]]),rn=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},bt={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},vs=()=>{s.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Ws=bt.setup;bt.setup=Ws?(e,a)=>(vs(),Ws(e,a)):vs;const ln=e=>(s.pushScopeId("data-v-f3ee6b2b"),e=e(),s.popScopeId(),e),cn=["src"],dn={key:1,class:"text"},mn=["src"],pn={class:"stats"},fn=ln(()=>s.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),un={class:"numstats"},hn={class:"leyend"};function yn(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",n.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([o.customStyle,n.status&&t.typeOnOff&&o.customActive]),onClick:a[0]||(a[0]=(...r)=>o.btnClick&&o.btnClick(...r))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,cn)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",dn,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,mn)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>o.btnClick&&o.btnClick(...r))},[s.createElementVNode("div",pn,[fn,s.createElementVNode("div",un,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",hn,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const gn=rn(bt,[["render",yn],["__scopeId","data-v-f3ee6b2b"]]),_n={equipoGames:"_equipoGames_19uzf_38",atlasSeleccinGames:"_atlasSeleccinGames_19uzf_43",equipoAtlasSeleccinMexiGames:"_equipoAtlasSeleccinMexiGames_19uzf_47",aosGames:"_aosGames_19uzf_51",span12:"_span12_19uzf_55",nacionalidadMex:"_nacionalidadMex_19uzf_58",manchesterUnited:"_manchesterUnited_19uzf_61",manchesterUnited12:"_manchesterUnited12_19uzf_68",containerInfoGames:"_containerInfoGames_19uzf_78",verPerfil12:"_verPerfil12_19uzf_87",btnProfile:"_btnProfile_19uzf_96",containerButton:"_containerButton_19uzf_112",dataContainer:"_dataContainer_19uzf_119",expandedInfoPlayerGames:"_expandedInfoPlayerGames_19uzf_129",containerDataBg:"_containerDataBg_19uzf_219",containerDataSm:"_containerDataSm_19uzf_230",span:"_span_19uzf_55",manchesterUnited14:"_manchesterUnited14_19uzf_241",filter:"_filter_19uzf_246",verPerfil:"_verPerfil_19uzf_87",manchesterUnited8:"_manchesterUnited8_19uzf_267",manchesterUnitedParent1:"_manchesterUnitedParent1_19uzf_273",manchesterUnited1:"_manchesterUnited1_19uzf_68",manchesterUnitedParent:"_manchesterUnitedParent_19uzf_273",frameDiv:"_frameDiv_19uzf_295",infoExpanded:"_infoExpanded_19uzf_303",countryFlag:"_countryFlag_19uzf_456"},Tt={components:{GSCButton:gn},props:{isLive:{type:Boolean,default:!1},background:{type:String,default:"#172531"},type:{type:Number,default:1},viewButton:{type:Boolean,default:!0},viewTeam:{type:Boolean,default:!0},viewAge:{type:Boolean,default:!0},viewNationality:{type:Boolean,default:!0},viewPosition:{type:Boolean,default:!0},viewGames:{type:Boolean,default:!0},viewMin:{type:Boolean,default:!0},viewGoals:{type:Boolean,default:!0},viewEffectiveness:{type:Boolean,default:!0},height:{type:String,default:"134px"},fontColor:{type:String,default:"#ffffffb3"},fontColorValue:{type:String,default:"#ffffff"},fontFamily:{type:String,default:"Poppins-Regular"},fontSize:{type:String,default:"10px"},additionalClass:{type:String,default:""},data:{type:Object,default:()=>{}}},setup(){const e=s.ref("myDivRef"),{elementSize:a}=be(e);return{myDivRef:e,elementSize:a}},data(){return{}},computed:{},methods:{viewProfile(e){this.$emit("viewprofile",e)}}},Ds=()=>{s.useCssVars(e=>({b76aa8fe:e.fontFamily,dce830b4:e.fontColor,v060add2a:e.fontColorValue,v3e87935e:e.fontSize,c43b37c8:e.background}))},Ms=Tt.setup;Tt.setup=Ms?(e,a)=>(Ds(),Ms(e,a)):Ds;const bn={ref:"myDivRef"},Tn=["src"];function Sn(e,a,t,i,n,o){const r=s.resolveComponent("GSCButton");return s.openBlock(),s.createElementBlock("div",bn,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.expandedInfoPlayerGames)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.dataContainer),id:"data-container"},[s.createElementVNode("div",{class:s.normalizeClass([e.$style.containerInfoGames,t.additionalClass]),id:"container-info"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited)},[t.viewTeam?(s.openBlock(),s.createElementBlock("p",{key:0,class:s.normalizeClass(e.$style.equipoAtlasSeleccinMexiGames)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.equipoGames)},"Equipo: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.atlasSeleccinGames)},s.toDisplayString(t.data.teams),3)],2)):s.createCommentVNode("",!0),t.viewAge?(s.openBlock(),s.createElementBlock("p",{key:1,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.equipoGames)},"Edad: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.age)+" años",3),s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)}," ("+s.toDisplayString(t.data.dataofbirth)+")",3)],2)):s.createCommentVNode("",!0),t.viewNationality?(s.openBlock(),s.createElementBlock("p",{key:2,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Nacionalidad: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},[s.createTextVNode(s.toDisplayString(t.data.nationality.substring(0,3).toUpperCase())+" ",1),s.createElementVNode("div",{class:s.normalizeClass(e.$style.countryFlag)},[s.createElementVNode("img",{src:t.data.countryFlag},null,8,Tn)],2)],2)],2)):s.createCommentVNode("",!0),t.viewPosition?(s.openBlock(),s.createElementBlock("p",{key:3,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Posición: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.position),3)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited12)},[t.viewGames&&!t.isLive?(s.openBlock(),s.createElementBlock("p",{key:0,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"partidos Jugados: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.games),3)],2)):s.createCommentVNode("",!0),t.viewMin&&!t.isLive?(s.openBlock(),s.createElementBlock("p",{key:1,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Minutos Jugados: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.min),3)],2)):s.createCommentVNode("",!0),t.viewGoals?(s.openBlock(),s.createElementBlock("p",{key:2,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},s.toDisplayString(t.data.category)+": ",3),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.goals),3)],2)):s.createCommentVNode("",!0),t.viewEffectiveness?(s.openBlock(),s.createElementBlock("p",{key:3,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Efectividad de pases: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.effectiveness.toFixed(0))+"%",3)],2)):s.createCommentVNode("",!0)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerButton),id:"btn-container"},[t.viewButton?(s.openBlock(),s.createBlock(r,{key:0,style:s.normalizeStyle(t.additionalClass!=""&&i.elementSize.width>540?"margin-right: 50px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:a[0]||(a[0]=c=>o.viewProfile(t.data.id))},null,8,["style"])):s.createCommentVNode("",!0)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.infoExpanded)},[s.createElementVNode("div",{class:s.normalizeClass([e.$style.containerDataBg,t.additionalClass])},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[2]||(a[2]=s.createElementVNode("span",null,"Posición en la tabla: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.position),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[3]||(a[3]=s.createElementVNode("span",null,"Goles anotados: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[4]||(a[4]=s.createElementVNode("span",null,"Goles recibidos: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals_received),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[5]||(a[5]=s.createElementVNode("span",null,"Partidos jugados:",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.games_played),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent)},[t.viewEffectiveness?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.manchesterUnited1)},[a[6]||(a[6]=s.createElementVNode("span",null,"Efectividad de pases: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.effectiveness.toFixed(0))+"%",3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[7]||(a[7]=s.createElementVNode("span",null,"xG: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.xg),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[s.createElementVNode("span",null,s.toDisplayString(t.data.category)+": ",1),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.total),3)],2),t.viewEffectiveness?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.manchesterUnited8)},[a[8]||(a[8]=s.createElementVNode("span",null,"Efectividad de pases: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.effectiveness)+"%",3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited8)},[a[9]||(a[9]=s.createElementVNode("span",null,"xG: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.xg),3)],2)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerDataSm)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.frameDiv)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[10]||(a[10]=s.createElementVNode("span",null,"Posición en la tabla: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.position),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[11]||(a[11]=s.createElementVNode("span",null,"Goles anotados: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[12]||(a[12]=s.createElementVNode("span",null,"Goles recibidos: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals_received),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[13]||(a[13]=s.createElementVNode("span",null,"Partidos jugados: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.games_played),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent1)},[t.viewEffectiveness?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.manchesterUnited14)},[a[14]||(a[14]=s.createElementVNode("span",null,"Efectividad de pases: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.effectiveness.toFixed(0))+"%",3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[15]||(a[15]=s.createElementVNode("span",null,"xG: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.xg),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[s.createElementVNode("span",null,s.toDisplayString(t.data.category)+": ",1),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.total),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited8)},[s.createElementVNode("span",null,s.toDisplayString(t.data.category)+": ",1),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.total),3)],2)],2)],2),t.viewButton?(s.openBlock(),s.createBlock(r,{key:0,style:s.normalizeStyle(t.additionalClass!=""&&i.elementSize.width>540?"margin-right: 42px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:a[1]||(a[1]=c=>o.viewProfile(t.data.id))},null,8,["style"])):s.createCommentVNode("",!0)],2)):s.createCommentVNode("",!0)],512)}const wn=j(Tt,[["render",Sn],["__cssModules",{$style:_n}],["__scopeId","data-v-0bb9c2ff"]]),$s={3:"Albanesa",4:"Argelina",6:"Andorrano",7:"Angoleña",8:"Anguillan",9:"Antiguan",10:"Argentina",11:"Armenia",12:"Arubeño",13:"Austríaca",14:"Austríaca",15:"Azerbaiyano",16:"Bahamas",17:"Bareini",18:"Bangladesí",19:"Barbadense",20:"Bielorrusa",21:"Belga",22:"Beliceña",23:"Beninesa",24:"Bermudeña",25:"Butanés",26:"Boliviana",27:"Bosnia",28:"Botsuano",29:"Brasileña",30:"Islas Vírgenes Británicas",31:"Bruneano",32:"Búlgara",33:"Burundés",34:"Burmesa",35:"Burundés",36:"Camboyana",37:"Camerunés",38:"Canadiense",39:"Caboverdiano",40:"Caimanés",41:"Centroafricana",42:"Chadiano",43:"Chilena",44:"China",45:"Isla de Navidad",46:"Cocos Island",47:"Colombiana",48:"Comorense",49:"Congoleña",50:"Cookiano",51:"Costarricense",52:"Marfileña",53:"Croata",54:"Cubana",55:"Chipriota",56:"Checa",57:"Danesa",58:"Djibouti",60:"Dominicana",61:"Timorense",62:"Ecuatoriana",63:"Egipcia",64:"Salvadoreña",65:"Inglesa",66:"Ecuatoguineano",67:"Eritreo",68:"Estoniana",69:"Etíope",70:"Islas Malvinas",71:"Feroés",72:"Fiyiano",73:"Finlandesa",74:"Francesa",75:"Guayana Francesa",76:"Francopolinecio",77:"Gabonesa",78:"Gambiana",79:"Georgiano",80:"Alemana",81:"Ghanesa",82:"Gibraltareño",221:"Británico",84:"Griega",85:"Groenlandés",86:"Granadino",87:"Guadeloupeño",89:"Guatemalteca",90:"Guineana",91:"Guyanés",92:"Haitiana",93:"Hondureña",94:"Hongkongese",95:"Húngaro",96:"Islandesa",97:"Indio",98:"Indonesia",99:"Iraní",100:"Iraquí",101:"Irlandesa",102:"Manés",103:"Israelí",104:"Italiana",105:"Jamaiquina",106:"Japonesa",107:"Jordana",108:"Kazaja",109:"Keniana",110:"Kiribatiano",111:"Coreana",112:"Surcoreana",113:"Kosovan",114:"Kuwaití",115:"Kirguisa",116:"Laosiano",117:"Letona",118:"Libanesa",119:"Basotho",120:"Liberiana",121:"Libia",122:"Liechtenstein",123:"Lituano",124:"Luxemburguesa",125:"Macaneso",126:"Macedonia",127:"Malgache",128:"Malaya",129:"Malaya",130:"Maldivo",131:"Mali",132:"Maltesa",133:"Marshallese",134:"Martiniqueña",135:"Mauritania",136:"Mauriciano",137:"Mahoran",138:"Mexicana",139:"Micronesio",140:"Moldava",141:"Monacan",142:"Mongol",143:"Montenegrina",144:"Montserratiano",145:"Marroqui",146:"Mozambiqueña",147:"Namibio",148:"Nauruan",149:"Nepalí",150:"Holandesa",151:"Neocaledonio",152:"Neozelandesa",153:"Nicaragüense",154:"Niueño",155:"Nigerina",156:"Nigeriana",157:"Noruega",158:"Normariano",159:"Omaní",160:"Palestina",161:"Palestina",162:"Palauan",163:"Panameña",164:"Papú",165:"Paraguaya",166:"Peruana",167:"Filipina",168:"Pitcairnés",169:"Polaca",170:"Portuguesa",171:"Puertorriqueña",172:"Catari",173:"Reunionés",174:"Rumana",175:"Rusa",176:"Ruandés",177:"Santa Elena",178:"Sancristobaleña",179:"Santa Lucía",180:"Miquelonnais",181:"Sanvicentina",182:"Samoano",183:"Sanmariense",184:"Santotomense",185:"Saudí",186:"Escocesa",187:"Senegalense",188:"Serbia",189:"Seychellense",190:"Sierraleonesa",191:"Singapurense",192:"Eslovena",193:"Eslovena",194:"Salomonense",195:"Somalí",196:"Sudafricana",197:"Surosetio",198:"Española",199:"Esrilanques",200:"Sudanés",201:"Surinamés",202:"Swazi",203:"Sueca",204:"Suiza",205:"Sirio",206:"Taiwanesa",207:"Tayiko",208:"Tanzano",209:"Tailandesa",210:"Togo",211:"Tongano",212:"Trinitaria",213:"Tunecina",214:"Turca",215:"Turkmena",216:"none",217:"Tuvaluano",218:"Ugandesa",219:"Ucraniana",220:"Emiratí",222:"Americana",223:"Uruguaya",224:"Uzbeka",225:"Vanuatuense",226:"Venezolana",227:"Vietnamita",228:"Islas Vírgenes",229:"Galesa",230:"Walisiano",231:"Saharaui",232:"Yemení",233:"Zambiana",234:"Zimbabuense",236:"Curazaleña",237:"San Martín",239:"Debutante"},St={components:{GSCLeaders:vo,GSCRowTable:tn,GSCTableHeader:nn,GSCExpandedInfo:wn},props:{isTeam:{type:Boolean,default:!1},typeTable:{type:Number,default:0},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},typeData:{type:Number,default:0},gameId:{type:Number,default:0},filtersProp:{type:[Object,String],default:()=>{}},game:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},filterTeam:{type:Number,default:0},timeLiveComparativeAvanced:{type:Number,default:6e4},category:{type:Number,default:1},categoryName:{type:String,default:"Goles"},seasonSelected:{type:Object,default:()=>({})},season:{type:Number,default:1772},type:{type:Number,default:0},borderRadius:{type:String,default:"8px"},borderWidth:{type:[String,Number],default:"2px"},borderColor:{type:String,default:"#cfcfcf"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},numRows:{type:Number,default:5},dummyData:{type:Array,default:null},showPosition:{type:Boolean,default:!0},provider:{type:Number,default:1},isDevApis:{type:Boolean,default:!1}},setup(){const e=s.ref("myDivRef"),{elementSize:a}=be(e);return{myDivRef:e,elementSize:a}},watch:{game:{immediate:!0,deep:!0,async handler(e){e&&(this.playersInfo={},this.teamInfo={},this.isloading=!0,this.formatFilterStats=[],await this.getCategoryStats(this.season),this.game.is_live&&(this.createIntervalTops(),this.$emit("intervalidtops",this.intervalIdtops)))}},typeData:{immediate:!0,async handler(e){await this.getCategoryStats(this.season),e===1&&this.game.is_live?(this.createIntervalTops(),this.$emit("intervalidtops",this.intervalIdtops)):clearInterval(this.intervalIdtops)}},filtersProp:{immediate:!1,deep:!0,async handler(e,a){e&&(JSON.stringify(e)!==JSON.stringify(a)||this.sonConjuntosDistintos(e.setNationalitiesIds,a.setNationalitiesIds))&&(this.isloading=!0,this.filterEmitAux=e,[1,23,3,4,5,7,6,9,8,11,10,12,13,15,14,17,16,22].includes(this.category)?this.filterEmitAux.typeZone=1:this.filterEmitAux.typeZone=2,this.formatFilterStats=await this.filterRecords(this.filterEmitAux))}}},computed:{topData(){if(this.dummyData)return[this.dummyData];if(this.changeStateLoading(!0),Object.entries(this.statsData).length>0&&this.formatFilterStats.length>0){var e={},a={},t=[],i=[],n=[];return this.formatFilterStats.map(o=>{e[o.team_id]?e[o.team_id].total=e[o.team_id].total+o.total:(e[o.team_id]={},e[o.team_id].total=o.total,e[o.team_id].id=this.teamInfo[o.team_id].id,e[o.team_id].name=this.teamInfo[o.team_id].name.replace(" Femenil",""),e[o.team_id].img="https://golstatsimages.blob.core.windows.net/teams-80/"+o.team_id+".png",e[o.team_id].effectiveness=this.teamInfo[o.team_id].effectiveness,e[o.team_id].frecuency=this.teamInfo[o.team_id].frecuency,e[o.team_id].game_avg=this.teamInfo[o.team_id].game_avg,e[o.team_id].game_avg_last_season=this.teamInfo[o.team_id].game_avg_last_season,e[o.team_id].games_played_lastseason=this.teamInfo[o.team_id].games_played_lastseason,e[o.team_id].games_played=this.teamInfo[o.team_id].games_played,e[o.team_id].positiontable=this.teamInfo[o.team_id].positiontable,e[o.team_id].goals=this.teamInfo[o.team_id].goals,e[o.team_id].goalsrecived=this.teamInfo[o.team_id].goalsrecived,e[o.team_id].xg=this.teamInfo[o.team_id].xg),a[o.player_id]?o.player_id!=0&&o.player_id!=62117&&(a[o.player_id].total=a[o.player_id].total+o.total):o.player_id!=0&&o.player_id!=62117&&(a[o.player_id]={},a[o.player_id].total=o.total,o.player_id&&this.playersInfo[o.player_id]?(a[o.player_id].name=this.playersInfo[o.player_id].name,a[o.player_id].name_short=this.getnameshort(this.playersInfo[o.player_id].name),a[o.player_id].img=this.playersInfo[o.player_id].img,a[o.player_id].id=this.playersInfo[o.player_id].id,a[o.player_id].age=this.playersInfo[o.player_id].age,a[o.player_id].team=this.playersInfo[o.player_id].team,a[o.player_id].teamname=this.playersInfo[o.player_id].teamname,a[o.player_id].teamid=this.playersInfo[o.player_id].teamid,a[o.player_id].position=this.playersInfo[o.player_id].position,a[o.player_id].positionId=this.playersInfo[o.player_id].positionId,a[o.player_id].positionfull=this.playersInfo[o.player_id].positionfull,a[o.player_id].country=this.playersInfo[o.player_id].country,a[o.player_id].effectiveness=this.playersInfo[o.player_id].effectiveness,a[o.player_id].minutes=this.playersInfo[o.player_id].minutes_played,a[o.player_id].games=this.playersInfo[o.player_id].games_played,a[o.player_id].date=this.playersInfo[o.player_id].date,a[o.player_id].nationality=this.playersInfo[o.player_id].nationality,a[o.player_id].player_country_flag=this.playersInfo[o.player_id].player_country_flag,a[o.player_id].categoryName=this.categoryName):(a[o.player_id].id=o.player_id,a[o.player_id].name=o.player_id,a[o.player_id].img="SIN IMAGEN",a[o.player_id].age="",a[o.player_id].teamname="",a[o.player_id].team="",a[o.player_id].teamid=0,a[o.player_id].position="",a[o.player_id].positionId=0,a[o.player_id].positionfull="",a[o.player_id].country="",a[o.player_id].effectiveness="",a[o.player_id].minutes="",a[o.player_id].games="",a[o.player_id].date="00-00-0000",a[o.player_id].nationality="",a[o.player_id].player_country_flag="",a[o.player_id].categoryName=""))}),t.push(...Object.values(e)),i.push(...Object.values(a)),t=this.sortAndSlice(Object.values(e),60),i=i.sort(this.compareObjectsMinutes).slice(0,60),i=i.map((o,r)=>(o.top=r<9?"0"+(r+1):""+(r+1),o)),t=t.map((o,r)=>(o.top=r<9?"0"+(r+1):""+(r+1),o)),this.filterTeam!==0&&!this.isTeam&&(n=i.filter(o=>o.teamid===this.filterTeam)),this.changeStateLoading(!1),this.isTeam?this.formatArrayPaginate(t):this.filterTeam!=0?this.formatArrayPaginate(n):this.formatArrayPaginate(i)}else return this.changeStateLoading(!1),[]}},data:()=>({url:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/live/tops",urlPrematch:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/topsBySeasonAndCategory/",data_headers:["team_id","player_id","playing_as","match_result","section","total","origen","destino"],token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",mapPlayers:new Map,setNationalityIds:new Set,arrayAgeRange:[0,0],arePlaysEmpty:!1,teamInfo:{},formatFilterStats:[],formatStats:[],playersInfo:{},isloading:!0,statsData:{},updateSlider:0,intervalIdtops:null,filterEmitAux:{},filtersSelect:{playingAs:[],matchResult:[],sections:[],zone:[],typeZone:[]},filtersValues:{type:1,sections:[1,2,3,4,5,6],matchResult:[1,2,3],playingAs:[1,2],zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],typeZone:1,arrayAgeRange:[1,60],setNationalitiesIds:[],setPositionsIds:[1,2,3,4,5,6,7,8,9]},expand:!1,playerexpand:0,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],categories:[{id:1,name:"Goles"}]}),methods:{getButtonFontSize(){return this.elementSize.width>500?"14px":this.elementSize.width>400?"13px":this.elementSize.width>300?"12px":this.elementSize.width>200?"11px":"10px"},changeStateLoading(e){this.isloading=e},compareObjectsMinutes(e,a){return e.total>a.total?-1:e.total<a.total?1:e.minutes<a.minutes?-1:e.minutes>a.minutes?1:0},sonConjuntosDistintos(e,a){const t=Array.from(e),i=Array.from(a);if(t.length!==i.length)return!0;for(let n=0;n<t.length;n++)if(!a.has(t[n]))return!0;return!1},getnameshort(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),n="";t.length==2||t.length==1?t[0].length<4?n=t[0]+" "+t[1]:n=t[0]:t.length==3?n=t[0]+" "+t[1]:t.length==4&&(n=t[1]+" "+t[2]+" "+t[3]);var o=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return n=n.replace(",",""),o+". "+n},changeCarrousel(){this.expand=!1,this.playerexpand=0},compareObjects(e,a){return e.total<a.total?-1:e.total>a.total?1:e.name<a.name?-1:e.name>a.name?1:0},sortAndSlice(e,a){return e.sort((t,i)=>(t.name<i.name?1:-1)&&(t.total<i.total?1:-1)).slice(0,a)},getCategoryName(e){let a="";for(let t=0;t<this.categories.length;t++)e==this.categories[t].id&&(a=this.categories[t].name);return a},translateTopCategories(e){return{1:[12,55,"35_r","54_r"],2:[2,20],3:[485,486,487,488],4:[10,324],5:[27,323],6:[510],7:[537,540,544,547],8:[328],9:[231,238,280,287,294,406],10:[13,25],11:[98,101,104,105,109,112,115,116],12:[4],13:[88],14:[5],15:[34],16:[23],17:[11],18:[17,50],19:[18,49],20:[14,52],21:[15,53],22:[39],23:[31,32]}[e]||[]},getCoordinatePointPerCategory(e){return{1:2,2:3,3:1,4:2,5:1,6:2,7:2,8:1,9:1,10:2,11:2,12:1,13:1,14:1,15:1,16:1,17:1,18:3,19:3,20:3,21:3,22:1,23:1}[e]||0},emitEventMedia(e,a,t){let i=this.filtersValues.matchResult,n=this.filtersValues.playingAs,o=this.filtersValues.sections,r=this.filtersValues.zone;this.translateTopCategories(a),Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,n=this.filterEmitAux.playingAs,o=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const c=1,l=this.isTeam?3:2,m=e.player_id;let u=[],_=this.isTeam?e.id:this.filterTeam;m?this.isTeam?_=m:u=[m]:this.isTeam?_=e.id:u=[e.id];const f={auxwidget:!!(this.canPlayVideos||this.game.awayTeam.team_id==this.teamWidget&&this.typeData!=1),seasonId:this.game.is_live==1?this.season:this.game.regularSeasonId,isFeaturedPlayers:!1,mainSectionType:c,playListType:l,gameIds:null,playerIds:u,goalkeeperIds:[],categoryIds:this.translateTopCategories(a),teamId:_||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:t,playingAs:n,timeSections:o,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",f)},emitEventMediaFullTable(e,a,t){let i=this.filtersValues.matchResult,n=this.filtersValues.playingAs,o=this.filtersValues.sections,r=this.filtersValues.zone,c=this.translateTopCategories(a);Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,n=this.filterEmitAux.playingAs,o=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const p=1,m=this.isTeam?3:2;let u=[],_=this.isTeam?e.id:this.filterTeam;this.isTeam?_=e.id:u=[e.id];const f={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:p,playListType:m,gameIds:null,playerIds:u,goalkeeperIds:[],categoryIds:c,teamId:_||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:t,playingAs:n,timeSections:o,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",f)},replaceImgPlayer(e){return e.replace("https://golstatsimages.blob.core.windows.net/players-profile/","https://golstatsimages.blob.core.windows.net/players-profile-no-bg/")},abrevName(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),n="";t.length==2||t.length==1?t[0].length<4?n=t[0]+" "+t[1]:n=t[0]:t.length==3?n=t[0]+" "+t[1]:t.length==4&&(n=t[1]+" "+t[2]+" "+t[3]);var o=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";n=n.replace(",","");var r=o+". "+n;return r},clickMore(e){this.$emit("more",{category:e,categoryName:this.categoryName})},morestats(){this.$emit("more",this.category)},viewprofile(e,a){this.$emit("clickprofile",{id:e,teamId:a,isTeam:this.isTeam})},clickexpand(e){this.expand=e.expand,this.playerexpand=e.id},async getCategoryStats(e){var a,t;this.mapPlayers=new Map;try{if(!e)return;let i=[],n={},o={},r=this.season;(t=(a=this.seasonSelected)==null?void 0:a.related_seasons)!=null&&t.some(d=>d.id===this.season)&&(r=this.seasonSelected.id),this.arePlaysEmpty=!1;const c=E.create({headers:{Authorization:`${this.token}`}});this.isloading=!0;let p={};if(this.typeData===0?p=await c.get(ee(this.url,this.provider,this.isDevApis)+"/"+this.gameId+"/"+this.category):p=await c.get(ee(this.urlPrematch,this.provider,this.isDevApis)+r+"/"+this.category+"?t="+this.game.home_team+"&t="+this.game.visiting_team),p&&p.data&&p.data.data&&p.data.data.length>0){i=p.data.data.map(l=>this.formatStatsData(l)),p.data.teams.forEach(l=>{n[l[0]]={},n[l[0]].id=l[0],n[l[0]].name=l[1],n[l[0]].abrv=l[2],n[l[0]].img=l[3],n[l[0]].effectiveness=l[4],n[l[0]].games_played=l[5],n[l[0]].games_played_lastseason=l[6],n[l[0]].positiontable=l[7],n[l[0]].goals=l[8],n[l[0]].goalsrecived=l[9],n[l[0]].xg=l[10],n[l[0]].frecuency=l[11],n[l[0]].game_avg=l[12],n[l[0]].game_avg_last_season=l[13]});const d=new Set;p.data.players.forEach(l=>{const m=this.getObjectPlayer(l);this.mapPlayers.set(m.numberId,m);const u=m.numberAge,_=m.teamName.length>0?m.teamName[0].acronym:"",f=m.teamName.length>0?n[m.teamName[0].team_id].name:"",g=m.teamName.length>0?m.teamName[0].team_id:"",b=this.positions[m.numberPositionId-1].fullname,S=this.positions[m.numberPositionId-1].name,T=m.countryId.length>0?m.countryId[0].nationality_id:"",k=m.effectiveness,N=m.min,P=m.games,B=m.date;m.arrayNationalities.forEach(x=>{d.add(x.numberId)}),o[l[0]]={id:l[0],name:l[1],img:l[2],age:u,team:_,teamname:f,teamid:g,position:b,positionfull:S,effectiveness:k,country:T,games_played:P,minutes_played:N,date:B,nationality:m.stringNationalityName,player_country_flag:m.player_country_flag,positionId:m.numberPositionId}}),this.setNationalityIds=d,this.arrayAgeRange=[p.data.min_age,p.data.max_age]}else this.arePlaysEmpty=!0;this.teamInfo=n,this.playersInfo=o,this.formatStats=i,this.formatFilterStats=this.filterRecords(this.filtersSelect),this.statsData=p}catch(i){return Promise.reject(i)}},filterRecords(e){return this.formatStats.length>0?this.formatStats.filter(a=>{const t=e.playingAs.includes(a.playing_as),i=e.matchResult.includes(a.match_result),n=e.sections.includes(a.section),o=e.typeZone===1&&e.zone.includes(a.origen)||e.typeZone===2&&e.zone.includes(a.destino);if(e.setPositionsIds&&e.setNationalitiesIds&&e.arrayAgeRange&&e.setYear&&!this.isTeam){const r=this.mapPlayers.get(a.player_id);if(!r)return!1;if(e.booleanAreNationalTeamsVisible){if(e.setAvailableNationalTeamsPlayersIds.size>0&&!e.setAvailableNationalTeamsPlayersIds.has(a.player_id))return!1}else{let c=!1;for(const p of r.arrayNationalitiesIds)if(e.setNationalitiesIds.has(p)){c=!0;break}if(!c)return!1}if(r.numberAge<e.arrayAgeRange[0]||r.numberAge>e.arrayAgeRange[1]||r.date<e.setYear||!e.setPositionsIds.includes(r.numberPositionId))return!1}return(e.playingAs.length===0||t)&&(e.matchResult.length===0||i)&&(e.sections.length===0||n)&&(e.zone.length===0||o)}):[]},updateSliderF(){this.updateSlider+=1},formatStatsData(e){const a={};return e[1]===0&&(e[2]===1||e[2]===2)&&(e[2]=3-e[2]),e[1]===0&&(e[3]===1||e[3]===2)&&(e[3]=3-e[3]),this.data_headers.forEach((t,i)=>{a[t]=e[i]}),a},getObjectPlayer(e){const a=[],t=e[7].map(n=>(a.push(n.nationality_id),{stringName:n.nationality,numberId:n.nationality_id})),i=e[9].split("-");return{numberId:e[0]!==void 0?e[0]:"",stringFullName:e[1]!==void 0?e[1]:"",stringImageUrl:e[2]!==void 0?e[2]:"",numberTeamId:e[3]!==void 0?e[3]:"",player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+e[3]+".jpg",stringNationalityName:$s[e[3]],numberAge:e[5]!==void 0?e[5]:"",numberPositionId:e[6]!==void 0?e[6]:"",countryId:e[7]!==void 0?e[7]:"",teamName:e[10]!==void 0?e[10]:"",effectiveness:e[11]!==void 0?e[11]:"",min:e[13]!==void 0?e[13]:"",games:e[12]!==void 0?e[12]:"",date:i.length>0?Number(i[0]):0,arrayNationalities:t,category:this.categoryName,arrayNationalitiesIds:a}},formatArrayPaginate(e){return[e.slice(0,this.numRows)]},createIntervalTops(){this.intervalIdtops=setInterval(async()=>{await this.getCategoryStats(this.season)},this.timeLiveComparativeAvanced)},clearTopsInterval(){this.intervalIdtops&&(clearInterval(this.intervalIdtops),this.intervalIdtops=null)}},beforeUnmount(){this.clearTopsInterval()}},Us=()=>{s.useCssVars(e=>({v93682288:e.borderRadius,b9da8348:e.borderWidth,bc08800e:e.borderColor}))},js=St.setup;St.setup=js?(e,a)=>(Us(),js(e,a)):Us;const Cn={ref:"myDivRef"},kn={class:"btnViewFullList"},En={class:"text"},Nn={class:"row-table-carrousel"},Pn={key:1,class:"container-no-search-result"},Vn={key:0,class:"overlay-loading-top"};function xn(e,a,t,i,n,o){const r=s.resolveComponent("GSCLeaders"),c=s.resolveComponent("GSCRowTable"),p=s.resolveComponent("GSCExpandedInfo"),d=s.resolveComponent("GSCTableHeader");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(t.type==0?"gsc-top":"gsc-top-full")},[s.createElementVNode("div",Cn,[t.type==0?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[o.topData.length>0?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",kn,[s.createElementVNode("div",En,s.toDisplayString(t.categoryName),1)]),s.createElementVNode("div",Nn,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.topData[0],(l,m)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:m},[l.top==1&&t.showPosition?(s.openBlock(),s.createBlock(r,{key:0,onMediadata:a[0]||(a[0]=u=>o.emitEventMedia(u,t.category,t.categoryName)),type:t.typeTable,"type-data":t.typeData,game:t.game,arrow:t.arrow,"team-widget":t.teamWidget,"can-play-videos":t.canPlayVideos,"is-expanded":e.playerexpand==l.id&&e.expand,"show-position":t.showPosition,ref_for:!0,ref:"GSCLeaders",data:t.typeTable==0?{top:"01",photo:l.img,logo:l.img&&l.img.includes("player-shadow")?"https://golstatsimages.blob.core.windows.net/images-library/logo-team@2x.png":"https://golstatsimages.blob.core.windows.net/teams-80/"+l.teamid+".png",name:l.name,player_short:l.name_short,player_id:l.id,categoryId:t.category,total:l.total}:{top:"01",logo:l.img,total:l.total,name_team:l.name,player_id:l.id},"category-name":t.categoryName,buttonMaxWidth:t.typeTable!=0?i.elementSize.width>360?"210px":"130px":i.elementSize.width>360?"180px":"110px",buttonFontSize:o.getButtonFontSize(),iconSize:"11px",onExpand:o.clickexpand,onMore:o.morestats},null,8,["type","type-data","game","arrow","team-widget","can-play-videos","is-expanded","show-position","data","category-name","buttonMaxWidth","buttonFontSize","onExpand","onMore"])):(s.openBlock(),s.createBlock(c,{key:1,"type-data":t.typeData,"team-widget":t.teamWidget,game:t.game,type:t.typeTable,"type-view":t.type,arrow:t.arrow,"is-expanded":e.playerexpand==l.id&&e.expand,"show-position":t.showPosition,onMediadata:a[1]||(a[1]=u=>o.emitEventMedia(u,t.category,t.categoryName)),data:t.typeTable==0?{position:l.top,player_name:l.name,player_short:l.name_short,player_photo:l.img,total:l.total,id:l.id,player_age:l.age,team_abrev:l.team,team_logo:l.img&&l.img.includes("player-shadow")?"https://golstatsimages.blob.core.windows.net/images-library/logo-team@2x.png":"https://golstatsimages.blob.core.windows.net/teams-80/"+l.teamid+".png",player_position:l.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+l.country+".jpg",player_games:l.minutes,player_min:l.games,league_name:"          Liga MX          "}:{position:l.top,team_logo:l.img,team_abrev:l.name,frequency:l.frecuency,promthistournament:l.game_avg,promlasttournament:l.game_avg_last_season,teams_games:"-",category:t.category,total:l.total,id:l.id},height:"71px","can-play-videos":t.canPlayVideos,background:m%2===0?t.backgroundEven:t.backgroundOdd,onExpand:o.clickexpand},null,8,["type-data","team-widget","game","type","type-view","arrow","is-expanded","show-position","data","can-play-videos","background","onExpand"])),e.expand&&e.playerexpand==l.id?(s.openBlock(),s.createBlock(p,{key:2,type:t.typeTable,"is-live":t.game.is_live,"view-effectiveness":l.positionId!==1,data:t.typeTable==0?{teams:l.teamname,age:l.age,dataofbirth:l.date,nationality:l.nationality,countryFlag:l.player_country_flag,position:l.position,games:l.games,min:l.minutes,goals:l.total,effectiveness:l.effectiveness,category:t.categoryName,id:l.id}:{position:l.positiontable,goals:l.goals,goals_received:l.goalsrecived,games_played:l.games_played,category:t.categoryName,effectiveness:l.effectiveness,xg:l.xg,total:l.total,attendance:"-",id:l.id},onViewprofile:u=>o.viewprofile(u,l.teamid),background:m%2===0?t.backgroundEven:t.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):s.createCommentVNode("",!0)],64))),128))])],64)):(s.openBlock(),s.createElementBlock("div",Pn,[e.isloading?(s.openBlock(),s.createElementBlock("div",Vn,[...a[3]||(a[3]=[s.createElementVNode("div",{class:"overlay-loading-top__spinner"},[s.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1),s.createElementVNode("div",{class:"overlay-loading-top__text"},"Loading...",-1)])])):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[a[4]||(a[4]=s.createElementVNode("div",{class:"container-no-search-result-title"},"No existen resultados",-1)),a[5]||(a[5]=s.createElementVNode("div",{class:"container-no-search-result-subtitle"},[s.createTextVNode(" No existen resultados para este tipo de"),s.createElementVNode("br"),s.createTextVNode(" jugada, considerando el torneo y otros"),s.createElementVNode("br"),s.createTextVNode(" filtros que has seleccionado. ")],-1))],64))]))],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createVNode(d,{background:"#183143",type:t.typeTable},null,8,["type"]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.topData,(l,m)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:m},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.slice(0,t.numRows),(u,_)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:_},[s.createVNode(c,{"type-data":t.typeData,"team-widget":t.teamWidget,game:t.game,arrow:t.arrow,type:t.typeTable,"type-view":t.type,"can-play-videos":t.canPlayVideos,"is-expanded":e.playerexpand==u.id&&e.expand,"show-position":t.showPosition,onMediadata:a[2]||(a[2]=f=>o.emitEventMediaFullTable(f,t.category,t.categoryName)),data:t.typeTable==0?{position:u.top,player_name:u.name,player_short:u.name_short,player_photo:u.img,total:u.total,id:u.id,player_age:u.age,team_abrev:u.team,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+u.teamid+".png",player_position:u.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+u.country+".jpg",player_games:u.games,player_min:u.minutes,league_name:"          Liga MX          "}:{position:u.positiontable,team_logo:u.img,team_abrev:u.name,frequency:u.frecuency,promthistournament:u.game_avg,promlasttournament:u.game_avg_last_season,category:t.category,team_games:u.games_played,total:u.total,id:u.id},height:"71px",background:((m+1)*5+_)%2===0?t.backgroundOdd:t.backgroundEven,onExpand:o.clickexpand},null,8,["type-data","team-widget","game","arrow","type","type-view","can-play-videos","is-expanded","show-position","data","background","onExpand"]),e.expand&&e.playerexpand==u.id?(s.openBlock(),s.createBlock(p,{key:0,type:t.typeTable,"is-live":t.game.is_live,additionalClass:"fullTable","view-effectiveness":u.positionId!==1,data:t.typeTable==0?{teams:u.teamname,age:u.age,dataofbirth:u.date,nationality:u.nationality,countryFlag:u.player_country_flag,position:u.positionfull,positionfull:u.positionfull,games:u.games,min:u.minutes,goals:u.total,effectiveness:u.effectiveness,category:o.getCategoryName(t.category),id:u.id}:{position:u.positiontable,goals:u.goals,goals_received:u.goalsrecived,games_played:u.games_played,category:t.categoryName,effectiveness:u.effectiveness,xg:u.xg,total:u.total,category:o.getCategoryName(t.category),attendance:"-",id:u.id},onViewprofile:f=>o.viewprofile(f,u.teamid),background:_%2===0?t.backgroundEven:t.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):s.createCommentVNode("",!0)],64))),128))],64))),128))],64))],512)],2)}const Rn=j(St,[["render",xn],["__scopeId","data-v-197d4b05"]]),Te={YEAR:2,AGE_RANGE:3,NATIONALITY:4,POSITION:5,ELIGIBILITY:6},Fn=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Bn={key:1},zn={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},An=["fill"],In={key:0,class:"checkbox__teams"},On={class:"checkbox__teams__logo"},Gn=["src"],Ln={class:"checkbox__teams__logo"},vn=["src"],Wn={__name:"GSC-Checkbox",props:{width:{type:String,default:"fit-content"},height:{type:String,default:"fit-content"},label:{type:String,default:""},labelWhiteSpace:{type:String,default:"normal"},labelColor:{type:String,default:"white"},fontFamily:{type:String,default:"sans-serif"},labelFontSize:{type:String,default:"12px"},modelValue:{type:Boolean,default:!1},justifyContent:{type:String,default:"flex-start"},alignItems:{type:String,default:"center"},boxBackgroundColor:{type:String,default:"#CBEE6B"},boxValueColor:{type:String,default:"#0d1d29"},boxValue:{type:[String,Number],default:""},boxPosition:{type:String,default:"left",validator(e){return["left","right","top","bottom"].includes(e)}},boxMarginTop:{type:String,default:"0.2em"},boxWidthAndHeight:{type:String,default:"16px"},boxBorderColor:{type:String,default:"#969da2"},boxBorderWidth:{type:String,default:"2px"},boxBorderRadius:{type:String,default:"4px"},boxValueFontSize:{type:String,default:"10px"},boxValueFontFamily:{type:String,default:"sans-serif"},avoidInteraction:{type:Boolean,default:!1},avoidToCheck:{type:Boolean,default:!1},isBoxOnly:{type:Boolean,default:!1},teamsIds:{type:Array,default:()=>null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e;s.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=s.ref(!1),n=s.computed(()=>{const d={color:t.boxValueColor,"font-family":t.fontFamily,height:t.boxWidthAndHeight,width:t.boxWidthAndHeight,minWidth:t.boxWidthAndHeight,"border-radius":t.boxBorderRadius,"margin-top":t.boxMarginTop};return i.value?(d["background-color"]=t.boxBackgroundColor,d.border=`solid ${t.boxBorderWidth} ${t.boxBackgroundColor}`):d.border=`solid ${t.boxBorderWidth} ${t.boxBorderColor}`,d}),o=s.computed(()=>({"font-family":t.boxValueFontFamily,"font-size":t.boxValueFontSize,color:t.boxValueColor,"line-height":1})),r=s.computed(()=>{const d={color:t.labelColor,"font-family":t.fontFamily,"font-size":t.labelFontSize,"white-space":t.labelWhiteSpace,"text-align":t.boxPosition==="top"||t.boxPosition==="bottom"?"center":t.boxPosition};return(t.boxPosition==="left"||t.boxPosition==="right")&&(d[`margin-${t.boxPosition}`]=t.isBoxOnly?"0":t.teamsIds?"8px":"10px"),d});s.watch(()=>t.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){t.avoidInteraction||!i.value&&t.avoidToCheck||(i.value=!i.value,a("update:modelValue",i.value))}function p(d){return`${{}.TEAM_LOGOS_URL||"https://golstatsimages.blob.core.windows.net/teams-80/"}${d}.png`}return(d,l)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[s.createElementVNode("div",{class:"checkbox__box",style:s.normalizeStyle(n.value)},[i.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[t.boxValue?(s.openBlock(),s.createElementBlock("div",{key:0,class:"checkbox__box__value",style:s.normalizeStyle(o.value)},s.toDisplayString(e.boxValue),5)):(s.openBlock(),s.createElementBlock("div",Bn,[(s.openBlock(),s.createElementBlock("svg",zn,[s.createElementVNode("path",{d:"M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",fill:e.boxValueColor},null,8,An)]))]))],64)):s.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(s.openBlock(),s.createElementBlock("div",In,[s.createElementVNode("div",On,[s.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,Gn)]),s.createElementVNode("div",Ln,[s.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,vn)])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"checkbox__label",style:s.normalizeStyle(r.value)},s.toDisplayString(e.label),5)],2))}},wt=Fn(Wn,[["__scopeId","data-v-b6f124d8"]]),I=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Dn={PLAYS:"plays",PRODUCTIVITY:"productivity",FIELD:"field",UNIVERSE:"universe",DETAILS:"details",TOURNAMENTS:"tournaments",PERSONAL_DATA:"personalData",PLAYS_TYPES:"playsTypes",GOLSTATS:"golstats",DISTANCE:"distance",RESULTS:"results",RESULTS_BY_TIME:"resultsByTime",VIDEOS:"videos",GAMES:"games",TAKEN_CORNERS:"takenCorners",HOW_WAS_CORNER:"howWasCorner",ZONE:"zone",WHAT_HAPPENED:"whatHappened",POSITIONS:"positions",YEARS:"years",NATIONALITIES:"nationalities",TEAMS:"teams",POSSESSION_VISUALISATIONS:"visualisations"},Mn=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Ct={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},Js=()=>{s.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Hs=Ct.setup;Ct.setup=Hs?(e,a)=>(Js(),Hs(e,a)):Js;const $n=e=>(s.pushScopeId("data-v-f3ee6b2b"),e=e(),s.popScopeId(),e),Un=["src"],jn={key:1,class:"text"},Jn=["src"],Hn={class:"stats"},qn=$n(()=>s.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),Kn={class:"numstats"},Zn={class:"leyend"};function Yn(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",n.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([o.customStyle,n.status&&t.typeOnOff&&o.customActive]),onClick:a[0]||(a[0]=(...r)=>o.btnClick&&o.btnClick(...r))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Un)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",jn,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Jn)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>o.btnClick&&o.btnClick(...r))},[s.createElementVNode("div",Hn,[qn,s.createElementVNode("div",Kn,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",Zn,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const Xn=Mn(Ct,[["render",Yn],["__scopeId","data-v-f3ee6b2b"]]),Qn={class:"gsc-dropdown__main-container__item-selected"},er=["height","width"],tr=["stroke"],sr={key:1,width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ar=["fill"],ir={class:"gsc-dropdown__items-container"},or=["onClick"],nr={key:0,class:"gsc-dropdown__items-footer"},kt={__name:"GSC-Dropdown",props:{modelValue:{type:[Object,Number,String],default:()=>null},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},fontSize:{type:String,default:"14px"},borderRadius:{type:Number,default:5},arrowHeight:{type:Number,default:24},arrowWidth:{type:Number,default:24},borderType:{type:String,default:"solid",validator:function(e){return["solid","dotted","dashed"].includes(e)}},borderWidth:{type:Number,default:1},borderColor:{type:String,default:"black"},backgroundColor:{type:String,default:"grey"},color:{type:String,default:"black"},arrowColor:{type:String,default:"#CBEE6B"},items:{type:Array,default:()=>[]},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},listBackgroundColor:{type:String,default:"white"},hoverBackgroundColor:{type:String,default:"#f1f1f1"},listMarginTop:{type:String,default:"0"},listContainerPadding:{type:String,default:"0"},listItemPadding:{type:String,default:"10px 12px"},listItemMargin:{type:String,default:"0"},listHeight:{type:String,default:"fit-content"},listItemSelectedColor:{type:String,default:"white"},listItemSelectedBackgroundColor:{type:String,default:"#399cfd"},listItemColor:{type:String,default:"black"},listBorderRadius:{type:String,default:"0"},listBorderColor:{type:String,default:""},listBorderWidth:{type:Number,default:1},listItemBorderRadius:{type:String,default:"0"},listAlignment:{type:String,default:"left"},isListSameWidth:{type:Boolean,default:!1},isMultipleOption:{type:Boolean,default:!1},footerBorderColor:{type:String,default:"#626970"},footerBorderWidth:{type:Number,default:1},isFooterVisible:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},onlyFirstTime:{type:Boolean,default:!1},iconType:{type:Number,default:1,validator:function(e){return[1,2].includes(e)}}},emits:["input","click-ready","update:modelValue"],setup(e,{emit:a}){const t=e,i=s.ref({}),n=s.ref(null),o=s.ref(t.isMultipleOption?-1:0),r=s.ref(!1);s.watch(()=>t.items,(_,f)=>{if(!t.modelValue&&(!t.onlyFirstTime||!f||!f.length)&&_&&_.length){if(t.defaultItemByProp){const g=t.items.findIndex(b=>b[t.defaultItemByProp.propName]===t.defaultItemByProp.value);g!==-1?(o.value=g,i.value=_[g]):(o.value=0,i.value=_[0])}else i.value=_[t.defaultItemByIndex];a("input",i.value)}},{immediate:!0}),s.watch(()=>t.modelValue,_=>{if(_){const f=t.items.findIndex(g=>typeof _=="object"?JSON.stringify(g)===JSON.stringify(_):g===_);f!==-1&&(o.value=f,i.value=t.items[f],a("update:modelValue",i.value))}},{immediate:!0});const c=s.computed(()=>({height:t.height,width:t.width,backgroundColor:t.backgroundColor,borderRadius:`${t.borderRadius}px`,border:`${t.borderType} ${t.borderWidth}px ${t.borderColor}`,color:t.color,"--hover-background-color":t.hoverBackgroundColor,"--list-container-padding":t.listContainerPadding,"--list-item-padding":t.listItemPadding,"--list-item-margin":t.listItemMargin,"--list-background-color":t.listBackgroundColor,"--list-height":t.listHeight,"--list-item-border-radius":t.listItemBorderRadius,"--list-item-selected-color":t.listItemSelectedColor,"--list-item-selected-background-color":t.listItemSelectedBackgroundColor,"--list-item-color":t.listItemColor,"--list-border-radius":`${t.listBorderRadius}`,"--list-border-color":t.listBorderColor,"--list-width":t.isListSameWidth?t.width:"fit-content","--list-border-width":`${t.listBorderWidth}px`,"--list-margin-top":t.listMarginTop,"--list-left":t.listAlignment==="left"?"0":"auto","--list-right":t.listAlignment==="right"?"0":"auto","--footer-border":`${t.footerBorderWidth}px solid ${t.footerBorderColor}`,"--dropdown-opacity":t.isDisabled?"0.5":"1","--dropdown-cursor":t.isDisabled?"not-allowed":"pointer","--dropdown-font-size":t.fontSize?t.fontSize:"14px"})),p=s.computed(()=>({height:`${t.arrowHeight}px`,width:`${t.arrowWidth}px`}));function d(){t.isDisabled||(r.value=!r.value)}function l(_){n.value&&!n.value.contains(_.target)&&(r.value=!1)}function m(_,f){t.isMultipleOption?o.value=-1:(o.value=f,r.value=!1),i.value=_,a("input",i.value),a("update:modelValue",i.value)}function u(){r.value=!1,a("click-ready")}return s.onMounted(()=>{document.addEventListener("click",l)}),s.onBeforeMount(()=>{document.removeEventListener("click",l)}),(_,f)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"dropDown",ref:n,class:"gsc-dropdown",style:s.normalizeStyle(c.value)},[s.createElementVNode("div",{class:"gsc-dropdown__main-container",style:s.normalizeStyle({"padding-right":`${e.arrowWidth+8}px`}),onClick:d},[s.createElementVNode("div",Qn,[s.renderSlot(_.$slots,"default",{selectedItem:i.value})]),s.createElementVNode("div",{class:s.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:s.normalizeStyle(p.value)},[e.iconType===1?(s.openBlock(),s.createElementBlock("svg",{key:0,height:e.arrowHeight,width:e.arrowWidth,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",stroke:e.arrowColor},null,8,tr)],8,er)):(s.openBlock(),s.createElementBlock("svg",sr,[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 2.62045L6.86193 0.167368C7.12228 -0.0557892 7.54439 -0.0557892 7.80474 0.167368C8.06509 0.390524 8.06509 0.752333 7.80474 0.97549L4.4714 3.83263C4.21105 4.05579 3.78895 4.05579 3.5286 3.83263L0.195262 0.97549C-0.0650874 0.752333 -0.0650874 0.390524 0.195262 0.167368C0.455612 -0.0557892 0.877722 -0.0557892 1.13807 0.167368L4 2.62045Z",fill:e.arrowColor},null,8,ar)]))],6)],4),s.createVNode(s.Transition,null,{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("div",ir,[s.createElementVNode("div",null,[s.createElementVNode("div",{class:"gsc-dropdown__items",style:s.normalizeStyle({"margin-top":`${t.borderWidth}px`})},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.items,(g,b)=>(s.openBlock(),s.createElementBlock("div",null,[s.withDirectives((s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["gsc-dropdown__items__item",{selected:b===o.value}]),key:b,onClick:S=>m(g,b)},[s.renderSlot(_.$slots,"availableItem",{item:g})],10,or)),[[s.vShow,!g.isHidden]])]))),256))],4),e.isFooterVisible?(s.openBlock(),s.createElementBlock("div",nr,[s.createVNode(s.unref(Xn),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:u})])):s.createCommentVNode("",!0)])],512),[[s.vShow,r.value]])]),_:3})],4))}},Et={borderType:"solid",listBackgroundColor:"#2E3B46",listBorderColor:"rgba(255, 255, 255, 0.2)",listBorderRadius:"5px",height:"38px",borderWidth:.8,borderColor:"rgba(255, 255, 255, 0.2)",backgroundColor:"#2E3B46",color:"white",listItemColor:"white",listItemSelectedBackgroundColor:"#2E3B46",arrowColor:"#fff",width:"100%",listHeight:"200px",isListSameWidth:!0,isFooterVisible:!0,hoverBackgroundColor:"#2E3B46",iconType:2},rr=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Nt={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},qs=()=>{s.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Ks=Nt.setup;Nt.setup=Ks?(e,a)=>(qs(),Ks(e,a)):qs;const lr=e=>(s.pushScopeId("data-v-f3ee6b2b"),e=e(),s.popScopeId(),e),cr=["src"],dr={key:1,class:"text"},mr=["src"],pr={class:"stats"},fr=lr(()=>s.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),ur={class:"numstats"},hr={class:"leyend"};function yr(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",n.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([o.customStyle,n.status&&t.typeOnOff&&o.customActive]),onClick:a[0]||(a[0]=(...r)=>o.btnClick&&o.btnClick(...r))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,cr)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",dr,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,mr)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>o.btnClick&&o.btnClick(...r))},[s.createElementVNode("div",pr,[fr,s.createElementVNode("div",ur,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",hr,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const gr=rr(Nt,[["render",yr],["__scopeId","data-v-f3ee6b2b"]]),_r=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},br={key:1},Tr={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Sr=["fill"],wr={key:0,class:"checkbox__teams"},Cr={class:"checkbox__teams__logo"},kr=["src"],Er={class:"checkbox__teams__logo"},Nr=["src"],Pr={__name:"GSC-Checkbox",props:{width:{type:String,default:"fit-content"},height:{type:String,default:"fit-content"},label:{type:String,default:""},labelWhiteSpace:{type:String,default:"normal"},labelColor:{type:String,default:"white"},fontFamily:{type:String,default:"sans-serif"},labelFontSize:{type:String,default:"12px"},modelValue:{type:Boolean,default:!1},justifyContent:{type:String,default:"flex-start"},alignItems:{type:String,default:"center"},boxBackgroundColor:{type:String,default:"#CBEE6B"},boxValueColor:{type:String,default:"#0d1d29"},boxValue:{type:[String,Number],default:""},boxPosition:{type:String,default:"left",validator(e){return["left","right","top","bottom"].includes(e)}},boxMarginTop:{type:String,default:"0.2em"},boxWidthAndHeight:{type:String,default:"16px"},boxBorderColor:{type:String,default:"#969da2"},boxBorderWidth:{type:String,default:"2px"},boxBorderRadius:{type:String,default:"4px"},boxValueFontSize:{type:String,default:"10px"},boxValueFontFamily:{type:String,default:"sans-serif"},avoidInteraction:{type:Boolean,default:!1},avoidToCheck:{type:Boolean,default:!1},isBoxOnly:{type:Boolean,default:!1},teamsIds:{type:Array,default:()=>null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e;s.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=s.ref(!1),n=s.computed(()=>{const d={color:t.boxValueColor,"font-family":t.fontFamily,height:t.boxWidthAndHeight,width:t.boxWidthAndHeight,minWidth:t.boxWidthAndHeight,"border-radius":t.boxBorderRadius,"margin-top":t.boxMarginTop};return i.value?(d["background-color"]=t.boxBackgroundColor,d.border=`solid ${t.boxBorderWidth} ${t.boxBackgroundColor}`):d.border=`solid ${t.boxBorderWidth} ${t.boxBorderColor}`,d}),o=s.computed(()=>({"font-family":t.boxValueFontFamily,"font-size":t.boxValueFontSize,color:t.boxValueColor,"line-height":1})),r=s.computed(()=>{const d={color:t.labelColor,"font-family":t.fontFamily,"font-size":t.labelFontSize,"white-space":t.labelWhiteSpace,"text-align":t.boxPosition==="top"||t.boxPosition==="bottom"?"center":t.boxPosition};return(t.boxPosition==="left"||t.boxPosition==="right")&&(d[`margin-${t.boxPosition}`]=t.isBoxOnly?"0":t.teamsIds?"8px":"10px"),d});s.watch(()=>t.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){t.avoidInteraction||!i.value&&t.avoidToCheck||(i.value=!i.value,a("update:modelValue",i.value))}function p(d){return`${{}.TEAM_LOGOS_URL||"https://golstatsimages.blob.core.windows.net/teams-80/"}${d}.png`}return(d,l)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[s.createElementVNode("div",{class:"checkbox__box",style:s.normalizeStyle(n.value)},[i.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[t.boxValue?(s.openBlock(),s.createElementBlock("div",{key:0,class:"checkbox__box__value",style:s.normalizeStyle(o.value)},s.toDisplayString(e.boxValue),5)):(s.openBlock(),s.createElementBlock("div",br,[(s.openBlock(),s.createElementBlock("svg",Tr,[s.createElementVNode("path",{d:"M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",fill:e.boxValueColor},null,8,Sr)]))]))],64)):s.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(s.openBlock(),s.createElementBlock("div",wr,[s.createElementVNode("div",Cr,[s.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,kr)]),s.createElementVNode("div",Er,[s.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,Nr)])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"checkbox__label",style:s.normalizeStyle(r.value)},s.toDisplayString(e.label),5)],2))}},Vr=_r(Pr,[["__scopeId","data-v-b6f124d8"]]),xr=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Pt={components:{GSCButton:gr,GSCCheckbox:Vr},data(){return{update:0,all:!1,refreshBtn14:0,refreshBtn24:0,refreshBtn34:0,refreshBtn44:0,sectors:Array.from({length:16},(e,a)=>({sector:a+1,active:!1})),lastUpdatedValue:[]}},props:{backgroundColor:{type:String,default:"#2e3b46"},heightContainer:{type:String,default:"340px"},widthContainer:{type:String,default:"455px"},heightField:{type:Number,default:230},widthField:{type:Number,default:350},heightFieldGrid:{type:String,default:"230px"},widthFieldGrid:{type:String,default:"350px"},backgroundSectorActive:{type:String,default:"#cbee6b"},backgroundSectorDisabled:{type:String,default:"#2e3b46"},borderWidth:{type:Number,default:1},opacitySector:{type:Number,default:.5},borderColor:{type:String,default:"#FFFFFF"},colorLineField:{type:String,default:"#bfc2c5"},borderWidthLineField:{type:Number,default:2},value:{type:Array,default:()=>[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]},title:{type:String,default:"Pase(s) desde la(s) zona(s):"},titleFontSize:{type:String,default:"14px"}},watch:{value:{deep:!0,immediate:!0,handler(e){const a=e.sort();JSON.stringify(a)!==JSON.stringify(this.lastUpdatedValue)&&(this.lastUpdatedValue=a,this.sectors.forEach((t,i)=>{t.active=e.includes(i+1),this.validateField(i)}),this.$emit("update:modelValue",e))}},sectors:{handler(e){var a=[];for(let t=0;t<e.length;t++)e[t].active&&a.push(t+1);this.$emit("update:modelValue",a)},deep:!0}},computed:{translx(){var e=0;return this.widthField>305?e=this.widthField-305:this.widthField==268&&(e=-36),e},transly(){var e=0;return this.heightField>195?(e=this.heightField-195,e=e/2):this.heightField==180&&(e=-7),e},translxcircle(){var e=0;return this.widthField>305?(e=this.widthField-305,e=e/2):this.widthField==268&&(e=-18),e}},methods:{clickAll(e){if(e){for(let a=0;a<this.sectors.length;a++)this.sectors[a].active=!0,this.validateField(a);this.status14=!0,this.status24=!0,this.status34=!0,this.status44=!0,this.refreshBtn14+=1,this.refreshBtn24+=1,this.refreshBtn34+=1,this.refreshBtn44+=1}else for(let a=0;a<this.sectors.length;a++)this.sectors[a].active=!1,this.validateField(a),this.status14=!1,this.status24=!1,this.status34=!1,this.status44=!1,this.refreshBtn14=0,this.refreshBtn24=0,this.refreshBtn34=0,this.refreshBtn44=0},selectSector(e){var a=0;this.sectors[e].active=!this.sectors[e].active;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0&&(this.sectors[e].active=!0),this.validateField(e)},btn14(e){this.sectors[0].active=e?this.sectors[0].active=!0:this.sectors[0].active=!1,this.sectors[1].active=e?this.sectors[1].active=!0:this.sectors[1].active=!1,this.sectors[2].active=e?this.sectors[2].active=!0:this.sectors[2].active=!1,this.sectors[3].active=e?this.sectors[3].active=!0:this.sectors[3].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[0].active=!0,this.sectors[1].active=!0,this.sectors[2].active=!0,this.sectors[3].active=!0,this.status14=!0,this.refreshBtn14+=1):this.status14=!1,a==16&&(this.all=!0,this.update+=1)},btn24(e){this.sectors[4].active=e?this.sectors[4].active=!0:this.sectors[4].active=!1,this.sectors[5].active=e?this.sectors[5].active=!0:this.sectors[5].active=!1,this.sectors[6].active=e?this.sectors[6].active=!0:this.sectors[6].active=!1,this.sectors[7].active=e?this.sectors[7].active=!0:this.sectors[7].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[4].active=!0,this.sectors[5].active=!0,this.sectors[6].active=!0,this.sectors[7].active=!0,this.status24=!0,this.refreshBtn24+=1):this.status24=!1,a==16&&(this.all=!0,this.update+=1)},btn34(e){this.sectors[8].active=e?this.sectors[8].active=!0:this.sectors[8].active=!1,this.sectors[9].active=e?this.sectors[9].active=!0:this.sectors[9].active=!1,this.sectors[10].active=e?this.sectors[10].active=!0:this.sectors[10].active=!1,this.sectors[11].active=e?this.sectors[11].active=!0:this.sectors[11].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[8].active=!0,this.sectors[9].active=!0,this.sectors[10].active=!0,this.sectors[11].active=!0,this.status34=!0,this.refreshBtn34+=1):this.status34=!1,a==16&&(this.all=!0,this.update+=1)},btn44(e){this.sectors[12].active=e?this.sectors[12].active=!0:this.sectors[12].active=!1,this.sectors[13].active=e?this.sectors[13].active=!0:this.sectors[13].active=!1,this.sectors[14].active=e?this.sectors[14].active=!0:this.sectors[14].active=!1,this.sectors[15].active=e?this.sectors[15].active=!0:this.sectors[15].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[12].active=!0,this.sectors[13].active=!0,this.sectors[14].active=!0,this.sectors[15].active=!0,this.status44=!0,this.refreshBtn44+=1):this.status44=!1,a==16&&(this.all=!0,this.update+=1)},validateField(e){(e===0||e===1||e===2||e===3)&&(this.status14=!!(this.sectors[0].active&&this.sectors[1].active&&this.sectors[2].active&&this.sectors[3].active)),(e===4||e===5||e===6||e===7)&&(this.status24=!!(this.sectors[4].active&&this.sectors[5].active&&this.sectors[6].active&&this.sectors[7].active)),(e===8||e===9||e===10||e===11)&&(this.status34=!!(this.sectors[8].active&&this.sectors[9].active&&this.sectors[10].active&&this.sectors[11].active)),(e===12||e===13||e===14||e===15)&&(this.status44=!!(this.sectors[12].active&&this.sectors[13].active&&this.sectors[14].active&&this.sectors[15].active)),this.all=!!(this.status14&&this.status34&&this.status24&&this.status44),this.update+=1,this.status14&&(this.refreshBtn14+=1),this.status24&&(this.refreshBtn24+=1),this.status34&&(this.refreshBtn34+=1),this.status44&&(this.refreshBtn44+=1)}}},Zs=()=>{s.useCssVars(e=>({"4fe806fe":e.widthContainer,"91de7c52":e.heightContainer,"266afcdc":e.backgroundColor,"2b853536":e.titleFontSize,"986b6446":e.widthFieldGrid,"1af308b6":e.heightFieldGrid}))},Ys=Pt.setup;Pt.setup=Ys?(e,a)=>(Zs(),Ys(e,a)):Zs;const Rr={class:"gsc-field"},Fr={class:"gsc-field__title-checked"},Br={class:"gsc-field__title-checked__title"},zr={class:"gsc-field__container-field"},Ar={class:"gsc-field__container-field__field"},Ir={width:"100%",height:"100%",fill:"#2e3b46",xmlns:"http://www.w3.org/2000/svg"},Or=["stroke"],Gr=["stroke","stroke-width"],Lr=["stroke","stroke-width"],vr=["stroke-width","stroke"],Wr=["fill","fill-opacity","stroke","stroke-width"],Dr=["fill","fill-opacity","stroke","stroke-width"],Mr=["fill","fill-opacity","stroke","stroke-width"],$r=["fill","fill-opacity","stroke","stroke-width"],Ur=["fill","fill-opacity","stroke","stroke-width"],jr=["fill","fill-opacity","stroke","stroke-width"],Jr=["fill","fill-opacity","stroke","stroke-width"],Hr=["fill","fill-opacity","stroke","stroke-width"],qr=["fill","fill-opacity","stroke","stroke-width"],Kr=["fill","fill-opacity","stroke","stroke-width"],Zr=["fill","fill-opacity","stroke","stroke-width"],Yr=["fill","fill-opacity","stroke","stroke-width"],Xr=["fill","fill-opacity","stroke","stroke-width"],Qr=["fill","fill-opacity","stroke","stroke-width"],el=["fill","fill-opacity","stroke","stroke-width"],tl=["fill","fill-opacity","stroke","stroke-width"],sl={class:"gsc-field__container-field__bar-buttons"};function al(e,a,t,i,n,o){const r=s.resolveComponent("GSCCheckbox"),c=s.resolveComponent("GSCButton");return s.openBlock(),s.createElementBlock("div",Rr,[s.createElementVNode("div",Fr,[s.createElementVNode("div",Br,s.toDisplayString(t.title),1),s.createElementVNode("div",{class:"gsc-field__title-checked__check-cont",style:s.normalizeStyle(t.widthField>=350?"min-width: 123px":"")},[(s.openBlock(),s.createBlock(r,{label:t.widthField<350?"Todas":"Todas las zonas","font-family":"Poppins-Regular","box-value-font-family":"Poppins-Regular","box-position":"right","label-font-size":t.titleFontSize,"label-white-space":"nowrap","box-margin-top":"0.4em",value:n.all,key:n.update,"model-value":n.all,"onUpdate:modelValue":o.clickAll},null,8,["label","label-font-size","value","model-value","onUpdate:modelValue"]))],4)]),s.createElementVNode("div",zr,[s.createElementVNode("div",Ar,[(s.openBlock(),s.createElementBlock("svg",Ir,[s.createElementVNode("rect",{x:"1.5",y:"0.5",width:"100%",height:"100%",rx:"1.5",stroke:t.colorLineField},null,8,Or),s.createElementVNode("path",{style:s.normalizeStyle("transform: translate("+o.translx+"px, "+o.transly+"px);"),d:"M303.597 39.9799H263.371C262.817 39.9799 262.369 40.4301 262.371 40.984L262.842 155.176C262.845 155.726 263.292 156.172 263.842 156.172H302.884",stroke:t.colorLineField,"stroke-width":t.borderWidthLineField,"stroke-linecap":"square"},null,12,Gr),s.createElementVNode("path",{style:s.normalizeStyle("transform: translateY("+o.transly+"px);"),class:"porteria1",d:"M1.09097 156.172L41.3162 156.172C41.8701 156.172 42.3185 155.722 42.3162 155.168L41.845 40.9758C41.8427 40.4252 41.3957 39.98 40.845 39.98L1.80338 39.98",stroke:t.colorLineField,"stroke-width":t.borderWidthLineField,"stroke-linecap":"square"},null,12,Lr),s.createElementVNode("path",{style:s.normalizeStyle("transform: translate("+o.translxcircle+"px, "+o.transly+"px);"),class:"circle",d:"M182.911 97.4512C182.911 113.726 169.44 126.936 152.801 126.936C136.162 126.936 122.691 113.726 122.691 97.4512C122.691 81.1767 136.162 67.9662 152.801 67.9662C169.44 67.9662 182.911 81.1767 182.911 97.4512Z","stroke-width":t.borderWidthLineField,stroke:t.colorLineField},null,12,vr),s.createElementVNode("rect",{x:"0%",y:"0%",width:"25%",height:"25%",fill:n.sectors[0].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[0]||(a[0]=p=>o.selectSector(0))},null,8,Wr),s.createElementVNode("rect",{x:"0%",y:"25%",width:"25%",height:"25%",fill:n.sectors[1].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[1]||(a[1]=p=>o.selectSector(1))},null,8,Dr),s.createElementVNode("rect",{x:"0%",y:"50%",width:"25%",height:"25%",fill:n.sectors[2].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[2]||(a[2]=p=>o.selectSector(2))},null,8,Mr),s.createElementVNode("rect",{x:"0%",y:"75%",width:"25%",height:"25%",fill:n.sectors[3].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[3]||(a[3]=p=>o.selectSector(3))},null,8,$r),s.createElementVNode("rect",{x:"25%",y:"0%",width:"25%",height:"25%",fill:n.sectors[4].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[4]||(a[4]=p=>o.selectSector(4))},null,8,Ur),s.createElementVNode("rect",{x:"25%",y:"25%",width:"25%",height:"25%",fill:n.sectors[5].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[5]||(a[5]=p=>o.selectSector(5))},null,8,jr),s.createElementVNode("rect",{x:"25%",y:"50%",width:"25%",height:"25%",fill:n.sectors[6].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[6]||(a[6]=p=>o.selectSector(6))},null,8,Jr),s.createElementVNode("rect",{x:"25%",y:"75%",width:"25%",height:"25%",fill:n.sectors[7].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[7]||(a[7]=p=>o.selectSector(7))},null,8,Hr),s.createElementVNode("rect",{x:"50%",y:"0%",width:"25%",height:"25%",fill:n.sectors[8].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[8]||(a[8]=p=>o.selectSector(8))},null,8,qr),s.createElementVNode("rect",{x:"50%",y:"25%",width:"25%",height:"25%",fill:n.sectors[9].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[9]||(a[9]=p=>o.selectSector(9))},null,8,Kr),s.createElementVNode("rect",{x:"50%",y:"50%",width:"25%",height:"25%",fill:n.sectors[10].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[10]||(a[10]=p=>o.selectSector(10))},null,8,Zr),s.createElementVNode("rect",{x:"50%",y:"75%",width:"25%",height:"25%",fill:n.sectors[11].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[11]||(a[11]=p=>o.selectSector(11))},null,8,Yr),s.createElementVNode("rect",{x:"75%",y:"0%",width:"25%",height:"25%",fill:n.sectors[12].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[12]||(a[12]=p=>o.selectSector(12))},null,8,Xr),s.createElementVNode("rect",{x:"75%",y:"25%",width:"25%",height:"25%",fill:n.sectors[13].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[13]||(a[13]=p=>o.selectSector(13))},null,8,Qr),s.createElementVNode("rect",{x:"75%",y:"50%",width:"25%",height:"25%",fill:n.sectors[14].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[14]||(a[14]=p=>o.selectSector(14))},null,8,el),s.createElementVNode("rect",{x:"75%",y:"75%",width:"25%",height:"25%",fill:n.sectors[15].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[15]||(a[15]=p=>o.selectSector(15))},null,8,tl)]))]),s.createElementVNode("div",sl,[(s.openBlock(),s.createBlock(c,{"text-value":"1/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn14",onStatus:o.btn14,key:n.refreshBtn14,value:e.status14},null,8,["onStatus","value"])),(s.openBlock(),s.createBlock(c,{"text-value":"2/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn24",onStatus:o.btn24,key:n.refreshBtn24,value:e.status24},null,8,["onStatus","value"])),(s.openBlock(),s.createBlock(c,{"text-value":"3/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn34",onStatus:o.btn34,key:n.refreshBtn34,value:e.status34},null,8,["onStatus","value"])),(s.openBlock(),s.createBlock(c,{"text-value":"4/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn44",onStatus:o.btn44,key:n.refreshBtn44,value:e.status44},null,8,["onStatus","value"]))])])])}const il=xr(Pt,[["render",al],["__scopeId","data-v-b85699b8"]]);function Xs(e,a){return function(){return e.apply(a,arguments)}}const{toString:ol}=Object.prototype,{getPrototypeOf:Vt}=Object,{iterator:Ie,toStringTag:Qs}=Symbol,Oe=(e=>a=>{const t=ol.call(a);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),D=e=>(e=e.toLowerCase(),a=>Oe(a)===e),Ge=e=>a=>typeof a===e,{isArray:le}=Array,Se=Ge("undefined");function nl(e){return e!==null&&!Se(e)&&e.constructor!==null&&!Se(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ea=D("ArrayBuffer");function rl(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&ea(e.buffer),a}const ll=Ge("string"),O=Ge("function"),ta=Ge("number"),Le=e=>e!==null&&typeof e=="object",cl=e=>e===!0||e===!1,ve=e=>{if(Oe(e)!=="object")return!1;const a=Vt(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Qs in e)&&!(Ie in e)},dl=D("Date"),ml=D("File"),pl=D("Blob"),fl=D("FileList"),ul=e=>Le(e)&&O(e.pipe),hl=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||O(e.append)&&((a=Oe(e))==="formdata"||a==="object"&&O(e.toString)&&e.toString()==="[object FormData]"))},yl=D("URLSearchParams"),[gl,_l,bl,Tl]=["ReadableStream","Request","Response","Headers"].map(D),Sl=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function we(e,a,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let i,n;if(typeof e!="object"&&(e=[e]),le(e))for(i=0,n=e.length;i<n;i++)a.call(null,e[i],i,e);else{const o=t?Object.getOwnPropertyNames(e):Object.keys(e),r=o.length;let c;for(i=0;i<r;i++)c=o[i],a.call(null,e[c],c,e)}}function sa(e,a){a=a.toLowerCase();const t=Object.keys(e);let i=t.length,n;for(;i-- >0;)if(n=t[i],a===n.toLowerCase())return n;return null}const te=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,aa=e=>!Se(e)&&e!==te;function xt(){const{caseless:e}=aa(this)&&this||{},a={},t=(i,n)=>{const o=e&&sa(a,n)||n;ve(a[o])&&ve(i)?a[o]=xt(a[o],i):ve(i)?a[o]=xt({},i):le(i)?a[o]=i.slice():a[o]=i};for(let i=0,n=arguments.length;i<n;i++)arguments[i]&&we(arguments[i],t);return a}const wl=(e,a,t,{allOwnKeys:i}={})=>(we(a,(n,o)=>{t&&O(n)?e[o]=Xs(n,t):e[o]=n},{allOwnKeys:i}),e),Cl=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kl=(e,a,t,i)=>{e.prototype=Object.create(a.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),t&&Object.assign(e.prototype,t)},El=(e,a,t,i)=>{let n,o,r;const c={};if(a=a||{},e==null)return a;do{for(n=Object.getOwnPropertyNames(e),o=n.length;o-- >0;)r=n[o],(!i||i(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=t!==!1&&Vt(e)}while(e&&(!t||t(e,a))&&e!==Object.prototype);return a},Nl=(e,a,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=a.length;const i=e.indexOf(a,t);return i!==-1&&i===t},Pl=e=>{if(!e)return null;if(le(e))return e;let a=e.length;if(!ta(a))return null;const t=new Array(a);for(;a-- >0;)t[a]=e[a];return t},Vl=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Vt(Uint8Array)),xl=(e,a)=>{const t=(e&&e[Ie]).call(e);let i;for(;(i=t.next())&&!i.done;){const n=i.value;a.call(e,n[0],n[1])}},Rl=(e,a)=>{let t;const i=[];for(;(t=e.exec(a))!==null;)i.push(t);return i},Fl=D("HTMLFormElement"),Bl=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,t,i){return t.toUpperCase()+i}),ia=(({hasOwnProperty:e})=>(a,t)=>e.call(a,t))(Object.prototype),zl=D("RegExp"),oa=(e,a)=>{const t=Object.getOwnPropertyDescriptors(e),i={};we(t,(n,o)=>{let r;(r=a(n,o,e))!==!1&&(i[o]=r||n)}),Object.defineProperties(e,i)},Al=e=>{oa(e,(a,t)=>{if(O(e)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const i=e[t];if(O(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},Il=(e,a)=>{const t={},i=n=>{n.forEach(o=>{t[o]=!0})};return le(e)?i(e):i(String(e).split(a)),t},Ol=()=>{},Gl=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function Ll(e){return!!(e&&O(e.append)&&e[Qs]==="FormData"&&e[Ie])}const vl=e=>{const a=new Array(10),t=(i,n)=>{if(Le(i)){if(a.indexOf(i)>=0)return;if(!("toJSON"in i)){a[n]=i;const o=le(i)?[]:{};return we(i,(r,c)=>{const p=t(r,n+1);!Se(p)&&(o[c]=p)}),a[n]=void 0,o}}return i};return t(e,0)},Wl=D("AsyncFunction"),Dl=e=>e&&(Le(e)||O(e))&&O(e.then)&&O(e.catch),na=((e,a)=>e?setImmediate:a?((t,i)=>(te.addEventListener("message",({source:n,data:o})=>{n===te&&o===t&&i.length&&i.shift()()},!1),n=>{i.push(n),te.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",O(te.postMessage)),Ml=typeof queueMicrotask<"u"?queueMicrotask.bind(te):typeof process<"u"&&process.nextTick||na,$l=e=>e!=null&&O(e[Ie]),y={isArray:le,isArrayBuffer:ea,isBuffer:nl,isFormData:hl,isArrayBufferView:rl,isString:ll,isNumber:ta,isBoolean:cl,isObject:Le,isPlainObject:ve,isReadableStream:gl,isRequest:_l,isResponse:bl,isHeaders:Tl,isUndefined:Se,isDate:dl,isFile:ml,isBlob:pl,isRegExp:zl,isFunction:O,isStream:ul,isURLSearchParams:yl,isTypedArray:Vl,isFileList:fl,forEach:we,merge:xt,extend:wl,trim:Sl,stripBOM:Cl,inherits:kl,toFlatObject:El,kindOf:Oe,kindOfTest:D,endsWith:Nl,toArray:Pl,forEachEntry:xl,matchAll:Rl,isHTMLForm:Fl,hasOwnProperty:ia,hasOwnProp:ia,reduceDescriptors:oa,freezeMethods:Al,toObjectSet:Il,toCamelCase:Bl,noop:Ol,toFiniteNumber:Gl,findKey:sa,global:te,isContextDefined:aa,isSpecCompliantForm:Ll,toJSONObject:vl,isAsyncFn:Wl,isThenable:Dl,setImmediate:na,asap:Ml,isIterable:$l};function C(e,a,t,i,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),t&&(this.config=t),i&&(this.request=i),n&&(this.response=n,this.status=n.status?n.status:null)}y.inherits(C,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:y.toJSONObject(this.config),code:this.code,status:this.status}}});const ra=C.prototype,la={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{la[e]={value:e}}),Object.defineProperties(C,la),Object.defineProperty(ra,"isAxiosError",{value:!0}),C.from=(e,a,t,i,n,o)=>{const r=Object.create(ra);return y.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),C.call(r,e.message,a,t,i,n),r.cause=e,r.name=e.name,o&&Object.assign(r,o),r};const Ul=null;function Rt(e){return y.isPlainObject(e)||y.isArray(e)}function ca(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function da(e,a,t){return e?e.concat(a).map(function(i,n){return i=ca(i),!t&&n?"["+i+"]":i}).join(t?".":""):a}function jl(e){return y.isArray(e)&&!e.some(Rt)}const Jl=y.toFlatObject(y,{},null,function(e){return/^is[A-Z]/.test(e)});function We(e,a,t){if(!y.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,t=y.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,f){return!y.isUndefined(f[_])});const i=t.metaTokens,n=t.visitor||d,o=t.dots,r=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(a);if(!y.isFunction(n))throw new TypeError("visitor must be a function");function p(_){if(_===null)return"";if(y.isDate(_))return _.toISOString();if(!c&&y.isBlob(_))throw new C("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(_)||y.isTypedArray(_)?c&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function d(_,f,g){let b=_;if(_&&!g&&typeof _=="object"){if(y.endsWith(f,"{}"))f=i?f:f.slice(0,-2),_=JSON.stringify(_);else if(y.isArray(_)&&jl(_)||(y.isFileList(_)||y.endsWith(f,"[]"))&&(b=y.toArray(_)))return f=ca(f),b.forEach(function(S,T){!(y.isUndefined(S)||S===null)&&a.append(r===!0?da([f],T,o):r===null?f:f+"[]",p(S))}),!1}return Rt(_)?!0:(a.append(da(g,f,o),p(_)),!1)}const l=[],m=Object.assign(Jl,{defaultVisitor:d,convertValue:p,isVisitable:Rt});function u(_,f){if(!y.isUndefined(_)){if(l.indexOf(_)!==-1)throw Error("Circular reference detected in "+f.join("."));l.push(_),y.forEach(_,function(g,b){(!(y.isUndefined(g)||g===null)&&n.call(a,g,y.isString(b)?b.trim():b,f,m))===!0&&u(g,f?f.concat(b):[b])}),l.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return u(e),a}function ma(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(t){return a[t]})}function Ft(e,a){this._pairs=[],e&&We(e,this,a)}const pa=Ft.prototype;pa.append=function(e,a){this._pairs.push([e,a])},pa.toString=function(e){const a=e?function(t){return e.call(this,t,ma)}:ma;return this._pairs.map(function(t){return a(t[0])+"="+a(t[1])},"").join("&")};function Hl(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fa(e,a,t){if(!a)return e;const i=t&&t.encode||Hl;y.isFunction(t)&&(t={serialize:t});const n=t&&t.serialize;let o;if(n?o=n(a,t):o=y.isURLSearchParams(a)?a.toString():new Ft(a,t).toString(i),o){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class ql{constructor(){this.handlers=[]}use(a,t,i){return this.handlers.push({fulfilled:a,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){y.forEach(this.handlers,function(t){t!==null&&a(t)})}}const ua=ql,ha={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Kl=typeof URLSearchParams<"u"?URLSearchParams:Ft,Zl=typeof FormData<"u"?FormData:null,Yl=typeof Blob<"u"?Blob:null,Xl={isBrowser:!0,classes:{URLSearchParams:Kl,FormData:Zl,Blob:Yl},protocols:["http","https","file","blob","url","data"]},Bt=typeof window<"u"&&typeof document<"u",zt=typeof navigator=="object"&&navigator||void 0,Ql=Bt&&(!zt||["ReactNative","NativeScript","NS"].indexOf(zt.product)<0),ec=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",tc=Bt&&window.location.href||"http://localhost",sc=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Bt,hasStandardBrowserEnv:Ql,hasStandardBrowserWebWorkerEnv:ec,navigator:zt,origin:tc},Symbol.toStringTag,{value:"Module"})),F={...sc,...Xl};function ac(e,a){return We(e,new F.classes.URLSearchParams,Object.assign({visitor:function(t,i,n,o){return F.isNode&&y.isBuffer(t)?(this.append(i,t.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},a))}function ic(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function oc(e){const a={},t=Object.keys(e);let i;const n=t.length;let o;for(i=0;i<n;i++)o=t[i],a[o]=e[o];return a}function ya(e){function a(t,i,n,o){let r=t[o++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),p=o>=t.length;return r=!r&&y.isArray(n)?n.length:r,p?(y.hasOwnProp(n,r)?n[r]=[n[r],i]:n[r]=i,!c):((!n[r]||!y.isObject(n[r]))&&(n[r]=[]),a(t,i,n[r],o)&&y.isArray(n[r])&&(n[r]=oc(n[r])),!c)}if(y.isFormData(e)&&y.isFunction(e.entries)){const t={};return y.forEachEntry(e,(i,n)=>{a(ic(i),n,t,0)}),t}return null}function nc(e,a,t){if(y.isString(e))try{return(a||JSON.parse)(e),y.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(e)}const At={transitional:ha,adapter:["xhr","http","fetch"],transformRequest:[function(e,a){const t=a.getContentType()||"",i=t.indexOf("application/json")>-1,n=y.isObject(e);if(n&&y.isHTMLForm(e)&&(e=new FormData(e)),y.isFormData(e))return i?JSON.stringify(ya(e)):e;if(y.isArrayBuffer(e)||y.isBuffer(e)||y.isStream(e)||y.isFile(e)||y.isBlob(e)||y.isReadableStream(e))return e;if(y.isArrayBufferView(e))return e.buffer;if(y.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(n){if(t.indexOf("application/x-www-form-urlencoded")>-1)return ac(e,this.formSerializer).toString();if((o=y.isFileList(e))||t.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return We(o?{"files[]":e}:e,r&&new r,this.formSerializer)}}return n||i?(a.setContentType("application/json",!1),nc(e)):e}],transformResponse:[function(e){const a=this.transitional||At.transitional,t=a&&a.forcedJSONParsing,i=this.responseType==="json";if(y.isResponse(e)||y.isReadableStream(e))return e;if(e&&y.isString(e)&&(t&&!this.responseType||i)){const n=!(a&&a.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(o){if(n)throw o.name==="SyntaxError"?C.from(o,C.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{At.headers[e]={}});const It=At,rc=y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),lc=e=>{const a={};let t,i,n;return e&&e.split(`
9
+ `+o)}}catch{}}throw i}}_request(a,t){typeof a=="string"?(t=t||{},t.url=a):t=a||{},t=X(this.defaults,t);const{transitional:i,paramsSerializer:n,headers:o}=t;i!==void 0&&Ae.assertOptions(i,{silentJSONParsing:v.transitional(v.boolean),forcedJSONParsing:v.transitional(v.boolean),clarifyTimeoutError:v.transitional(v.boolean),legacyInterceptorReqResOrdering:v.transitional(v.boolean)},!1),n!=null&&(h.isFunction(n)?t.paramsSerializer={serialize:n}:Ae.assertOptions(n,{encode:v.function,serialize:v.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ae.assertOptions(t,{baseUrl:v.spelling("baseURL"),withXsrfToken:v.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=o&&h.merge(o.common,o[t.method]);o&&h.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),t.headers=A.concat(r,o);const c=[];let p=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(t)===!1)return;p=p&&g.synchronous;const b=t.transitional||rt;b&&b.legacyInterceptorReqResOrdering?c.unshift(g.fulfilled,g.rejected):c.push(g.fulfilled,g.rejected)});const d=[];this.interceptors.response.forEach(function(g){d.push(g.fulfilled,g.rejected)});let l,m=0,u;if(!p){const f=[Ps.bind(this),void 0];for(f.unshift(...c),f.push(...d),u=f.length,l=Promise.resolve(t);m<u;)l=l.then(f[m++],f[m++]);return l}u=c.length;let _=t;for(;m<u;){const f=c[m++],g=c[m++];try{_=f(_)}catch(b){g.call(this,b);break}}try{l=Ps.call(this,_)}catch(f){return Promise.reject(f)}for(m=0,u=d.length;m<u;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=X(this.defaults,a);const t=ys(a.baseURL,a.url,a.allowAbsoluteUrls);return rs(t,a.params,a.paramsSerializer)}};h.forEach(["delete","get","head","options"],function(a){Q.prototype[a]=function(t,i){return this.request(X(i||{},{method:a,url:t,data:(i||{}).data}))}}),h.forEach(["post","put","patch"],function(a){function t(i){return function(o,r,c){return this.request(X(c||{},{method:a,headers:i?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}Q.prototype[a]=t(),Q.prototype[a+"Form"]=t(!0)});let go=class Ua{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(o){t=o});const i=this;this.promise.then(n=>{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](n);i._listeners=null}),this.promise.then=n=>{let o;const r=new Promise(c=>{i.subscribe(c),o=c}).then(n);return r.cancel=function(){i.unsubscribe(o)},r},a(function(o,r,c){i.reason||(i.reason=new _e(o,r,c),t(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const t=this._listeners.indexOf(a);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const a=new AbortController,t=i=>{a.abort(i)};return this.subscribe(t),a.signal.unsubscribe=()=>this.unsubscribe(t),a.signal}static source(){let a;return{token:new Ua(function(n){a=n}),cancel:a}}};function _o(e){return function(t){return e.apply(null,t)}}function bo(e){return h.isObject(e)&&e.isAxiosError===!0}const ut={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ut).forEach(([e,a])=>{ut[a]=e});function xs(e){const a=new Q(e),t=Ht(Q.prototype.request,a);return h.extend(t,Q.prototype,a,{allOwnKeys:!0}),h.extend(t,a,null,{allOwnKeys:!0}),t.create=function(n){return xs(X(e,n))},t}const E=xs(ye);E.Axios=Q,E.CanceledError=_e,E.CancelToken=go,E.isCancel=ps,E.VERSION=Vs,E.toFormData=Re,E.AxiosError=w,E.Cancel=E.CanceledError,E.all=function(a){return Promise.all(a)},E.spread=_o,E.isAxiosError=bo,E.mergeConfig=X,E.AxiosHeaders=A,E.formToJSON=e=>cs(h.isHTMLForm(e)?new FormData(e):e),E.getAdapter=Ns.getAdapter,E.HttpStatusCode=ut,E.default=E;const{Axios:cf,AxiosError:df,CanceledError:mf,isCancel:pf,CancelToken:ff,VERSION:uf,all:hf,Cancel:yf,isAxiosError:gf,spread:_f,toFormData:bf,AxiosHeaders:Tf,HttpStatusCode:Sf,formToJSON:wf,getAdapter:Cf,mergeConfig:kf}=E;function re(e,a,t){if(a==null||a<=1)return e;const i=t?`https://dev-apis.golstats.com/${a}/`:`https://apis.golstats.com/${a}/`,n=new URL(e);let o=n.pathname+n.search;o=o.replace(/^\/(prod|qa)\//,"/");const r=o.replace(/^\//,"");return i+r}const To={computed:{sizeTabsFontMP(){const e=this.elementSize.width;return e<=380?"12px":e<=768?"14px":"16px"},sizeTabsFontMS(){const e=this.elementSize.width;return e<=600?"12px":e<=768?"13px":"14px"},sizeTabsMS(){const e=this.elementSize.width;return e<=480?"145px":e<=600?"153px":e<=620?"163px":e<=640?"170px":e<=660?"175px":e<=680?"180px":e<=700?"185px":e<=720?"195px":"200px"},sizeTabsMP(){const e=this.elementSize.width;return e<=319?"68px":e<=330?"73px":e<=340?"78px":e<=350?"82px":e<=360||e<=370?"90px":e<=390?"95px":e<=410?"105px":e<=430?"110px":e<=450?"117px":e<=470?"122px":e<=500?"130px":e<=530?"138px":e<=560?"155px":e<=590?"163px":e<=620?"175px":e<=650?"180px":e<=680?"195px":e<=730?"210px":e<=768?"100px":"110px"},comextleyemdmultipleleaguesClass(){return this.elementSize.width<=380?this.$style.comtextleyemdmultipleleagues380:this.$style.comtextleyemdmultipleleagues},comdropdownParentClass(){return this.elementSize.width<=730?this.$style.comdropdownParent730:this.$style.comdropdownParent},comdescubreVideosClass(){const e=this.elementSize.width;return e<=960?this.$style.comdescubreVideos960:e<=1232?this.$style.comdescubreVideos1232:this.$style.comdescubreVideos},comquitarFiltrosClass(){const e=this.elementSize.width;return e<=380?this.$style.comquitarFiltros380:e<=480?this.$style.comquitarFiltros480:e<=730?this.$style.comquitarFiltros730:this.$style.comquitarFiltros},commejoresJugadoresClass(){const e=this.elementSize.width;return e<=480?this.$style.commejoresJugadores480:e<=730?this.$style.commejoresJugadores730:this.$style.commejoresJugadores},menuSectionClass(){return this.elementSize.width<=960?this.$style.commenuSection960:this.$style.commenuSection},topFiltersClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFilters420:e<=460?this.$style.comtopFilters460:e<=1232?this.$style.comtopFilters1232:this.$style.comtopFilters},toniKroosWrapperClass(){const e=this.elementSize.width;return e<=319?this.$style.comtoniKroosWrapper320:e<=420?this.$style.comtoniKroosWrapper420:e<=916?this.$style.comtoniKroosWrapper760:e<=975?this.$style.comtoniKroosWrapper975:e<=1079?this.$style.comtoniKroosWrapper1080:this.$style.comtoniKroosWrapper},containerTablesClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTables320:e<=916?this.$style.comcontainerTables760:e<=1079?this.$style.comcontainerTables960:this.$style.comcontainerTables},containerTheBestClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerTheBest320:e<=960?this.$style.comcontainerTheBest960:e<=1232?this.$style.comcontainerTheBest1232:this.$style.comcontainerTheBest},menuSectionHeaderClass(){const e=this.elementSize.width;return e<=730?this.$style.commenuSectionHeader730:e<=960?this.$style.commenuSectionHeader960:e<=1232?this.$style.commenuSectionHeader1232:this.$style.commenuSectionHeader},losMejoresClass(){const e=this.elementSize.width;return e<=380?this.$style.comlosMejores380:e<=530?this.$style.comlosMejores530:e<=730?this.$style.comlosMejores730:this.$style.comlosMejores},dropdownClass(){return this.elementSize.width<=730?this.$style.comdropdown730:this.$style.comdropdown},dropdown1Class(){return this.elementSize.width<=730?this.$style.comdropdown1730:this.$style.comdropdown1},menuSectionParentHeaderClass(){const e=this.elementSize.width;return e<=430?this.$style.commenuSectionParentHeader430:e<=730?this.$style.commenuSectionParentHeader730:e<=960?this.$style.commenuSectionParentHeader960:e<=1232?this.$style.commenuSectionParentHeader1232:this.$style.commenuSectionParentHeader},templateLosMejoresClass(){const e=this.elementSize.width;return e<=319?this.$style.comtemplateLosMejores1320:e<=350?this.$style.comtemplateLosMejores1350:e<=420?this.$style.comtemplateLosMejores1420:e<=540?this.$style.comtemplateLosMejores1540:e<=960?this.$style.comtemplateLosMejores1960:e<=1232?this.$style.comtemplateLosMejores11232:this.$style.comtemplateLosMejores1},containerMenuClass(){return this.elementSize.width<=760?this.$style.comcontainerMenu760:this.$style.comcontainerMenu},titleSectionClass(){return this.elementSize.width<=540?this.$style.comtitleSection540:this.$style.comtitleSection},containerSectionClass(){const e=this.elementSize.width;return e<=319?this.$style.comcontainerSection320:e<=350?this.$style.comcontainerSection350:e<=960?this.$style.comcontainerSection960:e<=1232?this.$style.comcontainerSection1232:this.$style.comcontainerSection},filtersContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.comfiltersContainer420:e<=760?this.$style.comfiltersContainer760:e<=1232?this.$style.comfiltersContainer1232:this.$style.comfiltersContainer},topFiltersParentClass(){const e=this.elementSize.width;return e<=420?this.$style.comtopFiltersParent420:e<=460?this.$style.comtopFiltersParent460:e<=1232?this.$style.comtopFiltersParent1232:this.$style.comtopFiltersParent}}};function be(e){const a=s.ref({width:0,height:0});function t(){const i=e.value.getBoundingClientRect();a.value.width=i.width,a.value.height=i.height}return s.onMounted(()=>{t(),window.addEventListener("resize",t)}),s.onUnmounted(()=>{window.removeEventListener("resize",t)}),{elementSize:a}}const j=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},ht={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,iconPosition:{type:String,default:"left"},iconSize:String,mini:{type:Boolean,default:!1},fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"auto"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,maxWidth:this.buttonMaxWidth,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},Fs=()=>{s.useCssVars(e=>({v006631b0:e.height,d22b27fa:e.borderWidthBtn,v074def07:e.borderType,v3d086d94:e.borderColor,v66cd0d1f:e.borderRadius,e592d8b6:e.width,v0aedd1f4:e.backgroundColor,c0802d9e:e.cursorType,eabd0a9e:e.fontSize,v6cda4dfe:e.fontStyle,v51880a14:e.fontFamily,v3824dfca:e.marginLeftStat,v133a34a5:e.fontSizeStat}))},Bs=ht.setup;ht.setup=Bs?(e,a)=>(Fs(),Bs(e,a)):Fs;const So=["src"],wo={key:1,class:"text"},Co={class:"stats"},ko={class:"numstats"},Eo={class:"leyend"};function No(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",n.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([o.customStyle,n.status&&t.typeOnOff&&o.customActive]),onClick:a[0]||(a[0]=(...r)=>o.btnClick&&o.btnClick(...r))},[e.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:s.normalizeClass(t.mini?"icon-txt":"icon"),style:s.normalizeStyle({width:t.iconSize}),src:e.icon},null,14,So)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",wo,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>o.btnClick&&o.btnClick(...r))},[s.createElementVNode("div",Co,[s.createElementVNode("div",ko,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",Eo,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const Po=j(ht,[["render",No],["__scopeId","data-v-a6e73249"]]),Vo={tablePositionGamesReports:"_tablePositionGamesReports_77dpo_46",tablePositionWrapperGamesReports:"_tablePositionWrapperGamesReports_77dpo_62",imgHenrryIconReports:"_imgHenrryIconReports_77dpo_71",americaIconReports:"_americaIconReports_77dpo_79",playerPhotoGamesReports:"_playerPhotoGamesReports_77dpo_91",toniKroosGamesReports:"_toniKroosGamesReports_77dpo_100",shapeIconReports:"_shapeIconReports_77dpo_111",menuiconsTeamsReports:"_menuiconsTeamsReports_77dpo_117",component31Reports:"_component31Reports_77dpo_126",playerNameGamesReports:"_playerNameGamesReports_77dpo_137",icnPlayIconReports:"_icnPlayIconReports_77dpo_145",golesReports:"_golesReports_77dpo_153",americaIcon1Reports:"_americaIcon1Reports_77dpo_160",teamsAmericaReports:"_teamsAmericaReports_77dpo_174",containerDataReports:"_containerDataReports_77dpo_180",shapeIcon1Reports:"_shapeIcon1Reports_77dpo_188",icnExpand1Reports:"_icnExpand1Reports_77dpo_194",icnExpandReports:"_icnExpandReports_77dpo_205",playerDataGamesReports:"_playerDataGamesReports_77dpo_214",playerInfoGamesReports:"_playerInfoGamesReports_77dpo_225",headerTopGameReportsAuto:"_headerTopGameReportsAuto_77dpo_240",playerRowReports:"_playerRowReports_77dpo_254",groupsLeagueReports:"_groupsLeagueReports_77dpo_265",textReports:"_textReports_77dpo_274",btnViewFullListReports:"_btnViewFullListReports_77dpo_282",headerTopsGamesReports:"_headerTopsGamesReports_77dpo_299",btnVideosOptionsReports:"_btnVideosOptionsReports_77dpo_373","container-player-info":"_container-player-info_77dpo_1","gsc-button":"_gsc-button_77dpo_619",teamIconOverlay:"_teamIconOverlay_77dpo_672",positionReports:"_positionReports_77dpo_718",positionWrapperReports:"_positionWrapperReports_77dpo_730",imgNecaxaIconReports:"_imgNecaxaIconReports_77dpo_738",teamLogoReports:"_teamLogoReports_77dpo_744",teamPhotoReports:"_teamPhotoReports_77dpo_752",nameReports:"_nameReports_77dpo_760",icnPlayIconType1Reports:"_icnPlayIconType1Reports_77dpo_768",verVideosType1Reports:"_verVideosType1Reports_77dpo_775",btnVideosOptionsType1Reports:"_btnVideosOptionsType1Reports_77dpo_781",btnVideosOptions1GamesReports:"_btnVideosOptions1GamesReports_77dpo_793",leftContainerReports:"_leftContainerReports_77dpo_805",shapeIconType1Reports:"_shapeIconType1Reports_77dpo_814",icnExpandType1Reports:"_icnExpandType1Reports_77dpo_819",arrowExpandReports:"_arrowExpandReports_77dpo_829",containerInfoGamesReports:"_containerInfoGamesReports_77dpo_837",headerTopTeamReports:"_headerTopTeamReports_77dpo_849",containerHeaderReports:"_containerHeaderReports_77dpo_863",goles1Reports:"_goles1Reports_77dpo_872",golesType1Reports:"_golesType1Reports_77dpo_875",golesWrapperReports:"_golesWrapperReports_77dpo_880",btnViewAllReports:"_btnViewAllReports_77dpo_889",headerTopsTeamsReports:"_headerTopsTeamsReports_77dpo_906",arrowExpandIconReports:"_arrowExpandIconReports_77dpo_1066",rotateReports:"_rotateReports_77dpo_1075"},yt={components:{GSCButton:Po},props:{typeData:{type:Number,default:1},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>{}},type:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},canPlayVideos:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},categoryName:{type:String,default:""},categoryId:{type:String,default:""},data:{type:Object,default:()=>{}},backgroundColor:{type:String,default:"#0d1d29"},backgroundColorHeader:{type:String,default:"#183143"},fontColorName:{type:String,default:"#F4F4F4"},fontSizeName:{type:String,default:"14px"},fontFamilyName:{type:String,default:"Poppins-Regular"},fontColorTopNum:{type:String,default:"#FFFFFF"},fontSizeTopNum:{type:String,default:"96px"},fontFamilyTopNum:{type:String,default:"Oswald-Bold"},fontColorCategory:{type:String,default:"#FFFFFF"},fontSizeCategory:{type:String,default:"12px"},fontFamilyCategory:{type:String,default:"Poppins-Regular"},opacityColorTopNum:{type:Number,default:.09},borderColorCategory:{type:String,default:"#cbee6b"},iconSize:{type:String,default:"18px"},iconPosition:{type:String,default:"left"},colorArrow:{type:String,default:"#D9D9D9"},buttonWidth:{type:String,default:"fit-content"},buttonMaxWidth:{type:String,default:"180px"},buttonHeight:{type:String,default:"24px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#cbee6b"},buttonFontSize:{type:String,default:"12px"},showPosition:{type:Boolean,default:!0}},data:()=>({expand:!1}),methods:{viewProfile(e){this.$emit("play",e)},clickMore(e){this.$emit("more",e)},clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},clickFav(e){this.$emit("fav",e)},clickEventMedia(e){this.$emit("mediadata",e)}}},zs=()=>{s.useCssVars(e=>({v06270c4a:e.fontSizeTopNum,d23b5926:e.fontFamilyTopNum,v221e8b3c:e.fontColorTopNum,v7096921c:e.opacityColorTopNum,v97cb32d4:e.fontColorName,v9a36f1f2:e.fontFamilyName,v7ecbd324:e.fontSizeName,v63ba4059:e.backgroundColorHeader,b5bda90c:e.fontFamilyCategory,v561b2117:e.fontSizeCategory,v522eab89:e.fontColorCategory,e4e6ede8:e.borderColorCategory}))},As=yt.setup;yt.setup=As?(e,a)=>(zs(),As(e,a)):zs;const Ro=["src"],xo=["src"],Fo=["src"],Bo=["src"],zo=["fill"],Ao=["fill"],Io=["src"],Oo=["fill"],Go=["fill"];function Lo(e,a,t,i,n,o){const r=s.resolveComponent("GSCButton");return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.headerTopsGamesReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerRowReports),id:"player-row"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.headerTopGameReportsAuto)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerPhotoGamesReports),id:"container-player-photp"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.tablePositionWrapperGamesReports)},[s.createElementVNode("b",{class:s.normalizeClass(e.$style.tablePositionGamesReports)},[t.showPosition?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createTextVNode(s.toDisplayString(t.data.top),1)],64)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamIconOverlay),style:s.normalizeStyle({backgroundImage:`url(${t.data.logo})`})},null,6)],2),s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgHenrryIconReports),alt:"",src:t.data.photo},null,10,Ro),s.createElementVNode("img",{class:s.normalizeClass(e.$style.americaIconReports),alt:"",src:t.data.logo},null,10,xo)],2),s.createElementVNode("main",{class:s.normalizeClass(e.$style.playerInfoGamesReports),id:"container-player-info"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerNameGamesReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.toniKroosGamesReports)},s.toDisplayString(t.data.name),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.playerDataGamesReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerDataReports)},[t.canPlayVideos||t.game.awayTeam.team_id==t.teamWidget&&t.typeData!=1?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(r,{"icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize,onClick:a[0]||(a[0]=c=>o.clickEventMedia(t.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamsAmericaReports)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.americaIcon1Reports),alt:"",src:t.data.logo},null,10,Fo)],2)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createVNode(r,{icon:"","icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamsAmericaReports)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.americaIcon1Reports),alt:"",src:t.data.logo},null,10,Bo)],2)],64))],2),t.arrow?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.icnExpandReports),onClick:a[1]||(a[1]=c=>o.clickExpand(t.data.player_id))},[(s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass([e.$style.arrowExpandIconReports,t.isExpanded?e.$style.rotateReports:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,Ao)],10,zo))],2)):s.createCommentVNode("",!0)],2)],2)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.headerTopsTeamsReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerHeaderReports),id:"header-container"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.headerTopTeamReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamPhotoReports),id:"container-team"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.positionWrapperReports)},[s.createElementVNode("b",{class:s.normalizeClass(e.$style.positionReports)},[t.showPosition?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createTextVNode(s.toDisplayString(t.data.top),1)],64)):s.createCommentVNode("",!0)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.teamLogoReports)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgNecaxaIconReports),alt:"",src:t.data.logo},null,10,Io)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerInfoGamesReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.leftContainerReports)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.nameReports)},s.toDisplayString(t.data.name_team),3),s.createVNode(r,{"icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize,onClick:a[2]||(a[2]=c=>o.clickEventMedia(t.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.btnVideosOptions1GamesReports)},[s.createVNode(r,{"icon-size":t.iconSize,"icon-position":t.iconPosition,width:t.buttonWidth,"button-max-width":t.buttonMaxWidth,height:t.buttonHeight,"border-radius":t.buttonRadius,"border-width":t.buttonBorderWidth,"background-color":t.buttonBackground,"font-family":t.buttonfontFamily,"border-color":t.buttonBorderColor,"text-value":t.data.total+" "+t.categoryName.toLowerCase(),"font-size":t.buttonFontSize,onClick:a[3]||(a[3]=c=>o.clickEventMedia(t.data))},null,8,["icon-size","icon-position","width","button-max-width","height","border-radius","border-width","background-color","font-family","border-color","text-value","font-size"]),s.createElementVNode("div",{class:s.normalizeClass(e.$style.verVideosType1Reports)},s.toDisplayString(t.data.total),3)],2)],2),t.arrow?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.arrowExpandReports),onClick:a[4]||(a[4]=c=>o.clickExpand(t.data.player_id))},[(s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass([e.$style.arrowExpandIconReports,t.isExpanded?e.$style.rotateReports:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,Go)],10,Oo))],2)):s.createCommentVNode("",!0)],2)],2)],2)],2)):s.createCommentVNode("",!0)])}const vo=j(yt,[["render",Lo],["__cssModules",{$style:Vo}]]),Wo={rotate:"_rotate_tumgv_3",positionContainer:"_positionContainer_tumgv_50",positionContainer300:"_positionContainer300_tumgv_57",positionContainer620:"_positionContainer620_tumgv_64",rowwPlayerGamesReports:"_rowwPlayerGamesReports_tumgv_71",rowwPlayer300GamesReports:"_rowwPlayer300GamesReports_tumgv_87",rowwPlayer960GamesReports:"_rowwPlayer960GamesReports_tumgv_103",rowwPlayer420GamesReports:"_rowwPlayer420GamesReports_tumgv_118",rowwPlayer460GamesReports:"_rowwPlayer460GamesReports_tumgv_134",containerLeftGames:"_containerLeftGames_tumgv_151",containerLeft300Games:"_containerLeft300Games_tumgv_159",containerLeft420Games:"_containerLeft420Games_tumgv_167",containerLeft620Games:"_containerLeft620Games_tumgv_175",iconFavoritesType1:"_iconFavoritesType1_tumgv_182",iconFavoritesType1300:"_iconFavoritesType1300_tumgv_190",iconFavoritesType1320:"_iconFavoritesType1320_tumgv_198",iconFavorites:"_iconFavorites_tumgv_182",iconFavorites300:"_iconFavorites300_tumgv_214",iconFavorites420:"_iconFavorites420_tumgv_222",playerContainerGames:"_playerContainerGames_tumgv_230",playerContainer300Games:"_playerContainer300Games_tumgv_242",playerContainer420Games:"_playerContainer420Games_tumgv_254",playerContainer460Games:"_playerContainer460Games_tumgv_266",playerContainerType1Games:"_playerContainerType1Games_tumgv_278",playerContainerType1300Games:"_playerContainerType1300Games_tumgv_288",playerContainerType1320Games:"_playerContainerType1320Games_tumgv_298",playerContainerType1460Games:"_playerContainerType1460Games_tumgv_308",imgPlayerIcon:"_imgPlayerIcon_tumgv_318",imgPlayerIcon300:"_imgPlayerIcon300_tumgv_328",imgPlayerIcon460:"_imgPlayerIcon460_tumgv_338",imgPlayerIcon420:"_imgPlayerIcon420_tumgv_348",manchesterUnitedGames:"_manchesterUnitedGames_tumgv_358",manchesterUnited300Games:"_manchesterUnited300Games_tumgv_369",manchesterUnited360Games:"_manchesterUnited360Games_tumgv_381",manchesterUnited420Games:"_manchesterUnited420Games_tumgv_392",manchesterUnited460Games:"_manchesterUnited460Games_tumgv_403",containerRightGames:"_containerRightGames_tumgv_414",containerRight300Games:"_containerRight300Games_tumgv_423",containerRight960Games:"_containerRight960Games_tumgv_435",containerRight420Games:"_containerRight420Games_tumgv_445",numberOfVideos:"_numberOfVideos_tumgv_456",numberOfVideos300:"_numberOfVideos300_tumgv_462",numberOfVideos620:"_numberOfVideos620_tumgv_469",block02Games:"_block02Games_tumgv_475",block02300Games:"_block02300Games_tumgv_484",block02960Games:"_block02960Games_tumgv_493",block02620Games:"_block02620Games_tumgv_502",block02420Games:"_block02420Games_tumgv_509",verVideos:"_verVideos_tumgv_517",verVideos620:"_verVideos620_tumgv_523",numberPosition:"_numberPosition_tumgv_526",numberPosition300:"_numberPosition300_tumgv_532",shapeIcon:"_shapeIcon_tumgv_539",chivasIcon:"_chivasIcon_tumgv_544",imgTeamIcon:"_imgTeamIcon_tumgv_555",imgTeamIcon300:"_imgTeamIcon300_tumgv_560",teamName:"_teamName_tumgv_565",nameTeamGames:"_nameTeamGames_tumgv_571",dfC:"_dfC_tumgv_580",position:"_position_tumgv_50",age:"_age_tumgv_590",manchesterUnitedIcon:"_manchesterUnitedIcon_tumgv_598",country:"_country_tumgv_605",playedGames:"_playedGames_tumgv_612",playedMinutes:"_playedMinutes_tumgv_619",block01:"_block01_tumgv_626",leagueName:"_leagueName_tumgv_633",roleCharacterIcon:"_roleCharacterIcon_tumgv_639",btnVideosGames:"_btnVideosGames_tumgv_647",containerBtnVideosGames:"_containerBtnVideosGames_tumgv_662",containerBtnVideos300Games:"_containerBtnVideos300Games_tumgv_672",containerBtnVideos620Games:"_containerBtnVideos620Games_tumgv_682",containesOptions:"_containesOptions_tumgv_691",arrowExpandIcon:"_arrowExpandIcon_tumgv_699",rowTeam:"_rowTeam_tumgv_708",rowTeam300:"_rowTeam300_tumgv_726",rowTeam420:"_rowTeam420_tumgv_744",rowTeam320:"_rowTeam320_tumgv_762",rowTeam460:"_rowTeam460_tumgv_781",rowTeam350:"_rowTeam350_tumgv_800",containerLeftType1:"_containerLeftType1_tumgv_818",containerLeftType1300:"_containerLeftType1300_tumgv_824",containerLeftType1680:"_containerLeftType1680_tumgv_832",containerLeftType1320:"_containerLeftType1320_tumgv_839",containerLeftType1350:"_containerLeftType1350_tumgv_847",positionContainertype1:"_positionContainertype1_tumgv_854",positionContainertype1300:"_positionContainertype1300_tumgv_862",positionContainertype1380:"_positionContainertype1380_tumgv_870",positionContainertype1680:"_positionContainertype1680_tumgv_878",positionContainertype1420:"_positionContainertype1420_tumgv_886",manchesterUnitedType1:"_manchesterUnitedType1_tumgv_894",manchesterUnitedType1300:"_manchesterUnitedType1300_tumgv_900",manchesterUnitedType1460:"_manchesterUnitedType1460_tumgv_908",manchesterUnitedType1320:"_manchesterUnitedType1320_tumgv_915",containerRightType1Games:"_containerRightType1Games_tumgv_922",containerRightType1300Games:"_containerRightType1300Games_tumgv_933",containerRightType1420Games:"_containerRightType1420Games_tumgv_945",containerRightType1320Games:"_containerRightType1320Games_tumgv_956",teamNameWrapperType1:"_teamNameWrapperType1_tumgv_967",teamNameWrapperType1300:"_teamNameWrapperType1300_tumgv_974",teamNameWrapperType1960:"_teamNameWrapperType1960_tumgv_982",teamNameWrapperType11086:"_teamNameWrapperType11086_tumgv_989",ageWrapperType1:"_ageWrapperType1_tumgv_996",ageWrapperType1300:"_ageWrapperType1300_tumgv_1003",ageWrapperType1680:"_ageWrapperType1680_tumgv_1011",ageWrapperType11086:"_ageWrapperType11086_tumgv_1019",ageType1:"_ageType1_tumgv_1027",ageType1300:"_ageType1300_tumgv_1035",ageType1960:"_ageType1960_tumgv_1038",playedGamesWrapperType1:"_playedGamesWrapperType1_tumgv_1041",playedGamesWrapperType1300:"_playedGamesWrapperType1300_tumgv_1048",playedGamesWrapperType1680:"_playedGamesWrapperType1680_tumgv_1051",playedGamesWrapperType1960:"_playedGamesWrapperType1960_tumgv_1054",playedGamesType1:"_playedGamesType1_tumgv_1057",playedGamesType1300:"_playedGamesType1300_tumgv_1064",playedGamesType1540:"_playedGamesType1540_tumgv_1068",playedGamesType1960:"_playedGamesType1960_tumgv_1072",playedGamesType11086:"_playedGamesType11086_tumgv_1075",playedMinutesWrapperType1:"_playedMinutesWrapperType1_tumgv_1078",playedMinutesWrapperType1300:"_playedMinutesWrapperType1300_tumgv_1085",playedMinutesWrapperType11086:"_playedMinutesWrapperType11086_tumgv_1092",playedMinutesType1:"_playedMinutesType1_tumgv_1099",playedMinutesType1300:"_playedMinutesType1300_tumgv_1106",playedMinutesType1680:"_playedMinutesType1680_tumgv_1109",block02Type1Games:"_block02Type1Games_tumgv_1112",block02Type1300Games:"_block02Type1300Games_tumgv_1120",block02Type1680Games:"_block02Type1680Games_tumgv_1129",block02Type1320Games:"_block02Type1320Games_tumgv_1137",block02Type1350Games:"_block02Type1350Games_tumgv_1146",leagueNameWrapperType1:"_leagueNameWrapperType1_tumgv_1154",leagueNameWrapperType1300:"_leagueNameWrapperType1300_tumgv_1162",leagueNameWrapperType1680:"_leagueNameWrapperType1680_tumgv_1165",leagueNameWrapperType1960:"_leagueNameWrapperType1960_tumgv_1168",leagueNameType1:"_leagueNameType1_tumgv_1176",leagueNameType1300:"_leagueNameType1300_tumgv_1185",leagueNameType1960:"_leagueNameType1960_tumgv_1188",numberOfVideosType1:"_numberOfVideosType1_tumgv_1198",numberOfVideosType1300:"_numberOfVideosType1300_tumgv_1205",numberOfVideosType1680:"_numberOfVideosType1680_tumgv_1213",numberOfVideosType11232:"_numberOfVideosType11232_tumgv_1220",vectorIconType1:"_vectorIconType1_tumgv_1227",block01TitlesType1:"_block01TitlesType1_tumgv_1244",numberPositionType1:"_numberPositionType1_tumgv_1251",numberPositionType1300:"_numberPositionType1300_tumgv_1257",shapeIconType1:"_shapeIconType1_tumgv_1264",tijuanaIconType1:"_tijuanaIconType1_tumgv_1270",tijuanaWrapperType1:"_tijuanaWrapperType1_tumgv_1276",tijuanaWrapperType1NoBg:"_tijuanaWrapperType1NoBg_tumgv_1287",teamNameType1:"_teamNameType1_tumgv_1295",roleCharacterIconType1:"_roleCharacterIconType1_tumgv_1302",verVideosType1:"_verVideosType1_tumgv_1309",btnVideosType1Games:"_btnVideosType1Games_tumgv_1315",containerBtnVideosType1Games:"_containerBtnVideosType1Games_tumgv_1330",containesOptionsType1Games:"_containesOptionsType1Games_tumgv_1341",arrowExpandIconType1:"_arrowExpandIconType1_tumgv_1350",templateTablaProductividadType1:"_templateTablaProductividadType1_tumgv_1356",verVideosType11232:"_verVideosType11232_tumgv_1368",templateTablaProductividadType1320:"_templateTablaProductividadType1320_tumgv_1372",verVideosType1680:"_verVideosType1680_tumgv_1376"},gt={components:{},computed:{manchesterUnitedType1Class(){const e=this.elementSize.width;return e<=300?this.$style.manchesterUnitedType1300:e<=320?this.$style.manchesterUnitedType1320:e<=460?this.$style.manchesterUnitedType1460:this.$style.manchesterUnitedType1},containerRightType1Class(){const e=this.elementSize.width;return e<=300?this.$style.containerRightType1300Games:e<=320?this.$style.containerRightType1320Games:e<=420?this.$style.containerRightType1420Games:this.$style.containerRightType1Games},teamNameWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.teamNameWrapperType1300:e<=960?this.$style.teamNameWrapperType1960:e<=1086?this.$style.teamNameWrapperType11086:this.$style.teamNameWrapperType1},ageWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.ageWrapperType1300:e<=680?this.$style.ageWrapperType1680:e<=1086?this.$style.ageWrapperType11086:this.$style.ageWrapperType1},ageType1Class(){const e=this.elementSize.width;return e<=300?this.$style.ageType1300:e<=960?this.$style.ageType1960:this.$style.ageType1},playedGamesWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playedGamesWrapperType1300:e<=680?this.$style.playedGamesWrapperType1680:e<=960?this.$style.playedGamesWrapperType1960:this.$style.playedGamesWrapperType1},playedGamesType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playedGamesType1300:e<=540?this.$style.playedGamesType1540:e<=960?this.$style.playedGamesType1960:e<=1086?this.$style.playedGamesType11086:this.$style.playedGamesType1},playedMinutesWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playedMinutesWrapperType1300:e<=1086?this.$style.playedMinutesWrapperType11086:this.$style.playedMinutesWrapperType1},playedMinutesType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playedMinutesType1300:e<=680?this.$style.playedMinutesType1680:this.$style.playedMinutesType1},block02Type1Class(){const e=this.elementSize.width;return e<=300?this.$style.block02Type1300Games:e<=320?this.$style.block02Type1320Games:e<=350?this.$style.block02Type1350Games:e<=680?this.$style.block02Type1680Games:this.$style.block02Type1Games},leagueNameWrapperType1Class(){const e=this.elementSize.width;return e<=300?this.$style.leagueNameWrapperType1300:e<=680?this.$style.leagueNameWrapperType1680:e<=960?this.$style.leagueNameWrapperType1960:this.$style.leagueNameWrapperType1},leagueNameType1Class(){const e=this.elementSize.width;return e<=300?this.$style.leagueNameType1300:e<=960?this.$style.leagueNameType1960:this.$style.leagueNameType1},numberOfVideosType1Class(){const e=this.elementSize.width;return e<=300?this.$style.numberOfVideosType1300:e<=680?this.$style.numberOfVideosType1680:e<=1232?this.$style.numberOfVideosType11232:this.$style.numberOfVideosType1},containerBtnVideosType1Class(){return this.elementSize.width<=300?this.$style.containerBtnVideosType1300Games:this.$style.containerBtnVideosType1Games},containerLeftType1Class(){const e=this.elementSize.width;return e<=300?this.$style.containerLeftType1300:e<=320?this.$style.containerLeftType1320:e<=350?this.$style.containerLeftType1350:e<=680?this.$style.containerLeftType1680:this.$style.containerLeftType1},positionContainertype1Class(){const e=this.elementSize.width;return e<=300?this.$style.positionContainertype1300:e<=380?this.$style.positionContainertype1380:e<=420?this.$style.positionContainertype1420:e<=680?this.$style.positionContainertype1680:this.$style.positionContainertype1},rowTeamClass(){const e=this.elementSize.width;return e<=300?this.$style.rowTeam300:e<=320?this.$style.rowTeam320:e<=350?this.$style.rowTeam350:e<=420?this.$style.rowTeam420:e<=460?this.$style.rowTeam460:this.$style.rowTeam},containerBtnVideosClass(){return this.elementSize.width<=300?this.$style.containerBtnVideos300Games:this.$style.containerBtnVideosGames},numberOfVideosClass(){const e=this.elementSize.width;return e<=300?this.$style.numberOfVideos300:e<=620?this.$style.numberOfVideos620:this.$style.numberOfVideos},block02Class(){const e=this.elementSize.width;return e<=300?this.$style.block02300Games:e<=420?this.$style.block02420Games:e<=620?this.$style.block02620Games:e<=960?this.$style.block02960Games:this.$style.block02Games},imgPlayerIconClass(){const e=this.elementSize.width;return e<=300?this.$style.imgPlayerIcon300:e<=420?this.$style.imgPlayerIcon420:e<=460?this.$style.imgPlayerIcon460:this.$style.imgPlayerIcon},manchesterUnitedClass(){const e=this.elementSize.width;return e<=300?this.$style.manchesterUnited300Games:e<=360?this.$style.manchesterUnited360Games:e<=420?this.$style.manchesterUnited420Games:e<=460?this.$style.manchesterUnited460Games:this.$style.manchesterUnitedGames},containerRightClass(){const e=this.elementSize.width;return e<=300?this.$style.containerRight300Games:e<=420?this.$style.containerRight420Games:e<=960?this.$style.containerRight960Games:this.$style.containerRightGames},playerContainerType1Class(){const e=this.elementSize.width;return e<=300?this.$style.playerContainerType1300Games:e<=320?this.$style.playerContainerType1320Games:e<=460?this.$style.playerContainerType1460Games:this.$style.playerContainerType1Games},playerContainerClass(){const e=this.elementSize.width;return e<=300?this.$style.playerContainer300Games:e<=420?this.$style.playerContainer420Games:e<=460?this.$style.playerContainer460Games:this.$style.playerContainerGames},iconFavoritesClass(){const e=this.elementSize.width;return e<=300?this.$style.iconFavorites300:e<=420?this.$style.iconFavorites420:this.$style.iconFavorites},iconFavoritesType1Class(){const e=this.elementSize.width;return e<=300?this.$style.iconFavoritesType1300:e<=320?this.$style.iconFavoritesType1320:this.$style.iconFavoritesType1},containerLeftClass(){const e=this.elementSize.width;return e<=300?this.$style.containerLeft300Games:e<=420?this.$style.containerLeft420Games:e<=620?this.$style.containerLeft620Games:this.$style.containerLeftGames},positionContainerClass(){const e=this.elementSize.width;return e<=300?this.$style.positionContainer300:e<=620?this.$style.positionContainer620:this.$style.positionContainer},numberPositionType1Class(){return this.elementSize.width<=300?this.$style.numberPositionType1300:this.$style.numberPositionType1},numberPositionClass(){return this.elementSize.width<=300?this.$style.numberPosition300:this.$style.numberPosition},imgTeamIconClass(){return this.elementSize.width<=300?this.$style.imgTeamIcon300:this.$style.imgTeamIcon},rowwPlayerClass(){const e=this.elementSize.width;return e<=300?this.$style.rowwPlayer300GamesReports:e<=420?this.$style.rowwPlayer420GamesReports:e<=460?this.$style.rowwPlayer460GamesReports:e<=960?this.$style.rowwPlayer960GamesReports:this.$style.rowwPlayerGamesReports}},setup(){const e=s.ref("myDivRef2"),{elementSize:a}=be(e);return{myDivRef2:e,elementSize:a}},props:{typeData:{type:Number,default:1},canPlayVideos:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},type:{type:Number,default:0},typeView:{type:Number,default:0},isExpanded:{type:Boolean,default:!1},background:{type:String,default:"#172531"},height:{type:String,default:"35px"},fontColor:{type:String,default:"#F4F4F4"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"},data:{type:Object,default:()=>{}},game:{type:Object,default:()=>{}},colorArrow:{type:String,default:"#D9D9D9"},buttonTextValue:{type:String,default:"Ver videos"},iconSize:{type:String,default:"13px"},iconSizeMini:{type:String,default:"13px"},iconPosition:{type:String,default:"left"},buttonWidth:{type:String,default:"93px"},buttonWidthMini:{type:String,default:"24px"},buttonHeightMini:{type:String,default:"24px"},buttonHeight:{type:String,default:"30px"},buttonRadius:{type:String,default:"30px"},buttonBorderWidth:{type:Number,default:1},buttonBackground:{type:String,default:"#ffffff1a"},buttonfontFamily:{type:String,default:"Poppins-Regular"},buttonBorderColor:{type:String,default:"#55636e"},buttonFontSize:{type:String,default:"10px"},showPosition:{type:Boolean,default:!0}},data:()=>({expand:!1}),methods:{clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},emitEventMedia(e){this.$emit("mediadata",e)}}},Is=()=>{s.useCssVars(e=>({v4269c8ea:e.height,v5d570d92:e.background,ba37bb58:e.fontSize,v8e7d9120:e.fontColor,v63bf54f7:e.fontFamily}))},Os=gt.setup;gt.setup=Os?(e,a)=>(Is(),Os(e,a)):Is;const Do={ref:"myDivRef2",style:{"border-left":"rgba(13, 29, 41, 0.7) 1px solid","border-right":"rgba(13, 29, 41, 0.7) 1px solid"}},Mo=["src"],$o=["src"],Uo=["fill"],jo=["fill"],Jo=["src"],Ho=["fill"],qo=["fill"],Ko=["src"],Zo=["src"],Yo=["src"],Xo=["fill"],Qo=["fill"];function en(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",Do,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.rowwPlayerClass),id:"container-row-player"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftClass),id:"container-left"},[t.showPosition?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.positionContainerClass)},[s.createElementVNode("div",{class:s.normalizeClass(o.numberPositionClass)},s.toDisplayString(t.data.position),3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.playerContainerClass)},[s.createElementVNode("img",{class:s.normalizeClass(o.imgPlayerIconClass),src:t.data.player_photo},null,10,Mo),s.createElementVNode("div",{class:s.normalizeClass(o.manchesterUnitedClass)},[i.elementSize.width<=420?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createTextVNode(s.toDisplayString(t.data.player_short),1)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createTextVNode(s.toDisplayString(t.data.player_name),1)],64))],2)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightClass),id:"container-right"},[s.createElementVNode("div",{class:s.normalizeClass(o.block02Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptions)},[s.createElementVNode("div",{class:s.normalizeClass(o.containerBtnVideosClass)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgTeamIcon),alt:"",src:t.data.team_logo},null,10,$o),s.createElementVNode("div",{class:s.normalizeClass(o.numberOfVideosClass)},s.toDisplayString(t.data.total),3)],2)],2),t.arrow?(s.openBlock(),s.createElementBlock("svg",{key:0,class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[0]||(a[0]=r=>o.clickExpand(t.data.id))},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,jo)],10,Uo)):s.createCommentVNode("",!0)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(o.rowTeamClass),style:s.normalizeStyle(i.elementSize.width>540?"border-bottom: 1px solid rgba(255, 255, 255, 0.1)":""),id:"container-row-player"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftType1Class),id:"container-left"},[t.showPosition?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.positionContainertype1Class)},[s.createElementVNode("div",{class:s.normalizeClass(o.numberPositionType1Class)},s.toDisplayString(t.data.position),3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.playerContainerType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(o.manchesterUnitedType1Class)},s.toDisplayString(t.data.team_abrev),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightType1Class),id:"container-right"},[s.createElementVNode("div",{class:s.normalizeClass(o.block02Type1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptionsType1Games)},[s.createElementVNode("div",{class:s.normalizeClass(o.containerBtnVideosType1Class)},[s.createElementVNode("img",{class:s.normalizeClass(o.imgTeamIconClass),alt:"",src:t.data.team_logo},null,10,Jo),s.createElementVNode("div",{class:s.normalizeClass(o.numberOfVideosType1Class)},s.toDisplayString(t.data.total),3)],2)],2),t.arrow?(s.openBlock(),s.createElementBlock("svg",{key:0,class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[1]||(a[1]=r=>o.clickExpand(t.data.id))},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,qo)],10,Ho)):s.createCommentVNode("",!0)],2)],2)],6)):s.createCommentVNode("",!0),t.type==2?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(o.rowwPlayerClass),id:"container-row-player"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftClass),id:"container-left"},[t.showPosition?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.positionContainerClass)},[s.createElementVNode("div",{class:s.normalizeClass(o.numberPositionClass)},s.toDisplayString(t.data.position),3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.playerContainerClass)},[s.createElementVNode("img",{class:s.normalizeClass(o.imgPlayerIconClass),src:t.data.player_photo},null,10,Ko),s.createElementVNode("div",{class:s.normalizeClass(o.manchesterUnitedClass)},s.toDisplayString(t.data.player_name),3),i.elementSize.width<=420?(s.openBlock(),s.createElementBlock("img",{key:0,class:s.normalizeClass(e.$style.chivasIcon),alt:"",src:t.data.team_logo},null,10,Zo)):s.createCommentVNode("",!0)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightClass),id:"container-right"},[s.createElementVNode("div",{class:s.normalizeClass(o.block02Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptions)},[s.createElementVNode("div",{class:s.normalizeClass(o.containerBtnVideosClass)},[s.createElementVNode("img",{class:s.normalizeClass(e.$style.imgTeamIcon),alt:"",src:t.data.team_logo},null,10,Yo),s.createElementVNode("div",{class:s.normalizeClass(o.numberOfVideosClass)},s.toDisplayString(t.data.total),3)],2)],2),(s.openBlock(),s.createElementBlock("svg",{class:s.normalizeClass([e.$style.arrowExpandIcon,t.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:t.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[2]||(a[2]=r=>o.clickExpand(t.data.id))},[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",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",fill:t.colorArrow},null,8,Qo)],10,Xo))],2)],2)],2)):s.createCommentVNode("",!0)],512)}const tn=j(gt,[["render",en],["__cssModules",{$style:Wo}]]),sn={containerLeftTitles:"_containerLeftTitles_10kz4_60",containerLeftTitles420:"_containerLeftTitles420_10kz4_68",containerLeftTitles620:"_containerLeftTitles620_10kz4_76",containerLeftTitlesTeam:"_containerLeftTitlesTeam_10kz4_85",containerLeftTitlesTeam1180:"_containerLeftTitlesTeam1180_10kz4_93",containerLeftTitlesTeam1090:"_containerLeftTitlesTeam1090_10kz4_101",containerLeftTitlesTeam960:"_containerLeftTitlesTeam960_10kz4_109",containerLeftTitlesTeam860:"_containerLeftTitlesTeam860_10kz4_117",containerLeftTitlesTeam768:"_containerLeftTitlesTeam768_10kz4_125",containerLeftTitlesTeam680:"_containerLeftTitlesTeam680_10kz4_133",containerLeftTitlesTeam620:"_containerLeftTitlesTeam620_10kz4_141",containerLeftTitlesTeam420:"_containerLeftTitlesTeam420_10kz4_149",headTitlesAvanced:"_headTitlesAvanced_10kz4_158",headTitlesAvanced960:"_headTitlesAvanced960_10kz4_173",headTitlesAvanced420:"_headTitlesAvanced420_10kz4_188",headTitlesAvanced540:"_headTitlesAvanced540_10kz4_208",headTitlesAvanced460:"_headTitlesAvanced460_10kz4_223",headTitlesAvanced620:"_headTitlesAvanced620_10kz4_238",position:"_position_10kz4_253",position420:"_position420_10kz4_262",player:"_player_10kz4_265",player420:"_player420_10kz4_276",containerRightTypeAvanced1:"_containerRightTypeAvanced1_10kz4_280",containerRightTitlesAdvanced:"_containerRightTitlesAdvanced_10kz4_287",containerRightTitlesAdvanced960:"_containerRightTitlesAdvanced960_10kz4_296",block02Titles:"_block02Titles_10kz4_305",block02Titles620:"_block02Titles620_10kz4_313",mon1Scouting:"_mon1Scouting_10kz4_317",mon1Scouting960:"_mon1Scouting960_10kz4_327",mon1:"_mon1_10kz4_317",mon1420:"_mon1420_10kz4_345",mon1620:"_mon1620_10kz4_355",icnIcon:"_icnIcon_10kz4_365",icnIcon960:"_icnIcon960_10kz4_370",icnIcon420:"_icnIcon420_10kz4_376",teamTitle:"_teamTitle_10kz4_380",positionTitle:"_positionTitle_10kz4_390",ageTitle:"_ageTitle_10kz4_398",partidos:"_partidos_10kz4_406",playedGamesTitle:"_playedGamesTitle_10kz4_410",playedMinutesTitle:"_playedMinutesTitle_10kz4_420",block01Titles:"_block01Titles_10kz4_429",mon:"_mon_10kz4_317",containesOptionsTitles:"_containesOptionsTitles_10kz4_445",templateTablaProductividadType1:"_templateTablaProductividadType1_10kz4_452",templateTablaProductividadType1400:"_templateTablaProductividadType1400_10kz4_464",headTitlesType1:"_headTitlesType1_10kz4_478",headTitlesType1420:"_headTitlesType1420_10kz4_491",headTitlesType1400:"_headTitlesType1400_10kz4_507",headTitlesType1540:"_headTitlesType1540_10kz4_523",headTitlesType1460:"_headTitlesType1460_10kz4_537",headTitlesType1680:"_headTitlesType1680_10kz4_551",headTitlesType1350:"_headTitlesType1350_10kz4_564",positionType1:"_positionType1_10kz4_579",positionType1400:"_positionType1400_10kz4_588",teamType1:"_teamType1_10kz4_598",teamType1400:"_teamType1400_10kz4_607",frecuenciaType1:"_frecuenciaType1_10kz4_617",frecuenciaType1540:"_frecuenciaType1540_10kz4_625",containerLeftTitlesType1:"_containerLeftTitlesType1_10kz4_634",frecuenciaWrapperType1:"_frecuenciaWrapperType1_10kz4_642",frecuenciaWrapperType1680:"_frecuenciaWrapperType1680_10kz4_651",promedioPartidoType1:"_promedioPartidoType1_10kz4_659",promedioEstePartidoType1:"_promedioEstePartidoType1_10kz4_663",promedioEstePartidoType1960:"_promedioEstePartidoType1960_10kz4_671",promedioEstePartidoWrapperType1:"_promedioEstePartidoWrapperType1_10kz4_675",promedioEstePartidoWrapperType11200:"_promedioEstePartidoWrapperType11200_10kz4_683",promedioEstePartidoWrapperType11090:"_promedioEstePartidoWrapperType11090_10kz4_692",promedioEstePartidoWrapperType11086:"_promedioEstePartidoWrapperType11086_10kz4_702",promedioPartidosType1:"_promedioPartidosType1_10kz4_711",promedioPartidosWrapperType1:"_promedioPartidosWrapperType1_10kz4_718",promedioPartidosWrapperType1960:"_promedioPartidosWrapperType1960_10kz4_726",promedioPartidosWrapperType11086:"_promedioPartidosWrapperType11086_10kz4_729",partidosJugadosType1:"_partidosJugadosType1_10kz4_732",partidosJugadosType1960:"_partidosJugadosType1960_10kz4_738",partidosJugadosWrapperType1:"_partidosJugadosWrapperType1_10kz4_745",partidosJugadosWrapperType11200:"_partidosJugadosWrapperType11200_10kz4_753",partidosJugadosWrapperType11180:"_partidosJugadosWrapperType11180_10kz4_761",partidosJugadosWrapperType11170:"_partidosJugadosWrapperType11170_10kz4_769",partidosJugadosWrapperType11140:"_partidosJugadosWrapperType11140_10kz4_777",partidosJugadosWrapperType11086:"_partidosJugadosWrapperType11086_10kz4_785",partidosJugadosWrapperType1960:"_partidosJugadosWrapperType1960_10kz4_793",partidosJugadosWrapperType1880:"_partidosJugadosWrapperType1880_10kz4_801",partidosJugadosWrapperType1860:"_partidosJugadosWrapperType1860_10kz4_809",partidosJugadosWrapperType1830:"_partidosJugadosWrapperType1830_10kz4_817",partidosJugadosWrapperType1790:"_partidosJugadosWrapperType1790_10kz4_825",partidosJugadosWrapperType1930:"_partidosJugadosWrapperType1930_10kz4_833",partidosJugadosWrapperType1770:"_partidosJugadosWrapperType1770_10kz4_841",block01TitlesType1:"_block01TitlesType1_10kz4_844",monType1:"_monType1_10kz4_852",monType1960:"_monType1960_10kz4_861",monType1680:"_monType1680_10kz4_871",videosType1:"_videosType1_10kz4_874",videosType1680:"_videosType1680_10kz4_884",videosType1600:"_videosType1600_10kz4_893",videosType1540:"_videosType1540_10kz4_902",videosType1420:"_videosType1420_10kz4_911",videosType1400:"_videosType1400_10kz4_920",containesOptionsTitlesType1:"_containesOptionsTitlesType1_10kz4_932",containesOptionsTitlesType1768:"_containesOptionsTitlesType1768_10kz4_940",containesOptionsTitlesType1730:"_containesOptionsTitlesType1730_10kz4_947",containesOptionsTitlesType1690:"_containesOptionsTitlesType1690_10kz4_954",icnIconType1:"_icnIconType1_10kz4_961",icnIconType1420:"_icnIconType1420_10kz4_967",icnIconType1400:"_icnIconType1400_10kz4_974",block02TitlesType1:"_block02TitlesType1_10kz4_978",block02TitlesType1680:"_block02TitlesType1680_10kz4_985",block02TitlesType1350:"_block02TitlesType1350_10kz4_992",containerRightTitlesType1:"_containerRightTitlesType1_10kz4_999",containerRightTitlesType1420:"_containerRightTitlesType1420_10kz4_1008"},_t={components:{},computed:{icnIconType1Class(){const e=this.elementSize.width;return e<=400?this.$style.icnIconType1400:e<=420?this.$style.icnIconType1420:this.$style.icnIconType1},videosType1Class(){const e=this.elementSize.width;return e<=400?this.$style.videosType1400:e<=420?this.$style.videosType1420:e<=540?this.$style.videosType1540:e<=600?this.$style.videosType1600:e<=680?this.$style.videosType1680:this.$style.videosType1},monType1Class(){const e=this.elementSize.width;return e<=680?this.$style.monType1680:e<=960?this.$style.monType1960:this.$style.monType1},block02TitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.block02TitlesType1350:e<=680?this.$style.block02TitlesType1680:this.$style.block02TitlesType1},containesOptionsTitlesType1Class(){const e=this.elementSize.width;return e<=400?this.$style.containesOptionsTitlesType1400:e<=690?this.$style.containesOptionsTitlesType1690:e<=730?this.$style.containesOptionsTitlesType1730:e<=768?this.$style.containesOptionsTitlesType1768:this.$style.containesOptionsTitlesType1},partidosJugadosWrapperType1Class(){const e=this.elementSize.width;return e<=770?this.$style.promedioPartidosWrapperType1770:e<=790?this.$style.partidosJugadosWrapperType1790:e<=830?this.$style.partidosJugadosWrapperType1830:e<=860?this.$style.partidosJugadosWrapperType1860:e<=880?this.$style.partidosJugadosWrapperType1880:e<=930?this.$style.partidosJugadosWrapperType1930:e<=960?this.$style.partidosJugadosWrapperType1960:e<=1086?this.$style.partidosJugadosWrapperType11086:e<=1140?this.$style.partidosJugadosWrapperType11140:e<=1170?this.$style.partidosJugadosWrapperType11170:e<=1180?this.$style.partidosJugadosWrapperType11180:e<=1200?this.$style.partidosJugadosWrapperType11200:this.$style.partidosJugadosWrapperType1},promedioPartidosWrapperType1Class(){const e=this.elementSize.width;return e<=960?this.$style.promedioPartidosWrapperType1960:e<=1086?this.$style.promedioPartidosWrapperType11086:this.$style.promedioPartidosWrapperType1},partidosJugadosType1Class(){return this.elementSize.width<=960?this.$style.partidosJugadosType1960:this.$style.partidosJugadosType1},templateTablaProductividadType1Class(){return this.elementSize.width<=400?this.$style.templateTablaProductividadType1400:this.$style.templateTablaProductividadType1},promedioEstePartidoType1Class(){return this.elementSize.width<=960?this.$style.promedioEstePartidoType1960:this.$style.promedioEstePartidoType1},headTitlesType1Class(){const e=this.elementSize.width;return e<=350?this.$style.headTitlesType1350:e<=400?this.$style.headTitlesType1400:e<=420?this.$style.headTitlesType1420:e<=460?this.$style.headTitlesType1460:e<=540?this.$style.headTitlesType1540:e<=680?this.$style.headTitlesType1680:this.$style.headTitlesType1},headTitlesClassAvanced(){const e=this.elementSize.width;return e<=420?this.$style.headTitlesAvanced420:e<=460?this.$style.headTitlesAvanced460:e<=540?this.$style.headTitlesAvanced540:e<=620?this.$style.headTitlesAvanced620:e<=960?this.$style.headTitlesAvanced960:this.$style.headTitlesAvanced},containerLeftTitlesClass(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitles420:e<=620?this.$style.containerLeftTitles620:this.$style.containerLeftTitles},containerLeftTitlesClassTeam(){const e=this.elementSize.width;return e<=420?this.$style.containerLeftTitlesTeam420:e<=620?this.$style.containerLeftTitlesTeam620:e<=680?this.$style.containerLeftTitlesTeam680:e<=768?this.$style.containerLeftTitlesTeam768:e<=860?this.$style.containerLeftTitlesTeam860:e<=960?this.$style.containerLeftTitlesTeam960:e<=1090?this.$style.containerLeftTitlesTeam1090:e<=1180?this.$style.containerLeftTitlesTeam1180:this.$style.containerLeftTitlesTeam},icnIconClass(){const e=this.elementSize.width;return e<=420?this.$style.icnIcon420:e<=960?this.$style.icnIcon960:this.$style.icnIcon},mon1Class(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=620?this.$style.mon1620:this.$style.mon1},mon1ScoutingClass(){const e=this.elementSize.width;return e<=420?this.$style.mon1420:e<=960?this.$style.mon1Scouting960:this.$style.mon1Scouting},promedioEstePartidoWrapperType1Class(){const e=this.elementSize.width;return e<=1086?this.$style.promedioEstePartidoWrapperType11086:e<=1090?this.$style.promedioEstePartidoWrapperType11090:e<=1200?this.$style.promedioEstePartidoWrapperType11200:this.$style.promedioEstePartidoWrapperType1},frecuenciaWrapperType1Class(){return this.elementSize.width<=680?this.$style.frecuenciaWrapperType1680:this.$style.frecuenciaWrapperType1},frecuenciaType1Class(){return this.elementSize.width<=540?this.$style.frecuenciaType1540:this.$style.frecuenciaType1},positionType1Class(){return this.elementSize.width<=400?this.$style.positionType1400:this.$style.positionType1},containerRightType1ClassAvanced(){return this.elementSize.width<=420?this.$style.containerRightTypeAvanced1420:this.$style.containerRightTypeAvanced1},containerRightTitlesType1Class(){return this.elementSize.width<=420?this.$style.containerRightTitlesType1420:this.$style.containerRightTitlesType1},teamType1Class(){return this.elementSize.width<=400?this.$style.teamType1400:this.$style.teamType1},playerClass(){return this.elementSize.width<=420?this.$style.player420:this.$style.player},positionClass(){return this.elementSize.width<=420?this.$style.position420:this.$style.position},containerRightTitlesClassAdvanced(){return this.elementSize.width<=960?this.$style.containerRightTitlesAdvanced960:this.$style.containerRightTitlesAdvanced},block02TitlesClass(){return this.elementSize.width<=620?this.$style.block02Titles960:this.$style.block02Titles}},setup(){const e=s.ref("myDivRef"),{elementSize:a}=be(e);return{myDivRef:e,elementSize:a}},props:{type:{type:Number,default:0},background:{type:String,default:"#172531"},height:{type:String,default:"71px"},heightTeam:{type:String,default:"65px"},fontColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"Poppins-Regular"}},watch:{},data:()=>({}),async created(){},methods:{}},Gs=()=>{s.useCssVars(e=>({v833b0df6:e.background,v1c64387e:e.height,v42ac62f2:e.fontSize,v149ddcc6:e.fontColor,v766a7f2c:e.fontFamily,v669f7ffb:e.heightTeam}))},Ls=_t.setup;_t.setup=Ls?(e,a)=>(Gs(),Ls(e,a)):Gs;const an={ref:"myDivRef"};function on(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",an,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.headTitlesClassAvanced),id:"container-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftTitlesClass),id:"container-left-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.positionClass)},"Pos.",2),s.createElementVNode("div",{class:s.normalizeClass(o.playerClass)},"Jugador",2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightTitlesClassAdvanced),id:"container-right-titles"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.teamTitle)},"Equipo",2)):s.createCommentVNode("",!0),i.elementSize.width>730?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.positionTitle)},"Posición",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.$style.ageTitle)},"edad",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:3,class:s.normalizeClass(e.$style.ageTitle)},"País",2)):s.createCommentVNode("",!0),i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:4,class:s.normalizeClass(e.$style.playedGamesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Partidos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0),i.elementSize.width>635?(s.openBlock(),s.createElementBlock("div",{key:5,class:s.normalizeClass(e.$style.playedMinutesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Minutos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(o.block02TitlesClass)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptionsTitles)},[i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.mon)},"Total",2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.mon1Class)},"Videos",2)],2)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(o.templateTablaProductividadType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(o.headTitlesType1Class),id:"container-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftTitlesClassTeam),id:"container-left-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.positionType1Class)},"Pos.",2),s.createElementVNode("div",{class:s.normalizeClass(o.teamType1Class)},"Equipo",2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightType1ClassAvanced)},[s.createElementVNode("div",{class:s.normalizeClass(o.frecuenciaWrapperType1Class)},[i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.frecuenciaType1Class)},"Frecuencia",2)):s.createCommentVNode("",!0)],2),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.promedioEstePartidoWrapperType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(o.promedioEstePartidoType1Class)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},"Promedio partido",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},"este Torneo",2)],2)],2)):s.createCommentVNode("",!0),i.elementSize.width>1086?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(o.promedioPartidosWrapperType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.promedioPartidosType1)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},[...a[0]||(a[0]=[s.createTextVNode("Promedio partido",-1),s.createElementVNode("br",null,null,-1),s.createTextVNode("Torneo anterior",-1)])],2)],2)],2)):s.createCommentVNode("",!0),i.elementSize.width>770?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(o.partidosJugadosWrapperType1Class)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.partidosJugadosType1)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.promedioPartidoType1)},[...a[1]||(a[1]=[s.createTextVNode("Partidos ",-1),s.createElementVNode("br",null,null,-1),s.createTextVNode("Jugados",-1)])],2)],2)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containesOptionsTitlesType1Class)},[i.elementSize.width>680?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(o.monType1Class)},"total",2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(o.videosType1Class)},"Videos",2)],2)],2)],2)):s.createCommentVNode("",!0),t.type==2?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(o.headTitlesClassAvanced),id:"container-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.containerLeftTitlesClass),id:"container-left-titles"},[s.createElementVNode("div",{class:s.normalizeClass(o.positionClass)},"Pos.",2),s.createElementVNode("div",{class:s.normalizeClass(o.playerClass)},"Jugador",2)],2),s.createElementVNode("div",{class:s.normalizeClass(o.containerRightTitlesClassAdvanced),id:"container-right-titles"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.teamTitle)},"Equipo",2)):s.createCommentVNode("",!0),i.elementSize.width>730?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.positionTitle)},"Posición",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.$style.ageTitle)},"edad",2)):s.createCommentVNode("",!0),i.elementSize.width>960?(s.openBlock(),s.createElementBlock("div",{key:3,class:s.normalizeClass(e.$style.ageTitle)},"País",2)):s.createCommentVNode("",!0),i.elementSize.width>540?(s.openBlock(),s.createElementBlock("div",{key:4,class:s.normalizeClass(e.$style.playedGamesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Partidos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0),i.elementSize.width>635?(s.openBlock(),s.createElementBlock("div",{key:5,class:s.normalizeClass(e.$style.playedMinutesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Minutos",2),s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):s.createCommentVNode("",!0),i.elementSize.width>635?(s.openBlock(),s.createElementBlock("div",{key:6,class:s.normalizeClass(e.$style.playedMinutesTitle)},[s.createElementVNode("p",{class:s.normalizeClass(e.$style.partidos)},"Liga",2)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(o.block02TitlesClass)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.containesOptionsTitles)},[s.createElementVNode("div",{class:s.normalizeClass(o.mon1ScoutingClass)},"Videos",2)],2)],2)],2)],2)):s.createCommentVNode("",!0)],512)}const nn=j(_t,[["render",on],["__cssModules",{$style:sn}]]),rn=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},bt={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},vs=()=>{s.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Ws=bt.setup;bt.setup=Ws?(e,a)=>(vs(),Ws(e,a)):vs;const ln=e=>(s.pushScopeId("data-v-f3ee6b2b"),e=e(),s.popScopeId(),e),cn=["src"],dn={key:1,class:"text"},mn=["src"],pn={class:"stats"},fn=ln(()=>s.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),un={class:"numstats"},hn={class:"leyend"};function yn(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",n.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([o.customStyle,n.status&&t.typeOnOff&&o.customActive]),onClick:a[0]||(a[0]=(...r)=>o.btnClick&&o.btnClick(...r))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,cn)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",dn,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,mn)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>o.btnClick&&o.btnClick(...r))},[s.createElementVNode("div",pn,[fn,s.createElementVNode("div",un,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",hn,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const gn=rn(bt,[["render",yn],["__scopeId","data-v-f3ee6b2b"]]),_n={equipoGames:"_equipoGames_19uzf_38",atlasSeleccinGames:"_atlasSeleccinGames_19uzf_43",equipoAtlasSeleccinMexiGames:"_equipoAtlasSeleccinMexiGames_19uzf_47",aosGames:"_aosGames_19uzf_51",span12:"_span12_19uzf_55",nacionalidadMex:"_nacionalidadMex_19uzf_58",manchesterUnited:"_manchesterUnited_19uzf_61",manchesterUnited12:"_manchesterUnited12_19uzf_68",containerInfoGames:"_containerInfoGames_19uzf_78",verPerfil12:"_verPerfil12_19uzf_87",btnProfile:"_btnProfile_19uzf_96",containerButton:"_containerButton_19uzf_112",dataContainer:"_dataContainer_19uzf_119",expandedInfoPlayerGames:"_expandedInfoPlayerGames_19uzf_129",containerDataBg:"_containerDataBg_19uzf_219",containerDataSm:"_containerDataSm_19uzf_230",span:"_span_19uzf_55",manchesterUnited14:"_manchesterUnited14_19uzf_241",filter:"_filter_19uzf_246",verPerfil:"_verPerfil_19uzf_87",manchesterUnited8:"_manchesterUnited8_19uzf_267",manchesterUnitedParent1:"_manchesterUnitedParent1_19uzf_273",manchesterUnited1:"_manchesterUnited1_19uzf_68",manchesterUnitedParent:"_manchesterUnitedParent_19uzf_273",frameDiv:"_frameDiv_19uzf_295",infoExpanded:"_infoExpanded_19uzf_303",countryFlag:"_countryFlag_19uzf_456"},Tt={components:{GSCButton:gn},props:{isLive:{type:Boolean,default:!1},background:{type:String,default:"#172531"},type:{type:Number,default:1},viewButton:{type:Boolean,default:!0},viewTeam:{type:Boolean,default:!0},viewAge:{type:Boolean,default:!0},viewNationality:{type:Boolean,default:!0},viewPosition:{type:Boolean,default:!0},viewGames:{type:Boolean,default:!0},viewMin:{type:Boolean,default:!0},viewGoals:{type:Boolean,default:!0},viewEffectiveness:{type:Boolean,default:!0},height:{type:String,default:"134px"},fontColor:{type:String,default:"#ffffffb3"},fontColorValue:{type:String,default:"#ffffff"},fontFamily:{type:String,default:"Poppins-Regular"},fontSize:{type:String,default:"10px"},additionalClass:{type:String,default:""},data:{type:Object,default:()=>{}}},setup(){const e=s.ref("myDivRef"),{elementSize:a}=be(e);return{myDivRef:e,elementSize:a}},data(){return{}},computed:{},methods:{viewProfile(e){this.$emit("viewprofile",e)}}},Ds=()=>{s.useCssVars(e=>({b76aa8fe:e.fontFamily,dce830b4:e.fontColor,v060add2a:e.fontColorValue,v3e87935e:e.fontSize,c43b37c8:e.background}))},Ms=Tt.setup;Tt.setup=Ms?(e,a)=>(Ds(),Ms(e,a)):Ds;const bn={ref:"myDivRef"},Tn=["src"];function Sn(e,a,t,i,n,o){const r=s.resolveComponent("GSCButton");return s.openBlock(),s.createElementBlock("div",bn,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.expandedInfoPlayerGames)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.dataContainer),id:"data-container"},[s.createElementVNode("div",{class:s.normalizeClass([e.$style.containerInfoGames,t.additionalClass]),id:"container-info"},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited)},[t.viewTeam?(s.openBlock(),s.createElementBlock("p",{key:0,class:s.normalizeClass(e.$style.equipoAtlasSeleccinMexiGames)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.equipoGames)},"Equipo: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.atlasSeleccinGames)},s.toDisplayString(t.data.teams),3)],2)):s.createCommentVNode("",!0),t.viewAge?(s.openBlock(),s.createElementBlock("p",{key:1,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.equipoGames)},"Edad: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.age)+" años",3),s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)}," ("+s.toDisplayString(t.data.dataofbirth)+")",3)],2)):s.createCommentVNode("",!0),t.viewNationality?(s.openBlock(),s.createElementBlock("p",{key:2,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Nacionalidad: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},[s.createTextVNode(s.toDisplayString(t.data.nationality.substring(0,3).toUpperCase())+" ",1),s.createElementVNode("div",{class:s.normalizeClass(e.$style.countryFlag)},[s.createElementVNode("img",{src:t.data.countryFlag},null,8,Tn)],2)],2)],2)):s.createCommentVNode("",!0),t.viewPosition?(s.openBlock(),s.createElementBlock("p",{key:3,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Posición: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.position),3)],2)):s.createCommentVNode("",!0)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited12)},[t.viewGames&&!t.isLive?(s.openBlock(),s.createElementBlock("p",{key:0,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"partidos Jugados: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.games),3)],2)):s.createCommentVNode("",!0),t.viewMin&&!t.isLive?(s.openBlock(),s.createElementBlock("p",{key:1,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Minutos Jugados: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.min),3)],2)):s.createCommentVNode("",!0),t.viewGoals?(s.openBlock(),s.createElementBlock("p",{key:2,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},s.toDisplayString(t.data.category)+": ",3),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.goals),3)],2)):s.createCommentVNode("",!0),t.viewEffectiveness?(s.openBlock(),s.createElementBlock("p",{key:3,class:s.normalizeClass(e.$style.nacionalidadMex)},[s.createElementVNode("span",{class:s.normalizeClass(e.$style.span12)},"Efectividad de pases: ",2),s.createElementVNode("span",{class:s.normalizeClass(e.$style.aosGames)},s.toDisplayString(t.data.effectiveness.toFixed(0))+"%",3)],2)):s.createCommentVNode("",!0)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerButton),id:"btn-container"},[t.viewButton?(s.openBlock(),s.createBlock(r,{key:0,style:s.normalizeStyle(t.additionalClass!=""&&i.elementSize.width>540?"margin-right: 50px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:a[0]||(a[0]=c=>o.viewProfile(t.data.id))},null,8,["style"])):s.createCommentVNode("",!0)],2)],2)],2)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.$style.infoExpanded)},[s.createElementVNode("div",{class:s.normalizeClass([e.$style.containerDataBg,t.additionalClass])},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[2]||(a[2]=s.createElementVNode("span",null,"Posición en la tabla: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.position),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[3]||(a[3]=s.createElementVNode("span",null,"Goles anotados: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[4]||(a[4]=s.createElementVNode("span",null,"Goles recibidos: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals_received),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[5]||(a[5]=s.createElementVNode("span",null,"Partidos jugados:",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.games_played),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent)},[t.viewEffectiveness?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.manchesterUnited1)},[a[6]||(a[6]=s.createElementVNode("span",null,"Efectividad de pases: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.effectiveness.toFixed(0))+"%",3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[7]||(a[7]=s.createElementVNode("span",null,"xG: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.xg),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[s.createElementVNode("span",null,s.toDisplayString(t.data.category)+": ",1),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.total),3)],2),t.viewEffectiveness?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.manchesterUnited8)},[a[8]||(a[8]=s.createElementVNode("span",null,"Efectividad de pases: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.effectiveness)+"%",3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited8)},[a[9]||(a[9]=s.createElementVNode("span",null,"xG: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.xg),3)],2)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.containerDataSm)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.frameDiv)},[s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[10]||(a[10]=s.createElementVNode("span",null,"Posición en la tabla: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.position),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[11]||(a[11]=s.createElementVNode("span",null,"Goles anotados: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[12]||(a[12]=s.createElementVNode("span",null,"Goles recibidos: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.goals_received),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[13]||(a[13]=s.createElementVNode("span",null,"Partidos jugados: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.games_played),3)],2)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnitedParent1)},[t.viewEffectiveness?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.$style.manchesterUnited14)},[a[14]||(a[14]=s.createElementVNode("span",null,"Efectividad de pases: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.effectiveness.toFixed(0))+"%",3)],2)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[a[15]||(a[15]=s.createElementVNode("span",null,"xG: ",-1)),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.xg),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited1)},[s.createElementVNode("span",null,s.toDisplayString(t.data.category)+": ",1),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.total),3)],2),s.createElementVNode("div",{class:s.normalizeClass(e.$style.manchesterUnited8)},[s.createElementVNode("span",null,s.toDisplayString(t.data.category)+": ",1),s.createElementVNode("span",{class:s.normalizeClass(e.$style.spanGames)},s.toDisplayString(t.data.total),3)],2)],2)],2),t.viewButton?(s.openBlock(),s.createBlock(r,{key:0,style:s.normalizeStyle(t.additionalClass!=""&&i.elementSize.width>540?"margin-right: 42px":""),width:"88px",height:"30px","border-radius":"30px","border-width":1,"background-color":"#ffffff1a","font-family":"Poppins-Semibold","border-color":"#cbee6b","text-value":"Ver perfil","font-size":"10px",onClick:a[1]||(a[1]=c=>o.viewProfile(t.data.id))},null,8,["style"])):s.createCommentVNode("",!0)],2)):s.createCommentVNode("",!0)],512)}const wn=j(Tt,[["render",Sn],["__cssModules",{$style:_n}],["__scopeId","data-v-0bb9c2ff"]]),$s={3:"Albanesa",4:"Argelina",6:"Andorrano",7:"Angoleña",8:"Anguillan",9:"Antiguan",10:"Argentina",11:"Armenia",12:"Arubeño",13:"Austríaca",14:"Austríaca",15:"Azerbaiyano",16:"Bahamas",17:"Bareini",18:"Bangladesí",19:"Barbadense",20:"Bielorrusa",21:"Belga",22:"Beliceña",23:"Beninesa",24:"Bermudeña",25:"Butanés",26:"Boliviana",27:"Bosnia",28:"Botsuano",29:"Brasileña",30:"Islas Vírgenes Británicas",31:"Bruneano",32:"Búlgara",33:"Burundés",34:"Burmesa",35:"Burundés",36:"Camboyana",37:"Camerunés",38:"Canadiense",39:"Caboverdiano",40:"Caimanés",41:"Centroafricana",42:"Chadiano",43:"Chilena",44:"China",45:"Isla de Navidad",46:"Cocos Island",47:"Colombiana",48:"Comorense",49:"Congoleña",50:"Cookiano",51:"Costarricense",52:"Marfileña",53:"Croata",54:"Cubana",55:"Chipriota",56:"Checa",57:"Danesa",58:"Djibouti",60:"Dominicana",61:"Timorense",62:"Ecuatoriana",63:"Egipcia",64:"Salvadoreña",65:"Inglesa",66:"Ecuatoguineano",67:"Eritreo",68:"Estoniana",69:"Etíope",70:"Islas Malvinas",71:"Feroés",72:"Fiyiano",73:"Finlandesa",74:"Francesa",75:"Guayana Francesa",76:"Francopolinecio",77:"Gabonesa",78:"Gambiana",79:"Georgiano",80:"Alemana",81:"Ghanesa",82:"Gibraltareño",221:"Británico",84:"Griega",85:"Groenlandés",86:"Granadino",87:"Guadeloupeño",89:"Guatemalteca",90:"Guineana",91:"Guyanés",92:"Haitiana",93:"Hondureña",94:"Hongkongese",95:"Húngaro",96:"Islandesa",97:"Indio",98:"Indonesia",99:"Iraní",100:"Iraquí",101:"Irlandesa",102:"Manés",103:"Israelí",104:"Italiana",105:"Jamaiquina",106:"Japonesa",107:"Jordana",108:"Kazaja",109:"Keniana",110:"Kiribatiano",111:"Coreana",112:"Surcoreana",113:"Kosovan",114:"Kuwaití",115:"Kirguisa",116:"Laosiano",117:"Letona",118:"Libanesa",119:"Basotho",120:"Liberiana",121:"Libia",122:"Liechtenstein",123:"Lituano",124:"Luxemburguesa",125:"Macaneso",126:"Macedonia",127:"Malgache",128:"Malaya",129:"Malaya",130:"Maldivo",131:"Mali",132:"Maltesa",133:"Marshallese",134:"Martiniqueña",135:"Mauritania",136:"Mauriciano",137:"Mahoran",138:"Mexicana",139:"Micronesio",140:"Moldava",141:"Monacan",142:"Mongol",143:"Montenegrina",144:"Montserratiano",145:"Marroqui",146:"Mozambiqueña",147:"Namibio",148:"Nauruan",149:"Nepalí",150:"Holandesa",151:"Neocaledonio",152:"Neozelandesa",153:"Nicaragüense",154:"Niueño",155:"Nigerina",156:"Nigeriana",157:"Noruega",158:"Normariano",159:"Omaní",160:"Palestina",161:"Palestina",162:"Palauan",163:"Panameña",164:"Papú",165:"Paraguaya",166:"Peruana",167:"Filipina",168:"Pitcairnés",169:"Polaca",170:"Portuguesa",171:"Puertorriqueña",172:"Catari",173:"Reunionés",174:"Rumana",175:"Rusa",176:"Ruandés",177:"Santa Elena",178:"Sancristobaleña",179:"Santa Lucía",180:"Miquelonnais",181:"Sanvicentina",182:"Samoano",183:"Sanmariense",184:"Santotomense",185:"Saudí",186:"Escocesa",187:"Senegalense",188:"Serbia",189:"Seychellense",190:"Sierraleonesa",191:"Singapurense",192:"Eslovena",193:"Eslovena",194:"Salomonense",195:"Somalí",196:"Sudafricana",197:"Surosetio",198:"Española",199:"Esrilanques",200:"Sudanés",201:"Surinamés",202:"Swazi",203:"Sueca",204:"Suiza",205:"Sirio",206:"Taiwanesa",207:"Tayiko",208:"Tanzano",209:"Tailandesa",210:"Togo",211:"Tongano",212:"Trinitaria",213:"Tunecina",214:"Turca",215:"Turkmena",216:"none",217:"Tuvaluano",218:"Ugandesa",219:"Ucraniana",220:"Emiratí",222:"Americana",223:"Uruguaya",224:"Uzbeka",225:"Vanuatuense",226:"Venezolana",227:"Vietnamita",228:"Islas Vírgenes",229:"Galesa",230:"Walisiano",231:"Saharaui",232:"Yemení",233:"Zambiana",234:"Zimbabuense",236:"Curazaleña",237:"San Martín",239:"Debutante"},St={components:{GSCLeaders:vo,GSCRowTable:tn,GSCTableHeader:nn,GSCExpandedInfo:wn},props:{isTeam:{type:Boolean,default:!1},typeTable:{type:Number,default:0},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},typeData:{type:Number,default:0},gameId:{type:Number,default:0},filtersProp:{type:[Object,String],default:()=>{}},game:{type:Object,default:()=>({})},isWidget:{type:Boolean,default:!1},teamWidget:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},filterTeam:{type:Number,default:0},timeLiveComparativeAvanced:{type:Number,default:6e4},category:{type:Number,default:1},categoryName:{type:String,default:"Goles"},seasonSelected:{type:Object,default:()=>({})},season:{type:Number,default:1772},type:{type:Number,default:0},borderRadius:{type:String,default:"8px"},borderWidth:{type:[String,Number],default:"2px"},borderColor:{type:String,default:"#cfcfcf"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},numRows:{type:Number,default:5},dummyData:{type:Array,default:null},showPosition:{type:Boolean,default:!0},provider:{type:Number,default:1},isDevApis:{type:Boolean,default:!1}},setup(){const e=s.ref("myDivRef"),{elementSize:a}=be(e);return{myDivRef:e,elementSize:a}},watch:{game:{immediate:!0,deep:!0,async handler(e){e&&(this.playersInfo={},this.teamInfo={},this.isloading=!0,this.formatFilterStats=[],await this.getCategoryStats(this.season),this.game.is_live&&(this.createIntervalTops(),this.$emit("intervalidtops",this.intervalIdtops)))}},typeData:{immediate:!0,async handler(e){await this.getCategoryStats(this.season),e===1&&this.game.is_live?(this.createIntervalTops(),this.$emit("intervalidtops",this.intervalIdtops)):clearInterval(this.intervalIdtops)}},filtersProp:{immediate:!1,deep:!0,async handler(e,a){e&&(JSON.stringify(e)!==JSON.stringify(a)||this.sonConjuntosDistintos(e.setNationalitiesIds,a.setNationalitiesIds))&&(this.isloading=!0,this.filterEmitAux=e,[1,23,3,4,5,7,6,9,8,11,10,12,13,15,14,17,16,22].includes(this.category)?this.filterEmitAux.typeZone=1:this.filterEmitAux.typeZone=2,this.formatFilterStats=await this.filterRecords(this.filterEmitAux))}}},computed:{topData(){if(this.dummyData)return[this.dummyData];if(this.changeStateLoading(!0),Object.entries(this.statsData).length>0&&this.formatFilterStats.length>0){var e={},a={},t=[],i=[],n=[];return this.formatFilterStats.map(o=>{e[o.team_id]?e[o.team_id].total=e[o.team_id].total+o.total:(e[o.team_id]={},e[o.team_id].total=o.total,e[o.team_id].id=this.teamInfo[o.team_id].id,e[o.team_id].name=this.teamInfo[o.team_id].name.replace(" Femenil",""),e[o.team_id].img="https://golstatsimages.blob.core.windows.net/teams-80/"+o.team_id+".png",e[o.team_id].effectiveness=this.teamInfo[o.team_id].effectiveness,e[o.team_id].frecuency=this.teamInfo[o.team_id].frecuency,e[o.team_id].game_avg=this.teamInfo[o.team_id].game_avg,e[o.team_id].game_avg_last_season=this.teamInfo[o.team_id].game_avg_last_season,e[o.team_id].games_played_lastseason=this.teamInfo[o.team_id].games_played_lastseason,e[o.team_id].games_played=this.teamInfo[o.team_id].games_played,e[o.team_id].positiontable=this.teamInfo[o.team_id].positiontable,e[o.team_id].goals=this.teamInfo[o.team_id].goals,e[o.team_id].goalsrecived=this.teamInfo[o.team_id].goalsrecived,e[o.team_id].xg=this.teamInfo[o.team_id].xg),a[o.player_id]?o.player_id!=0&&o.player_id!=62117&&(a[o.player_id].total=a[o.player_id].total+o.total):o.player_id!=0&&o.player_id!=62117&&(a[o.player_id]={},a[o.player_id].total=o.total,o.player_id&&this.playersInfo[o.player_id]?(a[o.player_id].name=this.playersInfo[o.player_id].name,a[o.player_id].name_short=this.getnameshort(this.playersInfo[o.player_id].name),a[o.player_id].img=this.playersInfo[o.player_id].img,a[o.player_id].id=this.playersInfo[o.player_id].id,a[o.player_id].age=this.playersInfo[o.player_id].age,a[o.player_id].team=this.playersInfo[o.player_id].team,a[o.player_id].teamname=this.playersInfo[o.player_id].teamname,a[o.player_id].teamid=this.playersInfo[o.player_id].teamid,a[o.player_id].position=this.playersInfo[o.player_id].position,a[o.player_id].positionId=this.playersInfo[o.player_id].positionId,a[o.player_id].positionfull=this.playersInfo[o.player_id].positionfull,a[o.player_id].country=this.playersInfo[o.player_id].country,a[o.player_id].effectiveness=this.playersInfo[o.player_id].effectiveness,a[o.player_id].minutes=this.playersInfo[o.player_id].minutes_played,a[o.player_id].games=this.playersInfo[o.player_id].games_played,a[o.player_id].date=this.playersInfo[o.player_id].date,a[o.player_id].nationality=this.playersInfo[o.player_id].nationality,a[o.player_id].player_country_flag=this.playersInfo[o.player_id].player_country_flag,a[o.player_id].categoryName=this.categoryName):(a[o.player_id].id=o.player_id,a[o.player_id].name=o.player_id,a[o.player_id].img="SIN IMAGEN",a[o.player_id].age="",a[o.player_id].teamname="",a[o.player_id].team="",a[o.player_id].teamid=0,a[o.player_id].position="",a[o.player_id].positionId=0,a[o.player_id].positionfull="",a[o.player_id].country="",a[o.player_id].effectiveness="",a[o.player_id].minutes="",a[o.player_id].games="",a[o.player_id].date="00-00-0000",a[o.player_id].nationality="",a[o.player_id].player_country_flag="",a[o.player_id].categoryName=""))}),t.push(...Object.values(e)),i.push(...Object.values(a)),t=this.sortAndSlice(Object.values(e),60),i=i.sort(this.compareObjectsMinutes).slice(0,60),i=i.map((o,r)=>(o.top=r<9?"0"+(r+1):""+(r+1),o)),t=t.map((o,r)=>(o.top=r<9?"0"+(r+1):""+(r+1),o)),this.filterTeam!==0&&!this.isTeam&&(n=i.filter(o=>o.teamid===this.filterTeam)),this.changeStateLoading(!1),this.isTeam?this.formatArrayPaginate(t):this.filterTeam!=0?this.formatArrayPaginate(n):this.formatArrayPaginate(i)}else return this.changeStateLoading(!1),[]}},data:()=>({url:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/live/tops",urlPrematch:"https://8grl16o77j.execute-api.us-west-2.amazonaws.com/prod/topsBySeasonAndCategory/",data_headers:["team_id","player_id","playing_as","match_result","section","total","origen","destino"],token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",mapPlayers:new Map,setNationalityIds:new Set,arrayAgeRange:[0,0],arePlaysEmpty:!1,teamInfo:{},formatFilterStats:[],formatStats:[],playersInfo:{},isloading:!0,statsData:{},updateSlider:0,intervalIdtops:null,filterEmitAux:{},filtersSelect:{playingAs:[],matchResult:[],sections:[],zone:[],typeZone:[]},filtersValues:{type:1,sections:[1,2,3,4,5,6],matchResult:[1,2,3],playingAs:[1,2],zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],typeZone:1,arrayAgeRange:[1,60],setNationalitiesIds:[],setPositionsIds:[1,2,3,4,5,6,7,8,9]},expand:!1,playerexpand:0,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],categories:[{id:1,name:"Goles"}]}),methods:{getButtonFontSize(){return this.elementSize.width>500?"14px":this.elementSize.width>400?"13px":this.elementSize.width>300?"12px":this.elementSize.width>200?"11px":"10px"},changeStateLoading(e){this.isloading=e},compareObjectsMinutes(e,a){return e.total>a.total?-1:e.total<a.total?1:e.minutes<a.minutes?-1:e.minutes>a.minutes?1:0},sonConjuntosDistintos(e,a){const t=Array.from(e),i=Array.from(a);if(t.length!==i.length)return!0;for(let n=0;n<t.length;n++)if(!a.has(t[n]))return!0;return!1},getnameshort(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),n="";t.length==2||t.length==1?t[0].length<4?n=t[0]+" "+t[1]:n=t[0]:t.length==3?n=t[0]+" "+t[1]:t.length==4&&(n=t[1]+" "+t[2]+" "+t[3]);var o=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return n=n.replace(",",""),o+". "+n},changeCarrousel(){this.expand=!1,this.playerexpand=0},compareObjects(e,a){return e.total<a.total?-1:e.total>a.total?1:e.name<a.name?-1:e.name>a.name?1:0},sortAndSlice(e,a){return e.sort((t,i)=>(t.name<i.name?1:-1)&&(t.total<i.total?1:-1)).slice(0,a)},getCategoryName(e){let a="";for(let t=0;t<this.categories.length;t++)e==this.categories[t].id&&(a=this.categories[t].name);return a},translateTopCategories(e){return{1:[12,55,"35_r","54_r"],2:[2,20],3:[485,486,487,488],4:[10,324],5:[27,323],6:[510],7:[537,540,544,547],8:[328],9:[231,238,280,287,294,406],10:[13,25],11:[98,101,104,105,109,112,115,116],12:[4],13:[88],14:[5],15:[34],16:[23],17:[11],18:[17,50],19:[18,49],20:[14,52],21:[15,53],22:[39],23:[31,32]}[e]||[]},getCoordinatePointPerCategory(e){return{1:2,2:3,3:1,4:2,5:1,6:2,7:2,8:1,9:1,10:2,11:2,12:1,13:1,14:1,15:1,16:1,17:1,18:3,19:3,20:3,21:3,22:1,23:1}[e]||0},emitEventMedia(e,a,t){let i=this.filtersValues.matchResult,n=this.filtersValues.playingAs,o=this.filtersValues.sections,r=this.filtersValues.zone;this.translateTopCategories(a),Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,n=this.filterEmitAux.playingAs,o=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const c=1,l=this.isTeam?3:2,m=e.player_id;let u=[],_=this.isTeam?e.id:this.filterTeam;m?this.isTeam?_=m:u=[m]:this.isTeam?_=e.id:u=[e.id];const f={auxwidget:!!(this.canPlayVideos||this.game.awayTeam.team_id==this.teamWidget&&this.typeData!=1),seasonId:this.game.is_live==1?this.season:this.game.regularSeasonId,isFeaturedPlayers:!1,mainSectionType:c,playListType:l,gameIds:null,playerIds:u,goalkeeperIds:[],categoryIds:this.translateTopCategories(a),teamId:_||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:t,playingAs:n,timeSections:o,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",f)},emitEventMediaFullTable(e,a,t){let i=this.filtersValues.matchResult,n=this.filtersValues.playingAs,o=this.filtersValues.sections,r=this.filtersValues.zone,c=this.translateTopCategories(a);Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,n=this.filterEmitAux.playingAs,o=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const p=1,m=this.isTeam?3:2;let u=[],_=this.isTeam?e.id:this.filterTeam;this.isTeam?_=e.id:u=[e.id];const f={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:p,playListType:m,gameIds:null,playerIds:u,goalkeeperIds:[],categoryIds:c,teamId:_||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:t,playingAs:n,timeSections:o,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",f)},replaceImgPlayer(e){return e.replace("https://golstatsimages.blob.core.windows.net/players-profile/","https://golstatsimages.blob.core.windows.net/players-profile-no-bg/")},abrevName(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),n="";t.length==2||t.length==1?t[0].length<4?n=t[0]+" "+t[1]:n=t[0]:t.length==3?n=t[0]+" "+t[1]:t.length==4&&(n=t[1]+" "+t[2]+" "+t[3]);var o=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";n=n.replace(",","");var r=o+". "+n;return r},clickMore(e){this.$emit("more",{category:e,categoryName:this.categoryName})},morestats(){this.$emit("more",this.category)},viewprofile(e,a){this.$emit("clickprofile",{id:e,teamId:a,isTeam:this.isTeam})},clickexpand(e){this.expand=e.expand,this.playerexpand=e.id},async getCategoryStats(e){var a,t;this.mapPlayers=new Map;try{if(!e)return;let i=[],n={},o={},r=this.season;(t=(a=this.seasonSelected)==null?void 0:a.related_seasons)!=null&&t.some(d=>d.id===this.season)&&(r=this.seasonSelected.id),this.arePlaysEmpty=!1;const c=E.create({headers:{Authorization:`${this.token}`}});this.isloading=!0;let p={};if(this.typeData===0?p=await c.get(re(this.url,this.provider,this.isDevApis)+"/"+this.gameId+"/"+this.category):p=await c.get(re(this.urlPrematch,this.provider,this.isDevApis)+r+"/"+this.category+"?t="+this.game.home_team+"&t="+this.game.visiting_team),p&&p.data&&p.data.data&&p.data.data.length>0){i=p.data.data.map(l=>this.formatStatsData(l)),p.data.teams.forEach(l=>{n[l[0]]={},n[l[0]].id=l[0],n[l[0]].name=l[1],n[l[0]].abrv=l[2],n[l[0]].img=l[3],n[l[0]].effectiveness=l[4],n[l[0]].games_played=l[5],n[l[0]].games_played_lastseason=l[6],n[l[0]].positiontable=l[7],n[l[0]].goals=l[8],n[l[0]].goalsrecived=l[9],n[l[0]].xg=l[10],n[l[0]].frecuency=l[11],n[l[0]].game_avg=l[12],n[l[0]].game_avg_last_season=l[13]});const d=new Set;p.data.players.forEach(l=>{const m=this.getObjectPlayer(l);this.mapPlayers.set(m.numberId,m);const u=m.numberAge,_=m.teamName.length>0?m.teamName[0].acronym:"",f=m.teamName.length>0?n[m.teamName[0].team_id].name:"",g=m.teamName.length>0?m.teamName[0].team_id:"",b=this.positions[m.numberPositionId-1].fullname,S=this.positions[m.numberPositionId-1].name,T=m.countryId.length>0?m.countryId[0].nationality_id:"",k=m.effectiveness,N=m.min,P=m.games,B=m.date;m.arrayNationalities.forEach(R=>{d.add(R.numberId)}),o[l[0]]={id:l[0],name:l[1],img:l[2],age:u,team:_,teamname:f,teamid:g,position:b,positionfull:S,effectiveness:k,country:T,games_played:P,minutes_played:N,date:B,nationality:m.stringNationalityName,player_country_flag:m.player_country_flag,positionId:m.numberPositionId}}),this.setNationalityIds=d,this.arrayAgeRange=[p.data.min_age,p.data.max_age]}else this.arePlaysEmpty=!0;this.teamInfo=n,this.playersInfo=o,this.formatStats=i,this.formatFilterStats=this.filterRecords(this.filtersSelect),this.statsData=p}catch(i){return Promise.reject(i)}},filterRecords(e){return this.formatStats.length>0?this.formatStats.filter(a=>{const t=e.playingAs.includes(a.playing_as),i=e.matchResult.includes(a.match_result),n=e.sections.includes(a.section),o=e.typeZone===1&&e.zone.includes(a.origen)||e.typeZone===2&&e.zone.includes(a.destino);if(e.setPositionsIds&&e.setNationalitiesIds&&e.arrayAgeRange&&e.setYear&&!this.isTeam){const r=this.mapPlayers.get(a.player_id);if(!r)return!1;if(e.booleanAreNationalTeamsVisible){if(e.setAvailableNationalTeamsPlayersIds.size>0&&!e.setAvailableNationalTeamsPlayersIds.has(a.player_id))return!1}else{let c=!1;for(const p of r.arrayNationalitiesIds)if(e.setNationalitiesIds.has(p)){c=!0;break}if(!c)return!1}if(r.numberAge<e.arrayAgeRange[0]||r.numberAge>e.arrayAgeRange[1]||r.date<e.setYear||!e.setPositionsIds.includes(r.numberPositionId))return!1}return(e.playingAs.length===0||t)&&(e.matchResult.length===0||i)&&(e.sections.length===0||n)&&(e.zone.length===0||o)}):[]},updateSliderF(){this.updateSlider+=1},formatStatsData(e){const a={};return e[1]===0&&(e[2]===1||e[2]===2)&&(e[2]=3-e[2]),e[1]===0&&(e[3]===1||e[3]===2)&&(e[3]=3-e[3]),this.data_headers.forEach((t,i)=>{a[t]=e[i]}),a},getObjectPlayer(e){const a=[],t=e[7].map(n=>(a.push(n.nationality_id),{stringName:n.nationality,numberId:n.nationality_id})),i=e[9].split("-");return{numberId:e[0]!==void 0?e[0]:"",stringFullName:e[1]!==void 0?e[1]:"",stringImageUrl:e[2]!==void 0?e[2]:"",numberTeamId:e[3]!==void 0?e[3]:"",player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+e[3]+".jpg",stringNationalityName:$s[e[3]],numberAge:e[5]!==void 0?e[5]:"",numberPositionId:e[6]!==void 0?e[6]:"",countryId:e[7]!==void 0?e[7]:"",teamName:e[10]!==void 0?e[10]:"",effectiveness:e[11]!==void 0?e[11]:"",min:e[13]!==void 0?e[13]:"",games:e[12]!==void 0?e[12]:"",date:i.length>0?Number(i[0]):0,arrayNationalities:t,category:this.categoryName,arrayNationalitiesIds:a}},formatArrayPaginate(e){return[e.slice(0,this.numRows)]},createIntervalTops(){this.intervalIdtops=setInterval(async()=>{await this.getCategoryStats(this.season)},this.timeLiveComparativeAvanced)},clearTopsInterval(){this.intervalIdtops&&(clearInterval(this.intervalIdtops),this.intervalIdtops=null)}},beforeUnmount(){this.clearTopsInterval()}},Us=()=>{s.useCssVars(e=>({v93682288:e.borderRadius,b9da8348:e.borderWidth,bc08800e:e.borderColor}))},js=St.setup;St.setup=js?(e,a)=>(Us(),js(e,a)):Us;const Cn={ref:"myDivRef"},kn={class:"btnViewFullList"},En={class:"text"},Nn={class:"row-table-carrousel"},Pn={key:1,class:"container-no-search-result"},Vn={key:0,class:"overlay-loading-top"};function Rn(e,a,t,i,n,o){const r=s.resolveComponent("GSCLeaders"),c=s.resolveComponent("GSCRowTable"),p=s.resolveComponent("GSCExpandedInfo"),d=s.resolveComponent("GSCTableHeader");return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(t.type==0?"gsc-top":"gsc-top-full")},[s.createElementVNode("div",Cn,[t.type==0?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[o.topData.length>0?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",kn,[s.createElementVNode("div",En,s.toDisplayString(t.categoryName),1)]),s.createElementVNode("div",Nn,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.topData[0],(l,m)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:m},[l.top==1&&t.showPosition?(s.openBlock(),s.createBlock(r,{key:0,onMediadata:a[0]||(a[0]=u=>o.emitEventMedia(u,t.category,t.categoryName)),type:t.typeTable,"type-data":t.typeData,game:t.game,arrow:t.arrow,"team-widget":t.teamWidget,"can-play-videos":t.canPlayVideos,"is-expanded":e.playerexpand==l.id&&e.expand,"show-position":t.showPosition,ref_for:!0,ref:"GSCLeaders",data:t.typeTable==0?{top:"01",photo:l.img,logo:l.img&&l.img.includes("player-shadow")?"https://golstatsimages.blob.core.windows.net/images-library/logo-team@2x.png":"https://golstatsimages.blob.core.windows.net/teams-80/"+l.teamid+".png",name:l.name,player_short:l.name_short,player_id:l.id,categoryId:t.category,total:l.total}:{top:"01",logo:l.img,total:l.total,name_team:l.name,player_id:l.id},"category-name":t.categoryName,buttonMaxWidth:t.typeTable!=0?i.elementSize.width>360?"210px":"130px":i.elementSize.width>360?"180px":"110px",buttonFontSize:o.getButtonFontSize(),iconSize:"11px",onExpand:o.clickexpand,onMore:o.morestats},null,8,["type","type-data","game","arrow","team-widget","can-play-videos","is-expanded","show-position","data","category-name","buttonMaxWidth","buttonFontSize","onExpand","onMore"])):(s.openBlock(),s.createBlock(c,{key:1,"type-data":t.typeData,"team-widget":t.teamWidget,game:t.game,type:t.typeTable,"type-view":t.type,arrow:t.arrow,"is-expanded":e.playerexpand==l.id&&e.expand,"show-position":t.showPosition,onMediadata:a[1]||(a[1]=u=>o.emitEventMedia(u,t.category,t.categoryName)),data:t.typeTable==0?{position:l.top,player_name:l.name,player_short:l.name_short,player_photo:l.img,total:l.total,id:l.id,player_age:l.age,team_abrev:l.team,team_logo:l.img&&l.img.includes("player-shadow")?"https://golstatsimages.blob.core.windows.net/images-library/logo-team@2x.png":"https://golstatsimages.blob.core.windows.net/teams-80/"+l.teamid+".png",player_position:l.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+l.country+".jpg",player_games:l.minutes,player_min:l.games,league_name:"          Liga MX          "}:{position:l.top,team_logo:l.img,team_abrev:l.name,frequency:l.frecuency,promthistournament:l.game_avg,promlasttournament:l.game_avg_last_season,teams_games:"-",category:t.category,total:l.total,id:l.id},height:"71px","can-play-videos":t.canPlayVideos,background:m%2===0?t.backgroundEven:t.backgroundOdd,onExpand:o.clickexpand},null,8,["type-data","team-widget","game","type","type-view","arrow","is-expanded","show-position","data","can-play-videos","background","onExpand"])),e.expand&&e.playerexpand==l.id?(s.openBlock(),s.createBlock(p,{key:2,type:t.typeTable,"is-live":t.game.is_live,"view-effectiveness":l.positionId!==1,data:t.typeTable==0?{teams:l.teamname,age:l.age,dataofbirth:l.date,nationality:l.nationality,countryFlag:l.player_country_flag,position:l.position,games:l.games,min:l.minutes,goals:l.total,effectiveness:l.effectiveness,category:t.categoryName,id:l.id}:{position:l.positiontable,goals:l.goals,goals_received:l.goalsrecived,games_played:l.games_played,category:t.categoryName,effectiveness:l.effectiveness,xg:l.xg,total:l.total,attendance:"-",id:l.id},onViewprofile:u=>o.viewprofile(u,l.teamid),background:m%2===0?t.backgroundEven:t.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):s.createCommentVNode("",!0)],64))),128))])],64)):(s.openBlock(),s.createElementBlock("div",Pn,[e.isloading?(s.openBlock(),s.createElementBlock("div",Vn,[...a[3]||(a[3]=[s.createElementVNode("div",{class:"overlay-loading-top__spinner"},[s.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1),s.createElementVNode("div",{class:"overlay-loading-top__text"},"Loading...",-1)])])):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[a[4]||(a[4]=s.createElementVNode("div",{class:"container-no-search-result-title"},"No existen resultados",-1)),a[5]||(a[5]=s.createElementVNode("div",{class:"container-no-search-result-subtitle"},[s.createTextVNode(" No existen resultados para este tipo de"),s.createElementVNode("br"),s.createTextVNode(" jugada, considerando el torneo y otros"),s.createElementVNode("br"),s.createTextVNode(" filtros que has seleccionado. ")],-1))],64))]))],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createVNode(d,{background:"#183143",type:t.typeTable},null,8,["type"]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.topData,(l,m)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:m},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.slice(0,t.numRows),(u,_)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:_},[s.createVNode(c,{"type-data":t.typeData,"team-widget":t.teamWidget,game:t.game,arrow:t.arrow,type:t.typeTable,"type-view":t.type,"can-play-videos":t.canPlayVideos,"is-expanded":e.playerexpand==u.id&&e.expand,"show-position":t.showPosition,onMediadata:a[2]||(a[2]=f=>o.emitEventMediaFullTable(f,t.category,t.categoryName)),data:t.typeTable==0?{position:u.top,player_name:u.name,player_short:u.name_short,player_photo:u.img,total:u.total,id:u.id,player_age:u.age,team_abrev:u.team,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+u.teamid+".png",player_position:u.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+u.country+".jpg",player_games:u.games,player_min:u.minutes,league_name:"          Liga MX          "}:{position:u.positiontable,team_logo:u.img,team_abrev:u.name,frequency:u.frecuency,promthistournament:u.game_avg,promlasttournament:u.game_avg_last_season,category:t.category,team_games:u.games_played,total:u.total,id:u.id},height:"71px",background:((m+1)*5+_)%2===0?t.backgroundOdd:t.backgroundEven,onExpand:o.clickexpand},null,8,["type-data","team-widget","game","arrow","type","type-view","can-play-videos","is-expanded","show-position","data","background","onExpand"]),e.expand&&e.playerexpand==u.id?(s.openBlock(),s.createBlock(p,{key:0,type:t.typeTable,"is-live":t.game.is_live,additionalClass:"fullTable","view-effectiveness":u.positionId!==1,data:t.typeTable==0?{teams:u.teamname,age:u.age,dataofbirth:u.date,nationality:u.nationality,countryFlag:u.player_country_flag,position:u.positionfull,positionfull:u.positionfull,games:u.games,min:u.minutes,goals:u.total,effectiveness:u.effectiveness,category:o.getCategoryName(t.category),id:u.id}:{position:u.positiontable,goals:u.goals,goals_received:u.goalsrecived,games_played:u.games_played,category:t.categoryName,effectiveness:u.effectiveness,xg:u.xg,total:u.total,category:o.getCategoryName(t.category),attendance:"-",id:u.id},onViewprofile:f=>o.viewprofile(f,u.teamid),background:_%2===0?t.backgroundEven:t.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):s.createCommentVNode("",!0)],64))),128))],64))),128))],64))],512)],2)}const xn=j(St,[["render",Rn],["__scopeId","data-v-197d4b05"]]),Te={YEAR:2,AGE_RANGE:3,NATIONALITY:4,POSITION:5,ELIGIBILITY:6},Fn=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Bn={key:1},zn={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},An=["fill"],In={key:0,class:"checkbox__teams"},On={class:"checkbox__teams__logo"},Gn=["src"],Ln={class:"checkbox__teams__logo"},vn=["src"],Wn={__name:"GSC-Checkbox",props:{width:{type:String,default:"fit-content"},height:{type:String,default:"fit-content"},label:{type:String,default:""},labelWhiteSpace:{type:String,default:"normal"},labelColor:{type:String,default:"white"},fontFamily:{type:String,default:"sans-serif"},labelFontSize:{type:String,default:"12px"},modelValue:{type:Boolean,default:!1},justifyContent:{type:String,default:"flex-start"},alignItems:{type:String,default:"center"},boxBackgroundColor:{type:String,default:"#CBEE6B"},boxValueColor:{type:String,default:"#0d1d29"},boxValue:{type:[String,Number],default:""},boxPosition:{type:String,default:"left",validator(e){return["left","right","top","bottom"].includes(e)}},boxMarginTop:{type:String,default:"0.2em"},boxWidthAndHeight:{type:String,default:"16px"},boxBorderColor:{type:String,default:"#969da2"},boxBorderWidth:{type:String,default:"2px"},boxBorderRadius:{type:String,default:"4px"},boxValueFontSize:{type:String,default:"10px"},boxValueFontFamily:{type:String,default:"sans-serif"},avoidInteraction:{type:Boolean,default:!1},avoidToCheck:{type:Boolean,default:!1},isBoxOnly:{type:Boolean,default:!1},teamsIds:{type:Array,default:()=>null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e;s.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=s.ref(!1),n=s.computed(()=>{const d={color:t.boxValueColor,"font-family":t.fontFamily,height:t.boxWidthAndHeight,width:t.boxWidthAndHeight,minWidth:t.boxWidthAndHeight,"border-radius":t.boxBorderRadius,"margin-top":t.boxMarginTop};return i.value?(d["background-color"]=t.boxBackgroundColor,d.border=`solid ${t.boxBorderWidth} ${t.boxBackgroundColor}`):d.border=`solid ${t.boxBorderWidth} ${t.boxBorderColor}`,d}),o=s.computed(()=>({"font-family":t.boxValueFontFamily,"font-size":t.boxValueFontSize,color:t.boxValueColor,"line-height":1})),r=s.computed(()=>{const d={color:t.labelColor,"font-family":t.fontFamily,"font-size":t.labelFontSize,"white-space":t.labelWhiteSpace,"text-align":t.boxPosition==="top"||t.boxPosition==="bottom"?"center":t.boxPosition};return(t.boxPosition==="left"||t.boxPosition==="right")&&(d[`margin-${t.boxPosition}`]=t.isBoxOnly?"0":t.teamsIds?"8px":"10px"),d});s.watch(()=>t.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){t.avoidInteraction||!i.value&&t.avoidToCheck||(i.value=!i.value,a("update:modelValue",i.value))}function p(d){return`${{}.TEAM_LOGOS_URL||"https://golstatsimages.blob.core.windows.net/teams-80/"}${d}.png`}return(d,l)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[s.createElementVNode("div",{class:"checkbox__box",style:s.normalizeStyle(n.value)},[i.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[t.boxValue?(s.openBlock(),s.createElementBlock("div",{key:0,class:"checkbox__box__value",style:s.normalizeStyle(o.value)},s.toDisplayString(e.boxValue),5)):(s.openBlock(),s.createElementBlock("div",Bn,[(s.openBlock(),s.createElementBlock("svg",zn,[s.createElementVNode("path",{d:"M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",fill:e.boxValueColor},null,8,An)]))]))],64)):s.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(s.openBlock(),s.createElementBlock("div",In,[s.createElementVNode("div",On,[s.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,Gn)]),s.createElementVNode("div",Ln,[s.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,vn)])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"checkbox__label",style:s.normalizeStyle(r.value)},s.toDisplayString(e.label),5)],2))}},wt=Fn(Wn,[["__scopeId","data-v-b6f124d8"]]),I=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Dn={PLAYS:"plays",PRODUCTIVITY:"productivity",FIELD:"field",UNIVERSE:"universe",DETAILS:"details",TOURNAMENTS:"tournaments",PERSONAL_DATA:"personalData",PLAYS_TYPES:"playsTypes",GOLSTATS:"golstats",DISTANCE:"distance",RESULTS:"results",RESULTS_BY_TIME:"resultsByTime",VIDEOS:"videos",GAMES:"games",TAKEN_CORNERS:"takenCorners",HOW_WAS_CORNER:"howWasCorner",ZONE:"zone",WHAT_HAPPENED:"whatHappened",POSITIONS:"positions",YEARS:"years",NATIONALITIES:"nationalities",TEAMS:"teams",POSSESSION_VISUALISATIONS:"visualisations"},Mn=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Ct={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},Js=()=>{s.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Hs=Ct.setup;Ct.setup=Hs?(e,a)=>(Js(),Hs(e,a)):Js;const $n=e=>(s.pushScopeId("data-v-f3ee6b2b"),e=e(),s.popScopeId(),e),Un=["src"],jn={key:1,class:"text"},Jn=["src"],Hn={class:"stats"},qn=$n(()=>s.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),Kn={class:"numstats"},Zn={class:"leyend"};function Yn(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",n.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([o.customStyle,n.status&&t.typeOnOff&&o.customActive]),onClick:a[0]||(a[0]=(...r)=>o.btnClick&&o.btnClick(...r))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Un)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",jn,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Jn)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>o.btnClick&&o.btnClick(...r))},[s.createElementVNode("div",Hn,[qn,s.createElementVNode("div",Kn,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",Zn,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const Xn=Mn(Ct,[["render",Yn],["__scopeId","data-v-f3ee6b2b"]]),Qn={class:"gsc-dropdown__main-container__item-selected"},er=["height","width"],tr=["stroke"],sr={key:1,width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ar=["fill"],ir={class:"gsc-dropdown__items-container"},or=["onClick"],nr={key:0,class:"gsc-dropdown__items-footer"},kt={__name:"GSC-Dropdown",props:{modelValue:{type:[Object,Number,String],default:()=>null},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},fontSize:{type:String,default:"14px"},borderRadius:{type:Number,default:5},arrowHeight:{type:Number,default:24},arrowWidth:{type:Number,default:24},borderType:{type:String,default:"solid",validator:function(e){return["solid","dotted","dashed"].includes(e)}},borderWidth:{type:Number,default:1},borderColor:{type:String,default:"black"},backgroundColor:{type:String,default:"grey"},color:{type:String,default:"black"},arrowColor:{type:String,default:"#CBEE6B"},items:{type:Array,default:()=>[]},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},listBackgroundColor:{type:String,default:"white"},hoverBackgroundColor:{type:String,default:"#f1f1f1"},listMarginTop:{type:String,default:"0"},listContainerPadding:{type:String,default:"0"},listItemPadding:{type:String,default:"10px 12px"},listItemMargin:{type:String,default:"0"},listHeight:{type:String,default:"fit-content"},listItemSelectedColor:{type:String,default:"white"},listItemSelectedBackgroundColor:{type:String,default:"#399cfd"},listItemColor:{type:String,default:"black"},listBorderRadius:{type:String,default:"0"},listBorderColor:{type:String,default:""},listBorderWidth:{type:Number,default:1},listItemBorderRadius:{type:String,default:"0"},listAlignment:{type:String,default:"left"},isListSameWidth:{type:Boolean,default:!1},isMultipleOption:{type:Boolean,default:!1},footerBorderColor:{type:String,default:"#626970"},footerBorderWidth:{type:Number,default:1},isFooterVisible:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},onlyFirstTime:{type:Boolean,default:!1},iconType:{type:Number,default:1,validator:function(e){return[1,2].includes(e)}}},emits:["input","click-ready","update:modelValue"],setup(e,{emit:a}){const t=e,i=s.ref({}),n=s.ref(null),o=s.ref(t.isMultipleOption?-1:0),r=s.ref(!1);s.watch(()=>t.items,(_,f)=>{if(!t.modelValue&&(!t.onlyFirstTime||!f||!f.length)&&_&&_.length){if(t.defaultItemByProp){const g=t.items.findIndex(b=>b[t.defaultItemByProp.propName]===t.defaultItemByProp.value);g!==-1?(o.value=g,i.value=_[g]):(o.value=0,i.value=_[0])}else i.value=_[t.defaultItemByIndex];a("input",i.value)}},{immediate:!0}),s.watch(()=>t.modelValue,_=>{if(_){const f=t.items.findIndex(g=>typeof _=="object"?JSON.stringify(g)===JSON.stringify(_):g===_);f!==-1&&(o.value=f,i.value=t.items[f],a("update:modelValue",i.value))}},{immediate:!0});const c=s.computed(()=>({height:t.height,width:t.width,backgroundColor:t.backgroundColor,borderRadius:`${t.borderRadius}px`,border:`${t.borderType} ${t.borderWidth}px ${t.borderColor}`,color:t.color,"--hover-background-color":t.hoverBackgroundColor,"--list-container-padding":t.listContainerPadding,"--list-item-padding":t.listItemPadding,"--list-item-margin":t.listItemMargin,"--list-background-color":t.listBackgroundColor,"--list-height":t.listHeight,"--list-item-border-radius":t.listItemBorderRadius,"--list-item-selected-color":t.listItemSelectedColor,"--list-item-selected-background-color":t.listItemSelectedBackgroundColor,"--list-item-color":t.listItemColor,"--list-border-radius":`${t.listBorderRadius}`,"--list-border-color":t.listBorderColor,"--list-width":t.isListSameWidth?t.width:"fit-content","--list-border-width":`${t.listBorderWidth}px`,"--list-margin-top":t.listMarginTop,"--list-left":t.listAlignment==="left"?"0":"auto","--list-right":t.listAlignment==="right"?"0":"auto","--footer-border":`${t.footerBorderWidth}px solid ${t.footerBorderColor}`,"--dropdown-opacity":t.isDisabled?"0.5":"1","--dropdown-cursor":t.isDisabled?"not-allowed":"pointer","--dropdown-font-size":t.fontSize?t.fontSize:"14px"})),p=s.computed(()=>({height:`${t.arrowHeight}px`,width:`${t.arrowWidth}px`}));function d(){t.isDisabled||(r.value=!r.value)}function l(_){n.value&&!n.value.contains(_.target)&&(r.value=!1)}function m(_,f){t.isMultipleOption?o.value=-1:(o.value=f,r.value=!1),i.value=_,a("input",i.value),a("update:modelValue",i.value)}function u(){r.value=!1,a("click-ready")}return s.onMounted(()=>{document.addEventListener("click",l)}),s.onBeforeMount(()=>{document.removeEventListener("click",l)}),(_,f)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"dropDown",ref:n,class:"gsc-dropdown",style:s.normalizeStyle(c.value)},[s.createElementVNode("div",{class:"gsc-dropdown__main-container",style:s.normalizeStyle({"padding-right":`${e.arrowWidth+8}px`}),onClick:d},[s.createElementVNode("div",Qn,[s.renderSlot(_.$slots,"default",{selectedItem:i.value})]),s.createElementVNode("div",{class:s.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:s.normalizeStyle(p.value)},[e.iconType===1?(s.openBlock(),s.createElementBlock("svg",{key:0,height:e.arrowHeight,width:e.arrowWidth,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s.createElementVNode("path",{d:"M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",stroke:e.arrowColor},null,8,tr)],8,er)):(s.openBlock(),s.createElementBlock("svg",sr,[s.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 2.62045L6.86193 0.167368C7.12228 -0.0557892 7.54439 -0.0557892 7.80474 0.167368C8.06509 0.390524 8.06509 0.752333 7.80474 0.97549L4.4714 3.83263C4.21105 4.05579 3.78895 4.05579 3.5286 3.83263L0.195262 0.97549C-0.0650874 0.752333 -0.0650874 0.390524 0.195262 0.167368C0.455612 -0.0557892 0.877722 -0.0557892 1.13807 0.167368L4 2.62045Z",fill:e.arrowColor},null,8,ar)]))],6)],4),s.createVNode(s.Transition,null,{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("div",ir,[s.createElementVNode("div",null,[s.createElementVNode("div",{class:"gsc-dropdown__items",style:s.normalizeStyle({"margin-top":`${t.borderWidth}px`})},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.items,(g,b)=>(s.openBlock(),s.createElementBlock("div",null,[s.withDirectives((s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["gsc-dropdown__items__item",{selected:b===o.value}]),key:b,onClick:S=>m(g,b)},[s.renderSlot(_.$slots,"availableItem",{item:g})],10,or)),[[s.vShow,!g.isHidden]])]))),256))],4),e.isFooterVisible?(s.openBlock(),s.createElementBlock("div",nr,[s.createVNode(s.unref(Xn),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:u})])):s.createCommentVNode("",!0)])],512),[[s.vShow,r.value]])]),_:3})],4))}},Et={borderType:"solid",listBackgroundColor:"#2E3B46",listBorderColor:"rgba(255, 255, 255, 0.2)",listBorderRadius:"5px",height:"38px",borderWidth:.8,borderColor:"rgba(255, 255, 255, 0.2)",backgroundColor:"#2E3B46",color:"white",listItemColor:"white",listItemSelectedBackgroundColor:"#2E3B46",arrowColor:"#fff",width:"100%",listHeight:"200px",isListSameWidth:!0,isFooterVisible:!0,hoverBackgroundColor:"#2E3B46",iconType:2},rr=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Nt={props:{type:{type:Number,default:0},value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontSizeStat:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderWidthBtn:{type:String,default:"2px"},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1},textCategory:String,textStat:String,marginLeftStat:{type:String,default:"15%"}},watch:{value:{deep:!0,immediate:!0,handler(e){this.status=e}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(e){this.$emit("click",e),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},qs=()=>{s.useCssVars(e=>({"9d01acb4":e.height,"14e95081":e.borderWidthBtn,"38fec285":e.borderType,34353510:e.borderColor,"20d20dc6":e.borderRadius,17130967:e.width,"4ccb7d36":e.backgroundColor,"5d1e86a2":e.cursorType,ce65d4a2:e.fontSize,fe4ac47a:e.fontStyle,f98e44dc:e.fontFamily,"93b87770":e.marginLeftStat,c7f7beba:e.fontSizeStat}))},Ks=Nt.setup;Nt.setup=Ks?(e,a)=>(qs(),Ks(e,a)):qs;const lr=e=>(s.pushScopeId("data-v-f3ee6b2b"),e=e(),s.popScopeId(),e),cr=["src"],dr={key:1,class:"text"},mr=["src"],pr={class:"stats"},fr=lr(()=>s.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),ur={class:"numstats"},hr={class:"leyend"};function yr(e,a,t,i,n,o){return s.openBlock(),s.createElementBlock("div",null,[t.type==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["button",n.status&&t.typeOnOff&&"button-active"]),style:s.normalizeStyle([o.customStyle,n.status&&t.typeOnOff&&o.customActive]),onClick:a[0]||(a[0]=(...r)=>o.btnClick&&o.btnClick(...r))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,cr)):s.createCommentVNode("",!0),t.textValue?(s.openBlock(),s.createElementBlock("div",dr,s.toDisplayString(t.textValue),1)):s.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon",style:s.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,mr)):s.createCommentVNode("",!0)],6)):s.createCommentVNode("",!0),t.type==1?(s.openBlock(),s.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>o.btnClick&&o.btnClick(...r))},[s.createElementVNode("div",pr,[fr,s.createElementVNode("div",ur,s.toDisplayString(t.textStat),1)]),s.createElementVNode("div",hr,s.toDisplayString(t.textCategory),1)])):s.createCommentVNode("",!0)])}const gr=rr(Nt,[["render",yr],["__scopeId","data-v-f3ee6b2b"]]),_r=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},br={key:1},Tr={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Sr=["fill"],wr={key:0,class:"checkbox__teams"},Cr={class:"checkbox__teams__logo"},kr=["src"],Er={class:"checkbox__teams__logo"},Nr=["src"],Pr={__name:"GSC-Checkbox",props:{width:{type:String,default:"fit-content"},height:{type:String,default:"fit-content"},label:{type:String,default:""},labelWhiteSpace:{type:String,default:"normal"},labelColor:{type:String,default:"white"},fontFamily:{type:String,default:"sans-serif"},labelFontSize:{type:String,default:"12px"},modelValue:{type:Boolean,default:!1},justifyContent:{type:String,default:"flex-start"},alignItems:{type:String,default:"center"},boxBackgroundColor:{type:String,default:"#CBEE6B"},boxValueColor:{type:String,default:"#0d1d29"},boxValue:{type:[String,Number],default:""},boxPosition:{type:String,default:"left",validator(e){return["left","right","top","bottom"].includes(e)}},boxMarginTop:{type:String,default:"0.2em"},boxWidthAndHeight:{type:String,default:"16px"},boxBorderColor:{type:String,default:"#969da2"},boxBorderWidth:{type:String,default:"2px"},boxBorderRadius:{type:String,default:"4px"},boxValueFontSize:{type:String,default:"10px"},boxValueFontFamily:{type:String,default:"sans-serif"},avoidInteraction:{type:Boolean,default:!1},avoidToCheck:{type:Boolean,default:!1},isBoxOnly:{type:Boolean,default:!1},teamsIds:{type:Array,default:()=>null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e;s.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=s.ref(!1),n=s.computed(()=>{const d={color:t.boxValueColor,"font-family":t.fontFamily,height:t.boxWidthAndHeight,width:t.boxWidthAndHeight,minWidth:t.boxWidthAndHeight,"border-radius":t.boxBorderRadius,"margin-top":t.boxMarginTop};return i.value?(d["background-color"]=t.boxBackgroundColor,d.border=`solid ${t.boxBorderWidth} ${t.boxBackgroundColor}`):d.border=`solid ${t.boxBorderWidth} ${t.boxBorderColor}`,d}),o=s.computed(()=>({"font-family":t.boxValueFontFamily,"font-size":t.boxValueFontSize,color:t.boxValueColor,"line-height":1})),r=s.computed(()=>{const d={color:t.labelColor,"font-family":t.fontFamily,"font-size":t.labelFontSize,"white-space":t.labelWhiteSpace,"text-align":t.boxPosition==="top"||t.boxPosition==="bottom"?"center":t.boxPosition};return(t.boxPosition==="left"||t.boxPosition==="right")&&(d[`margin-${t.boxPosition}`]=t.isBoxOnly?"0":t.teamsIds?"8px":"10px"),d});s.watch(()=>t.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){t.avoidInteraction||!i.value&&t.avoidToCheck||(i.value=!i.value,a("update:modelValue",i.value))}function p(d){return`${{}.TEAM_LOGOS_URL||"https://golstatsimages.blob.core.windows.net/teams-80/"}${d}.png`}return(d,l)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[s.createElementVNode("div",{class:"checkbox__box",style:s.normalizeStyle(n.value)},[i.value?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[t.boxValue?(s.openBlock(),s.createElementBlock("div",{key:0,class:"checkbox__box__value",style:s.normalizeStyle(o.value)},s.toDisplayString(e.boxValue),5)):(s.openBlock(),s.createElementBlock("div",br,[(s.openBlock(),s.createElementBlock("svg",Tr,[s.createElementVNode("path",{d:"M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",fill:e.boxValueColor},null,8,Sr)]))]))],64)):s.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(s.openBlock(),s.createElementBlock("div",wr,[s.createElementVNode("div",Cr,[s.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,kr)]),s.createElementVNode("div",Er,[s.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,Nr)])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"checkbox__label",style:s.normalizeStyle(r.value)},s.toDisplayString(e.label),5)],2))}},Vr=_r(Pr,[["__scopeId","data-v-b6f124d8"]]),Rr=(e,a)=>{const t=e.__vccOpts||e;for(const[i,n]of a)t[i]=n;return t},Pt={components:{GSCButton:gr,GSCCheckbox:Vr},data(){return{update:0,all:!1,refreshBtn14:0,refreshBtn24:0,refreshBtn34:0,refreshBtn44:0,sectors:Array.from({length:16},(e,a)=>({sector:a+1,active:!1})),lastUpdatedValue:[]}},props:{backgroundColor:{type:String,default:"#2e3b46"},heightContainer:{type:String,default:"340px"},widthContainer:{type:String,default:"455px"},heightField:{type:Number,default:230},widthField:{type:Number,default:350},heightFieldGrid:{type:String,default:"230px"},widthFieldGrid:{type:String,default:"350px"},backgroundSectorActive:{type:String,default:"#cbee6b"},backgroundSectorDisabled:{type:String,default:"#2e3b46"},borderWidth:{type:Number,default:1},opacitySector:{type:Number,default:.5},borderColor:{type:String,default:"#FFFFFF"},colorLineField:{type:String,default:"#bfc2c5"},borderWidthLineField:{type:Number,default:2},value:{type:Array,default:()=>[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]},title:{type:String,default:"Pase(s) desde la(s) zona(s):"},titleFontSize:{type:String,default:"14px"}},watch:{value:{deep:!0,immediate:!0,handler(e){const a=e.sort();JSON.stringify(a)!==JSON.stringify(this.lastUpdatedValue)&&(this.lastUpdatedValue=a,this.sectors.forEach((t,i)=>{t.active=e.includes(i+1),this.validateField(i)}),this.$emit("update:modelValue",e))}},sectors:{handler(e){var a=[];for(let t=0;t<e.length;t++)e[t].active&&a.push(t+1);this.$emit("update:modelValue",a)},deep:!0}},computed:{translx(){var e=0;return this.widthField>305?e=this.widthField-305:this.widthField==268&&(e=-36),e},transly(){var e=0;return this.heightField>195?(e=this.heightField-195,e=e/2):this.heightField==180&&(e=-7),e},translxcircle(){var e=0;return this.widthField>305?(e=this.widthField-305,e=e/2):this.widthField==268&&(e=-18),e}},methods:{clickAll(e){if(e){for(let a=0;a<this.sectors.length;a++)this.sectors[a].active=!0,this.validateField(a);this.status14=!0,this.status24=!0,this.status34=!0,this.status44=!0,this.refreshBtn14+=1,this.refreshBtn24+=1,this.refreshBtn34+=1,this.refreshBtn44+=1}else for(let a=0;a<this.sectors.length;a++)this.sectors[a].active=!1,this.validateField(a),this.status14=!1,this.status24=!1,this.status34=!1,this.status44=!1,this.refreshBtn14=0,this.refreshBtn24=0,this.refreshBtn34=0,this.refreshBtn44=0},selectSector(e){var a=0;this.sectors[e].active=!this.sectors[e].active;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0&&(this.sectors[e].active=!0),this.validateField(e)},btn14(e){this.sectors[0].active=e?this.sectors[0].active=!0:this.sectors[0].active=!1,this.sectors[1].active=e?this.sectors[1].active=!0:this.sectors[1].active=!1,this.sectors[2].active=e?this.sectors[2].active=!0:this.sectors[2].active=!1,this.sectors[3].active=e?this.sectors[3].active=!0:this.sectors[3].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[0].active=!0,this.sectors[1].active=!0,this.sectors[2].active=!0,this.sectors[3].active=!0,this.status14=!0,this.refreshBtn14+=1):this.status14=!1,a==16&&(this.all=!0,this.update+=1)},btn24(e){this.sectors[4].active=e?this.sectors[4].active=!0:this.sectors[4].active=!1,this.sectors[5].active=e?this.sectors[5].active=!0:this.sectors[5].active=!1,this.sectors[6].active=e?this.sectors[6].active=!0:this.sectors[6].active=!1,this.sectors[7].active=e?this.sectors[7].active=!0:this.sectors[7].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[4].active=!0,this.sectors[5].active=!0,this.sectors[6].active=!0,this.sectors[7].active=!0,this.status24=!0,this.refreshBtn24+=1):this.status24=!1,a==16&&(this.all=!0,this.update+=1)},btn34(e){this.sectors[8].active=e?this.sectors[8].active=!0:this.sectors[8].active=!1,this.sectors[9].active=e?this.sectors[9].active=!0:this.sectors[9].active=!1,this.sectors[10].active=e?this.sectors[10].active=!0:this.sectors[10].active=!1,this.sectors[11].active=e?this.sectors[11].active=!0:this.sectors[11].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[8].active=!0,this.sectors[9].active=!0,this.sectors[10].active=!0,this.sectors[11].active=!0,this.status34=!0,this.refreshBtn34+=1):this.status34=!1,a==16&&(this.all=!0,this.update+=1)},btn44(e){this.sectors[12].active=e?this.sectors[12].active=!0:this.sectors[12].active=!1,this.sectors[13].active=e?this.sectors[13].active=!0:this.sectors[13].active=!1,this.sectors[14].active=e?this.sectors[14].active=!0:this.sectors[14].active=!1,this.sectors[15].active=e?this.sectors[15].active=!0:this.sectors[15].active=!1;var a=0;for(let t=0;t<this.sectors.length;t++)this.sectors[t].active&&(a+=1);a==0?(this.sectors[12].active=!0,this.sectors[13].active=!0,this.sectors[14].active=!0,this.sectors[15].active=!0,this.status44=!0,this.refreshBtn44+=1):this.status44=!1,a==16&&(this.all=!0,this.update+=1)},validateField(e){(e===0||e===1||e===2||e===3)&&(this.status14=!!(this.sectors[0].active&&this.sectors[1].active&&this.sectors[2].active&&this.sectors[3].active)),(e===4||e===5||e===6||e===7)&&(this.status24=!!(this.sectors[4].active&&this.sectors[5].active&&this.sectors[6].active&&this.sectors[7].active)),(e===8||e===9||e===10||e===11)&&(this.status34=!!(this.sectors[8].active&&this.sectors[9].active&&this.sectors[10].active&&this.sectors[11].active)),(e===12||e===13||e===14||e===15)&&(this.status44=!!(this.sectors[12].active&&this.sectors[13].active&&this.sectors[14].active&&this.sectors[15].active)),this.all=!!(this.status14&&this.status34&&this.status24&&this.status44),this.update+=1,this.status14&&(this.refreshBtn14+=1),this.status24&&(this.refreshBtn24+=1),this.status34&&(this.refreshBtn34+=1),this.status44&&(this.refreshBtn44+=1)}}},Zs=()=>{s.useCssVars(e=>({"4fe806fe":e.widthContainer,"91de7c52":e.heightContainer,"266afcdc":e.backgroundColor,"2b853536":e.titleFontSize,"986b6446":e.widthFieldGrid,"1af308b6":e.heightFieldGrid}))},Ys=Pt.setup;Pt.setup=Ys?(e,a)=>(Zs(),Ys(e,a)):Zs;const xr={class:"gsc-field"},Fr={class:"gsc-field__title-checked"},Br={class:"gsc-field__title-checked__title"},zr={class:"gsc-field__container-field"},Ar={class:"gsc-field__container-field__field"},Ir={width:"100%",height:"100%",fill:"#2e3b46",xmlns:"http://www.w3.org/2000/svg"},Or=["stroke"],Gr=["stroke","stroke-width"],Lr=["stroke","stroke-width"],vr=["stroke-width","stroke"],Wr=["fill","fill-opacity","stroke","stroke-width"],Dr=["fill","fill-opacity","stroke","stroke-width"],Mr=["fill","fill-opacity","stroke","stroke-width"],$r=["fill","fill-opacity","stroke","stroke-width"],Ur=["fill","fill-opacity","stroke","stroke-width"],jr=["fill","fill-opacity","stroke","stroke-width"],Jr=["fill","fill-opacity","stroke","stroke-width"],Hr=["fill","fill-opacity","stroke","stroke-width"],qr=["fill","fill-opacity","stroke","stroke-width"],Kr=["fill","fill-opacity","stroke","stroke-width"],Zr=["fill","fill-opacity","stroke","stroke-width"],Yr=["fill","fill-opacity","stroke","stroke-width"],Xr=["fill","fill-opacity","stroke","stroke-width"],Qr=["fill","fill-opacity","stroke","stroke-width"],el=["fill","fill-opacity","stroke","stroke-width"],tl=["fill","fill-opacity","stroke","stroke-width"],sl={class:"gsc-field__container-field__bar-buttons"};function al(e,a,t,i,n,o){const r=s.resolveComponent("GSCCheckbox"),c=s.resolveComponent("GSCButton");return s.openBlock(),s.createElementBlock("div",xr,[s.createElementVNode("div",Fr,[s.createElementVNode("div",Br,s.toDisplayString(t.title),1),s.createElementVNode("div",{class:"gsc-field__title-checked__check-cont",style:s.normalizeStyle(t.widthField>=350?"min-width: 123px":"")},[(s.openBlock(),s.createBlock(r,{label:t.widthField<350?"Todas":"Todas las zonas","font-family":"Poppins-Regular","box-value-font-family":"Poppins-Regular","box-position":"right","label-font-size":t.titleFontSize,"label-white-space":"nowrap","box-margin-top":"0.4em",value:n.all,key:n.update,"model-value":n.all,"onUpdate:modelValue":o.clickAll},null,8,["label","label-font-size","value","model-value","onUpdate:modelValue"]))],4)]),s.createElementVNode("div",zr,[s.createElementVNode("div",Ar,[(s.openBlock(),s.createElementBlock("svg",Ir,[s.createElementVNode("rect",{x:"1.5",y:"0.5",width:"100%",height:"100%",rx:"1.5",stroke:t.colorLineField},null,8,Or),s.createElementVNode("path",{style:s.normalizeStyle("transform: translate("+o.translx+"px, "+o.transly+"px);"),d:"M303.597 39.9799H263.371C262.817 39.9799 262.369 40.4301 262.371 40.984L262.842 155.176C262.845 155.726 263.292 156.172 263.842 156.172H302.884",stroke:t.colorLineField,"stroke-width":t.borderWidthLineField,"stroke-linecap":"square"},null,12,Gr),s.createElementVNode("path",{style:s.normalizeStyle("transform: translateY("+o.transly+"px);"),class:"porteria1",d:"M1.09097 156.172L41.3162 156.172C41.8701 156.172 42.3185 155.722 42.3162 155.168L41.845 40.9758C41.8427 40.4252 41.3957 39.98 40.845 39.98L1.80338 39.98",stroke:t.colorLineField,"stroke-width":t.borderWidthLineField,"stroke-linecap":"square"},null,12,Lr),s.createElementVNode("path",{style:s.normalizeStyle("transform: translate("+o.translxcircle+"px, "+o.transly+"px);"),class:"circle",d:"M182.911 97.4512C182.911 113.726 169.44 126.936 152.801 126.936C136.162 126.936 122.691 113.726 122.691 97.4512C122.691 81.1767 136.162 67.9662 152.801 67.9662C169.44 67.9662 182.911 81.1767 182.911 97.4512Z","stroke-width":t.borderWidthLineField,stroke:t.colorLineField},null,12,vr),s.createElementVNode("rect",{x:"0%",y:"0%",width:"25%",height:"25%",fill:n.sectors[0].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[0]||(a[0]=p=>o.selectSector(0))},null,8,Wr),s.createElementVNode("rect",{x:"0%",y:"25%",width:"25%",height:"25%",fill:n.sectors[1].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[1]||(a[1]=p=>o.selectSector(1))},null,8,Dr),s.createElementVNode("rect",{x:"0%",y:"50%",width:"25%",height:"25%",fill:n.sectors[2].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[2]||(a[2]=p=>o.selectSector(2))},null,8,Mr),s.createElementVNode("rect",{x:"0%",y:"75%",width:"25%",height:"25%",fill:n.sectors[3].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[3]||(a[3]=p=>o.selectSector(3))},null,8,$r),s.createElementVNode("rect",{x:"25%",y:"0%",width:"25%",height:"25%",fill:n.sectors[4].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[4]||(a[4]=p=>o.selectSector(4))},null,8,Ur),s.createElementVNode("rect",{x:"25%",y:"25%",width:"25%",height:"25%",fill:n.sectors[5].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[5]||(a[5]=p=>o.selectSector(5))},null,8,jr),s.createElementVNode("rect",{x:"25%",y:"50%",width:"25%",height:"25%",fill:n.sectors[6].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[6]||(a[6]=p=>o.selectSector(6))},null,8,Jr),s.createElementVNode("rect",{x:"25%",y:"75%",width:"25%",height:"25%",fill:n.sectors[7].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[7]||(a[7]=p=>o.selectSector(7))},null,8,Hr),s.createElementVNode("rect",{x:"50%",y:"0%",width:"25%",height:"25%",fill:n.sectors[8].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[8]||(a[8]=p=>o.selectSector(8))},null,8,qr),s.createElementVNode("rect",{x:"50%",y:"25%",width:"25%",height:"25%",fill:n.sectors[9].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[9]||(a[9]=p=>o.selectSector(9))},null,8,Kr),s.createElementVNode("rect",{x:"50%",y:"50%",width:"25%",height:"25%",fill:n.sectors[10].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[10]||(a[10]=p=>o.selectSector(10))},null,8,Zr),s.createElementVNode("rect",{x:"50%",y:"75%",width:"25%",height:"25%",fill:n.sectors[11].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[11]||(a[11]=p=>o.selectSector(11))},null,8,Yr),s.createElementVNode("rect",{x:"75%",y:"0%",width:"25%",height:"25%",fill:n.sectors[12].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[12]||(a[12]=p=>o.selectSector(12))},null,8,Xr),s.createElementVNode("rect",{x:"75%",y:"25%",width:"25%",height:"25%",fill:n.sectors[13].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[13]||(a[13]=p=>o.selectSector(13))},null,8,Qr),s.createElementVNode("rect",{x:"75%",y:"50%",width:"25%",height:"25%",fill:n.sectors[14].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[14]||(a[14]=p=>o.selectSector(14))},null,8,el),s.createElementVNode("rect",{x:"75%",y:"75%",width:"25%",height:"25%",fill:n.sectors[15].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:a[15]||(a[15]=p=>o.selectSector(15))},null,8,tl)]))]),s.createElementVNode("div",sl,[(s.openBlock(),s.createBlock(c,{"text-value":"1/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn14",onStatus:o.btn14,key:n.refreshBtn14,value:e.status14},null,8,["onStatus","value"])),(s.openBlock(),s.createBlock(c,{"text-value":"2/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn24",onStatus:o.btn24,key:n.refreshBtn24,value:e.status24},null,8,["onStatus","value"])),(s.openBlock(),s.createBlock(c,{"text-value":"3/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn34",onStatus:o.btn34,key:n.refreshBtn34,value:e.status34},null,8,["onStatus","value"])),(s.openBlock(),s.createBlock(c,{"text-value":"4/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",ref:"btn44",onStatus:o.btn44,key:n.refreshBtn44,value:e.status44},null,8,["onStatus","value"]))])])])}const il=Rr(Pt,[["render",al],["__scopeId","data-v-b85699b8"]]);function Xs(e,a){return function(){return e.apply(a,arguments)}}const{toString:ol}=Object.prototype,{getPrototypeOf:Vt}=Object,{iterator:Ie,toStringTag:Qs}=Symbol,Oe=(e=>a=>{const t=ol.call(a);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),D=e=>(e=e.toLowerCase(),a=>Oe(a)===e),Ge=e=>a=>typeof a===e,{isArray:le}=Array,Se=Ge("undefined");function nl(e){return e!==null&&!Se(e)&&e.constructor!==null&&!Se(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ea=D("ArrayBuffer");function rl(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&ea(e.buffer),a}const ll=Ge("string"),O=Ge("function"),ta=Ge("number"),Le=e=>e!==null&&typeof e=="object",cl=e=>e===!0||e===!1,ve=e=>{if(Oe(e)!=="object")return!1;const a=Vt(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Qs in e)&&!(Ie in e)},dl=D("Date"),ml=D("File"),pl=D("Blob"),fl=D("FileList"),ul=e=>Le(e)&&O(e.pipe),hl=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||O(e.append)&&((a=Oe(e))==="formdata"||a==="object"&&O(e.toString)&&e.toString()==="[object FormData]"))},yl=D("URLSearchParams"),[gl,_l,bl,Tl]=["ReadableStream","Request","Response","Headers"].map(D),Sl=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function we(e,a,{allOwnKeys:t=!1}={}){if(e===null||typeof e>"u")return;let i,n;if(typeof e!="object"&&(e=[e]),le(e))for(i=0,n=e.length;i<n;i++)a.call(null,e[i],i,e);else{const o=t?Object.getOwnPropertyNames(e):Object.keys(e),r=o.length;let c;for(i=0;i<r;i++)c=o[i],a.call(null,e[c],c,e)}}function sa(e,a){a=a.toLowerCase();const t=Object.keys(e);let i=t.length,n;for(;i-- >0;)if(n=t[i],a===n.toLowerCase())return n;return null}const ee=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,aa=e=>!Se(e)&&e!==ee;function Rt(){const{caseless:e}=aa(this)&&this||{},a={},t=(i,n)=>{const o=e&&sa(a,n)||n;ve(a[o])&&ve(i)?a[o]=Rt(a[o],i):ve(i)?a[o]=Rt({},i):le(i)?a[o]=i.slice():a[o]=i};for(let i=0,n=arguments.length;i<n;i++)arguments[i]&&we(arguments[i],t);return a}const wl=(e,a,t,{allOwnKeys:i}={})=>(we(a,(n,o)=>{t&&O(n)?e[o]=Xs(n,t):e[o]=n},{allOwnKeys:i}),e),Cl=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kl=(e,a,t,i)=>{e.prototype=Object.create(a.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),t&&Object.assign(e.prototype,t)},El=(e,a,t,i)=>{let n,o,r;const c={};if(a=a||{},e==null)return a;do{for(n=Object.getOwnPropertyNames(e),o=n.length;o-- >0;)r=n[o],(!i||i(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=t!==!1&&Vt(e)}while(e&&(!t||t(e,a))&&e!==Object.prototype);return a},Nl=(e,a,t)=>{e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=a.length;const i=e.indexOf(a,t);return i!==-1&&i===t},Pl=e=>{if(!e)return null;if(le(e))return e;let a=e.length;if(!ta(a))return null;const t=new Array(a);for(;a-- >0;)t[a]=e[a];return t},Vl=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Vt(Uint8Array)),Rl=(e,a)=>{const t=(e&&e[Ie]).call(e);let i;for(;(i=t.next())&&!i.done;){const n=i.value;a.call(e,n[0],n[1])}},xl=(e,a)=>{let t;const i=[];for(;(t=e.exec(a))!==null;)i.push(t);return i},Fl=D("HTMLFormElement"),Bl=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,t,i){return t.toUpperCase()+i}),ia=(({hasOwnProperty:e})=>(a,t)=>e.call(a,t))(Object.prototype),zl=D("RegExp"),oa=(e,a)=>{const t=Object.getOwnPropertyDescriptors(e),i={};we(t,(n,o)=>{let r;(r=a(n,o,e))!==!1&&(i[o]=r||n)}),Object.defineProperties(e,i)},Al=e=>{oa(e,(a,t)=>{if(O(e)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const i=e[t];if(O(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},Il=(e,a)=>{const t={},i=n=>{n.forEach(o=>{t[o]=!0})};return le(e)?i(e):i(String(e).split(a)),t},Ol=()=>{},Gl=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function Ll(e){return!!(e&&O(e.append)&&e[Qs]==="FormData"&&e[Ie])}const vl=e=>{const a=new Array(10),t=(i,n)=>{if(Le(i)){if(a.indexOf(i)>=0)return;if(!("toJSON"in i)){a[n]=i;const o=le(i)?[]:{};return we(i,(r,c)=>{const p=t(r,n+1);!Se(p)&&(o[c]=p)}),a[n]=void 0,o}}return i};return t(e,0)},Wl=D("AsyncFunction"),Dl=e=>e&&(Le(e)||O(e))&&O(e.then)&&O(e.catch),na=((e,a)=>e?setImmediate:a?((t,i)=>(ee.addEventListener("message",({source:n,data:o})=>{n===ee&&o===t&&i.length&&i.shift()()},!1),n=>{i.push(n),ee.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",O(ee.postMessage)),Ml=typeof queueMicrotask<"u"?queueMicrotask.bind(ee):typeof process<"u"&&process.nextTick||na,$l=e=>e!=null&&O(e[Ie]),y={isArray:le,isArrayBuffer:ea,isBuffer:nl,isFormData:hl,isArrayBufferView:rl,isString:ll,isNumber:ta,isBoolean:cl,isObject:Le,isPlainObject:ve,isReadableStream:gl,isRequest:_l,isResponse:bl,isHeaders:Tl,isUndefined:Se,isDate:dl,isFile:ml,isBlob:pl,isRegExp:zl,isFunction:O,isStream:ul,isURLSearchParams:yl,isTypedArray:Vl,isFileList:fl,forEach:we,merge:Rt,extend:wl,trim:Sl,stripBOM:Cl,inherits:kl,toFlatObject:El,kindOf:Oe,kindOfTest:D,endsWith:Nl,toArray:Pl,forEachEntry:Rl,matchAll:xl,isHTMLForm:Fl,hasOwnProperty:ia,hasOwnProp:ia,reduceDescriptors:oa,freezeMethods:Al,toObjectSet:Il,toCamelCase:Bl,noop:Ol,toFiniteNumber:Gl,findKey:sa,global:ee,isContextDefined:aa,isSpecCompliantForm:Ll,toJSONObject:vl,isAsyncFn:Wl,isThenable:Dl,setImmediate:na,asap:Ml,isIterable:$l};function C(e,a,t,i,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),t&&(this.config=t),i&&(this.request=i),n&&(this.response=n,this.status=n.status?n.status:null)}y.inherits(C,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:y.toJSONObject(this.config),code:this.code,status:this.status}}});const ra=C.prototype,la={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{la[e]={value:e}}),Object.defineProperties(C,la),Object.defineProperty(ra,"isAxiosError",{value:!0}),C.from=(e,a,t,i,n,o)=>{const r=Object.create(ra);return y.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),C.call(r,e.message,a,t,i,n),r.cause=e,r.name=e.name,o&&Object.assign(r,o),r};const Ul=null;function xt(e){return y.isPlainObject(e)||y.isArray(e)}function ca(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function da(e,a,t){return e?e.concat(a).map(function(i,n){return i=ca(i),!t&&n?"["+i+"]":i}).join(t?".":""):a}function jl(e){return y.isArray(e)&&!e.some(xt)}const Jl=y.toFlatObject(y,{},null,function(e){return/^is[A-Z]/.test(e)});function We(e,a,t){if(!y.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,t=y.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,f){return!y.isUndefined(f[_])});const i=t.metaTokens,n=t.visitor||d,o=t.dots,r=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(a);if(!y.isFunction(n))throw new TypeError("visitor must be a function");function p(_){if(_===null)return"";if(y.isDate(_))return _.toISOString();if(!c&&y.isBlob(_))throw new C("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(_)||y.isTypedArray(_)?c&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function d(_,f,g){let b=_;if(_&&!g&&typeof _=="object"){if(y.endsWith(f,"{}"))f=i?f:f.slice(0,-2),_=JSON.stringify(_);else if(y.isArray(_)&&jl(_)||(y.isFileList(_)||y.endsWith(f,"[]"))&&(b=y.toArray(_)))return f=ca(f),b.forEach(function(S,T){!(y.isUndefined(S)||S===null)&&a.append(r===!0?da([f],T,o):r===null?f:f+"[]",p(S))}),!1}return xt(_)?!0:(a.append(da(g,f,o),p(_)),!1)}const l=[],m=Object.assign(Jl,{defaultVisitor:d,convertValue:p,isVisitable:xt});function u(_,f){if(!y.isUndefined(_)){if(l.indexOf(_)!==-1)throw Error("Circular reference detected in "+f.join("."));l.push(_),y.forEach(_,function(g,b){(!(y.isUndefined(g)||g===null)&&n.call(a,g,y.isString(b)?b.trim():b,f,m))===!0&&u(g,f?f.concat(b):[b])}),l.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return u(e),a}function ma(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(t){return a[t]})}function Ft(e,a){this._pairs=[],e&&We(e,this,a)}const pa=Ft.prototype;pa.append=function(e,a){this._pairs.push([e,a])},pa.toString=function(e){const a=e?function(t){return e.call(this,t,ma)}:ma;return this._pairs.map(function(t){return a(t[0])+"="+a(t[1])},"").join("&")};function Hl(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fa(e,a,t){if(!a)return e;const i=t&&t.encode||Hl;y.isFunction(t)&&(t={serialize:t});const n=t&&t.serialize;let o;if(n?o=n(a,t):o=y.isURLSearchParams(a)?a.toString():new Ft(a,t).toString(i),o){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class ql{constructor(){this.handlers=[]}use(a,t,i){return this.handlers.push({fulfilled:a,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){y.forEach(this.handlers,function(t){t!==null&&a(t)})}}const ua=ql,ha={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Kl=typeof URLSearchParams<"u"?URLSearchParams:Ft,Zl=typeof FormData<"u"?FormData:null,Yl=typeof Blob<"u"?Blob:null,Xl={isBrowser:!0,classes:{URLSearchParams:Kl,FormData:Zl,Blob:Yl},protocols:["http","https","file","blob","url","data"]},Bt=typeof window<"u"&&typeof document<"u",zt=typeof navigator=="object"&&navigator||void 0,Ql=Bt&&(!zt||["ReactNative","NativeScript","NS"].indexOf(zt.product)<0),ec=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",tc=Bt&&window.location.href||"http://localhost",sc=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Bt,hasStandardBrowserEnv:Ql,hasStandardBrowserWebWorkerEnv:ec,navigator:zt,origin:tc},Symbol.toStringTag,{value:"Module"})),F={...sc,...Xl};function ac(e,a){return We(e,new F.classes.URLSearchParams,Object.assign({visitor:function(t,i,n,o){return F.isNode&&y.isBuffer(t)?(this.append(i,t.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},a))}function ic(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function oc(e){const a={},t=Object.keys(e);let i;const n=t.length;let o;for(i=0;i<n;i++)o=t[i],a[o]=e[o];return a}function ya(e){function a(t,i,n,o){let r=t[o++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),p=o>=t.length;return r=!r&&y.isArray(n)?n.length:r,p?(y.hasOwnProp(n,r)?n[r]=[n[r],i]:n[r]=i,!c):((!n[r]||!y.isObject(n[r]))&&(n[r]=[]),a(t,i,n[r],o)&&y.isArray(n[r])&&(n[r]=oc(n[r])),!c)}if(y.isFormData(e)&&y.isFunction(e.entries)){const t={};return y.forEachEntry(e,(i,n)=>{a(ic(i),n,t,0)}),t}return null}function nc(e,a,t){if(y.isString(e))try{return(a||JSON.parse)(e),y.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(e)}const At={transitional:ha,adapter:["xhr","http","fetch"],transformRequest:[function(e,a){const t=a.getContentType()||"",i=t.indexOf("application/json")>-1,n=y.isObject(e);if(n&&y.isHTMLForm(e)&&(e=new FormData(e)),y.isFormData(e))return i?JSON.stringify(ya(e)):e;if(y.isArrayBuffer(e)||y.isBuffer(e)||y.isStream(e)||y.isFile(e)||y.isBlob(e)||y.isReadableStream(e))return e;if(y.isArrayBufferView(e))return e.buffer;if(y.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(n){if(t.indexOf("application/x-www-form-urlencoded")>-1)return ac(e,this.formSerializer).toString();if((o=y.isFileList(e))||t.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return We(o?{"files[]":e}:e,r&&new r,this.formSerializer)}}return n||i?(a.setContentType("application/json",!1),nc(e)):e}],transformResponse:[function(e){const a=this.transitional||At.transitional,t=a&&a.forcedJSONParsing,i=this.responseType==="json";if(y.isResponse(e)||y.isReadableStream(e))return e;if(e&&y.isString(e)&&(t&&!this.responseType||i)){const n=!(a&&a.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(o){if(n)throw o.name==="SyntaxError"?C.from(o,C.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{At.headers[e]={}});const It=At,rc=y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),lc=e=>{const a={};let t,i,n;return e&&e.split(`
10
10
  `).forEach(function(o){n=o.indexOf(":"),t=o.substring(0,n).trim().toLowerCase(),i=o.substring(n+1).trim(),!(!t||a[t]&&rc[t])&&(t==="set-cookie"?a[t]?a[t].push(i):a[t]=[i]:a[t]=a[t]?a[t]+", "+i:i)}),a},ga=Symbol("internals");function Ce(e){return e&&String(e).trim().toLowerCase()}function De(e){return e===!1||e==null?e:y.isArray(e)?e.map(De):String(e)}function cc(e){const a=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=t.exec(e);)a[i[1]]=i[2];return a}const dc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ot(e,a,t,i,n){if(y.isFunction(i))return i.call(this,a,t);if(n&&(a=t),!!y.isString(a)){if(y.isString(i))return a.indexOf(i)!==-1;if(y.isRegExp(i))return i.test(a)}}function mc(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,t,i)=>t.toUpperCase()+i)}function pc(e,a){const t=y.toCamelCase(" "+a);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+t,{value:function(n,o,r){return this[i].call(this,a,n,o,r)},configurable:!0})})}class Me{constructor(a){a&&this.set(a)}set(a,t,i){const n=this;function o(c,p,d){const l=Ce(p);if(!l)throw new Error("header name must be a non-empty string");const m=y.findKey(n,l);(!m||n[m]===void 0||d===!0||d===void 0&&n[m]!==!1)&&(n[m||p]=De(c))}const r=(c,p)=>y.forEach(c,(d,l)=>o(d,l,p));if(y.isPlainObject(a)||a instanceof this.constructor)r(a,t);else if(y.isString(a)&&(a=a.trim())&&!dc(a))r(lc(a),t);else if(y.isObject(a)&&y.isIterable(a)){let c={},p,d;for(const l of a){if(!y.isArray(l))throw TypeError("Object iterator must return a key-value pair");c[d=l[0]]=(p=c[d])?y.isArray(p)?[...p,l[1]]:[p,l[1]]:l[1]}r(c,t)}else a!=null&&o(t,a,i);return this}get(a,t){if(a=Ce(a),a){const i=y.findKey(this,a);if(i){const n=this[i];if(!t)return n;if(t===!0)return cc(n);if(y.isFunction(t))return t.call(this,n,i);if(y.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,t){if(a=Ce(a),a){const i=y.findKey(this,a);return!!(i&&this[i]!==void 0&&(!t||Ot(this,this[i],i,t)))}return!1}delete(a,t){const i=this;let n=!1;function o(r){if(r=Ce(r),r){const c=y.findKey(i,r);c&&(!t||Ot(i,i[c],c,t))&&(delete i[c],n=!0)}}return y.isArray(a)?a.forEach(o):o(a),n}clear(a){const t=Object.keys(this);let i=t.length,n=!1;for(;i--;){const o=t[i];(!a||Ot(this,this[o],o,a,!0))&&(delete this[o],n=!0)}return n}normalize(a){const t=this,i={};return y.forEach(this,(n,o)=>{const r=y.findKey(i,o);if(r){t[r]=De(n),delete t[o];return}const c=a?mc(o):String(o).trim();c!==o&&delete t[o],t[c]=De(n),i[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const t=Object.create(null);return y.forEach(this,(i,n)=>{i!=null&&i!==!1&&(t[n]=a&&y.isArray(i)?i.join(", "):i)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,t])=>a+": "+t).join(`
11
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...t){const i=new this(a);return t.forEach(n=>i.set(n)),i}static accessor(a){const t=(this[ga]=this[ga]={accessors:{}}).accessors,i=this.prototype;function n(o){const r=Ce(o);t[r]||(pc(i,o),t[r]=!0)}return y.isArray(a)?a.forEach(n):n(a),this}}Me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.reduceDescriptors(Me.prototype,({value:e},a)=>{let t=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(i){this[t]=i}}}),y.freezeMethods(Me);const M=Me;function Gt(e,a){const t=this||It,i=a||t,n=M.from(i.headers);let o=i.data;return y.forEach(e,function(r){o=r.call(t,o,n.normalize(),a?a.status:void 0)}),n.normalize(),o}function _a(e){return!!(e&&e.__CANCEL__)}function ce(e,a,t){C.call(this,e??"canceled",C.ERR_CANCELED,a,t),this.name="CanceledError"}y.inherits(ce,C,{__CANCEL__:!0});function ba(e,a,t){const i=t.config.validateStatus;!t.status||!i||i(t.status)?e(t):a(new C("Request failed with status code "+t.status,[C.ERR_BAD_REQUEST,C.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function fc(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function uc(e,a){e=e||10;const t=new Array(e),i=new Array(e);let n=0,o=0,r;return a=a!==void 0?a:1e3,function(c){const p=Date.now(),d=i[o];r||(r=p),t[n]=c,i[n]=p;let l=o,m=0;for(;l!==n;)m+=t[l++],l=l%e;if(n=(n+1)%e,n===o&&(o=(o+1)%e),p-r<a)return;const u=d&&p-d;return u?Math.round(m*1e3/u):void 0}}function hc(e,a){let t=0,i=1e3/a,n,o;const r=(c,p=Date.now())=>{t=p,n=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const p=Date.now(),d=p-t;d>=i?r(c,p):(n=c,o||(o=setTimeout(()=>{o=null,r(n)},i-d)))},()=>n&&r(n)]}const $e=(e,a,t=3)=>{let i=0;const n=uc(50,250);return hc(o=>{const r=o.loaded,c=o.lengthComputable?o.total:void 0,p=r-i,d=n(p),l=r<=c;i=r;const m={loaded:r,total:c,progress:c?r/c:void 0,bytes:p,rate:d||void 0,estimated:d&&c&&l?(c-r)/d:void 0,event:o,lengthComputable:c!=null,[a?"download":"upload"]:!0};e(m)},t)},Ta=(e,a)=>{const t=e!=null;return[i=>a[0]({lengthComputable:t,total:e,loaded:i}),a[1]]},Sa=e=>(...a)=>y.asap(()=>e(...a)),yc=F.hasStandardBrowserEnv?((e,a)=>t=>(t=new URL(t,F.origin),e.protocol===t.protocol&&e.host===t.host&&(a||e.port===t.port)))(new URL(F.origin),F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent)):()=>!0,gc=F.hasStandardBrowserEnv?{write(e,a,t,i,n,o){const r=[e+"="+encodeURIComponent(a)];y.isNumber(t)&&r.push("expires="+new Date(t).toGMTString()),y.isString(i)&&r.push("path="+i),y.isString(n)&&r.push("domain="+n),o===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function _c(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bc(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function wa(e,a,t){let i=!_c(a);return e&&(i||t==!1)?bc(e,a):a}const Ca=e=>e instanceof M?{...e}:e;function se(e,a){a=a||{};const t={};function i(d,l,m,u){return y.isPlainObject(d)&&y.isPlainObject(l)?y.merge.call({caseless:u},d,l):y.isPlainObject(l)?y.merge({},l):y.isArray(l)?l.slice():l}function n(d,l,m,u){if(y.isUndefined(l)){if(!y.isUndefined(d))return i(void 0,d,m,u)}else return i(d,l,m,u)}function o(d,l){if(!y.isUndefined(l))return i(void 0,l)}function r(d,l){if(y.isUndefined(l)){if(!y.isUndefined(d))return i(void 0,d)}else return i(void 0,l)}function c(d,l,m){if(m in a)return i(d,l);if(m in e)return i(void 0,d)}const p={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:c,headers:(d,l,m)=>n(Ca(d),Ca(l),m,!0)};return y.forEach(Object.keys(Object.assign({},e,a)),function(d){const l=p[d]||n,m=l(e[d],a[d],d);y.isUndefined(m)&&l!==c||(t[d]=m)}),t}const ka=e=>{const a=se({},e);let{data:t,withXSRFToken:i,xsrfHeaderName:n,xsrfCookieName:o,headers:r,auth:c}=a;a.headers=r=M.from(r),a.url=fa(wa(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let p;if(y.isFormData(t)){if(F.hasStandardBrowserEnv||F.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if((p=r.getContentType())!==!1){const[d,...l]=p?p.split(";").map(m=>m.trim()).filter(Boolean):[];r.setContentType([d||"multipart/form-data",...l].join("; "))}}if(F.hasStandardBrowserEnv&&(i&&y.isFunction(i)&&(i=i(a)),i||i!==!1&&yc(a.url))){const d=n&&o&&gc.read(o);d&&r.set(n,d)}return a},Tc=typeof XMLHttpRequest<"u",Sc=Tc&&function(e){return new Promise(function(a,t){const i=ka(e);let n=i.data;const o=M.from(i.headers).normalize();let{responseType:r,onUploadProgress:c,onDownloadProgress:p}=i,d,l,m,u,_;function f(){u&&u(),_&&_(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let g=new XMLHttpRequest;g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout;function b(){if(!g)return;const T=M.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),k={data:!r||r==="text"||r==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:T,config:e,request:g};ba(function(N){a(N),f()},function(N){t(N),f()},k),g=null}"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){g&&(t(new C("Request aborted",C.ECONNABORTED,e,g)),g=null)},g.onerror=function(){t(new C("Network Error",C.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||ha;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),t(new C(T,k.clarifyTimeoutError?C.ETIMEDOUT:C.ECONNABORTED,e,g)),g=null},n===void 0&&o.setContentType(null),"setRequestHeader"in g&&y.forEach(o.toJSON(),function(T,k){g.setRequestHeader(k,T)}),y.isUndefined(i.withCredentials)||(g.withCredentials=!!i.withCredentials),r&&r!=="json"&&(g.responseType=i.responseType),p&&([m,_]=$e(p,!0),g.addEventListener("progress",m)),c&&g.upload&&([l,u]=$e(c),g.upload.addEventListener("progress",l),g.upload.addEventListener("loadend",u)),(i.cancelToken||i.signal)&&(d=T=>{g&&(t(!T||T.type?new ce(null,e,g):T),g.abort(),g=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const S=fc(i.url);if(S&&F.protocols.indexOf(S)===-1){t(new C("Unsupported protocol "+S+":",C.ERR_BAD_REQUEST,e));return}g.send(n||null)})},wc=(e,a)=>{const{length:t}=e=e?e.filter(Boolean):[];if(a||t){let i=new AbortController,n;const o=function(d){if(!n){n=!0,c();const l=d instanceof Error?d:this.reason;i.abort(l instanceof C?l:new ce(l instanceof Error?l.message:l))}};let r=a&&setTimeout(()=>{r=null,o(new C(`timeout ${a} of ms exceeded`,C.ETIMEDOUT))},a);const c=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),e=null)};e.forEach(d=>d.addEventListener("abort",o));const{signal:p}=i;return p.unsubscribe=()=>y.asap(c),p}},Cc=wc,kc=function*(e,a){let t=e.byteLength;if(t<a){yield e;return}let i=0,n;for(;i<t;)n=i+a,yield e.slice(i,n),i=n},Ec=async function*(e,a){for await(const t of Nc(e))yield*kc(t,a)},Nc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:t,value:i}=await a.read();if(t)break;yield i}}finally{await a.cancel()}},Ea=(e,a,t,i)=>{const n=Ec(e,a);let o=0,r,c=p=>{r||(r=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:d,value:l}=await n.next();if(d){c(),p.close();return}let m=l.byteLength;if(t){let u=o+=m;t(u)}p.enqueue(new Uint8Array(l))}catch(d){throw c(d),d}},cancel(p){return c(p),n.return()}},{highWaterMark:2})},Ue=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Na=Ue&&typeof ReadableStream=="function",Pc=Ue&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Pa=(e,...a)=>{try{return!!e(...a)}catch{return!1}},Vc=Na&&Pa(()=>{let e=!1;const a=new Request(F.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!a}),Va=64*1024,Lt=Na&&Pa(()=>y.isReadableStream(new Response("").body)),je={stream:Lt&&(e=>e.body)};Ue&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!je[a]&&(je[a]=y.isFunction(e[a])?t=>t[a]():(t,i)=>{throw new C(`Response type '${a}' is not supported`,C.ERR_NOT_SUPPORT,i)})})})(new Response);const xc=async e=>{if(e==null)return 0;if(y.isBlob(e))return e.size;if(y.isSpecCompliantForm(e))return(await new Request(F.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(y.isArrayBufferView(e)||y.isArrayBuffer(e))return e.byteLength;if(y.isURLSearchParams(e)&&(e=e+""),y.isString(e))return(await Pc(e)).byteLength},Rc=async(e,a)=>y.toFiniteNumber(e.getContentLength())??xc(a),Fc=Ue&&(async e=>{let{url:a,method:t,data:i,signal:n,cancelToken:o,timeout:r,onDownloadProgress:c,onUploadProgress:p,responseType:d,headers:l,withCredentials:m="same-origin",fetchOptions:u}=ka(e);d=d?(d+"").toLowerCase():"text";let _=Cc([n,o&&o.toAbortSignal()],r),f;const g=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let b;try{if(p&&Vc&&t!=="get"&&t!=="head"&&(b=await Rc(l,i))!==0){let P=new Request(a,{method:"POST",body:i,duplex:"half"}),B;if(y.isFormData(i)&&(B=P.headers.get("content-type"))&&l.setContentType(B),P.body){const[x,H]=Ta(b,$e(Sa(p)));i=Ea(P.body,Va,x,H)}}y.isString(m)||(m=m?"include":"omit");const S="credentials"in Request.prototype;f=new Request(a,{...u,signal:_,method:t.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:S?m:void 0});let T=await fetch(f);const k=Lt&&(d==="stream"||d==="response");if(Lt&&(c||k&&g)){const P={};["status","statusText","headers"].forEach(ie=>{P[ie]=T[ie]});const B=y.toFiniteNumber(T.headers.get("content-length")),[x,H]=c&&Ta(B,$e(Sa(c),!0))||[];T=new Response(Ea(T.body,Va,x,()=>{H&&H(),g&&g()}),P)}d=d||"text";let N=await je[y.findKey(je,d)||"text"](T,e);return!k&&g&&g(),await new Promise((P,B)=>{ba(P,B,{data:N,headers:M.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:f})})}catch(S){throw g&&g(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new C("Network Error",C.ERR_NETWORK,e,f),{cause:S.cause||S}):C.from(S,S&&S.code,e,f)}}),vt={http:Ul,xhr:Sc,fetch:Fc};y.forEach(vt,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const xa=e=>`- ${e}`,Bc=e=>y.isFunction(e)||e===null||e===!1,Ra={getAdapter:e=>{e=y.isArray(e)?e:[e];const{length:a}=e;let t,i;const n={};for(let o=0;o<a;o++){t=e[o];let r;if(i=t,!Bc(t)&&(i=vt[(r=String(t)).toLowerCase()],i===void 0))throw new C(`Unknown adapter '${r}'`);if(i)break;n[r||"#"+o]=i}if(!i){const o=Object.entries(n).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build"));let r=a?o.length>1?`since :
12
- `+o.map(xa).join(`
13
- `):" "+xa(o[0]):"as no adapter specified";throw new C("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return i},adapters:vt};function Wt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ce(null,e)}function Fa(e){return Wt(e),e.headers=M.from(e.headers),e.data=Gt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ra.getAdapter(e.adapter||It.adapter)(e).then(function(a){return Wt(e),a.data=Gt.call(e,e.transformResponse,a),a.headers=M.from(a.headers),a},function(a){return _a(a)||(Wt(e),a&&a.response&&(a.response.data=Gt.call(e,e.transformResponse,a.response),a.response.headers=M.from(a.response.headers))),Promise.reject(a)})}const Ba="1.9.0",Je={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{Je[e]=function(t){return typeof t===e||"a"+(a<1?"n ":" ")+e}});const za={};Je.transitional=function(e,a,t){function i(n,o){return"[Axios v"+Ba+"] Transitional option '"+n+"'"+o+(t?". "+t:"")}return(n,o,r)=>{if(e===!1)throw new C(i(o," has been removed"+(a?" in "+a:"")),C.ERR_DEPRECATED);return a&&!za[o]&&(za[o]=!0,console.warn(i(o," has been deprecated since v"+a+" and will be removed in the near future"))),e?e(n,o,r):!0}},Je.spelling=function(e){return(a,t)=>(console.warn(`${t} is likely a misspelling of ${e}`),!0)};function zc(e,a,t){if(typeof e!="object")throw new C("options must be an object",C.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let n=i.length;for(;n-- >0;){const o=i[n],r=a[o];if(r){const c=e[o],p=c===void 0||r(c,o,e);if(p!==!0)throw new C("option "+o+" must be "+p,C.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new C("Unknown option "+o,C.ERR_BAD_OPTION)}}const He={assertOptions:zc,validators:Je},$=He.validators;class qe{constructor(a){this.defaults=a||{},this.interceptors={request:new ua,response:new ua}}async request(a,t){try{return await this._request(a,t)}catch(i){if(i instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const o=n.stack?n.stack.replace(/^.+\n/,""):"";try{i.stack?o&&!String(i.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(i.stack+=`
14
- `+o):i.stack=o}catch{}}throw i}}_request(a,t){typeof a=="string"?(t=t||{},t.url=a):t=a||{},t=se(this.defaults,t);const{transitional:i,paramsSerializer:n,headers:o}=t;i!==void 0&&He.assertOptions(i,{silentJSONParsing:$.transitional($.boolean),forcedJSONParsing:$.transitional($.boolean),clarifyTimeoutError:$.transitional($.boolean)},!1),n!=null&&(y.isFunction(n)?t.paramsSerializer={serialize:n}:He.assertOptions(n,{encode:$.function,serialize:$.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),He.assertOptions(t,{baseUrl:$.spelling("baseURL"),withXsrfToken:$.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=o&&y.merge(o.common,o[t.method]);o&&y.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),t.headers=M.concat(r,o);const c=[];let p=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(t)===!1||(p=p&&f.synchronous,c.unshift(f.fulfilled,f.rejected))});const d=[];this.interceptors.response.forEach(function(f){d.push(f.fulfilled,f.rejected)});let l,m=0,u;if(!p){const f=[Fa.bind(this),void 0];for(f.unshift.apply(f,c),f.push.apply(f,d),u=f.length,l=Promise.resolve(t);m<u;)l=l.then(f[m++],f[m++]);return l}u=c.length;let _=t;for(m=0;m<u;){const f=c[m++],g=c[m++];try{_=f(_)}catch(b){g.call(this,b);break}}try{l=Fa.call(this,_)}catch(f){return Promise.reject(f)}for(m=0,u=d.length;m<u;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=se(this.defaults,a);const t=wa(a.baseURL,a.url,a.allowAbsoluteUrls);return fa(t,a.params,a.paramsSerializer)}}y.forEach(["delete","get","head","options"],function(e){qe.prototype[e]=function(a,t){return this.request(se(t||{},{method:e,url:a,data:(t||{}).data}))}}),y.forEach(["post","put","patch"],function(e){function a(t){return function(i,n,o){return this.request(se(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}qe.prototype[e]=a(),qe.prototype[e+"Form"]=a(!0)});const Ke=qe;class Dt{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(n){t=n});const i=this;this.promise.then(n=>{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](n);i._listeners=null}),this.promise.then=n=>{let o;const r=new Promise(c=>{i.subscribe(c),o=c}).then(n);return r.cancel=function(){i.unsubscribe(o)},r},a(function(n,o,r){i.reason||(i.reason=new ce(n,o,r),t(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const t=this._listeners.indexOf(a);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const a=new AbortController,t=i=>{a.abort(i)};return this.subscribe(t),a.signal.unsubscribe=()=>this.unsubscribe(t),a.signal}static source(){let a;return{token:new Dt(function(t){a=t}),cancel:a}}}const Ac=Dt;function Ic(e){return function(a){return e.apply(null,a)}}function Oc(e){return y.isObject(e)&&e.isAxiosError===!0}const Mt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Mt).forEach(([e,a])=>{Mt[a]=e});const Gc=Mt;function Aa(e){const a=new Ke(e),t=Xs(Ke.prototype.request,a);return y.extend(t,Ke.prototype,a,{allOwnKeys:!0}),y.extend(t,a,null,{allOwnKeys:!0}),t.create=function(i){return Aa(se(e,i))},t}const V=Aa(It);V.Axios=Ke,V.CanceledError=ce,V.CancelToken=Ac,V.isCancel=_a,V.VERSION=Ba,V.toFormData=We,V.AxiosError=C,V.Cancel=V.CanceledError,V.all=function(e){return Promise.all(e)},V.spread=Ic,V.isAxiosError=Oc,V.mergeConfig=se,V.AxiosHeaders=M,V.formToJSON=e=>ya(y.isHTMLForm(e)?new FormData(e):e),V.getAdapter=Ra.getAdapter,V.HttpStatusCode=Gc,V.default=V,Array.from({length:30},(e,a)=>1981+a).sort((e,a)=>a-e);const Lc={__name:"SwitchCustom",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,i=s.ref(null);s.watch(()=>t.modelValue,()=>{n()},{immediate:!0});function n(){i.value&&(i.value.checked=t.modelValue)}function o(r){a("update:modelValue",r.target.checked)}return s.onMounted(()=>{n()}),(r,c)=>(s.openBlock(),s.createElementBlock("input",{ref_key:"switchCustom",ref:i,id:"toggle",class:"toggle",type:"checkbox",role:"switch",name:"toggle",onInput:o},null,544))}},$t=I(Lc,[["__scopeId","data-v-e3a6ae4e"]]),vc={__name:"ButtonCustom",props:{text:{type:String,default:""},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},padding:{type:String,default:"0px"},borderRadius:{type:String,default:"0px"},borderWidth:{type:String,default:"1px"},borderColor:{type:String,default:"#d9d9d9"},backgroundColor:{type:String,default:"#FFFFFF"},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},activeFontColor:{type:String,default:""},fontColor:{type:String,default:"#000000"},fontSize:{type:String,default:"16px"},fontFamily:{type:String,default:"Poppins-Regular, sans-serif"},isActive:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:a}){const t=e,i=s.computed(()=>({"--height":t.height,"--width":t.width,"--padding":t.padding,"--border-radius":t.borderRadius,"--border":`solid ${t.borderWidth} ${t.borderColor}`,"--background-color":t.backgroundColor,"--font-color":t.fontColor,"--font-size":t.fontSize,"--font-family":t.fontFamily,"--active-background-color":t.activeBackgroundColor||t.backgroundColor,"--active-border-color":t.activeBorderColor||t.borderColor,"--active-font-color":t.activeFontColor||t.fontColor}));function n(){a("click")}return(o,r)=>(s.openBlock(),s.createElementBlock("button",{class:s.normalizeClass(["button",{active:e.isActive}]),style:s.normalizeStyle(i.value),onClick:n},s.toDisplayString(e.text),7))}},Ze=I(vc,[["__scopeId","data-v-9688933e"]]),Wc={class:"dropdown"},Dc={class:"selected-item"},Mc={__name:"DropdownTextOnly",props:{items:{type:Array,default:()=>[]},itemTextKey:{type:String,default:""},isListSameWidth:{type:Boolean,default:!0}},emits:["input"],setup(e,{emit:a}){function t(i){a("input",i)}return(i,n)=>(s.openBlock(),s.createElementBlock("div",Wc,[s.createVNode(s.unref(kt),s.mergeProps(s.unref(Et),{"is-list-same-width":e.isListSameWidth,items:e.items,onInput:t}),{default:s.withCtx(({selectedItem:o})=>[s.createElementVNode("div",Dc,s.toDisplayString(e.itemTextKey?o[e.itemTextKey]:o),1)]),availableItem:s.withCtx(({item:o})=>[s.createElementVNode("div",null,s.toDisplayString(e.itemTextKey?o[e.itemTextKey]:o),1)]),_:1},16,["is-list-same-width","items"])]))}},G=I(Mc,[["__scopeId","data-v-064d5f86"]]),$c={class:"dropdown"},Uc={class:"game-item"},jc={key:0,class:"item-game"},Jc={class:"match-day"},Hc={class:"team-logo"},qc=["src"],Kc={class:"text"},Zc={class:"text score"},Yc={class:"text"},Xc={class:"team-logo"},Qc=["src"],ed={class:"item-game"},td={class:"team-logo"},sd=["src"],ad={class:"text"},id={class:"text score"},od={class:"text"},nd={class:"team-logo"},rd=["src"],ld={__name:"DropdownGame",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function t(i){a("input",i)}return(i,n)=>(s.openBlock(),s.createElementBlock("div",$c,[s.createVNode(s.unref(kt),s.mergeProps(s.unref(Et),{items:e.items,onInput:t}),{default:s.withCtx(({selectedItem:o})=>[s.createElementVNode("div",Uc,[o.homeTeam?(s.openBlock(),s.createElementBlock("div",jc,[s.createElementVNode("div",Jc,s.toDisplayString(o.roundAbbreviation),1),s.createElementVNode("div",Hc,[s.createElementVNode("img",{src:o.homeTeam.logo,alt:""},null,8,qc)]),s.createElementVNode("div",Kc,s.toDisplayString(o.homeTeam.acronym),1),s.createElementVNode("div",Zc,s.toDisplayString(o.score[0])+" - "+s.toDisplayString(o.score[1]),1),s.createElementVNode("div",Yc,s.toDisplayString(o.awayTeam.acronym),1),s.createElementVNode("div",Xc,[s.createElementVNode("img",{src:o.awayTeam.logo,alt:""},null,8,Qc)])])):s.createCommentVNode("",!0)])]),availableItem:s.withCtx(({item:o})=>[s.createElementVNode("div",ed,[s.createElementVNode("div",null,s.toDisplayString(o.roundAbbreviation),1),s.createElementVNode("div",td,[s.createElementVNode("img",{src:o.homeTeam.logo,alt:""},null,8,sd)]),s.createElementVNode("div",ad,s.toDisplayString(o.homeTeam.acronym),1),s.createElementVNode("div",id,s.toDisplayString(o.score[0])+" - "+s.toDisplayString(o.score[1]),1),s.createElementVNode("div",od,s.toDisplayString(o.awayTeam.acronym),1),s.createElementVNode("div",nd,[s.createElementVNode("img",{src:o.awayTeam.logo,alt:""},null,8,rd)])])]),_:1},16,["items"])]))}},Ye=I(ld,[["__scopeId","data-v-7883a91e"]]),Xe=e=>(s.pushScopeId("data-v-b63e9c84"),e=e(),s.popScopeId(),e),cd={class:"container"},dd={class:"container__row"},md={class:"container__row__wrapper"},pd=Xe(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),fd={class:"container__row__wrapper__input"},ud={class:"container__row two-items"},hd={class:"container__row__wrapper"},yd=Xe(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),gd={key:0,class:"container__row__wrapper__input"},_d={class:"container__row__wrapper"},bd=Xe(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),Td={key:0,class:"container__row__wrapper__input"},Sd={class:"container__row"},wd={class:"container__row__wrapper"},Cd=Xe(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),kd={key:0,class:"container__row__wrapper__input"},Ed={class:"container__action"},Nd={__name:"VideosGoals",props:{tournaments:{type:Array,required:!0}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const t={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},i=s.ref(null),n=s.ref(null),o=s.ref(null),r=s.ref(null);function c(m){i.value=m,a("update:tournament",m)}function p(m){n.value=m,a("update:season",m)}function d(m){o.value=m}function l(m){r.value=m}return(m,u)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",cd,[s.createElementVNode("div",dd,[s.createElementVNode("div",md,[pd,s.createElementVNode("div",fd,[s.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:c},null,8,["items"])])])]),s.createElementVNode("div",ud,[s.createElementVNode("div",hd,[yd,i.value&&i.value.seasons?(s.openBlock(),s.createElementBlock("div",gd,[s.createVNode(G,{items:i.value.seasons,itemTextKey:"name",onInput:p},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",_d,[bd,n.value&&n.value.arrayMatchDays?(s.openBlock(),s.createElementBlock("div",Td,[s.createVNode(G,{items:n.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:d},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Sd,[s.createElementVNode("div",wd,[Cd,o.value&&o.value.arrayGames?(s.openBlock(),s.createElementBlock("div",kd,[s.createVNode(Ye,{items:o.value.arrayGames,onInput:l},null,8,["items"])])):s.createCommentVNode("",!0)])])]),s.createElementVNode("div",Ed,[s.createVNode(Ze,s.normalizeProps(s.guardReactiveProps(t)),null,16)])],64))}},Pd=I(Nd,[["__scopeId","data-v-b63e9c84"]]),Vd={class:"dropdown"},xd={class:"item-team"},Rd={class:"team-logo"},Fd=["src"],Bd={class:"team-acronym"},zd={class:"item-team"},Ad={class:"team-logo"},Id=["src"],Od={class:"team-acronym"},Gd={__name:"DropdownTeam",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function t(i){a("input",i)}return(i,n)=>(s.openBlock(),s.createElementBlock("div",Vd,[s.createVNode(s.unref(kt),s.mergeProps(s.unref(Et),{items:e.items,onInput:t}),{default:s.withCtx(({selectedItem:o})=>[s.createElementVNode("div",xd,[s.createElementVNode("div",Rd,[s.createElementVNode("img",{src:o.logo,alt:""},null,8,Fd)]),s.createElementVNode("div",Bd,s.toDisplayString(o.acronym),1)])]),availableItem:s.withCtx(({item:o})=>[s.createElementVNode("div",zd,[s.createElementVNode("div",Ad,[s.createElementVNode("img",{src:o.logo,alt:""},null,8,Id)]),s.createElementVNode("div",Od,s.toDisplayString(o.acronym),1)])]),_:1},16,["items"])]))}},Ia=I(Gd,[["__scopeId","data-v-afd2bee8"]]),Ld={class:"advanced-filters"},vd={class:"advanced-filters__buttons"},Wd=["onClick"],Dd={class:"advanced-filters__filters"},Md={__name:"AdvancedFilters",props:{selectedCategory:{type:Object,default:()=>({})}},setup(e){const a=e,t=s.defineAsyncComponent(()=>Promise.resolve().then(()=>Ap)),i=s.defineAsyncComponent(()=>Promise.resolve().then(()=>Xp)),n=s.defineAsyncComponent(()=>Promise.resolve().then(()=>ef)),o=[{name:"Sub categorías",component:t},{name:"Cancha",component:n},{name:"Condiciones",component:i}],r=s.ref(o[0]),c=s.computed(()=>a.selectedCategory?a.selectedCategory.subcategoryGroups||[]:[]);function p(d){r.value=d}return(d,l)=>(s.openBlock(),s.createElementBlock("div",Ld,[s.createElementVNode("div",vd,[(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(o,m=>s.createElementVNode("div",{key:m.name,role:"button",class:s.normalizeClass(["advanced-filters__buttons__button",{active:r.value.name===m.name}]),onClick:u=>p(m)},s.toDisplayString(m.name),11,Wd)),64))]),s.createElementVNode("div",Dd,[(s.openBlock(),s.createBlock(s.KeepAlive,null,[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(r.value.component),{"subcategory-groups":c.value},null,8,["subcategory-groups"]))],1024))])]))}},Ut=I(Md,[["__scopeId","data-v-c62c5b9c"]]),ae=e=>(s.pushScopeId("data-v-575b26b5"),e=e(),s.popScopeId(),e),$d={class:"container"},Ud={class:"container__row"},jd={class:"container__row__wrapper"},Jd=ae(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Hd={class:"container__row__wrapper__input"},qd={class:"container__row two-items"},Kd={class:"container__row__wrapper"},Zd=ae(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Yd={key:0,class:"container__row__wrapper__input"},Xd={class:"container__row__wrapper"},Qd=ae(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. En que equipo juega?",-1)),em={key:0,class:"container__row__wrapper__input"},tm={class:"container__row"},sm={class:"container__row__wrapper"},am=ae(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Nombre del jugador",-1)),im={key:0,class:"container__row__wrapper__input"},om={class:"container__row"},nm={class:"container__row__wrapper"},rm=ae(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el partido",-1)),lm={key:0,class:"container__row__wrapper__input"},cm={class:"container__row type-and-advanced"},dm={class:"container__row__wrapper"},mm=ae(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),pm={class:"container__row__wrapper__input"},fm={class:"container__row__wrapper center"},um=ae(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),hm={class:"container__row__wrapper__input"},ym={class:"container__row"},gm={class:"container__action"},_m={__name:"VideosPlayer",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({player:[],goalkeeper:[]})}},emits:["update:tournament","update:season","update:team"],setup(e,{emit:a}){const t=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},n=s.ref(null),o=s.ref(null);s.ref(null);const r=s.ref(null),c=s.ref(null),p=s.ref(null),d=s.ref(null),l=s.ref(!0),m=s.computed(()=>p.value?p.value.position_id===1?t.advancedFilterCategories.goalkeeper:t.advancedFilterCategories.player:[]);function u(T){n.value=T,a("update:tournament",T)}function _(T){o.value=T,a("update:season",T)}function f(T){c.value=T,a("update:team",T)}function g(T){p.value=T}function b(T){r.value=T}function S(T){d.value=T}return(T,k)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",$d,[s.createElementVNode("div",Ud,[s.createElementVNode("div",jd,[Jd,s.createElementVNode("div",Hd,[s.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:u},null,8,["items"])])])]),s.createElementVNode("div",qd,[s.createElementVNode("div",Kd,[Zd,n.value&&n.value.seasons?(s.openBlock(),s.createElementBlock("div",Yd,[s.createVNode(G,{items:n.value.seasons,itemTextKey:"name",onInput:_},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",Xd,[Qd,o.value&&o.value.arrayTeams?(s.openBlock(),s.createElementBlock("div",em,[s.createVNode(Ia,{items:o.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:f},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",tm,[s.createElementVNode("div",sm,[am,c.value&&c.value.arrayPlayers?(s.openBlock(),s.createElementBlock("div",im,[s.createVNode(G,{items:c.value.arrayPlayers,itemTextKey:"player_name",onInput:g},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",om,[s.createElementVNode("div",nm,[rm,o.value&&o.value.mapGamesByTeam&&c.value?(s.openBlock(),s.createElementBlock("div",lm,[s.createVNode(Ye,{items:o.value.mapGamesByTeam.get(c.value.team_id),onInput:b},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",cm,[s.createElementVNode("div",dm,[mm,s.createElementVNode("div",pm,[s.createVNode(G,{items:m.value,itemTextKey:"name","is-list-same-width":!1,onInput:S},null,8,["items"])])]),s.createElementVNode("div",fm,[um,s.createElementVNode("div",hm,[s.createVNode($t,{modelValue:l.value,"onUpdate:modelValue":k[0]||(k[0]=N=>l.value=N)},null,8,["modelValue"])])])]),s.createElementVNode("div",ym,[s.createVNode(Ut,{"selected-category":d.value},null,8,["selected-category"])])]),s.createElementVNode("div",gm,[s.createVNode(Ze,s.normalizeProps(s.guardReactiveProps(i)),null,16)])],64))}},bm=I(_m,[["__scopeId","data-v-575b26b5"]]),de=e=>(s.pushScopeId("data-v-6d73d5e6"),e=e(),s.popScopeId(),e),Tm={class:"container"},Sm={class:"container__row"},wm={class:"container__row__wrapper"},Cm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),km={class:"container__row__wrapper__input"},Em={class:"container__row two-items"},Nm={class:"container__row__wrapper"},Pm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Vm={key:0,class:"container__row__wrapper__input"},xm={class:"container__row__wrapper"},Rm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige el equipo",-1)),Fm={key:0,class:"container__row__wrapper__input"},Bm={class:"container__row"},zm={class:"container__row__wrapper"},Am=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),Im={key:0,class:"container__row__wrapper__input"},Om={class:"container__row type-and-advanced"},Gm={class:"container__row__wrapper"},Lm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el tipo de video",-1)),vm={class:"container__row__wrapper__input"},Wm={class:"container__row__wrapper center"},Dm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),Mm={class:"container__row__wrapper__input"},$m={class:"container__row"},Um={class:"container__action"},jm={__name:"VideosTeam",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({team:[]})}},emits:["update:tournament","update:season","update:team"],setup(e,{emit:a}){const t=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},n=s.ref(null),o=s.ref(null);s.ref(null);const r=s.ref(null),c=s.ref(null),p=s.ref(null),d=s.ref(!0),l=s.computed(()=>t.advancedFilterCategories.team);function m(b){n.value=b,a("update:tournament",b)}function u(b){o.value=b,a("update:season",b)}function _(b){c.value=b,a("update:team",b)}function f(b){r.value=b}function g(b){p.value=b}return(b,S)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",Tm,[s.createElementVNode("div",Sm,[s.createElementVNode("div",wm,[Cm,s.createElementVNode("div",km,[s.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),s.createElementVNode("div",Em,[s.createElementVNode("div",Nm,[Pm,n.value&&n.value.seasons?(s.openBlock(),s.createElementBlock("div",Vm,[s.createVNode(G,{items:n.value.seasons,itemTextKey:"name",onInput:u},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",xm,[Rm,o.value&&o.value.arrayTeams?(s.openBlock(),s.createElementBlock("div",Fm,[s.createVNode(Ia,{items:o.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:_},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Bm,[s.createElementVNode("div",zm,[Am,o.value&&o.value.mapGamesByTeam&&c.value?(s.openBlock(),s.createElementBlock("div",Im,[s.createVNode(Ye,{items:o.value.mapGamesByTeam.get(c.value.team_id),onInput:f},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Om,[s.createElementVNode("div",Gm,[Lm,s.createElementVNode("div",vm,[s.createVNode(G,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:g},null,8,["items"])])]),s.createElementVNode("div",Wm,[Dm,s.createElementVNode("div",Mm,[s.createVNode($t,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),s.createElementVNode("div",$m,[s.createVNode(Ut,{"selected-category":p.value},null,8,["selected-category"])])]),s.createElementVNode("div",Um,[s.createVNode(Ze,s.normalizeProps(s.guardReactiveProps(i)),null,16)])],64))}},Jm=I(jm,[["__scopeId","data-v-6d73d5e6"]]),me=e=>(s.pushScopeId("data-v-6e904db8"),e=e(),s.popScopeId(),e),Hm={class:"container"},qm={class:"container__row"},Km={class:"container__row__wrapper"},Zm=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Ym={class:"container__row__wrapper__input"},Xm={class:"container__row two-items"},Qm={class:"container__row__wrapper"},ep=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),tp={key:0,class:"container__row__wrapper__input"},sp={class:"container__row__wrapper"},ap=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),ip={key:0,class:"container__row__wrapper__input"},op={class:"container__row"},np={class:"container__row__wrapper"},rp=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),lp={key:0,class:"container__row__wrapper__input"},cp={class:"container__row type-and-advanced"},dp={class:"container__row__wrapper"},mp=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),pp={class:"container__row__wrapper__input"},fp={class:"container__row__wrapper center"},up=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),hp={class:"container__row__wrapper__input",style:{width:"fit-content"}},yp={class:"container__row"},gp={class:"container__action"},_p={__name:"VideosGame",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({games:[]})}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const t=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},n=s.ref(null),o=s.ref(null),r=s.ref(null),c=s.ref(null),p=s.ref(null),d=s.ref(!0),l=s.computed(()=>t.advancedFilterCategories.games);function m(b){n.value=b,a("update:tournament",b)}function u(b){o.value=b,a("update:season",b)}function _(b){r.value=b}function f(b){c.value=b}function g(b){p.value=b}return(b,S)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",Hm,[s.createElementVNode("div",qm,[s.createElementVNode("div",Km,[Zm,s.createElementVNode("div",Ym,[s.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),s.createElementVNode("div",Xm,[s.createElementVNode("div",Qm,[ep,n.value&&n.value.seasons?(s.openBlock(),s.createElementBlock("div",tp,[s.createVNode(G,{items:n.value.seasons,itemTextKey:"name",onInput:u},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",sp,[ap,o.value&&o.value.arrayMatchDays?(s.openBlock(),s.createElementBlock("div",ip,[s.createVNode(G,{items:o.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:_},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",op,[s.createElementVNode("div",np,[rp,r.value&&r.value.arrayGames?(s.openBlock(),s.createElementBlock("div",lp,[s.createVNode(Ye,{items:r.value.arrayGames,onInput:f},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",cp,[s.createElementVNode("div",dp,[mp,s.createElementVNode("div",pp,[s.createVNode(G,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:g},null,8,["items"])])]),s.createElementVNode("div",fp,[up,s.createElementVNode("div",hp,[s.createVNode($t,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),s.createElementVNode("div",yp,[s.createVNode(Ut,{"selected-category":p.value},null,8,["selected-category"])])]),s.createElementVNode("div",gp,[s.createVNode(Ze,s.normalizeProps(s.guardReactiveProps(i)),null,16)])],64))}},bp=I(_p,[["__scopeId","data-v-6e904db8"]]);s.defineComponent({name:"TemplateVideos",components:{VideosGoals:Pd,VideosPlayer:bm,VideosTeam:Jm,VideosGame:bp}}),Array.from({length:24},(e,a)=>a+1),U(2,jt()),U(2,jt()),U(1,J(1)),U(1,J(1)),U(1,J(2)),U(1,J(2)),U(1,J(3)),U(1,J(3)),U(1,J(4)),U(1,J(4));function jt(){return[[337,1],[338,2],[339,3],[340,4],[341,5],[342,6],[343,7],[344,8],[345,9],[346,10],[347,11],[348,12],[349,13],[350,14],[351,15],[352,16],[353,17],[354,18],[355,19],[356,20],[357,21]]}function Oa(){return Array.from({length:16},(e,a)=>a+1)}function J(e){switch(e){case 1:return[1,2,3,4];case 2:return[5,6,7,8];case 3:return[9,10,11,12];case 4:return[13,14,15,16]}}function U(e=1,a=null){return{origin_zones:e===1?Oa():jt(),destiny_zones:a||Oa(),minimum_distance_x:0,maximum_distance_x:105,minimum_distance_y:0,maximum_distance_y:68,minimum_total_distance:0,maximum_total_distance:125,zone_type:e}}function Tp(){return{backgroundColor:"#2e3b46",borderColor:"rgba(255, 255, 255, 0.20)",infoBorderColor:"rgba(255, 255, 255, 0.20)",height:"40px",padding:"5px 12px",textFontFamily:"'Poppins-Regular'"}}const Sp={comfiltersContainer:"_comfiltersContainer_xl2as_1",comfiltersContainer1232:"_comfiltersContainer1232_xl2as_1",closeFiltersPc:"_closeFiltersPc_xl2as_1",comtextleyemdmultipleleagues:"_comtextleyemdmultipleleagues_xl2as_1",comtextleyemdmultipleleagues380:"_comtextleyemdmultipleleagues380_xl2as_1",comfiltersContainer760:"_comfiltersContainer760_xl2as_1",comfiltersContainer460:"_comfiltersContainer460_xl2as_1",comcontainerSection:"_comcontainerSection_xl2as_1",comcontainerSection1232:"_comcontainerSection1232_xl2as_1",comcontainerSection960:"_comcontainerSection960_xl2as_1",comcontainerSection320:"_comcontainerSection320_xl2as_1",comcontainerSection350:"_comcontainerSection350_xl2as_1",comtemplateLosMejores1:"_comtemplateLosMejores1_xl2as_1",comtemplateLosMejores11232:"_comtemplateLosMejores11232_xl2as_1",comtemplateLosMejores1960:"_comtemplateLosMejores1960_xl2as_1",comtemplateLosMejores1420:"_comtemplateLosMejores1420_xl2as_1",comtemplateLosMejores1320:"_comtemplateLosMejores1320_xl2as_1",comtemplateLosMejores1540:"_comtemplateLosMejores1540_xl2as_1",comtemplateLosMejores1350:"_comtemplateLosMejores1350_xl2as_1",comtopFiltersParent:"_comtopFiltersParent_xl2as_1",comtopFiltersParent1232:"_comtopFiltersParent1232_xl2as_1",comtopFiltersParent960:"_comtopFiltersParent960_xl2as_1",comtopFiltersParent460:"_comtopFiltersParent460_xl2as_1",comtopFiltersParent420:"_comtopFiltersParent420_xl2as_1",comcontainerTheBest:"_comcontainerTheBest_xl2as_1",comcontainerTheBest1232:"_comcontainerTheBest1232_xl2as_1",comcontainerTheBest960:"_comcontainerTheBest960_xl2as_1",comcontainerTheBest320:"_comcontainerTheBest320_xl2as_1",comtitleSection:"_comtitleSection_xl2as_1",comtitleSection540:"_comtitleSection540_xl2as_1",comcontainerTables:"_comcontainerTables_xl2as_1",comcontainerTables960:"_comcontainerTables960_xl2as_1",comcontainerTables760:"_comcontainerTables760_xl2as_1",comcontainerTables320:"_comcontainerTables320_xl2as_1",comtoniKroosWrapper:"_comtoniKroosWrapper_xl2as_1",comtoniKroosWrapper1080:"_comtoniKroosWrapper1080_xl2as_1",comtoniKroosWrapper975:"_comtoniKroosWrapper975_xl2as_1",comtoniKroosWrapper760:"_comtoniKroosWrapper760_xl2as_1",comtoniKroosWrapper420:"_comtoniKroosWrapper420_xl2as_1",comtoniKroosWrapper320:"_comtoniKroosWrapper320_xl2as_1",frameChild:"_frameChild_xl2as_1",filtros:"_filtros_xl2as_1",groupParent:"_groupParent_xl2as_1",shapeIcon:"_shapeIcon_xl2as_1",btnFilters:"_btnFilters_xl2as_1",btnFiltersPC:"_btnFiltersPC_xl2as_1",comquitarFiltros:"_comquitarFiltros_xl2as_1",comquitarFiltros730:"_comquitarFiltros730_xl2as_1",comquitarFiltros480:"_comquitarFiltros480_xl2as_1",comquitarFiltros380:"_comquitarFiltros380_xl2as_1",btnCloseFilters:"_btnCloseFilters_xl2as_1",commejoresJugadores:"_commejoresJugadores_xl2as_1",commejoresJugadores730:"_commejoresJugadores730_xl2as_1",commejoresJugadores480:"_commejoresJugadores480_xl2as_1",mejoresJugadoresSM:"_mejoresJugadoresSM_xl2as_1",toniKroos:"_toniKroos_xl2as_1",teamBar:"_teamBar_xl2as_1",commenuSection:"_commenuSection_xl2as_1",commenuSection960:"_commenuSection960_xl2as_1",comcontainerMenu:"_comcontainerMenu_xl2as_1",comcontainerMenu760:"_comcontainerMenu760_xl2as_1",containerFilters:"_containerFilters_xl2as_1",teamBarParent:"_teamBarParent_xl2as_1",comtopFilters:"_comtopFilters_xl2as_1",comtopFilters1232:"_comtopFilters1232_xl2as_1",comtopFilters420:"_comtopFilters420_xl2as_1",comtopFilters460:"_comtopFilters460_xl2as_1",comlosMejores:"_comlosMejores_xl2as_1",comlosMejores380:"_comlosMejores380_xl2as_1",comlosMejores530:"_comlosMejores530_xl2as_1",comlosMejores730:"_comlosMejores730_xl2as_1",commenuSectionHeader:"_commenuSectionHeader_xl2as_1",commenuSectionHeader1232:"_commenuSectionHeader1232_xl2as_1",commenuSectionHeader960:"_commenuSectionHeader960_xl2as_1",commenuSectionHeader730:"_commenuSectionHeader730_xl2as_1",comdropdown:"_comdropdown_xl2as_1",comdropdown730:"_comdropdown730_xl2as_1",comdropdown1:"_comdropdown1_xl2as_1",comdropdown1730:"_comdropdown1730_xl2as_1",comdropdownParent:"_comdropdownParent_xl2as_1",comdropdownParent730:"_comdropdownParent730_xl2as_1",commenuSectionParentHeader:"_commenuSectionParentHeader_xl2as_1",commenuSectionParentHeader1232:"_commenuSectionParentHeader1232_xl2as_1",commenuSectionParentHeader960:"_commenuSectionParentHeader960_xl2as_1",commenuSectionParentHeader730:"_commenuSectionParentHeader730_xl2as_1",commenuSectionParentHeader430:"_commenuSectionParentHeader430_xl2as_1",comdescubreVideos:"_comdescubreVideos_xl2as_1",comdescubreVideos1232:"_comdescubreVideos1232_xl2as_1",comdescubreVideos960:"_comdescubreVideos960_xl2as_1",allCategories:"_allCategories_xl2as_1",containerScountingBtncom:"_containerScountingBtncom_xl2as_3",btnDeleteAplicacom:"_btnDeleteAplicacom_xl2as_13",SearchBtnBarcom:"_SearchBtnBarcom_xl2as_33",btnLeyendTxtcom:"_btnLeyendTxtcom_xl2as_52",BtnSearchScountingcom:"_BtnSearchScountingcom_xl2as_61",containerPredefinedcom:"_containerPredefinedcom_xl2as_85",containerPredefinedScountingcom:"_containerPredefinedScountingcom_xl2as_92",titleContainerPredefinedcom:"_titleContainerPredefinedcom_xl2as_100",subtitleContainerPredefinedcom:"_subtitleContainerPredefinedcom_xl2as_111"},wp=s.ref(Tp()),Cp={components:{GSCTopCategory:Rn},computed:{...To.computed,filterChangePredefined(){return this.filtersPredefinedF},filterChange(){const e={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.fVnationalities,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},a=JSON.stringify(e);return JSON.stringify(this.filters)!=a,a},filterGolstats(){return this.FVfilterGolstats},filterButtonProps(){return{...wp.value}}},props:{timeLiveComparativeAvanced:{type:Number,default:6e4},currentSeasonId:{type:Number,default:0},typeData:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},teamId:{type:Number,default:0},gameId:{type:Number,default:0},isWidget:{type:Boolean,default:!1},seasonSelected:{type:Object,default:()=>({})},categoryView:{type:Array,default:()=>[]},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>({})},teamselect:{type:Number,default:0},seasonActive:{type:Number,default:0},defaultSection:{type:String,default:"Jugadores"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},tournamentsApiUrl:{type:String,default:""},numRows:{type:Number,default:5},dummyData:{type:Array,default:null},showPosition:{type:Boolean,default:!0},provider:{type:Number,default:1},isDevApis:{type:Boolean,default:!1}},watch:{async seasonActive(){if(this.seasonActive!=0){this.teams=[];const e=await this.fetchTeams();for(let a=0;a<e.teams.length;a++)this.teams.push({id:e.teams[a].team_id,team:e.teams[a].colloquial_name,logo:e.teams[a].logo})}}},setup(){const e=s.ref("myDivRefTopsFull"),{elementSize:a}=be(e);return{myDivRefTopsFull:e,elementSize:a}},data(){return{showfiltersPc:!1,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],arrayFiltersPlays:[],filtersPredefinedF:{},categoryPredefinedActive:!1,categoryPredefined:0,typeTable:0,keyUpdateFilter:0,loadingActive:!1,isTeam:!1,arrayPredefinedFilters:[],arrayCategoryFilter:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],arrayCategoryFilterFull:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],FVsetAvailableNationalTeamsPlayersIds:new Set,showOnlyCategories:!1,showFullCategory:0,categoryName:"",showFullTable:!1,expansionPanelModePropsTypePlays:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",width:"400px",maxWidth:"400px"},expansionPanelProps:{width:"400px",borderRadius:"8px"},fieldComponentProps:{widthContainer:"400px"}},expansionPanelModeProps:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)"},expansionPanelProps:{width:"400px",borderRadius:"8px",fontFamily:"'Poppins-Regular'"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"13px"}},expansionPanelModePropsMobil:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"300px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},expansionPanelModePropsMobil270:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"270px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},filters:{zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},categoriesPlaysTypes:{offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!0,id:1},{name:"Tiros a gol",isSelected:!0,id:6},{name:"Tiros a gol con destino a portería",isSelected:!0,id:7},{name:"Asistencias",isSelected:!0,id:4},{name:"Centros",isSelected:!0,id:10},{name:"Centros acertados",isSelected:!0,id:11},{name:"Participaciones en gol",isSelected:!0,id:5},{name:"1vs1 exitosos ofensivos",isSelected:!0,id:12},{name:"1vs1 exitosos ofensivos que terminan en gol",isSelected:!0,id:13},{name:"Balones ganados en área rival",isSelected:!0,id:17},{name:"Cabeceos en área rival",isSelected:!0,id:8},{name:"Tiros de esquina",isSelected:!0,id:23}]},defensive:{title:"Defensivo",categories:[{name:"1vs1 defensivos exitosos",isSelected:!0,id:14},{name:"Cabeceo en área propia",isSelected:!0,id:9},{name:"Balones ganados en área propia",isSelected:!0,id:16},{name:"Rechaces",isSelected:!0,id:15},{name:"Atajadas",isSelected:!0,id:22}]},possession:{title:"Posesión",categories:[{name:"Pases acertados",isSelected:!0,id:2},{name:"Balones recuperados en disputa",isSelected:!0,id:3}]},offenses:{title:"Infracciones",categories:[{name:"Faltas cometidas",isSelected:!0,id:18},{name:"Faltas recibidas",isSelected:!0,id:19},{name:"Tarjetas amarillas",isSelected:!0,id:20},{name:"Tarjetas rojas",isSelected:!0,id:21}]},offensesConditions:{areYellowCardSelected:!1,areRedCardSelected:!1,areFoulsCommittedSelected:!1}},categoriesDefault:[{id:1,name:"Goles",isSelected:!1},{id:2,name:"Pases acertados",isSelected:!1},{id:23,name:"Tiros de Esquina",isSelected:!1},{id:3,name:"Balones recuperados en disputa",isSelected:!1},{id:4,name:"Asistencias",isSelected:!1},{id:5,name:"Participaciones en gol",isSelected:!1},{id:6,name:"Tiros a gol",isSelected:!1},{id:7,name:"Tiros a gol que llegaron a la portería",isSelected:!1},{id:8,name:"Cabeceos en área rival",isSelected:!1},{id:9,name:"Cabeceos en área propia",isSelected:!1},{id:10,name:"Centros",isSelected:!1},{id:11,name:"Centros acertados",isSelected:!1},{id:12,name:"1vs1 exitosos ofensivos",isSelected:!1},{id:13,name:"1vs1 exitosos ofensivos que terminaron en gol",isSelected:!1},{id:14,name:"1vs1 defensivos exitoso",isSelected:!1},{id:15,name:"Rechaces",isSelected:!1},{id:16,name:"Balones ganados en área propia",isSelected:!1},{id:17,name:"Balones ganados en área rival",isSelected:!1},{id:18,name:"Faltas cometidas",isSelected:!1},{id:19,name:"Faltas recibidas",isSelected:!1},{id:20,name:"Tarjetas amarillas",isSelected:!1},{id:21,name:"Tarjetas rojas",isSelected:!1},{id:22,name:"Atajadas",isSelected:!1}],isCup:!1,arrayPredefinedOrigin:[],indexPredefinedFiltersSelected:0,predefinedFiltersMatchLapse:[],predefinedFiltersPlayingAs:[],predefinedFiltersSections:[],updateTables:0,updateTablesfull:0,optionSelected:"Jugadores",optionSelectedSubmenu:"Todas las jugadas",tournamentsUrl:"https://17zyhpyc7c.execute-api.us-west-2.amazonaws.com/prod/tournaments",teamsUrl:"https://d2oco6mqmc.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/",urlFilter:"https://cqqxaonvm6.execute-api.us-east-2.amazonaws.com/prod/gs2/tops/filters?categories=",retries:3,teams:[],updateFilterGolstats:0,updateFilterPlaytypesGolstats:0,arrayTournaments:[],arraySeasons:{},seasonBytournament:[],filtersTypes:Dn,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",fVnationalities:new Set,fVzone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],fVplayingAs:[1,2],fVsections:[1,2,3,4,5,6],fVmatchResult:[1,2,3],fVarrayAgeRange:[10,40],FVeligible:[],FVYear:1900,fVtypeZone:2,fVsetPositionsIds:[1,2,3,4,5,6,7,8,9],currentIndex:-1,delay:800,tournamentSelected:0,tournamentSelectedObj:{},FVfilterGolstats:[],updateFilterField:0,openMenuMobil:!1,selectedTournament:{seasons:[]},selectedSeasonObj:{}}},methods:{getnameshort(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),n="";t.length==2||t.length==1?t[0].length<4?n=t[0]+" "+t[1]:n=t[0]:t.length==3?n=t[0]+" "+t[1]:t.length==4&&(n=t[1]+" "+t[2]+" "+t[3]);var o=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return n=n.replace(",",""),o+". "+n},setUpTournamentsToFilter(){this.tournamentsToFilter.forEach(e=>{const a=e.id===this.selectedTournament.id;e.isSelected=a,e.isDefaultTournament=a})},async onClickDeleteFilter(){this.optionSelectedSubmenu=="Predeterminados"?this.resetPredefinedTeamAll():(this.arrayFiltersPlays=[],setTimeout(()=>{},200))},clickOpenFilters(){this.showfiltersPc=!0},clickCloseFilters(){this.showfiltersPc=!1},async selectedSeason(e){this.seasonActive!==e.id&&(this.seasonActive=e.id,this.resetPredefinedTeamAll(),this.$emit("change-season-id",e.id))},changeTournament(e){e.id!==this.selectedTournament.id&&(this.selectedTournament=e,this.tournamentSelectedObj={propName:"id",value:e.id},this.teamselect=0,this.resetPredefinedTeamAll(),this.setUpTournamentsToFilter())},changeTournamentMovil(e){this.tournamentSelectedObj={propName:"id",value:e.id},this.seasonBytournament=e.seasons,this.teamselect=0},selectedSeasonMovil(e){this.seasonActive=e.id},setRelevantCategoriesPlayer(e){return e===1?[39,40,52,53,54,55,323,324,608,774,802]:[10,12,14,15,27,35,61,217,257,466,519,607,702,730,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,211,232,235,239,242,282,284,289,291,296,485,486,487,488]},setOpenMedia(e){this.$emit("openmedia",e)},setMediaData(e){let n=[e.id],o=e.team_id;const r={seasonId:e.season_id,isFeaturedPlayers:!1,mainSectionType:1,playListType:2,gameIds:null,playerIds:n,goalkeeperIds:[],categoryIds:this.setRelevantCategoriesPlayer(e.position),teamId:o||0,matchResult:[1,2,3],categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:"Jugadas Relevantes"}};this.$emit("openmedia",r)},clickprofile(e){e.isTeam?this.$emit("openProfileTeam",{teamId:e.id,seasonId:this.seasonActive}):this.$emit("openProfilePlayer",{playerId:e.id,teamId:e.teamId,seasonId:this.seasonActive})},viewprofile(e,a,t){this.$emit("openProfilePlayer",{playerId:e,teamId:t,seasonId:a||this.seasonActive})},openMenuFilters(){this.openMenuMobil=!this.openMenuMobil,this.showfiltersPc=!0},clickexpand(){},async getScoutingData(){this.arrayFiltersPlays=[],this.loadingActive=!0;const e=E.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.post(ee("https://eh9nhj69z7.execute-api.us-west-2.amazonaws.com/prod/players/productivity",this.provider,this.isDevApis),this.filterScounting,{headers:{"Content-Type":"application/json"}});if(this.filterScounting.tournaments.length>0){var t=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersTournaments");t!==-1?this.arrayFiltersPlays[t].name=this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX":this.arrayFiltersPlays.push({name:this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX",type:"onFiltersTournaments"})}this.rowScoutingData=[];for(let n=0;n<a.length;n++){a[n];let r=a[n].dob.split("T")[0].split("-");var i={position:n+1,player_name:this.abrevName(a[n].name),player_photo:"https://golstatsimages.blob.core.windows.net/players-profile/"+a[n].player_id+".png",total:a[n].total.toFixed(0),id:a[n].player_id,player_age:this.calcularEdad(a[n].dob),team_abrev:a[n].teams[0].acronym,team_name:a[n].teams[0].team_name,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+a[n].teams[0].team_id+".png",player_position:a[n].position_id,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+a[n].nationality_id+".jpg",date:r[2]+"."+r[1]+"."+r[0].substring(2,4),team_id:a[n].team_id,nationality_name:$s[a[n].nationality_id],player_games:a[n].games_played,player_min:a[n].minutes_played,league_name:a[n].tournament_name,seasons:a[n].seasons,season_id:a[n].seasons[0]};this.rowScoutingData.push(i)}if(this.seasonsFilterSelected!=0){const n=await this.fetchTeamsScouting(this.seasonsFilterSelected);this.teamselect=0,this.teamselectrec=0,this.teamsscouting=[];for(let o=0;o<n.teams.length;o++)this.teamsscouting.push({id:n.teams[o].team_id,team:n.teams[o].colloquial_name,logo:n.teams[o].logo})}this.loadingActive=!1},abrevName(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),n="";t.length==2||t.length==1?t[0].length<4?n=t[0]+" "+t[1]:n=t[0]:t.length==3?n=t[0]+" "+t[1]:t.length==4&&(n=t[1]+" "+t[2]+" "+t[3]);var o=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";n=n.replace(",","");var r=o+". "+n;return r},calcularEdad(e){var a=new Date(e),t=new Date,i=t-a,n=Math.floor(i/(1e3*60*60*24*365.25));return n},async onFiltersTournaments(e){this.modifidFiltersFlag=!0;var a=[];for(let t=0;t<e.length;t++)e[t].isSelected&&a.push(e[t].id);if(a.length==0&&(a=[1]),a.length==1)for(let t=0;t<e.length;t++)e[t].isSelected&&(this.nameLeagueSelected=e[t].name,this.seasonsFilterSelected=e[t].seasons[0].id);else this.seasonsFilterSelected=0,a.length>0&&(this.nameLeagueSelected=a.length+" Ligas");this.filterScounting.tournaments=a,this.filterScounting.seasonId=e[0].seasons[0].id},onFiltersPersonalData(e){if(this.modifidFiltersFlag=!0,e.hasOwnProperty("ageByRange")){const i=e.ageByRange.min==0?10:e.ageByRange.min,n=e.ageByRange.max==0?40:e.ageByRange.max;this.filterScounting.range_age=[i,n],this.filterScounting.age_or_year=1}else this.filterScounting.range_age=[];e.hasOwnProperty("year")?(this.filterScounting.year=e.year,this.filterScounting.age_or_year=0):this.filterScounting.year=0;var a=[];if(e.hasOwnProperty("nationalities")){for(let i=0;i<e.nationalities.length;i++)e.nationalities[i].isSelected&&a.push(e.nationalities[i].id);a.length==0&&(a=[3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,221,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,239])}this.filterScounting.elegibles=[],e.hasOwnProperty("eligibility")&&(this.filterScounting.elegibles=[e.eligibility[0].id]);var t=[];for(let i=0;i<e.positions.length;i++)e.positions[i].isSelected&&t.push(e.positions[i].id);t.length==0&&(t=[1,2,3,4,5,6,7,8,9,10]),this.filterScounting.positions=t,this.filterScounting.nationalities=a},onFiltersUniverse(e){this.modifidFiltersFlag=!0,this.filterScounting.minutes_played=Number(e.minutesPlayed),this.filterScounting.last_months=Number(e.lastMonths),this.filterScounting.minutes_played_avg=Number(e.percentMinutesPlayed),this.filterScounting.type_stats=e.statistics.averagePerGame?3:e.statistics.averagePerMinute?2:1},onFiltersProductivity(e){this.modifidFiltersFlag=!0;var a=[];for(let t=0;t<e.productivityFilters.length;t++)a[e.productivityFilters[t].priority-1]={name:e.productivityFilters[t].name,ids:e.productivityFilters[t].id};a.length==0&&(a=[]),this.filterScounting.categories=a,this.filterScounting.fouls=e.offensesConditions.areFoulsCommittedSelected,this.filterScounting.yellow_cards=e.offensesConditions.areYellowCardsSelected,this.filterScounting.red_cards=e.offensesConditions.areRedCardsSelected},onFiltersGolStats(e){if(e.length>0){var a=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");a!==-1?this.arrayFiltersPlays[a].name=e[0].name:this.arrayFiltersPlays.push({name:e[0].name,type:"onFiltersPredefined"}),this.filtersPredefinedF=e[0].filters}else{var t=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&t!==-1){this.filtersPredefinedF=this.filters;for(let n=0;n<this.FVfilterGolstats.length;n++)this.FVfilterGolstats[n].isSelected=!1;var t=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersPredefined");t!==-1&&this.arrayFiltersPlays.splice(t,1),this.updateFilterGolstats+=1}}},shouldRender(e){return e<=this.currentIndex},renderNext(){this.currentIndex++,this.currentIndex<this.categoriesDefault.length&&setTimeout(()=>{this.$nextTick(()=>{this.renderNext()})},this.delay)},async onFiltersPlaysTypes(e){if(e.length>0){this.categoryPredefinedActive=!0,this.loadingActive=!0,this.categoryPredefined=e[0].id;var a=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&a!==-1){this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(a,1);var t=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(t!==-1){for(let i=0;i<this.FVfilterGolstats.length;i++)this.FVfilterGolstats[i].isSelected=!1;t!==-1&&this.arrayFiltersPlays.splice(t,1),this.updateFilterGolstats+=1}}this.updateTables+=1,setTimeout(()=>{this.loadingActive=!1},1e3),await this.getPredefinedfilters(e[0]),this.FVfilterGolstats.length>0&&(this.onFiltersGolStats([this.FVfilterGolstats[0]]),this.FVfilterGolstats[0].isSelected=!0)}else{var a=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersPredefinedCategory");if(this.categoriesDefault.length>0&&a!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters,this.arrayFiltersPlays.splice(a,1);for(let o=0;o<this.categoriesDefault.length;o++)this.categoriesDefault[o].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var t=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&t!==-1){for(let o=0;o<this.FVfilterGolstats.length;o++)this.FVfilterGolstats[o].isSelected=!1;t!==-1&&this.arrayFiltersPlays.splice(t,1),this.updateFilterGolstats+=1}}}},deleteCategoryFilter(){this.categoryName="",this.showFullCategory=0,this.showFullTable=!1,delete this.filters.aux},onShowFullTable(e){this.categoryName=e.categoryName,this.showFullCategory=e.category,this.showFullTable=!0,this.loadingActive=!0,setTimeout(()=>{this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,aux:this.getRandomNumber(1,1e4),booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.loadingActive=!1},1e3)},getRandomNumber(e,a){return Math.floor(Math.random()*(a-e+1))+e},applyFiltersBtn(e){},onFiltersPlays(e){if(this.arrayCategoryFilter=[],this.arrayCategoryFilterFull=[],e.playsCategories.length==0){for(let t=0;t<this.categoriesPlaysTypes.offensive.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offensive.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t]);for(let t=0;t<this.categoriesPlaysTypes.defensive.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.defensive.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t]);for(let t=0;t<this.categoriesPlaysTypes.possession.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.possession.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t]);for(let t=0;t<this.categoriesPlaysTypes.offenses.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offenses.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t])}else for(let t=0;t<e.playsCategories.length;t++)e.playsCategories[t].isSelected&&(this.arrayCategoryFilter.push(e.playsCategories[t].id),this.arrayCategoryFilterFull.push(e.playsCategories[t]));var a=this.arrayFiltersPlays.findIndex(t=>t.type==="onFiltersPlays");this.arrayCategoryFilter.length>0&&this.arrayCategoryFilter.length!=23?this.arrayCategoryFilter.length==1?a!=-1?this.arrayFiltersPlays[a].name=this.arrayCategoryFilterFull[0].name:this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull[0].name,type:"onFiltersPlays"}):a!=-1?this.arrayFiltersPlays[a].name=this.arrayCategoryFilterFull.length+" Tipos de jugadas":this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull.length+" Tipos de jugadas",type:"onFiltersPlays"}):a!==-1&&this.arrayFiltersPlays.splice(a,1)},async deleteLabelFilter(e){var a=this.arrayFiltersPlays.findIndex(i=>i.type===e);if(a!==-1){if(e=="onFiltersTournaments"&&(this.arrayFiltersPlays=[],setTimeout(()=>{},200)),e=="onFiltersPlays"){for(let i=0;i<this.categoriesPlaysTypes.offensive.categories.length;i++)this.categoriesPlaysTypes.offensive.categories[i].isSelected=!0;for(let i=0;i<this.categoriesPlaysTypes.defensive.categories.length;i++)this.categoriesPlaysTypes.defensive.categories[i].isSelected=!0,this.arrayCategoryFilter.push(),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[i]);for(let i=0;i<this.categoriesPlaysTypes.possession.categories.length;i++)this.categoriesPlaysTypes.possession.categories[i].isSelected=!0;for(let i=0;i<this.categoriesPlaysTypes.offenses.categories.length;i++)this.categoriesPlaysTypes.offenses.categories[i].isSelected=!0}if(e=="onFiltersField"&&(this.fVzone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersPredefined"){this.filtersPredefinedF=this.filters;for(let i=0;i<this.FVfilterGolstats.length;i++)this.FVfilterGolstats[i].isSelected=!1;this.updateFilterGolstats+=1,this.resetPredefinedTeamAll()}if(e=="onFiltersPredefinedCategory"){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters;var t=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");t!==-1&&this.arrayFiltersPlays.splice(t,1);for(let i=0;i<this.categoriesDefault.length;i++)this.categoriesDefault[i].isSelected=!1;this.updateFilterPlaytypesGolstats+=1}e=="onFiltersDetailsTime"&&(this.detailsObject.gameSections[0].isSelected=!0,this.detailsObject.gameSections[1].isSelected=!0,this.detailsObject.gameSections[2].isSelected=!0,this.detailsObject.gameSections[3].isSelected=!0,this.detailsObject.gameSections[4].isSelected=!0,this.detailsObject.gameSections[5].isSelected=!0,this.fVsections=[1,2,3,4,5,6],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersDetailsPlayingAs"&&(this.detailsObject.playingAs[0].isSelected=!0,this.detailsObject.playingAs[1].isSelected=!0,this.fVplayingAs=[1,2],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersNationality"&&(this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204),this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Te.NATIONALITY)),e=="onFiltersPosition"&&(this.fVsetPositionsIds=[1,2,3,4,5,6,7,8,9],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Te.POSITION)),e=="onFiltersAge"&&(this.fVarrayAgeRange=[10,40],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Te.AGE_RANGE)),e=="onFiltersElegibility"&&this.$refs.personalDataFilterPlayers.clearFilters(Te.ELIGIBILITY),e=="onFiltersYear"&&(this.$refs.personalDataFilterPlayers.clearFilters(Te.YEAR),this.FVYear=1900,this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds})}this.arrayFiltersPlays.splice(a,1)},clickAll(){},clickAllAll(){},clickTeam(){},clickTeamScouting(){},resetFilterTeamAndPlayers(){this.filters={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set}},async changeTabsGeneral(e){this.resetPredefinedTeamAll(),this.showfiltersPc=!0,this.optionSelected=e,this.optionSelectedSubmenu="Todas las jugadas",this.filtersPredefinedF={},this.categoryPredefinedActive=!1,this.categoryPredefined=0,e=="Equipos"&&(this.typeTable=1,this.isTeam=!0,this.updateTables+=1,this.arrayFiltersPlays=[],this.teamselect=0,this.resetFilterTeamAndPlayers()),e=="Jugadores"&&(this.typeTable=0,this.isTeam=!1,this.teamselect=0,this.updateTables+=1,this.resetFilterTeamAndPlayers())},resetPredefinedTeamAll(){var e=this.arrayFiltersPlays.findIndex(t=>t.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&e!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(e,1);for(let t=0;t<this.categoriesDefault.length;t++)this.categoriesDefault[t].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var a=this.arrayFiltersPlays.findIndex(t=>t.type==="onFiltersPredefined");if(a!==-1){for(let t=0;t<this.FVfilterGolstats.length;t++)this.FVfilterGolstats[t].isSelected=!1;a!==-1&&this.arrayFiltersPlays.splice(a,1),this.updateFilterGolstats+=1}}},changeTabsSubmenu(e){e!="Predeterminados"?this.resetPredefinedTeamAll():this.arrayFiltersPlays=[],this.optionSelectedSubmenu=e},async fetchTournaments(){const e=E.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.get(ee(this.tournamentsUrl,this.provider,this.isDevApis));return a},async fetchTeams(){const e=E.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.get(ee(this.teamsUrl,this.provider,this.isDevApis)+this.seasonActive);return a},async fetchTeamsScouting(e){const a=E.create({headers:{Authorization:`${this.token}`}}),{data:t}=await a.get(ee(this.teamsUrl,this.provider,this.isDevApis)+e);return t},async getPredefinedfilters(e){this.arrayPredefinedFilters=[],this.arrayPredefinedOrigin=[];var a="";e.id==1?a=this.urlFilter:a=this.urlFilter;const t=E.create({headers:{Authorization:`${this.token}`}}),{data:i}=await t.get(ee(a,this.provider,this.isDevApis)+e.id);if(Object.keys(i[0].match_lapse_combinations).forEach(m=>{this.predefinedFiltersMatchLapse[m.toString()]=i[0].match_lapse_combinations[m]}),Object.keys(i[0].playing_as_combinations).forEach(m=>{this.predefinedFiltersPlayingAs[m.toString()]=i[0].playing_as_combinations[m]}),Object.keys(i[0].field_sections_combinations).forEach(m=>{this.predefinedFiltersSections[m.toString()]=i[0].field_sections_combinations[m]}),i[0]){for(let m=0;m<i[0].filter_records.length;m++){var n=i[0].description;if(i[0].filter_records[m].field_sections!==void 0){const _=i[0].filter_records[m].field_sections.toString();(this.predefinedFiltersSections[_]||this.predefinedFiltersSections[_]=="")&&(this.predefinedFiltersSections[_]==""?n=n.replace(" [en {field_sections}]",this.predefinedFiltersSections[_]):n=n.replace("{field_sections}",this.predefinedFiltersSections[_]))}if(i[0].filter_records[m].match_lapse!==void 0){const _=i[0].filter_records[m].match_lapse.toString();(this.predefinedFiltersMatchLapse[_]||this.predefinedFiltersMatchLapse[_]=="")&&(this.predefinedFiltersMatchLapse[_]==""?n=n.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[_]):n=n.replace("{match_lapse}",this.predefinedFiltersMatchLapse[_]))}if(i[0].filter_records[m].playing_as!==void 0){const _=i[0].filter_records[m].playing_as.toString();(this.predefinedFiltersPlayingAs[_]||this.predefinedFiltersPlayingAs[_]=="")&&(this.predefinedFiltersPlayingAs[_]==""?n=n.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[_]):n=n.replace("{playing_as}",this.predefinedFiltersPlayingAs[_]))}i[0].filter_records[m].section_type!==void 0&&(this.optionSelected=="Jugadores"?n=n.replace("{section_type}","Jugadores"):n=n.replace("{section_type}","Equipos")),n=n.replace(/\[/g,""),n=n.replace(/\]/g,""),n=n.replace("{category_name}",i[0].category_name);const u=n.split(": ");var o=u[1];o.length>129&&this.windowWidth>1358&&(o=o.substring(0,129),o=o+"<span id='showIDtootip' class='dots' style='width: 100px; height: 20px; background: red; z-index: 6;'>...</span>"),(!this.isCup||i[0].filter_records[m].playing_as.length===2)&&this.arrayPredefinedFilters.push({id:m,category_name:e.name,id_category:i[0].id,title:u[0]+":",text:u[1],textOrigin:i[0].description,titledots:o,filtersPredefined:{matchResult:i[0].filter_records[m].match_result,playingAs:i[0].filter_records[m].playing_as,sections:i[0].filter_records[m].match_lapse,type:this.optionSelected=="Equipos"?2:1,typeZone:i[0].type_zone,zone:i[0].filter_records[m].field_sections,end_age:0,start_age:0,nationalities:[],elegible:[],positions:[]}})}var r=[];for(let m=0;m<this.arrayPredefinedFilters.length;m++){var c=0,p=new Set,d={},l=this.arrayPredefinedFilters[m].text.replace(/\*.*?\*/,"");if(l=l.replace(/\*/g,""),l=l.replace(/ +/g," "),this.arrayPredefinedFilters[m].filtersPredefined.elegible.length>0&&(c+=1),(this.arrayPredefinedFilters[m].filtersPredefined.end_age.length!=0||this.arrayPredefinedFilters[m].filtersPredefined.start_age.length!=0)&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.end_age!=0&&this.arrayPredefinedFilters[m].filtersPredefined.start_age!=0?d.arrayAgeRange=[this.arrayPredefinedFilters[m].filtersPredefined.start_age,this.arrayPredefinedFilters[m].filtersPredefined.end_age]:this.arrayPredefinedFilters[m].filtersPredefined.end_age==0&&this.arrayPredefinedFilters[m].filtersPredefined.start_age==0?d.arrayAgeRange=[1,60]:this.arrayPredefinedFilters[m].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[m].filtersPredefined.end_age==0?d.arrayAgeRange=[this.arrayPredefinedFilters[m].filtersPredefined.start_age,60]:d.arrayAgeRange=[1,this.arrayPredefinedFilters[m].filtersPredefined.end_age],this.arrayPredefinedFilters[m].filtersPredefined.matchResult.length!=3&&(c+=1),d.matchResult=this.arrayPredefinedFilters[m].filtersPredefined.matchResult,this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length>0&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length!=0){for(let u=0;u<this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length;u++)p.add(this.arrayPredefinedFilters[m].filtersPredefined.nationalities[u]);d.setNationalitiesIds=p}else p.add(138),p.add(222),p.add(163),p.add(51),p.add(226),p.add(10),p.add(223),p.add(96),p.add(171),p.add(198),p.add(105),p.add(80),p.add(29),p.add(74),p.add(216),p.add(196),p.add(64),p.add(155),p.add(156),p.add(89),p.add(106),p.add(81),p.add(233),p.add(204),d.setNationalitiesIds=p;this.arrayPredefinedFilters[m].filtersPredefined.playingAs.length!=2&&(c+=1),d.playingAs=this.arrayPredefinedFilters[m].filtersPredefined.playingAs,this.arrayPredefinedFilters[m].filtersPredefined.positions.length>0&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.positions.length>0?d.setPositionsIds=this.arrayPredefinedFilters[m].filtersPredefined.positions:d.setPositionsIds=[1,2,3,4,5,6,7,8,9],this.arrayPredefinedFilters[m].filtersPredefined.sections.length!=6&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.sections.length>0?d.sections=this.arrayPredefinedFilters[m].filtersPredefined.sections:d.sections=[1,2,3,4,5,6],this.arrayPredefinedFilters[m].filtersPredefined.zone.length!=16&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.zone.length>0?d.zone=this.arrayPredefinedFilters[m].filtersPredefined.zone:d.zone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],d.typeZone=this.arrayPredefinedFilters[m].filtersPredefined.typeZone,r.push({id:m+1,name:l,isSelected:!1,value:c,filters:d})}this.FVfilterGolstats=r,this.updateFilterGolstats+=1,this.arrayPredefinedOrigin=JSON.parse(JSON.stringify(this.arrayPredefinedFilters))}},getTextFilterPredefinedCustom(){this.setDinamicFilters(this.filterEmitAux);var e=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].textOrigin;const a=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.zone.sort((l,m)=>l-m).toString();this.predefinedFiltersSections[a]||this.predefinedFiltersSections[a]==""?this.predefinedFiltersSections[a]==""?e=e.replace(" [en {field_sections}]",this.predefinedFiltersSections[a]):e=e.replace("{field_sections}",this.predefinedFiltersSections[a]):e=e.replace("{field_sections}",this.predefinedFiltersSections.other);var t=!1;this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==this.setNationalityIds.size?(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==1?(e=e.replace("[{nationality}]",this.$t(`gentilicios[${[...this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities][0]}]`)),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size>0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size!=this.setPositionsIds.size?(t=!0,e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?(t||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size==this.setPositionsIds.size)&&(e=e.replace("[de las posiciones seleccionadas]","")):e=e.replace("[de las posiciones seleccionadas]",""),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]",""));const i=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.sections.sort().toString();if(this.predefinedFiltersMatchLapse[i]||this.predefinedFiltersMatchLapse[i]=="")this.predefinedFiltersMatchLapse[i]==""?e=e.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[i]):e=e.replace("{match_lapse}",this.predefinedFiltersMatchLapse[i]);else{e=e.replace("{match_lapse}"," "+this.predefinedFiltersMatchLapse.other);var n="";i.includes(1)&&(n=n+"0-15, "),i.includes(2)&&(n=n+"16-30, "),i.includes(3)&&(n=n+"31-45, "),i.includes(4)&&(n=n+"46-60, "),i.includes(5)&&(n=n+"61-75, "),i.includes(6)&&(n=n+"76-90, "),n=n.slice(0,-2),n=n.replace(/,([^,]*)$/," y $1"),e=e.replace("{match_lapse_selected}",n)}const o=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.playingAs.sort().toString();(this.predefinedFiltersPlayingAs[o]||this.predefinedFiltersPlayingAs[o]=="")&&(this.predefinedFiltersPlayingAs[o]==""?e=e.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[o]):e=e.replace("{playing_as}",this.predefinedFiltersPlayingAs[o])),this.typeSelected==1?this.getUser.tournament==1001?this.category.id==22?e=e.replace("{section_type}","Porteras"):e=e.replace("{section_type}","Jugadoras"):this.category.id==22?e=e.replace("{section_type}","Porteros"):e=e.replace("{section_type}","Jugadores"):e=e.replace("{section_type}","Equipos"),e=e.replace(/\[/g,""),e=e.replace(/\]/g,""),e=e.replace("{category_name}",this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].category_name);const r=e.split(": ");let c=r[1].charAt(0).toUpperCase()+r[1].toLowerCase().slice(1),p=r[1].charAt(0).toUpperCase()+r[1].toLowerCase().slice(1);this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].text=c,this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].title=r[0]+":";const d=p.match(/\*/g);if(d&&d.length)if(d.length%2===0)for(let l=1;l<=d.length;l++)l%2===0||(p=p.replace("*",'<span style="color: #ffff03" >'));else p=p.replaceAll("*","");this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].titledots=p},intervalidtops(e){this.$emit("intervalidtops",e)}},mounted(){sessionStorage.getItem("sidpdfil")!==null&&sessionStorage.setItem("sidpdfil",0),this.renderNext(),this.teamId!==0&&this.clickTeam(this.teamId),this.defaultSection!=="Jugadores"&&this.changeTabsGeneral(this.defaultSection)},async created(){try{const e=E.create({headers:{"Content-Type":"application/json"}});e.interceptors.request.use(t=>(delete t.headers.Authorization,t));const a=await e.get("https://golstats-microservices.s3.us-west-2.amazonaws.com/eligibles/elegibles.json",{headers:{"Content-Type":"application/json"}});this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204)}catch(e){throw new Error(e)}}},kp={ref:"myDivRefTopsFull",style:{width:"100%","max-width":"100%","box-sizing":"border-box"}};function Ep(e,a,t,i,n,o){const r=s.resolveComponent("GSCTopCategory");return s.openBlock(),s.createElementBlock("div",kp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.categoryView,(c,p)=>(s.openBlock(),s.createElementBlock("div",{key:p,class:s.normalizeClass(e.toniKroosWrapperClass)},[(s.openBlock(),s.createBlock(r,{"is-widget":t.isWidget,"team-widget":t.teamWidget,"time-live-comparative-avanced":t.timeLiveComparativeAvanced,"is-team":n.isTeam,carrousel:t.carrousel,arrow:t.arrow,"border-width":0,"can-play-videos":t.canPlayVideos,"border-radius":"12px","game-id":t.gameId,game:t.game,typeData:t.typeData,category:c.id,"type-table":n.typeTable,categoryName:c.name,"season-selected":t.seasonSelected,season:t.seasonActive,"filter-team":t.teamselect,"num-rows":t.numRows,key:n.updateTables,"dummy-data":t.dummyData,"show-position":t.showPosition,provider:t.provider,"is-dev-apis":t.isDevApis},null,8,["is-widget","team-widget","time-live-comparative-avanced","is-team","carrousel","arrow","can-play-videos","game-id","game","typeData","category","type-table","categoryName","season-selected","season","filter-team","num-rows","dummy-data","show-position","provider","is-dev-apis"]))],2))),128))],512)}const Np=j(Cp,[["render",Ep],["__cssModules",{$style:Sp}]]),Pp=[{top:"01",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow@2x.png",id:9991,age:25,team:"EQU",teamid:1,position:"DEL",positionId:9,positionfull:"Delantero",country:138,effectiveness:100,minutes:90,games:1,date:"01-01-1999",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Goles",total:15},{top:"02",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9992,age:27,team:"EQU",teamname:"Equipo",teamid:1,position:"MED",positionId:7,positionfull:"Medio",country:138,effectiveness:95,minutes:85,games:1,date:"02-02-1998",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Asistencias",total:12},{top:"03",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9993,age:22,team:"EQU",teamname:"Equipo",teamid:1,position:"DEF",positionId:2,positionfull:"Defensa",country:138,effectiveness:90,minutes:80,games:1,date:"03-03-2000",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Pases acertados",total:89},{top:"04",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9994,age:24,team:"EQU",teamname:"Equipo",teamid:1,position:"POR",positionId:1,positionfull:"Portero",country:138,effectiveness:88,minutes:70,games:1,date:"04-04-1997",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Atajadas",total:45},{top:"05",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9995,age:28,team:"EQU",teamname:"Equipo",teamid:1,position:"LAT",positionId:3,positionfull:"Lateral",country:138,effectiveness:85,minutes:60,games:1,date:"05-05-1995",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Centros",total:23}],Vp={class:"gsc-top-player"},xp=j({__name:"gsc-top-player",props:{categoryView:{type:Array,default:()=>[]},canPlayVideos:{type:Boolean,default:!0},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},type:{type:Number,default:1},game:{type:Object,default:()=>({})},gamed:{type:Number,default:90209},season:{type:Number,default:1909},teamView:{type:Number,default:0},numRows:{type:Number,default:5},useDummyData:{type:Boolean,default:!0},showPosition:{type:Boolean,default:!0},provider:{type:Number,default:1},isDevApis:{type:Boolean,default:!1}},setup(e){const t=e.useDummyData?Pp:null;return(i,n)=>(s.openBlock(),s.createElementBlock("div",Vp,[s.createVNode(Np,{"can-play-videos":e.canPlayVideos,carrousel:e.carrousel,arrow:e.arrow,"type-data":e.type,"game-id":e.gamed,game:e.game,"season-active":e.season,teamselect:e.teamView,"category-view":e.categoryView,"num-rows":e.numRows,"dummy-data":s.unref(t),"show-position":e.showPosition,provider:e.provider,"is-dev-apis":e.isDevApis},null,8,["can-play-videos","carrousel","arrow","type-data","game-id","game","season-active","teamselect","category-view","num-rows","dummy-data","show-position","provider","is-dev-apis"])]))}},[["__scopeId","data-v-cf457124"]]),Rp={class:"subcategory-group"},Fp={__name:"SubcategoryGroup",props:{subcategoryGroup:{type:Array,default:()=>[]}},setup(e){return(a,t)=>(s.openBlock(),s.createElementBlock("div",Rp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.subcategoryGroup,i=>(s.openBlock(),s.createBlock(s.unref(wt),{key:i.id,modelValue:i.isSelected,"onUpdate:modelValue":n=>i.isSelected=n,label:i.name},null,8,["modelValue","onUpdate:modelValue","label"]))),128))]))}},Bp=I(Fp,[["__scopeId","data-v-ae6f3d72"]]),zp={class:"filter-subcategories"},Ap=Object.freeze(Object.defineProperty({__proto__:null,default:I({__name:"FilterSubcategories",props:{subcategoryGroups:{type:Array,default:()=>[]}},setup(e){return(a,t)=>(s.openBlock(),s.createElementBlock("div",zp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.subcategoryGroups,i=>(s.openBlock(),s.createElementBlock("div",{key:i.id,class:"filter-subcategories__group"},[s.createVNode(Bp,{subcategoryGroup:i},null,8,["subcategoryGroup"])]))),128))]))}},[["__scopeId","data-v-5edaefc2"]])},Symbol.toStringTag,{value:"Module"})),Qe=e=>(s.pushScopeId("data-v-80d9c265"),e=e(),s.popScopeId(),e),Ip={class:"details__header"},Op=Qe(()=>s.createElementVNode("div",{class:"details__header__title"},"Jugando como",-1)),Gp={class:"details__header__checkbox"},Lp={class:"details__body"},vp={class:"details__body__playing-as"},Wp=["onClick"],Dp={class:"details__header"},Mp=Qe(()=>s.createElementVNode("div",{class:"details__header__title"},"En: (Elige el lapso de tiempo)",-1)),$p={class:"details__header__checkbox"},Up={class:"details__body"},jp=Qe(()=>s.createElementVNode("div",{class:"details__body__title"},"1er tiempo",-1)),Jp={class:"details__body__game-section"},Hp=["onClick"],qp={class:"details__body"},Kp=Qe(()=>s.createElementVNode("div",{class:"details__body__title"},"2do tiempo",-1)),Zp={class:"details__body__game-section"},Yp=["onClick"],Xp=Object.freeze(Object.defineProperty({__proto__:null,default:I({__name:"FilterConditions",props:{playingAs:{type:Array,default:()=>[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}]},gameSections:{type:Array,default:()=>[{text:"0-15",value:1,isSelected:!0},{text:"16-30",value:2,isSelected:!0},{text:"31-45",value:3,isSelected:!0},{text:"46-60",value:4,isSelected:!0},{text:"61-75",value:5,isSelected:!0},{text:"76-90",value:6,isSelected:!0}]},buttonsBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0)"},buttonsBackgroundColorActive:{type:String,default:"rgba(203, 238, 107, 0.05)"},buttonsTextColor:{type:String,default:"rgba(255, 255, 255, 0.8)"},buttonsTextColorActive:{type:String,default:"rgba(255, 255, 255, 1)"},buttonsBorderColor:{type:String,default:"#8ea2ab"},buttonsBorderColorActive:{type:String,default:"#cbee6b"},buttonsBorderWidth:{type:String,default:"0.8px"},buttonsBorderWidthActive:{type:String,default:"1px"},buttonsBorderRadius:{type:String,default:"4px"}},setup(e){const a=e;s.useCssVars(l=>({"49cba245":e.buttonsBackgroundColor,"52f02da6":e.buttonsTextColor,"7d3f686a":e.buttonsBorderWidth,"7c286a07":e.buttonsBorderColor,"24a6f4aa":e.buttonsBackgroundColorActive,cd8d7768:e.buttonsTextColorActive,"35fa5c10":e.buttonsBorderWidthActive,"0cde1826":e.buttonsBorderColorActive}));const t=s.computed(()=>a.playingAs.every(l=>l.isSelected)),i=s.computed(()=>a.gameSections.every(l=>l.isSelected)),n=s.computed(()=>a.gameSections.reduce((l,m)=>(m.value<=3?l.firstHalf.push(m):l.secondHalf.push(m),l),{firstHalf:[],secondHalf:[]})),o=s.computed(()=>({"--border-radius-first-button":`${a.buttonsBorderRadius} 0 0 ${a.buttonsBorderRadius}`,"--border-radius-last-button":`0 ${a.buttonsBorderRadius} ${a.buttonsBorderRadius} 0`}));function r(l){l?a.playingAs.forEach(m=>{m.isSelected=!0}):a.playingAs.forEach((m,u)=>{m.isSelected=u===0})}function c(l){a.playingAs.filter(m=>m.isSelected).length===1&&l.isSelected||(l.isSelected=!l.isSelected)}function p(l){a.gameSections.filter(m=>m.isSelected).length===1&&l.isSelected||(l.isSelected=!l.isSelected)}function d(l){l?a.gameSections.forEach(m=>{m.isSelected=!0}):a.gameSections.forEach((m,u)=>{m.isSelected=u===0})}return(l,m)=>(s.openBlock(),s.createElementBlock("div",{class:"details",style:s.normalizeStyle(o.value)},[s.createElementVNode("div",Ip,[Op,s.createElementVNode("div",Gp,[s.createVNode(s.unref(wt),{label:"Todos","model-value":t.value,"onUpdate:modelValue":r},null,8,["model-value"])])]),s.createElementVNode("div",Lp,[s.createElementVNode("div",vp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.playingAs,(u,_)=>(s.openBlock(),s.createElementBlock("div",{key:`pa${_}`,class:s.normalizeClass(["details__body__button",{active:u.isSelected}]),onClick:f=>c(u)},s.toDisplayString(u.name),11,Wp))),128))])]),s.createElementVNode("div",Dp,[Mp,s.createElementVNode("div",$p,[s.createVNode(s.unref(wt),{label:"Todos","model-value":i.value,"onUpdate:modelValue":d},null,8,["model-value"])])]),s.createElementVNode("div",Up,[jp,s.createElementVNode("div",Jp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value.firstHalf,(u,_)=>(s.openBlock(),s.createElementBlock("div",{key:`pa${_}`,class:s.normalizeClass(["details__body__button",{active:u.isSelected}]),onClick:f=>p(u)},s.toDisplayString(u.text),11,Hp))),128))])]),s.createElementVNode("div",qp,[Kp,s.createElementVNode("div",Zp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value.secondHalf,(u,_)=>(s.openBlock(),s.createElementBlock("div",{key:`pa${_}`,class:s.normalizeClass(["details__body__button",{active:u.isSelected}]),onClick:f=>p(u)},s.toDisplayString(u.text),11,Yp))),128))])])],4))}},[["__scopeId","data-v-80d9c265"]])},Symbol.toStringTag,{value:"Module"})),Qp={class:"filter-field"},ef=Object.freeze(Object.defineProperty({__proto__:null,default:I({__name:"FilterField",setup(e){const a=s.ref(Array.from({length:16},(i,n)=>n+1));function t(){}return(i,n)=>(s.openBlock(),s.createElementBlock("div",Qp,[s.createVNode(s.unref(il),{width:"100%","background-color":"#2E3B46",value:a.value,"onUpdate:modelValue":t},null,8,["value"])]))}},[["__scopeId","data-v-8103c3e1"]])},Symbol.toStringTag,{value:"Module"}));Z.GscTopPlayer=xp,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})}));
11
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...t){const i=new this(a);return t.forEach(n=>i.set(n)),i}static accessor(a){const t=(this[ga]=this[ga]={accessors:{}}).accessors,i=this.prototype;function n(o){const r=Ce(o);t[r]||(pc(i,o),t[r]=!0)}return y.isArray(a)?a.forEach(n):n(a),this}}Me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.reduceDescriptors(Me.prototype,({value:e},a)=>{let t=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(i){this[t]=i}}}),y.freezeMethods(Me);const M=Me;function Gt(e,a){const t=this||It,i=a||t,n=M.from(i.headers);let o=i.data;return y.forEach(e,function(r){o=r.call(t,o,n.normalize(),a?a.status:void 0)}),n.normalize(),o}function _a(e){return!!(e&&e.__CANCEL__)}function ce(e,a,t){C.call(this,e??"canceled",C.ERR_CANCELED,a,t),this.name="CanceledError"}y.inherits(ce,C,{__CANCEL__:!0});function ba(e,a,t){const i=t.config.validateStatus;!t.status||!i||i(t.status)?e(t):a(new C("Request failed with status code "+t.status,[C.ERR_BAD_REQUEST,C.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function fc(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function uc(e,a){e=e||10;const t=new Array(e),i=new Array(e);let n=0,o=0,r;return a=a!==void 0?a:1e3,function(c){const p=Date.now(),d=i[o];r||(r=p),t[n]=c,i[n]=p;let l=o,m=0;for(;l!==n;)m+=t[l++],l=l%e;if(n=(n+1)%e,n===o&&(o=(o+1)%e),p-r<a)return;const u=d&&p-d;return u?Math.round(m*1e3/u):void 0}}function hc(e,a){let t=0,i=1e3/a,n,o;const r=(c,p=Date.now())=>{t=p,n=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const p=Date.now(),d=p-t;d>=i?r(c,p):(n=c,o||(o=setTimeout(()=>{o=null,r(n)},i-d)))},()=>n&&r(n)]}const $e=(e,a,t=3)=>{let i=0;const n=uc(50,250);return hc(o=>{const r=o.loaded,c=o.lengthComputable?o.total:void 0,p=r-i,d=n(p),l=r<=c;i=r;const m={loaded:r,total:c,progress:c?r/c:void 0,bytes:p,rate:d||void 0,estimated:d&&c&&l?(c-r)/d:void 0,event:o,lengthComputable:c!=null,[a?"download":"upload"]:!0};e(m)},t)},Ta=(e,a)=>{const t=e!=null;return[i=>a[0]({lengthComputable:t,total:e,loaded:i}),a[1]]},Sa=e=>(...a)=>y.asap(()=>e(...a)),yc=F.hasStandardBrowserEnv?((e,a)=>t=>(t=new URL(t,F.origin),e.protocol===t.protocol&&e.host===t.host&&(a||e.port===t.port)))(new URL(F.origin),F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent)):()=>!0,gc=F.hasStandardBrowserEnv?{write(e,a,t,i,n,o){const r=[e+"="+encodeURIComponent(a)];y.isNumber(t)&&r.push("expires="+new Date(t).toGMTString()),y.isString(i)&&r.push("path="+i),y.isString(n)&&r.push("domain="+n),o===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function _c(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bc(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function wa(e,a,t){let i=!_c(a);return e&&(i||t==!1)?bc(e,a):a}const Ca=e=>e instanceof M?{...e}:e;function te(e,a){a=a||{};const t={};function i(d,l,m,u){return y.isPlainObject(d)&&y.isPlainObject(l)?y.merge.call({caseless:u},d,l):y.isPlainObject(l)?y.merge({},l):y.isArray(l)?l.slice():l}function n(d,l,m,u){if(y.isUndefined(l)){if(!y.isUndefined(d))return i(void 0,d,m,u)}else return i(d,l,m,u)}function o(d,l){if(!y.isUndefined(l))return i(void 0,l)}function r(d,l){if(y.isUndefined(l)){if(!y.isUndefined(d))return i(void 0,d)}else return i(void 0,l)}function c(d,l,m){if(m in a)return i(d,l);if(m in e)return i(void 0,d)}const p={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:c,headers:(d,l,m)=>n(Ca(d),Ca(l),m,!0)};return y.forEach(Object.keys(Object.assign({},e,a)),function(d){const l=p[d]||n,m=l(e[d],a[d],d);y.isUndefined(m)&&l!==c||(t[d]=m)}),t}const ka=e=>{const a=te({},e);let{data:t,withXSRFToken:i,xsrfHeaderName:n,xsrfCookieName:o,headers:r,auth:c}=a;a.headers=r=M.from(r),a.url=fa(wa(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let p;if(y.isFormData(t)){if(F.hasStandardBrowserEnv||F.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if((p=r.getContentType())!==!1){const[d,...l]=p?p.split(";").map(m=>m.trim()).filter(Boolean):[];r.setContentType([d||"multipart/form-data",...l].join("; "))}}if(F.hasStandardBrowserEnv&&(i&&y.isFunction(i)&&(i=i(a)),i||i!==!1&&yc(a.url))){const d=n&&o&&gc.read(o);d&&r.set(n,d)}return a},Tc=typeof XMLHttpRequest<"u",Sc=Tc&&function(e){return new Promise(function(a,t){const i=ka(e);let n=i.data;const o=M.from(i.headers).normalize();let{responseType:r,onUploadProgress:c,onDownloadProgress:p}=i,d,l,m,u,_;function f(){u&&u(),_&&_(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let g=new XMLHttpRequest;g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout;function b(){if(!g)return;const T=M.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),k={data:!r||r==="text"||r==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:T,config:e,request:g};ba(function(N){a(N),f()},function(N){t(N),f()},k),g=null}"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){g&&(t(new C("Request aborted",C.ECONNABORTED,e,g)),g=null)},g.onerror=function(){t(new C("Network Error",C.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||ha;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),t(new C(T,k.clarifyTimeoutError?C.ETIMEDOUT:C.ECONNABORTED,e,g)),g=null},n===void 0&&o.setContentType(null),"setRequestHeader"in g&&y.forEach(o.toJSON(),function(T,k){g.setRequestHeader(k,T)}),y.isUndefined(i.withCredentials)||(g.withCredentials=!!i.withCredentials),r&&r!=="json"&&(g.responseType=i.responseType),p&&([m,_]=$e(p,!0),g.addEventListener("progress",m)),c&&g.upload&&([l,u]=$e(c),g.upload.addEventListener("progress",l),g.upload.addEventListener("loadend",u)),(i.cancelToken||i.signal)&&(d=T=>{g&&(t(!T||T.type?new ce(null,e,g):T),g.abort(),g=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const S=fc(i.url);if(S&&F.protocols.indexOf(S)===-1){t(new C("Unsupported protocol "+S+":",C.ERR_BAD_REQUEST,e));return}g.send(n||null)})},wc=(e,a)=>{const{length:t}=e=e?e.filter(Boolean):[];if(a||t){let i=new AbortController,n;const o=function(d){if(!n){n=!0,c();const l=d instanceof Error?d:this.reason;i.abort(l instanceof C?l:new ce(l instanceof Error?l.message:l))}};let r=a&&setTimeout(()=>{r=null,o(new C(`timeout ${a} of ms exceeded`,C.ETIMEDOUT))},a);const c=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),e=null)};e.forEach(d=>d.addEventListener("abort",o));const{signal:p}=i;return p.unsubscribe=()=>y.asap(c),p}},Cc=wc,kc=function*(e,a){let t=e.byteLength;if(t<a){yield e;return}let i=0,n;for(;i<t;)n=i+a,yield e.slice(i,n),i=n},Ec=async function*(e,a){for await(const t of Nc(e))yield*kc(t,a)},Nc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:t,value:i}=await a.read();if(t)break;yield i}}finally{await a.cancel()}},Ea=(e,a,t,i)=>{const n=Ec(e,a);let o=0,r,c=p=>{r||(r=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:d,value:l}=await n.next();if(d){c(),p.close();return}let m=l.byteLength;if(t){let u=o+=m;t(u)}p.enqueue(new Uint8Array(l))}catch(d){throw c(d),d}},cancel(p){return c(p),n.return()}},{highWaterMark:2})},Ue=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Na=Ue&&typeof ReadableStream=="function",Pc=Ue&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Pa=(e,...a)=>{try{return!!e(...a)}catch{return!1}},Vc=Na&&Pa(()=>{let e=!1;const a=new Request(F.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!a}),Va=64*1024,Lt=Na&&Pa(()=>y.isReadableStream(new Response("").body)),je={stream:Lt&&(e=>e.body)};Ue&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!je[a]&&(je[a]=y.isFunction(e[a])?t=>t[a]():(t,i)=>{throw new C(`Response type '${a}' is not supported`,C.ERR_NOT_SUPPORT,i)})})})(new Response);const Rc=async e=>{if(e==null)return 0;if(y.isBlob(e))return e.size;if(y.isSpecCompliantForm(e))return(await new Request(F.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(y.isArrayBufferView(e)||y.isArrayBuffer(e))return e.byteLength;if(y.isURLSearchParams(e)&&(e=e+""),y.isString(e))return(await Pc(e)).byteLength},xc=async(e,a)=>y.toFiniteNumber(e.getContentLength())??Rc(a),Fc=Ue&&(async e=>{let{url:a,method:t,data:i,signal:n,cancelToken:o,timeout:r,onDownloadProgress:c,onUploadProgress:p,responseType:d,headers:l,withCredentials:m="same-origin",fetchOptions:u}=ka(e);d=d?(d+"").toLowerCase():"text";let _=Cc([n,o&&o.toAbortSignal()],r),f;const g=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let b;try{if(p&&Vc&&t!=="get"&&t!=="head"&&(b=await xc(l,i))!==0){let P=new Request(a,{method:"POST",body:i,duplex:"half"}),B;if(y.isFormData(i)&&(B=P.headers.get("content-type"))&&l.setContentType(B),P.body){const[R,H]=Ta(b,$e(Sa(p)));i=Ea(P.body,Va,R,H)}}y.isString(m)||(m=m?"include":"omit");const S="credentials"in Request.prototype;f=new Request(a,{...u,signal:_,method:t.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:S?m:void 0});let T=await fetch(f);const k=Lt&&(d==="stream"||d==="response");if(Lt&&(c||k&&g)){const P={};["status","statusText","headers"].forEach(ae=>{P[ae]=T[ae]});const B=y.toFiniteNumber(T.headers.get("content-length")),[R,H]=c&&Ta(B,$e(Sa(c),!0))||[];T=new Response(Ea(T.body,Va,R,()=>{H&&H(),g&&g()}),P)}d=d||"text";let N=await je[y.findKey(je,d)||"text"](T,e);return!k&&g&&g(),await new Promise((P,B)=>{ba(P,B,{data:N,headers:M.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:f})})}catch(S){throw g&&g(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new C("Network Error",C.ERR_NETWORK,e,f),{cause:S.cause||S}):C.from(S,S&&S.code,e,f)}}),vt={http:Ul,xhr:Sc,fetch:Fc};y.forEach(vt,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const Ra=e=>`- ${e}`,Bc=e=>y.isFunction(e)||e===null||e===!1,xa={getAdapter:e=>{e=y.isArray(e)?e:[e];const{length:a}=e;let t,i;const n={};for(let o=0;o<a;o++){t=e[o];let r;if(i=t,!Bc(t)&&(i=vt[(r=String(t)).toLowerCase()],i===void 0))throw new C(`Unknown adapter '${r}'`);if(i)break;n[r||"#"+o]=i}if(!i){const o=Object.entries(n).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build"));let r=a?o.length>1?`since :
12
+ `+o.map(Ra).join(`
13
+ `):" "+Ra(o[0]):"as no adapter specified";throw new C("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return i},adapters:vt};function Wt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ce(null,e)}function Fa(e){return Wt(e),e.headers=M.from(e.headers),e.data=Gt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),xa.getAdapter(e.adapter||It.adapter)(e).then(function(a){return Wt(e),a.data=Gt.call(e,e.transformResponse,a),a.headers=M.from(a.headers),a},function(a){return _a(a)||(Wt(e),a&&a.response&&(a.response.data=Gt.call(e,e.transformResponse,a.response),a.response.headers=M.from(a.response.headers))),Promise.reject(a)})}const Ba="1.9.0",Je={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{Je[e]=function(t){return typeof t===e||"a"+(a<1?"n ":" ")+e}});const za={};Je.transitional=function(e,a,t){function i(n,o){return"[Axios v"+Ba+"] Transitional option '"+n+"'"+o+(t?". "+t:"")}return(n,o,r)=>{if(e===!1)throw new C(i(o," has been removed"+(a?" in "+a:"")),C.ERR_DEPRECATED);return a&&!za[o]&&(za[o]=!0,console.warn(i(o," has been deprecated since v"+a+" and will be removed in the near future"))),e?e(n,o,r):!0}},Je.spelling=function(e){return(a,t)=>(console.warn(`${t} is likely a misspelling of ${e}`),!0)};function zc(e,a,t){if(typeof e!="object")throw new C("options must be an object",C.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let n=i.length;for(;n-- >0;){const o=i[n],r=a[o];if(r){const c=e[o],p=c===void 0||r(c,o,e);if(p!==!0)throw new C("option "+o+" must be "+p,C.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new C("Unknown option "+o,C.ERR_BAD_OPTION)}}const He={assertOptions:zc,validators:Je},$=He.validators;class qe{constructor(a){this.defaults=a||{},this.interceptors={request:new ua,response:new ua}}async request(a,t){try{return await this._request(a,t)}catch(i){if(i instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const o=n.stack?n.stack.replace(/^.+\n/,""):"";try{i.stack?o&&!String(i.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(i.stack+=`
14
+ `+o):i.stack=o}catch{}}throw i}}_request(a,t){typeof a=="string"?(t=t||{},t.url=a):t=a||{},t=te(this.defaults,t);const{transitional:i,paramsSerializer:n,headers:o}=t;i!==void 0&&He.assertOptions(i,{silentJSONParsing:$.transitional($.boolean),forcedJSONParsing:$.transitional($.boolean),clarifyTimeoutError:$.transitional($.boolean)},!1),n!=null&&(y.isFunction(n)?t.paramsSerializer={serialize:n}:He.assertOptions(n,{encode:$.function,serialize:$.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),He.assertOptions(t,{baseUrl:$.spelling("baseURL"),withXsrfToken:$.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=o&&y.merge(o.common,o[t.method]);o&&y.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),t.headers=M.concat(r,o);const c=[];let p=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(t)===!1||(p=p&&f.synchronous,c.unshift(f.fulfilled,f.rejected))});const d=[];this.interceptors.response.forEach(function(f){d.push(f.fulfilled,f.rejected)});let l,m=0,u;if(!p){const f=[Fa.bind(this),void 0];for(f.unshift.apply(f,c),f.push.apply(f,d),u=f.length,l=Promise.resolve(t);m<u;)l=l.then(f[m++],f[m++]);return l}u=c.length;let _=t;for(m=0;m<u;){const f=c[m++],g=c[m++];try{_=f(_)}catch(b){g.call(this,b);break}}try{l=Fa.call(this,_)}catch(f){return Promise.reject(f)}for(m=0,u=d.length;m<u;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=te(this.defaults,a);const t=wa(a.baseURL,a.url,a.allowAbsoluteUrls);return fa(t,a.params,a.paramsSerializer)}}y.forEach(["delete","get","head","options"],function(e){qe.prototype[e]=function(a,t){return this.request(te(t||{},{method:e,url:a,data:(t||{}).data}))}}),y.forEach(["post","put","patch"],function(e){function a(t){return function(i,n,o){return this.request(te(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}qe.prototype[e]=a(),qe.prototype[e+"Form"]=a(!0)});const Ke=qe;class Dt{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(n){t=n});const i=this;this.promise.then(n=>{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](n);i._listeners=null}),this.promise.then=n=>{let o;const r=new Promise(c=>{i.subscribe(c),o=c}).then(n);return r.cancel=function(){i.unsubscribe(o)},r},a(function(n,o,r){i.reason||(i.reason=new ce(n,o,r),t(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const t=this._listeners.indexOf(a);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const a=new AbortController,t=i=>{a.abort(i)};return this.subscribe(t),a.signal.unsubscribe=()=>this.unsubscribe(t),a.signal}static source(){let a;return{token:new Dt(function(t){a=t}),cancel:a}}}const Ac=Dt;function Ic(e){return function(a){return e.apply(null,a)}}function Oc(e){return y.isObject(e)&&e.isAxiosError===!0}const Mt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Mt).forEach(([e,a])=>{Mt[a]=e});const Gc=Mt;function Aa(e){const a=new Ke(e),t=Xs(Ke.prototype.request,a);return y.extend(t,Ke.prototype,a,{allOwnKeys:!0}),y.extend(t,a,null,{allOwnKeys:!0}),t.create=function(i){return Aa(te(e,i))},t}const V=Aa(It);V.Axios=Ke,V.CanceledError=ce,V.CancelToken=Ac,V.isCancel=_a,V.VERSION=Ba,V.toFormData=We,V.AxiosError=C,V.Cancel=V.CanceledError,V.all=function(e){return Promise.all(e)},V.spread=Ic,V.isAxiosError=Oc,V.mergeConfig=te,V.AxiosHeaders=M,V.formToJSON=e=>ya(y.isHTMLForm(e)?new FormData(e):e),V.getAdapter=xa.getAdapter,V.HttpStatusCode=Gc,V.default=V,Array.from({length:30},(e,a)=>1981+a).sort((e,a)=>a-e);const Lc={__name:"SwitchCustom",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,i=s.ref(null);s.watch(()=>t.modelValue,()=>{n()},{immediate:!0});function n(){i.value&&(i.value.checked=t.modelValue)}function o(r){a("update:modelValue",r.target.checked)}return s.onMounted(()=>{n()}),(r,c)=>(s.openBlock(),s.createElementBlock("input",{ref_key:"switchCustom",ref:i,id:"toggle",class:"toggle",type:"checkbox",role:"switch",name:"toggle",onInput:o},null,544))}},$t=I(Lc,[["__scopeId","data-v-e3a6ae4e"]]),vc={__name:"ButtonCustom",props:{text:{type:String,default:""},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},padding:{type:String,default:"0px"},borderRadius:{type:String,default:"0px"},borderWidth:{type:String,default:"1px"},borderColor:{type:String,default:"#d9d9d9"},backgroundColor:{type:String,default:"#FFFFFF"},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},activeFontColor:{type:String,default:""},fontColor:{type:String,default:"#000000"},fontSize:{type:String,default:"16px"},fontFamily:{type:String,default:"Poppins-Regular, sans-serif"},isActive:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:a}){const t=e,i=s.computed(()=>({"--height":t.height,"--width":t.width,"--padding":t.padding,"--border-radius":t.borderRadius,"--border":`solid ${t.borderWidth} ${t.borderColor}`,"--background-color":t.backgroundColor,"--font-color":t.fontColor,"--font-size":t.fontSize,"--font-family":t.fontFamily,"--active-background-color":t.activeBackgroundColor||t.backgroundColor,"--active-border-color":t.activeBorderColor||t.borderColor,"--active-font-color":t.activeFontColor||t.fontColor}));function n(){a("click")}return(o,r)=>(s.openBlock(),s.createElementBlock("button",{class:s.normalizeClass(["button",{active:e.isActive}]),style:s.normalizeStyle(i.value),onClick:n},s.toDisplayString(e.text),7))}},Ze=I(vc,[["__scopeId","data-v-9688933e"]]);U(2,Ut()),U(2,Ut()),U(1,J(1)),U(1,J(1)),U(1,J(2)),U(1,J(2)),U(1,J(3)),U(1,J(3)),U(1,J(4)),U(1,J(4));function Ut(){return[[337,1],[338,2],[339,3],[340,4],[341,5],[342,6],[343,7],[344,8],[345,9],[346,10],[347,11],[348,12],[349,13],[350,14],[351,15],[352,16],[353,17],[354,18],[355,19],[356,20],[357,21]]}function Ia(){return Array.from({length:16},(e,a)=>a+1)}function J(e){switch(e){case 1:return[1,2,3,4];case 2:return[5,6,7,8];case 3:return[9,10,11,12];case 4:return[13,14,15,16]}}function U(e=1,a=null){return{origin_zones:e===1?Ia():Ut(),destiny_zones:a||Ia(),minimum_distance_x:0,maximum_distance_x:105,minimum_distance_y:0,maximum_distance_y:68,minimum_total_distance:0,maximum_total_distance:125,zone_type:e}}const Wc={class:"dropdown"},Dc={class:"selected-item"},Mc={__name:"DropdownTextOnly",props:{items:{type:Array,default:()=>[]},itemTextKey:{type:String,default:""},isListSameWidth:{type:Boolean,default:!0}},emits:["input"],setup(e,{emit:a}){function t(i){a("input",i)}return(i,n)=>(s.openBlock(),s.createElementBlock("div",Wc,[s.createVNode(s.unref(kt),s.mergeProps(s.unref(Et),{"is-list-same-width":e.isListSameWidth,items:e.items,onInput:t}),{default:s.withCtx(({selectedItem:o})=>[s.createElementVNode("div",Dc,s.toDisplayString(e.itemTextKey?o[e.itemTextKey]:o),1)]),availableItem:s.withCtx(({item:o})=>[s.createElementVNode("div",null,s.toDisplayString(e.itemTextKey?o[e.itemTextKey]:o),1)]),_:1},16,["is-list-same-width","items"])]))}},G=I(Mc,[["__scopeId","data-v-064d5f86"]]),$c={class:"dropdown"},Uc={class:"game-item"},jc={key:0,class:"item-game"},Jc={class:"match-day"},Hc={class:"team-logo"},qc=["src"],Kc={class:"text"},Zc={class:"text score"},Yc={class:"text"},Xc={class:"team-logo"},Qc=["src"],ed={class:"item-game"},td={class:"team-logo"},sd=["src"],ad={class:"text"},id={class:"text score"},od={class:"text"},nd={class:"team-logo"},rd=["src"],ld={__name:"DropdownGame",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function t(i){a("input",i)}return(i,n)=>(s.openBlock(),s.createElementBlock("div",$c,[s.createVNode(s.unref(kt),s.mergeProps(s.unref(Et),{items:e.items,onInput:t}),{default:s.withCtx(({selectedItem:o})=>[s.createElementVNode("div",Uc,[o.homeTeam?(s.openBlock(),s.createElementBlock("div",jc,[s.createElementVNode("div",Jc,s.toDisplayString(o.roundAbbreviation),1),s.createElementVNode("div",Hc,[s.createElementVNode("img",{src:o.homeTeam.logo,alt:""},null,8,qc)]),s.createElementVNode("div",Kc,s.toDisplayString(o.homeTeam.acronym),1),s.createElementVNode("div",Zc,s.toDisplayString(o.score[0])+" - "+s.toDisplayString(o.score[1]),1),s.createElementVNode("div",Yc,s.toDisplayString(o.awayTeam.acronym),1),s.createElementVNode("div",Xc,[s.createElementVNode("img",{src:o.awayTeam.logo,alt:""},null,8,Qc)])])):s.createCommentVNode("",!0)])]),availableItem:s.withCtx(({item:o})=>[s.createElementVNode("div",ed,[s.createElementVNode("div",null,s.toDisplayString(o.roundAbbreviation),1),s.createElementVNode("div",td,[s.createElementVNode("img",{src:o.homeTeam.logo,alt:""},null,8,sd)]),s.createElementVNode("div",ad,s.toDisplayString(o.homeTeam.acronym),1),s.createElementVNode("div",id,s.toDisplayString(o.score[0])+" - "+s.toDisplayString(o.score[1]),1),s.createElementVNode("div",od,s.toDisplayString(o.awayTeam.acronym),1),s.createElementVNode("div",nd,[s.createElementVNode("img",{src:o.awayTeam.logo,alt:""},null,8,rd)])])]),_:1},16,["items"])]))}},Ye=I(ld,[["__scopeId","data-v-7883a91e"]]),Xe=e=>(s.pushScopeId("data-v-b63e9c84"),e=e(),s.popScopeId(),e),cd={class:"container"},dd={class:"container__row"},md={class:"container__row__wrapper"},pd=Xe(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),fd={class:"container__row__wrapper__input"},ud={class:"container__row two-items"},hd={class:"container__row__wrapper"},yd=Xe(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),gd={key:0,class:"container__row__wrapper__input"},_d={class:"container__row__wrapper"},bd=Xe(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),Td={key:0,class:"container__row__wrapper__input"},Sd={class:"container__row"},wd={class:"container__row__wrapper"},Cd=Xe(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),kd={key:0,class:"container__row__wrapper__input"},Ed={class:"container__action"},Nd={__name:"VideosGoals",props:{tournaments:{type:Array,required:!0}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const t={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},i=s.ref(null),n=s.ref(null),o=s.ref(null),r=s.ref(null);function c(m){i.value=m,a("update:tournament",m)}function p(m){n.value=m,a("update:season",m)}function d(m){o.value=m}function l(m){r.value=m}return(m,u)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",cd,[s.createElementVNode("div",dd,[s.createElementVNode("div",md,[pd,s.createElementVNode("div",fd,[s.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:c},null,8,["items"])])])]),s.createElementVNode("div",ud,[s.createElementVNode("div",hd,[yd,i.value&&i.value.seasons?(s.openBlock(),s.createElementBlock("div",gd,[s.createVNode(G,{items:i.value.seasons,itemTextKey:"name",onInput:p},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",_d,[bd,n.value&&n.value.arrayMatchDays?(s.openBlock(),s.createElementBlock("div",Td,[s.createVNode(G,{items:n.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:d},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Sd,[s.createElementVNode("div",wd,[Cd,o.value&&o.value.arrayGames?(s.openBlock(),s.createElementBlock("div",kd,[s.createVNode(Ye,{items:o.value.arrayGames,onInput:l},null,8,["items"])])):s.createCommentVNode("",!0)])])]),s.createElementVNode("div",Ed,[s.createVNode(Ze,s.normalizeProps(s.guardReactiveProps(t)),null,16)])],64))}},Pd=I(Nd,[["__scopeId","data-v-b63e9c84"]]),Vd={class:"dropdown"},Rd={class:"item-team"},xd={class:"team-logo"},Fd=["src"],Bd={class:"team-acronym"},zd={class:"item-team"},Ad={class:"team-logo"},Id=["src"],Od={class:"team-acronym"},Gd={__name:"DropdownTeam",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function t(i){a("input",i)}return(i,n)=>(s.openBlock(),s.createElementBlock("div",Vd,[s.createVNode(s.unref(kt),s.mergeProps(s.unref(Et),{items:e.items,onInput:t}),{default:s.withCtx(({selectedItem:o})=>[s.createElementVNode("div",Rd,[s.createElementVNode("div",xd,[s.createElementVNode("img",{src:o.logo,alt:""},null,8,Fd)]),s.createElementVNode("div",Bd,s.toDisplayString(o.acronym),1)])]),availableItem:s.withCtx(({item:o})=>[s.createElementVNode("div",zd,[s.createElementVNode("div",Ad,[s.createElementVNode("img",{src:o.logo,alt:""},null,8,Id)]),s.createElementVNode("div",Od,s.toDisplayString(o.acronym),1)])]),_:1},16,["items"])]))}},Oa=I(Gd,[["__scopeId","data-v-afd2bee8"]]),Ld={class:"advanced-filters"},vd={class:"advanced-filters__buttons"},Wd=["onClick"],Dd={class:"advanced-filters__filters"},Md={__name:"AdvancedFilters",props:{selectedCategory:{type:Object,default:()=>({})}},setup(e){const a=e,t=s.defineAsyncComponent(()=>Promise.resolve().then(()=>Ap)),i=s.defineAsyncComponent(()=>Promise.resolve().then(()=>Xp)),n=s.defineAsyncComponent(()=>Promise.resolve().then(()=>ef)),o=[{name:"Sub categorías",component:t},{name:"Cancha",component:n},{name:"Condiciones",component:i}],r=s.ref(o[0]),c=s.computed(()=>a.selectedCategory?a.selectedCategory.subcategoryGroups||[]:[]);function p(d){r.value=d}return(d,l)=>(s.openBlock(),s.createElementBlock("div",Ld,[s.createElementVNode("div",vd,[(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(o,m=>s.createElementVNode("div",{key:m.name,role:"button",class:s.normalizeClass(["advanced-filters__buttons__button",{active:r.value.name===m.name}]),onClick:u=>p(m)},s.toDisplayString(m.name),11,Wd)),64))]),s.createElementVNode("div",Dd,[(s.openBlock(),s.createBlock(s.KeepAlive,null,[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(r.value.component),{"subcategory-groups":c.value},null,8,["subcategory-groups"]))],1024))])]))}},jt=I(Md,[["__scopeId","data-v-c62c5b9c"]]),se=e=>(s.pushScopeId("data-v-575b26b5"),e=e(),s.popScopeId(),e),$d={class:"container"},Ud={class:"container__row"},jd={class:"container__row__wrapper"},Jd=se(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Hd={class:"container__row__wrapper__input"},qd={class:"container__row two-items"},Kd={class:"container__row__wrapper"},Zd=se(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Yd={key:0,class:"container__row__wrapper__input"},Xd={class:"container__row__wrapper"},Qd=se(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. En que equipo juega?",-1)),em={key:0,class:"container__row__wrapper__input"},tm={class:"container__row"},sm={class:"container__row__wrapper"},am=se(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Nombre del jugador",-1)),im={key:0,class:"container__row__wrapper__input"},om={class:"container__row"},nm={class:"container__row__wrapper"},rm=se(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el partido",-1)),lm={key:0,class:"container__row__wrapper__input"},cm={class:"container__row type-and-advanced"},dm={class:"container__row__wrapper"},mm=se(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),pm={class:"container__row__wrapper__input"},fm={class:"container__row__wrapper center"},um=se(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),hm={class:"container__row__wrapper__input"},ym={class:"container__row"},gm={class:"container__action"},_m={__name:"VideosPlayer",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({player:[],goalkeeper:[]})}},emits:["update:tournament","update:season","update:team"],setup(e,{emit:a}){const t=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},n=s.ref(null),o=s.ref(null);s.ref(null);const r=s.ref(null),c=s.ref(null),p=s.ref(null),d=s.ref(null),l=s.ref(!0),m=s.computed(()=>p.value?p.value.position_id===1?t.advancedFilterCategories.goalkeeper:t.advancedFilterCategories.player:[]);function u(T){n.value=T,a("update:tournament",T)}function _(T){o.value=T,a("update:season",T)}function f(T){c.value=T,a("update:team",T)}function g(T){p.value=T}function b(T){r.value=T}function S(T){d.value=T}return(T,k)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",$d,[s.createElementVNode("div",Ud,[s.createElementVNode("div",jd,[Jd,s.createElementVNode("div",Hd,[s.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:u},null,8,["items"])])])]),s.createElementVNode("div",qd,[s.createElementVNode("div",Kd,[Zd,n.value&&n.value.seasons?(s.openBlock(),s.createElementBlock("div",Yd,[s.createVNode(G,{items:n.value.seasons,itemTextKey:"name",onInput:_},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",Xd,[Qd,o.value&&o.value.arrayTeams?(s.openBlock(),s.createElementBlock("div",em,[s.createVNode(Oa,{items:o.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:f},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",tm,[s.createElementVNode("div",sm,[am,c.value&&c.value.arrayPlayers?(s.openBlock(),s.createElementBlock("div",im,[s.createVNode(G,{items:c.value.arrayPlayers,itemTextKey:"player_name",onInput:g},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",om,[s.createElementVNode("div",nm,[rm,o.value&&o.value.mapGamesByTeam&&c.value?(s.openBlock(),s.createElementBlock("div",lm,[s.createVNode(Ye,{items:o.value.mapGamesByTeam.get(c.value.team_id),onInput:b},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",cm,[s.createElementVNode("div",dm,[mm,s.createElementVNode("div",pm,[s.createVNode(G,{items:m.value,itemTextKey:"name","is-list-same-width":!1,onInput:S},null,8,["items"])])]),s.createElementVNode("div",fm,[um,s.createElementVNode("div",hm,[s.createVNode($t,{modelValue:l.value,"onUpdate:modelValue":k[0]||(k[0]=N=>l.value=N)},null,8,["modelValue"])])])]),s.createElementVNode("div",ym,[s.createVNode(jt,{"selected-category":d.value},null,8,["selected-category"])])]),s.createElementVNode("div",gm,[s.createVNode(Ze,s.normalizeProps(s.guardReactiveProps(i)),null,16)])],64))}},bm=I(_m,[["__scopeId","data-v-575b26b5"]]),de=e=>(s.pushScopeId("data-v-6d73d5e6"),e=e(),s.popScopeId(),e),Tm={class:"container"},Sm={class:"container__row"},wm={class:"container__row__wrapper"},Cm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),km={class:"container__row__wrapper__input"},Em={class:"container__row two-items"},Nm={class:"container__row__wrapper"},Pm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Vm={key:0,class:"container__row__wrapper__input"},Rm={class:"container__row__wrapper"},xm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige el equipo",-1)),Fm={key:0,class:"container__row__wrapper__input"},Bm={class:"container__row"},zm={class:"container__row__wrapper"},Am=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),Im={key:0,class:"container__row__wrapper__input"},Om={class:"container__row type-and-advanced"},Gm={class:"container__row__wrapper"},Lm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el tipo de video",-1)),vm={class:"container__row__wrapper__input"},Wm={class:"container__row__wrapper center"},Dm=de(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),Mm={class:"container__row__wrapper__input"},$m={class:"container__row"},Um={class:"container__action"},jm={__name:"VideosTeam",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({team:[]})}},emits:["update:tournament","update:season","update:team"],setup(e,{emit:a}){const t=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},n=s.ref(null),o=s.ref(null);s.ref(null);const r=s.ref(null),c=s.ref(null),p=s.ref(null),d=s.ref(!0),l=s.computed(()=>t.advancedFilterCategories.team);function m(b){n.value=b,a("update:tournament",b)}function u(b){o.value=b,a("update:season",b)}function _(b){c.value=b,a("update:team",b)}function f(b){r.value=b}function g(b){p.value=b}return(b,S)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",Tm,[s.createElementVNode("div",Sm,[s.createElementVNode("div",wm,[Cm,s.createElementVNode("div",km,[s.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),s.createElementVNode("div",Em,[s.createElementVNode("div",Nm,[Pm,n.value&&n.value.seasons?(s.openBlock(),s.createElementBlock("div",Vm,[s.createVNode(G,{items:n.value.seasons,itemTextKey:"name",onInput:u},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",Rm,[xm,o.value&&o.value.arrayTeams?(s.openBlock(),s.createElementBlock("div",Fm,[s.createVNode(Oa,{items:o.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:_},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Bm,[s.createElementVNode("div",zm,[Am,o.value&&o.value.mapGamesByTeam&&c.value?(s.openBlock(),s.createElementBlock("div",Im,[s.createVNode(Ye,{items:o.value.mapGamesByTeam.get(c.value.team_id),onInput:f},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Om,[s.createElementVNode("div",Gm,[Lm,s.createElementVNode("div",vm,[s.createVNode(G,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:g},null,8,["items"])])]),s.createElementVNode("div",Wm,[Dm,s.createElementVNode("div",Mm,[s.createVNode($t,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),s.createElementVNode("div",$m,[s.createVNode(jt,{"selected-category":p.value},null,8,["selected-category"])])]),s.createElementVNode("div",Um,[s.createVNode(Ze,s.normalizeProps(s.guardReactiveProps(i)),null,16)])],64))}},Jm=I(jm,[["__scopeId","data-v-6d73d5e6"]]),me=e=>(s.pushScopeId("data-v-6e904db8"),e=e(),s.popScopeId(),e),Hm={class:"container"},qm={class:"container__row"},Km={class:"container__row__wrapper"},Zm=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Ym={class:"container__row__wrapper__input"},Xm={class:"container__row two-items"},Qm={class:"container__row__wrapper"},ep=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),tp={key:0,class:"container__row__wrapper__input"},sp={class:"container__row__wrapper"},ap=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),ip={key:0,class:"container__row__wrapper__input"},op={class:"container__row"},np={class:"container__row__wrapper"},rp=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),lp={key:0,class:"container__row__wrapper__input"},cp={class:"container__row type-and-advanced"},dp={class:"container__row__wrapper"},mp=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),pp={class:"container__row__wrapper__input"},fp={class:"container__row__wrapper center"},up=me(()=>s.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),hp={class:"container__row__wrapper__input",style:{width:"fit-content"}},yp={class:"container__row"},gp={class:"container__action"},_p={__name:"VideosGame",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({games:[]})}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const t=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},n=s.ref(null),o=s.ref(null),r=s.ref(null),c=s.ref(null),p=s.ref(null),d=s.ref(!0),l=s.computed(()=>t.advancedFilterCategories.games);function m(b){n.value=b,a("update:tournament",b)}function u(b){o.value=b,a("update:season",b)}function _(b){r.value=b}function f(b){c.value=b}function g(b){p.value=b}return(b,S)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[s.createElementVNode("div",Hm,[s.createElementVNode("div",qm,[s.createElementVNode("div",Km,[Zm,s.createElementVNode("div",Ym,[s.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),s.createElementVNode("div",Xm,[s.createElementVNode("div",Qm,[ep,n.value&&n.value.seasons?(s.openBlock(),s.createElementBlock("div",tp,[s.createVNode(G,{items:n.value.seasons,itemTextKey:"name",onInput:u},null,8,["items"])])):s.createCommentVNode("",!0)]),s.createElementVNode("div",sp,[ap,o.value&&o.value.arrayMatchDays?(s.openBlock(),s.createElementBlock("div",ip,[s.createVNode(G,{items:o.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:_},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",op,[s.createElementVNode("div",np,[rp,r.value&&r.value.arrayGames?(s.openBlock(),s.createElementBlock("div",lp,[s.createVNode(Ye,{items:r.value.arrayGames,onInput:f},null,8,["items"])])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",cp,[s.createElementVNode("div",dp,[mp,s.createElementVNode("div",pp,[s.createVNode(G,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:g},null,8,["items"])])]),s.createElementVNode("div",fp,[up,s.createElementVNode("div",hp,[s.createVNode($t,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),s.createElementVNode("div",yp,[s.createVNode(jt,{"selected-category":p.value},null,8,["selected-category"])])]),s.createElementVNode("div",gp,[s.createVNode(Ze,s.normalizeProps(s.guardReactiveProps(i)),null,16)])],64))}},bp=I(_p,[["__scopeId","data-v-6e904db8"]]);s.defineComponent({name:"TemplateVideos",components:{VideosGoals:Pd,VideosPlayer:bm,VideosTeam:Jm,VideosGame:bp}}),Array.from({length:24},(e,a)=>a+1);function Tp(){return{backgroundColor:"#2e3b46",borderColor:"rgba(255, 255, 255, 0.20)",infoBorderColor:"rgba(255, 255, 255, 0.20)",height:"40px",padding:"5px 12px",textFontFamily:"'Poppins-Regular'"}}const Sp={comfiltersContainer:"_comfiltersContainer_xl2as_1",comfiltersContainer1232:"_comfiltersContainer1232_xl2as_1",closeFiltersPc:"_closeFiltersPc_xl2as_1",comtextleyemdmultipleleagues:"_comtextleyemdmultipleleagues_xl2as_1",comtextleyemdmultipleleagues380:"_comtextleyemdmultipleleagues380_xl2as_1",comfiltersContainer760:"_comfiltersContainer760_xl2as_1",comfiltersContainer460:"_comfiltersContainer460_xl2as_1",comcontainerSection:"_comcontainerSection_xl2as_1",comcontainerSection1232:"_comcontainerSection1232_xl2as_1",comcontainerSection960:"_comcontainerSection960_xl2as_1",comcontainerSection320:"_comcontainerSection320_xl2as_1",comcontainerSection350:"_comcontainerSection350_xl2as_1",comtemplateLosMejores1:"_comtemplateLosMejores1_xl2as_1",comtemplateLosMejores11232:"_comtemplateLosMejores11232_xl2as_1",comtemplateLosMejores1960:"_comtemplateLosMejores1960_xl2as_1",comtemplateLosMejores1420:"_comtemplateLosMejores1420_xl2as_1",comtemplateLosMejores1320:"_comtemplateLosMejores1320_xl2as_1",comtemplateLosMejores1540:"_comtemplateLosMejores1540_xl2as_1",comtemplateLosMejores1350:"_comtemplateLosMejores1350_xl2as_1",comtopFiltersParent:"_comtopFiltersParent_xl2as_1",comtopFiltersParent1232:"_comtopFiltersParent1232_xl2as_1",comtopFiltersParent960:"_comtopFiltersParent960_xl2as_1",comtopFiltersParent460:"_comtopFiltersParent460_xl2as_1",comtopFiltersParent420:"_comtopFiltersParent420_xl2as_1",comcontainerTheBest:"_comcontainerTheBest_xl2as_1",comcontainerTheBest1232:"_comcontainerTheBest1232_xl2as_1",comcontainerTheBest960:"_comcontainerTheBest960_xl2as_1",comcontainerTheBest320:"_comcontainerTheBest320_xl2as_1",comtitleSection:"_comtitleSection_xl2as_1",comtitleSection540:"_comtitleSection540_xl2as_1",comcontainerTables:"_comcontainerTables_xl2as_1",comcontainerTables960:"_comcontainerTables960_xl2as_1",comcontainerTables760:"_comcontainerTables760_xl2as_1",comcontainerTables320:"_comcontainerTables320_xl2as_1",comtoniKroosWrapper:"_comtoniKroosWrapper_xl2as_1",comtoniKroosWrapper1080:"_comtoniKroosWrapper1080_xl2as_1",comtoniKroosWrapper975:"_comtoniKroosWrapper975_xl2as_1",comtoniKroosWrapper760:"_comtoniKroosWrapper760_xl2as_1",comtoniKroosWrapper420:"_comtoniKroosWrapper420_xl2as_1",comtoniKroosWrapper320:"_comtoniKroosWrapper320_xl2as_1",frameChild:"_frameChild_xl2as_1",filtros:"_filtros_xl2as_1",groupParent:"_groupParent_xl2as_1",shapeIcon:"_shapeIcon_xl2as_1",btnFilters:"_btnFilters_xl2as_1",btnFiltersPC:"_btnFiltersPC_xl2as_1",comquitarFiltros:"_comquitarFiltros_xl2as_1",comquitarFiltros730:"_comquitarFiltros730_xl2as_1",comquitarFiltros480:"_comquitarFiltros480_xl2as_1",comquitarFiltros380:"_comquitarFiltros380_xl2as_1",btnCloseFilters:"_btnCloseFilters_xl2as_1",commejoresJugadores:"_commejoresJugadores_xl2as_1",commejoresJugadores730:"_commejoresJugadores730_xl2as_1",commejoresJugadores480:"_commejoresJugadores480_xl2as_1",mejoresJugadoresSM:"_mejoresJugadoresSM_xl2as_1",toniKroos:"_toniKroos_xl2as_1",teamBar:"_teamBar_xl2as_1",commenuSection:"_commenuSection_xl2as_1",commenuSection960:"_commenuSection960_xl2as_1",comcontainerMenu:"_comcontainerMenu_xl2as_1",comcontainerMenu760:"_comcontainerMenu760_xl2as_1",containerFilters:"_containerFilters_xl2as_1",teamBarParent:"_teamBarParent_xl2as_1",comtopFilters:"_comtopFilters_xl2as_1",comtopFilters1232:"_comtopFilters1232_xl2as_1",comtopFilters420:"_comtopFilters420_xl2as_1",comtopFilters460:"_comtopFilters460_xl2as_1",comlosMejores:"_comlosMejores_xl2as_1",comlosMejores380:"_comlosMejores380_xl2as_1",comlosMejores530:"_comlosMejores530_xl2as_1",comlosMejores730:"_comlosMejores730_xl2as_1",commenuSectionHeader:"_commenuSectionHeader_xl2as_1",commenuSectionHeader1232:"_commenuSectionHeader1232_xl2as_1",commenuSectionHeader960:"_commenuSectionHeader960_xl2as_1",commenuSectionHeader730:"_commenuSectionHeader730_xl2as_1",comdropdown:"_comdropdown_xl2as_1",comdropdown730:"_comdropdown730_xl2as_1",comdropdown1:"_comdropdown1_xl2as_1",comdropdown1730:"_comdropdown1730_xl2as_1",comdropdownParent:"_comdropdownParent_xl2as_1",comdropdownParent730:"_comdropdownParent730_xl2as_1",commenuSectionParentHeader:"_commenuSectionParentHeader_xl2as_1",commenuSectionParentHeader1232:"_commenuSectionParentHeader1232_xl2as_1",commenuSectionParentHeader960:"_commenuSectionParentHeader960_xl2as_1",commenuSectionParentHeader730:"_commenuSectionParentHeader730_xl2as_1",commenuSectionParentHeader430:"_commenuSectionParentHeader430_xl2as_1",comdescubreVideos:"_comdescubreVideos_xl2as_1",comdescubreVideos1232:"_comdescubreVideos1232_xl2as_1",comdescubreVideos960:"_comdescubreVideos960_xl2as_1",allCategories:"_allCategories_xl2as_1",containerScountingBtncom:"_containerScountingBtncom_xl2as_3",btnDeleteAplicacom:"_btnDeleteAplicacom_xl2as_13",SearchBtnBarcom:"_SearchBtnBarcom_xl2as_33",btnLeyendTxtcom:"_btnLeyendTxtcom_xl2as_52",BtnSearchScountingcom:"_BtnSearchScountingcom_xl2as_61",containerPredefinedcom:"_containerPredefinedcom_xl2as_85",containerPredefinedScountingcom:"_containerPredefinedScountingcom_xl2as_92",titleContainerPredefinedcom:"_titleContainerPredefinedcom_xl2as_100",subtitleContainerPredefinedcom:"_subtitleContainerPredefinedcom_xl2as_111"},wp=s.ref(Tp()),Cp={components:{GSCTopCategory:xn},computed:{...To.computed,filterChangePredefined(){return this.filtersPredefinedF},filterChange(){const e={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.fVnationalities,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},a=JSON.stringify(e);return JSON.stringify(this.filters)!=a,a},filterGolstats(){return this.FVfilterGolstats},filterButtonProps(){return{...wp.value}}},props:{timeLiveComparativeAvanced:{type:Number,default:6e4},currentSeasonId:{type:Number,default:0},typeData:{type:Number,default:0},canPlayVideos:{type:Boolean,default:!1},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},teamId:{type:Number,default:0},gameId:{type:Number,default:0},isWidget:{type:Boolean,default:!1},seasonSelected:{type:Object,default:()=>({})},categoryView:{type:Array,default:()=>[]},teamWidget:{type:Number,default:0},game:{type:Object,default:()=>({})},teamselect:{type:Number,default:0},seasonActive:{type:Number,default:0},defaultSection:{type:String,default:"Jugadores"},backgroundOdd:{type:String,default:"#172531"},backgroundEven:{type:String,default:"#0d1d29"},tournamentsApiUrl:{type:String,default:""},numRows:{type:Number,default:5},dummyData:{type:Array,default:null},showPosition:{type:Boolean,default:!0},provider:{type:Number,default:1},isDevApis:{type:Boolean,default:!1}},watch:{async seasonActive(){if(this.seasonActive!=0){this.teams=[];const e=await this.fetchTeams();for(let a=0;a<e.teams.length;a++)this.teams.push({id:e.teams[a].team_id,team:e.teams[a].colloquial_name,logo:e.teams[a].logo})}}},setup(){const e=s.ref("myDivRefTopsFull"),{elementSize:a}=be(e);return{myDivRefTopsFull:e,elementSize:a}},data(){return{showfiltersPc:!1,positions:[{name:"Portero",fullname:"POR"},{name:"Defensa central",fullname:"DFC"},{name:"Lateral por izquierda",fullname:"LI"},{name:"Lateral por derecha",fullname:"LD"},{name:"Volante por izquierda",fullname:"VI"},{name:"Volante por derecha",fullname:"VD"},{name:"Volante defensivo",fullname:"VDF"},{name:"Volante ofensivo",fullname:"VO"},{name:"Delantero",fullname:"DEL"},{name:"Desconocida",fullname:"Desc"}],arrayFiltersPlays:[],filtersPredefinedF:{},categoryPredefinedActive:!1,categoryPredefined:0,typeTable:0,keyUpdateFilter:0,loadingActive:!1,isTeam:!1,arrayPredefinedFilters:[],arrayCategoryFilter:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],arrayCategoryFilterFull:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],FVsetAvailableNationalTeamsPlayersIds:new Set,showOnlyCategories:!1,showFullCategory:0,categoryName:"",showFullTable:!1,expansionPanelModePropsTypePlays:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",width:"400px",maxWidth:"400px"},expansionPanelProps:{width:"400px",borderRadius:"8px"},fieldComponentProps:{widthContainer:"400px"}},expansionPanelModeProps:{isExpansionPanel:!1,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)"},expansionPanelProps:{width:"400px",borderRadius:"8px",fontFamily:"'Poppins-Regular'"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"13px"}},expansionPanelModePropsMobil:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"300px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},expansionPanelModePropsMobil270:{isExpansionPanel:!0,templateProps:{boxShadow:"0px 4px 4px rgba(0, 0, 0, 0)",padding:"20px 0"},expansionPanelProps:{width:"270px",borderRadius:"8px",height:"45px",fontColor:"rgba(255,255,255, 0.7)",textFontSize:"14px",textFontFamily:"'Poppins-Regular'",padding:"0px 10px"},fieldComponentProps:{widthContainer:"100%",title:"Elige el área o zona de cancha",titleFontSize:"12px",widthField:268,widthFieldGrid:"268px",heightField:180,heightFieldGrid:"180px",heightContainer:"280px"}},filters:{zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set},categoriesPlaysTypes:{offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!0,id:1},{name:"Tiros a gol",isSelected:!0,id:6},{name:"Tiros a gol con destino a portería",isSelected:!0,id:7},{name:"Asistencias",isSelected:!0,id:4},{name:"Centros",isSelected:!0,id:10},{name:"Centros acertados",isSelected:!0,id:11},{name:"Participaciones en gol",isSelected:!0,id:5},{name:"1vs1 exitosos ofensivos",isSelected:!0,id:12},{name:"1vs1 exitosos ofensivos que terminan en gol",isSelected:!0,id:13},{name:"Balones ganados en área rival",isSelected:!0,id:17},{name:"Cabeceos en área rival",isSelected:!0,id:8},{name:"Tiros de esquina",isSelected:!0,id:23}]},defensive:{title:"Defensivo",categories:[{name:"1vs1 defensivos exitosos",isSelected:!0,id:14},{name:"Cabeceo en área propia",isSelected:!0,id:9},{name:"Balones ganados en área propia",isSelected:!0,id:16},{name:"Rechaces",isSelected:!0,id:15},{name:"Atajadas",isSelected:!0,id:22}]},possession:{title:"Posesión",categories:[{name:"Pases acertados",isSelected:!0,id:2},{name:"Balones recuperados en disputa",isSelected:!0,id:3}]},offenses:{title:"Infracciones",categories:[{name:"Faltas cometidas",isSelected:!0,id:18},{name:"Faltas recibidas",isSelected:!0,id:19},{name:"Tarjetas amarillas",isSelected:!0,id:20},{name:"Tarjetas rojas",isSelected:!0,id:21}]},offensesConditions:{areYellowCardSelected:!1,areRedCardSelected:!1,areFoulsCommittedSelected:!1}},categoriesDefault:[{id:1,name:"Goles",isSelected:!1},{id:2,name:"Pases acertados",isSelected:!1},{id:23,name:"Tiros de Esquina",isSelected:!1},{id:3,name:"Balones recuperados en disputa",isSelected:!1},{id:4,name:"Asistencias",isSelected:!1},{id:5,name:"Participaciones en gol",isSelected:!1},{id:6,name:"Tiros a gol",isSelected:!1},{id:7,name:"Tiros a gol que llegaron a la portería",isSelected:!1},{id:8,name:"Cabeceos en área rival",isSelected:!1},{id:9,name:"Cabeceos en área propia",isSelected:!1},{id:10,name:"Centros",isSelected:!1},{id:11,name:"Centros acertados",isSelected:!1},{id:12,name:"1vs1 exitosos ofensivos",isSelected:!1},{id:13,name:"1vs1 exitosos ofensivos que terminaron en gol",isSelected:!1},{id:14,name:"1vs1 defensivos exitoso",isSelected:!1},{id:15,name:"Rechaces",isSelected:!1},{id:16,name:"Balones ganados en área propia",isSelected:!1},{id:17,name:"Balones ganados en área rival",isSelected:!1},{id:18,name:"Faltas cometidas",isSelected:!1},{id:19,name:"Faltas recibidas",isSelected:!1},{id:20,name:"Tarjetas amarillas",isSelected:!1},{id:21,name:"Tarjetas rojas",isSelected:!1},{id:22,name:"Atajadas",isSelected:!1}],isCup:!1,arrayPredefinedOrigin:[],indexPredefinedFiltersSelected:0,predefinedFiltersMatchLapse:[],predefinedFiltersPlayingAs:[],predefinedFiltersSections:[],updateTables:0,updateTablesfull:0,optionSelected:"Jugadores",optionSelectedSubmenu:"Todas las jugadas",teamsUrl:"https://d2oco6mqmc.execute-api.us-west-2.amazonaws.com/prod/teamsBySeason/",urlFilter:"https://cqqxaonvm6.execute-api.us-east-2.amazonaws.com/prod/gs2/tops/filters?categories=",retries:3,teams:[],updateFilterGolstats:0,updateFilterPlaytypesGolstats:0,arrayTournaments:[],arraySeasons:{},seasonBytournament:[],filtersTypes:Dn,token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",fVnationalities:new Set,fVzone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],fVplayingAs:[1,2],fVsections:[1,2,3,4,5,6],fVmatchResult:[1,2,3],fVarrayAgeRange:[10,40],FVeligible:[],FVYear:1900,fVtypeZone:2,fVsetPositionsIds:[1,2,3,4,5,6,7,8,9],currentIndex:-1,delay:800,tournamentSelected:0,tournamentSelectedObj:{},FVfilterGolstats:[],updateFilterField:0,openMenuMobil:!1,selectedTournament:{seasons:[]},selectedSeasonObj:{}}},methods:{getnameshort(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),n="";t.length==2||t.length==1?t[0].length<4?n=t[0]+" "+t[1]:n=t[0]:t.length==3?n=t[0]+" "+t[1]:t.length==4&&(n=t[1]+" "+t[2]+" "+t[3]);var o=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return n=n.replace(",",""),o+". "+n},setUpTournamentsToFilter(){this.tournamentsToFilter.forEach(e=>{const a=e.id===this.selectedTournament.id;e.isSelected=a,e.isDefaultTournament=a})},async onClickDeleteFilter(){this.optionSelectedSubmenu=="Predeterminados"?this.resetPredefinedTeamAll():(this.arrayFiltersPlays=[],setTimeout(()=>{},200))},clickOpenFilters(){this.showfiltersPc=!0},clickCloseFilters(){this.showfiltersPc=!1},async selectedSeason(e){this.seasonActive!==e.id&&(this.seasonActive=e.id,this.resetPredefinedTeamAll(),this.$emit("change-season-id",e.id))},changeTournament(e){e.id!==this.selectedTournament.id&&(this.selectedTournament=e,this.tournamentSelectedObj={propName:"id",value:e.id},this.teamselect=0,this.resetPredefinedTeamAll(),this.setUpTournamentsToFilter())},changeTournamentMovil(e){this.tournamentSelectedObj={propName:"id",value:e.id},this.seasonBytournament=e.seasons,this.teamselect=0},selectedSeasonMovil(e){this.seasonActive=e.id},setRelevantCategoriesPlayer(e){return e===1?[39,40,52,53,54,55,323,324,608,774,802]:[10,12,14,15,27,35,61,217,257,466,519,607,702,730,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,211,232,235,239,242,282,284,289,291,296,485,486,487,488]},setOpenMedia(e){this.$emit("openmedia",e)},setMediaData(e){let n=[e.id],o=e.team_id;const r={seasonId:e.season_id,isFeaturedPlayers:!1,mainSectionType:1,playListType:2,gameIds:null,playerIds:n,goalkeeperIds:[],categoryIds:this.setRelevantCategoriesPlayer(e.position),teamId:o||0,matchResult:[1,2,3],categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:"Jugadas Relevantes"}};this.$emit("openmedia",r)},clickprofile(e){e.isTeam?this.$emit("openProfileTeam",{teamId:e.id,seasonId:this.seasonActive}):this.$emit("openProfilePlayer",{playerId:e.id,teamId:e.teamId,seasonId:this.seasonActive})},viewprofile(e,a,t){this.$emit("openProfilePlayer",{playerId:e,teamId:t,seasonId:a||this.seasonActive})},openMenuFilters(){this.openMenuMobil=!this.openMenuMobil,this.showfiltersPc=!0},clickexpand(){},async getScoutingData(){this.arrayFiltersPlays=[],this.loadingActive=!0;const e=E.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.post(re("https://eh9nhj69z7.execute-api.us-west-2.amazonaws.com/prod/players/productivity",this.provider,this.isDevApis),this.filterScounting,{headers:{"Content-Type":"application/json"}});if(this.filterScounting.tournaments.length>0){var t=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersTournaments");t!==-1?this.arrayFiltersPlays[t].name=this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX":this.arrayFiltersPlays.push({name:this.filterScounting.tournaments.length>1?"Ligas "+this.filterScounting.tournaments.length:this.nameLeagueSelected!=""?this.nameLeagueSelected:"Liga MX",type:"onFiltersTournaments"})}this.rowScoutingData=[];for(let n=0;n<a.length;n++){a[n];let r=a[n].dob.split("T")[0].split("-");var i={position:n+1,player_name:this.abrevName(a[n].name),player_photo:"https://golstatsimages.blob.core.windows.net/players-profile/"+a[n].player_id+".png",total:a[n].total.toFixed(0),id:a[n].player_id,player_age:this.calcularEdad(a[n].dob),team_abrev:a[n].teams[0].acronym,team_name:a[n].teams[0].team_name,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+a[n].teams[0].team_id+".png",player_position:a[n].position_id,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+a[n].nationality_id+".jpg",date:r[2]+"."+r[1]+"."+r[0].substring(2,4),team_id:a[n].team_id,nationality_name:$s[a[n].nationality_id],player_games:a[n].games_played,player_min:a[n].minutes_played,league_name:a[n].tournament_name,seasons:a[n].seasons,season_id:a[n].seasons[0]};this.rowScoutingData.push(i)}if(this.seasonsFilterSelected!=0){const n=await this.fetchTeamsScouting(this.seasonsFilterSelected);this.teamselect=0,this.teamselectrec=0,this.teamsscouting=[];for(let o=0;o<n.teams.length;o++)this.teamsscouting.push({id:n.teams[o].team_id,team:n.teams[o].colloquial_name,logo:n.teams[o].logo})}this.loadingActive=!1},abrevName(e){var a=e.split(","),t=a[0].split(" "),i=a[1].trim().split(" "),n="";t.length==2||t.length==1?t[0].length<4?n=t[0]+" "+t[1]:n=t[0]:t.length==3?n=t[0]+" "+t[1]:t.length==4&&(n=t[1]+" "+t[2]+" "+t[3]);var o=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";n=n.replace(",","");var r=o+". "+n;return r},calcularEdad(e){var a=new Date(e),t=new Date,i=t-a,n=Math.floor(i/(1e3*60*60*24*365.25));return n},async onFiltersTournaments(e){this.modifidFiltersFlag=!0;var a=[];for(let t=0;t<e.length;t++)e[t].isSelected&&a.push(e[t].id);if(a.length==0&&(a=[1]),a.length==1)for(let t=0;t<e.length;t++)e[t].isSelected&&(this.nameLeagueSelected=e[t].name,this.seasonsFilterSelected=e[t].seasons[0].id);else this.seasonsFilterSelected=0,a.length>0&&(this.nameLeagueSelected=a.length+" Ligas");this.filterScounting.tournaments=a,this.filterScounting.seasonId=e[0].seasons[0].id},onFiltersPersonalData(e){if(this.modifidFiltersFlag=!0,e.hasOwnProperty("ageByRange")){const i=e.ageByRange.min==0?10:e.ageByRange.min,n=e.ageByRange.max==0?40:e.ageByRange.max;this.filterScounting.range_age=[i,n],this.filterScounting.age_or_year=1}else this.filterScounting.range_age=[];e.hasOwnProperty("year")?(this.filterScounting.year=e.year,this.filterScounting.age_or_year=0):this.filterScounting.year=0;var a=[];if(e.hasOwnProperty("nationalities")){for(let i=0;i<e.nationalities.length;i++)e.nationalities[i].isSelected&&a.push(e.nationalities[i].id);a.length==0&&(a=[3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,221,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,222,223,224,225,226,227,228,229,230,231,232,233,234,236,237,239])}this.filterScounting.elegibles=[],e.hasOwnProperty("eligibility")&&(this.filterScounting.elegibles=[e.eligibility[0].id]);var t=[];for(let i=0;i<e.positions.length;i++)e.positions[i].isSelected&&t.push(e.positions[i].id);t.length==0&&(t=[1,2,3,4,5,6,7,8,9,10]),this.filterScounting.positions=t,this.filterScounting.nationalities=a},onFiltersUniverse(e){this.modifidFiltersFlag=!0,this.filterScounting.minutes_played=Number(e.minutesPlayed),this.filterScounting.last_months=Number(e.lastMonths),this.filterScounting.minutes_played_avg=Number(e.percentMinutesPlayed),this.filterScounting.type_stats=e.statistics.averagePerGame?3:e.statistics.averagePerMinute?2:1},onFiltersProductivity(e){this.modifidFiltersFlag=!0;var a=[];for(let t=0;t<e.productivityFilters.length;t++)a[e.productivityFilters[t].priority-1]={name:e.productivityFilters[t].name,ids:e.productivityFilters[t].id};a.length==0&&(a=[]),this.filterScounting.categories=a,this.filterScounting.fouls=e.offensesConditions.areFoulsCommittedSelected,this.filterScounting.yellow_cards=e.offensesConditions.areYellowCardsSelected,this.filterScounting.red_cards=e.offensesConditions.areRedCardsSelected},onFiltersGolStats(e){if(e.length>0){var a=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");a!==-1?this.arrayFiltersPlays[a].name=e[0].name:this.arrayFiltersPlays.push({name:e[0].name,type:"onFiltersPredefined"}),this.filtersPredefinedF=e[0].filters}else{var t=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&t!==-1){this.filtersPredefinedF=this.filters;for(let n=0;n<this.FVfilterGolstats.length;n++)this.FVfilterGolstats[n].isSelected=!1;var t=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersPredefined");t!==-1&&this.arrayFiltersPlays.splice(t,1),this.updateFilterGolstats+=1}}},shouldRender(e){return e<=this.currentIndex},renderNext(){this.currentIndex++,this.currentIndex<this.categoriesDefault.length&&setTimeout(()=>{this.$nextTick(()=>{this.renderNext()})},this.delay)},async onFiltersPlaysTypes(e){if(e.length>0){this.categoryPredefinedActive=!0,this.loadingActive=!0,this.categoryPredefined=e[0].id;var a=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&a!==-1){this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(a,1);var t=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(t!==-1){for(let i=0;i<this.FVfilterGolstats.length;i++)this.FVfilterGolstats[i].isSelected=!1;t!==-1&&this.arrayFiltersPlays.splice(t,1),this.updateFilterGolstats+=1}}this.updateTables+=1,setTimeout(()=>{this.loadingActive=!1},1e3),await this.getPredefinedfilters(e[0]),this.FVfilterGolstats.length>0&&(this.onFiltersGolStats([this.FVfilterGolstats[0]]),this.FVfilterGolstats[0].isSelected=!0)}else{var a=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersPredefinedCategory");if(this.categoriesDefault.length>0&&a!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters,this.arrayFiltersPlays.splice(a,1);for(let o=0;o<this.categoriesDefault.length;o++)this.categoriesDefault[o].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var t=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&t!==-1){for(let o=0;o<this.FVfilterGolstats.length;o++)this.FVfilterGolstats[o].isSelected=!1;t!==-1&&this.arrayFiltersPlays.splice(t,1),this.updateFilterGolstats+=1}}}},deleteCategoryFilter(){this.categoryName="",this.showFullCategory=0,this.showFullTable=!1,delete this.filters.aux},onShowFullTable(e){this.categoryName=e.categoryName,this.showFullCategory=e.category,this.showFullTable=!0,this.loadingActive=!0,setTimeout(()=>{this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,aux:this.getRandomNumber(1,1e4),booleanAreNationalTeamsVisible:this.FVbooleanAreNationalTeamsVisible,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.loadingActive=!1},1e3)},getRandomNumber(e,a){return Math.floor(Math.random()*(a-e+1))+e},applyFiltersBtn(e){},onFiltersPlays(e){if(this.arrayCategoryFilter=[],this.arrayCategoryFilterFull=[],e.playsCategories.length==0){for(let t=0;t<this.categoriesPlaysTypes.offensive.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offensive.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t]);for(let t=0;t<this.categoriesPlaysTypes.defensive.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.defensive.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t]);for(let t=0;t<this.categoriesPlaysTypes.possession.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.possession.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t]);for(let t=0;t<this.categoriesPlaysTypes.offenses.categories.length;t++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offenses.categories[t].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[t])}else for(let t=0;t<e.playsCategories.length;t++)e.playsCategories[t].isSelected&&(this.arrayCategoryFilter.push(e.playsCategories[t].id),this.arrayCategoryFilterFull.push(e.playsCategories[t]));var a=this.arrayFiltersPlays.findIndex(t=>t.type==="onFiltersPlays");this.arrayCategoryFilter.length>0&&this.arrayCategoryFilter.length!=23?this.arrayCategoryFilter.length==1?a!=-1?this.arrayFiltersPlays[a].name=this.arrayCategoryFilterFull[0].name:this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull[0].name,type:"onFiltersPlays"}):a!=-1?this.arrayFiltersPlays[a].name=this.arrayCategoryFilterFull.length+" Tipos de jugadas":this.arrayFiltersPlays.push({name:this.arrayCategoryFilterFull.length+" Tipos de jugadas",type:"onFiltersPlays"}):a!==-1&&this.arrayFiltersPlays.splice(a,1)},async deleteLabelFilter(e){var a=this.arrayFiltersPlays.findIndex(i=>i.type===e);if(a!==-1){if(e=="onFiltersTournaments"&&(this.arrayFiltersPlays=[],setTimeout(()=>{},200)),e=="onFiltersPlays"){for(let i=0;i<this.categoriesPlaysTypes.offensive.categories.length;i++)this.categoriesPlaysTypes.offensive.categories[i].isSelected=!0;for(let i=0;i<this.categoriesPlaysTypes.defensive.categories.length;i++)this.categoriesPlaysTypes.defensive.categories[i].isSelected=!0,this.arrayCategoryFilter.push(),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[i]);for(let i=0;i<this.categoriesPlaysTypes.possession.categories.length;i++)this.categoriesPlaysTypes.possession.categories[i].isSelected=!0;for(let i=0;i<this.categoriesPlaysTypes.offenses.categories.length;i++)this.categoriesPlaysTypes.offenses.categories[i].isSelected=!0}if(e=="onFiltersField"&&(this.fVzone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersPredefined"){this.filtersPredefinedF=this.filters;for(let i=0;i<this.FVfilterGolstats.length;i++)this.FVfilterGolstats[i].isSelected=!1;this.updateFilterGolstats+=1,this.resetPredefinedTeamAll()}if(e=="onFiltersPredefinedCategory"){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF=this.filters;var t=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");t!==-1&&this.arrayFiltersPlays.splice(t,1);for(let i=0;i<this.categoriesDefault.length;i++)this.categoriesDefault[i].isSelected=!1;this.updateFilterPlaytypesGolstats+=1}e=="onFiltersDetailsTime"&&(this.detailsObject.gameSections[0].isSelected=!0,this.detailsObject.gameSections[1].isSelected=!0,this.detailsObject.gameSections[2].isSelected=!0,this.detailsObject.gameSections[3].isSelected=!0,this.detailsObject.gameSections[4].isSelected=!0,this.detailsObject.gameSections[5].isSelected=!0,this.fVsections=[1,2,3,4,5,6],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersDetailsPlayingAs"&&(this.detailsObject.playingAs[0].isSelected=!0,this.detailsObject.playingAs[1].isSelected=!0,this.fVplayingAs=[1,2],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds}),e=="onFiltersNationality"&&(this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204),this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Te.NATIONALITY)),e=="onFiltersPosition"&&(this.fVsetPositionsIds=[1,2,3,4,5,6,7,8,9],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Te.POSITION)),e=="onFiltersAge"&&(this.fVarrayAgeRange=[10,40],this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds},this.$refs.personalDataFilterPlayers.clearFilters(Te.AGE_RANGE)),e=="onFiltersElegibility"&&this.$refs.personalDataFilterPlayers.clearFilters(Te.ELIGIBILITY),e=="onFiltersYear"&&(this.$refs.personalDataFilterPlayers.clearFilters(Te.YEAR),this.FVYear=1900,this.filters={zone:this.fVzone,playingAs:this.fVplayingAs,sections:this.fVsections,matchResult:this.fVmatchResult,arrayAgeRange:this.fVarrayAgeRange,typeZone:this.fVtypeZone,setNationalitiesIds:this.fVnationalities,setPositionsIds:this.fVsetPositionsIds,setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:this.FVsetAvailableNationalTeamsPlayersIds})}this.arrayFiltersPlays.splice(a,1)},clickAll(){},clickAllAll(){},clickTeam(){},clickTeamScouting(){},resetFilterTeamAndPlayers(){this.filters={zone:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],playingAs:[1,2],sections:[1,2,3,4,5,6],matchResult:[1,2,3],arrayAgeRange:[1,60],typeZone:1,setNationalitiesIds:this.setNationalitiesIds,setPositionsIds:[1,2,3,4,5,6,7,8,9],setYear:this.FVYear,booleanAreNationalTeamsVisible:!1,setAvailableNationalTeamsPlayersIds:new Set}},async changeTabsGeneral(e){this.resetPredefinedTeamAll(),this.showfiltersPc=!0,this.optionSelected=e,this.optionSelectedSubmenu="Todas las jugadas",this.filtersPredefinedF={},this.categoryPredefinedActive=!1,this.categoryPredefined=0,e=="Equipos"&&(this.typeTable=1,this.isTeam=!0,this.updateTables+=1,this.arrayFiltersPlays=[],this.teamselect=0,this.resetFilterTeamAndPlayers()),e=="Jugadores"&&(this.typeTable=0,this.isTeam=!1,this.teamselect=0,this.updateTables+=1,this.resetFilterTeamAndPlayers())},resetPredefinedTeamAll(){var e=this.arrayFiltersPlays.findIndex(t=>t.type==="onFiltersPredefined");if(this.categoriesDefault.length>0&&e!==-1){this.categoryPredefinedActive=!1,this.categoryPredefined=0,this.FVfilterGolstats=[],this.filtersPredefinedF={},this.arrayFiltersPlays.splice(e,1);for(let t=0;t<this.categoriesDefault.length;t++)this.categoriesDefault[t].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var a=this.arrayFiltersPlays.findIndex(t=>t.type==="onFiltersPredefined");if(a!==-1){for(let t=0;t<this.FVfilterGolstats.length;t++)this.FVfilterGolstats[t].isSelected=!1;a!==-1&&this.arrayFiltersPlays.splice(a,1),this.updateFilterGolstats+=1}}},changeTabsSubmenu(e){e!="Predeterminados"?this.resetPredefinedTeamAll():this.arrayFiltersPlays=[],this.optionSelectedSubmenu=e},async fetchTeams(){const e=E.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.get(re(this.teamsUrl,this.provider,this.isDevApis)+this.seasonActive);return a},async fetchTeamsScouting(e){const a=E.create({headers:{Authorization:`${this.token}`}}),{data:t}=await a.get(re(this.teamsUrl,this.provider,this.isDevApis)+e);return t},async getPredefinedfilters(e){this.arrayPredefinedFilters=[],this.arrayPredefinedOrigin=[];var a="";e.id==1?a=this.urlFilter:a=this.urlFilter;const t=E.create({headers:{Authorization:`${this.token}`}}),{data:i}=await t.get(re(a,this.provider,this.isDevApis)+e.id);if(Object.keys(i[0].match_lapse_combinations).forEach(m=>{this.predefinedFiltersMatchLapse[m.toString()]=i[0].match_lapse_combinations[m]}),Object.keys(i[0].playing_as_combinations).forEach(m=>{this.predefinedFiltersPlayingAs[m.toString()]=i[0].playing_as_combinations[m]}),Object.keys(i[0].field_sections_combinations).forEach(m=>{this.predefinedFiltersSections[m.toString()]=i[0].field_sections_combinations[m]}),i[0]){for(let m=0;m<i[0].filter_records.length;m++){var n=i[0].description;if(i[0].filter_records[m].field_sections!==void 0){const _=i[0].filter_records[m].field_sections.toString();(this.predefinedFiltersSections[_]||this.predefinedFiltersSections[_]=="")&&(this.predefinedFiltersSections[_]==""?n=n.replace(" [en {field_sections}]",this.predefinedFiltersSections[_]):n=n.replace("{field_sections}",this.predefinedFiltersSections[_]))}if(i[0].filter_records[m].match_lapse!==void 0){const _=i[0].filter_records[m].match_lapse.toString();(this.predefinedFiltersMatchLapse[_]||this.predefinedFiltersMatchLapse[_]=="")&&(this.predefinedFiltersMatchLapse[_]==""?n=n.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[_]):n=n.replace("{match_lapse}",this.predefinedFiltersMatchLapse[_]))}if(i[0].filter_records[m].playing_as!==void 0){const _=i[0].filter_records[m].playing_as.toString();(this.predefinedFiltersPlayingAs[_]||this.predefinedFiltersPlayingAs[_]=="")&&(this.predefinedFiltersPlayingAs[_]==""?n=n.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[_]):n=n.replace("{playing_as}",this.predefinedFiltersPlayingAs[_]))}i[0].filter_records[m].section_type!==void 0&&(this.optionSelected=="Jugadores"?n=n.replace("{section_type}","Jugadores"):n=n.replace("{section_type}","Equipos")),n=n.replace(/\[/g,""),n=n.replace(/\]/g,""),n=n.replace("{category_name}",i[0].category_name);const u=n.split(": ");var o=u[1];o.length>129&&this.windowWidth>1358&&(o=o.substring(0,129),o=o+"<span id='showIDtootip' class='dots' style='width: 100px; height: 20px; background: red; z-index: 6;'>...</span>"),(!this.isCup||i[0].filter_records[m].playing_as.length===2)&&this.arrayPredefinedFilters.push({id:m,category_name:e.name,id_category:i[0].id,title:u[0]+":",text:u[1],textOrigin:i[0].description,titledots:o,filtersPredefined:{matchResult:i[0].filter_records[m].match_result,playingAs:i[0].filter_records[m].playing_as,sections:i[0].filter_records[m].match_lapse,type:this.optionSelected=="Equipos"?2:1,typeZone:i[0].type_zone,zone:i[0].filter_records[m].field_sections,end_age:0,start_age:0,nationalities:[],elegible:[],positions:[]}})}var r=[];for(let m=0;m<this.arrayPredefinedFilters.length;m++){var c=0,p=new Set,d={},l=this.arrayPredefinedFilters[m].text.replace(/\*.*?\*/,"");if(l=l.replace(/\*/g,""),l=l.replace(/ +/g," "),this.arrayPredefinedFilters[m].filtersPredefined.elegible.length>0&&(c+=1),(this.arrayPredefinedFilters[m].filtersPredefined.end_age.length!=0||this.arrayPredefinedFilters[m].filtersPredefined.start_age.length!=0)&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.end_age!=0&&this.arrayPredefinedFilters[m].filtersPredefined.start_age!=0?d.arrayAgeRange=[this.arrayPredefinedFilters[m].filtersPredefined.start_age,this.arrayPredefinedFilters[m].filtersPredefined.end_age]:this.arrayPredefinedFilters[m].filtersPredefined.end_age==0&&this.arrayPredefinedFilters[m].filtersPredefined.start_age==0?d.arrayAgeRange=[1,60]:this.arrayPredefinedFilters[m].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[m].filtersPredefined.end_age==0?d.arrayAgeRange=[this.arrayPredefinedFilters[m].filtersPredefined.start_age,60]:d.arrayAgeRange=[1,this.arrayPredefinedFilters[m].filtersPredefined.end_age],this.arrayPredefinedFilters[m].filtersPredefined.matchResult.length!=3&&(c+=1),d.matchResult=this.arrayPredefinedFilters[m].filtersPredefined.matchResult,this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length>0&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length!=0){for(let u=0;u<this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length;u++)p.add(this.arrayPredefinedFilters[m].filtersPredefined.nationalities[u]);d.setNationalitiesIds=p}else p.add(138),p.add(222),p.add(163),p.add(51),p.add(226),p.add(10),p.add(223),p.add(96),p.add(171),p.add(198),p.add(105),p.add(80),p.add(29),p.add(74),p.add(216),p.add(196),p.add(64),p.add(155),p.add(156),p.add(89),p.add(106),p.add(81),p.add(233),p.add(204),d.setNationalitiesIds=p;this.arrayPredefinedFilters[m].filtersPredefined.playingAs.length!=2&&(c+=1),d.playingAs=this.arrayPredefinedFilters[m].filtersPredefined.playingAs,this.arrayPredefinedFilters[m].filtersPredefined.positions.length>0&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.positions.length>0?d.setPositionsIds=this.arrayPredefinedFilters[m].filtersPredefined.positions:d.setPositionsIds=[1,2,3,4,5,6,7,8,9],this.arrayPredefinedFilters[m].filtersPredefined.sections.length!=6&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.sections.length>0?d.sections=this.arrayPredefinedFilters[m].filtersPredefined.sections:d.sections=[1,2,3,4,5,6],this.arrayPredefinedFilters[m].filtersPredefined.zone.length!=16&&(c+=1),this.arrayPredefinedFilters[m].filtersPredefined.zone.length>0?d.zone=this.arrayPredefinedFilters[m].filtersPredefined.zone:d.zone=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],d.typeZone=this.arrayPredefinedFilters[m].filtersPredefined.typeZone,r.push({id:m+1,name:l,isSelected:!1,value:c,filters:d})}this.FVfilterGolstats=r,this.updateFilterGolstats+=1,this.arrayPredefinedOrigin=JSON.parse(JSON.stringify(this.arrayPredefinedFilters))}},getTextFilterPredefinedCustom(){this.setDinamicFilters(this.filterEmitAux);var e=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].textOrigin;const a=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.zone.sort((l,m)=>l-m).toString();this.predefinedFiltersSections[a]||this.predefinedFiltersSections[a]==""?this.predefinedFiltersSections[a]==""?e=e.replace(" [en {field_sections}]",this.predefinedFiltersSections[a]):e=e.replace("{field_sections}",this.predefinedFiltersSections[a]):e=e.replace("{field_sections}",this.predefinedFiltersSections.other);var t=!1;this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==this.setNationalityIds.size?(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size==1?(e=e.replace("[{nationality}]",this.$t(`gentilicios[${[...this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities][0]}]`)),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size>0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size!=this.setPositionsIds.size?(t=!0,e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]","")):(e=e.replace("[{nationality}]",""),e=e.replace("[de las nacionalidades y posiciones seleccionadas]",""),e=e.replace("[de las nacionalidades seleccionadas]","")),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.nationalities.size>0?(t||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.positions.size==this.setPositionsIds.size)&&(e=e.replace("[de las posiciones seleccionadas]","")):e=e.replace("[de las posiciones seleccionadas]",""),this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=0&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=0?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]&&this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age!=this.arrayAgeRange[0]||this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age!=this.arrayAgeRange[1]?this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age==this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age?(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" años]")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]","[de "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.start_age+" a "+this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.end_age+" años]")):(e=e.replace("[de {min_age} a {max_age} años]",""),e=e.replace("[de {min_age} años]","")):(e=e.replace("[de {min_age} años]",""),e=e.replace("[de {min_age} a {max_age} años]",""));const i=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.sections.sort().toString();if(this.predefinedFiltersMatchLapse[i]||this.predefinedFiltersMatchLapse[i]=="")this.predefinedFiltersMatchLapse[i]==""?e=e.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[i]):e=e.replace("{match_lapse}",this.predefinedFiltersMatchLapse[i]);else{e=e.replace("{match_lapse}"," "+this.predefinedFiltersMatchLapse.other);var n="";i.includes(1)&&(n=n+"0-15, "),i.includes(2)&&(n=n+"16-30, "),i.includes(3)&&(n=n+"31-45, "),i.includes(4)&&(n=n+"46-60, "),i.includes(5)&&(n=n+"61-75, "),i.includes(6)&&(n=n+"76-90, "),n=n.slice(0,-2),n=n.replace(/,([^,]*)$/," y $1"),e=e.replace("{match_lapse_selected}",n)}const o=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.playingAs.sort().toString();(this.predefinedFiltersPlayingAs[o]||this.predefinedFiltersPlayingAs[o]=="")&&(this.predefinedFiltersPlayingAs[o]==""?e=e.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[o]):e=e.replace("{playing_as}",this.predefinedFiltersPlayingAs[o])),this.typeSelected==1?this.getUser.tournament==1001?this.category.id==22?e=e.replace("{section_type}","Porteras"):e=e.replace("{section_type}","Jugadoras"):this.category.id==22?e=e.replace("{section_type}","Porteros"):e=e.replace("{section_type}","Jugadores"):e=e.replace("{section_type}","Equipos"),e=e.replace(/\[/g,""),e=e.replace(/\]/g,""),e=e.replace("{category_name}",this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].category_name);const r=e.split(": ");let c=r[1].charAt(0).toUpperCase()+r[1].toLowerCase().slice(1),p=r[1].charAt(0).toUpperCase()+r[1].toLowerCase().slice(1);this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].text=c,this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].title=r[0]+":";const d=p.match(/\*/g);if(d&&d.length)if(d.length%2===0)for(let l=1;l<=d.length;l++)l%2===0||(p=p.replace("*",'<span style="color: #ffff03" >'));else p=p.replaceAll("*","");this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].titledots=p},intervalidtops(e){this.$emit("intervalidtops",e)}},mounted(){sessionStorage.getItem("sidpdfil")!==null&&sessionStorage.setItem("sidpdfil",0),this.renderNext(),this.teamId!==0&&this.clickTeam(this.teamId),this.defaultSection!=="Jugadores"&&this.changeTabsGeneral(this.defaultSection)},async created(){try{const e=E.create({headers:{"Content-Type":"application/json"}});e.interceptors.request.use(t=>(delete t.headers.Authorization,t));const a=await e.get("https://golstats-microservices.s3.us-west-2.amazonaws.com/eligibles/elegibles.json",{headers:{"Content-Type":"application/json"}});this.fVnationalities.add(138),this.fVnationalities.add(222),this.fVnationalities.add(163),this.fVnationalities.add(51),this.fVnationalities.add(226),this.fVnationalities.add(10),this.fVnationalities.add(223),this.fVnationalities.add(96),this.fVnationalities.add(171),this.fVnationalities.add(198),this.fVnationalities.add(105),this.fVnationalities.add(80),this.fVnationalities.add(29),this.fVnationalities.add(74),this.fVnationalities.add(216),this.fVnationalities.add(196),this.fVnationalities.add(64),this.fVnationalities.add(155),this.fVnationalities.add(156),this.fVnationalities.add(89),this.fVnationalities.add(106),this.fVnationalities.add(81),this.fVnationalities.add(233),this.fVnationalities.add(204)}catch(e){throw new Error(e)}}},kp={ref:"myDivRefTopsFull",style:{width:"100%","max-width":"100%","box-sizing":"border-box"}};function Ep(e,a,t,i,n,o){const r=s.resolveComponent("GSCTopCategory");return s.openBlock(),s.createElementBlock("div",kp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.categoryView,(c,p)=>(s.openBlock(),s.createElementBlock("div",{key:p,class:s.normalizeClass(e.toniKroosWrapperClass)},[(s.openBlock(),s.createBlock(r,{"is-widget":t.isWidget,"team-widget":t.teamWidget,"time-live-comparative-avanced":t.timeLiveComparativeAvanced,"is-team":n.isTeam,carrousel:t.carrousel,arrow:t.arrow,"border-width":0,"can-play-videos":t.canPlayVideos,"border-radius":"12px","game-id":t.gameId,game:t.game,typeData:t.typeData,category:c.id,"type-table":n.typeTable,categoryName:c.name,"season-selected":t.seasonSelected,season:t.seasonActive,"filter-team":t.teamselect,"num-rows":t.numRows,key:n.updateTables,"dummy-data":t.dummyData,"show-position":t.showPosition,provider:t.provider,"is-dev-apis":t.isDevApis},null,8,["is-widget","team-widget","time-live-comparative-avanced","is-team","carrousel","arrow","can-play-videos","game-id","game","typeData","category","type-table","categoryName","season-selected","season","filter-team","num-rows","dummy-data","show-position","provider","is-dev-apis"]))],2))),128))],512)}const Np=j(Cp,[["render",Ep],["__cssModules",{$style:Sp}]]),Pp=[{top:"01",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow@2x.png",id:9991,age:25,team:"EQU",teamid:1,position:"DEL",positionId:9,positionfull:"Delantero",country:138,effectiveness:100,minutes:90,games:1,date:"01-01-1999",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Goles",total:15},{top:"02",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9992,age:27,team:"EQU",teamname:"Equipo",teamid:1,position:"MED",positionId:7,positionfull:"Medio",country:138,effectiveness:95,minutes:85,games:1,date:"02-02-1998",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Asistencias",total:12},{top:"03",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9993,age:22,team:"EQU",teamname:"Equipo",teamid:1,position:"DEF",positionId:2,positionfull:"Defensa",country:138,effectiveness:90,minutes:80,games:1,date:"03-03-2000",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Pases acertados",total:89},{top:"04",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9994,age:24,team:"EQU",teamname:"Equipo",teamid:1,position:"POR",positionId:1,positionfull:"Portero",country:138,effectiveness:88,minutes:70,games:1,date:"04-04-1997",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Atajadas",total:45},{top:"05",name:"Nombre Completo",name_short:"Nombre Completo",img:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",id:9995,age:28,team:"EQU",teamname:"Equipo",teamid:1,position:"LAT",positionId:3,positionfull:"Lateral",country:138,effectiveness:85,minutes:60,games:1,date:"05-05-1995",nationality:"Mexicano",player_country_flag:"https://golstatsimages.blob.core.windows.net/images-library/player-shadow-02@2x.png",categoryName:"Centros",total:23}],Vp={class:"gsc-top-player"},Rp=j({__name:"gsc-top-player",props:{categoryView:{type:Array,default:()=>[]},canPlayVideos:{type:Boolean,default:!0},carrousel:{type:Boolean,default:!1},arrow:{type:Boolean,default:!1},type:{type:Number,default:1},game:{type:Object,default:()=>({})},gamed:{type:Number,default:90209},season:{type:Number,default:1909},teamView:{type:Number,default:0},numRows:{type:Number,default:5},useDummyData:{type:Boolean,default:!0},showPosition:{type:Boolean,default:!0},provider:{type:Number,default:1},isDevApis:{type:Boolean,default:!1}},setup(e){const t=e.useDummyData?Pp:null;return(i,n)=>(s.openBlock(),s.createElementBlock("div",Vp,[s.createVNode(Np,{"can-play-videos":e.canPlayVideos,carrousel:e.carrousel,arrow:e.arrow,"type-data":e.type,"game-id":e.gamed,game:e.game,"season-active":e.season,teamselect:e.teamView,"category-view":e.categoryView,"num-rows":e.numRows,"dummy-data":s.unref(t),"show-position":e.showPosition,provider:e.provider,"is-dev-apis":e.isDevApis},null,8,["can-play-videos","carrousel","arrow","type-data","game-id","game","season-active","teamselect","category-view","num-rows","dummy-data","show-position","provider","is-dev-apis"])]))}},[["__scopeId","data-v-cf457124"]]),xp={class:"subcategory-group"},Fp={__name:"SubcategoryGroup",props:{subcategoryGroup:{type:Array,default:()=>[]}},setup(e){return(a,t)=>(s.openBlock(),s.createElementBlock("div",xp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.subcategoryGroup,i=>(s.openBlock(),s.createBlock(s.unref(wt),{key:i.id,modelValue:i.isSelected,"onUpdate:modelValue":n=>i.isSelected=n,label:i.name},null,8,["modelValue","onUpdate:modelValue","label"]))),128))]))}},Bp=I(Fp,[["__scopeId","data-v-ae6f3d72"]]),zp={class:"filter-subcategories"},Ap=Object.freeze(Object.defineProperty({__proto__:null,default:I({__name:"FilterSubcategories",props:{subcategoryGroups:{type:Array,default:()=>[]}},setup(e){return(a,t)=>(s.openBlock(),s.createElementBlock("div",zp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.subcategoryGroups,i=>(s.openBlock(),s.createElementBlock("div",{key:i.id,class:"filter-subcategories__group"},[s.createVNode(Bp,{subcategoryGroup:i},null,8,["subcategoryGroup"])]))),128))]))}},[["__scopeId","data-v-5edaefc2"]])},Symbol.toStringTag,{value:"Module"})),Qe=e=>(s.pushScopeId("data-v-80d9c265"),e=e(),s.popScopeId(),e),Ip={class:"details__header"},Op=Qe(()=>s.createElementVNode("div",{class:"details__header__title"},"Jugando como",-1)),Gp={class:"details__header__checkbox"},Lp={class:"details__body"},vp={class:"details__body__playing-as"},Wp=["onClick"],Dp={class:"details__header"},Mp=Qe(()=>s.createElementVNode("div",{class:"details__header__title"},"En: (Elige el lapso de tiempo)",-1)),$p={class:"details__header__checkbox"},Up={class:"details__body"},jp=Qe(()=>s.createElementVNode("div",{class:"details__body__title"},"1er tiempo",-1)),Jp={class:"details__body__game-section"},Hp=["onClick"],qp={class:"details__body"},Kp=Qe(()=>s.createElementVNode("div",{class:"details__body__title"},"2do tiempo",-1)),Zp={class:"details__body__game-section"},Yp=["onClick"],Xp=Object.freeze(Object.defineProperty({__proto__:null,default:I({__name:"FilterConditions",props:{playingAs:{type:Array,default:()=>[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}]},gameSections:{type:Array,default:()=>[{text:"0-15",value:1,isSelected:!0},{text:"16-30",value:2,isSelected:!0},{text:"31-45",value:3,isSelected:!0},{text:"46-60",value:4,isSelected:!0},{text:"61-75",value:5,isSelected:!0},{text:"76-90",value:6,isSelected:!0}]},buttonsBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0)"},buttonsBackgroundColorActive:{type:String,default:"rgba(203, 238, 107, 0.05)"},buttonsTextColor:{type:String,default:"rgba(255, 255, 255, 0.8)"},buttonsTextColorActive:{type:String,default:"rgba(255, 255, 255, 1)"},buttonsBorderColor:{type:String,default:"#8ea2ab"},buttonsBorderColorActive:{type:String,default:"#cbee6b"},buttonsBorderWidth:{type:String,default:"0.8px"},buttonsBorderWidthActive:{type:String,default:"1px"},buttonsBorderRadius:{type:String,default:"4px"}},setup(e){const a=e;s.useCssVars(l=>({"49cba245":e.buttonsBackgroundColor,"52f02da6":e.buttonsTextColor,"7d3f686a":e.buttonsBorderWidth,"7c286a07":e.buttonsBorderColor,"24a6f4aa":e.buttonsBackgroundColorActive,cd8d7768:e.buttonsTextColorActive,"35fa5c10":e.buttonsBorderWidthActive,"0cde1826":e.buttonsBorderColorActive}));const t=s.computed(()=>a.playingAs.every(l=>l.isSelected)),i=s.computed(()=>a.gameSections.every(l=>l.isSelected)),n=s.computed(()=>a.gameSections.reduce((l,m)=>(m.value<=3?l.firstHalf.push(m):l.secondHalf.push(m),l),{firstHalf:[],secondHalf:[]})),o=s.computed(()=>({"--border-radius-first-button":`${a.buttonsBorderRadius} 0 0 ${a.buttonsBorderRadius}`,"--border-radius-last-button":`0 ${a.buttonsBorderRadius} ${a.buttonsBorderRadius} 0`}));function r(l){l?a.playingAs.forEach(m=>{m.isSelected=!0}):a.playingAs.forEach((m,u)=>{m.isSelected=u===0})}function c(l){a.playingAs.filter(m=>m.isSelected).length===1&&l.isSelected||(l.isSelected=!l.isSelected)}function p(l){a.gameSections.filter(m=>m.isSelected).length===1&&l.isSelected||(l.isSelected=!l.isSelected)}function d(l){l?a.gameSections.forEach(m=>{m.isSelected=!0}):a.gameSections.forEach((m,u)=>{m.isSelected=u===0})}return(l,m)=>(s.openBlock(),s.createElementBlock("div",{class:"details",style:s.normalizeStyle(o.value)},[s.createElementVNode("div",Ip,[Op,s.createElementVNode("div",Gp,[s.createVNode(s.unref(wt),{label:"Todos","model-value":t.value,"onUpdate:modelValue":r},null,8,["model-value"])])]),s.createElementVNode("div",Lp,[s.createElementVNode("div",vp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.playingAs,(u,_)=>(s.openBlock(),s.createElementBlock("div",{key:`pa${_}`,class:s.normalizeClass(["details__body__button",{active:u.isSelected}]),onClick:f=>c(u)},s.toDisplayString(u.name),11,Wp))),128))])]),s.createElementVNode("div",Dp,[Mp,s.createElementVNode("div",$p,[s.createVNode(s.unref(wt),{label:"Todos","model-value":i.value,"onUpdate:modelValue":d},null,8,["model-value"])])]),s.createElementVNode("div",Up,[jp,s.createElementVNode("div",Jp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value.firstHalf,(u,_)=>(s.openBlock(),s.createElementBlock("div",{key:`pa${_}`,class:s.normalizeClass(["details__body__button",{active:u.isSelected}]),onClick:f=>p(u)},s.toDisplayString(u.text),11,Hp))),128))])]),s.createElementVNode("div",qp,[Kp,s.createElementVNode("div",Zp,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.value.secondHalf,(u,_)=>(s.openBlock(),s.createElementBlock("div",{key:`pa${_}`,class:s.normalizeClass(["details__body__button",{active:u.isSelected}]),onClick:f=>p(u)},s.toDisplayString(u.text),11,Yp))),128))])])],4))}},[["__scopeId","data-v-80d9c265"]])},Symbol.toStringTag,{value:"Module"})),Qp={class:"filter-field"},ef=Object.freeze(Object.defineProperty({__proto__:null,default:I({__name:"FilterField",setup(e){const a=s.ref(Array.from({length:16},(i,n)=>n+1));function t(){}return(i,n)=>(s.openBlock(),s.createElementBlock("div",Qp,[s.createVNode(s.unref(il),{width:"100%","background-color":"#2E3B46",value:a.value,"onUpdate:modelValue":t},null,8,["value"])]))}},[["__scopeId","data-v-8103c3e1"]])},Symbol.toStringTag,{value:"Module"}));Z.GscTopPlayer=Rp,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})}));