@golstats/gsc-top-player 1.0.13 → 1.0.14

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.
@@ -3,9 +3,9 @@
3
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,...s){const i=new this(a);return s.forEach(o=>i.set(o)),i}static accessor(a){const i=(this[ts]=this[ts]={accessors:{}}).accessors,o=this.prototype;function n(r){const c=ce(r);i[c]||(Vi(o,r),i[c]=!0)}return u.isArray(a)?a.forEach(n):n(a),this}};z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),u.reduceDescriptors(z.prototype,({value:e},a)=>{let s=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(i){this[s]=i}}}),u.freezeMethods(z);function et(e,a){const s=this||le,i=a||s,o=z.from(i.headers);let n=i.data;return u.forEach(e,function(c){n=c.call(s,n,o.normalize(),a?a.status:void 0)}),o.normalize(),n}function ss(e){return!!(e&&e.__CANCEL__)}function te(e,a,s){w.call(this,e??"canceled",w.ERR_CANCELED,a,s),this.name="CanceledError"}u.inherits(te,w,{__CANCEL__:!0});function as(e,a,s){const i=s.config.validateStatus;!s.status||!i||i(s.status)?e(s):a(new w("Request failed with status code "+s.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}function Pi(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function xi(e,a){e=e||10;const s=new Array(e),i=new Array(e);let o=0,n=0,r;return a=a!==void 0?a:1e3,function(p){const d=Date.now(),l=i[n];r||(r=d),s[o]=p,i[o]=d;let m=n,f=0;for(;m!==o;)f+=s[m++],m=m%e;if(o=(o+1)%e,o===n&&(n=(n+1)%e),d-r<a)return;const g=l&&d-l;return g?Math.round(f*1e3/g):void 0}}function Fi(e,a){let s=0,i=1e3/a,o,n;const r=(d,l=Date.now())=>{s=l,o=null,n&&(clearTimeout(n),n=null),e.apply(null,d)};return[(...d)=>{const l=Date.now(),m=l-s;m>=i?r(d,l):(o=d,n||(n=setTimeout(()=>{n=null,r(o)},i-m)))},()=>o&&r(o)]}const Ce=(e,a,s=3)=>{let i=0;const o=xi(50,250);return Fi(n=>{const r=n.loaded,c=n.lengthComputable?n.total:void 0,p=r-i,d=o(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:n,lengthComputable:c!=null,[a?"download":"upload"]:!0};e(m)},s)},is=(e,a)=>{const s=e!=null;return[i=>a[0]({lengthComputable:s,total:e,loaded:i}),a[1]]},ns=e=>(...a)=>u.asap(()=>e(...a)),Bi=F.hasStandardBrowserEnv?((e,a)=>s=>(s=new URL(s,F.origin),e.protocol===s.protocol&&e.host===s.host&&(a||e.port===s.port)))(new URL(F.origin),F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent)):()=>!0,Ri=F.hasStandardBrowserEnv?{write(e,a,s,i,o,n){const r=[e+"="+encodeURIComponent(a)];u.isNumber(s)&&r.push("expires="+new Date(s).toGMTString()),u.isString(i)&&r.push("path="+i),u.isString(o)&&r.push("domain="+o),n===!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 zi(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ai(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function os(e,a,s){let i=!zi(a);return e&&(i||s==!1)?Ai(e,a):a}const rs=e=>e instanceof z?{...e}:e;function K(e,a){a=a||{};const s={};function i(d,l,m,f){return u.isPlainObject(d)&&u.isPlainObject(l)?u.merge.call({caseless:f},d,l):u.isPlainObject(l)?u.merge({},l):u.isArray(l)?l.slice():l}function o(d,l,m,f){if(u.isUndefined(l)){if(!u.isUndefined(d))return i(void 0,d,m,f)}else return i(d,l,m,f)}function n(d,l){if(!u.isUndefined(l))return i(void 0,l)}function r(d,l){if(u.isUndefined(l)){if(!u.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:n,method:n,data:n,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)=>o(rs(d),rs(l),m,!0)};return u.forEach(Object.keys(Object.assign({},e,a)),function(l){const m=p[l]||o,f=m(e[l],a[l],l);u.isUndefined(f)&&m!==c||(s[l]=f)}),s}const ls=e=>{const a=K({},e);let{data:s,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:n,headers:r,auth:c}=a;a.headers=r=z.from(r),a.url=Yt(os(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(u.isFormData(s)){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&&u.isFunction(i)&&(i=i(a)),i||i!==!1&&Bi(a.url))){const d=o&&n&&Ri.read(n);d&&r.set(o,d)}return a},Ii=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(s,i){const o=ls(e);let n=o.data;const r=z.from(o.headers).normalize();let{responseType:c,onUploadProgress:p,onDownloadProgress:d}=o,l,m,f,g,y;function _(){g&&g(),y&&y(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function S(){if(!b)return;const k=z.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),N={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:k,config:e,request:b};as(function(O){s(O),_()},function(O){i(O),_()},N),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(){i(new w("Network Error",w.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let P=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const N=o.transitional||Qt;o.timeoutErrorMessage&&(P=o.timeoutErrorMessage),i(new w(P,N.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,b)),b=null},n===void 0&&r.setContentType(null),"setRequestHeader"in b&&u.forEach(r.toJSON(),function(P,N){b.setRequestHeader(N,P)}),u.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),c&&c!=="json"&&(b.responseType=o.responseType),d&&([f,y]=Ce(d,!0),b.addEventListener("progress",f)),p&&b.upload&&([m,g]=Ce(p),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",g)),(o.cancelToken||o.signal)&&(l=k=>{b&&(i(!k||k.type?new te(null,e,b):k),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const T=Pi(o.url);if(T&&F.protocols.indexOf(T)===-1){i(new w("Unsupported protocol "+T+":",w.ERR_BAD_REQUEST,e));return}b.send(n||null)})},Gi=(e,a)=>{const{length:s}=e=e?e.filter(Boolean):[];if(a||s){let i=new AbortController,o;const n=function(d){if(!o){o=!0,c();const l=d instanceof Error?d:this.reason;i.abort(l instanceof w?l:new te(l instanceof Error?l.message:l))}};let r=a&&setTimeout(()=>{r=null,n(new w(`timeout ${a} of ms exceeded`,w.ETIMEDOUT))},a);const c=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(n):d.removeEventListener("abort",n)}),e=null)};e.forEach(d=>d.addEventListener("abort",n));const{signal:p}=i;return p.unsubscribe=()=>u.asap(c),p}},Oi=function*(e,a){let s=e.byteLength;if(s<a){yield e;return}let i=0,o;for(;i<s;)o=i+a,yield e.slice(i,o),i=o},Li=async function*(e,a){for await(const s of Wi(e))yield*Oi(s,a)},Wi=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:s,value:i}=await a.read();if(s)break;yield i}}finally{await a.cancel()}},cs=(e,a,s,i)=>{const o=Li(e,a);let n=0,r,c=p=>{r||(r=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:d,value:l}=await o.next();if(d){c(),p.close();return}let m=l.byteLength;if(s){let f=n+=m;s(f)}p.enqueue(new Uint8Array(l))}catch(d){throw c(d),d}},cancel(p){return c(p),o.return()}},{highWaterMark:2})},ke=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ds=ke&&typeof ReadableStream=="function",Di=ke&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ms=(e,...a)=>{try{return!!e(...a)}catch{return!1}},Mi=ds&&ms(()=>{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}),ps=64*1024,tt=ds&&ms(()=>u.isReadableStream(new Response("").body)),Ee={stream:tt&&(e=>e.body)};ke&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!Ee[a]&&(Ee[a]=u.isFunction(e[a])?s=>s[a]():(s,i)=>{throw new w(`Response type '${a}' is not supported`,w.ERR_NOT_SUPPORT,i)})})})(new Response);const $i=async e=>{if(e==null)return 0;if(u.isBlob(e))return e.size;if(u.isSpecCompliantForm(e))return(await new Request(F.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(u.isArrayBufferView(e)||u.isArrayBuffer(e))return e.byteLength;if(u.isURLSearchParams(e)&&(e=e+""),u.isString(e))return(await Di(e)).byteLength},Ui=async(e,a)=>{const s=u.toFiniteNumber(e.getContentLength());return s??$i(a)},st={http:di,xhr:Ii,fetch:ke&&(async e=>{let{url:a,method:s,data:i,signal:o,cancelToken:n,timeout:r,onDownloadProgress:c,onUploadProgress:p,responseType:d,headers:l,withCredentials:m="same-origin",fetchOptions:f}=ls(e);d=d?(d+"").toLowerCase():"text";let g=Gi([o,n&&n.toAbortSignal()],r),y;const _=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let b;try{if(p&&Mi&&s!=="get"&&s!=="head"&&(b=await Ui(l,i))!==0){let N=new Request(a,{method:"POST",body:i,duplex:"half"}),x;if(u.isFormData(i)&&(x=N.headers.get("content-type"))&&l.setContentType(x),N.body){const[O,j]=is(b,Ce(ns(p)));i=cs(N.body,ps,O,j)}}u.isString(m)||(m=m?"include":"omit");const S="credentials"in Request.prototype;y=new Request(a,{...f,signal:g,method:s.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:S?m:void 0});let T=await fetch(y,f);const k=tt&&(d==="stream"||d==="response");if(tt&&(c||k&&_)){const N={};["status","statusText","headers"].forEach(he=>{N[he]=T[he]});const x=u.toFiniteNumber(T.headers.get("content-length")),[O,j]=c&&is(x,Ce(ns(c),!0))||[];T=new Response(cs(T.body,ps,O,()=>{j&&j(),_&&_()}),N)}d=d||"text";let P=await Ee[u.findKey(Ee,d)||"text"](T,e);return!k&&_&&_(),await new Promise((N,x)=>{as(N,x,{data:P,headers:z.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(S){throw _&&_(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,e,y),{cause:S.cause||S}):w.from(S,S&&S.code,e,y)}})};u.forEach(st,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const fs=e=>`- ${e}`,ji=e=>u.isFunction(e)||e===null||e===!1,us={getAdapter:e=>{e=u.isArray(e)?e:[e];const{length:a}=e;let s,i;const o={};for(let n=0;n<a;n++){s=e[n];let r;if(i=s,!ji(s)&&(i=st[(r=String(s)).toLowerCase()],i===void 0))throw new w(`Unknown adapter '${r}'`);if(i)break;o[r||"#"+n]=i}if(!i){const n=Object.entries(o).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build"));let r=a?n.length>1?`since :
4
4
  `+n.map(fs).join(`
5
5
  `):" "+fs(n[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return i},adapters:st};function at(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new te(null,e)}function hs(e){return at(e),e.headers=z.from(e.headers),e.data=et.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),us.getAdapter(e.adapter||le.adapter)(e).then(function(i){return at(e),i.data=et.call(e,e.transformResponse,i),i.headers=z.from(i.headers),i},function(i){return ss(i)||(at(e),i&&i.response&&(i.response.data=et.call(e,e.transformResponse,i.response),i.response.headers=z.from(i.response.headers))),Promise.reject(i)})}const ys="1.10.0",Ne={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{Ne[e]=function(i){return typeof i===e||"a"+(a<1?"n ":" ")+e}});const gs={};Ne.transitional=function(a,s,i){function o(n,r){return"[Axios v"+ys+"] Transitional option '"+n+"'"+r+(i?". "+i:"")}return(n,r,c)=>{if(a===!1)throw new w(o(r," has been removed"+(s?" in "+s:"")),w.ERR_DEPRECATED);return s&&!gs[r]&&(gs[r]=!0,console.warn(o(r," has been deprecated since v"+s+" and will be removed in the near future"))),a?a(n,r,c):!0}},Ne.spelling=function(a){return(s,i)=>(console.warn(`${i} is likely a misspelling of ${a}`),!0)};function vi(e,a,s){if(typeof e!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const n=i[o],r=a[n];if(r){const c=e[n],p=c===void 0||r(c,n,e);if(p!==!0)throw new w("option "+n+" must be "+p,w.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new w("Unknown option "+n,w.ERR_BAD_OPTION)}}const Ve={assertOptions:vi,validators:Ne},M=Ve.validators;let Z=class{constructor(a){this.defaults=a||{},this.interceptors={request:new Xt,response:new Xt}}async request(a,s){try{return await this._request(a,s)}catch(i){if(i instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const n=o.stack?o.stack.replace(/^.+\n/,""):"";try{i.stack?n&&!String(i.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(i.stack+=`
6
- `+n):i.stack=n}catch{}}throw i}}_request(a,s){typeof a=="string"?(s=s||{},s.url=a):s=a||{},s=K(this.defaults,s);const{transitional:i,paramsSerializer:o,headers:n}=s;i!==void 0&&Ve.assertOptions(i,{silentJSONParsing:M.transitional(M.boolean),forcedJSONParsing:M.transitional(M.boolean),clarifyTimeoutError:M.transitional(M.boolean)},!1),o!=null&&(u.isFunction(o)?s.paramsSerializer={serialize:o}:Ve.assertOptions(o,{encode:M.function,serialize:M.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Ve.assertOptions(s,{baseUrl:M.spelling("baseURL"),withXsrfToken:M.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let r=n&&u.merge(n.common,n[s.method]);n&&u.forEach(["delete","get","head","post","put","patch","common"],y=>{delete n[y]}),s.headers=z.concat(r,n);const c=[];let p=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(s)===!1||(p=p&&_.synchronous,c.unshift(_.fulfilled,_.rejected))});const d=[];this.interceptors.response.forEach(function(_){d.push(_.fulfilled,_.rejected)});let l,m=0,f;if(!p){const y=[hs.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),f=y.length,l=Promise.resolve(s);m<f;)l=l.then(y[m++],y[m++]);return l}f=c.length;let g=s;for(m=0;m<f;){const y=c[m++],_=c[m++];try{g=y(g)}catch(b){_.call(this,b);break}}try{l=hs.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,f=d.length;m<f;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=K(this.defaults,a);const s=os(a.baseURL,a.url,a.allowAbsoluteUrls);return Yt(s,a.params,a.paramsSerializer)}};u.forEach(["delete","get","head","options"],function(a){Z.prototype[a]=function(s,i){return this.request(K(i||{},{method:a,url:s,data:(i||{}).data}))}}),u.forEach(["post","put","patch"],function(a){function s(i){return function(n,r,c){return this.request(K(c||{},{method:a,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Z.prototype[a]=s(),Z.prototype[a+"Form"]=s(!0)});let Ji=class Ea{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(n){s=n});const i=this;this.promise.then(o=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](o);i._listeners=null}),this.promise.then=o=>{let n;const r=new Promise(c=>{i.subscribe(c),n=c}).then(o);return r.cancel=function(){i.unsubscribe(n)},r},a(function(n,r,c){i.reason||(i.reason=new te(n,r,c),s(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 s=this._listeners.indexOf(a);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const a=new AbortController,s=i=>{a.abort(i)};return this.subscribe(s),a.signal.unsubscribe=()=>this.unsubscribe(s),a.signal}static source(){let a;return{token:new Ea(function(o){a=o}),cancel:a}}};function qi(e){return function(s){return e.apply(null,s)}}function Hi(e){return u.isObject(e)&&e.isAxiosError===!0}const it={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(it).forEach(([e,a])=>{it[a]=e});function _s(e){const a=new Z(e),s=Gt(Z.prototype.request,a);return u.extend(s,Z.prototype,a,{allOwnKeys:!0}),u.extend(s,a,null,{allOwnKeys:!0}),s.create=function(o){return _s(K(e,o))},s}const E=_s(le);E.Axios=Z,E.CanceledError=te,E.CancelToken=Ji,E.isCancel=ss,E.VERSION=ys,E.toFormData=Se,E.AxiosError=w,E.Cancel=E.CanceledError,E.all=function(a){return Promise.all(a)},E.spread=qi,E.isAxiosError=Hi,E.mergeConfig=K,E.AxiosHeaders=z,E.formToJSON=e=>es(u.isHTMLForm(e)?new FormData(e):e),E.getAdapter=us.getAdapter,E.HttpStatusCode=it,E.default=E;const{Axios:Lp,AxiosError:Wp,CanceledError:Dp,isCancel:Mp,CancelToken:$p,VERSION:Up,all:jp,Cancel:vp,isAxiosError:Jp,spread:qp,toFormData:Hp,AxiosHeaders:Kp,HttpStatusCode:Zp,formToJSON:Yp,getAdapter:Xp,mergeConfig:Qp}=E,Ki={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 de(e){const a=t.ref({width:0,height:0});function s(){const i=e.value.getBoundingClientRect();a.value.width=i.width,a.value.height=i.height}return t.onMounted(()=>{s(),window.addEventListener("resize",s)}),t.onUnmounted(()=>{window.removeEventListener("resize",s)}),{elementSize:a}}const v=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},nt={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))}}},bs=()=>{t.useCssVars(e=>({"006631b0":e.height,d22b27fa:e.borderWidthBtn,"074def07":e.borderType,"3d086d94":e.borderColor,"66cd0d1f":e.borderRadius,e592d8b6:e.width,"0aedd1f4":e.backgroundColor,c0802d9e:e.cursorType,eabd0a9e:e.fontSize,"6cda4dfe":e.fontStyle,"51880a14":e.fontFamily,"3824dfca":e.marginLeftStat,"133a34a5":e.fontSizeStat}))},Ts=nt.setup;nt.setup=Ts?(e,a)=>(bs(),Ts(e,a)):bs;const Zi=["src"],Yi={key:1,class:"text"},Xi={class:"stats"},Qi={class:"numstats"},en={class:"leyend"};function tn(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&s.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&s.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[e.icon&&s.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(s.mini?"icon-txt":"icon"),style:t.normalizeStyle({width:s.iconSize}),src:e.icon},null,14,Zi)):t.createCommentVNode("",!0),s.textValue?(t.openBlock(),t.createElementBlock("div",Yi,t.toDisplayString(s.textValue),1)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",Xi,[t.createElementVNode("div",Qi,t.toDisplayString(s.textStat),1)]),t.createElementVNode("div",en,t.toDisplayString(s.textCategory),1)])):t.createCommentVNode("",!0)])}const sn=v(nt,[["render",tn],["__scopeId","data-v-a6e73249"]]),an={tablePositionGamesReports:"_tablePositionGamesReports_u361u_46",tablePositionWrapperGamesReports:"_tablePositionWrapperGamesReports_u361u_62",imgHenrryIconReports:"_imgHenrryIconReports_u361u_71",americaIconReports:"_americaIconReports_u361u_79",playerPhotoGamesReports:"_playerPhotoGamesReports_u361u_91",toniKroosGamesReports:"_toniKroosGamesReports_u361u_100",shapeIconReports:"_shapeIconReports_u361u_111",menuiconsTeamsReports:"_menuiconsTeamsReports_u361u_117",component31Reports:"_component31Reports_u361u_126",playerNameGamesReports:"_playerNameGamesReports_u361u_137",icnPlayIconReports:"_icnPlayIconReports_u361u_145",golesReports:"_golesReports_u361u_153",americaIcon1Reports:"_americaIcon1Reports_u361u_160",teamsAmericaReports:"_teamsAmericaReports_u361u_174",containerDataReports:"_containerDataReports_u361u_180",shapeIcon1Reports:"_shapeIcon1Reports_u361u_188",icnExpand1Reports:"_icnExpand1Reports_u361u_194",icnExpandReports:"_icnExpandReports_u361u_205",playerDataGamesReports:"_playerDataGamesReports_u361u_214",playerInfoGamesReports:"_playerInfoGamesReports_u361u_225",headerTopGameReports:"_headerTopGameReports_u361u_240",playerRowReports:"_playerRowReports_u361u_254",groupsLeagueReports:"_groupsLeagueReports_u361u_265",textReports:"_textReports_u361u_274",btnViewFullListReports:"_btnViewFullListReports_u361u_282",headerTopsGamesReports:"_headerTopsGamesReports_u361u_299",btnVideosOptionsReports:"_btnVideosOptionsReports_u361u_373","container-player-info":"_container-player-info_u361u_1","gsc-button":"_gsc-button_u361u_619",teamIconOverlay:"_teamIconOverlay_u361u_672",positionReports:"_positionReports_u361u_718",positionWrapperReports:"_positionWrapperReports_u361u_730",imgNecaxaIconReports:"_imgNecaxaIconReports_u361u_738",teamLogoReports:"_teamLogoReports_u361u_744",teamPhotoReports:"_teamPhotoReports_u361u_752",nameReports:"_nameReports_u361u_760",icnPlayIconType1Reports:"_icnPlayIconType1Reports_u361u_768",verVideosType1Reports:"_verVideosType1Reports_u361u_775",btnVideosOptionsType1Reports:"_btnVideosOptionsType1Reports_u361u_781",btnVideosOptions1GamesReports:"_btnVideosOptions1GamesReports_u361u_793",leftContainerReports:"_leftContainerReports_u361u_805",shapeIconType1Reports:"_shapeIconType1Reports_u361u_814",icnExpandType1Reports:"_icnExpandType1Reports_u361u_819",arrowExpandReports:"_arrowExpandReports_u361u_829",containerInfoGamesReports:"_containerInfoGamesReports_u361u_837",headerTopTeamReports:"_headerTopTeamReports_u361u_849",containerHeaderReports:"_containerHeaderReports_u361u_863",goles1Reports:"_goles1Reports_u361u_872",golesType1Reports:"_golesType1Reports_u361u_875",golesWrapperReports:"_golesWrapperReports_u361u_880",btnViewAllReports:"_btnViewAllReports_u361u_889",headerTopsTeamsReports:"_headerTopsTeamsReports_u361u_906",arrowExpandIconReports:"_arrowExpandIconReports_u361u_1066",rotateReports:"_rotateReports_u361u_1075"},ot={components:{GSCButton:sn},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"}},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)}}},Ss=()=>{t.useCssVars(e=>({"6e96814c":e.fontSizeTopNum,"2660fb06":e.fontFamilyTopNum,"9d718ba8":e.fontColorTopNum,57126202:e.opacityColorTopNum,"3e821186":e.fontColorName,"75723a17":e.fontFamilyName,b769eb98:e.fontSizeName,"08fffb49":e.backgroundColorHeader,"347ed68a":e.fontFamilyCategory,a7ef5fb2:e.fontSizeCategory,"8c31430e":e.fontColorCategory,"2c378008":e.borderColorCategory}))},ws=ot.setup;ot.setup=ws?(e,a)=>(Ss(),ws(e,a)):Ss;const nn=["src"],on=["src"],rn=["src"],ln=["src"],cn=["fill"],dn=["fill"],mn=["src"],pn=["fill"],fn=["fill"];function un(e,a,s,i,o,n){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.headerTopsGamesReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerRowReports),id:"player-row"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopGameReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerPhotoGamesReports),id:"container-player-photp"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.tablePositionWrapperGamesReports)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.tablePositionGamesReports)},t.toDisplayString(s.data.top),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamIconOverlay),style:t.normalizeStyle({backgroundImage:`url(${s.data.logo})`})},null,6)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHenrryIconReports),alt:"",src:s.data.photo},null,10,nn),t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIconReports),alt:"",src:s.data.logo},null,10,on)],2),t.createElementVNode("main",{class:t.normalizeClass(e.$style.playerInfoGamesReports),id:"container-player-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerNameGamesReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.toniKroosGamesReports)},t.toDisplayString(s.data.name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerDataGamesReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerDataReports)},[s.canPlayVideos||s.game.awayTeam.team_id==s.teamWidget&&s.typeData!=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(r,{"icon-size":s.iconSize,"icon-position":s.iconPosition,width:s.buttonWidth,"button-max-width":s.buttonMaxWidth,height:s.buttonHeight,"border-radius":s.buttonRadius,"border-width":s.buttonBorderWidth,"background-color":s.buttonBackground,"font-family":s.buttonfontFamily,"border-color":s.buttonBorderColor,"text-value":s.data.total+" "+s.categoryName.toLowerCase(),"font-size":s.buttonFontSize,onClick:a[0]||(a[0]=c=>n.clickEventMedia(s.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"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmericaReports)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1Reports),alt:"",src:s.data.logo},null,10,rn)],2)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(r,{icon:"","icon-size":s.iconSize,"icon-position":s.iconPosition,width:s.buttonWidth,"button-max-width":s.buttonMaxWidth,height:s.buttonHeight,"border-radius":s.buttonRadius,"border-width":s.buttonBorderWidth,"background-color":s.buttonBackground,"font-family":s.buttonfontFamily,"border-color":s.buttonBorderColor,"text-value":s.data.total+" "+s.categoryName.toLowerCase(),"font-size":s.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"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmericaReports)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1Reports),alt:"",src:s.data.logo},null,10,ln)],2)],64))],2),s.arrow?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.icnExpandReports),onClick:a[1]||(a[1]=c=>n.clickExpand(s.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIconReports,s.isExpanded?e.$style.rotateReports:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.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:s.colorArrow},null,8,dn)],10,cn))],2)):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.headerTopsTeamsReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerHeaderReports),id:"header-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopTeamReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPhotoReports),id:"container-team"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.positionWrapperReports)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.positionReports)},t.toDisplayString(s.data.top),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamLogoReports)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgNecaxaIconReports),alt:"",src:s.data.logo},null,10,mn)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerInfoGamesReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leftContainerReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.nameReports)},t.toDisplayString(s.data.name_team),3),t.createVNode(r,{"icon-size":s.iconSize,"icon-position":s.iconPosition,width:s.buttonWidth,"button-max-width":s.buttonMaxWidth,height:s.buttonHeight,"border-radius":s.buttonRadius,"border-width":s.buttonBorderWidth,"background-color":s.buttonBackground,"font-family":s.buttonfontFamily,"border-color":s.buttonBorderColor,"text-value":s.data.total+" "+s.categoryName.toLowerCase(),"font-size":s.buttonFontSize,onClick:a[2]||(a[2]=c=>n.clickEventMedia(s.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"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideosOptions1GamesReports)},[t.createVNode(r,{"icon-size":s.iconSize,"icon-position":s.iconPosition,width:s.buttonWidth,"button-max-width":s.buttonMaxWidth,height:s.buttonHeight,"border-radius":s.buttonRadius,"border-width":s.buttonBorderWidth,"background-color":s.buttonBackground,"font-family":s.buttonfontFamily,"border-color":s.buttonBorderColor,"text-value":s.data.total+" "+s.categoryName.toLowerCase(),"font-size":s.buttonFontSize,onClick:a[3]||(a[3]=c=>n.clickEventMedia(s.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"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideosType1Reports)},t.toDisplayString(s.data.total),3)],2)],2),s.arrow?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.arrowExpandReports),onClick:a[4]||(a[4]=c=>n.clickExpand(s.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIconReports,s.isExpanded?e.$style.rotateReports:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.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:s.colorArrow},null,8,fn)],10,pn))],2)):t.createCommentVNode("",!0)],2)],2)],2)],2)):t.createCommentVNode("",!0)])}const hn=v(ot,[["render",un],["__cssModules",{$style:an}]]),yn={rotate:"_rotate_1t3gn_3",positionContainer:"_positionContainer_1t3gn_50",positionContainer300:"_positionContainer300_1t3gn_57",positionContainer620:"_positionContainer620_1t3gn_64",rowwPlayerGames:"_rowwPlayerGames_1t3gn_71",rowwPlayer300Games:"_rowwPlayer300Games_1t3gn_87",rowwPlayer960Games:"_rowwPlayer960Games_1t3gn_103",rowwPlayer420Games:"_rowwPlayer420Games_1t3gn_118",rowwPlayer460Games:"_rowwPlayer460Games_1t3gn_134",containerLeftGames:"_containerLeftGames_1t3gn_151",containerLeft300Games:"_containerLeft300Games_1t3gn_159",containerLeft420Games:"_containerLeft420Games_1t3gn_167",containerLeft620Games:"_containerLeft620Games_1t3gn_175",iconFavoritesType1:"_iconFavoritesType1_1t3gn_182",iconFavoritesType1300:"_iconFavoritesType1300_1t3gn_190",iconFavoritesType1320:"_iconFavoritesType1320_1t3gn_198",iconFavorites:"_iconFavorites_1t3gn_182",iconFavorites300:"_iconFavorites300_1t3gn_214",iconFavorites420:"_iconFavorites420_1t3gn_222",playerContainerGames:"_playerContainerGames_1t3gn_230",playerContainer300Games:"_playerContainer300Games_1t3gn_242",playerContainer420Games:"_playerContainer420Games_1t3gn_254",playerContainer460Games:"_playerContainer460Games_1t3gn_266",playerContainerType1Games:"_playerContainerType1Games_1t3gn_278",playerContainerType1300Games:"_playerContainerType1300Games_1t3gn_288",playerContainerType1320Games:"_playerContainerType1320Games_1t3gn_298",playerContainerType1460Games:"_playerContainerType1460Games_1t3gn_308",imgPlayerIcon:"_imgPlayerIcon_1t3gn_318",imgPlayerIcon300:"_imgPlayerIcon300_1t3gn_328",imgPlayerIcon460:"_imgPlayerIcon460_1t3gn_338",imgPlayerIcon420:"_imgPlayerIcon420_1t3gn_348",manchesterUnitedGames:"_manchesterUnitedGames_1t3gn_358",manchesterUnited300Games:"_manchesterUnited300Games_1t3gn_369",manchesterUnited360Games:"_manchesterUnited360Games_1t3gn_381",manchesterUnited420Games:"_manchesterUnited420Games_1t3gn_392",manchesterUnited460Games:"_manchesterUnited460Games_1t3gn_403",containerRightGames:"_containerRightGames_1t3gn_414",containerRight300Games:"_containerRight300Games_1t3gn_423",containerRight960Games:"_containerRight960Games_1t3gn_435",containerRight420Games:"_containerRight420Games_1t3gn_445",numberOfVideos:"_numberOfVideos_1t3gn_456",numberOfVideos300:"_numberOfVideos300_1t3gn_462",numberOfVideos620:"_numberOfVideos620_1t3gn_469",block02Games:"_block02Games_1t3gn_475",block02300Games:"_block02300Games_1t3gn_484",block02960Games:"_block02960Games_1t3gn_493",block02620Games:"_block02620Games_1t3gn_502",block02420Games:"_block02420Games_1t3gn_509",verVideos:"_verVideos_1t3gn_517",verVideos620:"_verVideos620_1t3gn_523",numberPosition:"_numberPosition_1t3gn_526",numberPosition300:"_numberPosition300_1t3gn_532",shapeIcon:"_shapeIcon_1t3gn_539",chivasIcon:"_chivasIcon_1t3gn_544",imgTeamIcon:"_imgTeamIcon_1t3gn_555",imgTeamIcon300:"_imgTeamIcon300_1t3gn_560",teamName:"_teamName_1t3gn_565",nameTeamGames:"_nameTeamGames_1t3gn_571",dfC:"_dfC_1t3gn_580",position:"_position_1t3gn_50",age:"_age_1t3gn_590",manchesterUnitedIcon:"_manchesterUnitedIcon_1t3gn_598",country:"_country_1t3gn_605",playedGames:"_playedGames_1t3gn_612",playedMinutes:"_playedMinutes_1t3gn_619",block01:"_block01_1t3gn_626",leagueName:"_leagueName_1t3gn_633",roleCharacterIcon:"_roleCharacterIcon_1t3gn_639",btnVideosGames:"_btnVideosGames_1t3gn_647",containerBtnVideosGames:"_containerBtnVideosGames_1t3gn_662",containerBtnVideos300Games:"_containerBtnVideos300Games_1t3gn_672",containerBtnVideos620Games:"_containerBtnVideos620Games_1t3gn_682",containesOptions:"_containesOptions_1t3gn_691",arrowExpandIcon:"_arrowExpandIcon_1t3gn_699",rowTeam:"_rowTeam_1t3gn_708",rowTeam300:"_rowTeam300_1t3gn_726",rowTeam420:"_rowTeam420_1t3gn_744",rowTeam320:"_rowTeam320_1t3gn_762",rowTeam460:"_rowTeam460_1t3gn_781",rowTeam350:"_rowTeam350_1t3gn_800",containerLeftType1:"_containerLeftType1_1t3gn_818",containerLeftType1300:"_containerLeftType1300_1t3gn_824",containerLeftType1680:"_containerLeftType1680_1t3gn_832",containerLeftType1320:"_containerLeftType1320_1t3gn_839",containerLeftType1350:"_containerLeftType1350_1t3gn_847",positionContainertype1:"_positionContainertype1_1t3gn_854",positionContainertype1300:"_positionContainertype1300_1t3gn_862",positionContainertype1380:"_positionContainertype1380_1t3gn_870",positionContainertype1680:"_positionContainertype1680_1t3gn_878",positionContainertype1420:"_positionContainertype1420_1t3gn_886",manchesterUnitedType1:"_manchesterUnitedType1_1t3gn_894",manchesterUnitedType1300:"_manchesterUnitedType1300_1t3gn_900",manchesterUnitedType1460:"_manchesterUnitedType1460_1t3gn_908",manchesterUnitedType1320:"_manchesterUnitedType1320_1t3gn_915",containerRightType1Games:"_containerRightType1Games_1t3gn_922",containerRightType1300Games:"_containerRightType1300Games_1t3gn_933",containerRightType1420Games:"_containerRightType1420Games_1t3gn_945",containerRightType1320Games:"_containerRightType1320Games_1t3gn_956",teamNameWrapperType1:"_teamNameWrapperType1_1t3gn_967",teamNameWrapperType1300:"_teamNameWrapperType1300_1t3gn_974",teamNameWrapperType1960:"_teamNameWrapperType1960_1t3gn_982",teamNameWrapperType11086:"_teamNameWrapperType11086_1t3gn_989",ageWrapperType1:"_ageWrapperType1_1t3gn_996",ageWrapperType1300:"_ageWrapperType1300_1t3gn_1003",ageWrapperType1680:"_ageWrapperType1680_1t3gn_1011",ageWrapperType11086:"_ageWrapperType11086_1t3gn_1019",ageType1:"_ageType1_1t3gn_1027",ageType1300:"_ageType1300_1t3gn_1035",ageType1960:"_ageType1960_1t3gn_1038",playedGamesWrapperType1:"_playedGamesWrapperType1_1t3gn_1041",playedGamesWrapperType1300:"_playedGamesWrapperType1300_1t3gn_1048",playedGamesWrapperType1680:"_playedGamesWrapperType1680_1t3gn_1051",playedGamesWrapperType1960:"_playedGamesWrapperType1960_1t3gn_1054",playedGamesType1:"_playedGamesType1_1t3gn_1057",playedGamesType1300:"_playedGamesType1300_1t3gn_1064",playedGamesType1540:"_playedGamesType1540_1t3gn_1068",playedGamesType1960:"_playedGamesType1960_1t3gn_1072",playedGamesType11086:"_playedGamesType11086_1t3gn_1075",playedMinutesWrapperType1:"_playedMinutesWrapperType1_1t3gn_1078",playedMinutesWrapperType1300:"_playedMinutesWrapperType1300_1t3gn_1085",playedMinutesWrapperType11086:"_playedMinutesWrapperType11086_1t3gn_1092",playedMinutesType1:"_playedMinutesType1_1t3gn_1099",playedMinutesType1300:"_playedMinutesType1300_1t3gn_1106",playedMinutesType1680:"_playedMinutesType1680_1t3gn_1109",block02Type1Games:"_block02Type1Games_1t3gn_1112",block02Type1300Games:"_block02Type1300Games_1t3gn_1120",block02Type1680Games:"_block02Type1680Games_1t3gn_1129",block02Type1320Games:"_block02Type1320Games_1t3gn_1137",block02Type1350Games:"_block02Type1350Games_1t3gn_1146",leagueNameWrapperType1:"_leagueNameWrapperType1_1t3gn_1154",leagueNameWrapperType1300:"_leagueNameWrapperType1300_1t3gn_1162",leagueNameWrapperType1680:"_leagueNameWrapperType1680_1t3gn_1165",leagueNameWrapperType1960:"_leagueNameWrapperType1960_1t3gn_1168",leagueNameType1:"_leagueNameType1_1t3gn_1176",leagueNameType1300:"_leagueNameType1300_1t3gn_1185",leagueNameType1960:"_leagueNameType1960_1t3gn_1188",numberOfVideosType1:"_numberOfVideosType1_1t3gn_1198",numberOfVideosType1300:"_numberOfVideosType1300_1t3gn_1205",numberOfVideosType1680:"_numberOfVideosType1680_1t3gn_1213",numberOfVideosType11232:"_numberOfVideosType11232_1t3gn_1220",vectorIconType1:"_vectorIconType1_1t3gn_1227",block01TitlesType1:"_block01TitlesType1_1t3gn_1244",numberPositionType1:"_numberPositionType1_1t3gn_1251",numberPositionType1300:"_numberPositionType1300_1t3gn_1257",shapeIconType1:"_shapeIconType1_1t3gn_1264",tijuanaIconType1:"_tijuanaIconType1_1t3gn_1270",tijuanaWrapperType1:"_tijuanaWrapperType1_1t3gn_1276",tijuanaWrapperType1NoBg:"_tijuanaWrapperType1NoBg_1t3gn_1287",teamNameType1:"_teamNameType1_1t3gn_1295",roleCharacterIconType1:"_roleCharacterIconType1_1t3gn_1302",verVideosType1:"_verVideosType1_1t3gn_1309",btnVideosType1Games:"_btnVideosType1Games_1t3gn_1315",containerBtnVideosType1Games:"_containerBtnVideosType1Games_1t3gn_1330",containesOptionsType1Games:"_containesOptionsType1Games_1t3gn_1341",arrowExpandIconType1:"_arrowExpandIconType1_1t3gn_1350",templateTablaProductividadType1:"_templateTablaProductividadType1_1t3gn_1356",verVideosType11232:"_verVideosType11232_1t3gn_1368",templateTablaProductividadType1320:"_templateTablaProductividadType1320_1t3gn_1372",verVideosType1680:"_verVideosType1680_1t3gn_1376"},rt={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.rowwPlayer300Games:e<=420?this.$style.rowwPlayer420Games:e<=460?this.$style.rowwPlayer460Games:e<=960?this.$style.rowwPlayer960Games:this.$style.rowwPlayerGames}},setup(){const e=t.ref("myDivRef2"),{elementSize:a}=de(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"}},data:()=>({expand:!1}),methods:{clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},emitEventMedia(e){this.$emit("mediadata",e)}}},Cs=()=>{t.useCssVars(e=>({d84aba4e:e.height,"65963de0":e.background,"522f0e22":e.fontSize,"1a58753c":e.fontColor,"6bfe8545":e.fontFamily}))},ks=rt.setup;rt.setup=ks?(e,a)=>(Cs(),ks(e,a)):Cs;const gn={ref:"myDivRef2",style:{"border-left":"rgba(13, 29, 41, 0.7) 1px solid","border-right":"rgba(13, 29, 41, 0.7) 1px solid"}},_n=["src"],bn=["src"],Tn=["fill"],Sn=["fill"],wn=["src"],Cn=["fill"],kn=["fill"],En=["src"],Nn=["src"],Vn=["src"],Pn=["fill"],xn=["fill"];function Fn(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",gn,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(n.numberPositionClass)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(n.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(n.imgPlayerIconClass),src:s.data.player_photo},null,10,_n),t.createElementVNode("div",{class:t.normalizeClass(n.manchesterUnitedClass)},[i.elementSize.width<=420?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(s.data.player_short),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(s.data.player_name),1)],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(n.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[t.createElementVNode("div",{class:t.normalizeClass(n.containerBtnVideosClass)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:s.data.team_logo},null,10,bn),t.createElementVNode("div",{class:t.normalizeClass(n.numberOfVideosClass)},t.toDisplayString(s.data.total),3)],2)],2),s.arrow?(t.openBlock(),t.createElementBlock("svg",{key:0,class:t.normalizeClass([e.$style.arrowExpandIcon,s.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[0]||(a[0]=r=>n.clickExpand(s.data.id))},[t.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:s.colorArrow},null,8,Sn)],10,Tn)):t.createCommentVNode("",!0)],2)],2)],2)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.rowTeamClass),style:t.normalizeStyle(i.elementSize.width>540?"border-bottom: 1px solid rgba(255, 255, 255, 0.1)":""),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftType1Class),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionContainertype1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.numberPositionType1Class)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(n.playerContainerType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.manchesterUnitedType1Class)},t.toDisplayString(s.data.team_abrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightType1Class),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(n.block02Type1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsType1Games)},[t.createElementVNode("div",{class:t.normalizeClass(n.containerBtnVideosType1Class)},[t.createElementVNode("img",{class:t.normalizeClass(n.imgTeamIconClass),alt:"",src:s.data.team_logo},null,10,wn),t.createElementVNode("div",{class:t.normalizeClass(n.numberOfVideosType1Class)},t.toDisplayString(s.data.total),3)],2)],2),s.arrow?(t.openBlock(),t.createElementBlock("svg",{key:0,class:t.normalizeClass([e.$style.arrowExpandIcon,s.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[1]||(a[1]=r=>n.clickExpand(s.data.id))},[t.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:s.colorArrow},null,8,kn)],10,Cn)):t.createCommentVNode("",!0)],2)],2)],6)):t.createCommentVNode("",!0),s.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(n.numberPositionClass)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(n.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(n.imgPlayerIconClass),src:s.data.player_photo},null,10,En),t.createElementVNode("div",{class:t.normalizeClass(n.manchesterUnitedClass)},t.toDisplayString(s.data.player_name),3),i.elementSize.width<=420?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.chivasIcon),alt:"",src:s.data.team_logo},null,10,Nn)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(n.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[t.createElementVNode("div",{class:t.normalizeClass(n.containerBtnVideosClass)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:s.data.team_logo},null,10,Vn),t.createElementVNode("div",{class:t.normalizeClass(n.numberOfVideosClass)},t.toDisplayString(s.data.total),3)],2)],2),(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,s.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[2]||(a[2]=r=>n.clickExpand(s.data.id))},[t.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:s.colorArrow},null,8,xn)],10,Pn))],2)],2)],2)):t.createCommentVNode("",!0)],512)}const Bn=v(rt,[["render",Fn],["__cssModules",{$style:yn}]]),Rn={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"},lt={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=t.ref("myDivRef"),{elementSize:a}=de(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:{}},Es=()=>{t.useCssVars(e=>({"833b0df6":e.background,"1c64387e":e.height,"42ac62f2":e.fontSize,"149ddcc6":e.fontColor,"766a7f2c":e.fontFamily,"669f7ffb":e.heightTeam}))},Ns=lt.setup;lt.setup=Ns?(e,a)=>(Es(),Ns(e,a)):Es;const zn={ref:"myDivRef"};function An(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",zn,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.headTitlesClassAvanced),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(n.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightTitlesClassAdvanced),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),i.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),i.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.mon)},"Total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(n.mon1Class)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.templateTablaProductividadType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.headTitlesType1Class),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftTitlesClassTeam),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionType1Class)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(n.teamType1Class)},"Equipo",2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightType1ClassAvanced)},[t.createElementVNode("div",{class:t.normalizeClass(n.frecuenciaWrapperType1Class)},[i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.frecuenciaType1Class)},"Frecuencia",2)):t.createCommentVNode("",!0)],2),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.promedioEstePartidoWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.promedioEstePartidoType1Class)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"Promedio partido",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"este Torneo",2)],2)],2)):t.createCommentVNode("",!0),i.elementSize.width>1086?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.promedioPartidosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.promedioPartidosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},a[0]||(a[0]=[t.createTextVNode("Promedio partido"),t.createElementVNode("br",null,null,-1),t.createTextVNode("Torneo anterior")]),2)],2)],2)):t.createCommentVNode("",!0),i.elementSize.width>770?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.partidosJugadosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.partidosJugadosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},a[1]||(a[1]=[t.createTextVNode("Partidos "),t.createElementVNode("br",null,null,-1),t.createTextVNode("Jugados")]),2)],2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containesOptionsTitlesType1Class)},[i.elementSize.width>680?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.monType1Class)},"total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(n.videosType1Class)},"Videos",2)],2)],2)],2)):t.createCommentVNode("",!0),s.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.headTitlesClassAvanced),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(n.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightTitlesClassAdvanced),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),i.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),i.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),i.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:6,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Liga",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[t.createElementVNode("div",{class:t.normalizeClass(n.mon1ScoutingClass)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0)],512)}const In=v(lt,[["render",An],["__cssModules",{$style:Rn}]]),Gn=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},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))}}},Vs=()=>{t.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}))},Ps=ct.setup;ct.setup=Ps?(e,a)=>(Vs(),Ps(e,a)):Vs;const On=e=>(t.pushScopeId("data-v-f3ee6b2b"),e=e(),t.popScopeId(),e),Ln=["src"],Wn={key:1,class:"text"},Dn=["src"],Mn={class:"stats"},$n=On(()=>t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),Un={class:"numstats"},jn={class:"leyend"};function vn(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&s.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&s.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.icon&&s.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,Ln)):t.createCommentVNode("",!0),s.textValue?(t.openBlock(),t.createElementBlock("div",Wn,t.toDisplayString(s.textValue),1)):t.createCommentVNode("",!0),s.icon&&s.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,Dn)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",Mn,[$n,t.createElementVNode("div",Un,t.toDisplayString(s.textStat),1)]),t.createElementVNode("div",jn,t.toDisplayString(s.textCategory),1)])):t.createCommentVNode("",!0)])}const Jn=Gn(ct,[["render",vn],["__scopeId","data-v-f3ee6b2b"]]),qn={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"},dt={components:{GSCButton:Jn},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=t.ref("myDivRef"),{elementSize:a}=de(e);return{myDivRef:e,elementSize:a}},data(){return{}},computed:{},methods:{viewProfile(e){this.$emit("viewprofile",e)}}},xs=()=>{t.useCssVars(e=>({b76aa8fe:e.fontFamily,dce830b4:e.fontColor,"060add2a":e.fontColorValue,"3e87935e":e.fontSize,c43b37c8:e.background}))},Fs=dt.setup;dt.setup=Fs?(e,a)=>(xs(),Fs(e,a)):xs;const Hn={ref:"myDivRef"},Kn=["src"];function Zn(e,a,s,i,o,n){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",Hn,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.expandedInfoPlayerGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerInfoGames,s.additionalClass]),id:"container-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},[s.viewTeam?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.equipoAtlasSeleccinMexiGames)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Equipo: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.atlasSeleccinGames)},t.toDisplayString(s.data.teams),3)],2)):t.createCommentVNode("",!0),s.viewAge?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Edad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.age)+" años",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)}," ("+t.toDisplayString(s.data.dataofbirth)+")",3)],2)):t.createCommentVNode("",!0),s.viewNationality?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Nacionalidad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},[t.createTextVNode(t.toDisplayString(s.data.nationality.substring(0,3).toUpperCase())+" ",1),t.createElementVNode("div",{class:t.normalizeClass(e.$style.countryFlag)},[t.createElementVNode("img",{src:s.data.countryFlag},null,8,Kn)],2)],2)],2)):t.createCommentVNode("",!0),s.viewPosition?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Posición: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.position),3)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited12)},[s.viewGames&&!s.isLive?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"partidos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.games),3)],2)):t.createCommentVNode("",!0),s.viewMin&&!s.isLive?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Minutos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.min),3)],2)):t.createCommentVNode("",!0),s.viewGoals?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},t.toDisplayString(s.data.category)+": ",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.goals),3)],2)):t.createCommentVNode("",!0),s.viewEffectiveness?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Efectividad de pases: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerButton),id:"btn-container"},[s.viewButton?(t.openBlock(),t.createBlock(r,{key:0,style:t.normalizeStyle(s.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=>n.viewProfile(s.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)],2)],2)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.infoExpanded)},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerDataBg,s.additionalClass])},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[2]||(a[2]=t.createElementVNode("span",null,"Posición en la tabla: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[3]||(a[3]=t.createElementVNode("span",null,"Goles anotados: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[4]||(a[4]=t.createElementVNode("span",null,"Goles recibidos: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[5]||(a[5]=t.createElementVNode("span",null,"Partidos jugados:",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[s.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited1)},[a[6]||(a[6]=t.createElementVNode("span",null,"Efectividad de pases: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[7]||(a[7]=t.createElementVNode("span",null,"xG: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.xg),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(s.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.total),3)],2),s.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited8)},[a[8]||(a[8]=t.createElementVNode("span",null,"Efectividad de pases: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.effectiveness)+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[a[9]||(a[9]=t.createElementVNode("span",null,"xG: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.xg),3)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerDataSm)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameDiv)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[10]||(a[10]=t.createElementVNode("span",null,"Posición en la tabla: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[11]||(a[11]=t.createElementVNode("span",null,"Goles anotados: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[12]||(a[12]=t.createElementVNode("span",null,"Goles recibidos: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[13]||(a[13]=t.createElementVNode("span",null,"Partidos jugados: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent1)},[s.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited14)},[a[14]||(a[14]=t.createElementVNode("span",null,"Efectividad de pases: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[15]||(a[15]=t.createElementVNode("span",null,"xG: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.xg),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(s.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.total),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[t.createElementVNode("span",null,t.toDisplayString(s.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.total),3)],2)],2)],2),s.viewButton?(t.openBlock(),t.createBlock(r,{key:0,style:t.normalizeStyle(s.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=>n.viewProfile(s.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)],512)}const Yn=v(dt,[["render",Zn],["__cssModules",{$style:qn}],["__scopeId","data-v-0bb9c2ff"]]),Bs={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"},mt={components:{GSCLeaders:hn,GSCRowTable:Bn,GSCTableHeader:In,GSCExpandedInfo:Yn},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}},setup(){const e=t.ref("myDivRef"),{elementSize:a}=de(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={},s=[],i=[],o=[];return this.formatFilterStats.map(n=>{e[n.team_id]?e[n.team_id].total=e[n.team_id].total+n.total:(e[n.team_id]={},e[n.team_id].total=n.total,e[n.team_id].id=this.teamInfo[n.team_id].id,e[n.team_id].name=this.teamInfo[n.team_id].name.replace(" Femenil",""),e[n.team_id].img="https://golstatsimages.blob.core.windows.net/teams-80/"+n.team_id+".png",e[n.team_id].effectiveness=this.teamInfo[n.team_id].effectiveness,e[n.team_id].frecuency=this.teamInfo[n.team_id].frecuency,e[n.team_id].game_avg=this.teamInfo[n.team_id].game_avg,e[n.team_id].game_avg_last_season=this.teamInfo[n.team_id].game_avg_last_season,e[n.team_id].games_played_lastseason=this.teamInfo[n.team_id].games_played_lastseason,e[n.team_id].games_played=this.teamInfo[n.team_id].games_played,e[n.team_id].positiontable=this.teamInfo[n.team_id].positiontable,e[n.team_id].goals=this.teamInfo[n.team_id].goals,e[n.team_id].goalsrecived=this.teamInfo[n.team_id].goalsrecived,e[n.team_id].xg=this.teamInfo[n.team_id].xg),a[n.player_id]?n.player_id!=0&&n.player_id!=62117&&(a[n.player_id].total=a[n.player_id].total+n.total):n.player_id!=0&&n.player_id!=62117&&(a[n.player_id]={},a[n.player_id].total=n.total,n.player_id&&this.playersInfo[n.player_id]?(a[n.player_id].name=this.playersInfo[n.player_id].name,a[n.player_id].name_short=this.getnameshort(this.playersInfo[n.player_id].name),a[n.player_id].img=this.playersInfo[n.player_id].img,a[n.player_id].id=this.playersInfo[n.player_id].id,a[n.player_id].age=this.playersInfo[n.player_id].age,a[n.player_id].team=this.playersInfo[n.player_id].team,a[n.player_id].teamname=this.playersInfo[n.player_id].teamname,a[n.player_id].teamid=this.playersInfo[n.player_id].teamid,a[n.player_id].position=this.playersInfo[n.player_id].position,a[n.player_id].positionId=this.playersInfo[n.player_id].positionId,a[n.player_id].positionfull=this.playersInfo[n.player_id].positionfull,a[n.player_id].country=this.playersInfo[n.player_id].country,a[n.player_id].effectiveness=this.playersInfo[n.player_id].effectiveness,a[n.player_id].minutes=this.playersInfo[n.player_id].minutes_played,a[n.player_id].games=this.playersInfo[n.player_id].games_played,a[n.player_id].date=this.playersInfo[n.player_id].date,a[n.player_id].nationality=this.playersInfo[n.player_id].nationality,a[n.player_id].player_country_flag=this.playersInfo[n.player_id].player_country_flag,a[n.player_id].categoryName=this.categoryName):(a[n.player_id].id=n.player_id,a[n.player_id].name=n.player_id,a[n.player_id].img="SIN IMAGEN",a[n.player_id].age="",a[n.player_id].teamname="",a[n.player_id].team="",a[n.player_id].teamid=0,a[n.player_id].position="",a[n.player_id].positionId=0,a[n.player_id].positionfull="",a[n.player_id].country="",a[n.player_id].effectiveness="",a[n.player_id].minutes="",a[n.player_id].games="",a[n.player_id].date="00-00-0000",a[n.player_id].nationality="",a[n.player_id].player_country_flag="",a[n.player_id].categoryName=""))}),s.push(...Object.values(e)),i.push(...Object.values(a)),s=this.sortAndSlice(Object.values(e),60),i=i.sort(this.compareObjectsMinutes).slice(0,60),i=i.map((n,r)=>(n.top=r<9?"0"+(r+1):""+(r+1),n)),s=s.map((n,r)=>(n.top=r<9?"0"+(r+1):""+(r+1),n)),this.filterTeam!==0&&!this.isTeam&&(o=i.filter(n=>n.teamid===this.filterTeam)),this.changeStateLoading(!1),this.isTeam?this.formatArrayPaginate(s):this.filterTeam!=0?this.formatArrayPaginate(o):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 s=Array.from(e),i=Array.from(a);if(s.length!==i.length)return!0;for(let o=0;o<s.length;o++)if(!a.has(s[o]))return!0;return!1},getnameshort(e){var a=e.split(","),s=a[0].split(" "),i=a[1].trim().split(" "),o="";s.length==2||s.length==1?s[0].length<4?o=s[0]+" "+s[1]:o=s[0]:s.length==3?o=s[0]+" "+s[1]:s.length==4&&(o=s[1]+" "+s[2]+" "+s[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return o=o.replace(",",""),n+". "+o},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((s,i)=>(s.name<i.name?1:-1)&&(s.total<i.total?1:-1)).slice(0,a)},getCategoryName(e){let a="";for(let s=0;s<this.categories.length;s++)e==this.categories[s].id&&(a=this.categories[s].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,s){let i=this.filtersValues.matchResult,o=this.filtersValues.playingAs,n=this.filtersValues.sections,r=this.filtersValues.zone;this.translateTopCategories(a),Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,o=this.filterEmitAux.playingAs,n=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const c=1,l=this.isTeam?3:2,m=e.player_id;let f=[],g=this.isTeam?e.id:this.filterTeam;m?this.isTeam?g=m:f=[m]:this.isTeam?g=e.id:f=[e.id];const y={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:f,goalkeeperIds:[],categoryIds:this.translateTopCategories(a),teamId:g||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:s,playingAs:o,timeSections:n,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",y)},emitEventMediaFullTable(e,a,s){let i=this.filtersValues.matchResult,o=this.filtersValues.playingAs,n=this.filtersValues.sections,r=this.filtersValues.zone,c=this.translateTopCategories(a);Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,o=this.filterEmitAux.playingAs,n=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const p=1,m=this.isTeam?3:2;let f=[],g=this.isTeam?e.id:this.filterTeam;this.isTeam?g=e.id:f=[e.id];const y={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:p,playListType:m,gameIds:null,playerIds:f,goalkeeperIds:[],categoryIds:c,teamId:g||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:s,playingAs:o,timeSections:n,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",y)},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(","),s=a[0].split(" "),i=a[1].trim().split(" "),o="";s.length==2||s.length==1?s[0].length<4?o=s[0]+" "+s[1]:o=s[0]:s.length==3?o=s[0]+" "+s[1]:s.length==4&&(o=s[1]+" "+s[2]+" "+s[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";o=o.replace(",","");var r=n+". "+o;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,s;console.log("llego aqui; ",e),this.mapPlayers=new Map;try{if(!e)return;let i=[],o={},n={},r=this.season;(s=(a=this.seasonSelected)==null?void 0:a.related_seasons)!=null&&s.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(console.log("this.typeData:::: ",this.typeData),console.log("this.game, ",this.game),this.game.game_status===1?p=await c.get(this.url+"/"+this.gameId+"/"+this.category):p=await c.get(this.urlPrematch+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=>{o[l[0]]={},o[l[0]].id=l[0],o[l[0]].name=l[1],o[l[0]].abrv=l[2],o[l[0]].img=l[3],o[l[0]].effectiveness=l[4],o[l[0]].games_played=l[5],o[l[0]].games_played_lastseason=l[6],o[l[0]].positiontable=l[7],o[l[0]].goals=l[8],o[l[0]].goalsrecived=l[9],o[l[0]].xg=l[10],o[l[0]].frecuency=l[11],o[l[0]].game_avg=l[12],o[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 f=m.numberAge,g=m.teamName.length>0?m.teamName[0].acronym:"",y=m.teamName.length>0?o[m.teamName[0].team_id].name:"",_=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,P=m.min,N=m.games,x=m.date;m.arrayNationalities.forEach(O=>{d.add(O.numberId)}),n[l[0]]={id:l[0],name:l[1],img:l[2],age:f,team:g,teamname:y,teamid:_,position:b,positionfull:S,effectiveness:k,country:T,games_played:N,minutes_played:P,date:x,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=o,this.playersInfo=n,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 s=e.playingAs.includes(a.playing_as),i=e.matchResult.includes(a.match_result),o=e.sections.includes(a.section),n=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||s)&&(e.matchResult.length===0||i)&&(e.sections.length===0||o)&&(e.zone.length===0||n)}):[]},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((s,i)=>{a[s]=e[i]}),a},getObjectPlayer(e){const a=[],s=e[7].map(o=>(a.push(o.nationality_id),{stringName:o.nationality,numberId:o.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:Bs[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:s,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()}},Rs=()=>{t.useCssVars(e=>({a1dc2948:e.borderRadius,"714aadbc":e.borderWidth,"7033af59":e.borderColor}))},zs=mt.setup;mt.setup=zs?(e,a)=>(Rs(),zs(e,a)):Rs;const Xn={ref:"myDivRef"},Qn={class:"btnViewFullList"},eo={class:"text"},to={class:"row-table-carrousel"},so={key:1,class:"container-no-search-result"},ao={key:0,class:"overlay-loading-top"};function io(e,a,s,i,o,n){const r=t.resolveComponent("GSCLeaders"),c=t.resolveComponent("GSCRowTable"),p=t.resolveComponent("GSCExpandedInfo"),d=t.resolveComponent("GSCTableHeader");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(s.type==0?"gsc-top":"gsc-top-full")},[t.createElementVNode("div",Xn,[s.type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.topData.length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",Qn,[t.createElementVNode("div",eo,t.toDisplayString(s.categoryName),1)]),t.createElementVNode("div",to,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.topData[0],(l,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:m},[l.top==1?(t.openBlock(),t.createBlock(r,{key:0,onMediadata:a[0]||(a[0]=f=>n.emitEventMedia(f,s.category,s.categoryName)),type:s.typeTable,"type-data":s.typeData,game:s.game,arrow:s.arrow,"team-widget":s.teamWidget,"can-play-videos":s.canPlayVideos,"is-expanded":e.playerexpand==l.id&&e.expand,ref_for:!0,ref:"GSCLeaders",data:s.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:s.category,total:l.total}:{top:"01",logo:l.img,total:l.total,name_team:l.name,player_id:l.id},"category-name":s.categoryName,buttonMaxWidth:s.typeTable!=0?i.elementSize.width>360?"210px":"130px":i.elementSize.width>360?"180px":"110px",buttonFontSize:n.getButtonFontSize(),iconSize:"11px",onExpand:n.clickexpand,onMore:n.morestats},null,8,["type","type-data","game","arrow","team-widget","can-play-videos","is-expanded","data","category-name","buttonMaxWidth","buttonFontSize","onExpand","onMore"])):(t.openBlock(),t.createBlock(c,{key:1,"type-data":s.typeData,"team-widget":s.teamWidget,game:s.game,type:s.typeTable,"type-view":s.type,arrow:s.arrow,"is-expanded":e.playerexpand==l.id&&e.expand,onMediadata:a[1]||(a[1]=f=>n.emitEventMedia(f,s.category,s.categoryName)),data:s.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:s.category,total:l.total,id:l.id},height:"71px","can-play-videos":s.canPlayVideos,background:m%2===0?s.backgroundEven:s.backgroundOdd,onExpand:n.clickexpand},null,8,["type-data","team-widget","game","type","type-view","arrow","is-expanded","data","can-play-videos","background","onExpand"])),e.expand&&e.playerexpand==l.id?(t.openBlock(),t.createBlock(p,{key:2,type:s.typeTable,"is-live":s.game.is_live,"view-effectiveness":l.positionId!==1,data:s.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:s.categoryName,id:l.id}:{position:l.positiontable,goals:l.goals,goals_received:l.goalsrecived,games_played:l.games_played,category:s.categoryName,effectiveness:l.effectiveness,xg:l.xg,total:l.total,attendance:"-",id:l.id},onViewprofile:f=>n.viewprofile(f,l.teamid),background:m%2===0?s.backgroundEven:s.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))])],64)):(t.openBlock(),t.createElementBlock("div",so,[e.isloading?(t.openBlock(),t.createElementBlock("div",ao,a[3]||(a[3]=[t.createElementVNode("div",{class:"overlay-loading-top__spinner"},[t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1),t.createElementVNode("div",{class:"overlay-loading-top__text"},"Loading...",-1)]))):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[a[4]||(a[4]=t.createElementVNode("div",{class:"container-no-search-result-title"},"No existen resultados",-1)),a[5]||(a[5]=t.createElementVNode("div",{class:"container-no-search-result-subtitle"},[t.createTextVNode(" No existen resultados para este tipo de"),t.createElementVNode("br"),t.createTextVNode(" jugada, considerando el torneo y otros"),t.createElementVNode("br"),t.createTextVNode(" filtros que has seleccionado. ")],-1))],64))]))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(d,{background:"#183143",type:s.typeTable},null,8,["type"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.topData,(l,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:m},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.slice(0,s.numRows),(f,g)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:g},[t.createVNode(c,{"type-data":s.typeData,"team-widget":s.teamWidget,game:s.game,arrow:s.arrow,type:s.typeTable,"type-view":s.type,"can-play-videos":s.canPlayVideos,"is-expanded":e.playerexpand==f.id&&e.expand,onMediadata:a[2]||(a[2]=y=>n.emitEventMediaFullTable(y,s.category,s.categoryName)),data:s.typeTable==0?{position:f.top,player_name:f.name,player_short:f.name_short,player_photo:f.img,total:f.total,id:f.id,player_age:f.age,team_abrev:f.team,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+f.teamid+".png",player_position:f.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+f.country+".jpg",player_games:f.games,player_min:f.minutes,league_name:"          Liga MX          "}:{position:f.positiontable,team_logo:f.img,team_abrev:f.name,frequency:f.frecuency,promthistournament:f.game_avg,promlasttournament:f.game_avg_last_season,category:s.category,team_games:f.games_played,total:f.total,id:f.id},height:"71px",background:((m+1)*5+g)%2===0?s.backgroundOdd:s.backgroundEven,onExpand:n.clickexpand},null,8,["type-data","team-widget","game","arrow","type","type-view","can-play-videos","is-expanded","data","background","onExpand"]),e.expand&&e.playerexpand==f.id?(t.openBlock(),t.createBlock(p,{key:0,type:s.typeTable,"is-live":s.game.is_live,additionalClass:"fullTable","view-effectiveness":f.positionId!==1,data:s.typeTable==0?{teams:f.teamname,age:f.age,dataofbirth:f.date,nationality:f.nationality,countryFlag:f.player_country_flag,position:f.positionfull,positionfull:f.positionfull,games:f.games,min:f.minutes,goals:f.total,effectiveness:f.effectiveness,category:n.getCategoryName(s.category),id:f.id}:{position:f.positiontable,goals:f.goals,goals_received:f.goalsrecived,games_played:f.games_played,category:s.categoryName,effectiveness:f.effectiveness,xg:f.xg,total:f.total,category:n.getCategoryName(s.category),attendance:"-",id:f.id},onViewprofile:y=>n.viewprofile(y,f.teamid),background:g%2===0?s.backgroundEven:s.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))],64))),128))],64))],512)],2)}const no=v(mt,[["render",io],["__scopeId","data-v-68b7189c"]]),me={YEAR:2,AGE_RANGE:3,NATIONALITY:4,POSITION:5,ELIGIBILITY:6},oo=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},ro={key:1},lo={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},co=["fill"],mo={key:0,class:"checkbox__teams"},po={class:"checkbox__teams__logo"},fo=["src"],uo={class:"checkbox__teams__logo"},ho=["src"],yo={__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 s=e;t.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=t.ref(!1),o=t.computed(()=>{const d={color:s.boxValueColor,"font-family":s.fontFamily,height:s.boxWidthAndHeight,width:s.boxWidthAndHeight,minWidth:s.boxWidthAndHeight,"border-radius":s.boxBorderRadius,"margin-top":s.boxMarginTop};return i.value?(d["background-color"]=s.boxBackgroundColor,d.border=`solid ${s.boxBorderWidth} ${s.boxBackgroundColor}`):d.border=`solid ${s.boxBorderWidth} ${s.boxBorderColor}`,d}),n=t.computed(()=>({"font-family":s.boxValueFontFamily,"font-size":s.boxValueFontSize,color:s.boxValueColor,"line-height":1})),r=t.computed(()=>{const d={color:s.labelColor,"font-family":s.fontFamily,"font-size":s.labelFontSize,"white-space":s.labelWhiteSpace,"text-align":s.boxPosition==="top"||s.boxPosition==="bottom"?"center":s.boxPosition};return(s.boxPosition==="left"||s.boxPosition==="right")&&(d[`margin-${s.boxPosition}`]=s.isBoxOnly?"0":s.teamsIds?"8px":"10px"),d});t.watch(()=>s.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){s.avoidInteraction||!i.value&&s.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)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[t.createElementVNode("div",{class:"checkbox__box",style:t.normalizeStyle(o.value)},[i.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[s.boxValue?(t.openBlock(),t.createElementBlock("div",{key:0,class:"checkbox__box__value",style:t.normalizeStyle(n.value)},t.toDisplayString(e.boxValue),5)):(t.openBlock(),t.createElementBlock("div",ro,[(t.openBlock(),t.createElementBlock("svg",lo,[t.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,co)]))]))],64)):t.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(t.openBlock(),t.createElementBlock("div",mo,[t.createElementVNode("div",po,[t.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,fo)]),t.createElementVNode("div",uo,[t.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,ho)])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"checkbox__label",style:t.normalizeStyle(r.value)},t.toDisplayString(e.label),5)],2))}},pt=oo(yo,[["__scopeId","data-v-b6f124d8"]]),A=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},go={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"},_o=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},ft={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))}}},As=()=>{t.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}))},Is=ft.setup;ft.setup=Is?(e,a)=>(As(),Is(e,a)):As;const bo=e=>(t.pushScopeId("data-v-f3ee6b2b"),e=e(),t.popScopeId(),e),To=["src"],So={key:1,class:"text"},wo=["src"],Co={class:"stats"},ko=bo(()=>t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),Eo={class:"numstats"},No={class:"leyend"};function Vo(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&s.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&s.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.icon&&s.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,To)):t.createCommentVNode("",!0),s.textValue?(t.openBlock(),t.createElementBlock("div",So,t.toDisplayString(s.textValue),1)):t.createCommentVNode("",!0),s.icon&&s.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,wo)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",Co,[ko,t.createElementVNode("div",Eo,t.toDisplayString(s.textStat),1)]),t.createElementVNode("div",No,t.toDisplayString(s.textCategory),1)])):t.createCommentVNode("",!0)])}const Po=_o(ft,[["render",Vo],["__scopeId","data-v-f3ee6b2b"]]),xo={class:"gsc-dropdown__main-container__item-selected"},Fo=["height","width"],Bo=["stroke"],Ro={key:1,width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zo=["fill"],Ao={class:"gsc-dropdown__items-container"},Io=["onClick"],Go={key:0,class:"gsc-dropdown__items-footer"},ut={__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 s=e,i=t.ref({}),o=t.ref(null),n=t.ref(s.isMultipleOption?-1:0),r=t.ref(!1);t.watch(()=>s.items,(g,y)=>{if(!s.modelValue&&(!s.onlyFirstTime||!y||!y.length)&&g&&g.length){if(s.defaultItemByProp){const _=s.items.findIndex(b=>b[s.defaultItemByProp.propName]===s.defaultItemByProp.value);_!==-1?(n.value=_,i.value=g[_]):(n.value=0,i.value=g[0])}else i.value=g[s.defaultItemByIndex];a("input",i.value)}},{immediate:!0}),t.watch(()=>s.modelValue,g=>{if(g){const y=s.items.findIndex(_=>typeof g=="object"?JSON.stringify(_)===JSON.stringify(g):_===g);y!==-1&&(n.value=y,i.value=s.items[y],a("update:modelValue",i.value))}},{immediate:!0});const c=t.computed(()=>({height:s.height,width:s.width,backgroundColor:s.backgroundColor,borderRadius:`${s.borderRadius}px`,border:`${s.borderType} ${s.borderWidth}px ${s.borderColor}`,color:s.color,"--hover-background-color":s.hoverBackgroundColor,"--list-container-padding":s.listContainerPadding,"--list-item-padding":s.listItemPadding,"--list-item-margin":s.listItemMargin,"--list-background-color":s.listBackgroundColor,"--list-height":s.listHeight,"--list-item-border-radius":s.listItemBorderRadius,"--list-item-selected-color":s.listItemSelectedColor,"--list-item-selected-background-color":s.listItemSelectedBackgroundColor,"--list-item-color":s.listItemColor,"--list-border-radius":`${s.listBorderRadius}`,"--list-border-color":s.listBorderColor,"--list-width":s.isListSameWidth?s.width:"fit-content","--list-border-width":`${s.listBorderWidth}px`,"--list-margin-top":s.listMarginTop,"--list-left":s.listAlignment==="left"?"0":"auto","--list-right":s.listAlignment==="right"?"0":"auto","--footer-border":`${s.footerBorderWidth}px solid ${s.footerBorderColor}`,"--dropdown-opacity":s.isDisabled?"0.5":"1","--dropdown-cursor":s.isDisabled?"not-allowed":"pointer","--dropdown-font-size":s.fontSize?s.fontSize:"14px"})),p=t.computed(()=>({height:`${s.arrowHeight}px`,width:`${s.arrowWidth}px`}));function d(){s.isDisabled||(r.value=!r.value)}function l(g){o.value&&!o.value.contains(g.target)&&(r.value=!1)}function m(g,y){s.isMultipleOption?n.value=-1:(n.value=y,r.value=!1),i.value=g,a("input",i.value),a("update:modelValue",i.value)}function f(){r.value=!1,a("click-ready")}return t.onMounted(()=>{document.addEventListener("click",l)}),t.onBeforeMount(()=>{document.removeEventListener("click",l)}),(g,y)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"dropDown",ref:o,class:"gsc-dropdown",style:t.normalizeStyle(c.value)},[t.createElementVNode("div",{class:"gsc-dropdown__main-container",style:t.normalizeStyle({"padding-right":`${e.arrowWidth+8}px`}),onClick:d},[t.createElementVNode("div",xo,[t.renderSlot(g.$slots,"default",{selectedItem:i.value})]),t.createElementVNode("div",{class:t.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:t.normalizeStyle(p.value)},[e.iconType===1?(t.openBlock(),t.createElementBlock("svg",{key:0,height:e.arrowHeight,width:e.arrowWidth,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.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,Bo)],8,Fo)):(t.openBlock(),t.createElementBlock("svg",Ro,[t.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,zo)]))],6)],4),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",Ao,[t.createElementVNode("div",null,[t.createElementVNode("div",{class:"gsc-dropdown__items",style:t.normalizeStyle({"margin-top":`${s.borderWidth}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,b)=>(t.openBlock(),t.createElementBlock("div",null,[t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["gsc-dropdown__items__item",{selected:b===n.value}]),key:b,onClick:S=>m(_,b)},[t.renderSlot(g.$slots,"availableItem",{item:_})],10,Io)),[[t.vShow,!_.isHidden]])]))),256))],4),e.isFooterVisible?(t.openBlock(),t.createElementBlock("div",Go,[t.createVNode(t.unref(Po),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:f})])):t.createCommentVNode("",!0)])],512),[[t.vShow,r.value]])]),_:3})],4))}},ht={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},Oo=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},yt={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))}}},Gs=()=>{t.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}))},Os=yt.setup;yt.setup=Os?(e,a)=>(Gs(),Os(e,a)):Gs;const Lo=e=>(t.pushScopeId("data-v-f3ee6b2b"),e=e(),t.popScopeId(),e),Wo=["src"],Do={key:1,class:"text"},Mo=["src"],$o={class:"stats"},Uo=Lo(()=>t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),jo={class:"numstats"},vo={class:"leyend"};function Jo(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&s.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&s.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.icon&&s.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,Wo)):t.createCommentVNode("",!0),s.textValue?(t.openBlock(),t.createElementBlock("div",Do,t.toDisplayString(s.textValue),1)):t.createCommentVNode("",!0),s.icon&&s.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,Mo)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",$o,[Uo,t.createElementVNode("div",jo,t.toDisplayString(s.textStat),1)]),t.createElementVNode("div",vo,t.toDisplayString(s.textCategory),1)])):t.createCommentVNode("",!0)])}const qo=Oo(yt,[["render",Jo],["__scopeId","data-v-f3ee6b2b"]]),Ho=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},Ko={key:1},Zo={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Yo=["fill"],Xo={key:0,class:"checkbox__teams"},Qo={class:"checkbox__teams__logo"},er=["src"],tr={class:"checkbox__teams__logo"},sr=["src"],ar={__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 s=e;t.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=t.ref(!1),o=t.computed(()=>{const d={color:s.boxValueColor,"font-family":s.fontFamily,height:s.boxWidthAndHeight,width:s.boxWidthAndHeight,minWidth:s.boxWidthAndHeight,"border-radius":s.boxBorderRadius,"margin-top":s.boxMarginTop};return i.value?(d["background-color"]=s.boxBackgroundColor,d.border=`solid ${s.boxBorderWidth} ${s.boxBackgroundColor}`):d.border=`solid ${s.boxBorderWidth} ${s.boxBorderColor}`,d}),n=t.computed(()=>({"font-family":s.boxValueFontFamily,"font-size":s.boxValueFontSize,color:s.boxValueColor,"line-height":1})),r=t.computed(()=>{const d={color:s.labelColor,"font-family":s.fontFamily,"font-size":s.labelFontSize,"white-space":s.labelWhiteSpace,"text-align":s.boxPosition==="top"||s.boxPosition==="bottom"?"center":s.boxPosition};return(s.boxPosition==="left"||s.boxPosition==="right")&&(d[`margin-${s.boxPosition}`]=s.isBoxOnly?"0":s.teamsIds?"8px":"10px"),d});t.watch(()=>s.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){s.avoidInteraction||!i.value&&s.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)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[t.createElementVNode("div",{class:"checkbox__box",style:t.normalizeStyle(o.value)},[i.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[s.boxValue?(t.openBlock(),t.createElementBlock("div",{key:0,class:"checkbox__box__value",style:t.normalizeStyle(n.value)},t.toDisplayString(e.boxValue),5)):(t.openBlock(),t.createElementBlock("div",Ko,[(t.openBlock(),t.createElementBlock("svg",Zo,[t.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,Yo)]))]))],64)):t.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(t.openBlock(),t.createElementBlock("div",Xo,[t.createElementVNode("div",Qo,[t.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,er)]),t.createElementVNode("div",tr,[t.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,sr)])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"checkbox__label",style:t.normalizeStyle(r.value)},t.toDisplayString(e.label),5)],2))}},ir=Ho(ar,[["__scopeId","data-v-b6f124d8"]]),nr=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},gt={components:{GSCButton:qo,GSCCheckbox:ir},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((s,i)=>{s.active=e.includes(i+1),this.validateField(i)}),this.$emit("update:modelValue",e))}},sectors:{handler(e){var a=[];for(let s=0;s<e.length;s++)e[s].active&&a.push(s+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 s=0;s<this.sectors.length;s++)this.sectors[s].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 s=0;s<this.sectors.length;s++)this.sectors[s].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 s=0;s<this.sectors.length;s++)this.sectors[s].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 s=0;s<this.sectors.length;s++)this.sectors[s].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 s=0;s<this.sectors.length;s++)this.sectors[s].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)}}},Ls=()=>{t.useCssVars(e=>({"4fe806fe":e.widthContainer,"91de7c52":e.heightContainer,"266afcdc":e.backgroundColor,"2b853536":e.titleFontSize,"986b6446":e.widthFieldGrid,"1af308b6":e.heightFieldGrid}))},Ws=gt.setup;gt.setup=Ws?(e,a)=>(Ls(),Ws(e,a)):Ls;const or={class:"gsc-field"},rr={class:"gsc-field__title-checked"},lr={class:"gsc-field__title-checked__title"},cr={class:"gsc-field__container-field"},dr={class:"gsc-field__container-field__field"},mr={width:"100%",height:"100%",fill:"#2e3b46",xmlns:"http://www.w3.org/2000/svg"},pr=["stroke"],fr=["stroke","stroke-width"],ur=["stroke","stroke-width"],hr=["stroke-width","stroke"],yr=["fill","fill-opacity","stroke","stroke-width"],gr=["fill","fill-opacity","stroke","stroke-width"],_r=["fill","fill-opacity","stroke","stroke-width"],br=["fill","fill-opacity","stroke","stroke-width"],Tr=["fill","fill-opacity","stroke","stroke-width"],Sr=["fill","fill-opacity","stroke","stroke-width"],wr=["fill","fill-opacity","stroke","stroke-width"],Cr=["fill","fill-opacity","stroke","stroke-width"],kr=["fill","fill-opacity","stroke","stroke-width"],Er=["fill","fill-opacity","stroke","stroke-width"],Nr=["fill","fill-opacity","stroke","stroke-width"],Vr=["fill","fill-opacity","stroke","stroke-width"],Pr=["fill","fill-opacity","stroke","stroke-width"],xr=["fill","fill-opacity","stroke","stroke-width"],Fr=["fill","fill-opacity","stroke","stroke-width"],Br=["fill","fill-opacity","stroke","stroke-width"],Rr={class:"gsc-field__container-field__bar-buttons"};function zr(e,a,s,i,o,n){const r=t.resolveComponent("GSCCheckbox"),c=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",or,[t.createElementVNode("div",rr,[t.createElementVNode("div",lr,t.toDisplayString(s.title),1),t.createElementVNode("div",{class:"gsc-field__title-checked__check-cont",style:t.normalizeStyle(s.widthField>=350?"min-width: 123px":"")},[(t.openBlock(),t.createBlock(r,{label:s.widthField<350?"Todas":"Todas las zonas","font-family":"Poppins-Regular","box-value-font-family":"Poppins-Regular","box-position":"right","label-font-size":s.titleFontSize,"label-white-space":"nowrap","box-margin-top":"0.4em",value:o.all,key:o.update,"model-value":o.all,"onUpdate:modelValue":n.clickAll},null,8,["label","label-font-size","value","model-value","onUpdate:modelValue"]))],4)]),t.createElementVNode("div",cr,[t.createElementVNode("div",dr,[(t.openBlock(),t.createElementBlock("svg",mr,[t.createElementVNode("rect",{x:"1.5",y:"0.5",width:"100%",height:"100%",rx:"1.5",stroke:s.colorLineField},null,8,pr),t.createElementVNode("path",{style:t.normalizeStyle("transform: translate("+n.translx+"px, "+n.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:s.colorLineField,"stroke-width":s.borderWidthLineField,"stroke-linecap":"square"},null,12,fr),t.createElementVNode("path",{style:t.normalizeStyle("transform: translateY("+n.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:s.colorLineField,"stroke-width":s.borderWidthLineField,"stroke-linecap":"square"},null,12,ur),t.createElementVNode("path",{style:t.normalizeStyle("transform: translate("+n.translxcircle+"px, "+n.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":s.borderWidthLineField,stroke:s.colorLineField},null,12,hr),t.createElementVNode("rect",{x:"0%",y:"0%",width:"25%",height:"25%",fill:o.sectors[0].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[0]||(a[0]=p=>n.selectSector(0))},null,8,yr),t.createElementVNode("rect",{x:"0%",y:"25%",width:"25%",height:"25%",fill:o.sectors[1].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[1]||(a[1]=p=>n.selectSector(1))},null,8,gr),t.createElementVNode("rect",{x:"0%",y:"50%",width:"25%",height:"25%",fill:o.sectors[2].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[2]||(a[2]=p=>n.selectSector(2))},null,8,_r),t.createElementVNode("rect",{x:"0%",y:"75%",width:"25%",height:"25%",fill:o.sectors[3].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[3]||(a[3]=p=>n.selectSector(3))},null,8,br),t.createElementVNode("rect",{x:"25%",y:"0%",width:"25%",height:"25%",fill:o.sectors[4].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[4]||(a[4]=p=>n.selectSector(4))},null,8,Tr),t.createElementVNode("rect",{x:"25%",y:"25%",width:"25%",height:"25%",fill:o.sectors[5].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[5]||(a[5]=p=>n.selectSector(5))},null,8,Sr),t.createElementVNode("rect",{x:"25%",y:"50%",width:"25%",height:"25%",fill:o.sectors[6].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[6]||(a[6]=p=>n.selectSector(6))},null,8,wr),t.createElementVNode("rect",{x:"25%",y:"75%",width:"25%",height:"25%",fill:o.sectors[7].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[7]||(a[7]=p=>n.selectSector(7))},null,8,Cr),t.createElementVNode("rect",{x:"50%",y:"0%",width:"25%",height:"25%",fill:o.sectors[8].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[8]||(a[8]=p=>n.selectSector(8))},null,8,kr),t.createElementVNode("rect",{x:"50%",y:"25%",width:"25%",height:"25%",fill:o.sectors[9].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[9]||(a[9]=p=>n.selectSector(9))},null,8,Er),t.createElementVNode("rect",{x:"50%",y:"50%",width:"25%",height:"25%",fill:o.sectors[10].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[10]||(a[10]=p=>n.selectSector(10))},null,8,Nr),t.createElementVNode("rect",{x:"50%",y:"75%",width:"25%",height:"25%",fill:o.sectors[11].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[11]||(a[11]=p=>n.selectSector(11))},null,8,Vr),t.createElementVNode("rect",{x:"75%",y:"0%",width:"25%",height:"25%",fill:o.sectors[12].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[12]||(a[12]=p=>n.selectSector(12))},null,8,Pr),t.createElementVNode("rect",{x:"75%",y:"25%",width:"25%",height:"25%",fill:o.sectors[13].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[13]||(a[13]=p=>n.selectSector(13))},null,8,xr),t.createElementVNode("rect",{x:"75%",y:"50%",width:"25%",height:"25%",fill:o.sectors[14].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[14]||(a[14]=p=>n.selectSector(14))},null,8,Fr),t.createElementVNode("rect",{x:"75%",y:"75%",width:"25%",height:"25%",fill:o.sectors[15].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[15]||(a[15]=p=>n.selectSector(15))},null,8,Br)]))]),t.createElementVNode("div",Rr,[(t.openBlock(),t.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:n.btn14,key:o.refreshBtn14,value:e.status14},null,8,["onStatus","value"])),(t.openBlock(),t.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:n.btn24,key:o.refreshBtn24,value:e.status24},null,8,["onStatus","value"])),(t.openBlock(),t.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:n.btn34,key:o.refreshBtn34,value:e.status34},null,8,["onStatus","value"])),(t.openBlock(),t.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:n.btn44,key:o.refreshBtn44,value:e.status44},null,8,["onStatus","value"]))])])])}const Ar=nr(gt,[["render",zr],["__scopeId","data-v-b85699b8"]]);function Ds(e,a){return function(){return e.apply(a,arguments)}}const{toString:Ir}=Object.prototype,{getPrototypeOf:_t}=Object,{iterator:Pe,toStringTag:Ms}=Symbol,xe=(e=>a=>{const s=Ir.call(a);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),W=e=>(e=e.toLowerCase(),a=>xe(a)===e),Fe=e=>a=>typeof a===e,{isArray:se}=Array,pe=Fe("undefined");function Gr(e){return e!==null&&!pe(e)&&e.constructor!==null&&!pe(e.constructor)&&I(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $s=W("ArrayBuffer");function Or(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&$s(e.buffer),a}const Lr=Fe("string"),I=Fe("function"),Us=Fe("number"),Be=e=>e!==null&&typeof e=="object",Wr=e=>e===!0||e===!1,Re=e=>{if(xe(e)!=="object")return!1;const a=_t(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Ms in e)&&!(Pe in e)},Dr=W("Date"),Mr=W("File"),$r=W("Blob"),Ur=W("FileList"),jr=e=>Be(e)&&I(e.pipe),vr=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||I(e.append)&&((a=xe(e))==="formdata"||a==="object"&&I(e.toString)&&e.toString()==="[object FormData]"))},Jr=W("URLSearchParams"),[qr,Hr,Kr,Zr]=["ReadableStream","Request","Response","Headers"].map(W),Yr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function fe(e,a,{allOwnKeys:s=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),se(e))for(i=0,o=e.length;i<o;i++)a.call(null,e[i],i,e);else{const n=s?Object.getOwnPropertyNames(e):Object.keys(e),r=n.length;let c;for(i=0;i<r;i++)c=n[i],a.call(null,e[c],c,e)}}function js(e,a){a=a.toLowerCase();const s=Object.keys(e);let i=s.length,o;for(;i-- >0;)if(o=s[i],a===o.toLowerCase())return o;return null}const Y=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,vs=e=>!pe(e)&&e!==Y;function bt(){const{caseless:e}=vs(this)&&this||{},a={},s=(i,o)=>{const n=e&&js(a,o)||o;Re(a[n])&&Re(i)?a[n]=bt(a[n],i):Re(i)?a[n]=bt({},i):se(i)?a[n]=i.slice():a[n]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&fe(arguments[i],s);return a}const Xr=(e,a,s,{allOwnKeys:i}={})=>(fe(a,(o,n)=>{s&&I(o)?e[n]=Ds(o,s):e[n]=o},{allOwnKeys:i}),e),Qr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),el=(e,a,s,i)=>{e.prototype=Object.create(a.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),s&&Object.assign(e.prototype,s)},tl=(e,a,s,i)=>{let o,n,r;const c={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),n=o.length;n-- >0;)r=o[n],(!i||i(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=s!==!1&&_t(e)}while(e&&(!s||s(e,a))&&e!==Object.prototype);return a},sl=(e,a,s)=>{e=String(e),(s===void 0||s>e.length)&&(s=e.length),s-=a.length;const i=e.indexOf(a,s);return i!==-1&&i===s},al=e=>{if(!e)return null;if(se(e))return e;let a=e.length;if(!Us(a))return null;const s=new Array(a);for(;a-- >0;)s[a]=e[a];return s},il=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&_t(Uint8Array)),nl=(e,a)=>{const s=(e&&e[Pe]).call(e);let i;for(;(i=s.next())&&!i.done;){const o=i.value;a.call(e,o[0],o[1])}},ol=(e,a)=>{let s;const i=[];for(;(s=e.exec(a))!==null;)i.push(s);return i},rl=W("HTMLFormElement"),ll=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,s,i){return s.toUpperCase()+i}),Js=(({hasOwnProperty:e})=>(a,s)=>e.call(a,s))(Object.prototype),cl=W("RegExp"),qs=(e,a)=>{const s=Object.getOwnPropertyDescriptors(e),i={};fe(s,(o,n)=>{let r;(r=a(o,n,e))!==!1&&(i[n]=r||o)}),Object.defineProperties(e,i)},dl=e=>{qs(e,(a,s)=>{if(I(e)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const i=e[s];if(I(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},ml=(e,a)=>{const s={},i=o=>{o.forEach(n=>{s[n]=!0})};return se(e)?i(e):i(String(e).split(a)),s},pl=()=>{},fl=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function ul(e){return!!(e&&I(e.append)&&e[Ms]==="FormData"&&e[Pe])}const hl=e=>{const a=new Array(10),s=(i,o)=>{if(Be(i)){if(a.indexOf(i)>=0)return;if(!("toJSON"in i)){a[o]=i;const n=se(i)?[]:{};return fe(i,(r,c)=>{const p=s(r,o+1);!pe(p)&&(n[c]=p)}),a[o]=void 0,n}}return i};return s(e,0)},yl=W("AsyncFunction"),gl=e=>e&&(Be(e)||I(e))&&I(e.then)&&I(e.catch),Hs=((e,a)=>e?setImmediate:a?((s,i)=>(Y.addEventListener("message",({source:o,data:n})=>{o===Y&&n===s&&i.length&&i.shift()()},!1),o=>{i.push(o),Y.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",I(Y.postMessage)),_l=typeof queueMicrotask<"u"?queueMicrotask.bind(Y):typeof process<"u"&&process.nextTick||Hs,bl=e=>e!=null&&I(e[Pe]),h={isArray:se,isArrayBuffer:$s,isBuffer:Gr,isFormData:vr,isArrayBufferView:Or,isString:Lr,isNumber:Us,isBoolean:Wr,isObject:Be,isPlainObject:Re,isReadableStream:qr,isRequest:Hr,isResponse:Kr,isHeaders:Zr,isUndefined:pe,isDate:Dr,isFile:Mr,isBlob:$r,isRegExp:cl,isFunction:I,isStream:jr,isURLSearchParams:Jr,isTypedArray:il,isFileList:Ur,forEach:fe,merge:bt,extend:Xr,trim:Yr,stripBOM:Qr,inherits:el,toFlatObject:tl,kindOf:xe,kindOfTest:W,endsWith:sl,toArray:al,forEachEntry:nl,matchAll:ol,isHTMLForm:rl,hasOwnProperty:Js,hasOwnProp:Js,reduceDescriptors:qs,freezeMethods:dl,toObjectSet:ml,toCamelCase:ll,noop:pl,toFiniteNumber:fl,findKey:js,global:Y,isContextDefined:vs,isSpecCompliantForm:ul,toJSONObject:hl,isAsyncFn:yl,isThenable:gl,setImmediate:Hs,asap:_l,isIterable:bl};function C(e,a,s,i,o){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),s&&(this.config=s),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}h.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:h.toJSONObject(this.config),code:this.code,status:this.status}}});const Ks=C.prototype,Zs={};["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=>{Zs[e]={value:e}}),Object.defineProperties(C,Zs),Object.defineProperty(Ks,"isAxiosError",{value:!0}),C.from=(e,a,s,i,o,n)=>{const r=Object.create(Ks);return h.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),C.call(r,e.message,a,s,i,o),r.cause=e,r.name=e.name,n&&Object.assign(r,n),r};const Tl=null;function Tt(e){return h.isPlainObject(e)||h.isArray(e)}function Ys(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function Xs(e,a,s){return e?e.concat(a).map(function(i,o){return i=Ys(i),!s&&o?"["+i+"]":i}).join(s?".":""):a}function Sl(e){return h.isArray(e)&&!e.some(Tt)}const wl=h.toFlatObject(h,{},null,function(e){return/^is[A-Z]/.test(e)});function ze(e,a,s){if(!h.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,s=h.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!h.isUndefined(y[g])});const i=s.metaTokens,o=s.visitor||d,n=s.dots,r=s.indexes,c=(s.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(a);if(!h.isFunction(o))throw new TypeError("visitor must be a function");function p(g){if(g===null)return"";if(h.isDate(g))return g.toISOString();if(!c&&h.isBlob(g))throw new C("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(g)||h.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,_){let b=g;if(g&&!_&&typeof g=="object"){if(h.endsWith(y,"{}"))y=i?y:y.slice(0,-2),g=JSON.stringify(g);else if(h.isArray(g)&&Sl(g)||(h.isFileList(g)||h.endsWith(y,"[]"))&&(b=h.toArray(g)))return y=Ys(y),b.forEach(function(S,T){!(h.isUndefined(S)||S===null)&&a.append(r===!0?Xs([y],T,n):r===null?y:y+"[]",p(S))}),!1}return Tt(g)?!0:(a.append(Xs(_,y,n),p(g)),!1)}const l=[],m=Object.assign(wl,{defaultVisitor:d,convertValue:p,isVisitable:Tt});function f(g,y){if(!h.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),h.forEach(g,function(_,b){(!(h.isUndefined(_)||_===null)&&o.call(a,_,h.isString(b)?b.trim():b,y,m))===!0&&f(_,y?y.concat(b):[b])}),l.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return f(e),a}function Qs(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return a[s]})}function St(e,a){this._pairs=[],e&&ze(e,this,a)}const ea=St.prototype;ea.append=function(e,a){this._pairs.push([e,a])},ea.toString=function(e){const a=e?function(s){return e.call(this,s,Qs)}:Qs;return this._pairs.map(function(s){return a(s[0])+"="+a(s[1])},"").join("&")};function Cl(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ta(e,a,s){if(!a)return e;const i=s&&s.encode||Cl;h.isFunction(s)&&(s={serialize:s});const o=s&&s.serialize;let n;if(o?n=o(a,s):n=h.isURLSearchParams(a)?a.toString():new St(a,s).toString(i),n){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+n}return e}class kl{constructor(){this.handlers=[]}use(a,s,i){return this.handlers.push({fulfilled:a,rejected:s,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(s){s!==null&&a(s)})}}const sa=kl,aa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},El=typeof URLSearchParams<"u"?URLSearchParams:St,Nl=typeof FormData<"u"?FormData:null,Vl=typeof Blob<"u"?Blob:null,Pl={isBrowser:!0,classes:{URLSearchParams:El,FormData:Nl,Blob:Vl},protocols:["http","https","file","blob","url","data"]},wt=typeof window<"u"&&typeof document<"u",Ct=typeof navigator=="object"&&navigator||void 0,xl=wt&&(!Ct||["ReactNative","NativeScript","NS"].indexOf(Ct.product)<0),Fl=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Bl=wt&&window.location.href||"http://localhost",Rl=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wt,hasStandardBrowserEnv:xl,hasStandardBrowserWebWorkerEnv:Fl,navigator:Ct,origin:Bl},Symbol.toStringTag,{value:"Module"})),B={...Rl,...Pl};function zl(e,a){return ze(e,new B.classes.URLSearchParams,Object.assign({visitor:function(s,i,o,n){return B.isNode&&h.isBuffer(s)?(this.append(i,s.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},a))}function Al(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Il(e){const a={},s=Object.keys(e);let i;const o=s.length;let n;for(i=0;i<o;i++)n=s[i],a[n]=e[n];return a}function ia(e){function a(s,i,o,n){let r=s[n++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),p=n>=s.length;return r=!r&&h.isArray(o)?o.length:r,p?(h.hasOwnProp(o,r)?o[r]=[o[r],i]:o[r]=i,!c):((!o[r]||!h.isObject(o[r]))&&(o[r]=[]),a(s,i,o[r],n)&&h.isArray(o[r])&&(o[r]=Il(o[r])),!c)}if(h.isFormData(e)&&h.isFunction(e.entries)){const s={};return h.forEachEntry(e,(i,o)=>{a(Al(i),o,s,0)}),s}return null}function Gl(e,a,s){if(h.isString(e))try{return(a||JSON.parse)(e),h.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(s||JSON.stringify)(e)}const kt={transitional:aa,adapter:["xhr","http","fetch"],transformRequest:[function(e,a){const s=a.getContentType()||"",i=s.indexOf("application/json")>-1,o=h.isObject(e);if(o&&h.isHTMLForm(e)&&(e=new FormData(e)),h.isFormData(e))return i?JSON.stringify(ia(e)):e;if(h.isArrayBuffer(e)||h.isBuffer(e)||h.isStream(e)||h.isFile(e)||h.isBlob(e)||h.isReadableStream(e))return e;if(h.isArrayBufferView(e))return e.buffer;if(h.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let n;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return zl(e,this.formSerializer).toString();if((n=h.isFileList(e))||s.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return ze(n?{"files[]":e}:e,r&&new r,this.formSerializer)}}return o||i?(a.setContentType("application/json",!1),Gl(e)):e}],transformResponse:[function(e){const a=this.transitional||kt.transitional,s=a&&a.forcedJSONParsing,i=this.responseType==="json";if(h.isResponse(e)||h.isReadableStream(e))return e;if(e&&h.isString(e)&&(s&&!this.responseType||i)){const o=!(a&&a.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(n){if(o)throw n.name==="SyntaxError"?C.from(n,C.ERR_BAD_RESPONSE,this,null,this.response):n}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:B.classes.FormData,Blob:B.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{kt.headers[e]={}});const Et=kt,Ol=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"]),Ll=e=>{const a={};let s,i,o;return e&&e.split(`
6
+ `+n):i.stack=n}catch{}}throw i}}_request(a,s){typeof a=="string"?(s=s||{},s.url=a):s=a||{},s=K(this.defaults,s);const{transitional:i,paramsSerializer:o,headers:n}=s;i!==void 0&&Ve.assertOptions(i,{silentJSONParsing:M.transitional(M.boolean),forcedJSONParsing:M.transitional(M.boolean),clarifyTimeoutError:M.transitional(M.boolean)},!1),o!=null&&(u.isFunction(o)?s.paramsSerializer={serialize:o}:Ve.assertOptions(o,{encode:M.function,serialize:M.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Ve.assertOptions(s,{baseUrl:M.spelling("baseURL"),withXsrfToken:M.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let r=n&&u.merge(n.common,n[s.method]);n&&u.forEach(["delete","get","head","post","put","patch","common"],y=>{delete n[y]}),s.headers=z.concat(r,n);const c=[];let p=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(s)===!1||(p=p&&_.synchronous,c.unshift(_.fulfilled,_.rejected))});const d=[];this.interceptors.response.forEach(function(_){d.push(_.fulfilled,_.rejected)});let l,m=0,f;if(!p){const y=[hs.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),f=y.length,l=Promise.resolve(s);m<f;)l=l.then(y[m++],y[m++]);return l}f=c.length;let g=s;for(m=0;m<f;){const y=c[m++],_=c[m++];try{g=y(g)}catch(b){_.call(this,b);break}}try{l=hs.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,f=d.length;m<f;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=K(this.defaults,a);const s=os(a.baseURL,a.url,a.allowAbsoluteUrls);return Yt(s,a.params,a.paramsSerializer)}};u.forEach(["delete","get","head","options"],function(a){Z.prototype[a]=function(s,i){return this.request(K(i||{},{method:a,url:s,data:(i||{}).data}))}}),u.forEach(["post","put","patch"],function(a){function s(i){return function(n,r,c){return this.request(K(c||{},{method:a,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Z.prototype[a]=s(),Z.prototype[a+"Form"]=s(!0)});let Ji=class Ea{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(n){s=n});const i=this;this.promise.then(o=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](o);i._listeners=null}),this.promise.then=o=>{let n;const r=new Promise(c=>{i.subscribe(c),n=c}).then(o);return r.cancel=function(){i.unsubscribe(n)},r},a(function(n,r,c){i.reason||(i.reason=new te(n,r,c),s(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 s=this._listeners.indexOf(a);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const a=new AbortController,s=i=>{a.abort(i)};return this.subscribe(s),a.signal.unsubscribe=()=>this.unsubscribe(s),a.signal}static source(){let a;return{token:new Ea(function(o){a=o}),cancel:a}}};function qi(e){return function(s){return e.apply(null,s)}}function Hi(e){return u.isObject(e)&&e.isAxiosError===!0}const it={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(it).forEach(([e,a])=>{it[a]=e});function _s(e){const a=new Z(e),s=Gt(Z.prototype.request,a);return u.extend(s,Z.prototype,a,{allOwnKeys:!0}),u.extend(s,a,null,{allOwnKeys:!0}),s.create=function(o){return _s(K(e,o))},s}const E=_s(le);E.Axios=Z,E.CanceledError=te,E.CancelToken=Ji,E.isCancel=ss,E.VERSION=ys,E.toFormData=Se,E.AxiosError=w,E.Cancel=E.CanceledError,E.all=function(a){return Promise.all(a)},E.spread=qi,E.isAxiosError=Hi,E.mergeConfig=K,E.AxiosHeaders=z,E.formToJSON=e=>es(u.isHTMLForm(e)?new FormData(e):e),E.getAdapter=us.getAdapter,E.HttpStatusCode=it,E.default=E;const{Axios:Lp,AxiosError:Wp,CanceledError:Dp,isCancel:Mp,CancelToken:$p,VERSION:Up,all:jp,Cancel:vp,isAxiosError:Jp,spread:qp,toFormData:Hp,AxiosHeaders:Kp,HttpStatusCode:Zp,formToJSON:Yp,getAdapter:Xp,mergeConfig:Qp}=E,Ki={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 de(e){const a=t.ref({width:0,height:0});function s(){const i=e.value.getBoundingClientRect();a.value.width=i.width,a.value.height=i.height}return t.onMounted(()=>{s(),window.addEventListener("resize",s)}),t.onUnmounted(()=>{window.removeEventListener("resize",s)}),{elementSize:a}}const v=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},nt={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))}}},bs=()=>{t.useCssVars(e=>({"006631b0":e.height,d22b27fa:e.borderWidthBtn,"074def07":e.borderType,"3d086d94":e.borderColor,"66cd0d1f":e.borderRadius,e592d8b6:e.width,"0aedd1f4":e.backgroundColor,c0802d9e:e.cursorType,eabd0a9e:e.fontSize,"6cda4dfe":e.fontStyle,"51880a14":e.fontFamily,"3824dfca":e.marginLeftStat,"133a34a5":e.fontSizeStat}))},Ts=nt.setup;nt.setup=Ts?(e,a)=>(bs(),Ts(e,a)):bs;const Zi=["src"],Yi={key:1,class:"text"},Xi={class:"stats"},Qi={class:"numstats"},en={class:"leyend"};function tn(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&s.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&s.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[e.icon&&s.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(s.mini?"icon-txt":"icon"),style:t.normalizeStyle({width:s.iconSize}),src:e.icon},null,14,Zi)):t.createCommentVNode("",!0),s.textValue?(t.openBlock(),t.createElementBlock("div",Yi,t.toDisplayString(s.textValue),1)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",Xi,[t.createElementVNode("div",Qi,t.toDisplayString(s.textStat),1)]),t.createElementVNode("div",en,t.toDisplayString(s.textCategory),1)])):t.createCommentVNode("",!0)])}const sn=v(nt,[["render",tn],["__scopeId","data-v-a6e73249"]]),an={tablePositionGamesReports:"_tablePositionGamesReports_u361u_46",tablePositionWrapperGamesReports:"_tablePositionWrapperGamesReports_u361u_62",imgHenrryIconReports:"_imgHenrryIconReports_u361u_71",americaIconReports:"_americaIconReports_u361u_79",playerPhotoGamesReports:"_playerPhotoGamesReports_u361u_91",toniKroosGamesReports:"_toniKroosGamesReports_u361u_100",shapeIconReports:"_shapeIconReports_u361u_111",menuiconsTeamsReports:"_menuiconsTeamsReports_u361u_117",component31Reports:"_component31Reports_u361u_126",playerNameGamesReports:"_playerNameGamesReports_u361u_137",icnPlayIconReports:"_icnPlayIconReports_u361u_145",golesReports:"_golesReports_u361u_153",americaIcon1Reports:"_americaIcon1Reports_u361u_160",teamsAmericaReports:"_teamsAmericaReports_u361u_174",containerDataReports:"_containerDataReports_u361u_180",shapeIcon1Reports:"_shapeIcon1Reports_u361u_188",icnExpand1Reports:"_icnExpand1Reports_u361u_194",icnExpandReports:"_icnExpandReports_u361u_205",playerDataGamesReports:"_playerDataGamesReports_u361u_214",playerInfoGamesReports:"_playerInfoGamesReports_u361u_225",headerTopGameReports:"_headerTopGameReports_u361u_240",playerRowReports:"_playerRowReports_u361u_254",groupsLeagueReports:"_groupsLeagueReports_u361u_265",textReports:"_textReports_u361u_274",btnViewFullListReports:"_btnViewFullListReports_u361u_282",headerTopsGamesReports:"_headerTopsGamesReports_u361u_299",btnVideosOptionsReports:"_btnVideosOptionsReports_u361u_373","container-player-info":"_container-player-info_u361u_1","gsc-button":"_gsc-button_u361u_619",teamIconOverlay:"_teamIconOverlay_u361u_672",positionReports:"_positionReports_u361u_718",positionWrapperReports:"_positionWrapperReports_u361u_730",imgNecaxaIconReports:"_imgNecaxaIconReports_u361u_738",teamLogoReports:"_teamLogoReports_u361u_744",teamPhotoReports:"_teamPhotoReports_u361u_752",nameReports:"_nameReports_u361u_760",icnPlayIconType1Reports:"_icnPlayIconType1Reports_u361u_768",verVideosType1Reports:"_verVideosType1Reports_u361u_775",btnVideosOptionsType1Reports:"_btnVideosOptionsType1Reports_u361u_781",btnVideosOptions1GamesReports:"_btnVideosOptions1GamesReports_u361u_793",leftContainerReports:"_leftContainerReports_u361u_805",shapeIconType1Reports:"_shapeIconType1Reports_u361u_814",icnExpandType1Reports:"_icnExpandType1Reports_u361u_819",arrowExpandReports:"_arrowExpandReports_u361u_829",containerInfoGamesReports:"_containerInfoGamesReports_u361u_837",headerTopTeamReports:"_headerTopTeamReports_u361u_849",containerHeaderReports:"_containerHeaderReports_u361u_863",goles1Reports:"_goles1Reports_u361u_872",golesType1Reports:"_golesType1Reports_u361u_875",golesWrapperReports:"_golesWrapperReports_u361u_880",btnViewAllReports:"_btnViewAllReports_u361u_889",headerTopsTeamsReports:"_headerTopsTeamsReports_u361u_906",arrowExpandIconReports:"_arrowExpandIconReports_u361u_1066",rotateReports:"_rotateReports_u361u_1075"},ot={components:{GSCButton:sn},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"}},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)}}},Ss=()=>{t.useCssVars(e=>({"6e96814c":e.fontSizeTopNum,"2660fb06":e.fontFamilyTopNum,"9d718ba8":e.fontColorTopNum,57126202:e.opacityColorTopNum,"3e821186":e.fontColorName,"75723a17":e.fontFamilyName,b769eb98:e.fontSizeName,"08fffb49":e.backgroundColorHeader,"347ed68a":e.fontFamilyCategory,a7ef5fb2:e.fontSizeCategory,"8c31430e":e.fontColorCategory,"2c378008":e.borderColorCategory}))},ws=ot.setup;ot.setup=ws?(e,a)=>(Ss(),ws(e,a)):Ss;const nn=["src"],on=["src"],rn=["src"],ln=["src"],cn=["fill"],dn=["fill"],mn=["src"],pn=["fill"],fn=["fill"];function un(e,a,s,i,o,n){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.headerTopsGamesReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerRowReports),id:"player-row"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopGameReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerPhotoGamesReports),id:"container-player-photp"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.tablePositionWrapperGamesReports)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.tablePositionGamesReports)},t.toDisplayString(s.data.top),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamIconOverlay),style:t.normalizeStyle({backgroundImage:`url(${s.data.logo})`})},null,6)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHenrryIconReports),alt:"",src:s.data.photo},null,10,nn),t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIconReports),alt:"",src:s.data.logo},null,10,on)],2),t.createElementVNode("main",{class:t.normalizeClass(e.$style.playerInfoGamesReports),id:"container-player-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerNameGamesReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.toniKroosGamesReports)},t.toDisplayString(s.data.name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerDataGamesReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerDataReports)},[s.canPlayVideos||s.game.awayTeam.team_id==s.teamWidget&&s.typeData!=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(r,{"icon-size":s.iconSize,"icon-position":s.iconPosition,width:s.buttonWidth,"button-max-width":s.buttonMaxWidth,height:s.buttonHeight,"border-radius":s.buttonRadius,"border-width":s.buttonBorderWidth,"background-color":s.buttonBackground,"font-family":s.buttonfontFamily,"border-color":s.buttonBorderColor,"text-value":s.data.total+" "+s.categoryName.toLowerCase(),"font-size":s.buttonFontSize,onClick:a[0]||(a[0]=c=>n.clickEventMedia(s.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"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmericaReports)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1Reports),alt:"",src:s.data.logo},null,10,rn)],2)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(r,{icon:"","icon-size":s.iconSize,"icon-position":s.iconPosition,width:s.buttonWidth,"button-max-width":s.buttonMaxWidth,height:s.buttonHeight,"border-radius":s.buttonRadius,"border-width":s.buttonBorderWidth,"background-color":s.buttonBackground,"font-family":s.buttonfontFamily,"border-color":s.buttonBorderColor,"text-value":s.data.total+" "+s.categoryName.toLowerCase(),"font-size":s.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"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamsAmericaReports)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.americaIcon1Reports),alt:"",src:s.data.logo},null,10,ln)],2)],64))],2),s.arrow?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.icnExpandReports),onClick:a[1]||(a[1]=c=>n.clickExpand(s.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIconReports,s.isExpanded?e.$style.rotateReports:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.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:s.colorArrow},null,8,dn)],10,cn))],2)):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.headerTopsTeamsReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerHeaderReports),id:"header-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerTopTeamReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPhotoReports),id:"container-team"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.positionWrapperReports)},[t.createElementVNode("b",{class:t.normalizeClass(e.$style.positionReports)},t.toDisplayString(s.data.top),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamLogoReports)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgNecaxaIconReports),alt:"",src:s.data.logo},null,10,mn)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerInfoGamesReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leftContainerReports)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.nameReports)},t.toDisplayString(s.data.name_team),3),t.createVNode(r,{"icon-size":s.iconSize,"icon-position":s.iconPosition,width:s.buttonWidth,"button-max-width":s.buttonMaxWidth,height:s.buttonHeight,"border-radius":s.buttonRadius,"border-width":s.buttonBorderWidth,"background-color":s.buttonBackground,"font-family":s.buttonfontFamily,"border-color":s.buttonBorderColor,"text-value":s.data.total+" "+s.categoryName.toLowerCase(),"font-size":s.buttonFontSize,onClick:a[2]||(a[2]=c=>n.clickEventMedia(s.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"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideosOptions1GamesReports)},[t.createVNode(r,{"icon-size":s.iconSize,"icon-position":s.iconPosition,width:s.buttonWidth,"button-max-width":s.buttonMaxWidth,height:s.buttonHeight,"border-radius":s.buttonRadius,"border-width":s.buttonBorderWidth,"background-color":s.buttonBackground,"font-family":s.buttonfontFamily,"border-color":s.buttonBorderColor,"text-value":s.data.total+" "+s.categoryName.toLowerCase(),"font-size":s.buttonFontSize,onClick:a[3]||(a[3]=c=>n.clickEventMedia(s.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"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideosType1Reports)},t.toDisplayString(s.data.total),3)],2)],2),s.arrow?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.arrowExpandReports),onClick:a[4]||(a[4]=c=>n.clickExpand(s.data.player_id))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIconReports,s.isExpanded?e.$style.rotateReports:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg"},[t.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:s.colorArrow},null,8,fn)],10,pn))],2)):t.createCommentVNode("",!0)],2)],2)],2)],2)):t.createCommentVNode("",!0)])}const hn=v(ot,[["render",un],["__cssModules",{$style:an}]]),yn={rotate:"_rotate_1t3gn_3",positionContainer:"_positionContainer_1t3gn_50",positionContainer300:"_positionContainer300_1t3gn_57",positionContainer620:"_positionContainer620_1t3gn_64",rowwPlayerGames:"_rowwPlayerGames_1t3gn_71",rowwPlayer300Games:"_rowwPlayer300Games_1t3gn_87",rowwPlayer960Games:"_rowwPlayer960Games_1t3gn_103",rowwPlayer420Games:"_rowwPlayer420Games_1t3gn_118",rowwPlayer460Games:"_rowwPlayer460Games_1t3gn_134",containerLeftGames:"_containerLeftGames_1t3gn_151",containerLeft300Games:"_containerLeft300Games_1t3gn_159",containerLeft420Games:"_containerLeft420Games_1t3gn_167",containerLeft620Games:"_containerLeft620Games_1t3gn_175",iconFavoritesType1:"_iconFavoritesType1_1t3gn_182",iconFavoritesType1300:"_iconFavoritesType1300_1t3gn_190",iconFavoritesType1320:"_iconFavoritesType1320_1t3gn_198",iconFavorites:"_iconFavorites_1t3gn_182",iconFavorites300:"_iconFavorites300_1t3gn_214",iconFavorites420:"_iconFavorites420_1t3gn_222",playerContainerGames:"_playerContainerGames_1t3gn_230",playerContainer300Games:"_playerContainer300Games_1t3gn_242",playerContainer420Games:"_playerContainer420Games_1t3gn_254",playerContainer460Games:"_playerContainer460Games_1t3gn_266",playerContainerType1Games:"_playerContainerType1Games_1t3gn_278",playerContainerType1300Games:"_playerContainerType1300Games_1t3gn_288",playerContainerType1320Games:"_playerContainerType1320Games_1t3gn_298",playerContainerType1460Games:"_playerContainerType1460Games_1t3gn_308",imgPlayerIcon:"_imgPlayerIcon_1t3gn_318",imgPlayerIcon300:"_imgPlayerIcon300_1t3gn_328",imgPlayerIcon460:"_imgPlayerIcon460_1t3gn_338",imgPlayerIcon420:"_imgPlayerIcon420_1t3gn_348",manchesterUnitedGames:"_manchesterUnitedGames_1t3gn_358",manchesterUnited300Games:"_manchesterUnited300Games_1t3gn_369",manchesterUnited360Games:"_manchesterUnited360Games_1t3gn_381",manchesterUnited420Games:"_manchesterUnited420Games_1t3gn_392",manchesterUnited460Games:"_manchesterUnited460Games_1t3gn_403",containerRightGames:"_containerRightGames_1t3gn_414",containerRight300Games:"_containerRight300Games_1t3gn_423",containerRight960Games:"_containerRight960Games_1t3gn_435",containerRight420Games:"_containerRight420Games_1t3gn_445",numberOfVideos:"_numberOfVideos_1t3gn_456",numberOfVideos300:"_numberOfVideos300_1t3gn_462",numberOfVideos620:"_numberOfVideos620_1t3gn_469",block02Games:"_block02Games_1t3gn_475",block02300Games:"_block02300Games_1t3gn_484",block02960Games:"_block02960Games_1t3gn_493",block02620Games:"_block02620Games_1t3gn_502",block02420Games:"_block02420Games_1t3gn_509",verVideos:"_verVideos_1t3gn_517",verVideos620:"_verVideos620_1t3gn_523",numberPosition:"_numberPosition_1t3gn_526",numberPosition300:"_numberPosition300_1t3gn_532",shapeIcon:"_shapeIcon_1t3gn_539",chivasIcon:"_chivasIcon_1t3gn_544",imgTeamIcon:"_imgTeamIcon_1t3gn_555",imgTeamIcon300:"_imgTeamIcon300_1t3gn_560",teamName:"_teamName_1t3gn_565",nameTeamGames:"_nameTeamGames_1t3gn_571",dfC:"_dfC_1t3gn_580",position:"_position_1t3gn_50",age:"_age_1t3gn_590",manchesterUnitedIcon:"_manchesterUnitedIcon_1t3gn_598",country:"_country_1t3gn_605",playedGames:"_playedGames_1t3gn_612",playedMinutes:"_playedMinutes_1t3gn_619",block01:"_block01_1t3gn_626",leagueName:"_leagueName_1t3gn_633",roleCharacterIcon:"_roleCharacterIcon_1t3gn_639",btnVideosGames:"_btnVideosGames_1t3gn_647",containerBtnVideosGames:"_containerBtnVideosGames_1t3gn_662",containerBtnVideos300Games:"_containerBtnVideos300Games_1t3gn_672",containerBtnVideos620Games:"_containerBtnVideos620Games_1t3gn_682",containesOptions:"_containesOptions_1t3gn_691",arrowExpandIcon:"_arrowExpandIcon_1t3gn_699",rowTeam:"_rowTeam_1t3gn_708",rowTeam300:"_rowTeam300_1t3gn_726",rowTeam420:"_rowTeam420_1t3gn_744",rowTeam320:"_rowTeam320_1t3gn_762",rowTeam460:"_rowTeam460_1t3gn_781",rowTeam350:"_rowTeam350_1t3gn_800",containerLeftType1:"_containerLeftType1_1t3gn_818",containerLeftType1300:"_containerLeftType1300_1t3gn_824",containerLeftType1680:"_containerLeftType1680_1t3gn_832",containerLeftType1320:"_containerLeftType1320_1t3gn_839",containerLeftType1350:"_containerLeftType1350_1t3gn_847",positionContainertype1:"_positionContainertype1_1t3gn_854",positionContainertype1300:"_positionContainertype1300_1t3gn_862",positionContainertype1380:"_positionContainertype1380_1t3gn_870",positionContainertype1680:"_positionContainertype1680_1t3gn_878",positionContainertype1420:"_positionContainertype1420_1t3gn_886",manchesterUnitedType1:"_manchesterUnitedType1_1t3gn_894",manchesterUnitedType1300:"_manchesterUnitedType1300_1t3gn_900",manchesterUnitedType1460:"_manchesterUnitedType1460_1t3gn_908",manchesterUnitedType1320:"_manchesterUnitedType1320_1t3gn_915",containerRightType1Games:"_containerRightType1Games_1t3gn_922",containerRightType1300Games:"_containerRightType1300Games_1t3gn_933",containerRightType1420Games:"_containerRightType1420Games_1t3gn_945",containerRightType1320Games:"_containerRightType1320Games_1t3gn_956",teamNameWrapperType1:"_teamNameWrapperType1_1t3gn_967",teamNameWrapperType1300:"_teamNameWrapperType1300_1t3gn_974",teamNameWrapperType1960:"_teamNameWrapperType1960_1t3gn_982",teamNameWrapperType11086:"_teamNameWrapperType11086_1t3gn_989",ageWrapperType1:"_ageWrapperType1_1t3gn_996",ageWrapperType1300:"_ageWrapperType1300_1t3gn_1003",ageWrapperType1680:"_ageWrapperType1680_1t3gn_1011",ageWrapperType11086:"_ageWrapperType11086_1t3gn_1019",ageType1:"_ageType1_1t3gn_1027",ageType1300:"_ageType1300_1t3gn_1035",ageType1960:"_ageType1960_1t3gn_1038",playedGamesWrapperType1:"_playedGamesWrapperType1_1t3gn_1041",playedGamesWrapperType1300:"_playedGamesWrapperType1300_1t3gn_1048",playedGamesWrapperType1680:"_playedGamesWrapperType1680_1t3gn_1051",playedGamesWrapperType1960:"_playedGamesWrapperType1960_1t3gn_1054",playedGamesType1:"_playedGamesType1_1t3gn_1057",playedGamesType1300:"_playedGamesType1300_1t3gn_1064",playedGamesType1540:"_playedGamesType1540_1t3gn_1068",playedGamesType1960:"_playedGamesType1960_1t3gn_1072",playedGamesType11086:"_playedGamesType11086_1t3gn_1075",playedMinutesWrapperType1:"_playedMinutesWrapperType1_1t3gn_1078",playedMinutesWrapperType1300:"_playedMinutesWrapperType1300_1t3gn_1085",playedMinutesWrapperType11086:"_playedMinutesWrapperType11086_1t3gn_1092",playedMinutesType1:"_playedMinutesType1_1t3gn_1099",playedMinutesType1300:"_playedMinutesType1300_1t3gn_1106",playedMinutesType1680:"_playedMinutesType1680_1t3gn_1109",block02Type1Games:"_block02Type1Games_1t3gn_1112",block02Type1300Games:"_block02Type1300Games_1t3gn_1120",block02Type1680Games:"_block02Type1680Games_1t3gn_1129",block02Type1320Games:"_block02Type1320Games_1t3gn_1137",block02Type1350Games:"_block02Type1350Games_1t3gn_1146",leagueNameWrapperType1:"_leagueNameWrapperType1_1t3gn_1154",leagueNameWrapperType1300:"_leagueNameWrapperType1300_1t3gn_1162",leagueNameWrapperType1680:"_leagueNameWrapperType1680_1t3gn_1165",leagueNameWrapperType1960:"_leagueNameWrapperType1960_1t3gn_1168",leagueNameType1:"_leagueNameType1_1t3gn_1176",leagueNameType1300:"_leagueNameType1300_1t3gn_1185",leagueNameType1960:"_leagueNameType1960_1t3gn_1188",numberOfVideosType1:"_numberOfVideosType1_1t3gn_1198",numberOfVideosType1300:"_numberOfVideosType1300_1t3gn_1205",numberOfVideosType1680:"_numberOfVideosType1680_1t3gn_1213",numberOfVideosType11232:"_numberOfVideosType11232_1t3gn_1220",vectorIconType1:"_vectorIconType1_1t3gn_1227",block01TitlesType1:"_block01TitlesType1_1t3gn_1244",numberPositionType1:"_numberPositionType1_1t3gn_1251",numberPositionType1300:"_numberPositionType1300_1t3gn_1257",shapeIconType1:"_shapeIconType1_1t3gn_1264",tijuanaIconType1:"_tijuanaIconType1_1t3gn_1270",tijuanaWrapperType1:"_tijuanaWrapperType1_1t3gn_1276",tijuanaWrapperType1NoBg:"_tijuanaWrapperType1NoBg_1t3gn_1287",teamNameType1:"_teamNameType1_1t3gn_1295",roleCharacterIconType1:"_roleCharacterIconType1_1t3gn_1302",verVideosType1:"_verVideosType1_1t3gn_1309",btnVideosType1Games:"_btnVideosType1Games_1t3gn_1315",containerBtnVideosType1Games:"_containerBtnVideosType1Games_1t3gn_1330",containesOptionsType1Games:"_containesOptionsType1Games_1t3gn_1341",arrowExpandIconType1:"_arrowExpandIconType1_1t3gn_1350",templateTablaProductividadType1:"_templateTablaProductividadType1_1t3gn_1356",verVideosType11232:"_verVideosType11232_1t3gn_1368",templateTablaProductividadType1320:"_templateTablaProductividadType1320_1t3gn_1372",verVideosType1680:"_verVideosType1680_1t3gn_1376"},rt={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.rowwPlayer300Games:e<=420?this.$style.rowwPlayer420Games:e<=460?this.$style.rowwPlayer460Games:e<=960?this.$style.rowwPlayer960Games:this.$style.rowwPlayerGames}},setup(){const e=t.ref("myDivRef2"),{elementSize:a}=de(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"}},data:()=>({expand:!1}),methods:{clickExpand(e){this.$emit("expand",{expand:!this.isExpanded,id:e})},emitEventMedia(e){this.$emit("mediadata",e)}}},Cs=()=>{t.useCssVars(e=>({d84aba4e:e.height,"65963de0":e.background,"522f0e22":e.fontSize,"1a58753c":e.fontColor,"6bfe8545":e.fontFamily}))},ks=rt.setup;rt.setup=ks?(e,a)=>(Cs(),ks(e,a)):Cs;const gn={ref:"myDivRef2",style:{"border-left":"rgba(13, 29, 41, 0.7) 1px solid","border-right":"rgba(13, 29, 41, 0.7) 1px solid"}},_n=["src"],bn=["src"],Tn=["fill"],Sn=["fill"],wn=["src"],Cn=["fill"],kn=["fill"],En=["src"],Nn=["src"],Vn=["src"],Pn=["fill"],xn=["fill"];function Fn(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",gn,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(n.numberPositionClass)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(n.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(n.imgPlayerIconClass),src:s.data.player_photo},null,10,_n),t.createElementVNode("div",{class:t.normalizeClass(n.manchesterUnitedClass)},[i.elementSize.width<=420?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(s.data.player_short),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(s.data.player_name),1)],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(n.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[t.createElementVNode("div",{class:t.normalizeClass(n.containerBtnVideosClass)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:s.data.team_logo},null,10,bn),t.createElementVNode("div",{class:t.normalizeClass(n.numberOfVideosClass)},t.toDisplayString(s.data.total),3)],2)],2),s.arrow?(t.openBlock(),t.createElementBlock("svg",{key:0,class:t.normalizeClass([e.$style.arrowExpandIcon,s.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[0]||(a[0]=r=>n.clickExpand(s.data.id))},[t.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:s.colorArrow},null,8,Sn)],10,Tn)):t.createCommentVNode("",!0)],2)],2)],2)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.rowTeamClass),style:t.normalizeStyle(i.elementSize.width>540?"border-bottom: 1px solid rgba(255, 255, 255, 0.1)":""),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftType1Class),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionContainertype1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.numberPositionType1Class)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(n.playerContainerType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.manchesterUnitedType1Class)},t.toDisplayString(s.data.team_abrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightType1Class),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(n.block02Type1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsType1Games)},[t.createElementVNode("div",{class:t.normalizeClass(n.containerBtnVideosType1Class)},[t.createElementVNode("img",{class:t.normalizeClass(n.imgTeamIconClass),alt:"",src:s.data.team_logo},null,10,wn),t.createElementVNode("div",{class:t.normalizeClass(n.numberOfVideosType1Class)},t.toDisplayString(s.data.total),3)],2)],2),s.arrow?(t.openBlock(),t.createElementBlock("svg",{key:0,class:t.normalizeClass([e.$style.arrowExpandIcon,s.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[1]||(a[1]=r=>n.clickExpand(s.data.id))},[t.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:s.colorArrow},null,8,kn)],10,Cn)):t.createCommentVNode("",!0)],2)],2)],6)):t.createCommentVNode("",!0),s.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.rowwPlayerClass),id:"container-row-player"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftClass),id:"container-left"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionContainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(n.numberPositionClass)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(n.playerContainerClass)},[t.createElementVNode("img",{class:t.normalizeClass(n.imgPlayerIconClass),src:s.data.player_photo},null,10,En),t.createElementVNode("div",{class:t.normalizeClass(n.manchesterUnitedClass)},t.toDisplayString(s.data.player_name),3),i.elementSize.width<=420?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.chivasIcon),alt:"",src:s.data.team_logo},null,10,Nn)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightClass),id:"container-right"},[t.createElementVNode("div",{class:t.normalizeClass(n.block02Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptions)},[t.createElementVNode("div",{class:t.normalizeClass(n.containerBtnVideosClass)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgTeamIcon),alt:"",src:s.data.team_logo},null,10,Vn),t.createElementVNode("div",{class:t.normalizeClass(n.numberOfVideosClass)},t.toDisplayString(s.data.total),3)],2)],2),(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([e.$style.arrowExpandIcon,s.isExpanded?e.$style.rotate:""]),width:"12",height:"8",viewBox:"0 0 12 8",fill:s.colorArrow,xmlns:"http://www.w3.org/2000/svg",onClick:a[2]||(a[2]=r=>n.clickExpand(s.data.id))},[t.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:s.colorArrow},null,8,xn)],10,Pn))],2)],2)],2)):t.createCommentVNode("",!0)],512)}const Bn=v(rt,[["render",Fn],["__cssModules",{$style:yn}]]),Rn={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"},lt={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=t.ref("myDivRef"),{elementSize:a}=de(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:{}},Es=()=>{t.useCssVars(e=>({"833b0df6":e.background,"1c64387e":e.height,"42ac62f2":e.fontSize,"149ddcc6":e.fontColor,"766a7f2c":e.fontFamily,"669f7ffb":e.heightTeam}))},Ns=lt.setup;lt.setup=Ns?(e,a)=>(Es(),Ns(e,a)):Es;const zn={ref:"myDivRef"};function An(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",zn,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.headTitlesClassAvanced),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(n.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightTitlesClassAdvanced),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),i.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),i.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.mon)},"Total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(n.mon1Class)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.templateTablaProductividadType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.headTitlesType1Class),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftTitlesClassTeam),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionType1Class)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(n.teamType1Class)},"Equipo",2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightType1ClassAvanced)},[t.createElementVNode("div",{class:t.normalizeClass(n.frecuenciaWrapperType1Class)},[i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.frecuenciaType1Class)},"Frecuencia",2)):t.createCommentVNode("",!0)],2),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.promedioEstePartidoWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(n.promedioEstePartidoType1Class)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"Promedio partido",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},"este Torneo",2)],2)],2)):t.createCommentVNode("",!0),i.elementSize.width>1086?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(n.promedioPartidosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.promedioPartidosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},a[0]||(a[0]=[t.createTextVNode("Promedio partido"),t.createElementVNode("br",null,null,-1),t.createTextVNode("Torneo anterior")]),2)],2)],2)):t.createCommentVNode("",!0),i.elementSize.width>770?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.partidosJugadosWrapperType1Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.partidosJugadosType1)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.promedioPartidoType1)},a[1]||(a[1]=[t.createTextVNode("Partidos "),t.createElementVNode("br",null,null,-1),t.createTextVNode("Jugados")]),2)],2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containesOptionsTitlesType1Class)},[i.elementSize.width>680?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(n.monType1Class)},"total",2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(n.videosType1Class)},"Videos",2)],2)],2)],2)):t.createCommentVNode("",!0),s.type==2?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(n.headTitlesClassAvanced),id:"container-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.containerLeftTitlesClass),id:"container-left-titles"},[t.createElementVNode("div",{class:t.normalizeClass(n.positionClass)},"Pos.",2),t.createElementVNode("div",{class:t.normalizeClass(n.playerClass)},"Jugador",2)],2),t.createElementVNode("div",{class:t.normalizeClass(n.containerRightTitlesClassAdvanced),id:"container-right-titles"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.block01Titles)},[i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.teamTitle)},"Equipo",2)):t.createCommentVNode("",!0),i.elementSize.width>730?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.positionTitle)},"Posición",2)):t.createCommentVNode("",!0),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(e.$style.ageTitle)},"edad",2)):t.createCommentVNode("",!0),i.elementSize.width>960?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(e.$style.ageTitle)},"País",2)):t.createCommentVNode("",!0),i.elementSize.width>540?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(e.$style.playedGamesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Partidos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),i.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Minutos",2),t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Jugados",2)],2)):t.createCommentVNode("",!0),i.elementSize.width>635?(t.openBlock(),t.createElementBlock("div",{key:6,class:t.normalizeClass(e.$style.playedMinutesTitle)},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.partidos)},"Liga",2)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(n.block02TitlesClass)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containesOptionsTitles)},[t.createElementVNode("div",{class:t.normalizeClass(n.mon1ScoutingClass)},"Videos",2)],2)],2)],2)],2)):t.createCommentVNode("",!0)],512)}const In=v(lt,[["render",An],["__cssModules",{$style:Rn}]]),Gn=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},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))}}},Vs=()=>{t.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}))},Ps=ct.setup;ct.setup=Ps?(e,a)=>(Vs(),Ps(e,a)):Vs;const On=e=>(t.pushScopeId("data-v-f3ee6b2b"),e=e(),t.popScopeId(),e),Ln=["src"],Wn={key:1,class:"text"},Dn=["src"],Mn={class:"stats"},$n=On(()=>t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),Un={class:"numstats"},jn={class:"leyend"};function vn(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&s.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&s.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.icon&&s.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,Ln)):t.createCommentVNode("",!0),s.textValue?(t.openBlock(),t.createElementBlock("div",Wn,t.toDisplayString(s.textValue),1)):t.createCommentVNode("",!0),s.icon&&s.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,Dn)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",Mn,[$n,t.createElementVNode("div",Un,t.toDisplayString(s.textStat),1)]),t.createElementVNode("div",jn,t.toDisplayString(s.textCategory),1)])):t.createCommentVNode("",!0)])}const Jn=Gn(ct,[["render",vn],["__scopeId","data-v-f3ee6b2b"]]),qn={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"},dt={components:{GSCButton:Jn},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=t.ref("myDivRef"),{elementSize:a}=de(e);return{myDivRef:e,elementSize:a}},data(){return{}},computed:{},methods:{viewProfile(e){this.$emit("viewprofile",e)}}},xs=()=>{t.useCssVars(e=>({b76aa8fe:e.fontFamily,dce830b4:e.fontColor,"060add2a":e.fontColorValue,"3e87935e":e.fontSize,c43b37c8:e.background}))},Fs=dt.setup;dt.setup=Fs?(e,a)=>(xs(),Fs(e,a)):xs;const Hn={ref:"myDivRef"},Kn=["src"];function Zn(e,a,s,i,o,n){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",Hn,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.expandedInfoPlayerGames)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer),id:"data-container"},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerInfoGames,s.additionalClass]),id:"container-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},[s.viewTeam?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.equipoAtlasSeleccinMexiGames)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Equipo: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.atlasSeleccinGames)},t.toDisplayString(s.data.teams),3)],2)):t.createCommentVNode("",!0),s.viewAge?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.equipoGames)},"Edad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.age)+" años",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)}," ("+t.toDisplayString(s.data.dataofbirth)+")",3)],2)):t.createCommentVNode("",!0),s.viewNationality?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Nacionalidad: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},[t.createTextVNode(t.toDisplayString(s.data.nationality.substring(0,3).toUpperCase())+" ",1),t.createElementVNode("div",{class:t.normalizeClass(e.$style.countryFlag)},[t.createElementVNode("img",{src:s.data.countryFlag},null,8,Kn)],2)],2)],2)):t.createCommentVNode("",!0),s.viewPosition?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Posición: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.position),3)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited12)},[s.viewGames&&!s.isLive?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"partidos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.games),3)],2)):t.createCommentVNode("",!0),s.viewMin&&!s.isLive?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Minutos Jugados: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.min),3)],2)):t.createCommentVNode("",!0),s.viewGoals?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},t.toDisplayString(s.data.category)+": ",3),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.goals),3)],2)):t.createCommentVNode("",!0),s.viewEffectiveness?(t.openBlock(),t.createElementBlock("p",{key:3,class:t.normalizeClass(e.$style.nacionalidadMex)},[t.createElementVNode("span",{class:t.normalizeClass(e.$style.span12)},"Efectividad de pases: ",2),t.createElementVNode("span",{class:t.normalizeClass(e.$style.aosGames)},t.toDisplayString(s.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerButton),id:"btn-container"},[s.viewButton?(t.openBlock(),t.createBlock(r,{key:0,style:t.normalizeStyle(s.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=>n.viewProfile(s.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)],2)],2)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.infoExpanded)},[t.createElementVNode("div",{class:t.normalizeClass([e.$style.containerDataBg,s.additionalClass])},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[2]||(a[2]=t.createElementVNode("span",null,"Posición en la tabla: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[3]||(a[3]=t.createElementVNode("span",null,"Goles anotados: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[4]||(a[4]=t.createElementVNode("span",null,"Goles recibidos: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[5]||(a[5]=t.createElementVNode("span",null,"Partidos jugados:",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[s.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited1)},[a[6]||(a[6]=t.createElementVNode("span",null,"Efectividad de pases: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[7]||(a[7]=t.createElementVNode("span",null,"xG: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.xg),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(s.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.total),3)],2),s.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited8)},[a[8]||(a[8]=t.createElementVNode("span",null,"Efectividad de pases: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.effectiveness)+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[a[9]||(a[9]=t.createElementVNode("span",null,"xG: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.xg),3)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerDataSm)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameDiv)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[10]||(a[10]=t.createElementVNode("span",null,"Posición en la tabla: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.position),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[11]||(a[11]=t.createElementVNode("span",null,"Goles anotados: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.goals),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[12]||(a[12]=t.createElementVNode("span",null,"Goles recibidos: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.goals_received),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[13]||(a[13]=t.createElementVNode("span",null,"Partidos jugados: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.games_played),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnitedParent1)},[s.viewEffectiveness?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited14)},[a[14]||(a[14]=t.createElementVNode("span",null,"Efectividad de pases: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.effectiveness.toFixed(0))+"%",3)],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[a[15]||(a[15]=t.createElementVNode("span",null,"xG: ",-1)),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.xg),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[t.createElementVNode("span",null,t.toDisplayString(s.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.total),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited8)},[t.createElementVNode("span",null,t.toDisplayString(s.data.category)+": ",1),t.createElementVNode("span",{class:t.normalizeClass(e.$style.spanGames)},t.toDisplayString(s.data.total),3)],2)],2)],2),s.viewButton?(t.openBlock(),t.createBlock(r,{key:0,style:t.normalizeStyle(s.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=>n.viewProfile(s.data.id))},null,8,["style"])):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)],512)}const Yn=v(dt,[["render",Zn],["__cssModules",{$style:qn}],["__scopeId","data-v-0bb9c2ff"]]),Bs={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"},mt={components:{GSCLeaders:hn,GSCRowTable:Bn,GSCTableHeader:In,GSCExpandedInfo:Yn},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}},setup(){const e=t.ref("myDivRef"),{elementSize:a}=de(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={},s=[],i=[],o=[];return this.formatFilterStats.map(n=>{e[n.team_id]?e[n.team_id].total=e[n.team_id].total+n.total:(e[n.team_id]={},e[n.team_id].total=n.total,e[n.team_id].id=this.teamInfo[n.team_id].id,e[n.team_id].name=this.teamInfo[n.team_id].name.replace(" Femenil",""),e[n.team_id].img="https://golstatsimages.blob.core.windows.net/teams-80/"+n.team_id+".png",e[n.team_id].effectiveness=this.teamInfo[n.team_id].effectiveness,e[n.team_id].frecuency=this.teamInfo[n.team_id].frecuency,e[n.team_id].game_avg=this.teamInfo[n.team_id].game_avg,e[n.team_id].game_avg_last_season=this.teamInfo[n.team_id].game_avg_last_season,e[n.team_id].games_played_lastseason=this.teamInfo[n.team_id].games_played_lastseason,e[n.team_id].games_played=this.teamInfo[n.team_id].games_played,e[n.team_id].positiontable=this.teamInfo[n.team_id].positiontable,e[n.team_id].goals=this.teamInfo[n.team_id].goals,e[n.team_id].goalsrecived=this.teamInfo[n.team_id].goalsrecived,e[n.team_id].xg=this.teamInfo[n.team_id].xg),a[n.player_id]?n.player_id!=0&&n.player_id!=62117&&(a[n.player_id].total=a[n.player_id].total+n.total):n.player_id!=0&&n.player_id!=62117&&(a[n.player_id]={},a[n.player_id].total=n.total,n.player_id&&this.playersInfo[n.player_id]?(a[n.player_id].name=this.playersInfo[n.player_id].name,a[n.player_id].name_short=this.getnameshort(this.playersInfo[n.player_id].name),a[n.player_id].img=this.playersInfo[n.player_id].img,a[n.player_id].id=this.playersInfo[n.player_id].id,a[n.player_id].age=this.playersInfo[n.player_id].age,a[n.player_id].team=this.playersInfo[n.player_id].team,a[n.player_id].teamname=this.playersInfo[n.player_id].teamname,a[n.player_id].teamid=this.playersInfo[n.player_id].teamid,a[n.player_id].position=this.playersInfo[n.player_id].position,a[n.player_id].positionId=this.playersInfo[n.player_id].positionId,a[n.player_id].positionfull=this.playersInfo[n.player_id].positionfull,a[n.player_id].country=this.playersInfo[n.player_id].country,a[n.player_id].effectiveness=this.playersInfo[n.player_id].effectiveness,a[n.player_id].minutes=this.playersInfo[n.player_id].minutes_played,a[n.player_id].games=this.playersInfo[n.player_id].games_played,a[n.player_id].date=this.playersInfo[n.player_id].date,a[n.player_id].nationality=this.playersInfo[n.player_id].nationality,a[n.player_id].player_country_flag=this.playersInfo[n.player_id].player_country_flag,a[n.player_id].categoryName=this.categoryName):(a[n.player_id].id=n.player_id,a[n.player_id].name=n.player_id,a[n.player_id].img="SIN IMAGEN",a[n.player_id].age="",a[n.player_id].teamname="",a[n.player_id].team="",a[n.player_id].teamid=0,a[n.player_id].position="",a[n.player_id].positionId=0,a[n.player_id].positionfull="",a[n.player_id].country="",a[n.player_id].effectiveness="",a[n.player_id].minutes="",a[n.player_id].games="",a[n.player_id].date="00-00-0000",a[n.player_id].nationality="",a[n.player_id].player_country_flag="",a[n.player_id].categoryName=""))}),s.push(...Object.values(e)),i.push(...Object.values(a)),s=this.sortAndSlice(Object.values(e),60),i=i.sort(this.compareObjectsMinutes).slice(0,60),i=i.map((n,r)=>(n.top=r<9?"0"+(r+1):""+(r+1),n)),s=s.map((n,r)=>(n.top=r<9?"0"+(r+1):""+(r+1),n)),this.filterTeam!==0&&!this.isTeam&&(o=i.filter(n=>n.teamid===this.filterTeam)),this.changeStateLoading(!1),this.isTeam?this.formatArrayPaginate(s):this.filterTeam!=0?this.formatArrayPaginate(o):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 s=Array.from(e),i=Array.from(a);if(s.length!==i.length)return!0;for(let o=0;o<s.length;o++)if(!a.has(s[o]))return!0;return!1},getnameshort(e){var a=e.split(","),s=a[0].split(" "),i=a[1].trim().split(" "),o="";s.length==2||s.length==1?s[0].length<4?o=s[0]+" "+s[1]:o=s[0]:s.length==3?o=s[0]+" "+s[1]:s.length==4&&(o=s[1]+" "+s[2]+" "+s[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return o=o.replace(",",""),n+". "+o},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((s,i)=>(s.name<i.name?1:-1)&&(s.total<i.total?1:-1)).slice(0,a)},getCategoryName(e){let a="";for(let s=0;s<this.categories.length;s++)e==this.categories[s].id&&(a=this.categories[s].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,s){let i=this.filtersValues.matchResult,o=this.filtersValues.playingAs,n=this.filtersValues.sections,r=this.filtersValues.zone;this.translateTopCategories(a),Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,o=this.filterEmitAux.playingAs,n=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const c=1,l=this.isTeam?3:2,m=e.player_id;let f=[],g=this.isTeam?e.id:this.filterTeam;m?this.isTeam?g=m:f=[m]:this.isTeam?g=e.id:f=[e.id];const y={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:f,goalkeeperIds:[],categoryIds:this.translateTopCategories(a),teamId:g||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:s,playingAs:o,timeSections:n,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",y)},emitEventMediaFullTable(e,a,s){let i=this.filtersValues.matchResult,o=this.filtersValues.playingAs,n=this.filtersValues.sections,r=this.filtersValues.zone,c=this.translateTopCategories(a);Object.keys(this.filterEmitAux).length>0&&(i=this.filterEmitAux.matchResult,o=this.filterEmitAux.playingAs,n=this.filterEmitAux.sections,r=this.filterEmitAux.zone);const p=1,m=this.isTeam?3:2;let f=[],g=this.isTeam?e.id:this.filterTeam;this.isTeam?g=e.id:f=[e.id];const y={seasonId:this.season,isFeaturedPlayers:!1,mainSectionType:p,playListType:m,gameIds:null,playerIds:f,goalkeeperIds:[],categoryIds:c,teamId:g||0,matchResult:i,categorySingleName:"",isRivalSubject:!1,avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:s,playingAs:o,timeSections:n,fieldSections:r,coordinatePoint:this.getCoordinatePointPerCategory(a)}};this.$emit("setopenmedia",y)},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(","),s=a[0].split(" "),i=a[1].trim().split(" "),o="";s.length==2||s.length==1?s[0].length<4?o=s[0]+" "+s[1]:o=s[0]:s.length==3?o=s[0]+" "+s[1]:s.length==4&&(o=s[1]+" "+s[2]+" "+s[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";o=o.replace(",","");var r=n+". "+o;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,s;console.log("llego aqui; ",e),this.mapPlayers=new Map;try{if(!e)return;let i=[],o={},n={},r=this.season;(s=(a=this.seasonSelected)==null?void 0:a.related_seasons)!=null&&s.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(console.log("this.typeData:::: ",this.typeData),console.log("this.game, ",this.game),this.typeData===0?p=await c.get(this.url+"/"+this.gameId+"/"+this.category):p=await c.get(this.urlPrematch+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=>{o[l[0]]={},o[l[0]].id=l[0],o[l[0]].name=l[1],o[l[0]].abrv=l[2],o[l[0]].img=l[3],o[l[0]].effectiveness=l[4],o[l[0]].games_played=l[5],o[l[0]].games_played_lastseason=l[6],o[l[0]].positiontable=l[7],o[l[0]].goals=l[8],o[l[0]].goalsrecived=l[9],o[l[0]].xg=l[10],o[l[0]].frecuency=l[11],o[l[0]].game_avg=l[12],o[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 f=m.numberAge,g=m.teamName.length>0?m.teamName[0].acronym:"",y=m.teamName.length>0?o[m.teamName[0].team_id].name:"",_=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,P=m.min,N=m.games,x=m.date;m.arrayNationalities.forEach(O=>{d.add(O.numberId)}),n[l[0]]={id:l[0],name:l[1],img:l[2],age:f,team:g,teamname:y,teamid:_,position:b,positionfull:S,effectiveness:k,country:T,games_played:N,minutes_played:P,date:x,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=o,this.playersInfo=n,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 s=e.playingAs.includes(a.playing_as),i=e.matchResult.includes(a.match_result),o=e.sections.includes(a.section),n=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||s)&&(e.matchResult.length===0||i)&&(e.sections.length===0||o)&&(e.zone.length===0||n)}):[]},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((s,i)=>{a[s]=e[i]}),a},getObjectPlayer(e){const a=[],s=e[7].map(o=>(a.push(o.nationality_id),{stringName:o.nationality,numberId:o.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:Bs[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:s,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()}},Rs=()=>{t.useCssVars(e=>({"485f6e6c":e.borderRadius,"65b888ac":e.borderWidth,"64a18a49":e.borderColor}))},zs=mt.setup;mt.setup=zs?(e,a)=>(Rs(),zs(e,a)):Rs;const Xn={ref:"myDivRef"},Qn={class:"btnViewFullList"},eo={class:"text"},to={class:"row-table-carrousel"},so={key:1,class:"container-no-search-result"},ao={key:0,class:"overlay-loading-top"};function io(e,a,s,i,o,n){const r=t.resolveComponent("GSCLeaders"),c=t.resolveComponent("GSCRowTable"),p=t.resolveComponent("GSCExpandedInfo"),d=t.resolveComponent("GSCTableHeader");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(s.type==0?"gsc-top":"gsc-top-full")},[t.createElementVNode("div",Xn,[s.type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.topData.length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",Qn,[t.createElementVNode("div",eo,t.toDisplayString(s.categoryName),1)]),t.createElementVNode("div",to,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.topData[0],(l,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:m},[l.top==1?(t.openBlock(),t.createBlock(r,{key:0,onMediadata:a[0]||(a[0]=f=>n.emitEventMedia(f,s.category,s.categoryName)),type:s.typeTable,"type-data":s.typeData,game:s.game,arrow:s.arrow,"team-widget":s.teamWidget,"can-play-videos":s.canPlayVideos,"is-expanded":e.playerexpand==l.id&&e.expand,ref_for:!0,ref:"GSCLeaders",data:s.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:s.category,total:l.total}:{top:"01",logo:l.img,total:l.total,name_team:l.name,player_id:l.id},"category-name":s.categoryName,buttonMaxWidth:s.typeTable!=0?i.elementSize.width>360?"210px":"130px":i.elementSize.width>360?"180px":"110px",buttonFontSize:n.getButtonFontSize(),iconSize:"11px",onExpand:n.clickexpand,onMore:n.morestats},null,8,["type","type-data","game","arrow","team-widget","can-play-videos","is-expanded","data","category-name","buttonMaxWidth","buttonFontSize","onExpand","onMore"])):(t.openBlock(),t.createBlock(c,{key:1,"type-data":s.typeData,"team-widget":s.teamWidget,game:s.game,type:s.typeTable,"type-view":s.type,arrow:s.arrow,"is-expanded":e.playerexpand==l.id&&e.expand,onMediadata:a[1]||(a[1]=f=>n.emitEventMedia(f,s.category,s.categoryName)),data:s.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:s.category,total:l.total,id:l.id},height:"71px","can-play-videos":s.canPlayVideos,background:m%2===0?s.backgroundEven:s.backgroundOdd,onExpand:n.clickexpand},null,8,["type-data","team-widget","game","type","type-view","arrow","is-expanded","data","can-play-videos","background","onExpand"])),e.expand&&e.playerexpand==l.id?(t.openBlock(),t.createBlock(p,{key:2,type:s.typeTable,"is-live":s.game.is_live,"view-effectiveness":l.positionId!==1,data:s.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:s.categoryName,id:l.id}:{position:l.positiontable,goals:l.goals,goals_received:l.goalsrecived,games_played:l.games_played,category:s.categoryName,effectiveness:l.effectiveness,xg:l.xg,total:l.total,attendance:"-",id:l.id},onViewprofile:f=>n.viewprofile(f,l.teamid),background:m%2===0?s.backgroundEven:s.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))])],64)):(t.openBlock(),t.createElementBlock("div",so,[e.isloading?(t.openBlock(),t.createElementBlock("div",ao,a[3]||(a[3]=[t.createElementVNode("div",{class:"overlay-loading-top__spinner"},[t.createElementVNode("img",{src:"https://golstatsimages.blob.core.windows.net/images-library/balon_liga.png",alt:""})],-1),t.createElementVNode("div",{class:"overlay-loading-top__text"},"Loading...",-1)]))):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[a[4]||(a[4]=t.createElementVNode("div",{class:"container-no-search-result-title"},"No existen resultados",-1)),a[5]||(a[5]=t.createElementVNode("div",{class:"container-no-search-result-subtitle"},[t.createTextVNode(" No existen resultados para este tipo de"),t.createElementVNode("br"),t.createTextVNode(" jugada, considerando el torneo y otros"),t.createElementVNode("br"),t.createTextVNode(" filtros que has seleccionado. ")],-1))],64))]))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(d,{background:"#183143",type:s.typeTable},null,8,["type"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.topData,(l,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:m},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.slice(0,s.numRows),(f,g)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:g},[t.createVNode(c,{"type-data":s.typeData,"team-widget":s.teamWidget,game:s.game,arrow:s.arrow,type:s.typeTable,"type-view":s.type,"can-play-videos":s.canPlayVideos,"is-expanded":e.playerexpand==f.id&&e.expand,onMediadata:a[2]||(a[2]=y=>n.emitEventMediaFullTable(y,s.category,s.categoryName)),data:s.typeTable==0?{position:f.top,player_name:f.name,player_short:f.name_short,player_photo:f.img,total:f.total,id:f.id,player_age:f.age,team_abrev:f.team,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+f.teamid+".png",player_position:f.position,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+f.country+".jpg",player_games:f.games,player_min:f.minutes,league_name:"          Liga MX          "}:{position:f.positiontable,team_logo:f.img,team_abrev:f.name,frequency:f.frecuency,promthistournament:f.game_avg,promlasttournament:f.game_avg_last_season,category:s.category,team_games:f.games_played,total:f.total,id:f.id},height:"71px",background:((m+1)*5+g)%2===0?s.backgroundOdd:s.backgroundEven,onExpand:n.clickexpand},null,8,["type-data","team-widget","game","arrow","type","type-view","can-play-videos","is-expanded","data","background","onExpand"]),e.expand&&e.playerexpand==f.id?(t.openBlock(),t.createBlock(p,{key:0,type:s.typeTable,"is-live":s.game.is_live,additionalClass:"fullTable","view-effectiveness":f.positionId!==1,data:s.typeTable==0?{teams:f.teamname,age:f.age,dataofbirth:f.date,nationality:f.nationality,countryFlag:f.player_country_flag,position:f.positionfull,positionfull:f.positionfull,games:f.games,min:f.minutes,goals:f.total,effectiveness:f.effectiveness,category:n.getCategoryName(s.category),id:f.id}:{position:f.positiontable,goals:f.goals,goals_received:f.goalsrecived,games_played:f.games_played,category:s.categoryName,effectiveness:f.effectiveness,xg:f.xg,total:f.total,category:n.getCategoryName(s.category),attendance:"-",id:f.id},onViewprofile:y=>n.viewprofile(y,f.teamid),background:g%2===0?s.backgroundEven:s.backgroundOdd},null,8,["type","is-live","view-effectiveness","data","onViewprofile","background"])):t.createCommentVNode("",!0)],64))),128))],64))),128))],64))],512)],2)}const no=v(mt,[["render",io],["__scopeId","data-v-255fff48"]]),me={YEAR:2,AGE_RANGE:3,NATIONALITY:4,POSITION:5,ELIGIBILITY:6},oo=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},ro={key:1},lo={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},co=["fill"],mo={key:0,class:"checkbox__teams"},po={class:"checkbox__teams__logo"},fo=["src"],uo={class:"checkbox__teams__logo"},ho=["src"],yo={__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 s=e;t.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=t.ref(!1),o=t.computed(()=>{const d={color:s.boxValueColor,"font-family":s.fontFamily,height:s.boxWidthAndHeight,width:s.boxWidthAndHeight,minWidth:s.boxWidthAndHeight,"border-radius":s.boxBorderRadius,"margin-top":s.boxMarginTop};return i.value?(d["background-color"]=s.boxBackgroundColor,d.border=`solid ${s.boxBorderWidth} ${s.boxBackgroundColor}`):d.border=`solid ${s.boxBorderWidth} ${s.boxBorderColor}`,d}),n=t.computed(()=>({"font-family":s.boxValueFontFamily,"font-size":s.boxValueFontSize,color:s.boxValueColor,"line-height":1})),r=t.computed(()=>{const d={color:s.labelColor,"font-family":s.fontFamily,"font-size":s.labelFontSize,"white-space":s.labelWhiteSpace,"text-align":s.boxPosition==="top"||s.boxPosition==="bottom"?"center":s.boxPosition};return(s.boxPosition==="left"||s.boxPosition==="right")&&(d[`margin-${s.boxPosition}`]=s.isBoxOnly?"0":s.teamsIds?"8px":"10px"),d});t.watch(()=>s.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){s.avoidInteraction||!i.value&&s.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)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[t.createElementVNode("div",{class:"checkbox__box",style:t.normalizeStyle(o.value)},[i.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[s.boxValue?(t.openBlock(),t.createElementBlock("div",{key:0,class:"checkbox__box__value",style:t.normalizeStyle(n.value)},t.toDisplayString(e.boxValue),5)):(t.openBlock(),t.createElementBlock("div",ro,[(t.openBlock(),t.createElementBlock("svg",lo,[t.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,co)]))]))],64)):t.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(t.openBlock(),t.createElementBlock("div",mo,[t.createElementVNode("div",po,[t.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,fo)]),t.createElementVNode("div",uo,[t.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,ho)])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"checkbox__label",style:t.normalizeStyle(r.value)},t.toDisplayString(e.label),5)],2))}},pt=oo(yo,[["__scopeId","data-v-b6f124d8"]]),A=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},go={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"},_o=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},ft={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))}}},As=()=>{t.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}))},Is=ft.setup;ft.setup=Is?(e,a)=>(As(),Is(e,a)):As;const bo=e=>(t.pushScopeId("data-v-f3ee6b2b"),e=e(),t.popScopeId(),e),To=["src"],So={key:1,class:"text"},wo=["src"],Co={class:"stats"},ko=bo(()=>t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),Eo={class:"numstats"},No={class:"leyend"};function Vo(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&s.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&s.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.icon&&s.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,To)):t.createCommentVNode("",!0),s.textValue?(t.openBlock(),t.createElementBlock("div",So,t.toDisplayString(s.textValue),1)):t.createCommentVNode("",!0),s.icon&&s.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,wo)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",Co,[ko,t.createElementVNode("div",Eo,t.toDisplayString(s.textStat),1)]),t.createElementVNode("div",No,t.toDisplayString(s.textCategory),1)])):t.createCommentVNode("",!0)])}const Po=_o(ft,[["render",Vo],["__scopeId","data-v-f3ee6b2b"]]),xo={class:"gsc-dropdown__main-container__item-selected"},Fo=["height","width"],Bo=["stroke"],Ro={key:1,width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zo=["fill"],Ao={class:"gsc-dropdown__items-container"},Io=["onClick"],Go={key:0,class:"gsc-dropdown__items-footer"},ut={__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 s=e,i=t.ref({}),o=t.ref(null),n=t.ref(s.isMultipleOption?-1:0),r=t.ref(!1);t.watch(()=>s.items,(g,y)=>{if(!s.modelValue&&(!s.onlyFirstTime||!y||!y.length)&&g&&g.length){if(s.defaultItemByProp){const _=s.items.findIndex(b=>b[s.defaultItemByProp.propName]===s.defaultItemByProp.value);_!==-1?(n.value=_,i.value=g[_]):(n.value=0,i.value=g[0])}else i.value=g[s.defaultItemByIndex];a("input",i.value)}},{immediate:!0}),t.watch(()=>s.modelValue,g=>{if(g){const y=s.items.findIndex(_=>typeof g=="object"?JSON.stringify(_)===JSON.stringify(g):_===g);y!==-1&&(n.value=y,i.value=s.items[y],a("update:modelValue",i.value))}},{immediate:!0});const c=t.computed(()=>({height:s.height,width:s.width,backgroundColor:s.backgroundColor,borderRadius:`${s.borderRadius}px`,border:`${s.borderType} ${s.borderWidth}px ${s.borderColor}`,color:s.color,"--hover-background-color":s.hoverBackgroundColor,"--list-container-padding":s.listContainerPadding,"--list-item-padding":s.listItemPadding,"--list-item-margin":s.listItemMargin,"--list-background-color":s.listBackgroundColor,"--list-height":s.listHeight,"--list-item-border-radius":s.listItemBorderRadius,"--list-item-selected-color":s.listItemSelectedColor,"--list-item-selected-background-color":s.listItemSelectedBackgroundColor,"--list-item-color":s.listItemColor,"--list-border-radius":`${s.listBorderRadius}`,"--list-border-color":s.listBorderColor,"--list-width":s.isListSameWidth?s.width:"fit-content","--list-border-width":`${s.listBorderWidth}px`,"--list-margin-top":s.listMarginTop,"--list-left":s.listAlignment==="left"?"0":"auto","--list-right":s.listAlignment==="right"?"0":"auto","--footer-border":`${s.footerBorderWidth}px solid ${s.footerBorderColor}`,"--dropdown-opacity":s.isDisabled?"0.5":"1","--dropdown-cursor":s.isDisabled?"not-allowed":"pointer","--dropdown-font-size":s.fontSize?s.fontSize:"14px"})),p=t.computed(()=>({height:`${s.arrowHeight}px`,width:`${s.arrowWidth}px`}));function d(){s.isDisabled||(r.value=!r.value)}function l(g){o.value&&!o.value.contains(g.target)&&(r.value=!1)}function m(g,y){s.isMultipleOption?n.value=-1:(n.value=y,r.value=!1),i.value=g,a("input",i.value),a("update:modelValue",i.value)}function f(){r.value=!1,a("click-ready")}return t.onMounted(()=>{document.addEventListener("click",l)}),t.onBeforeMount(()=>{document.removeEventListener("click",l)}),(g,y)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"dropDown",ref:o,class:"gsc-dropdown",style:t.normalizeStyle(c.value)},[t.createElementVNode("div",{class:"gsc-dropdown__main-container",style:t.normalizeStyle({"padding-right":`${e.arrowWidth+8}px`}),onClick:d},[t.createElementVNode("div",xo,[t.renderSlot(g.$slots,"default",{selectedItem:i.value})]),t.createElementVNode("div",{class:t.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:t.normalizeStyle(p.value)},[e.iconType===1?(t.openBlock(),t.createElementBlock("svg",{key:0,height:e.arrowHeight,width:e.arrowWidth,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.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,Bo)],8,Fo)):(t.openBlock(),t.createElementBlock("svg",Ro,[t.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,zo)]))],6)],4),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",Ao,[t.createElementVNode("div",null,[t.createElementVNode("div",{class:"gsc-dropdown__items",style:t.normalizeStyle({"margin-top":`${s.borderWidth}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,b)=>(t.openBlock(),t.createElementBlock("div",null,[t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["gsc-dropdown__items__item",{selected:b===n.value}]),key:b,onClick:S=>m(_,b)},[t.renderSlot(g.$slots,"availableItem",{item:_})],10,Io)),[[t.vShow,!_.isHidden]])]))),256))],4),e.isFooterVisible?(t.openBlock(),t.createElementBlock("div",Go,[t.createVNode(t.unref(Po),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:f})])):t.createCommentVNode("",!0)])],512),[[t.vShow,r.value]])]),_:3})],4))}},ht={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},Oo=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},yt={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))}}},Gs=()=>{t.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}))},Os=yt.setup;yt.setup=Os?(e,a)=>(Gs(),Os(e,a)):Gs;const Lo=e=>(t.pushScopeId("data-v-f3ee6b2b"),e=e(),t.popScopeId(),e),Wo=["src"],Do={key:1,class:"text"},Mo=["src"],$o={class:"stats"},Uo=Lo(()=>t.createElementVNode("img",{class:"iconstats",src:"https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"},null,-1)),jo={class:"numstats"},vo={class:"leyend"};function Jo(e,a,s,i,o,n){return t.openBlock(),t.createElementBlock("div",null,[s.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",o.status&&s.typeOnOff&&"button-active"]),style:t.normalizeStyle([n.customStyle,o.status&&s.typeOnOff&&n.customActive]),onClick:a[0]||(a[0]=(...r)=>n.btnClick&&n.btnClick(...r))},[s.icon&&s.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,Wo)):t.createCommentVNode("",!0),s.textValue?(t.openBlock(),t.createElementBlock("div",Do,t.toDisplayString(s.textValue),1)):t.createCommentVNode("",!0),s.icon&&s.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:s.iconSize}),src:s.icon},null,12,Mo)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),s.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>n.btnClick&&n.btnClick(...r))},[t.createElementVNode("div",$o,[Uo,t.createElementVNode("div",jo,t.toDisplayString(s.textStat),1)]),t.createElementVNode("div",vo,t.toDisplayString(s.textCategory),1)])):t.createCommentVNode("",!0)])}const qo=Oo(yt,[["render",Jo],["__scopeId","data-v-f3ee6b2b"]]),Ho=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},Ko={key:1},Zo={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Yo=["fill"],Xo={key:0,class:"checkbox__teams"},Qo={class:"checkbox__teams__logo"},er=["src"],tr={class:"checkbox__teams__logo"},sr=["src"],ar={__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 s=e;t.useCssVars(d=>({"7bd9d47b":e.width,"34dc7ddc":e.height}));const i=t.ref(!1),o=t.computed(()=>{const d={color:s.boxValueColor,"font-family":s.fontFamily,height:s.boxWidthAndHeight,width:s.boxWidthAndHeight,minWidth:s.boxWidthAndHeight,"border-radius":s.boxBorderRadius,"margin-top":s.boxMarginTop};return i.value?(d["background-color"]=s.boxBackgroundColor,d.border=`solid ${s.boxBorderWidth} ${s.boxBackgroundColor}`):d.border=`solid ${s.boxBorderWidth} ${s.boxBorderColor}`,d}),n=t.computed(()=>({"font-family":s.boxValueFontFamily,"font-size":s.boxValueFontSize,color:s.boxValueColor,"line-height":1})),r=t.computed(()=>{const d={color:s.labelColor,"font-family":s.fontFamily,"font-size":s.labelFontSize,"white-space":s.labelWhiteSpace,"text-align":s.boxPosition==="top"||s.boxPosition==="bottom"?"center":s.boxPosition};return(s.boxPosition==="left"||s.boxPosition==="right")&&(d[`margin-${s.boxPosition}`]=s.isBoxOnly?"0":s.teamsIds?"8px":"10px"),d});t.watch(()=>s.modelValue,d=>{d!==i.value&&(i.value=d)},{immediate:!0});function c(){s.avoidInteraction||!i.value&&s.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)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["checkbox",`box-${e.boxPosition}`]),onClick:c},[t.createElementVNode("div",{class:"checkbox__box",style:t.normalizeStyle(o.value)},[i.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[s.boxValue?(t.openBlock(),t.createElementBlock("div",{key:0,class:"checkbox__box__value",style:t.normalizeStyle(n.value)},t.toDisplayString(e.boxValue),5)):(t.openBlock(),t.createElementBlock("div",Ko,[(t.openBlock(),t.createElementBlock("svg",Zo,[t.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,Yo)]))]))],64)):t.createCommentVNode("",!0)],4),e.teamsIds&&e.teamsIds.length?(t.openBlock(),t.createElementBlock("div",Xo,[t.createElementVNode("div",Qo,[t.createElementVNode("img",{src:p(e.teamsIds[0]),alt:""},null,8,er)]),t.createElementVNode("div",tr,[t.createElementVNode("img",{src:p(e.teamsIds[1]),alt:""},null,8,sr)])])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"checkbox__label",style:t.normalizeStyle(r.value)},t.toDisplayString(e.label),5)],2))}},ir=Ho(ar,[["__scopeId","data-v-b6f124d8"]]),nr=(e,a)=>{const s=e.__vccOpts||e;for(const[i,o]of a)s[i]=o;return s},gt={components:{GSCButton:qo,GSCCheckbox:ir},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((s,i)=>{s.active=e.includes(i+1),this.validateField(i)}),this.$emit("update:modelValue",e))}},sectors:{handler(e){var a=[];for(let s=0;s<e.length;s++)e[s].active&&a.push(s+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 s=0;s<this.sectors.length;s++)this.sectors[s].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 s=0;s<this.sectors.length;s++)this.sectors[s].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 s=0;s<this.sectors.length;s++)this.sectors[s].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 s=0;s<this.sectors.length;s++)this.sectors[s].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 s=0;s<this.sectors.length;s++)this.sectors[s].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)}}},Ls=()=>{t.useCssVars(e=>({"4fe806fe":e.widthContainer,"91de7c52":e.heightContainer,"266afcdc":e.backgroundColor,"2b853536":e.titleFontSize,"986b6446":e.widthFieldGrid,"1af308b6":e.heightFieldGrid}))},Ws=gt.setup;gt.setup=Ws?(e,a)=>(Ls(),Ws(e,a)):Ls;const or={class:"gsc-field"},rr={class:"gsc-field__title-checked"},lr={class:"gsc-field__title-checked__title"},cr={class:"gsc-field__container-field"},dr={class:"gsc-field__container-field__field"},mr={width:"100%",height:"100%",fill:"#2e3b46",xmlns:"http://www.w3.org/2000/svg"},pr=["stroke"],fr=["stroke","stroke-width"],ur=["stroke","stroke-width"],hr=["stroke-width","stroke"],yr=["fill","fill-opacity","stroke","stroke-width"],gr=["fill","fill-opacity","stroke","stroke-width"],_r=["fill","fill-opacity","stroke","stroke-width"],br=["fill","fill-opacity","stroke","stroke-width"],Tr=["fill","fill-opacity","stroke","stroke-width"],Sr=["fill","fill-opacity","stroke","stroke-width"],wr=["fill","fill-opacity","stroke","stroke-width"],Cr=["fill","fill-opacity","stroke","stroke-width"],kr=["fill","fill-opacity","stroke","stroke-width"],Er=["fill","fill-opacity","stroke","stroke-width"],Nr=["fill","fill-opacity","stroke","stroke-width"],Vr=["fill","fill-opacity","stroke","stroke-width"],Pr=["fill","fill-opacity","stroke","stroke-width"],xr=["fill","fill-opacity","stroke","stroke-width"],Fr=["fill","fill-opacity","stroke","stroke-width"],Br=["fill","fill-opacity","stroke","stroke-width"],Rr={class:"gsc-field__container-field__bar-buttons"};function zr(e,a,s,i,o,n){const r=t.resolveComponent("GSCCheckbox"),c=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",or,[t.createElementVNode("div",rr,[t.createElementVNode("div",lr,t.toDisplayString(s.title),1),t.createElementVNode("div",{class:"gsc-field__title-checked__check-cont",style:t.normalizeStyle(s.widthField>=350?"min-width: 123px":"")},[(t.openBlock(),t.createBlock(r,{label:s.widthField<350?"Todas":"Todas las zonas","font-family":"Poppins-Regular","box-value-font-family":"Poppins-Regular","box-position":"right","label-font-size":s.titleFontSize,"label-white-space":"nowrap","box-margin-top":"0.4em",value:o.all,key:o.update,"model-value":o.all,"onUpdate:modelValue":n.clickAll},null,8,["label","label-font-size","value","model-value","onUpdate:modelValue"]))],4)]),t.createElementVNode("div",cr,[t.createElementVNode("div",dr,[(t.openBlock(),t.createElementBlock("svg",mr,[t.createElementVNode("rect",{x:"1.5",y:"0.5",width:"100%",height:"100%",rx:"1.5",stroke:s.colorLineField},null,8,pr),t.createElementVNode("path",{style:t.normalizeStyle("transform: translate("+n.translx+"px, "+n.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:s.colorLineField,"stroke-width":s.borderWidthLineField,"stroke-linecap":"square"},null,12,fr),t.createElementVNode("path",{style:t.normalizeStyle("transform: translateY("+n.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:s.colorLineField,"stroke-width":s.borderWidthLineField,"stroke-linecap":"square"},null,12,ur),t.createElementVNode("path",{style:t.normalizeStyle("transform: translate("+n.translxcircle+"px, "+n.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":s.borderWidthLineField,stroke:s.colorLineField},null,12,hr),t.createElementVNode("rect",{x:"0%",y:"0%",width:"25%",height:"25%",fill:o.sectors[0].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[0]||(a[0]=p=>n.selectSector(0))},null,8,yr),t.createElementVNode("rect",{x:"0%",y:"25%",width:"25%",height:"25%",fill:o.sectors[1].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[1]||(a[1]=p=>n.selectSector(1))},null,8,gr),t.createElementVNode("rect",{x:"0%",y:"50%",width:"25%",height:"25%",fill:o.sectors[2].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[2]||(a[2]=p=>n.selectSector(2))},null,8,_r),t.createElementVNode("rect",{x:"0%",y:"75%",width:"25%",height:"25%",fill:o.sectors[3].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[3]||(a[3]=p=>n.selectSector(3))},null,8,br),t.createElementVNode("rect",{x:"25%",y:"0%",width:"25%",height:"25%",fill:o.sectors[4].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[4]||(a[4]=p=>n.selectSector(4))},null,8,Tr),t.createElementVNode("rect",{x:"25%",y:"25%",width:"25%",height:"25%",fill:o.sectors[5].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[5]||(a[5]=p=>n.selectSector(5))},null,8,Sr),t.createElementVNode("rect",{x:"25%",y:"50%",width:"25%",height:"25%",fill:o.sectors[6].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[6]||(a[6]=p=>n.selectSector(6))},null,8,wr),t.createElementVNode("rect",{x:"25%",y:"75%",width:"25%",height:"25%",fill:o.sectors[7].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[7]||(a[7]=p=>n.selectSector(7))},null,8,Cr),t.createElementVNode("rect",{x:"50%",y:"0%",width:"25%",height:"25%",fill:o.sectors[8].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[8]||(a[8]=p=>n.selectSector(8))},null,8,kr),t.createElementVNode("rect",{x:"50%",y:"25%",width:"25%",height:"25%",fill:o.sectors[9].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[9]||(a[9]=p=>n.selectSector(9))},null,8,Er),t.createElementVNode("rect",{x:"50%",y:"50%",width:"25%",height:"25%",fill:o.sectors[10].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[10]||(a[10]=p=>n.selectSector(10))},null,8,Nr),t.createElementVNode("rect",{x:"50%",y:"75%",width:"25%",height:"25%",fill:o.sectors[11].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[11]||(a[11]=p=>n.selectSector(11))},null,8,Vr),t.createElementVNode("rect",{x:"75%",y:"0%",width:"25%",height:"25%",fill:o.sectors[12].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[12]||(a[12]=p=>n.selectSector(12))},null,8,Pr),t.createElementVNode("rect",{x:"75%",y:"25%",width:"25%",height:"25%",fill:o.sectors[13].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[13]||(a[13]=p=>n.selectSector(13))},null,8,xr),t.createElementVNode("rect",{x:"75%",y:"50%",width:"25%",height:"25%",fill:o.sectors[14].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[14]||(a[14]=p=>n.selectSector(14))},null,8,Fr),t.createElementVNode("rect",{x:"75%",y:"75%",width:"25%",height:"25%",fill:o.sectors[15].active?s.backgroundSectorActive:s.backgroundSectorDisabled,"fill-opacity":s.opacitySector,stroke:s.borderColor,"stroke-width":s.borderWidth,onClick:a[15]||(a[15]=p=>n.selectSector(15))},null,8,Br)]))]),t.createElementVNode("div",Rr,[(t.openBlock(),t.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:n.btn14,key:o.refreshBtn14,value:e.status14},null,8,["onStatus","value"])),(t.openBlock(),t.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:n.btn24,key:o.refreshBtn24,value:e.status24},null,8,["onStatus","value"])),(t.openBlock(),t.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:n.btn34,key:o.refreshBtn34,value:e.status34},null,8,["onStatus","value"])),(t.openBlock(),t.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:n.btn44,key:o.refreshBtn44,value:e.status44},null,8,["onStatus","value"]))])])])}const Ar=nr(gt,[["render",zr],["__scopeId","data-v-b85699b8"]]);function Ds(e,a){return function(){return e.apply(a,arguments)}}const{toString:Ir}=Object.prototype,{getPrototypeOf:_t}=Object,{iterator:Pe,toStringTag:Ms}=Symbol,xe=(e=>a=>{const s=Ir.call(a);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),W=e=>(e=e.toLowerCase(),a=>xe(a)===e),Fe=e=>a=>typeof a===e,{isArray:se}=Array,pe=Fe("undefined");function Gr(e){return e!==null&&!pe(e)&&e.constructor!==null&&!pe(e.constructor)&&I(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $s=W("ArrayBuffer");function Or(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&$s(e.buffer),a}const Lr=Fe("string"),I=Fe("function"),Us=Fe("number"),Be=e=>e!==null&&typeof e=="object",Wr=e=>e===!0||e===!1,Re=e=>{if(xe(e)!=="object")return!1;const a=_t(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Ms in e)&&!(Pe in e)},Dr=W("Date"),Mr=W("File"),$r=W("Blob"),Ur=W("FileList"),jr=e=>Be(e)&&I(e.pipe),vr=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||I(e.append)&&((a=xe(e))==="formdata"||a==="object"&&I(e.toString)&&e.toString()==="[object FormData]"))},Jr=W("URLSearchParams"),[qr,Hr,Kr,Zr]=["ReadableStream","Request","Response","Headers"].map(W),Yr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function fe(e,a,{allOwnKeys:s=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),se(e))for(i=0,o=e.length;i<o;i++)a.call(null,e[i],i,e);else{const n=s?Object.getOwnPropertyNames(e):Object.keys(e),r=n.length;let c;for(i=0;i<r;i++)c=n[i],a.call(null,e[c],c,e)}}function js(e,a){a=a.toLowerCase();const s=Object.keys(e);let i=s.length,o;for(;i-- >0;)if(o=s[i],a===o.toLowerCase())return o;return null}const Y=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,vs=e=>!pe(e)&&e!==Y;function bt(){const{caseless:e}=vs(this)&&this||{},a={},s=(i,o)=>{const n=e&&js(a,o)||o;Re(a[n])&&Re(i)?a[n]=bt(a[n],i):Re(i)?a[n]=bt({},i):se(i)?a[n]=i.slice():a[n]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&fe(arguments[i],s);return a}const Xr=(e,a,s,{allOwnKeys:i}={})=>(fe(a,(o,n)=>{s&&I(o)?e[n]=Ds(o,s):e[n]=o},{allOwnKeys:i}),e),Qr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),el=(e,a,s,i)=>{e.prototype=Object.create(a.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),s&&Object.assign(e.prototype,s)},tl=(e,a,s,i)=>{let o,n,r;const c={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),n=o.length;n-- >0;)r=o[n],(!i||i(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=s!==!1&&_t(e)}while(e&&(!s||s(e,a))&&e!==Object.prototype);return a},sl=(e,a,s)=>{e=String(e),(s===void 0||s>e.length)&&(s=e.length),s-=a.length;const i=e.indexOf(a,s);return i!==-1&&i===s},al=e=>{if(!e)return null;if(se(e))return e;let a=e.length;if(!Us(a))return null;const s=new Array(a);for(;a-- >0;)s[a]=e[a];return s},il=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&_t(Uint8Array)),nl=(e,a)=>{const s=(e&&e[Pe]).call(e);let i;for(;(i=s.next())&&!i.done;){const o=i.value;a.call(e,o[0],o[1])}},ol=(e,a)=>{let s;const i=[];for(;(s=e.exec(a))!==null;)i.push(s);return i},rl=W("HTMLFormElement"),ll=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,s,i){return s.toUpperCase()+i}),Js=(({hasOwnProperty:e})=>(a,s)=>e.call(a,s))(Object.prototype),cl=W("RegExp"),qs=(e,a)=>{const s=Object.getOwnPropertyDescriptors(e),i={};fe(s,(o,n)=>{let r;(r=a(o,n,e))!==!1&&(i[n]=r||o)}),Object.defineProperties(e,i)},dl=e=>{qs(e,(a,s)=>{if(I(e)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const i=e[s];if(I(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},ml=(e,a)=>{const s={},i=o=>{o.forEach(n=>{s[n]=!0})};return se(e)?i(e):i(String(e).split(a)),s},pl=()=>{},fl=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function ul(e){return!!(e&&I(e.append)&&e[Ms]==="FormData"&&e[Pe])}const hl=e=>{const a=new Array(10),s=(i,o)=>{if(Be(i)){if(a.indexOf(i)>=0)return;if(!("toJSON"in i)){a[o]=i;const n=se(i)?[]:{};return fe(i,(r,c)=>{const p=s(r,o+1);!pe(p)&&(n[c]=p)}),a[o]=void 0,n}}return i};return s(e,0)},yl=W("AsyncFunction"),gl=e=>e&&(Be(e)||I(e))&&I(e.then)&&I(e.catch),Hs=((e,a)=>e?setImmediate:a?((s,i)=>(Y.addEventListener("message",({source:o,data:n})=>{o===Y&&n===s&&i.length&&i.shift()()},!1),o=>{i.push(o),Y.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",I(Y.postMessage)),_l=typeof queueMicrotask<"u"?queueMicrotask.bind(Y):typeof process<"u"&&process.nextTick||Hs,bl=e=>e!=null&&I(e[Pe]),h={isArray:se,isArrayBuffer:$s,isBuffer:Gr,isFormData:vr,isArrayBufferView:Or,isString:Lr,isNumber:Us,isBoolean:Wr,isObject:Be,isPlainObject:Re,isReadableStream:qr,isRequest:Hr,isResponse:Kr,isHeaders:Zr,isUndefined:pe,isDate:Dr,isFile:Mr,isBlob:$r,isRegExp:cl,isFunction:I,isStream:jr,isURLSearchParams:Jr,isTypedArray:il,isFileList:Ur,forEach:fe,merge:bt,extend:Xr,trim:Yr,stripBOM:Qr,inherits:el,toFlatObject:tl,kindOf:xe,kindOfTest:W,endsWith:sl,toArray:al,forEachEntry:nl,matchAll:ol,isHTMLForm:rl,hasOwnProperty:Js,hasOwnProp:Js,reduceDescriptors:qs,freezeMethods:dl,toObjectSet:ml,toCamelCase:ll,noop:pl,toFiniteNumber:fl,findKey:js,global:Y,isContextDefined:vs,isSpecCompliantForm:ul,toJSONObject:hl,isAsyncFn:yl,isThenable:gl,setImmediate:Hs,asap:_l,isIterable:bl};function C(e,a,s,i,o){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),s&&(this.config=s),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}h.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:h.toJSONObject(this.config),code:this.code,status:this.status}}});const Ks=C.prototype,Zs={};["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=>{Zs[e]={value:e}}),Object.defineProperties(C,Zs),Object.defineProperty(Ks,"isAxiosError",{value:!0}),C.from=(e,a,s,i,o,n)=>{const r=Object.create(Ks);return h.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),C.call(r,e.message,a,s,i,o),r.cause=e,r.name=e.name,n&&Object.assign(r,n),r};const Tl=null;function Tt(e){return h.isPlainObject(e)||h.isArray(e)}function Ys(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function Xs(e,a,s){return e?e.concat(a).map(function(i,o){return i=Ys(i),!s&&o?"["+i+"]":i}).join(s?".":""):a}function Sl(e){return h.isArray(e)&&!e.some(Tt)}const wl=h.toFlatObject(h,{},null,function(e){return/^is[A-Z]/.test(e)});function ze(e,a,s){if(!h.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,s=h.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!h.isUndefined(y[g])});const i=s.metaTokens,o=s.visitor||d,n=s.dots,r=s.indexes,c=(s.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(a);if(!h.isFunction(o))throw new TypeError("visitor must be a function");function p(g){if(g===null)return"";if(h.isDate(g))return g.toISOString();if(!c&&h.isBlob(g))throw new C("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(g)||h.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,y,_){let b=g;if(g&&!_&&typeof g=="object"){if(h.endsWith(y,"{}"))y=i?y:y.slice(0,-2),g=JSON.stringify(g);else if(h.isArray(g)&&Sl(g)||(h.isFileList(g)||h.endsWith(y,"[]"))&&(b=h.toArray(g)))return y=Ys(y),b.forEach(function(S,T){!(h.isUndefined(S)||S===null)&&a.append(r===!0?Xs([y],T,n):r===null?y:y+"[]",p(S))}),!1}return Tt(g)?!0:(a.append(Xs(_,y,n),p(g)),!1)}const l=[],m=Object.assign(wl,{defaultVisitor:d,convertValue:p,isVisitable:Tt});function f(g,y){if(!h.isUndefined(g)){if(l.indexOf(g)!==-1)throw Error("Circular reference detected in "+y.join("."));l.push(g),h.forEach(g,function(_,b){(!(h.isUndefined(_)||_===null)&&o.call(a,_,h.isString(b)?b.trim():b,y,m))===!0&&f(_,y?y.concat(b):[b])}),l.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return f(e),a}function Qs(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return a[s]})}function St(e,a){this._pairs=[],e&&ze(e,this,a)}const ea=St.prototype;ea.append=function(e,a){this._pairs.push([e,a])},ea.toString=function(e){const a=e?function(s){return e.call(this,s,Qs)}:Qs;return this._pairs.map(function(s){return a(s[0])+"="+a(s[1])},"").join("&")};function Cl(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ta(e,a,s){if(!a)return e;const i=s&&s.encode||Cl;h.isFunction(s)&&(s={serialize:s});const o=s&&s.serialize;let n;if(o?n=o(a,s):n=h.isURLSearchParams(a)?a.toString():new St(a,s).toString(i),n){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+n}return e}class kl{constructor(){this.handlers=[]}use(a,s,i){return this.handlers.push({fulfilled:a,rejected:s,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(s){s!==null&&a(s)})}}const sa=kl,aa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},El=typeof URLSearchParams<"u"?URLSearchParams:St,Nl=typeof FormData<"u"?FormData:null,Vl=typeof Blob<"u"?Blob:null,Pl={isBrowser:!0,classes:{URLSearchParams:El,FormData:Nl,Blob:Vl},protocols:["http","https","file","blob","url","data"]},wt=typeof window<"u"&&typeof document<"u",Ct=typeof navigator=="object"&&navigator||void 0,xl=wt&&(!Ct||["ReactNative","NativeScript","NS"].indexOf(Ct.product)<0),Fl=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Bl=wt&&window.location.href||"http://localhost",Rl=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wt,hasStandardBrowserEnv:xl,hasStandardBrowserWebWorkerEnv:Fl,navigator:Ct,origin:Bl},Symbol.toStringTag,{value:"Module"})),B={...Rl,...Pl};function zl(e,a){return ze(e,new B.classes.URLSearchParams,Object.assign({visitor:function(s,i,o,n){return B.isNode&&h.isBuffer(s)?(this.append(i,s.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},a))}function Al(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Il(e){const a={},s=Object.keys(e);let i;const o=s.length;let n;for(i=0;i<o;i++)n=s[i],a[n]=e[n];return a}function ia(e){function a(s,i,o,n){let r=s[n++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),p=n>=s.length;return r=!r&&h.isArray(o)?o.length:r,p?(h.hasOwnProp(o,r)?o[r]=[o[r],i]:o[r]=i,!c):((!o[r]||!h.isObject(o[r]))&&(o[r]=[]),a(s,i,o[r],n)&&h.isArray(o[r])&&(o[r]=Il(o[r])),!c)}if(h.isFormData(e)&&h.isFunction(e.entries)){const s={};return h.forEachEntry(e,(i,o)=>{a(Al(i),o,s,0)}),s}return null}function Gl(e,a,s){if(h.isString(e))try{return(a||JSON.parse)(e),h.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(s||JSON.stringify)(e)}const kt={transitional:aa,adapter:["xhr","http","fetch"],transformRequest:[function(e,a){const s=a.getContentType()||"",i=s.indexOf("application/json")>-1,o=h.isObject(e);if(o&&h.isHTMLForm(e)&&(e=new FormData(e)),h.isFormData(e))return i?JSON.stringify(ia(e)):e;if(h.isArrayBuffer(e)||h.isBuffer(e)||h.isStream(e)||h.isFile(e)||h.isBlob(e)||h.isReadableStream(e))return e;if(h.isArrayBufferView(e))return e.buffer;if(h.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let n;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return zl(e,this.formSerializer).toString();if((n=h.isFileList(e))||s.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return ze(n?{"files[]":e}:e,r&&new r,this.formSerializer)}}return o||i?(a.setContentType("application/json",!1),Gl(e)):e}],transformResponse:[function(e){const a=this.transitional||kt.transitional,s=a&&a.forcedJSONParsing,i=this.responseType==="json";if(h.isResponse(e)||h.isReadableStream(e))return e;if(e&&h.isString(e)&&(s&&!this.responseType||i)){const o=!(a&&a.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(n){if(o)throw n.name==="SyntaxError"?C.from(n,C.ERR_BAD_RESPONSE,this,null,this.response):n}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:B.classes.FormData,Blob:B.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{kt.headers[e]={}});const Et=kt,Ol=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"]),Ll=e=>{const a={};let s,i,o;return e&&e.split(`
7
7
  `).forEach(function(n){o=n.indexOf(":"),s=n.substring(0,o).trim().toLowerCase(),i=n.substring(o+1).trim(),!(!s||a[s]&&Ol[s])&&(s==="set-cookie"?a[s]?a[s].push(i):a[s]=[i]:a[s]=a[s]?a[s]+", "+i:i)}),a},na=Symbol("internals");function ue(e){return e&&String(e).trim().toLowerCase()}function Ae(e){return e===!1||e==null?e:h.isArray(e)?e.map(Ae):String(e)}function Wl(e){const a=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=s.exec(e);)a[i[1]]=i[2];return a}const Dl=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Nt(e,a,s,i,o){if(h.isFunction(i))return i.call(this,a,s);if(o&&(a=s),!!h.isString(a)){if(h.isString(i))return a.indexOf(i)!==-1;if(h.isRegExp(i))return i.test(a)}}function Ml(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,s,i)=>s.toUpperCase()+i)}function $l(e,a){const s=h.toCamelCase(" "+a);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+s,{value:function(o,n,r){return this[i].call(this,a,o,n,r)},configurable:!0})})}class Ie{constructor(a){a&&this.set(a)}set(a,s,i){const o=this;function n(c,p,d){const l=ue(p);if(!l)throw new Error("header name must be a non-empty string");const m=h.findKey(o,l);(!m||o[m]===void 0||d===!0||d===void 0&&o[m]!==!1)&&(o[m||p]=Ae(c))}const r=(c,p)=>h.forEach(c,(d,l)=>n(d,l,p));if(h.isPlainObject(a)||a instanceof this.constructor)r(a,s);else if(h.isString(a)&&(a=a.trim())&&!Dl(a))r(Ll(a),s);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,s)}else a!=null&&n(s,a,i);return this}get(a,s){if(a=ue(a),a){const i=h.findKey(this,a);if(i){const o=this[i];if(!s)return o;if(s===!0)return Wl(o);if(h.isFunction(s))return s.call(this,o,i);if(h.isRegExp(s))return s.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,s){if(a=ue(a),a){const i=h.findKey(this,a);return!!(i&&this[i]!==void 0&&(!s||Nt(this,this[i],i,s)))}return!1}delete(a,s){const i=this;let o=!1;function n(r){if(r=ue(r),r){const c=h.findKey(i,r);c&&(!s||Nt(i,i[c],c,s))&&(delete i[c],o=!0)}}return h.isArray(a)?a.forEach(n):n(a),o}clear(a){const s=Object.keys(this);let i=s.length,o=!1;for(;i--;){const n=s[i];(!a||Nt(this,this[n],n,a,!0))&&(delete this[n],o=!0)}return o}normalize(a){const s=this,i={};return h.forEach(this,(o,n)=>{const r=h.findKey(i,n);if(r){s[r]=Ae(o),delete s[n];return}const c=a?Ml(n):String(n).trim();c!==n&&delete s[n],s[c]=Ae(o),i[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const s=Object.create(null);return h.forEach(this,(i,o)=>{i!=null&&i!==!1&&(s[o]=a&&h.isArray(i)?i.join(", "):i)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,s])=>a+": "+s).join(`
8
8
  `)}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,...s){const i=new this(a);return s.forEach(o=>i.set(o)),i}static accessor(a){const s=(this[na]=this[na]={accessors:{}}).accessors,i=this.prototype;function o(n){const r=ue(n);s[r]||($l(i,n),s[r]=!0)}return h.isArray(a)?a.forEach(o):o(a),this}}Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),h.reduceDescriptors(Ie.prototype,({value:e},a)=>{let s=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(i){this[s]=i}}}),h.freezeMethods(Ie);const D=Ie;function Vt(e,a){const s=this||Et,i=a||s,o=D.from(i.headers);let n=i.data;return h.forEach(e,function(r){n=r.call(s,n,o.normalize(),a?a.status:void 0)}),o.normalize(),n}function oa(e){return!!(e&&e.__CANCEL__)}function ae(e,a,s){C.call(this,e??"canceled",C.ERR_CANCELED,a,s),this.name="CanceledError"}h.inherits(ae,C,{__CANCEL__:!0});function ra(e,a,s){const i=s.config.validateStatus;!s.status||!i||i(s.status)?e(s):a(new C("Request failed with status code "+s.status,[C.ERR_BAD_REQUEST,C.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}function Ul(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function jl(e,a){e=e||10;const s=new Array(e),i=new Array(e);let o=0,n=0,r;return a=a!==void 0?a:1e3,function(c){const p=Date.now(),d=i[n];r||(r=p),s[o]=c,i[o]=p;let l=n,m=0;for(;l!==o;)m+=s[l++],l=l%e;if(o=(o+1)%e,o===n&&(n=(n+1)%e),p-r<a)return;const f=d&&p-d;return f?Math.round(m*1e3/f):void 0}}function vl(e,a){let s=0,i=1e3/a,o,n;const r=(c,p=Date.now())=>{s=p,o=null,n&&(clearTimeout(n),n=null),e.apply(null,c)};return[(...c)=>{const p=Date.now(),d=p-s;d>=i?r(c,p):(o=c,n||(n=setTimeout(()=>{n=null,r(o)},i-d)))},()=>o&&r(o)]}const Ge=(e,a,s=3)=>{let i=0;const o=jl(50,250);return vl(n=>{const r=n.loaded,c=n.lengthComputable?n.total:void 0,p=r-i,d=o(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:n,lengthComputable:c!=null,[a?"download":"upload"]:!0};e(m)},s)},la=(e,a)=>{const s=e!=null;return[i=>a[0]({lengthComputable:s,total:e,loaded:i}),a[1]]},ca=e=>(...a)=>h.asap(()=>e(...a)),Jl=B.hasStandardBrowserEnv?((e,a)=>s=>(s=new URL(s,B.origin),e.protocol===s.protocol&&e.host===s.host&&(a||e.port===s.port)))(new URL(B.origin),B.navigator&&/(msie|trident)/i.test(B.navigator.userAgent)):()=>!0,ql=B.hasStandardBrowserEnv?{write(e,a,s,i,o,n){const r=[e+"="+encodeURIComponent(a)];h.isNumber(s)&&r.push("expires="+new Date(s).toGMTString()),h.isString(i)&&r.push("path="+i),h.isString(o)&&r.push("domain="+o),n===!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 Hl(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Kl(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function da(e,a,s){let i=!Hl(a);return e&&(i||s==!1)?Kl(e,a):a}const ma=e=>e instanceof D?{...e}:e;function X(e,a){a=a||{};const s={};function i(d,l,m,f){return h.isPlainObject(d)&&h.isPlainObject(l)?h.merge.call({caseless:f},d,l):h.isPlainObject(l)?h.merge({},l):h.isArray(l)?l.slice():l}function o(d,l,m,f){if(h.isUndefined(l)){if(!h.isUndefined(d))return i(void 0,d,m,f)}else return i(d,l,m,f)}function n(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:n,method:n,data:n,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)=>o(ma(d),ma(l),m,!0)};return h.forEach(Object.keys(Object.assign({},e,a)),function(d){const l=p[d]||o,m=l(e[d],a[d],d);h.isUndefined(m)&&l!==c||(s[d]=m)}),s}const pa=e=>{const a=X({},e);let{data:s,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:n,headers:r,auth:c}=a;a.headers=r=D.from(r),a.url=ta(da(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(h.isFormData(s)){if(B.hasStandardBrowserEnv||B.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(B.hasStandardBrowserEnv&&(i&&h.isFunction(i)&&(i=i(a)),i||i!==!1&&Jl(a.url))){const d=o&&n&&ql.read(n);d&&r.set(o,d)}return a},Zl=typeof XMLHttpRequest<"u",Yl=Zl&&function(e){return new Promise(function(a,s){const i=pa(e);let o=i.data;const n=D.from(i.headers).normalize();let{responseType:r,onUploadProgress:c,onDownloadProgress:p}=i,d,l,m,f,g;function y(){f&&f(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let _=new XMLHttpRequest;_.open(i.method.toUpperCase(),i.url,!0),_.timeout=i.timeout;function b(){if(!_)return;const T=D.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),k={data:!r||r==="text"||r==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:T,config:e,request:_};ra(function(P){a(P),y()},function(P){s(P),y()},k),_=null}"onloadend"in _?_.onloadend=b:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(b)},_.onabort=function(){_&&(s(new C("Request aborted",C.ECONNABORTED,e,_)),_=null)},_.onerror=function(){s(new C("Network Error",C.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const k=i.transitional||aa;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),s(new C(T,k.clarifyTimeoutError?C.ETIMEDOUT:C.ECONNABORTED,e,_)),_=null},o===void 0&&n.setContentType(null),"setRequestHeader"in _&&h.forEach(n.toJSON(),function(T,k){_.setRequestHeader(k,T)}),h.isUndefined(i.withCredentials)||(_.withCredentials=!!i.withCredentials),r&&r!=="json"&&(_.responseType=i.responseType),p&&([m,g]=Ge(p,!0),_.addEventListener("progress",m)),c&&_.upload&&([l,f]=Ge(c),_.upload.addEventListener("progress",l),_.upload.addEventListener("loadend",f)),(i.cancelToken||i.signal)&&(d=T=>{_&&(s(!T||T.type?new ae(null,e,_):T),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const S=Ul(i.url);if(S&&B.protocols.indexOf(S)===-1){s(new C("Unsupported protocol "+S+":",C.ERR_BAD_REQUEST,e));return}_.send(o||null)})},Xl=(e,a)=>{const{length:s}=e=e?e.filter(Boolean):[];if(a||s){let i=new AbortController,o;const n=function(d){if(!o){o=!0,c();const l=d instanceof Error?d:this.reason;i.abort(l instanceof C?l:new ae(l instanceof Error?l.message:l))}};let r=a&&setTimeout(()=>{r=null,n(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(n):d.removeEventListener("abort",n)}),e=null)};e.forEach(d=>d.addEventListener("abort",n));const{signal:p}=i;return p.unsubscribe=()=>h.asap(c),p}},Ql=Xl,ec=function*(e,a){let s=e.byteLength;if(s<a){yield e;return}let i=0,o;for(;i<s;)o=i+a,yield e.slice(i,o),i=o},tc=async function*(e,a){for await(const s of sc(e))yield*ec(s,a)},sc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:s,value:i}=await a.read();if(s)break;yield i}}finally{await a.cancel()}},fa=(e,a,s,i)=>{const o=tc(e,a);let n=0,r,c=p=>{r||(r=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:d,value:l}=await o.next();if(d){c(),p.close();return}let m=l.byteLength;if(s){let f=n+=m;s(f)}p.enqueue(new Uint8Array(l))}catch(d){throw c(d),d}},cancel(p){return c(p),o.return()}},{highWaterMark:2})},Oe=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ua=Oe&&typeof ReadableStream=="function",ac=Oe&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ha=(e,...a)=>{try{return!!e(...a)}catch{return!1}},ic=ua&&ha(()=>{let e=!1;const a=new Request(B.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!a}),ya=64*1024,Pt=ua&&ha(()=>h.isReadableStream(new Response("").body)),Le={stream:Pt&&(e=>e.body)};Oe&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!Le[a]&&(Le[a]=h.isFunction(e[a])?s=>s[a]():(s,i)=>{throw new C(`Response type '${a}' is not supported`,C.ERR_NOT_SUPPORT,i)})})})(new Response);const nc=async e=>{if(e==null)return 0;if(h.isBlob(e))return e.size;if(h.isSpecCompliantForm(e))return(await new Request(B.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(h.isArrayBufferView(e)||h.isArrayBuffer(e))return e.byteLength;if(h.isURLSearchParams(e)&&(e=e+""),h.isString(e))return(await ac(e)).byteLength},oc=async(e,a)=>h.toFiniteNumber(e.getContentLength())??nc(a),rc=Oe&&(async e=>{let{url:a,method:s,data:i,signal:o,cancelToken:n,timeout:r,onDownloadProgress:c,onUploadProgress:p,responseType:d,headers:l,withCredentials:m="same-origin",fetchOptions:f}=pa(e);d=d?(d+"").toLowerCase():"text";let g=Ql([o,n&&n.toAbortSignal()],r),y;const _=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let b;try{if(p&&ic&&s!=="get"&&s!=="head"&&(b=await oc(l,i))!==0){let N=new Request(a,{method:"POST",body:i,duplex:"half"}),x;if(h.isFormData(i)&&(x=N.headers.get("content-type"))&&l.setContentType(x),N.body){const[O,j]=la(b,Ge(ca(p)));i=fa(N.body,ya,O,j)}}h.isString(m)||(m=m?"include":"omit");const S="credentials"in Request.prototype;y=new Request(a,{...f,signal:g,method:s.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:S?m:void 0});let T=await fetch(y);const k=Pt&&(d==="stream"||d==="response");if(Pt&&(c||k&&_)){const N={};["status","statusText","headers"].forEach(he=>{N[he]=T[he]});const x=h.toFiniteNumber(T.headers.get("content-length")),[O,j]=c&&la(x,Ge(ca(c),!0))||[];T=new Response(fa(T.body,ya,O,()=>{j&&j(),_&&_()}),N)}d=d||"text";let P=await Le[h.findKey(Le,d)||"text"](T,e);return!k&&_&&_(),await new Promise((N,x)=>{ra(N,x,{data:P,headers:D.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:y})})}catch(S){throw _&&_(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new C("Network Error",C.ERR_NETWORK,e,y),{cause:S.cause||S}):C.from(S,S&&S.code,e,y)}}),xt={http:Tl,xhr:Yl,fetch:rc};h.forEach(xt,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const ga=e=>`- ${e}`,lc=e=>h.isFunction(e)||e===null||e===!1,_a={getAdapter:e=>{e=h.isArray(e)?e:[e];const{length:a}=e;let s,i;const o={};for(let n=0;n<a;n++){s=e[n];let r;if(i=s,!lc(s)&&(i=xt[(r=String(s)).toLowerCase()],i===void 0))throw new C(`Unknown adapter '${r}'`);if(i)break;o[r||"#"+n]=i}if(!i){const n=Object.entries(o).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build"));let r=a?n.length>1?`since :
9
9
  `+n.map(ga).join(`
10
10
  `):" "+ga(n[0]):"as no adapter specified";throw new C("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return i},adapters:xt};function Ft(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ae(null,e)}function ba(e){return Ft(e),e.headers=D.from(e.headers),e.data=Vt.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_a.getAdapter(e.adapter||Et.adapter)(e).then(function(a){return Ft(e),a.data=Vt.call(e,e.transformResponse,a),a.headers=D.from(a.headers),a},function(a){return oa(a)||(Ft(e),a&&a.response&&(a.response.data=Vt.call(e,e.transformResponse,a.response),a.response.headers=D.from(a.response.headers))),Promise.reject(a)})}const Ta="1.9.0",We={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{We[e]=function(s){return typeof s===e||"a"+(a<1?"n ":" ")+e}});const Sa={};We.transitional=function(e,a,s){function i(o,n){return"[Axios v"+Ta+"] Transitional option '"+o+"'"+n+(s?". "+s:"")}return(o,n,r)=>{if(e===!1)throw new C(i(n," has been removed"+(a?" in "+a:"")),C.ERR_DEPRECATED);return a&&!Sa[n]&&(Sa[n]=!0,console.warn(i(n," has been deprecated since v"+a+" and will be removed in the near future"))),e?e(o,n,r):!0}},We.spelling=function(e){return(a,s)=>(console.warn(`${s} is likely a misspelling of ${e}`),!0)};function cc(e,a,s){if(typeof e!="object")throw new C("options must be an object",C.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const n=i[o],r=a[n];if(r){const c=e[n],p=c===void 0||r(c,n,e);if(p!==!0)throw new C("option "+n+" must be "+p,C.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new C("Unknown option "+n,C.ERR_BAD_OPTION)}}const De={assertOptions:cc,validators:We},$=De.validators;class Me{constructor(a){this.defaults=a||{},this.interceptors={request:new sa,response:new sa}}async request(a,s){try{return await this._request(a,s)}catch(i){if(i instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const n=o.stack?o.stack.replace(/^.+\n/,""):"";try{i.stack?n&&!String(i.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(i.stack+=`
11
- `+n):i.stack=n}catch{}}throw i}}_request(a,s){typeof a=="string"?(s=s||{},s.url=a):s=a||{},s=X(this.defaults,s);const{transitional:i,paramsSerializer:o,headers:n}=s;i!==void 0&&De.assertOptions(i,{silentJSONParsing:$.transitional($.boolean),forcedJSONParsing:$.transitional($.boolean),clarifyTimeoutError:$.transitional($.boolean)},!1),o!=null&&(h.isFunction(o)?s.paramsSerializer={serialize:o}:De.assertOptions(o,{encode:$.function,serialize:$.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),De.assertOptions(s,{baseUrl:$.spelling("baseURL"),withXsrfToken:$.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let r=n&&h.merge(n.common,n[s.method]);n&&h.forEach(["delete","get","head","post","put","patch","common"],y=>{delete n[y]}),s.headers=D.concat(r,n);const c=[];let p=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(s)===!1||(p=p&&y.synchronous,c.unshift(y.fulfilled,y.rejected))});const d=[];this.interceptors.response.forEach(function(y){d.push(y.fulfilled,y.rejected)});let l,m=0,f;if(!p){const y=[ba.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),f=y.length,l=Promise.resolve(s);m<f;)l=l.then(y[m++],y[m++]);return l}f=c.length;let g=s;for(m=0;m<f;){const y=c[m++],_=c[m++];try{g=y(g)}catch(b){_.call(this,b);break}}try{l=ba.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,f=d.length;m<f;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=X(this.defaults,a);const s=da(a.baseURL,a.url,a.allowAbsoluteUrls);return ta(s,a.params,a.paramsSerializer)}}h.forEach(["delete","get","head","options"],function(e){Me.prototype[e]=function(a,s){return this.request(X(s||{},{method:e,url:a,data:(s||{}).data}))}}),h.forEach(["post","put","patch"],function(e){function a(s){return function(i,o,n){return this.request(X(n||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Me.prototype[e]=a(),Me.prototype[e+"Form"]=a(!0)});const $e=Me;class Bt{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(o){s=o});const i=this;this.promise.then(o=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](o);i._listeners=null}),this.promise.then=o=>{let n;const r=new Promise(c=>{i.subscribe(c),n=c}).then(o);return r.cancel=function(){i.unsubscribe(n)},r},a(function(o,n,r){i.reason||(i.reason=new ae(o,n,r),s(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 s=this._listeners.indexOf(a);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const a=new AbortController,s=i=>{a.abort(i)};return this.subscribe(s),a.signal.unsubscribe=()=>this.unsubscribe(s),a.signal}static source(){let a;return{token:new Bt(function(s){a=s}),cancel:a}}}const dc=Bt;function mc(e){return function(a){return e.apply(null,a)}}function pc(e){return h.isObject(e)&&e.isAxiosError===!0}const Rt={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(Rt).forEach(([e,a])=>{Rt[a]=e});const fc=Rt;function wa(e){const a=new $e(e),s=Ds($e.prototype.request,a);return h.extend(s,$e.prototype,a,{allOwnKeys:!0}),h.extend(s,a,null,{allOwnKeys:!0}),s.create=function(i){return wa(X(e,i))},s}const V=wa(Et);V.Axios=$e,V.CanceledError=ae,V.CancelToken=dc,V.isCancel=oa,V.VERSION=Ta,V.toFormData=ze,V.AxiosError=C,V.Cancel=V.CanceledError,V.all=function(e){return Promise.all(e)},V.spread=mc,V.isAxiosError=pc,V.mergeConfig=X,V.AxiosHeaders=D,V.formToJSON=e=>ia(h.isHTMLForm(e)?new FormData(e):e),V.getAdapter=_a.getAdapter,V.HttpStatusCode=fc,V.default=V,Array.from({length:30},(e,a)=>1981+a).sort((e,a)=>a-e);const uc={__name:"SwitchCustom",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:a}){const s=e,i=t.ref(null);t.watch(()=>s.modelValue,()=>{o()},{immediate:!0});function o(){i.value&&(i.value.checked=s.modelValue)}function n(r){a("update:modelValue",r.target.checked)}return t.onMounted(()=>{o()}),(r,c)=>(t.openBlock(),t.createElementBlock("input",{ref_key:"switchCustom",ref:i,id:"toggle",class:"toggle",type:"checkbox",role:"switch",name:"toggle",onInput:n},null,544))}},zt=A(uc,[["__scopeId","data-v-e3a6ae4e"]]),hc={__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 s=e,i=t.computed(()=>({"--height":s.height,"--width":s.width,"--padding":s.padding,"--border-radius":s.borderRadius,"--border":`solid ${s.borderWidth} ${s.borderColor}`,"--background-color":s.backgroundColor,"--font-color":s.fontColor,"--font-size":s.fontSize,"--font-family":s.fontFamily,"--active-background-color":s.activeBackgroundColor||s.backgroundColor,"--active-border-color":s.activeBorderColor||s.borderColor,"--active-font-color":s.activeFontColor||s.fontColor}));function o(){a("click")}return(n,r)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["button",{active:e.isActive}]),style:t.normalizeStyle(i.value),onClick:o},t.toDisplayString(e.text),7))}},Ue=A(hc,[["__scopeId","data-v-9688933e"]]),yc={class:"dropdown"},gc={class:"selected-item"},_c={__name:"DropdownTextOnly",props:{items:{type:Array,default:()=>[]},itemTextKey:{type:String,default:""},isListSameWidth:{type:Boolean,default:!0}},emits:["input"],setup(e,{emit:a}){function s(i){a("input",i)}return(i,o)=>(t.openBlock(),t.createElementBlock("div",yc,[t.createVNode(t.unref(ut),t.mergeProps(t.unref(ht),{"is-list-same-width":e.isListSameWidth,items:e.items,onInput:s}),{default:t.withCtx(({selectedItem:n})=>[t.createElementVNode("div",gc,t.toDisplayString(e.itemTextKey?n[e.itemTextKey]:n),1)]),availableItem:t.withCtx(({item:n})=>[t.createElementVNode("div",null,t.toDisplayString(e.itemTextKey?n[e.itemTextKey]:n),1)]),_:1},16,["is-list-same-width","items"])]))}},G=A(_c,[["__scopeId","data-v-064d5f86"]]),bc={class:"dropdown"},Tc={class:"game-item"},Sc={key:0,class:"item-game"},wc={class:"match-day"},Cc={class:"team-logo"},kc=["src"],Ec={class:"text"},Nc={class:"text score"},Vc={class:"text"},Pc={class:"team-logo"},xc=["src"],Fc={class:"item-game"},Bc={class:"team-logo"},Rc=["src"],zc={class:"text"},Ac={class:"text score"},Ic={class:"text"},Gc={class:"team-logo"},Oc=["src"],Lc={__name:"DropdownGame",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function s(i){a("input",i)}return(i,o)=>(t.openBlock(),t.createElementBlock("div",bc,[t.createVNode(t.unref(ut),t.mergeProps(t.unref(ht),{items:e.items,onInput:s}),{default:t.withCtx(({selectedItem:n})=>[t.createElementVNode("div",Tc,[n.homeTeam?(t.openBlock(),t.createElementBlock("div",Sc,[t.createElementVNode("div",wc,t.toDisplayString(n.roundAbbreviation),1),t.createElementVNode("div",Cc,[t.createElementVNode("img",{src:n.homeTeam.logo,alt:""},null,8,kc)]),t.createElementVNode("div",Ec,t.toDisplayString(n.homeTeam.acronym),1),t.createElementVNode("div",Nc,t.toDisplayString(n.score[0])+" - "+t.toDisplayString(n.score[1]),1),t.createElementVNode("div",Vc,t.toDisplayString(n.awayTeam.acronym),1),t.createElementVNode("div",Pc,[t.createElementVNode("img",{src:n.awayTeam.logo,alt:""},null,8,xc)])])):t.createCommentVNode("",!0)])]),availableItem:t.withCtx(({item:n})=>[t.createElementVNode("div",Fc,[t.createElementVNode("div",null,t.toDisplayString(n.roundAbbreviation),1),t.createElementVNode("div",Bc,[t.createElementVNode("img",{src:n.homeTeam.logo,alt:""},null,8,Rc)]),t.createElementVNode("div",zc,t.toDisplayString(n.homeTeam.acronym),1),t.createElementVNode("div",Ac,t.toDisplayString(n.score[0])+" - "+t.toDisplayString(n.score[1]),1),t.createElementVNode("div",Ic,t.toDisplayString(n.awayTeam.acronym),1),t.createElementVNode("div",Gc,[t.createElementVNode("img",{src:n.awayTeam.logo,alt:""},null,8,Oc)])])]),_:1},16,["items"])]))}},je=A(Lc,[["__scopeId","data-v-7883a91e"]]),ve=e=>(t.pushScopeId("data-v-b63e9c84"),e=e(),t.popScopeId(),e),Wc={class:"container"},Dc={class:"container__row"},Mc={class:"container__row__wrapper"},$c=ve(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Uc={class:"container__row__wrapper__input"},jc={class:"container__row two-items"},vc={class:"container__row__wrapper"},Jc=ve(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),qc={key:0,class:"container__row__wrapper__input"},Hc={class:"container__row__wrapper"},Kc=ve(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),Zc={key:0,class:"container__row__wrapper__input"},Yc={class:"container__row"},Xc={class:"container__row__wrapper"},Qc=ve(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),ed={key:0,class:"container__row__wrapper__input"},td={class:"container__action"},sd={__name:"VideosGoals",props:{tournaments:{type:Array,required:!0}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const s={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},i=t.ref(null),o=t.ref(null),n=t.ref(null),r=t.ref(null);function c(m){i.value=m,a("update:tournament",m)}function p(m){o.value=m,a("update:season",m)}function d(m){n.value=m}function l(m){r.value=m}return(m,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Wc,[t.createElementVNode("div",Dc,[t.createElementVNode("div",Mc,[$c,t.createElementVNode("div",Uc,[t.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:c},null,8,["items"])])])]),t.createElementVNode("div",jc,[t.createElementVNode("div",vc,[Jc,i.value&&i.value.seasons?(t.openBlock(),t.createElementBlock("div",qc,[t.createVNode(G,{items:i.value.seasons,itemTextKey:"name",onInput:p},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Hc,[Kc,o.value&&o.value.arrayMatchDays?(t.openBlock(),t.createElementBlock("div",Zc,[t.createVNode(G,{items:o.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:d},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Yc,[t.createElementVNode("div",Xc,[Qc,n.value&&n.value.arrayGames?(t.openBlock(),t.createElementBlock("div",ed,[t.createVNode(je,{items:n.value.arrayGames,onInput:l},null,8,["items"])])):t.createCommentVNode("",!0)])])]),t.createElementVNode("div",td,[t.createVNode(Ue,t.normalizeProps(t.guardReactiveProps(s)),null,16)])],64))}},ad=A(sd,[["__scopeId","data-v-b63e9c84"]]),id={class:"dropdown"},nd={class:"item-team"},od={class:"team-logo"},rd=["src"],ld={class:"team-acronym"},cd={class:"item-team"},dd={class:"team-logo"},md=["src"],pd={class:"team-acronym"},fd={__name:"DropdownTeam",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function s(i){a("input",i)}return(i,o)=>(t.openBlock(),t.createElementBlock("div",id,[t.createVNode(t.unref(ut),t.mergeProps(t.unref(ht),{items:e.items,onInput:s}),{default:t.withCtx(({selectedItem:n})=>[t.createElementVNode("div",nd,[t.createElementVNode("div",od,[t.createElementVNode("img",{src:n.logo,alt:""},null,8,rd)]),t.createElementVNode("div",ld,t.toDisplayString(n.acronym),1)])]),availableItem:t.withCtx(({item:n})=>[t.createElementVNode("div",cd,[t.createElementVNode("div",dd,[t.createElementVNode("img",{src:n.logo,alt:""},null,8,md)]),t.createElementVNode("div",pd,t.toDisplayString(n.acronym),1)])]),_:1},16,["items"])]))}},Ca=A(fd,[["__scopeId","data-v-afd2bee8"]]),ud={class:"advanced-filters"},hd={class:"advanced-filters__buttons"},yd=["onClick"],gd={class:"advanced-filters__filters"},_d={__name:"AdvancedFilters",props:{selectedCategory:{type:Object,default:()=>({})}},setup(e){const a=e,s=t.defineAsyncComponent(()=>Promise.resolve().then(()=>dp)),i=t.defineAsyncComponent(()=>Promise.resolve().then(()=>Pp)),o=t.defineAsyncComponent(()=>Promise.resolve().then(()=>Fp)),n=[{name:"Sub categorías",component:s},{name:"Cancha",component:o},{name:"Condiciones",component:i}],r=t.ref(n[0]),c=t.computed(()=>a.selectedCategory?a.selectedCategory.subcategoryGroups||[]:[]);function p(d){r.value=d}return(d,l)=>(t.openBlock(),t.createElementBlock("div",ud,[t.createElementVNode("div",hd,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,m=>t.createElementVNode("div",{key:m.name,role:"button",class:t.normalizeClass(["advanced-filters__buttons__button",{active:r.value.name===m.name}]),onClick:f=>p(m)},t.toDisplayString(m.name),11,yd)),64))]),t.createElementVNode("div",gd,[(t.openBlock(),t.createBlock(t.KeepAlive,null,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.value.component),{"subcategory-groups":c.value},null,8,["subcategory-groups"]))],1024))])]))}},At=A(_d,[["__scopeId","data-v-c62c5b9c"]]),Q=e=>(t.pushScopeId("data-v-575b26b5"),e=e(),t.popScopeId(),e),bd={class:"container"},Td={class:"container__row"},Sd={class:"container__row__wrapper"},wd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Cd={class:"container__row__wrapper__input"},kd={class:"container__row two-items"},Ed={class:"container__row__wrapper"},Nd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Vd={key:0,class:"container__row__wrapper__input"},Pd={class:"container__row__wrapper"},xd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. En que equipo juega?",-1)),Fd={key:0,class:"container__row__wrapper__input"},Bd={class:"container__row"},Rd={class:"container__row__wrapper"},zd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Nombre del jugador",-1)),Ad={key:0,class:"container__row__wrapper__input"},Id={class:"container__row"},Gd={class:"container__row__wrapper"},Od=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el partido",-1)),Ld={key:0,class:"container__row__wrapper__input"},Wd={class:"container__row type-and-advanced"},Dd={class:"container__row__wrapper"},Md=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),$d={class:"container__row__wrapper__input"},Ud={class:"container__row__wrapper center"},jd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),vd={class:"container__row__wrapper__input"},Jd={class:"container__row"},qd={class:"container__action"},Hd={__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 s=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=t.ref(null),n=t.ref(null);t.ref(null);const r=t.ref(null),c=t.ref(null),p=t.ref(null),d=t.ref(null),l=t.ref(!0),m=t.computed(()=>p.value?p.value.position_id===1?s.advancedFilterCategories.goalkeeper:s.advancedFilterCategories.player:[]);function f(T){o.value=T,a("update:tournament",T)}function g(T){n.value=T,a("update:season",T)}function y(T){c.value=T,a("update:team",T)}function _(T){p.value=T}function b(T){r.value=T}function S(T){d.value=T}return(T,k)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",bd,[t.createElementVNode("div",Td,[t.createElementVNode("div",Sd,[wd,t.createElementVNode("div",Cd,[t.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:f},null,8,["items"])])])]),t.createElementVNode("div",kd,[t.createElementVNode("div",Ed,[Nd,o.value&&o.value.seasons?(t.openBlock(),t.createElementBlock("div",Vd,[t.createVNode(G,{items:o.value.seasons,itemTextKey:"name",onInput:g},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Pd,[xd,n.value&&n.value.arrayTeams?(t.openBlock(),t.createElementBlock("div",Fd,[t.createVNode(Ca,{items:n.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:y},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Bd,[t.createElementVNode("div",Rd,[zd,c.value&&c.value.arrayPlayers?(t.openBlock(),t.createElementBlock("div",Ad,[t.createVNode(G,{items:c.value.arrayPlayers,itemTextKey:"player_name",onInput:_},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Id,[t.createElementVNode("div",Gd,[Od,n.value&&n.value.mapGamesByTeam&&c.value?(t.openBlock(),t.createElementBlock("div",Ld,[t.createVNode(je,{items:n.value.mapGamesByTeam.get(c.value.team_id),onInput:b},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Wd,[t.createElementVNode("div",Dd,[Md,t.createElementVNode("div",$d,[t.createVNode(G,{items:m.value,itemTextKey:"name","is-list-same-width":!1,onInput:S},null,8,["items"])])]),t.createElementVNode("div",Ud,[jd,t.createElementVNode("div",vd,[t.createVNode(zt,{modelValue:l.value,"onUpdate:modelValue":k[0]||(k[0]=P=>l.value=P)},null,8,["modelValue"])])])]),t.createElementVNode("div",Jd,[t.createVNode(At,{"selected-category":d.value},null,8,["selected-category"])])]),t.createElementVNode("div",qd,[t.createVNode(Ue,t.normalizeProps(t.guardReactiveProps(i)),null,16)])],64))}},Kd=A(Hd,[["__scopeId","data-v-575b26b5"]]),ie=e=>(t.pushScopeId("data-v-6d73d5e6"),e=e(),t.popScopeId(),e),Zd={class:"container"},Yd={class:"container__row"},Xd={class:"container__row__wrapper"},Qd=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),em={class:"container__row__wrapper__input"},tm={class:"container__row two-items"},sm={class:"container__row__wrapper"},am=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),im={key:0,class:"container__row__wrapper__input"},nm={class:"container__row__wrapper"},om=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige el equipo",-1)),rm={key:0,class:"container__row__wrapper__input"},lm={class:"container__row"},cm={class:"container__row__wrapper"},dm=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),mm={key:0,class:"container__row__wrapper__input"},pm={class:"container__row type-and-advanced"},fm={class:"container__row__wrapper"},um=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el tipo de video",-1)),hm={class:"container__row__wrapper__input"},ym={class:"container__row__wrapper center"},gm=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),_m={class:"container__row__wrapper__input"},bm={class:"container__row"},Tm={class:"container__action"},Sm={__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 s=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=t.ref(null),n=t.ref(null);t.ref(null);const r=t.ref(null),c=t.ref(null),p=t.ref(null),d=t.ref(!0),l=t.computed(()=>s.advancedFilterCategories.team);function m(b){o.value=b,a("update:tournament",b)}function f(b){n.value=b,a("update:season",b)}function g(b){c.value=b,a("update:team",b)}function y(b){r.value=b}function _(b){p.value=b}return(b,S)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Zd,[t.createElementVNode("div",Yd,[t.createElementVNode("div",Xd,[Qd,t.createElementVNode("div",em,[t.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),t.createElementVNode("div",tm,[t.createElementVNode("div",sm,[am,o.value&&o.value.seasons?(t.openBlock(),t.createElementBlock("div",im,[t.createVNode(G,{items:o.value.seasons,itemTextKey:"name",onInput:f},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",nm,[om,n.value&&n.value.arrayTeams?(t.openBlock(),t.createElementBlock("div",rm,[t.createVNode(Ca,{items:n.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:g},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",lm,[t.createElementVNode("div",cm,[dm,n.value&&n.value.mapGamesByTeam&&c.value?(t.openBlock(),t.createElementBlock("div",mm,[t.createVNode(je,{items:n.value.mapGamesByTeam.get(c.value.team_id),onInput:y},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",pm,[t.createElementVNode("div",fm,[um,t.createElementVNode("div",hm,[t.createVNode(G,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:_},null,8,["items"])])]),t.createElementVNode("div",ym,[gm,t.createElementVNode("div",_m,[t.createVNode(zt,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),t.createElementVNode("div",bm,[t.createVNode(At,{"selected-category":p.value},null,8,["selected-category"])])]),t.createElementVNode("div",Tm,[t.createVNode(Ue,t.normalizeProps(t.guardReactiveProps(i)),null,16)])],64))}},wm=A(Sm,[["__scopeId","data-v-6d73d5e6"]]),ne=e=>(t.pushScopeId("data-v-6e904db8"),e=e(),t.popScopeId(),e),Cm={class:"container"},km={class:"container__row"},Em={class:"container__row__wrapper"},Nm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Vm={class:"container__row__wrapper__input"},Pm={class:"container__row two-items"},xm={class:"container__row__wrapper"},Fm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Bm={key:0,class:"container__row__wrapper__input"},Rm={class:"container__row__wrapper"},zm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),Am={key:0,class:"container__row__wrapper__input"},Im={class:"container__row"},Gm={class:"container__row__wrapper"},Om=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),Lm={key:0,class:"container__row__wrapper__input"},Wm={class:"container__row type-and-advanced"},Dm={class:"container__row__wrapper"},Mm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),$m={class:"container__row__wrapper__input"},Um={class:"container__row__wrapper center"},jm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),vm={class:"container__row__wrapper__input",style:{width:"fit-content"}},Jm={class:"container__row"},qm={class:"container__action"},Hm={__name:"VideosGame",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({games:[]})}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const s=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=t.ref(null),n=t.ref(null),r=t.ref(null),c=t.ref(null),p=t.ref(null),d=t.ref(!0),l=t.computed(()=>s.advancedFilterCategories.games);function m(b){o.value=b,a("update:tournament",b)}function f(b){n.value=b,a("update:season",b)}function g(b){r.value=b}function y(b){c.value=b}function _(b){p.value=b}return(b,S)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Cm,[t.createElementVNode("div",km,[t.createElementVNode("div",Em,[Nm,t.createElementVNode("div",Vm,[t.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),t.createElementVNode("div",Pm,[t.createElementVNode("div",xm,[Fm,o.value&&o.value.seasons?(t.openBlock(),t.createElementBlock("div",Bm,[t.createVNode(G,{items:o.value.seasons,itemTextKey:"name",onInput:f},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Rm,[zm,n.value&&n.value.arrayMatchDays?(t.openBlock(),t.createElementBlock("div",Am,[t.createVNode(G,{items:n.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:g},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Im,[t.createElementVNode("div",Gm,[Om,r.value&&r.value.arrayGames?(t.openBlock(),t.createElementBlock("div",Lm,[t.createVNode(je,{items:r.value.arrayGames,onInput:y},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Wm,[t.createElementVNode("div",Dm,[Mm,t.createElementVNode("div",$m,[t.createVNode(G,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:_},null,8,["items"])])]),t.createElementVNode("div",Um,[jm,t.createElementVNode("div",vm,[t.createVNode(zt,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),t.createElementVNode("div",Jm,[t.createVNode(At,{"selected-category":p.value},null,8,["selected-category"])])]),t.createElementVNode("div",qm,[t.createVNode(Ue,t.normalizeProps(t.guardReactiveProps(i)),null,16)])],64))}},Km=A(Hm,[["__scopeId","data-v-6e904db8"]]);t.defineComponent({name:"TemplateVideos",components:{VideosGoals:ad,VideosPlayer:Kd,VideosTeam:wm,VideosGame:Km}}),Array.from({length:24},(e,a)=>a+1),U(2,It()),U(2,It()),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 It(){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 ka(){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?ka():It(),destiny_zones:a||ka(),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 Zm(){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 Ym={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"},Xm=t.ref(Zm()),Qm={components:{GSCTopCategory:no},computed:{...Ki.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{...Xm.value}}},props:{timeLiveComparativeAvanced:{type:Number,default:6e4},currentSeasonId:{type:Number,default:0},type:{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}},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=t.ref("myDivRefTopsFull"),{elementSize:a}=de(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:go,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(","),s=a[0].split(" "),i=a[1].trim().split(" "),o="";s.length==2||s.length==1?s[0].length<4?o=s[0]+" "+s[1]:o=s[0]:s.length==3?o=s[0]+" "+s[1]:s.length==4&&(o=s[1]+" "+s[2]+" "+s[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return o=o.replace(",",""),n+". "+o},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 o=[e.id],n=e.team_id;const r={seasonId:e.season_id,isFeaturedPlayers:!1,mainSectionType:1,playListType:2,gameIds:null,playerIds:o,goalkeeperIds:[],categoryIds:this.setRelevantCategoriesPlayer(e.position),teamId:n||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,s){this.$emit("openProfilePlayer",{playerId:e,teamId:s,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("https://eh9nhj69z7.execute-api.us-west-2.amazonaws.com/prod/players/productivity",this.filterScounting,{headers:{"Content-Type":"application/json"}});if(this.filterScounting.tournaments.length>0){var s=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersTournaments");s!==-1?this.arrayFiltersPlays[s].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 o=0;o<a.length;o++){a[o];let r=a[o].dob.split("T")[0].split("-");var i={position:o+1,player_name:this.abrevName(a[o].name),player_photo:"https://golstatsimages.blob.core.windows.net/players-profile/"+a[o].player_id+".png",total:a[o].total.toFixed(0),id:a[o].player_id,player_age:this.calcularEdad(a[o].dob),team_abrev:a[o].teams[0].acronym,team_name:a[o].teams[0].team_name,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+a[o].teams[0].team_id+".png",player_position:a[o].position_id,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+a[o].nationality_id+".jpg",date:r[2]+"."+r[1]+"."+r[0].substring(2,4),team_id:a[o].team_id,nationality_name:Bs[a[o].nationality_id],player_games:a[o].games_played,player_min:a[o].minutes_played,league_name:a[o].tournament_name,seasons:a[o].seasons,season_id:a[o].seasons[0]};this.rowScoutingData.push(i)}if(this.seasonsFilterSelected!=0){const o=await this.fetchTeamsScouting(this.seasonsFilterSelected);this.teamselect=0,this.teamselectrec=0,this.teamsscouting=[];for(let n=0;n<o.teams.length;n++)this.teamsscouting.push({id:o.teams[n].team_id,team:o.teams[n].colloquial_name,logo:o.teams[n].logo})}this.loadingActive=!1},abrevName(e){var a=e.split(","),s=a[0].split(" "),i=a[1].trim().split(" "),o="";s.length==2||s.length==1?s[0].length<4?o=s[0]+" "+s[1]:o=s[0]:s.length==3?o=s[0]+" "+s[1]:s.length==4&&(o=s[1]+" "+s[2]+" "+s[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";o=o.replace(",","");var r=n+". "+o;return r},calcularEdad(e){var a=new Date(e),s=new Date,i=s-a,o=Math.floor(i/(1e3*60*60*24*365.25));return o},async onFiltersTournaments(e){this.modifidFiltersFlag=!0;var a=[];for(let s=0;s<e.length;s++)e[s].isSelected&&a.push(e[s].id);if(a.length==0&&(a=[1]),a.length==1)for(let s=0;s<e.length;s++)e[s].isSelected&&(this.nameLeagueSelected=e[s].name,this.seasonsFilterSelected=e[s].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,o=e.ageByRange.max==0?40:e.ageByRange.max;this.filterScounting.range_age=[i,o],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 s=[];for(let i=0;i<e.positions.length;i++)e.positions[i].isSelected&&s.push(e.positions[i].id);s.length==0&&(s=[1,2,3,4,5,6,7,8,9,10]),this.filterScounting.positions=s,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 s=0;s<e.productivityFilters.length;s++)a[e.productivityFilters[s].priority-1]={name:e.productivityFilters[s].name,ids:e.productivityFilters[s].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 s=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&s!==-1){this.filtersPredefinedF=this.filters;for(let o=0;o<this.FVfilterGolstats.length;o++)this.FVfilterGolstats[o].isSelected=!1;var s=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersPredefined");s!==-1&&this.arrayFiltersPlays.splice(s,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 s=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(s!==-1){for(let i=0;i<this.FVfilterGolstats.length;i++)this.FVfilterGolstats[i].isSelected=!1;s!==-1&&this.arrayFiltersPlays.splice(s,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(o=>o.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 n=0;n<this.categoriesDefault.length;n++)this.categoriesDefault[n].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var s=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&s!==-1){for(let n=0;n<this.FVfilterGolstats.length;n++)this.FVfilterGolstats[n].isSelected=!1;s!==-1&&this.arrayFiltersPlays.splice(s,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 s=0;s<this.categoriesPlaysTypes.offensive.categories.length;s++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offensive.categories[s].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[s]);for(let s=0;s<this.categoriesPlaysTypes.defensive.categories.length;s++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.defensive.categories[s].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[s]);for(let s=0;s<this.categoriesPlaysTypes.possession.categories.length;s++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.possession.categories[s].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[s]);for(let s=0;s<this.categoriesPlaysTypes.offenses.categories.length;s++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offenses.categories[s].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[s])}else for(let s=0;s<e.playsCategories.length;s++)e.playsCategories[s].isSelected&&(this.arrayCategoryFilter.push(e.playsCategories[s].id),this.arrayCategoryFilterFull.push(e.playsCategories[s]));var a=this.arrayFiltersPlays.findIndex(s=>s.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 s=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");s!==-1&&this.arrayFiltersPlays.splice(s,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(me.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(me.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(me.AGE_RANGE)),e=="onFiltersElegibility"&&this.$refs.personalDataFilterPlayers.clearFilters(me.ELIGIBILITY),e=="onFiltersYear"&&(this.$refs.personalDataFilterPlayers.clearFilters(me.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(s=>s.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 s=0;s<this.categoriesDefault.length;s++)this.categoriesDefault[s].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var a=this.arrayFiltersPlays.findIndex(s=>s.type==="onFiltersPredefined");if(a!==-1){for(let s=0;s<this.FVfilterGolstats.length;s++)this.FVfilterGolstats[s].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(this.tournamentsUrl);return a},async fetchTeams(){const e=E.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.get(this.teamsUrl+this.seasonActive);return a},async fetchTeamsScouting(e){const a=E.create({headers:{Authorization:`${this.token}`}}),{data:s}=await a.get(this.teamsUrl+e);return s},async getPredefinedfilters(e){this.arrayPredefinedFilters=[],this.arrayPredefinedOrigin=[];var a="";e.id==1?a=this.urlFilter:a=this.urlFilter;const s=E.create({headers:{Authorization:`${this.token}`}}),{data:i}=await s.get(a+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 o=i[0].description;if(i[0].filter_records[m].field_sections!==void 0){const g=i[0].filter_records[m].field_sections.toString();(this.predefinedFiltersSections[g]||this.predefinedFiltersSections[g]=="")&&(this.predefinedFiltersSections[g]==""?o=o.replace(" [en {field_sections}]",this.predefinedFiltersSections[g]):o=o.replace("{field_sections}",this.predefinedFiltersSections[g]))}if(i[0].filter_records[m].match_lapse!==void 0){const g=i[0].filter_records[m].match_lapse.toString();(this.predefinedFiltersMatchLapse[g]||this.predefinedFiltersMatchLapse[g]=="")&&(this.predefinedFiltersMatchLapse[g]==""?o=o.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[g]):o=o.replace("{match_lapse}",this.predefinedFiltersMatchLapse[g]))}if(i[0].filter_records[m].playing_as!==void 0){const g=i[0].filter_records[m].playing_as.toString();(this.predefinedFiltersPlayingAs[g]||this.predefinedFiltersPlayingAs[g]=="")&&(this.predefinedFiltersPlayingAs[g]==""?o=o.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[g]):o=o.replace("{playing_as}",this.predefinedFiltersPlayingAs[g]))}i[0].filter_records[m].section_type!==void 0&&(this.optionSelected=="Jugadores"?o=o.replace("{section_type}","Jugadores"):o=o.replace("{section_type}","Equipos")),o=o.replace(/\[/g,""),o=o.replace(/\]/g,""),o=o.replace("{category_name}",i[0].category_name);const f=o.split(": ");var n=f[1];n.length>129&&this.windowWidth>1358&&(n=n.substring(0,129),n=n+"<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:f[0]+":",text:f[1],textOrigin:i[0].description,titledots:n,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 f=0;f<this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length;f++)p.add(this.arrayPredefinedFilters[m].filtersPredefined.nationalities[f]);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 s=!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?(s=!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?(s||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 o="";i.includes(1)&&(o=o+"0-15, "),i.includes(2)&&(o=o+"16-30, "),i.includes(3)&&(o=o+"31-45, "),i.includes(4)&&(o=o+"46-60, "),i.includes(5)&&(o=o+"61-75, "),i.includes(6)&&(o=o+"76-90, "),o=o.slice(0,-2),o=o.replace(/,([^,]*)$/," y $1"),e=e.replace("{match_lapse_selected}",o)}const n=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.playingAs.sort().toString();(this.predefinedFiltersPlayingAs[n]||this.predefinedFiltersPlayingAs[n]=="")&&(this.predefinedFiltersPlayingAs[n]==""?e=e.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[n]):e=e.replace("{playing_as}",this.predefinedFiltersPlayingAs[n])),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(s=>(delete s.headers.Authorization,s));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)}}},ep={ref:"myDivRefTopsFull",style:{width:"100%","max-width":"100%","box-sizing":"border-box"}};function tp(e,a,s,i,o,n){const r=t.resolveComponent("GSCTopCategory");return t.openBlock(),t.createElementBlock("div",ep,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.categoryView,(c,p)=>(t.openBlock(),t.createElementBlock("div",{key:p,class:t.normalizeClass(e.toniKroosWrapperClass)},[(t.openBlock(),t.createBlock(r,{"is-widget":s.isWidget,"team-widget":s.teamWidget,"time-live-comparative-avanced":s.timeLiveComparativeAvanced,"is-team":o.isTeam,carrousel:s.carrousel,arrow:s.arrow,"border-width":0,"can-play-videos":s.canPlayVideos,"border-radius":"12px","game-id":s.gameId,game:s.game,typeData:s.type,category:c.id,"type-table":o.typeTable,categoryName:c.name,"season-selected":s.seasonSelected,season:s.seasonActive,"filter-team":s.teamselect,"num-rows":s.numRows,key:o.updateTables,"dummy-data":s.dummyData},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"]))],2))),128))],512)}const sp=v(Qm,[["render",tp],["__cssModules",{$style:Ym}]]),ap=[{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}],ip={class:"gsc-top-player"},np=v({__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}},setup(e){const s=e.useDummyData?ap:null;return(i,o)=>(t.openBlock(),t.createElementBlock("div",ip,[t.createVNode(sp,{"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":t.unref(s)},null,8,["can-play-videos","carrousel","arrow","type-data","game-id","game","season-active","teamselect","category-view","num-rows","dummy-data"])]))}},[["__scopeId","data-v-bbf024d3"]]),op={class:"subcategory-group"},rp={__name:"SubcategoryGroup",props:{subcategoryGroup:{type:Array,default:()=>[]}},setup(e){return(a,s)=>(t.openBlock(),t.createElementBlock("div",op,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.subcategoryGroup,i=>(t.openBlock(),t.createBlock(t.unref(pt),{key:i.id,modelValue:i.isSelected,"onUpdate:modelValue":o=>i.isSelected=o,label:i.name},null,8,["modelValue","onUpdate:modelValue","label"]))),128))]))}},lp=A(rp,[["__scopeId","data-v-ae6f3d72"]]),cp={class:"filter-subcategories"},dp=Object.freeze(Object.defineProperty({__proto__:null,default:A({__name:"FilterSubcategories",props:{subcategoryGroups:{type:Array,default:()=>[]}},setup(e){return(a,s)=>(t.openBlock(),t.createElementBlock("div",cp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.subcategoryGroups,i=>(t.openBlock(),t.createElementBlock("div",{key:i.id,class:"filter-subcategories__group"},[t.createVNode(lp,{subcategoryGroup:i},null,8,["subcategoryGroup"])]))),128))]))}},[["__scopeId","data-v-5edaefc2"]])},Symbol.toStringTag,{value:"Module"})),Je=e=>(t.pushScopeId("data-v-80d9c265"),e=e(),t.popScopeId(),e),mp={class:"details__header"},pp=Je(()=>t.createElementVNode("div",{class:"details__header__title"},"Jugando como",-1)),fp={class:"details__header__checkbox"},up={class:"details__body"},hp={class:"details__body__playing-as"},yp=["onClick"],gp={class:"details__header"},_p=Je(()=>t.createElementVNode("div",{class:"details__header__title"},"En: (Elige el lapso de tiempo)",-1)),bp={class:"details__header__checkbox"},Tp={class:"details__body"},Sp=Je(()=>t.createElementVNode("div",{class:"details__body__title"},"1er tiempo",-1)),wp={class:"details__body__game-section"},Cp=["onClick"],kp={class:"details__body"},Ep=Je(()=>t.createElementVNode("div",{class:"details__body__title"},"2do tiempo",-1)),Np={class:"details__body__game-section"},Vp=["onClick"],Pp=Object.freeze(Object.defineProperty({__proto__:null,default:A({__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;t.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 s=t.computed(()=>a.playingAs.every(l=>l.isSelected)),i=t.computed(()=>a.gameSections.every(l=>l.isSelected)),o=t.computed(()=>a.gameSections.reduce((l,m)=>(m.value<=3?l.firstHalf.push(m):l.secondHalf.push(m),l),{firstHalf:[],secondHalf:[]})),n=t.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,f)=>{m.isSelected=f===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,f)=>{m.isSelected=f===0})}return(l,m)=>(t.openBlock(),t.createElementBlock("div",{class:"details",style:t.normalizeStyle(n.value)},[t.createElementVNode("div",mp,[pp,t.createElementVNode("div",fp,[t.createVNode(t.unref(pt),{label:"Todos","model-value":s.value,"onUpdate:modelValue":r},null,8,["model-value"])])]),t.createElementVNode("div",up,[t.createElementVNode("div",hp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.playingAs,(f,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>c(f)},t.toDisplayString(f.name),11,yp))),128))])]),t.createElementVNode("div",gp,[_p,t.createElementVNode("div",bp,[t.createVNode(t.unref(pt),{label:"Todos","model-value":i.value,"onUpdate:modelValue":d},null,8,["model-value"])])]),t.createElementVNode("div",Tp,[Sp,t.createElementVNode("div",wp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.firstHalf,(f,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>p(f)},t.toDisplayString(f.text),11,Cp))),128))])]),t.createElementVNode("div",kp,[Ep,t.createElementVNode("div",Np,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.secondHalf,(f,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>p(f)},t.toDisplayString(f.text),11,Vp))),128))])])],4))}},[["__scopeId","data-v-80d9c265"]])},Symbol.toStringTag,{value:"Module"})),xp={class:"filter-field"},Fp=Object.freeze(Object.defineProperty({__proto__:null,default:A({__name:"FilterField",setup(e){const a=t.ref(Array.from({length:16},(i,o)=>o+1));function s(){}return(i,o)=>(t.openBlock(),t.createElementBlock("div",xp,[t.createVNode(t.unref(Ar),{width:"100%","background-color":"#2E3B46",value:a.value,"onUpdate:modelValue":s},null,8,["value"])]))}},[["__scopeId","data-v-8103c3e1"]])},Symbol.toStringTag,{value:"Module"}));q.GscTopPlayer=np,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"})});
11
+ `+n):i.stack=n}catch{}}throw i}}_request(a,s){typeof a=="string"?(s=s||{},s.url=a):s=a||{},s=X(this.defaults,s);const{transitional:i,paramsSerializer:o,headers:n}=s;i!==void 0&&De.assertOptions(i,{silentJSONParsing:$.transitional($.boolean),forcedJSONParsing:$.transitional($.boolean),clarifyTimeoutError:$.transitional($.boolean)},!1),o!=null&&(h.isFunction(o)?s.paramsSerializer={serialize:o}:De.assertOptions(o,{encode:$.function,serialize:$.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),De.assertOptions(s,{baseUrl:$.spelling("baseURL"),withXsrfToken:$.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let r=n&&h.merge(n.common,n[s.method]);n&&h.forEach(["delete","get","head","post","put","patch","common"],y=>{delete n[y]}),s.headers=D.concat(r,n);const c=[];let p=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(s)===!1||(p=p&&y.synchronous,c.unshift(y.fulfilled,y.rejected))});const d=[];this.interceptors.response.forEach(function(y){d.push(y.fulfilled,y.rejected)});let l,m=0,f;if(!p){const y=[ba.bind(this),void 0];for(y.unshift.apply(y,c),y.push.apply(y,d),f=y.length,l=Promise.resolve(s);m<f;)l=l.then(y[m++],y[m++]);return l}f=c.length;let g=s;for(m=0;m<f;){const y=c[m++],_=c[m++];try{g=y(g)}catch(b){_.call(this,b);break}}try{l=ba.call(this,g)}catch(y){return Promise.reject(y)}for(m=0,f=d.length;m<f;)l=l.then(d[m++],d[m++]);return l}getUri(a){a=X(this.defaults,a);const s=da(a.baseURL,a.url,a.allowAbsoluteUrls);return ta(s,a.params,a.paramsSerializer)}}h.forEach(["delete","get","head","options"],function(e){Me.prototype[e]=function(a,s){return this.request(X(s||{},{method:e,url:a,data:(s||{}).data}))}}),h.forEach(["post","put","patch"],function(e){function a(s){return function(i,o,n){return this.request(X(n||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Me.prototype[e]=a(),Me.prototype[e+"Form"]=a(!0)});const $e=Me;class Bt{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(o){s=o});const i=this;this.promise.then(o=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](o);i._listeners=null}),this.promise.then=o=>{let n;const r=new Promise(c=>{i.subscribe(c),n=c}).then(o);return r.cancel=function(){i.unsubscribe(n)},r},a(function(o,n,r){i.reason||(i.reason=new ae(o,n,r),s(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 s=this._listeners.indexOf(a);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const a=new AbortController,s=i=>{a.abort(i)};return this.subscribe(s),a.signal.unsubscribe=()=>this.unsubscribe(s),a.signal}static source(){let a;return{token:new Bt(function(s){a=s}),cancel:a}}}const dc=Bt;function mc(e){return function(a){return e.apply(null,a)}}function pc(e){return h.isObject(e)&&e.isAxiosError===!0}const Rt={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(Rt).forEach(([e,a])=>{Rt[a]=e});const fc=Rt;function wa(e){const a=new $e(e),s=Ds($e.prototype.request,a);return h.extend(s,$e.prototype,a,{allOwnKeys:!0}),h.extend(s,a,null,{allOwnKeys:!0}),s.create=function(i){return wa(X(e,i))},s}const V=wa(Et);V.Axios=$e,V.CanceledError=ae,V.CancelToken=dc,V.isCancel=oa,V.VERSION=Ta,V.toFormData=ze,V.AxiosError=C,V.Cancel=V.CanceledError,V.all=function(e){return Promise.all(e)},V.spread=mc,V.isAxiosError=pc,V.mergeConfig=X,V.AxiosHeaders=D,V.formToJSON=e=>ia(h.isHTMLForm(e)?new FormData(e):e),V.getAdapter=_a.getAdapter,V.HttpStatusCode=fc,V.default=V,Array.from({length:30},(e,a)=>1981+a).sort((e,a)=>a-e);const uc={__name:"SwitchCustom",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:a}){const s=e,i=t.ref(null);t.watch(()=>s.modelValue,()=>{o()},{immediate:!0});function o(){i.value&&(i.value.checked=s.modelValue)}function n(r){a("update:modelValue",r.target.checked)}return t.onMounted(()=>{o()}),(r,c)=>(t.openBlock(),t.createElementBlock("input",{ref_key:"switchCustom",ref:i,id:"toggle",class:"toggle",type:"checkbox",role:"switch",name:"toggle",onInput:n},null,544))}},zt=A(uc,[["__scopeId","data-v-e3a6ae4e"]]),hc={__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 s=e,i=t.computed(()=>({"--height":s.height,"--width":s.width,"--padding":s.padding,"--border-radius":s.borderRadius,"--border":`solid ${s.borderWidth} ${s.borderColor}`,"--background-color":s.backgroundColor,"--font-color":s.fontColor,"--font-size":s.fontSize,"--font-family":s.fontFamily,"--active-background-color":s.activeBackgroundColor||s.backgroundColor,"--active-border-color":s.activeBorderColor||s.borderColor,"--active-font-color":s.activeFontColor||s.fontColor}));function o(){a("click")}return(n,r)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["button",{active:e.isActive}]),style:t.normalizeStyle(i.value),onClick:o},t.toDisplayString(e.text),7))}},Ue=A(hc,[["__scopeId","data-v-9688933e"]]),yc={class:"dropdown"},gc={class:"selected-item"},_c={__name:"DropdownTextOnly",props:{items:{type:Array,default:()=>[]},itemTextKey:{type:String,default:""},isListSameWidth:{type:Boolean,default:!0}},emits:["input"],setup(e,{emit:a}){function s(i){a("input",i)}return(i,o)=>(t.openBlock(),t.createElementBlock("div",yc,[t.createVNode(t.unref(ut),t.mergeProps(t.unref(ht),{"is-list-same-width":e.isListSameWidth,items:e.items,onInput:s}),{default:t.withCtx(({selectedItem:n})=>[t.createElementVNode("div",gc,t.toDisplayString(e.itemTextKey?n[e.itemTextKey]:n),1)]),availableItem:t.withCtx(({item:n})=>[t.createElementVNode("div",null,t.toDisplayString(e.itemTextKey?n[e.itemTextKey]:n),1)]),_:1},16,["is-list-same-width","items"])]))}},G=A(_c,[["__scopeId","data-v-064d5f86"]]),bc={class:"dropdown"},Tc={class:"game-item"},Sc={key:0,class:"item-game"},wc={class:"match-day"},Cc={class:"team-logo"},kc=["src"],Ec={class:"text"},Nc={class:"text score"},Vc={class:"text"},Pc={class:"team-logo"},xc=["src"],Fc={class:"item-game"},Bc={class:"team-logo"},Rc=["src"],zc={class:"text"},Ac={class:"text score"},Ic={class:"text"},Gc={class:"team-logo"},Oc=["src"],Lc={__name:"DropdownGame",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function s(i){a("input",i)}return(i,o)=>(t.openBlock(),t.createElementBlock("div",bc,[t.createVNode(t.unref(ut),t.mergeProps(t.unref(ht),{items:e.items,onInput:s}),{default:t.withCtx(({selectedItem:n})=>[t.createElementVNode("div",Tc,[n.homeTeam?(t.openBlock(),t.createElementBlock("div",Sc,[t.createElementVNode("div",wc,t.toDisplayString(n.roundAbbreviation),1),t.createElementVNode("div",Cc,[t.createElementVNode("img",{src:n.homeTeam.logo,alt:""},null,8,kc)]),t.createElementVNode("div",Ec,t.toDisplayString(n.homeTeam.acronym),1),t.createElementVNode("div",Nc,t.toDisplayString(n.score[0])+" - "+t.toDisplayString(n.score[1]),1),t.createElementVNode("div",Vc,t.toDisplayString(n.awayTeam.acronym),1),t.createElementVNode("div",Pc,[t.createElementVNode("img",{src:n.awayTeam.logo,alt:""},null,8,xc)])])):t.createCommentVNode("",!0)])]),availableItem:t.withCtx(({item:n})=>[t.createElementVNode("div",Fc,[t.createElementVNode("div",null,t.toDisplayString(n.roundAbbreviation),1),t.createElementVNode("div",Bc,[t.createElementVNode("img",{src:n.homeTeam.logo,alt:""},null,8,Rc)]),t.createElementVNode("div",zc,t.toDisplayString(n.homeTeam.acronym),1),t.createElementVNode("div",Ac,t.toDisplayString(n.score[0])+" - "+t.toDisplayString(n.score[1]),1),t.createElementVNode("div",Ic,t.toDisplayString(n.awayTeam.acronym),1),t.createElementVNode("div",Gc,[t.createElementVNode("img",{src:n.awayTeam.logo,alt:""},null,8,Oc)])])]),_:1},16,["items"])]))}},je=A(Lc,[["__scopeId","data-v-7883a91e"]]),ve=e=>(t.pushScopeId("data-v-b63e9c84"),e=e(),t.popScopeId(),e),Wc={class:"container"},Dc={class:"container__row"},Mc={class:"container__row__wrapper"},$c=ve(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Uc={class:"container__row__wrapper__input"},jc={class:"container__row two-items"},vc={class:"container__row__wrapper"},Jc=ve(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),qc={key:0,class:"container__row__wrapper__input"},Hc={class:"container__row__wrapper"},Kc=ve(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),Zc={key:0,class:"container__row__wrapper__input"},Yc={class:"container__row"},Xc={class:"container__row__wrapper"},Qc=ve(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),ed={key:0,class:"container__row__wrapper__input"},td={class:"container__action"},sd={__name:"VideosGoals",props:{tournaments:{type:Array,required:!0}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const s={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},i=t.ref(null),o=t.ref(null),n=t.ref(null),r=t.ref(null);function c(m){i.value=m,a("update:tournament",m)}function p(m){o.value=m,a("update:season",m)}function d(m){n.value=m}function l(m){r.value=m}return(m,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Wc,[t.createElementVNode("div",Dc,[t.createElementVNode("div",Mc,[$c,t.createElementVNode("div",Uc,[t.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:c},null,8,["items"])])])]),t.createElementVNode("div",jc,[t.createElementVNode("div",vc,[Jc,i.value&&i.value.seasons?(t.openBlock(),t.createElementBlock("div",qc,[t.createVNode(G,{items:i.value.seasons,itemTextKey:"name",onInput:p},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Hc,[Kc,o.value&&o.value.arrayMatchDays?(t.openBlock(),t.createElementBlock("div",Zc,[t.createVNode(G,{items:o.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:d},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Yc,[t.createElementVNode("div",Xc,[Qc,n.value&&n.value.arrayGames?(t.openBlock(),t.createElementBlock("div",ed,[t.createVNode(je,{items:n.value.arrayGames,onInput:l},null,8,["items"])])):t.createCommentVNode("",!0)])])]),t.createElementVNode("div",td,[t.createVNode(Ue,t.normalizeProps(t.guardReactiveProps(s)),null,16)])],64))}},ad=A(sd,[["__scopeId","data-v-b63e9c84"]]),id={class:"dropdown"},nd={class:"item-team"},od={class:"team-logo"},rd=["src"],ld={class:"team-acronym"},cd={class:"item-team"},dd={class:"team-logo"},md=["src"],pd={class:"team-acronym"},fd={__name:"DropdownTeam",props:{items:{type:Array,default:()=>[]}},emits:["input"],setup(e,{emit:a}){function s(i){a("input",i)}return(i,o)=>(t.openBlock(),t.createElementBlock("div",id,[t.createVNode(t.unref(ut),t.mergeProps(t.unref(ht),{items:e.items,onInput:s}),{default:t.withCtx(({selectedItem:n})=>[t.createElementVNode("div",nd,[t.createElementVNode("div",od,[t.createElementVNode("img",{src:n.logo,alt:""},null,8,rd)]),t.createElementVNode("div",ld,t.toDisplayString(n.acronym),1)])]),availableItem:t.withCtx(({item:n})=>[t.createElementVNode("div",cd,[t.createElementVNode("div",dd,[t.createElementVNode("img",{src:n.logo,alt:""},null,8,md)]),t.createElementVNode("div",pd,t.toDisplayString(n.acronym),1)])]),_:1},16,["items"])]))}},Ca=A(fd,[["__scopeId","data-v-afd2bee8"]]),ud={class:"advanced-filters"},hd={class:"advanced-filters__buttons"},yd=["onClick"],gd={class:"advanced-filters__filters"},_d={__name:"AdvancedFilters",props:{selectedCategory:{type:Object,default:()=>({})}},setup(e){const a=e,s=t.defineAsyncComponent(()=>Promise.resolve().then(()=>dp)),i=t.defineAsyncComponent(()=>Promise.resolve().then(()=>Pp)),o=t.defineAsyncComponent(()=>Promise.resolve().then(()=>Fp)),n=[{name:"Sub categorías",component:s},{name:"Cancha",component:o},{name:"Condiciones",component:i}],r=t.ref(n[0]),c=t.computed(()=>a.selectedCategory?a.selectedCategory.subcategoryGroups||[]:[]);function p(d){r.value=d}return(d,l)=>(t.openBlock(),t.createElementBlock("div",ud,[t.createElementVNode("div",hd,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,m=>t.createElementVNode("div",{key:m.name,role:"button",class:t.normalizeClass(["advanced-filters__buttons__button",{active:r.value.name===m.name}]),onClick:f=>p(m)},t.toDisplayString(m.name),11,yd)),64))]),t.createElementVNode("div",gd,[(t.openBlock(),t.createBlock(t.KeepAlive,null,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.value.component),{"subcategory-groups":c.value},null,8,["subcategory-groups"]))],1024))])]))}},At=A(_d,[["__scopeId","data-v-c62c5b9c"]]),Q=e=>(t.pushScopeId("data-v-575b26b5"),e=e(),t.popScopeId(),e),bd={class:"container"},Td={class:"container__row"},Sd={class:"container__row__wrapper"},wd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Cd={class:"container__row__wrapper__input"},kd={class:"container__row two-items"},Ed={class:"container__row__wrapper"},Nd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Vd={key:0,class:"container__row__wrapper__input"},Pd={class:"container__row__wrapper"},xd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. En que equipo juega?",-1)),Fd={key:0,class:"container__row__wrapper__input"},Bd={class:"container__row"},Rd={class:"container__row__wrapper"},zd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Nombre del jugador",-1)),Ad={key:0,class:"container__row__wrapper__input"},Id={class:"container__row"},Gd={class:"container__row__wrapper"},Od=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el partido",-1)),Ld={key:0,class:"container__row__wrapper__input"},Wd={class:"container__row type-and-advanced"},Dd={class:"container__row__wrapper"},Md=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),$d={class:"container__row__wrapper__input"},Ud={class:"container__row__wrapper center"},jd=Q(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),vd={class:"container__row__wrapper__input"},Jd={class:"container__row"},qd={class:"container__action"},Hd={__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 s=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=t.ref(null),n=t.ref(null);t.ref(null);const r=t.ref(null),c=t.ref(null),p=t.ref(null),d=t.ref(null),l=t.ref(!0),m=t.computed(()=>p.value?p.value.position_id===1?s.advancedFilterCategories.goalkeeper:s.advancedFilterCategories.player:[]);function f(T){o.value=T,a("update:tournament",T)}function g(T){n.value=T,a("update:season",T)}function y(T){c.value=T,a("update:team",T)}function _(T){p.value=T}function b(T){r.value=T}function S(T){d.value=T}return(T,k)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",bd,[t.createElementVNode("div",Td,[t.createElementVNode("div",Sd,[wd,t.createElementVNode("div",Cd,[t.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:f},null,8,["items"])])])]),t.createElementVNode("div",kd,[t.createElementVNode("div",Ed,[Nd,o.value&&o.value.seasons?(t.openBlock(),t.createElementBlock("div",Vd,[t.createVNode(G,{items:o.value.seasons,itemTextKey:"name",onInput:g},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Pd,[xd,n.value&&n.value.arrayTeams?(t.openBlock(),t.createElementBlock("div",Fd,[t.createVNode(Ca,{items:n.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:y},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Bd,[t.createElementVNode("div",Rd,[zd,c.value&&c.value.arrayPlayers?(t.openBlock(),t.createElementBlock("div",Ad,[t.createVNode(G,{items:c.value.arrayPlayers,itemTextKey:"player_name",onInput:_},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Id,[t.createElementVNode("div",Gd,[Od,n.value&&n.value.mapGamesByTeam&&c.value?(t.openBlock(),t.createElementBlock("div",Ld,[t.createVNode(je,{items:n.value.mapGamesByTeam.get(c.value.team_id),onInput:b},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Wd,[t.createElementVNode("div",Dd,[Md,t.createElementVNode("div",$d,[t.createVNode(G,{items:m.value,itemTextKey:"name","is-list-same-width":!1,onInput:S},null,8,["items"])])]),t.createElementVNode("div",Ud,[jd,t.createElementVNode("div",vd,[t.createVNode(zt,{modelValue:l.value,"onUpdate:modelValue":k[0]||(k[0]=P=>l.value=P)},null,8,["modelValue"])])])]),t.createElementVNode("div",Jd,[t.createVNode(At,{"selected-category":d.value},null,8,["selected-category"])])]),t.createElementVNode("div",qd,[t.createVNode(Ue,t.normalizeProps(t.guardReactiveProps(i)),null,16)])],64))}},Kd=A(Hd,[["__scopeId","data-v-575b26b5"]]),ie=e=>(t.pushScopeId("data-v-6d73d5e6"),e=e(),t.popScopeId(),e),Zd={class:"container"},Yd={class:"container__row"},Xd={class:"container__row__wrapper"},Qd=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),em={class:"container__row__wrapper__input"},tm={class:"container__row two-items"},sm={class:"container__row__wrapper"},am=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),im={key:0,class:"container__row__wrapper__input"},nm={class:"container__row__wrapper"},om=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige el equipo",-1)),rm={key:0,class:"container__row__wrapper__input"},lm={class:"container__row"},cm={class:"container__row__wrapper"},dm=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),mm={key:0,class:"container__row__wrapper__input"},pm={class:"container__row type-and-advanced"},fm={class:"container__row__wrapper"},um=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"5. Elige el tipo de video",-1)),hm={class:"container__row__wrapper__input"},ym={class:"container__row__wrapper center"},gm=ie(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),_m={class:"container__row__wrapper__input"},bm={class:"container__row"},Tm={class:"container__action"},Sm={__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 s=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=t.ref(null),n=t.ref(null);t.ref(null);const r=t.ref(null),c=t.ref(null),p=t.ref(null),d=t.ref(!0),l=t.computed(()=>s.advancedFilterCategories.team);function m(b){o.value=b,a("update:tournament",b)}function f(b){n.value=b,a("update:season",b)}function g(b){c.value=b,a("update:team",b)}function y(b){r.value=b}function _(b){p.value=b}return(b,S)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Zd,[t.createElementVNode("div",Yd,[t.createElementVNode("div",Xd,[Qd,t.createElementVNode("div",em,[t.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),t.createElementVNode("div",tm,[t.createElementVNode("div",sm,[am,o.value&&o.value.seasons?(t.openBlock(),t.createElementBlock("div",im,[t.createVNode(G,{items:o.value.seasons,itemTextKey:"name",onInput:f},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",nm,[om,n.value&&n.value.arrayTeams?(t.openBlock(),t.createElementBlock("div",rm,[t.createVNode(Ca,{items:n.value.arrayTeams,itemTextKey:"stringMatchDayAbbreviation",onInput:g},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",lm,[t.createElementVNode("div",cm,[dm,n.value&&n.value.mapGamesByTeam&&c.value?(t.openBlock(),t.createElementBlock("div",mm,[t.createVNode(je,{items:n.value.mapGamesByTeam.get(c.value.team_id),onInput:y},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",pm,[t.createElementVNode("div",fm,[um,t.createElementVNode("div",hm,[t.createVNode(G,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:_},null,8,["items"])])]),t.createElementVNode("div",ym,[gm,t.createElementVNode("div",_m,[t.createVNode(zt,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),t.createElementVNode("div",bm,[t.createVNode(At,{"selected-category":p.value},null,8,["selected-category"])])]),t.createElementVNode("div",Tm,[t.createVNode(Ue,t.normalizeProps(t.guardReactiveProps(i)),null,16)])],64))}},wm=A(Sm,[["__scopeId","data-v-6d73d5e6"]]),ne=e=>(t.pushScopeId("data-v-6e904db8"),e=e(),t.popScopeId(),e),Cm={class:"container"},km={class:"container__row"},Em={class:"container__row__wrapper"},Nm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"1. Elige la liga",-1)),Vm={class:"container__row__wrapper__input"},Pm={class:"container__row two-items"},xm={class:"container__row__wrapper"},Fm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"2. Elige el torneo",-1)),Bm={key:0,class:"container__row__wrapper__input"},Rm={class:"container__row__wrapper"},zm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"3. Elige la jornada",-1)),Am={key:0,class:"container__row__wrapper__input"},Im={class:"container__row"},Gm={class:"container__row__wrapper"},Om=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"4. Elige el partido",-1)),Lm={key:0,class:"container__row__wrapper__input"},Wm={class:"container__row type-and-advanced"},Dm={class:"container__row__wrapper"},Mm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"6. Elige el tipo de video",-1)),$m={class:"container__row__wrapper__input"},Um={class:"container__row__wrapper center"},jm=ne(()=>t.createElementVNode("div",{class:"container__row__wrapper__label"},"Filtrado avanzado",-1)),vm={class:"container__row__wrapper__input",style:{width:"fit-content"}},Jm={class:"container__row"},qm={class:"container__action"},Hm={__name:"VideosGame",props:{tournaments:{type:Array,required:!0},advancedFilterCategories:{type:Object,default:()=>({games:[]})}},emits:["update:tournament","update:season"],setup(e,{emit:a}){const s=e,i={text:"Buscar",width:"100%",padding:"12px 0",borderRadius:"34px",backgroundColor:"#CBEE6B",borderColor:"#CBEE6B",fontColor:"#132634"},o=t.ref(null),n=t.ref(null),r=t.ref(null),c=t.ref(null),p=t.ref(null),d=t.ref(!0),l=t.computed(()=>s.advancedFilterCategories.games);function m(b){o.value=b,a("update:tournament",b)}function f(b){n.value=b,a("update:season",b)}function g(b){r.value=b}function y(b){c.value=b}function _(b){p.value=b}return(b,S)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Cm,[t.createElementVNode("div",km,[t.createElementVNode("div",Em,[Nm,t.createElementVNode("div",Vm,[t.createVNode(G,{items:e.tournaments,itemTextKey:"name",onInput:m},null,8,["items"])])])]),t.createElementVNode("div",Pm,[t.createElementVNode("div",xm,[Fm,o.value&&o.value.seasons?(t.openBlock(),t.createElementBlock("div",Bm,[t.createVNode(G,{items:o.value.seasons,itemTextKey:"name",onInput:f},null,8,["items"])])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Rm,[zm,n.value&&n.value.arrayMatchDays?(t.openBlock(),t.createElementBlock("div",Am,[t.createVNode(G,{items:n.value.arrayMatchDays,itemTextKey:"stringMatchDayAbbreviation",onInput:g},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Im,[t.createElementVNode("div",Gm,[Om,r.value&&r.value.arrayGames?(t.openBlock(),t.createElementBlock("div",Lm,[t.createVNode(je,{items:r.value.arrayGames,onInput:y},null,8,["items"])])):t.createCommentVNode("",!0)])]),t.createElementVNode("div",Wm,[t.createElementVNode("div",Dm,[Mm,t.createElementVNode("div",$m,[t.createVNode(G,{items:l.value,itemTextKey:"name","is-list-same-width":!1,onInput:_},null,8,["items"])])]),t.createElementVNode("div",Um,[jm,t.createElementVNode("div",vm,[t.createVNode(zt,{modelValue:d.value,"onUpdate:modelValue":S[0]||(S[0]=T=>d.value=T)},null,8,["modelValue"])])])]),t.createElementVNode("div",Jm,[t.createVNode(At,{"selected-category":p.value},null,8,["selected-category"])])]),t.createElementVNode("div",qm,[t.createVNode(Ue,t.normalizeProps(t.guardReactiveProps(i)),null,16)])],64))}},Km=A(Hm,[["__scopeId","data-v-6e904db8"]]);t.defineComponent({name:"TemplateVideos",components:{VideosGoals:ad,VideosPlayer:Kd,VideosTeam:wm,VideosGame:Km}}),Array.from({length:24},(e,a)=>a+1),U(2,It()),U(2,It()),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 It(){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 ka(){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?ka():It(),destiny_zones:a||ka(),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 Zm(){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 Ym={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"},Xm=t.ref(Zm()),Qm={components:{GSCTopCategory:no},computed:{...Ki.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{...Xm.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}},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=t.ref("myDivRefTopsFull"),{elementSize:a}=de(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:go,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(","),s=a[0].split(" "),i=a[1].trim().split(" "),o="";s.length==2||s.length==1?s[0].length<4?o=s[0]+" "+s[1]:o=s[0]:s.length==3?o=s[0]+" "+s[1]:s.length==4&&(o=s[1]+" "+s[2]+" "+s[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";return o=o.replace(",",""),n+". "+o},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 o=[e.id],n=e.team_id;const r={seasonId:e.season_id,isFeaturedPlayers:!1,mainSectionType:1,playListType:2,gameIds:null,playerIds:o,goalkeeperIds:[],categoryIds:this.setRelevantCategoriesPlayer(e.position),teamId:n||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,s){this.$emit("openProfilePlayer",{playerId:e,teamId:s,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("https://eh9nhj69z7.execute-api.us-west-2.amazonaws.com/prod/players/productivity",this.filterScounting,{headers:{"Content-Type":"application/json"}});if(this.filterScounting.tournaments.length>0){var s=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersTournaments");s!==-1?this.arrayFiltersPlays[s].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 o=0;o<a.length;o++){a[o];let r=a[o].dob.split("T")[0].split("-");var i={position:o+1,player_name:this.abrevName(a[o].name),player_photo:"https://golstatsimages.blob.core.windows.net/players-profile/"+a[o].player_id+".png",total:a[o].total.toFixed(0),id:a[o].player_id,player_age:this.calcularEdad(a[o].dob),team_abrev:a[o].teams[0].acronym,team_name:a[o].teams[0].team_name,team_logo:"https://golstatsimages.blob.core.windows.net/teams-80/"+a[o].teams[0].team_id+".png",player_position:a[o].position_id,player_country_flag:"https://golstatsimages.blob.core.windows.net/flags/"+a[o].nationality_id+".jpg",date:r[2]+"."+r[1]+"."+r[0].substring(2,4),team_id:a[o].team_id,nationality_name:Bs[a[o].nationality_id],player_games:a[o].games_played,player_min:a[o].minutes_played,league_name:a[o].tournament_name,seasons:a[o].seasons,season_id:a[o].seasons[0]};this.rowScoutingData.push(i)}if(this.seasonsFilterSelected!=0){const o=await this.fetchTeamsScouting(this.seasonsFilterSelected);this.teamselect=0,this.teamselectrec=0,this.teamsscouting=[];for(let n=0;n<o.teams.length;n++)this.teamsscouting.push({id:o.teams[n].team_id,team:o.teams[n].colloquial_name,logo:o.teams[n].logo})}this.loadingActive=!1},abrevName(e){var a=e.split(","),s=a[0].split(" "),i=a[1].trim().split(" "),o="";s.length==2||s.length==1?s[0].length<4?o=s[0]+" "+s[1]:o=s[0]:s.length==3?o=s[0]+" "+s[1]:s.length==4&&(o=s[1]+" "+s[2]+" "+s[3]);var n=i[i.length-1]!=""?i[i.length-1].charAt(0):i[i.length-2]?i[i.length-2].charAt(0):"";o=o.replace(",","");var r=n+". "+o;return r},calcularEdad(e){var a=new Date(e),s=new Date,i=s-a,o=Math.floor(i/(1e3*60*60*24*365.25));return o},async onFiltersTournaments(e){this.modifidFiltersFlag=!0;var a=[];for(let s=0;s<e.length;s++)e[s].isSelected&&a.push(e[s].id);if(a.length==0&&(a=[1]),a.length==1)for(let s=0;s<e.length;s++)e[s].isSelected&&(this.nameLeagueSelected=e[s].name,this.seasonsFilterSelected=e[s].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,o=e.ageByRange.max==0?40:e.ageByRange.max;this.filterScounting.range_age=[i,o],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 s=[];for(let i=0;i<e.positions.length;i++)e.positions[i].isSelected&&s.push(e.positions[i].id);s.length==0&&(s=[1,2,3,4,5,6,7,8,9,10]),this.filterScounting.positions=s,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 s=0;s<e.productivityFilters.length;s++)a[e.productivityFilters[s].priority-1]={name:e.productivityFilters[s].name,ids:e.productivityFilters[s].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 s=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&s!==-1){this.filtersPredefinedF=this.filters;for(let o=0;o<this.FVfilterGolstats.length;o++)this.FVfilterGolstats[o].isSelected=!1;var s=this.arrayFiltersPlays.findIndex(o=>o.type==="onFiltersPredefined");s!==-1&&this.arrayFiltersPlays.splice(s,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 s=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");if(s!==-1){for(let i=0;i<this.FVfilterGolstats.length;i++)this.FVfilterGolstats[i].isSelected=!1;s!==-1&&this.arrayFiltersPlays.splice(s,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(o=>o.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 n=0;n<this.categoriesDefault.length;n++)this.categoriesDefault[n].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var s=this.arrayFiltersPlays.findIndex(n=>n.type==="onFiltersPredefined");if(this.FVfilterGolstats.length>0&&s!==-1){for(let n=0;n<this.FVfilterGolstats.length;n++)this.FVfilterGolstats[n].isSelected=!1;s!==-1&&this.arrayFiltersPlays.splice(s,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 s=0;s<this.categoriesPlaysTypes.offensive.categories.length;s++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offensive.categories[s].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[s]);for(let s=0;s<this.categoriesPlaysTypes.defensive.categories.length;s++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.defensive.categories[s].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[s]);for(let s=0;s<this.categoriesPlaysTypes.possession.categories.length;s++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.possession.categories[s].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[s]);for(let s=0;s<this.categoriesPlaysTypes.offenses.categories.length;s++)this.arrayCategoryFilter.push(this.categoriesPlaysTypes.offenses.categories[s].id),this.arrayCategoryFilterFull.push(this.categoriesPlaysTypes.offensive.categories[s])}else for(let s=0;s<e.playsCategories.length;s++)e.playsCategories[s].isSelected&&(this.arrayCategoryFilter.push(e.playsCategories[s].id),this.arrayCategoryFilterFull.push(e.playsCategories[s]));var a=this.arrayFiltersPlays.findIndex(s=>s.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 s=this.arrayFiltersPlays.findIndex(i=>i.type==="onFiltersPredefined");s!==-1&&this.arrayFiltersPlays.splice(s,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(me.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(me.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(me.AGE_RANGE)),e=="onFiltersElegibility"&&this.$refs.personalDataFilterPlayers.clearFilters(me.ELIGIBILITY),e=="onFiltersYear"&&(this.$refs.personalDataFilterPlayers.clearFilters(me.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(s=>s.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 s=0;s<this.categoriesDefault.length;s++)this.categoriesDefault[s].isSelected=!1;this.updateFilterPlaytypesGolstats+=1;var a=this.arrayFiltersPlays.findIndex(s=>s.type==="onFiltersPredefined");if(a!==-1){for(let s=0;s<this.FVfilterGolstats.length;s++)this.FVfilterGolstats[s].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(this.tournamentsUrl);return a},async fetchTeams(){const e=E.create({headers:{Authorization:`${this.token}`}}),{data:a}=await e.get(this.teamsUrl+this.seasonActive);return a},async fetchTeamsScouting(e){const a=E.create({headers:{Authorization:`${this.token}`}}),{data:s}=await a.get(this.teamsUrl+e);return s},async getPredefinedfilters(e){this.arrayPredefinedFilters=[],this.arrayPredefinedOrigin=[];var a="";e.id==1?a=this.urlFilter:a=this.urlFilter;const s=E.create({headers:{Authorization:`${this.token}`}}),{data:i}=await s.get(a+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 o=i[0].description;if(i[0].filter_records[m].field_sections!==void 0){const g=i[0].filter_records[m].field_sections.toString();(this.predefinedFiltersSections[g]||this.predefinedFiltersSections[g]=="")&&(this.predefinedFiltersSections[g]==""?o=o.replace(" [en {field_sections}]",this.predefinedFiltersSections[g]):o=o.replace("{field_sections}",this.predefinedFiltersSections[g]))}if(i[0].filter_records[m].match_lapse!==void 0){const g=i[0].filter_records[m].match_lapse.toString();(this.predefinedFiltersMatchLapse[g]||this.predefinedFiltersMatchLapse[g]=="")&&(this.predefinedFiltersMatchLapse[g]==""?o=o.replace(" [durante {match_lapse}]",this.predefinedFiltersMatchLapse[g]):o=o.replace("{match_lapse}",this.predefinedFiltersMatchLapse[g]))}if(i[0].filter_records[m].playing_as!==void 0){const g=i[0].filter_records[m].playing_as.toString();(this.predefinedFiltersPlayingAs[g]||this.predefinedFiltersPlayingAs[g]=="")&&(this.predefinedFiltersPlayingAs[g]==""?o=o.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[g]):o=o.replace("{playing_as}",this.predefinedFiltersPlayingAs[g]))}i[0].filter_records[m].section_type!==void 0&&(this.optionSelected=="Jugadores"?o=o.replace("{section_type}","Jugadores"):o=o.replace("{section_type}","Equipos")),o=o.replace(/\[/g,""),o=o.replace(/\]/g,""),o=o.replace("{category_name}",i[0].category_name);const f=o.split(": ");var n=f[1];n.length>129&&this.windowWidth>1358&&(n=n.substring(0,129),n=n+"<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:f[0]+":",text:f[1],textOrigin:i[0].description,titledots:n,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 f=0;f<this.arrayPredefinedFilters[m].filtersPredefined.nationalities.length;f++)p.add(this.arrayPredefinedFilters[m].filtersPredefined.nationalities[f]);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 s=!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?(s=!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?(s||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 o="";i.includes(1)&&(o=o+"0-15, "),i.includes(2)&&(o=o+"16-30, "),i.includes(3)&&(o=o+"31-45, "),i.includes(4)&&(o=o+"46-60, "),i.includes(5)&&(o=o+"61-75, "),i.includes(6)&&(o=o+"76-90, "),o=o.slice(0,-2),o=o.replace(/,([^,]*)$/," y $1"),e=e.replace("{match_lapse_selected}",o)}const n=this.arrayPredefinedFilters[this.indexPredefinedFiltersSelected].filtersPredefined.playingAs.sort().toString();(this.predefinedFiltersPlayingAs[n]||this.predefinedFiltersPlayingAs[n]=="")&&(this.predefinedFiltersPlayingAs[n]==""?e=e.replace(" [jugando como {playing_as}]",this.predefinedFiltersPlayingAs[n]):e=e.replace("{playing_as}",this.predefinedFiltersPlayingAs[n])),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(s=>(delete s.headers.Authorization,s));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)}}},ep={ref:"myDivRefTopsFull",style:{width:"100%","max-width":"100%","box-sizing":"border-box"}};function tp(e,a,s,i,o,n){const r=t.resolveComponent("GSCTopCategory");return t.openBlock(),t.createElementBlock("div",ep,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.categoryView,(c,p)=>(t.openBlock(),t.createElementBlock("div",{key:p,class:t.normalizeClass(e.toniKroosWrapperClass)},[(t.openBlock(),t.createBlock(r,{"is-widget":s.isWidget,"team-widget":s.teamWidget,"time-live-comparative-avanced":s.timeLiveComparativeAvanced,"is-team":o.isTeam,carrousel:s.carrousel,arrow:s.arrow,"border-width":0,"can-play-videos":s.canPlayVideos,"border-radius":"12px","game-id":s.gameId,game:s.game,typeData:s.typeData,category:c.id,"type-table":o.typeTable,categoryName:c.name,"season-selected":s.seasonSelected,season:s.seasonActive,"filter-team":s.teamselect,"num-rows":s.numRows,key:o.updateTables,"dummy-data":s.dummyData},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"]))],2))),128))],512)}const sp=v(Qm,[["render",tp],["__cssModules",{$style:Ym}]]),ap=[{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}],ip={class:"gsc-top-player"},np=v({__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}},setup(e){const s=e.useDummyData?ap:null;return(i,o)=>(t.openBlock(),t.createElementBlock("div",ip,[t.createVNode(sp,{"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":t.unref(s)},null,8,["can-play-videos","carrousel","arrow","type-data","game-id","game","season-active","teamselect","category-view","num-rows","dummy-data"])]))}},[["__scopeId","data-v-bbf024d3"]]),op={class:"subcategory-group"},rp={__name:"SubcategoryGroup",props:{subcategoryGroup:{type:Array,default:()=>[]}},setup(e){return(a,s)=>(t.openBlock(),t.createElementBlock("div",op,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.subcategoryGroup,i=>(t.openBlock(),t.createBlock(t.unref(pt),{key:i.id,modelValue:i.isSelected,"onUpdate:modelValue":o=>i.isSelected=o,label:i.name},null,8,["modelValue","onUpdate:modelValue","label"]))),128))]))}},lp=A(rp,[["__scopeId","data-v-ae6f3d72"]]),cp={class:"filter-subcategories"},dp=Object.freeze(Object.defineProperty({__proto__:null,default:A({__name:"FilterSubcategories",props:{subcategoryGroups:{type:Array,default:()=>[]}},setup(e){return(a,s)=>(t.openBlock(),t.createElementBlock("div",cp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.subcategoryGroups,i=>(t.openBlock(),t.createElementBlock("div",{key:i.id,class:"filter-subcategories__group"},[t.createVNode(lp,{subcategoryGroup:i},null,8,["subcategoryGroup"])]))),128))]))}},[["__scopeId","data-v-5edaefc2"]])},Symbol.toStringTag,{value:"Module"})),Je=e=>(t.pushScopeId("data-v-80d9c265"),e=e(),t.popScopeId(),e),mp={class:"details__header"},pp=Je(()=>t.createElementVNode("div",{class:"details__header__title"},"Jugando como",-1)),fp={class:"details__header__checkbox"},up={class:"details__body"},hp={class:"details__body__playing-as"},yp=["onClick"],gp={class:"details__header"},_p=Je(()=>t.createElementVNode("div",{class:"details__header__title"},"En: (Elige el lapso de tiempo)",-1)),bp={class:"details__header__checkbox"},Tp={class:"details__body"},Sp=Je(()=>t.createElementVNode("div",{class:"details__body__title"},"1er tiempo",-1)),wp={class:"details__body__game-section"},Cp=["onClick"],kp={class:"details__body"},Ep=Je(()=>t.createElementVNode("div",{class:"details__body__title"},"2do tiempo",-1)),Np={class:"details__body__game-section"},Vp=["onClick"],Pp=Object.freeze(Object.defineProperty({__proto__:null,default:A({__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;t.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 s=t.computed(()=>a.playingAs.every(l=>l.isSelected)),i=t.computed(()=>a.gameSections.every(l=>l.isSelected)),o=t.computed(()=>a.gameSections.reduce((l,m)=>(m.value<=3?l.firstHalf.push(m):l.secondHalf.push(m),l),{firstHalf:[],secondHalf:[]})),n=t.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,f)=>{m.isSelected=f===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,f)=>{m.isSelected=f===0})}return(l,m)=>(t.openBlock(),t.createElementBlock("div",{class:"details",style:t.normalizeStyle(n.value)},[t.createElementVNode("div",mp,[pp,t.createElementVNode("div",fp,[t.createVNode(t.unref(pt),{label:"Todos","model-value":s.value,"onUpdate:modelValue":r},null,8,["model-value"])])]),t.createElementVNode("div",up,[t.createElementVNode("div",hp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.playingAs,(f,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>c(f)},t.toDisplayString(f.name),11,yp))),128))])]),t.createElementVNode("div",gp,[_p,t.createElementVNode("div",bp,[t.createVNode(t.unref(pt),{label:"Todos","model-value":i.value,"onUpdate:modelValue":d},null,8,["model-value"])])]),t.createElementVNode("div",Tp,[Sp,t.createElementVNode("div",wp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.firstHalf,(f,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>p(f)},t.toDisplayString(f.text),11,Cp))),128))])]),t.createElementVNode("div",kp,[Ep,t.createElementVNode("div",Np,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.secondHalf,(f,g)=>(t.openBlock(),t.createElementBlock("div",{key:`pa${g}`,class:t.normalizeClass(["details__body__button",{active:f.isSelected}]),onClick:y=>p(f)},t.toDisplayString(f.text),11,Vp))),128))])])],4))}},[["__scopeId","data-v-80d9c265"]])},Symbol.toStringTag,{value:"Module"})),xp={class:"filter-field"},Fp=Object.freeze(Object.defineProperty({__proto__:null,default:A({__name:"FilterField",setup(e){const a=t.ref(Array.from({length:16},(i,o)=>o+1));function s(){}return(i,o)=>(t.openBlock(),t.createElementBlock("div",xp,[t.createVNode(t.unref(Ar),{width:"100%","background-color":"#2E3B46",value:a.value,"onUpdate:modelValue":s},null,8,["value"])]))}},[["__scopeId","data-v-8103c3e1"]])},Symbol.toStringTag,{value:"Module"}));q.GscTopPlayer=np,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"})});