@golstats/gsc-game-data 1.0.50 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gsc-game-data.js +325 -316
- package/dist/gsc-game-data.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
* Vue 3 Carousel 0.3.1
|
|
55
55
|
* (c) 2023
|
|
56
56
|
* @license MIT
|
|
57
|
-
*/const dt={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},B2={itemsToShow:{default:dt.itemsToShow,type:Number},itemsToScroll:{default:dt.itemsToScroll,type:Number},wrapAround:{default:dt.wrapAround,type:Boolean},throttle:{default:dt.throttle,type:Number},snapAlign:{default:dt.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:dt.transition,type:Number},breakpoints:{default:dt.breakpoints,type:Object},autoplay:{default:dt.autoplay,type:Number},pauseAutoplayOnHover:{default:dt.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:dt.mouseDrag,type:Boolean},touchDrag:{default:dt.touchDrag,type:Boolean},dir:{default:dt.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:dt.i18n,type:Object},settings:{default(){return{}},type:Object}};function GK({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:s,itemsToShow:n=1}=e;if(s)return Math.max(a-1,0);let i;switch(o){case"start":i=a-n;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((n-.5)/2);break;case"center-even":i=a-Math.ceil(n/2);break;default:i=0;break}return Math.max(i,0)}function WK({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:s,itemsToShow:n=1}=e;let i=0;if(o||n>a)return i;switch(s){case"start":i=0;break;case"end":i=n-1;break;case"center":case"center-odd":i=Math.floor((n-1)/2);break;case"center-even":i=Math.floor((n-2)/2);break;default:i=0;break}return i}function hp({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function qK({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:s,wrapAround:n,itemsToShow:i=1}=e;let r=a;switch(s){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return n?r:hp({val:r,max:o-i,min:0})}function x2(e){return e?e.reduce((a,o)=>{var s;return o.type===t.Fragment?[...a,...x2(o.children)]:((s=o.type)===null||s===void 0?void 0:s.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function gp({val:e,max:a,min:o=0}){return e>a?gp({val:e-(a+1),max:a,min:o}):e<o?gp({val:e+(a+1),max:a,min:o}):e}function JK(e,a){let o;return a?function(...s){const n=this;o||(e.apply(n,s),o=!0,setTimeout(()=>o=!1,a))}:e}function XK(e,a){let o;return function(...s){o&&clearTimeout(o),o=setTimeout(()=>{e(...s),o=null},a)}}function ZK(e="",a={}){return Object.entries(a).reduce((o,[s,n])=>o.replace(`{${s}}`,String(n)),e)}var YK=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},dt))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},ZK(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),KK=t.defineComponent({name:"Carousel",props:B2,setup(e,{slots:a,emit:o,expose:s}){var n;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},dt));let l=Object.assign({},dt),m;const p=t.ref((n=e.modelValue)!==null&&n!==void 0?n:0),y=t.ref(0),g=t.ref(0),u=t.ref(0),f=t.ref(0);let _,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function w(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),E(l)}function b(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(O=>Number(O)).sort((O,oe)=>+oe-+O);let T=Object.assign({},l);S.some(O=>{const oe=window.matchMedia(`(min-width: ${O}px)`).matches;return oe&&(T=Object.assign(Object.assign({},T),m[O])),oe}),E(T)}function E(S){Object.entries(S).forEach(([T,O])=>d[T]=O)}const x=XK(()=>{b(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function B(){h.value<=0||(g.value=Math.ceil((h.value-1)/2),u.value=GK({config:d,slidesCount:h.value}),f.value=WK({config:d,slidesCount:h.value}),d.wrapAround||(p.value=hp({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),b(),Le(),window.addEventListener("resize",x,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),_&&clearInterval(_),window.removeEventListener("resize",x,{passive:!0})});let $=!1;const z={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),F=t.ref(!1),ee=t.ref(!1),re=()=>{F.value=!0},Q=()=>{F.value=!1};function C(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||($=S.type==="touchstart",$||S.preventDefault(),!(!$&&S.button!==0||P.value)&&(z.x=$?S.touches[0].clientX:S.clientX,z.y=$?S.touches[0].clientY:S.clientY,document.addEventListener($?"touchmove":"mousemove",N,!0),document.addEventListener($?"touchend":"mouseup",R,!0)))}const N=JK(S=>{ee.value=!0,A.x=$?S.touches[0].clientX:S.clientX,A.y=$?S.touches[0].clientY:S.clientY;const T=A.x-z.x,O=A.y-z.y;I.y=O,I.x=T},d.throttle);function R(){const S=d.dir==="rtl"?-1:1,T=Math.sign(I.x)*.4,O=Math.round(I.x/c.value+T)*S;if(O&&!$){const oe=Ae=>{Ae.stopPropagation(),window.removeEventListener("click",oe,!0)};window.addEventListener("click",oe,!0)}K(p.value-O),I.x=0,I.y=0,ee.value=!1,document.removeEventListener($?"touchmove":"mousemove",N,!0),document.removeEventListener($?"touchend":"mouseup",R,!0)}function Le(){!d.autoplay||d.autoplay<=0||(_=setInterval(()=>{d.pauseAutoplayOnHover&&F.value||te()},d.autoplay))}function se(){_&&(clearInterval(_),_=null),Le()}const P=t.ref(!1);function K(S){const T=d.wrapAround?S:hp({val:S,max:u.value,min:f.value});p.value===T||P.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:y.value,slidesCount:h.value}),P.value=!0,y.value=p.value,p.value=T,k=setTimeout(()=>{if(d.wrapAround){const O=gp({val:T,max:u.value,min:0});O!==p.value&&(p.value=O,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:y.value,slidesCount:h.value}),P.value=!1,se()},d.transition))}function te(){K(p.value+d.itemsToScroll)}function ae(){K(p.value-d.itemsToScroll)}const ne={slideTo:K,next:te,prev:ae};t.provide("nav",ne),t.provide("isSliding",P);const ie=t.computed(()=>qK({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",ie);const ce=t.computed(()=>{const S=d.dir==="rtl"?-1:1,T=ie.value*c.value*S;return{transform:`translateX(${I.x-T}px)`,transition:`${P.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function me(){w(),b(),B(),V(),se()}Object.keys(B2).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],me)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&K(Number(S))}),t.watch(h,B),o("before-init"),w();const xe={config:d,slidesCount:h,slideWidth:c,next:te,prev:ae,slideTo:K,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:g};s({updateBreakpointsConfigs:b,updateSlidesData:B,updateSlideWidth:V,initDefaultConfigs:w,restartCarousel:me,slideTo:K,next:te,prev:ae,nav:ne,data:xe});const Re=a.default||a.slides,Pe=a.addons,ve=t.reactive(xe);return()=>{const S=x2(Re==null?void 0:Re(ve)),T=(Pe==null?void 0:Pe(ve))||[];S.forEach((Oe,Te)=>Oe.props.index=Te);let O=S;if(d.wrapAround){const Oe=S.map((ze,le)=>t.cloneVNode(ze,{index:-S.length+le,isClone:!0,key:`clone-before-${le}`})),Te=S.map((ze,le)=>t.cloneVNode(ze,{index:S.length+le,isClone:!0,key:`clone-after-${le}`}));O=[...Oe,...S,...Te]}r.value=S,h.value=Math.max(S.length,1);const oe=t.h("ol",{class:"carousel__track",style:ce.value,onMousedownCapture:d.mouseDrag?C:null,onTouchstartPassiveCapture:d.touchDrag?C:null},O),Ae=t.h("div",{class:"carousel__viewport"},oe);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":P.value,"is-dragging":ee.value,"is-hover":F.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:re,onMouseleave:Q},[Ae,T,t.h(YK)])}}}),V2;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(V2||(V2={}));var QK=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},dt))),s=t.inject("currentSlide",t.ref(0)),n=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===s.value,c=()=>e.index===s.value-1,h=()=>e.index===s.value+1,d=()=>{const l=Math.floor(n.value),m=Math.ceil(n.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const eQ=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},tQ=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),aQ={class:"gsc-carousel"},oQ={key:0},sQ=tQ(()=>t.createElementVNode("div",null,"no hay",-1)),nQ=[sQ],iQ={class:"gsc-carousel__2d__slides"},rQ={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lQ=["fill"],cQ={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dQ=["fill"],mQ={class:"gsc-carousel__2d__navigation"},pQ={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hQ=["stroke"],gQ={key:1,class:"gsc-carousel__2d__navigation__pagination"},yQ=["onClick"],uQ={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fQ=["stroke"],_Q={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const s=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const n=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(n,u=>{u&&c.value?(c.value=!1,h(s.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>s.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>s.items,u=>{n.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&n.value){if(s.defaultItemByProp){const f=s.items.findIndex(_=>_[s.defaultItemByProp.propName]===s.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=s.defaultItemByIndex,i.value=u[s.defaultItemByIndex];n.value.slideTo&&n.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){n.value&&n.value.next()}function l(){n.value&&n.value.prev()}function m(){n.value&&n.value.updateSlideWidth()}function p(u){n.value&&n.value.slideTo(u)}function y(u){n.value.slideTo(u)}function g(u){const f=u.slidingToIndex<0?s.items.length-1:u.slidingToIndex===s.items.length?0:u.slidingToIndex;r.value=f,i.value=s.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",aQ,[s.is3d?(t.openBlock(),t.createElementBlock("div",oQ,nQ)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",iQ,[t.createVNode(t.unref(KK),{ref_key:"carousel2d",ref:n,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:g},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,k)=>(t.openBlock(),t.createBlock(t.unref(QK),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:_},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=_=>n.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",rQ,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,lQ)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=_=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",cQ,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,dQ)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",mQ,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=_=>l())},[(t.openBlock(),t.createElementBlock("svg",pQ,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:s.arrowsColor},null,8,hQ)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",gQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${s.navigationHeight}px`,width:`${r.value===k?s.navigationActiveWidth:s.navigationActiveWidth/2}px`,borderRadius:`${s.navigationBorderRadius}px`,backgroundColor:`${r.value===k?s.navigationActiveColor:s.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:w=>y(k)},null,12,yQ))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=_=>n.value.next())},[(t.openBlock(),t.createElementBlock("svg",uQ,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:s.arrowsColor},null,8,fQ)]))])):t.createCommentVNode("",!0)])],2))]))}},bQ=eQ(_Q,[["__scopeId","data-v-dd3cbf69"]]);function wQ(e){const a=t.ref({width:0,height:0});function o(){const s=e.value.getBoundingClientRect();a.value.width=s.width,a.value.height=s.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const CQ="_tarjetaDatosGsDesktoptype4_p1q9z_107",kQ="_tarjetaDatosGsDesktop500type4_p1q9z_127",SQ="_tarjetaDatosGs414type4_p1q9z_135",EQ="_tarjetaDatosGs414500type4_p1q9z_159",NQ="_tarjetaDatosGs414380type4_p1q9z_183",$Q="_tarjetaDatosGs320type4_p1q9z_191",BQ="_tarjetaDatosGs320380type4_p1q9z_215",xQ="_dataBox8type4_p1q9z_239",VQ="_dataBox8380type4_p1q9z_273",IQ="_dataBoxtype4_p1q9z_309",AQ="_dataBox520type4_p1q9z_349",OQ="_dataBox480type4_p1q9z_391",TQ="_dataBox3type4_p1q9z_431",zQ="_dataBox3520type4_p1q9z_471",FQ="_dataBox4type4_p1q9z_481",RQ="_dataBox4500type4_p1q9z_523",PQ="_dataBox6type4_p1q9z_569",DQ="_dataBox6500type4_p1q9z_613",LQ="_dataContainertype4_p1q9z_665",jQ="_dataContainer520type4_p1q9z_693",vQ="_dataContainer1type4_p1q9z_725",MQ="_dataContainer1500type4_p1q9z_753",HQ="_dataBox7type4_p1q9z_783",UQ="_dataBox7380type4_p1q9z_817",GQ="_div15type4_p1q9z_857",WQ="_div15380type4_p1q9z_875",qQ="_btnShareIcontype4_p1q9z_893",JQ="_btnSharetype4_p1q9z_905",XQ="_bakgBaseIcontype4_p1q9z_935",ZQ="_roleCharacterIcontype4_p1q9z_959",YQ="_verVideostype4_p1q9z_975",KQ="_btnVideostype4_p1q9z_989",QQ="_playerNametype4_p1q9z_1037",eee="_elJugadortype4_p1q9z_1055",tee="_aSeguirtype4_p1q9z_1063",aee="_elJugadorAContainertype4_p1q9z_1073",oee="_titletype4_p1q9z_1093",see="_baseCardtype4_p1q9z_1121",nee="_imagePlayerIcontype4_p1q9z_1151",iee="_arrowGraphIcontype4_p1q9z_1177",ree="_divtype4_p1q9z_1189",lee="_totaltype4_p1q9z_1203",cee="_div1type4_p1q9z_1219",dee="_btnShareIcon1type4_p1q9z_1241",mee="_btnShare1type4_p1q9z_1253",pee="_bakgBaseIcon1type4_p1q9z_1281",hee="_bakgBaseIcon2type4_p1q9z_1305",gee="_roleCharacterIcon1type4_p1q9z_1329",yee="_btnVideos1type4_p1q9z_1345",uee="_playerName1type4_p1q9z_1385",fee="_elJugadorAContainer1type4_p1q9z_1395",_ee="_title1type4_p1q9z_1415",bee="_baseCard1type4_p1q9z_1441",wee="_imagePlayerIcon1type4_p1q9z_1469",Cee="_total4type4_p1q9z_1491",kee="_div9type4_p1q9z_1507",See="_roleCharacterIcon2type4_p1q9z_1523",Eee="_btnVideos2type4_p1q9z_1539",Nee="_elJugadorAContainer2type4_p1q9z_1575",$ee="_title2type4_p1q9z_1595",Bee="_imagePlayerIcon2type4_p1q9z_1623",xee="_dataContainer2type4_p1q9z_1645",Vee="_tarjetaDatosGstype4_p1q9z_1675",Iee={tarjetaDatosGsDesktoptype4:CQ,tarjetaDatosGsDesktop500type4:kQ,tarjetaDatosGs414type4:SQ,tarjetaDatosGs414500type4:EQ,tarjetaDatosGs414380type4:NQ,tarjetaDatosGs320type4:$Q,tarjetaDatosGs320380type4:BQ,dataBox8type4:xQ,dataBox8380type4:VQ,dataBoxtype4:IQ,dataBox520type4:AQ,dataBox480type4:OQ,dataBox3type4:TQ,dataBox3520type4:zQ,dataBox4type4:FQ,dataBox4500type4:RQ,dataBox6type4:PQ,dataBox6500type4:DQ,dataContainertype4:LQ,dataContainer520type4:jQ,dataContainer1type4:vQ,dataContainer1500type4:MQ,dataBox7type4:HQ,dataBox7380type4:UQ,div15type4:GQ,div15380type4:WQ,btnShareIcontype4:qQ,btnSharetype4:JQ,bakgBaseIcontype4:XQ,roleCharacterIcontype4:ZQ,verVideostype4:YQ,btnVideostype4:KQ,playerNametype4:QQ,elJugadortype4:eee,aSeguirtype4:tee,elJugadorAContainertype4:aee,titletype4:oee,baseCardtype4:see,imagePlayerIcontype4:nee,arrowGraphIcontype4:iee,divtype4:ree,totaltype4:lee,div1type4:cee,btnShareIcon1type4:dee,btnShare1type4:mee,bakgBaseIcon1type4:pee,bakgBaseIcon2type4:hee,roleCharacterIcon1type4:gee,btnVideos1type4:yee,playerName1type4:uee,elJugadorAContainer1type4:fee,title1type4:_ee,baseCard1type4:bee,imagePlayerIcon1type4:wee,total4type4:Cee,div9type4:kee,roleCharacterIcon2type4:See,btnVideos2type4:Eee,elJugadorAContainer2type4:Nee,title2type4:$ee,imagePlayerIcon2type4:Bee,dataContainer2type4:xee,tarjetaDatosGstype4:Vee},I2=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},yp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},colorcard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{tarjetaDatosGsDesktopClass(){return this.elementSize.width<=500?this.$style.tarjetaDatosGsDesktop500type4:this.$style.tarjetaDatosGsDesktoptype4},tarjetaDatosGs414Class(){const e=this.elementSize.width;return e<=380?this.$style.tarjetaDatosGs414380type4:e<=500?this.$style.tarjetaDatosGs414500type4:this.$style.tarjetaDatosGs414type4},tarjetaDatosGs320Class(){return this.elementSize.width<=380?this.$style.tarjetaDatosGs320380type4:this.$style.tarjetaDatosGs320type4},dataBox8Class(){return this.elementSize.width<=380?this.$style.dataBox8380type4:this.$style.dataBox8type4},dataBoxClass(){const e=this.elementSize.width;return e<=480?this.$style.dataBox480type4:e<=520?this.$style.dataBox520type4:this.$style.dataBoxtype4},dataBox3Class(){return this.elementSize.width<=520?this.$style.dataBox3520type4:this.$style.dataBox3type4},dataBox4Class(){return this.elementSize.width<=500?this.$style.dataBox4500type4:this.$style.dataBox4type4},dataBox6Class(){return this.elementSize.width<=500?this.$style.dataBox6500type4:this.$style.dataBox6type4},dataBox7Class(){return this.elementSize.width<=380?this.$style.dataBox7380type4:this.$style.dataBox7type4},dataContainerClass(){return this.elementSize.width<=520?this.$style.dataContainer520type4:this.$style.dataContainertype4},dataContainer1Class(){return this.elementSize.width<=500?this.$style.dataContainer1500type4:this.$style.dataContainer1type4},div15Class(){return this.elementSize.width<=380?this.$style.div15380type4:this.$style.div15type4}},setup(){const e=t.ref("myDivRefCardtype4"),{elementSize:a}=wQ(e);return{myDivRefCardtype4:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)},clickCategory(e){this.clickCard||this.$emit("onClickCategory",e)}}},A2=()=>{t.useCssVars(e=>({"01071910":e.data.background_color_cards!=null&&e.customizeColors?e.data.background_color_cards:"#1b3649","59f43f5a":e.data.background_color_buttons!=null&&e.customizeColors?e.data.background_color_buttons:"#293744","6ab83eac":e.customizeColors?"":"#cbee6b","79e09a27":e.colorcard,"5882be5b":e.data.font_color!=null&&e.customizeColors?e.data.font_color:"#fff"}))},O2=yp.setup;yp.setup=O2?(e,a)=>(A2(),O2(e,a)):A2;const Aee=t.createElementVNode("path",{d:"M14.886 14.0466C14.1404 14.0466 13.4733 14.3409 12.9632 14.8019L5.96863 10.7308C6.01768 10.5052 6.05692 10.2795 6.05692 10.0441C6.05692 9.80867 6.01768 9.58304 5.96863 9.35741L12.8847 5.32551C13.4145 5.81601 14.111 6.12012 14.886 6.12012C15.6665 6.12012 16.4151 5.81005 16.967 5.25814C17.5189 4.70622 17.829 3.95765 17.829 3.17712C17.829 2.39659 17.5189 1.64803 16.967 1.09611C16.4151 0.544195 15.6665 0.234131 14.886 0.234131C14.1054 0.234131 13.3569 0.544195 12.8049 1.09611C12.253 1.64803 11.9429 2.39659 11.9429 3.17712C11.9429 3.41256 11.9822 3.63819 12.0312 3.86382L5.11516 7.89572C4.58542 7.40523 3.8889 7.10112 3.11391 7.10112C2.33337 7.10112 1.58481 7.41118 1.03289 7.9631C0.480965 8.51502 0.170898 9.26358 0.170898 10.0441C0.170898 10.8246 0.480965 11.5732 1.03289 12.1251C1.58481 12.677 2.33337 12.9871 3.11391 12.9871C3.8889 12.9871 4.58542 12.683 5.11516 12.1925L12.0999 16.2636C12.0509 16.4696 12.0214 16.6855 12.0214 16.9111C12.0214 18.4905 13.3065 19.7658 14.886 19.7658C16.4654 19.7658 17.7505 18.4905 17.7505 16.9111C17.7505 16.1514 17.4487 15.4228 16.9115 14.8856C16.3743 14.3484 15.6457 14.0466 14.886 14.0466Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Oee=[Aee],Tee=["src"],zee={"clip-path":"url(#clip0_59_831)"},Fee=["fill"],Ree=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),Pee=["src"],Dee=["fill"],Lee=["fill"],jee=["fill"],vee=t.createElementVNode("path",{d:"M10.2126 9.10136C9.73332 9.10136 9.30448 9.29055 8.97655 9.58695L4.48004 6.96979C4.51158 6.82474 4.5368 6.67969 4.5368 6.52834C4.5368 6.37699 4.51158 6.23194 4.48004 6.08689L8.92609 3.49495C9.26664 3.81027 9.7144 4.00577 10.2126 4.00577C10.7144 4.00577 11.1956 3.80645 11.5504 3.45164C11.9052 3.09684 12.1045 2.61562 12.1045 2.11385C12.1045 1.61208 11.9052 1.13086 11.5504 0.776056C11.1956 0.421251 10.7144 0.221924 10.2126 0.221924C9.71084 0.221924 9.22962 0.421251 8.87481 0.776056C8.52 1.13086 8.32067 1.61208 8.32067 2.11385C8.32067 2.2652 8.3459 2.41025 8.37743 2.5553L3.93138 5.14723C3.59083 4.83191 3.14308 4.63641 2.64487 4.63641C2.14309 4.63641 1.66187 4.83574 1.30706 5.19055C0.952258 5.54535 0.75293 6.02657 0.75293 6.52834C0.75293 7.03011 0.952258 7.51133 1.30706 7.86613C1.66187 8.22094 2.14309 8.42026 2.64487 8.42026C3.14308 8.42026 3.59083 8.22476 3.93138 7.90944L8.42158 10.5266C8.39004 10.659 8.37113 10.7978 8.37113 10.9428C8.37113 11.9582 9.19727 12.778 10.2126 12.778C11.2279 12.778 12.0541 11.9582 12.0541 10.9428C12.0541 10.4544 11.8601 9.98605 11.5147 9.64071C11.1694 9.29537 10.701 9.10136 10.2126 9.10136Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Mee=[vee],Hee=["src"],Uee=["fill"],Gee=["src"],Wee=["fill"],qee=["fill"],Jee=["fill"],Xee=t.createElementVNode("path",{d:"M10.2126 9.10111C9.73332 9.10111 9.30448 9.2903 8.97655 9.58671L4.48004 6.96954C4.51158 6.8245 4.5368 6.67945 4.5368 6.52809C4.5368 6.37674 4.51158 6.23169 4.48004 6.08665L8.92609 3.49471C9.26664 3.81003 9.7144 4.00553 10.2126 4.00553C10.7144 4.00553 11.1956 3.8062 11.5504 3.4514C11.9052 3.09659 12.1045 2.61537 12.1045 2.1136C12.1045 1.61183 11.9052 1.13062 11.5504 0.775812C11.1956 0.421007 10.7144 0.22168 10.2126 0.22168C9.71084 0.22168 9.22962 0.421007 8.87481 0.775812C8.52 1.13062 8.32067 1.61183 8.32067 2.1136C8.32067 2.26496 8.3459 2.41001 8.37743 2.55505L3.93138 5.14699C3.59083 4.83167 3.14308 4.63617 2.64487 4.63617C2.14309 4.63617 1.66187 4.8355 1.30706 5.1903C0.952258 5.54511 0.75293 6.02633 0.75293 6.52809C0.75293 7.02986 0.952258 7.51108 1.30706 7.86589C1.66187 8.22069 2.14309 8.42002 2.64487 8.42002C3.14308 8.42002 3.59083 8.22452 3.93138 7.9092L8.42158 10.5264C8.39004 10.6588 8.37113 10.7975 8.37113 10.9426C8.37113 11.9579 9.19727 12.7778 10.2126 12.7778C11.2279 12.7778 12.0541 11.9579 12.0541 10.9426C12.0541 10.4542 11.8601 9.98581 11.5147 9.64047C11.1694 9.29512 10.701 9.10111 10.2126 9.10111Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Zee=[Xee],Yee=["src"],Kee=["fill"],Qee=["src"],ete=["fill"],tte=["fill"],ate=["fill"];function ote(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.tarjetaDatosGstype4),ref:"myDivRefCardtype4",onClick:a[10]||(a[10]=r=>i.clickPlayer({season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGsDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCardtype4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnSharetype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcontype4),width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Oee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcontype4),alt:"",src:o.data.background},null,10,Tee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideostype4),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,category:0,type:2}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",zee,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Fee)]),Ree],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titletype4),id:"title-info"},[t.createElementVNode("h4",{class:t.normalizeClass(e.$style.playerNametype4),id:"player-name"},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainertype4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcontype4),alt:"",src:o.data.player_photo},null,10,Pee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainerClass),id:"data-container"},[o.data.category_stats_1!==""?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle("color:"+o.data.font_color_card+"!important"),class:t.normalizeClass(i.dataBoxClass),onClick:a[1]||(a[1]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,Dee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_1),3)],6)):t.createCommentVNode("",!0),o.data.category_stats_2!==""?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBoxClass),onClick:a[2]||(a[2]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,Lee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_2),3)],6)):t.createCommentVNode("",!0),o.data.showlast_category&&o.data.category_stats_3!==""?(t.openBlock(),t.createElementBlock("div",{key:2,style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBoxClass),onClick:a[3]||(a[3]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,jee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs414Class),id:"card-mobile-414"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Mee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon1type4),alt:"",src:o.data.background},null,10,Hee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon1type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Uee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title1type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer1type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon1type4),alt:"",src:o.data.player_photo},null,10,Gee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainer1Class),id:"data-container"},[o.data.category_stats_1!==""?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle("color:"+o.data.font_color_card+"!important"),class:t.normalizeClass(i.dataBox4Class),onClick:a[4]||(a[4]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,Wee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_1),3)],6)):t.createCommentVNode("",!0),o.data.category_stats_2!==""?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle("color:"+o.data.font_color_card+"!important"),class:t.normalizeClass(i.dataBox4Class),onClick:a[5]||(a[5]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,qee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_2),3)],6)):t.createCommentVNode("",!0),o.data.showlast_category&&o.data.category_stats_3!==""?(t.openBlock(),t.createElementBlock("div",{key:2,style:t.normalizeStyle("color:"+o.data.font_color_card+"!important"),class:t.normalizeClass(i.dataBox6Class),onClick:a[6]||(a[6]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,Jee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs320Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon2type4),alt:"",src:o.data.background},null,10,Yee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos2type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon2type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Kee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title2type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer2type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon2type4),alt:"",src:o.data.player_photo},null,10,Qee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer2type4),id:"data-container"},[o.data.category_stats_1!==""?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle("color:"+o.data.font_color_card+"!important"),class:t.normalizeClass(i.dataBox7Class),onClick:a[7]||(a[7]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.font_color_card},null,8,ete)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_1),3)],6)):t.createCommentVNode("",!0),o.data.category_stats_2!==""?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle("color:"+o.data.font_color_card+"!important"),class:t.normalizeClass(i.dataBox8Class),onClick:a[8]||(a[8]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.font_color_card},null,8,tte)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_2),3)],6)):t.createCommentVNode("",!0),o.data.showlast_category&&o.data.category_stats_3!==""?(t.openBlock(),t.createElementBlock("div",{key:2,style:t.normalizeStyle("color:"+o.data.font_color_card+"!important"),class:t.normalizeClass(i.dataBox8Class),onClick:a[9]||(a[9]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.474421 8.8403C0.41722 8.80242 0.369409 8.74584 0.336143 8.67665C0.302877 8.60746 0.285418 8.52828 0.285647 8.44765V1.33719C0.285725 1.25684 0.303299 1.17801 0.3365 1.10909C0.369701 1.04018 0.417288 0.983741 0.474202 0.94579C0.531117 0.907838 0.595232 0.889787 0.659731 0.893556C0.72423 0.897325 0.786704 0.922773 0.84051 0.967195L5.12637 4.52284C5.17532 4.56335 5.21547 4.61829 5.24324 4.68277C5.271 4.74724 5.28554 4.81926 5.28554 4.89242C5.28554 4.96557 5.271 5.03759 5.24324 5.10207C5.21547 5.16655 5.17532 5.22149 5.12637 5.26199L0.84051 8.81848C0.786786 8.863 0.724361 8.88854 0.659889 8.89238C0.595418 8.89623 0.531318 8.87822 0.474421 8.8403V8.8403ZM0.64297 8.44849L4.92883 4.89284L0.64297 8.44849Z",fill:o.data.font_color_card},null,8,ate)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2)],2)}const ste={$style:Iee},nte=I2(yp,[["render",ote],["__cssModules",ste]]),ite={components:{GSCCarousel:bQ,GSCCardData:nte},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},prematch:{type:Boolean,default:!1},teamSelected:{type:Number,default:0},colorCardByTeam:{type:Boolean,default:!1},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",pages:[],homeTeam:[],awayTeam:[],playerInfo:{}}},computed:{},watch:{data:{immediate:!0,handler(e){this.getStats(e)}}},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.position_id==1?e.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.category:e.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.category:e.type==3?e.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.category:e.category!=0?a=e.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];a==="minutes_played"&&(a=[56,57,59,60,326,213,214,215,216,583,584,122,123,124,125,585,586,128,129,130,131,133,327,587,588,136,137,138,139,589,590,142,143,144,145,146,147,485,486,487,488,489,490,491,492,10,27,597,598,538,539,599,600,541,542,601,602,545,546,603,604,548,549,561,562,100,563,564,103,104,105,106,107,108,565,566,111,567,568,114,115,116,117,118,119,4,88,5,34,402,459,460,461,233,403,456,457,458,236,404,453,454,455,240,405,450,451,452,243,408,447,448,449,283,409,444,445,446,285,410,441,442,443,290,411,438,439,440,292,412,435,436,437,297,414,415,416,417,244,418,419,420,421,401,581,582,331,506,530,579,580,334,507,531,577,578,344,508,532,575,576,424,509,533,573,574,341,529,534,571,572,340,528,535,569,570,427,527,536,348,349,350,465,352,353,354,466,14,52,15,53,218,219,220,221,496,497,498,499,500,501,502,503,217,504,505,521,522,543,33,209,208,517,206,207,26,325,16,51,463,151,154,156,591,592,159,162,163,429,165,593,594,168,171,172,430,174,595,596,177,180,181,431,467,358,361,363,366,369,370,469,372,376,378,379,470,381,385,387,388,471,607,608,210,212]),a==="games_played"&&(a=[607,608,12,55,54,35,14,52,15,53,466,477]);let s={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.game_id?[e.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?[e.team_id]:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:"",mainCategoryId:e.category||0}};this.$emit("openmedia",s)},async getStats(){const e=await UK.create({headers:{Authorization:`${this.token}`}}).get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+this.data.season+"/games/"+this.data.game);for(let a=0;a<e.data.games[0].players.length;a++)this.type==0?this.pages.push([{id_season:e.data.games[0].players[a].season_id,color:e.data.games[0].players[a].info_thumbnails.colors.background_color,player_id:e.data.games[0].players[a].player_id,player_name:e.data.games[0].players[a].player_name,game_id:e.data.games[0].game_status===4?null:e.data.games[0].game_id,background:e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_default_players[0],player_photo:e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]:`https://az755631.vo.msecnd.net/players-profile/${e.data.games[0].players[a].player_id}.png`,category_stats_1:this.prematch?e.data.games[0].players[a].games_played:e.data.games[0].players[a].minutes_played,category_stats_2:this.prematch?e.data.games[0].players[a].minutes_played:e.data.games[0].players[a].categories[0].total,category_stats_3:this.prematch?e.data.games[0].players[a].categories[0].total:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":e.data.games[0].players[a].categories[0].categories,category_id_3:this.prematch?e.data.games[0].players[a].categories[0].categories:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":e.data.games[0].players[a].categories[0].category_name,category_name_3:this.prematch?e.data.games[0].players[a].categories[0].category_name:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].category_name:"",showlast_category:!!e.data.games[0].players[a].categories[0],main_title:(this.prematch,"Jugador"),second_title:this.prematch?"A seguir":"Destacado",background_color_buttons:e.data.games[0].players[a].info_thumbnails.colors.background_color_buttons,background_color_cards:e.data.games[0].players[a].info_thumbnails.colors.background_color_cards,color_icon_play:e.data.games[0].players[a].info_thumbnails.colors.color_icon_play,color_next_back:e.data.games[0].players[a].info_thumbnails.colors.color_next_back,font_color:e.data.games[0].players[a].info_thumbnails.colors.font_color,font_color_card:e.data.games[0].players[a].info_thumbnails.colors.font_color_cards?e.data.games[0].players[a].info_thumbnails.colors.font_color_cards:"#FFFFFF"}]):this.teamSelected==e.data.games[0].players[a].team_id&&this.pages.push([{id_season:e.data.games[0].players[a].season_id,color:e.data.games[0].players[a].info_thumbnails.colors.background_color,player_id:e.data.games[0].players[a].player_id,player_name:e.data.games[0].players[a].player_name,game_id:e.data.games[0].game_status===4?null:e.data.games[0].game_id,background:e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_default_players[0],player_photo:e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]:`https://az755631.vo.msecnd.net/players-profile/${e.data.games[0].players[a].player_id}.png`,category_stats_1:this.prematch?e.data.games[0].players[a].games_played:e.data.games[0].players[a].minutes_played,category_stats_2:this.prematch?e.data.games[0].players[a].minutes_played:e.data.games[0].players[a].categories[0].total,category_stats_3:this.prematch?e.data.games[0].players[a].categories[0].total:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":e.data.games[0].players[a].categories[0].categories,category_id_3:this.prematch?e.data.games[0].players[a].categories[0].categories:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":e.data.games[0].players[a].categories[0].category_name,category_name_3:this.prematch?e.data.games[0].players[a].categories[0].category_name:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].category_name:"",showlast_category:!!e.data.games[0].players[a].categories[1],main_title:this.prematch?"El jugador":"Jugador",second_title:this.prematch?"A seguir":"Destacado",background_color_buttons:e.data.games[0].players[a].info_thumbnails.colors.background_color_buttons,background_color_cards:e.data.games[0].players[a].info_thumbnails.colors.background_color_cards,color_icon_play:e.data.games[0].players[a].info_thumbnails.colors.color_icon_play,color_next_back:e.data.games[0].players[a].info_thumbnails.colors.color_next_back,font_color:e.data.games[0].players[a].info_thumbnails.colors.font_color,font_color_card:e.data.games[0].players[a].info_thumbnails.colors.font_color_cards?e.data.games[0].players[a].info_thumbnails.colors.font_color_cards:"#FFFFFF"}])},onClickVideos(e){this.$emit("onClickVideos",e)},onClickCard(e){this.$emit("onClickCard",e)},onClickCategory(e){this.$emit("onClickCategory",e)},clickMore(){this.$emit("onViewMore",!0)}}},rte=e=>(t.pushScopeId("data-v-9fbf19b6"),e=e(),t.popScopeId(),e),lte={class:"gsdata"},cte={class:"gsc-gsdata-carrousel"},dte={key:0,class:"title-header"},mte=rte(()=>t.createElementVNode("div",{class:"title-header-title"},"Datos GolStats",-1)),pte={class:"row-table-carrousel"};function hte(e,a,o,s,n,i){const r=t.resolveComponent("GSCCardData"),c=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",lte,[t.createElementVNode("div",cte,[o.teamSelected==0?(t.openBlock(),t.createElementBlock("div",dte,[mte,t.createElementVNode("div",{class:"title-header-btn",onClick:a[0]||(a[0]=(...h)=>i.clickMore&&i.clickMore(...h))},"Ver más")])):t.createCommentVNode("",!0),t.createVNode(c,{items:n.pages,wrapAround:!0,itemsToShow:1.1,areSlidesArrowsVisible:!0,areNavigationArrowsVisible:!1,isMainSlidePriority:!0,areSlidesArrowsRounded:!1,isPaginationVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",pte,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h,(d,l)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:l},[o.colorCardByTeam?(t.openBlock(),t.createBlock(r,{key:1,type:4,colorcard:d.color,"click-card":o.clickCard,"show-share-button":o.showShareButton,"customize-colors":o.customizeColors,data:d,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["colorcard","click-card","show-share-button","customize-colors","data","onOnClickVideos","onOnClickCategory"])):(t.openBlock(),t.createBlock(r,{key:0,type:4,"click-card":o.clickCard,"show-share-button":o.showShareButton,"customize-colors":o.customizeColors,data:d,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["click-card","show-share-button","customize-colors","data","onOnClickVideos","onOnClickCategory"]))],64))),128))])]),_:1},8,["items"])])])}const gte=I2(ite,[["render",hte],["__scopeId","data-v-9fbf19b6"]]),yte=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},up={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))}}},T2=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},z2=up.setup;up.setup=z2?(e,a)=>(T2(),z2(e,a)):T2;const ute=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),fte=["src"],_te={key:1,class:"text"},bte=["src"],wte={class:"stats"},Cte=ute(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),kte={class:"numstats"},Ste={class:"leyend"};function Ete(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",n.status&&o.typeOnOff&&"button-active"]),style:t.normalizeStyle([i.customStyle,n.status&&o.typeOnOff&&i.customActive]),onClick:a[0]||(a[0]=(...r)=>i.btnClick&&i.btnClick(...r))},[o.icon&&o.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,fte)):t.createCommentVNode("",!0),o.textValue?(t.openBlock(),t.createElementBlock("div",_te,t.toDisplayString(o.textValue),1)):t.createCommentVNode("",!0),o.icon&&o.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,bte)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>i.btnClick&&i.btnClick(...r))},[t.createElementVNode("div",wte,[Cte,t.createElementVNode("div",kte,t.toDisplayString(o.textStat),1)]),t.createElementVNode("div",Ste,t.toDisplayString(o.textCategory),1)])):t.createCommentVNode("",!0)])}const Nte=yte(up,[["render",Ete],["__scopeId","data-v-fb269a1e"]]);function ln(e){const a=t.ref({width:0,height:0});function o(){const s=e.value.getBoundingClientRect();a.value.width=s.width,a.value.height=s.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const $te="_cardFrecuentConnectionstype0_8eub9_57",Bte="_cardFrecuentConnectionsDesktype0_8eub9_85",xte="_cardFrecuentConnectionsDesk360type0_8eub9_103",Vte="_imgPlayerParenttype0_8eub9_123",Ite="_imgPlayerIcontype0_8eub9_149",Ate="_imgPlayerIcon360type0_8eub9_163",Ote="_playerInfotype0_8eub9_177",Tte="_benjaminEvalenttype0_8eub9_195",zte="_frameParenttype0_8eub9_207",Fte="_union9Wrappertype0_8eub9_223",Rte="_union9Icontype0_8eub9_251",Pte="_benjaminEvalent1type0_8eub9_263",Dte="_benjaminEvalent1360type0_8eub9_277",Lte={cardFrecuentConnectionstype0:$te,cardFrecuentConnectionsDesktype0:Bte,cardFrecuentConnectionsDesk360type0:xte,imgPlayerParenttype0:Vte,imgPlayerIcontype0:Ite,imgPlayerIcon360type0:Ate,playerInfotype0:Ote,benjaminEvalenttype0:Tte,frameParenttype0:zte,union9Wrappertype0:Fte,union9Icontype0:Rte,benjaminEvalent1type0:Pte,benjaminEvalent1360type0:Dte},Uo=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},jte={components:{GSCButton:Nte},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1}},computed:{cardFrecuentConnectionsDeskClass(){return this.elementSize.width<=360?this.$style.cardFrecuentConnectionsDesk360type0:this.$style.cardFrecuentConnectionsDesktype0},imgPlayerIconClass(){return this.elementSize.width<=360?this.$style.imgPlayerIcon360type0:this.$style.imgPlayerIcontype0},benjaminEvalent1Class(){return this.elementSize.width<=360?this.$style.benjaminEvalent1360type0:this.$style.benjaminEvalent1type0}},data(){return{}},setup(){const e=t.ref("myDivRefCardtype0"),{elementSize:a}=ln(e);return{myDivRefCardtype0:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickPlayer",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},vte={ref:"myDivRefCardtype0"},Mte=["alt","src"];function Hte(e,a,o,s,n,i){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",vte,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardFrecuentConnectionstype0),onClick:a[1]||(a[1]=c=>i.clickPlayer({player_id:o.data.player_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.cardFrecuentConnectionsDeskClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgPlayerParenttype0)},[t.createElementVNode("img",{class:t.normalizeClass(i.imgPlayerIconClass),alt:o.data.player_name,src:o.data.player_photo},null,10,Mte),t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerInfotype0)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.benjaminEvalenttype0)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParenttype0)},[t.createVNode(r,{icon:"/play-icn.svg","icon-size":"9px","icon-position":"left",width:"18px",height:"18px","border-radius":"18px","border-width":"1","background-color":"transparent","border-color":"#FFFFFF",onClick:a[0]||(a[0]=c=>i.clickVideos({player_id:o.data.player_id}))}),t.createElementVNode("div",{class:t.normalizeClass(i.benjaminEvalent1Class)},t.toDisplayString(o.data.player_stat),3)],2)],2)],2)],2)],2)],512)}const Ute={$style:Lte},Gte=Uo(jte,[["render",Hte],["__cssModules",Ute]]),Wte="_cardVideosJugadorestype1_hyx6z_59",qte="_cardDesktoptype1_hyx6z_87",Jte="_cardDesktop460type1_hyx6z_113",Xte="_backgroundImageParenttype1_hyx6z_137",Zte="_backgroundImageParent460type1_hyx6z_171",Yte="_backgroundImageIcontype1_hyx6z_205",Kte="_loMejorDeContainertype1_hyx6z_225",Qte="_loMejorDeContainer460type1_hyx6z_249",eae="_loMejorDeContainer420type1_hyx6z_273",tae="_loMejorDetype1_hyx6z_297",aae="_btnPlaytype1_hyx6z_303",oae="_btnPlay460_hyx6z_357",sae="_btnPlay460type1_hyx6z_363",nae="_roleCharacterIcontype1_hyx6z_409",iae="_reproducirtype1_hyx6z_423",rae="_playerTeamDesktopIcontype1_hyx6z_435",lae="_playerTeamDesktopIcon1200type1_hyx6z_455",cae="_playerTeamDesktopIcon460type1_hyx6z_479",dae={cardVideosJugadorestype1:Wte,cardDesktoptype1:qte,cardDesktop460type1:Jte,backgroundImageParenttype1:Xte,backgroundImageParent460type1:Zte,backgroundImageIcontype1:Yte,loMejorDeContainertype1:Kte,loMejorDeContainer460type1:Qte,loMejorDeContainer420type1:eae,loMejorDetype1:tae,btnPlaytype1:aae,btnPlay460:oae,btnPlay460type1:sae,roleCharacterIcontype1:nae,reproducirtype1:iae,playerTeamDesktopIcontype1:rae,playerTeamDesktopIcon1200type1:lae,playerTeamDesktopIcon460type1:cae},fp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#000000"},colorTitle:{type:String,default:"#000000"},borderColor:{type:String,default:"#000000"},backgroundImg:{type:String,default:""},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{cardDesktopClass(){return this.elementSize.width<=460?this.$style.cardDesktop460type1:this.$style.cardDesktoptype1},backgroundImageParentClass(){return this.elementSize.width<=460?this.$style.backgroundImageParent460type1:this.$style.backgroundImageParenttype1},btnPlayClass(){return this.elementSize.width<=460?this.$style.btnPlay460type1:this.$style.btnPlaytype1},loMejorDeContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.loMejorDeContainer420type1:e<=460?this.$style.loMejorDeContainer460type1:this.$style.loMejorDeContainertype1},playerTeamDesktopIconClass(){const e=this.elementSize.width;return e<=460?this.$style.playerTeamDesktopIcon460type1:e<=1200?this.$style.playerTeamDesktopIcon1200type1:this.$style.playerTeamDesktopIcontype1}},setup(){const e=t.ref("myDivRefCardtype1"),{elementSize:a}=ln(e);return{myDivRefCardtype1:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},F2=()=>{t.useCssVars(e=>({"3c445abf":e.data.font_color!=null&&e.customizeColors?e.data.font_color:"#fff","418009b6":e.backgroundColor,"392b4ed3":e.data.background_color_buttons!=null&&e.customizeColors?e.data.background_color_buttons:"rgba(255, 255, 255, 0.08)","47279a32":e.borderColor}))},R2=fp.setup;fp.setup=R2?(e,a)=>(F2(),R2(e,a)):F2;const mae={ref:"myDivRefCardtype1"},pae=["src"],hae={"clip-path":"url(#clip0_59_831)"},gae=["fill"],yae=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),uae=["src"];function fae(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",mae,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardVideosJugadorestype1),onClick:a[1]||(a[1]=r=>i.clickPlayer({player_id:o.data.player_id,team_id:o.data.team_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.cardDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(i.backgroundImageParentClass)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backgroundImageIcontype1),src:o.backgroundImg},null,10,pae),t.createElementVNode("h2",{class:t.normalizeClass(i.loMejorDeContainerClass),id:"title-card"},[s.elementSize.width>380?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.loMejorDetype1)},"Lo mejor de ",2)):t.createCommentVNode("",!0),s.elementSize.width<=380?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.loMejorDetype1)},"Lo mejor",2)):t.createCommentVNode("",!0),s.elementSize.width<=380?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.loMejorDetype1)},"de ",2)):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass(e.$style.loMejorDetype1)},t.toDisplayString(o.data.team_name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.btnPlayClass),onClick:a[0]||(a[0]=r=>i.clickVideos({player_id:o.data.player_id,team_id:o.data.team_id}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",hae,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,gae)]),yae],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.reproducirtype1)},"Reproducir",2)],2)],2),t.createElementVNode("img",{class:t.normalizeClass(i.playerTeamDesktopIconClass),src:o.data.player_photo},null,10,uae)],2)],2)],512)}const _ae={$style:dae},bae=Uo(fp,[["render",fae],["__cssModules",_ae]]),wae="_tarjetaHighlightsPostmatchtype2_2xqhb_7",Cae="_tarjetaHighlightsPostmatch780type2_2xqhb_35",kae="_tarjetaHighlightsPostmatch640type2_2xqhb_65",Sae="_tarjetaHighlightsPostmatch520type2_2xqhb_97",Eae="_tarjetaHighlightsPostmatch350type2_2xqhb_131",Nae="_tarjetaHighlightsPostmatch420type2_2xqhb_161",$ae="_tarjetaHighlightsPostmatch320type2_2xqhb_197",Bae="_backgroundtype2_2xqhb_233",xae="_background640type2_2xqhb_253",Vae="_btnPlaytype2_2xqhb_277",Iae="_btnPlay1_2xqhb_301",Aae="_btnPlay1type2_2xqhb_309",Oae="_icnPlaytype2_2xqhb_351",Tae="_union6Icontype2_2xqhb_369",zae={tarjetaHighlightsPostmatchtype2:wae,tarjetaHighlightsPostmatch780type2:Cae,tarjetaHighlightsPostmatch640type2:kae,tarjetaHighlightsPostmatch520type2:Sae,tarjetaHighlightsPostmatch350type2:Eae,tarjetaHighlightsPostmatch420type2:Nae,tarjetaHighlightsPostmatch320type2:$ae,backgroundtype2:Bae,background640type2:xae,btnPlaytype2:Vae,btnPlay1:Iae,btnPlay1type2:Aae,icnPlaytype2:Oae,union6Icontype2:Tae},Fae={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},backgroundImg:{type:String,default:""}},computed:{tarjetaHighlightsPostmatchClass(){const e=this.elementSize.width;return e<=320?this.$style.tarjetaHighlightsPostmatch320type2:e<=350?this.$style.tarjetaHighlightsPostmatch350type2:e<=420?this.$style.tarjetaHighlightsPostmatch420type2:e<=520?this.$style.tarjetaHighlightsPostmatch520type2:e<=640?this.$style.tarjetaHighlightsPostmatch640type2:e<=780?this.$style.tarjetaHighlightsPostmatch780type2:this.$style.tarjetaHighlightsPostmatchtype2},backgroundClass(){return this.elementSize.width<=640?this.$style.background640type2:this.$style.backgroundtype2}},setup(){const e=t.ref("myDivRefCardtype2"),{elementSize:a}=ln(e);return{myDivRefCardtype2:e,elementSize:a}},data(){return{}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},Rae={ref:"myDivRefCardtype2"},Pae=t.createStaticVNode('<svg width="20" height="20" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_59_831)"><path d="M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z" fill="#CBEE6B"></path></g><defs><clipPath id="clip0_59_831"><rect width="12" height="12" fill="white" transform="translate(0.375 0.637695)"></rect></clipPath></defs></svg>',1),Dae=[Pae];function Lae(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",Rae,[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaHighlightsPostmatchClass),onClick:a[1]||(a[1]=r=>i.clickPlayer({game_id:o.data.game_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.backgroundClass),id:"image-video",style:t.normalizeStyle({"background-image":"url("+o.backgroundImg+")"})},null,6),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnPlaytype2)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnPlay1type2),id:"btn-play",onClick:a[0]||(a[0]=r=>i.clickVideos({game_id:o.data.game_id}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.icnPlaytype2)},Dae,2)],2)],2)],2)],512)}const jae={$style:zae},vae=Uo(Fae,[["render",Lae],["__cssModules",jae]]),Mae="_tarjetaDatosGsDesktoptype4_189dz_107",Hae="_tarjetaDatosGsDesktop500type4_189dz_127",Uae="_tarjetaDatosGs414type4_189dz_135",Gae="_tarjetaDatosGs414500type4_189dz_159",Wae="_tarjetaDatosGs414380type4_189dz_183",qae="_tarjetaDatosGs320type4_189dz_191",Jae="_tarjetaDatosGs320380type4_189dz_215",Xae="_dataBox8type4_189dz_239",Zae="_dataBox8380type4_189dz_275",Yae="_dataBoxtype4_189dz_313",Kae="_dataBox520type4_189dz_353",Qae="_dataBox480type4_189dz_395",eoe="_dataBox3type4_189dz_437",toe="_dataBox3520type4_189dz_479",aoe="_dataBox4type4_189dz_489",ooe="_dataBox4500type4_189dz_533",soe="_dataBox6type4_189dz_581",noe="_dataBox6500type4_189dz_627",ioe="_dataContainertype4_189dz_681",roe="_dataContainer520type4_189dz_709",loe="_dataContainer1type4_189dz_741",coe="_dataContainer1500type4_189dz_769",doe="_dataBox7type4_189dz_799",moe="_dataBox7380type4_189dz_835",poe="_div15type4_189dz_877",hoe="_div15380type4_189dz_895",goe="_btnShareIcontype4_189dz_913",yoe="_btnSharetype4_189dz_925",uoe="_bakgBaseIcontype4_189dz_955",foe="_roleCharacterIcontype4_189dz_979",_oe="_verVideostype4_189dz_995",boe="_btnVideostype4_189dz_1009",woe="_playerNametype4_189dz_1059",Coe="_elJugadortype4_189dz_1077",koe="_aSeguirtype4_189dz_1085",Soe="_elJugadorAContainertype4_189dz_1095",Eoe="_titletype4_189dz_1115",Noe="_baseCardtype4_189dz_1143",$oe="_imagePlayerIcontype4_189dz_1173",Boe="_arrowGraphIcontype4_189dz_1199",xoe="_divtype4_189dz_1211",Voe="_totaltype4_189dz_1225",Ioe="_div1type4_189dz_1241",Aoe="_btnShareIcon1type4_189dz_1263",Ooe="_btnShare1type4_189dz_1275",Toe="_bakgBaseIcon1type4_189dz_1303",zoe="_bakgBaseIcon2type4_189dz_1327",Foe="_roleCharacterIcon1type4_189dz_1351",Roe="_btnVideos1type4_189dz_1367",Poe="_playerName1type4_189dz_1409",Doe="_elJugadorAContainer1type4_189dz_1419",Loe="_title1type4_189dz_1439",joe="_baseCard1type4_189dz_1465",voe="_imagePlayerIcon1type4_189dz_1493",Moe="_total4type4_189dz_1515",Hoe="_div9type4_189dz_1531",Uoe="_roleCharacterIcon2type4_189dz_1547",Goe="_btnVideos2type4_189dz_1563",Woe="_elJugadorAContainer2type4_189dz_1601",qoe="_title2type4_189dz_1621",Joe="_imagePlayerIcon2type4_189dz_1649",Xoe="_dataContainer2type4_189dz_1671",Zoe="_tarjetaDatosGstype4_189dz_1701",Yoe={tarjetaDatosGsDesktoptype4:Mae,tarjetaDatosGsDesktop500type4:Hae,tarjetaDatosGs414type4:Uae,tarjetaDatosGs414500type4:Gae,tarjetaDatosGs414380type4:Wae,tarjetaDatosGs320type4:qae,tarjetaDatosGs320380type4:Jae,dataBox8type4:Xae,dataBox8380type4:Zae,dataBoxtype4:Yae,dataBox520type4:Kae,dataBox480type4:Qae,dataBox3type4:eoe,dataBox3520type4:toe,dataBox4type4:aoe,dataBox4500type4:ooe,dataBox6type4:soe,dataBox6500type4:noe,dataContainertype4:ioe,dataContainer520type4:roe,dataContainer1type4:loe,dataContainer1500type4:coe,dataBox7type4:doe,dataBox7380type4:moe,div15type4:poe,div15380type4:hoe,btnShareIcontype4:goe,btnSharetype4:yoe,bakgBaseIcontype4:uoe,roleCharacterIcontype4:foe,verVideostype4:_oe,btnVideostype4:boe,playerNametype4:woe,elJugadortype4:Coe,aSeguirtype4:koe,elJugadorAContainertype4:Soe,titletype4:Eoe,baseCardtype4:Noe,imagePlayerIcontype4:$oe,arrowGraphIcontype4:Boe,divtype4:xoe,totaltype4:Voe,div1type4:Ioe,btnShareIcon1type4:Aoe,btnShare1type4:Ooe,bakgBaseIcon1type4:Toe,bakgBaseIcon2type4:zoe,roleCharacterIcon1type4:Foe,btnVideos1type4:Roe,playerName1type4:Poe,elJugadorAContainer1type4:Doe,title1type4:Loe,baseCard1type4:joe,imagePlayerIcon1type4:voe,total4type4:Moe,div9type4:Hoe,roleCharacterIcon2type4:Uoe,btnVideos2type4:Goe,elJugadorAContainer2type4:Woe,title2type4:qoe,imagePlayerIcon2type4:Joe,dataContainer2type4:Xoe,tarjetaDatosGstype4:Zoe},_p={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},colorcard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1}},data(){return{}},computed:{tarjetaDatosGsDesktopClass(){return this.elementSize.width<=500?this.$style.tarjetaDatosGsDesktop500type4:this.$style.tarjetaDatosGsDesktoptype4},tarjetaDatosGs414Class(){const e=this.elementSize.width;return e<=380?this.$style.tarjetaDatosGs414380type4:e<=500?this.$style.tarjetaDatosGs414500type4:this.$style.tarjetaDatosGs414type4},tarjetaDatosGs320Class(){return this.elementSize.width<=380?this.$style.tarjetaDatosGs320380type4:this.$style.tarjetaDatosGs320type4},dataBox8Class(){return this.elementSize.width<=380?this.$style.dataBox8380type4:this.$style.dataBox8type4},dataBoxClass(){const e=this.elementSize.width;return e<=480?this.$style.dataBox480type4:e<=520?this.$style.dataBox520type4:this.$style.dataBoxtype4},dataBox3Class(){return this.elementSize.width<=520?this.$style.dataBox3520type4:this.$style.dataBox3type4},dataBox4Class(){return this.elementSize.width<=500?this.$style.dataBox4500type4:this.$style.dataBox4type4},dataBox6Class(){return this.elementSize.width<=500?this.$style.dataBox6500type4:this.$style.dataBox6type4},dataBox7Class(){return this.elementSize.width<=380?this.$style.dataBox7380type4:this.$style.dataBox7type4},dataContainerClass(){return this.elementSize.width<=520?this.$style.dataContainer520type4:this.$style.dataContainertype4},dataContainer1Class(){return this.elementSize.width<=500?this.$style.dataContainer1500type4:this.$style.dataContainer1type4},div15Class(){return this.elementSize.width<=380?this.$style.div15380type4:this.$style.div15type4}},setup(){const e=t.ref("myDivRefCardtype4"),{elementSize:a}=ln(e);return{myDivRefCardtype4:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)},clickCategory(e){this.clickCard||this.$emit("onClickCategory",e)}}},P2=()=>{t.useCssVars(e=>({"2a32105c":e.data.background_color_cards!=null?e.data.background_color_cards:"rgba(255, 255, 255, 0.16)","6c73455c":e.data.background_color_buttons!=null?e.data.background_color_buttons:"rgba(255, 255, 255, 0.16)","5358662c":e.colorcard,"36a302f1":e.data.font_color!=null?e.data.font_color:"#fff"}))},D2=_p.setup;_p.setup=D2?(e,a)=>(P2(),D2(e,a)):P2;const Koe=t.createElementVNode("path",{d:"M14.886 14.0466C14.1404 14.0466 13.4733 14.3409 12.9632 14.8019L5.96863 10.7308C6.01768 10.5052 6.05692 10.2795 6.05692 10.0441C6.05692 9.80867 6.01768 9.58304 5.96863 9.35741L12.8847 5.32551C13.4145 5.81601 14.111 6.12012 14.886 6.12012C15.6665 6.12012 16.4151 5.81005 16.967 5.25814C17.5189 4.70622 17.829 3.95765 17.829 3.17712C17.829 2.39659 17.5189 1.64803 16.967 1.09611C16.4151 0.544195 15.6665 0.234131 14.886 0.234131C14.1054 0.234131 13.3569 0.544195 12.8049 1.09611C12.253 1.64803 11.9429 2.39659 11.9429 3.17712C11.9429 3.41256 11.9822 3.63819 12.0312 3.86382L5.11516 7.89572C4.58542 7.40523 3.8889 7.10112 3.11391 7.10112C2.33337 7.10112 1.58481 7.41118 1.03289 7.9631C0.480965 8.51502 0.170898 9.26358 0.170898 10.0441C0.170898 10.8246 0.480965 11.5732 1.03289 12.1251C1.58481 12.677 2.33337 12.9871 3.11391 12.9871C3.8889 12.9871 4.58542 12.683 5.11516 12.1925L12.0999 16.2636C12.0509 16.4696 12.0214 16.6855 12.0214 16.9111C12.0214 18.4905 13.3065 19.7658 14.886 19.7658C16.4654 19.7658 17.7505 18.4905 17.7505 16.9111C17.7505 16.1514 17.4487 15.4228 16.9115 14.8856C16.3743 14.3484 15.6457 14.0466 14.886 14.0466Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Qoe=[Koe],ese=["src"],tse={"clip-path":"url(#clip0_59_831)"},ase=["fill"],ose=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),sse=["src"],nse=["fill"],ise=["fill"],rse=["fill"],lse=t.createElementVNode("path",{d:"M10.2126 9.10136C9.73332 9.10136 9.30448 9.29055 8.97655 9.58695L4.48004 6.96979C4.51158 6.82474 4.5368 6.67969 4.5368 6.52834C4.5368 6.37699 4.51158 6.23194 4.48004 6.08689L8.92609 3.49495C9.26664 3.81027 9.7144 4.00577 10.2126 4.00577C10.7144 4.00577 11.1956 3.80645 11.5504 3.45164C11.9052 3.09684 12.1045 2.61562 12.1045 2.11385C12.1045 1.61208 11.9052 1.13086 11.5504 0.776056C11.1956 0.421251 10.7144 0.221924 10.2126 0.221924C9.71084 0.221924 9.22962 0.421251 8.87481 0.776056C8.52 1.13086 8.32067 1.61208 8.32067 2.11385C8.32067 2.2652 8.3459 2.41025 8.37743 2.5553L3.93138 5.14723C3.59083 4.83191 3.14308 4.63641 2.64487 4.63641C2.14309 4.63641 1.66187 4.83574 1.30706 5.19055C0.952258 5.54535 0.75293 6.02657 0.75293 6.52834C0.75293 7.03011 0.952258 7.51133 1.30706 7.86613C1.66187 8.22094 2.14309 8.42026 2.64487 8.42026C3.14308 8.42026 3.59083 8.22476 3.93138 7.90944L8.42158 10.5266C8.39004 10.659 8.37113 10.7978 8.37113 10.9428C8.37113 11.9582 9.19727 12.778 10.2126 12.778C11.2279 12.778 12.0541 11.9582 12.0541 10.9428C12.0541 10.4544 11.8601 9.98605 11.5147 9.64071C11.1694 9.29537 10.701 9.10136 10.2126 9.10136Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),cse=[lse],dse=["src"],mse=["fill"],pse=["src"],hse=["fill"],gse=["fill"],yse=["fill"],use=t.createElementVNode("path",{d:"M10.2126 9.10111C9.73332 9.10111 9.30448 9.2903 8.97655 9.58671L4.48004 6.96954C4.51158 6.8245 4.5368 6.67945 4.5368 6.52809C4.5368 6.37674 4.51158 6.23169 4.48004 6.08665L8.92609 3.49471C9.26664 3.81003 9.7144 4.00553 10.2126 4.00553C10.7144 4.00553 11.1956 3.8062 11.5504 3.4514C11.9052 3.09659 12.1045 2.61537 12.1045 2.1136C12.1045 1.61183 11.9052 1.13062 11.5504 0.775812C11.1956 0.421007 10.7144 0.22168 10.2126 0.22168C9.71084 0.22168 9.22962 0.421007 8.87481 0.775812C8.52 1.13062 8.32067 1.61183 8.32067 2.1136C8.32067 2.26496 8.3459 2.41001 8.37743 2.55505L3.93138 5.14699C3.59083 4.83167 3.14308 4.63617 2.64487 4.63617C2.14309 4.63617 1.66187 4.8355 1.30706 5.1903C0.952258 5.54511 0.75293 6.02633 0.75293 6.52809C0.75293 7.02986 0.952258 7.51108 1.30706 7.86589C1.66187 8.22069 2.14309 8.42002 2.64487 8.42002C3.14308 8.42002 3.59083 8.22452 3.93138 7.9092L8.42158 10.5264C8.39004 10.6588 8.37113 10.7975 8.37113 10.9426C8.37113 11.9579 9.19727 12.7778 10.2126 12.7778C11.2279 12.7778 12.0541 11.9579 12.0541 10.9426C12.0541 10.4542 11.8601 9.98581 11.5147 9.64047C11.1694 9.29512 10.701 9.10111 10.2126 9.10111Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),fse=[use],_se=["src"],bse=["fill"],wse=["src"],Cse=["fill"],kse=["fill"],Sse=["fill"];function Ese(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.tarjetaDatosGstype4),ref:"myDivRefCardtype4",onClick:a[10]||(a[10]=r=>i.clickPlayer({season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGsDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCardtype4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnSharetype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcontype4),width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Qoe,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcontype4),alt:"",src:o.data.background},null,10,ese)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideostype4),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,player_id:o.data.player_id,category:0,type:2}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",tse,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,ase)]),ose],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titletype4),id:"title-info"},[t.createElementVNode("h4",{class:t.normalizeClass(e.$style.playerNametype4),id:"player-name"},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainertype4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcontype4),alt:"",src:o.data.player_photo},null,10,sse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainerClass),id:"data-container"},[t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBoxClass),onClick:a[1]||(a[1]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,nse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_1),3)],6),t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBoxClass),onClick:a[2]||(a[2]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,ise)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_2),3)],6),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBoxClass),onClick:a[3]||(a[3]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,rse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs414Class),id:"card-mobile-414"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cse,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon1type4),alt:"",src:o.data.background},null,10,dse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon1type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,mse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title1type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer1type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon1type4),alt:"",src:o.data.player_photo},null,10,pse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainer1Class),id:"data-container"},[t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox4Class),onClick:a[4]||(a[4]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,hse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_1),3)],6),t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox4Class),onClick:a[5]||(a[5]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,gse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_2),3)],6),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox6Class),onClick:a[6]||(a[6]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,yse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs320Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fse,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon2type4),alt:"",src:o.data.background},null,10,_se)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos2type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon2type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,bse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title2type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer2type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon2type4),alt:"",src:o.data.player_photo},null,10,wse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer2type4),id:"data-container"},[t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox7Class),onClick:a[7]||(a[7]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.font_color_card},null,8,Cse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_1),3)],6),t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox8Class),onClick:a[8]||(a[8]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.font_color_card},null,8,kse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_2),3)],6),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox8Class),onClick:a[9]||(a[9]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.474421 8.8403C0.41722 8.80242 0.369409 8.74584 0.336143 8.67665C0.302877 8.60746 0.285418 8.52828 0.285647 8.44765V1.33719C0.285725 1.25684 0.303299 1.17801 0.3365 1.10909C0.369701 1.04018 0.417288 0.983741 0.474202 0.94579C0.531117 0.907838 0.595232 0.889787 0.659731 0.893556C0.72423 0.897325 0.786704 0.922773 0.84051 0.967195L5.12637 4.52284C5.17532 4.56335 5.21547 4.61829 5.24324 4.68277C5.271 4.74724 5.28554 4.81926 5.28554 4.89242C5.28554 4.96557 5.271 5.03759 5.24324 5.10207C5.21547 5.16655 5.17532 5.22149 5.12637 5.26199L0.84051 8.81848C0.786786 8.863 0.724361 8.88854 0.659889 8.89238C0.595418 8.89623 0.531318 8.87822 0.474421 8.8403V8.8403ZM0.64297 8.44849L4.92883 4.89284L0.64297 8.44849Z",fill:o.data.font_color_card},null,8,Sse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2)],2)}const Nse={$style:Yoe},$se=Uo(_p,[["render",Ese],["__cssModules",Nse]]),Bse="_cardVideotype3_1geoc_47",xse="_cardVideo540type3_1geoc_73",Vse="_ligaMx2Icontype3_1geoc_101",Ise="_roleCharacterIcontype3_1geoc_121",Ase="_btnPlaytype3_1geoc_135",Ose="_videoThumbnailtype3_1geoc_183",Tse="_chivasIcontype3_1geoc_209",zse="_teamtype3_1geoc_221",Fse="_playerChildtype3_1geoc_251",Rse="_playertype3_1geoc_265",Pse="_teamPlayertype3_1geoc_297",Dse="_mintype3_1geoc_309",Lse="_teamPlayerParenttype3_1geoc_317",jse="_icnGoalsIcontype3_1geoc_333",vse="_min1type3_1geoc_343",Mse="_actionstype3_1geoc_351",Hse="_footerCardVideotype3_1geoc_367",Use={cardVideotype3:Bse,cardVideo540type3:xse,ligaMx2Icontype3:Vse,roleCharacterIcontype3:Ise,btnPlaytype3:Ase,videoThumbnailtype3:Ose,chivasIcontype3:Tse,teamtype3:zse,playerChildtype3:Fse,playertype3:Rse,teamPlayertype3:Pse,mintype3:Dse,teamPlayerParenttype3:Lse,icnGoalsIcontype3:jse,min1type3:vse,actionstype3:Mse,footerCardVideotype3:Hse},bp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},categoryIcon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#000000"},playerPhoto:{type:Boolean,default:!0}},data(){return{}},setup(){const e=t.ref("myDivRefCardtype3"),{elementSize:a}=ln(e);return{myDivRefCardtype3:e,elementSize:a}},computed:{cardVideoClass(){return this.elementSize.width<=540?this.$style.cardVideo540type3:this.$style.cardVideotype3}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},L2=()=>{t.useCssVars(e=>({fe7b7fd8:e.backgroundColor}))},j2=bp.setup;bp.setup=j2?(e,a)=>(L2(),j2(e,a)):L2;const Gse=["src"],Wse=t.createElementVNode("g",{"clip-path":"url(#clip0_59_831)"},[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:"#CBEE6B"})],-1),qse=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),Jse=[Wse,qse],Xse=["src"],Zse=["src"],Yse=["src"];function Kse(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(i.cardVideoClass),ref:"myDivRefCardtype3",onClick:a[1]||(a[1]=r=>i.clickPlayer({season_id:o.data.id_season,category_id:o.data.id_category,team_id:o.data.team_id,player_id:o.data.player_id}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.videoThumbnailtype3),id:"container-video"},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.ligaMx2Icontype3),alt:"",src:o.data.background_card},null,10,Gse),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnPlaytype3),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,category_id:o.data.id_category,team_id:o.data.team_id,player_id:o.data.player_id})),id:"btn-play-video"},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype3),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jse,2))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.footerCardVideotype3),id:"footer-card-video",style:t.normalizeStyle({background:o.backgroundColor})},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPlayerParenttype3)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPlayertype3)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamtype3)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.chivasIcontype3),alt:"",src:o.data.team_logo},null,10,Xse)],2),o.playerPhoto?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.playertype3)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.playerChildtype3),alt:"",src:o.data.player_photo},null,10,Zse)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.mintype3)},t.toDisplayString(o.data.player_name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.actionstype3)},[o.categoryIcon?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.icnGoalsIcontype3),alt:"",src:o.data.icon_stat},null,10,Yse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.min1type3)},t.toDisplayString(o.data.stat),3)],2)],6)],2)}const Qse={$style:Use},ene=Uo(bp,[["render",Kse],["__cssModules",Qse]]),tne={components:{GSCCardFrecuentConnections:Gte,GSCCardVideosPlayers:bae,GSCHighlightsPostmatch:vae,GSCPlays:ene,GSCDataGS:$se},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},playerPhoto:{type:Boolean,default:!0},categoryIcon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#cf152d"},backgroundImg:{type:String,default:""},colorTitle:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},colorCard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{},methods:{onClickPlayer(e){this.$emit("onClickCard",e)},onClickVideos(e){this.$emit("onClickVideos",e)},onClickCategory(e){this.$emit("onClickCategory",e)}}};function ane(e,a,o,s,n,i){const r=t.resolveComponent("GSCCardFrecuentConnections"),c=t.resolveComponent("GSCCardVideosPlayers"),h=t.resolveComponent("GSCHighlightsPostmatch"),d=t.resolveComponent("GSCPlays"),l=t.resolveComponent("GSCDataGS");return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createBlock(r,{key:0,data:o.data,"click-card":o.clickCard,onOnClickPlayer:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","onOnClickPlayer","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createBlock(c,{key:1,data:o.data,"click-card":o.clickCard,"background-color":o.backgroundColor,"color-title":o.colorTitle,"border-color":o.borderColor,"background-img":o.backgroundImg,"customize-colors":o.customizeColors,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","background-color","color-title","border-color","background-img","customize-colors","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==2?(t.openBlock(),t.createBlock(h,{key:2,data:o.data,"click-card":o.clickCard,"background-img":o.backgroundImg,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","background-img","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==3?(t.openBlock(),t.createBlock(d,{key:3,data:o.data,"click-card":o.clickCard,"player-photo":o.playerPhoto,"category-icon":o.categoryIcon,"background-color":o.backgroundColor,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","player-photo","category-icon","background-color","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==4?(t.openBlock(),t.createBlock(l,{key:4,data:o.data,"show-share-button":o.showShareButton,"click-card":o.clickCard,colorcard:o.colorCard,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos,onOnClickCategory:i.onClickCategory},null,8,["data","show-share-button","click-card","colorcard","onOnClickCard","onOnClickVideos","onOnClickCategory"])):t.createCommentVNode("",!0)])}const one=Uo(tne,[["render",ane],["__scopeId","data-v-b1f26d64"]]),sne=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},wp={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,a=this.$refs.content.scrollWidth;a>0&&e>0&&(a>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},v2=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},M2=wp.setup;wp.setup=M2?(e,a)=>(v2(),M2(e,a)):v2;const nne={ref:"gscScrollableContainer",class:"scrollable-container"},ine={class:"scrollable-arrows"},rne=["width","height","viewBox"],lne=["stroke"],cne={class:"scrollable-wrapper"},dne={class:"scrollable-arrows"},mne=["width","height","viewBox"],pne=["stroke"];function hne(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",nne,[o.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",i.hideShowLeftArrow]),onClick:a[0]||(a[0]=(...r)=>i.scrollLeft&&i.scrollLeft(...r))},[t.createElementVNode("div",ine,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:o.arrowsColor},null,8,lne)],8,rne))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:a[1]||(a[1]=(...r)=>i.getScroll&&i.getScroll(...r))},[t.createElementVNode("div",cne,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),o.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",i.hideShowRightArrow]),onClick:a[2]||(a[2]=(...r)=>i.scrollRight&&i.scrollRight(...r))},[t.createElementVNode("div",dne,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:o.arrowsColor},null,8,pne)],8,mne))])],2)):t.createCommentVNode("",!0)],512)}const gne=sne(wp,[["render",hne],["__scopeId","data-v-b548a08d"]]),yne="_templateDataGS_1w6kr_7",une="_gridCompo480_1w6kr_33",fne="_gridCompo_1w6kr_33",_ne="_grid_1w6kr_33",bne="_grid768_1w6kr_115",wne="_grid480_1w6kr_137",Cne="_specialsMobile_1w6kr_161",kne="_gridClass_1w6kr_177",Sne={templateDataGS:yne,gridCompo480:une,gridCompo:fne,grid:_ne,grid768:bne,grid480:wne,specialsMobile:Cne,gridClass:kne},Ene={components:{GSCData:gte,GSCCard:one,GSCSlider:gne,GSCMentionsCards:BY},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}}},setup(){const e=t.ref("myDivRef2GSDa"),{elementSize:a}=KZ(e);return{myDivRef2GSDa:e,elementSize:a}},data(){return{token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",pages:[],homeTeam:[],awayTeam:[],playerInfo:{},specials:[]}},computed:{gridCompoClass(){return this.elementSize.width<=720?this.$style.gridCompo480:this.$style.gridCompo},gridClass(){const e=this.elementSize.width;return e<=620?this.$style.grid480:e<=900?this.$style.grid768:this.$style.grid}},watch:{data:{immediate:!0,handler(e){this.getStats(e)}}},methods:{openmedia(e){this.$emit("openmedia",e)},onclickPlayVideos(e){var a=[];e.type==2?e.position_id==1?e.category==0?a=[39,55,41,42,264,304,306,608,324,323,362,371,380,355,49,50,267,308]:a=e.category:e.category==0?a=[12,19,31,32,13,25,6,11,23,4,5,24,15,607,10,27,216,217,155,164,173,30,98,101,104,105,109,112,115,116,17,2,20]:a=e.category:e.type==3?e.category==0?a=[12,55,"35_r","54_r",19,31,32,13,25,6,312,11,23,4,5,24,18,49,607,608,10,324,27,323,216,217,155,164,173,362,371,380,30,355,98,101,104,105,109,112,115,116,17,50,2,20,267,308]:a=e.category:e.category!=0?a=e.category:a=[12,55,"35_r","54_r",19,31,32,13,25,6,312,11,23,4,5,24,18,49,607,608,10,324,27,323,216,217,155,164,173,362,371,380,30,355,98,101,104,105,109,112,115,116,17,50,2,20,267,308],a==="minutes_played"&&(a=[56,57,59,60,326,213,214,215,216,583,584,122,123,124,125,585,586,128,129,130,131,133,327,587,588,136,137,138,139,589,590,142,143,144,145,146,147,485,486,487,488,489,490,491,492,10,27,597,598,538,539,599,600,541,542,601,602,545,546,603,604,548,549,561,562,100,563,564,103,104,105,106,107,108,565,566,111,567,568,114,115,116,117,118,119,4,88,5,34,402,459,460,461,233,403,456,457,458,236,404,453,454,455,240,405,450,451,452,243,408,447,448,449,283,409,444,445,446,285,410,441,442,443,290,411,438,439,440,292,412,435,436,437,297,414,415,416,417,244,418,419,420,421,401,581,582,331,506,530,579,580,334,507,531,577,578,344,508,532,575,576,424,509,533,573,574,341,529,534,571,572,340,528,535,569,570,427,527,536,348,349,350,465,352,353,354,466,14,52,15,53,218,219,220,221,496,497,498,499,500,501,502,503,217,504,505,521,522,543,33,209,208,517,206,207,26,325,16,51,463,151,154,156,591,592,159,162,163,429,165,593,594,168,171,172,430,174,595,596,177,180,181,431,467,358,361,363,366,369,370,469,372,376,378,379,470,381,385,387,388,471,607,608,210,212]),a==="games_played"&&(a=[607,608,12,55,54,35,14,52,15,53,466,477]);const o=[1,2,3];let s={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.game_id?[e.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?[e.team_id]:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.category!==0&&(s.advancedFilter.mainCategoryId=e.category),this.$emit("openmedia",s)},async getStats(e){const a=YZ.create({headers:{Authorization:`${this.token}`}}),o=await a.get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+e.season+"/games/"+e.game),s=await a.get("https://55sbpmq0f5.execute-api.us-west-2.amazonaws.com/prod/specialMentions/"+e.game);for(let n=0;n<o.data.games[0].players.length;n++)e.home_team_id==o.data.games[0].players[n].team_id&&this.homeTeam.push({id_season:o.data.games[0].players[n].season_id,color:o.data.games[0].players[n].info_thumbnails.colors.background_color,player_id:o.data.games[0].players[n].player_id,player_name:o.data.games[0].players[n].player_name,background:o.data.games[0].players[n].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.background_default_players[0],player_photo:o.data.games[0].players[n].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.player_in_action[0]:`https://az755631.vo.msecnd.net/players-profile/${o.data.games[0].players[n].player_id}.png`,category_stats_1:this.prematch?o.data.games[0].players[n].games_played:o.data.games[0].players[n].minutes_played,category_stats_2:this.prematch?o.data.games[0].players[n].minutes_played:o.data.games[0].players[n].categories[0].total,category_stats_3:this.prematch?o.data.games[0].players[n].categories[0].total:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":o.data.games[0].players[n].categories[0].categories,category_id_3:this.prematch?o.data.games[0].players[n].categories[0].categories:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":o.data.games[0].players[n].categories[0].category_name,category_name_3:this.prematch?o.data.games[0].players[n].categories[0].category_name:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].category_name:"",showlast_category:!!o.data.games[0].players[n].categories[1],main_title:"Jugador",second_title:"Destacado",background_color_buttons:o.data.games[0].players[n].info_thumbnails.colors.background_color_buttons,background_color_cards:o.data.games[0].players[n].info_thumbnails.colors.background_color_cards,color_icon_play:o.data.games[0].players[n].info_thumbnails.colors.color_icon_play,color_next_back:o.data.games[0].players[n].info_thumbnails.colors.color_next_back,font_color:o.data.games[0].players[n].info_thumbnails.colors.font_color,font_color_card:o.data.games[0].players[n].info_thumbnails.colors.font_color_cards?o.data.games[0].players[n].info_thumbnails.colors.font_color_cards:"#FFFFFF"}),e.away_team_id==o.data.games[0].players[n].team_id&&this.awayTeam.push({id_season:o.data.games[0].players[n].season_id,color:o.data.games[0].players[n].info_thumbnails.colors.background_color,player_id:o.data.games[0].players[n].player_id,player_name:o.data.games[0].players[n].player_name,background:o.data.games[0].players[n].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.background_default_players[0],player_photo:o.data.games[0].players[n].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.player_in_action[0]:`https://az755631.vo.msecnd.net/players-profile/${o.data.games[0].players[n].player_id}.png`,category_stats_1:this.prematch?o.data.games[0].players[n].games_played:o.data.games[0].players[n].minutes_played,category_stats_2:this.prematch?o.data.games[0].players[n].minutes_played:o.data.games[0].players[n].categories[0].total,category_stats_3:this.prematch?o.data.games[0].players[n].categories[0].total:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":o.data.games[0].players[n].categories[0].categories,category_id_3:this.prematch?o.data.games[0].players[n].categories[0].categories:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":o.data.games[0].players[n].categories[0].category_name,category_name_3:this.prematch?o.data.games[0].players[n].categories[0].category_name:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].category_name:"",showlast_category:!!o.data.games[0].players[n].categories[1],main_title:"Jugador",second_title:"Destacado",background_color_buttons:o.data.games[0].players[n].info_thumbnails.colors.background_color_buttons,background_color_cards:o.data.games[0].players[n].info_thumbnails.colors.background_color_cards,color_icon_play:o.data.games[0].players[n].info_thumbnails.colors.color_icon_play,color_next_back:o.data.games[0].players[n].info_thumbnails.colors.color_next_back,font_color:o.data.games[0].players[n].info_thumbnails.colors.font_color,font_color_card:o.data.games[0].players[n].info_thumbnails.colors.font_color_cards?o.data.games[0].players[n].info_thumbnails.colors.font_color_cards:"#FFFFFF"});this.specials=s.data.data}}},Nne={style:{margin:"0 auto",width:"100%"}},$ne={style:{margin:"0 auto",width:"100%"}};function Bne(e,a,o,s,n,i){const r=t.resolveComponent("GSCData"),c=t.resolveComponent("GSCMentionsCards"),h=t.resolveComponent("GSCSlider"),d=t.resolveComponent("GSCCard");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.templateDataGS),ref:"myDivRef2GSDa"},[o.type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(i.gridCompoClass)},[t.createElementVNode("div",{style:t.normalizeStyle(s.elementSize.width>720?"width:"+(s.elementSize.width-80)/2+"px":"width:"+(s.elementSize.width-40)+"px")},[t.createElementVNode("div",Nne,[t.createVNode(r,{type:1,prematch:!0,"click-card":!1,"team-selected":o.data.home_team_id,data:o.data,colorCardByTeam:!0,onOpenmedia:i.openmedia},null,8,["team-selected","data","onOpenmedia"])])],4),t.createElementVNode("div",{style:t.normalizeStyle(s.elementSize.width>720?"width:"+(s.elementSize.width-80)/2+"px":"width:"+(s.elementSize.width-40)+"px")},[t.createElementVNode("div",$ne,[t.createVNode(r,{type:1,prematch:!0,"click-card":!1,"team-selected":o.data.away_team_id,data:o.data,colorCardByTeam:!0,onOpenmedia:i.openmedia},null,8,["team-selected","data","onOpenmedia"])])],4)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.specialsMobile)},[t.createVNode(h,{"px-scroll":305,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"none",arrowsContainerBgR:"none",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd","background-color":"#172531"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.specials,(l,m)=>(t.openBlock(),t.createBlock(c,{key:m,data:l,"is-slider":!0},null,8,["data"]))),128))]),_:1})],2),t.createElementVNode("div",{class:t.normalizeClass([i.gridClass,e.$style.gridClass])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.specials,(l,m)=>(t.openBlock(),t.createBlock(c,{key:m,data:l},null,8,["data"]))),128))],2)],64)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.gridCompoClass)},[t.createElementVNode("div",{style:t.normalizeStyle(s.elementSize.width>720?"width:"+(s.elementSize.width-50)/2+"px":"width:"+(s.elementSize.width-40)+"px")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.homeTeam,(l,m)=>(t.openBlock(),t.createBlock(d,{key:m,type:4,style:{"margin-top":"30px"},"click-card":!1,data:l,colorCard:l.color,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["data","colorCard","onOnClickVideos","onOnClickCategory"]))),128))],4),t.createElementVNode("div",{style:t.normalizeStyle(s.elementSize.width>720?"width:"+(s.elementSize.width-50)/2+"px":"width:"+(s.elementSize.width-40)+"px")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.awayTeam,(l,m)=>(t.openBlock(),t.createBlock(d,{key:m,type:4,style:{"margin-top":"30px"},"click-card":!1,data:l,colorCard:l.color,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["data","colorCard","onOnClickVideos","onOnClickCategory"]))),128))],4)],2))],2)}const xne={$style:Sne},H2=J_(Ene,[["render",Bne],["__cssModules",xne],["__scopeId","data-v-64d18036"]]),DMe="",LMe="",Vne={class:"datagame-container"},Ine=Fe({__name:"GSCDatosGSMain",props:{game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})}},emits:["openmedia"],setup(e,{emit:a}){const o=e,s=t.ref(0);t.watch(()=>o.game,i=>{s.value=i.gameId},{deep:!0,immediate:!0});function n(i){a("openmedia",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",Vne,[e.game.game_status==4?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(H2),{onOpenmedia:n,key:s.value,type:0,data:{season:e.game.seasonId,game:e.game.gameId,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:1}},null,8,["data"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(H2),{onOpenmedia:n,key:s.value,type:1,data:{season:e.game.seasonId,game:e.game.gameId,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:2}},null,8,["data"])):t.createCommentVNode("",!0)],64))]))}},[["__scopeId","data-v-ce673ad1"]]);function U2(e,a){return function(){return e.apply(a,arguments)}}const{toString:Ane}=Object.prototype,{getPrototypeOf:Cp}=Object,Rr=(e=>a=>{const o=Ane.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),la=e=>(e=e.toLowerCase(),a=>Rr(a)===e),Pr=e=>a=>typeof a===e,{isArray:Go}=Array,cn=Pr("undefined");function One(e){return e!==null&&!cn(e)&&e.constructor!==null&&!cn(e.constructor)&&At(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const G2=la("ArrayBuffer");function Tne(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&G2(e.buffer),a}const zne=Pr("string"),At=Pr("function"),W2=Pr("number"),Dr=e=>e!==null&&typeof e=="object",Fne=e=>e===!0||e===!1,Lr=e=>{if(Rr(e)!=="object")return!1;const a=Cp(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Rne=la("Date"),Pne=la("File"),Dne=la("Blob"),Lne=la("FileList"),jne=e=>Dr(e)&&At(e.pipe),vne=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||At(e.append)&&((a=Rr(e))==="formdata"||a==="object"&&At(e.toString)&&e.toString()==="[object FormData]"))},Mne=la("URLSearchParams"),Hne=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function dn(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let s,n;if(typeof e!="object"&&(e=[e]),Go(e))for(s=0,n=e.length;s<n;s++)a.call(null,e[s],s,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(s=0;s<r;s++)c=i[s],a.call(null,e[c],c,e)}}function q2(e,a){a=a.toLowerCase();const o=Object.keys(e);let s=o.length,n;for(;s-- >0;)if(n=o[s],a===n.toLowerCase())return n;return null}const J2=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),X2=e=>!cn(e)&&e!==J2;function kp(){const{caseless:e}=X2(this)&&this||{},a={},o=(s,n)=>{const i=e&&q2(a,n)||n;Lr(a[i])&&Lr(s)?a[i]=kp(a[i],s):Lr(s)?a[i]=kp({},s):Go(s)?a[i]=s.slice():a[i]=s};for(let s=0,n=arguments.length;s<n;s++)arguments[s]&&dn(arguments[s],o);return a}const Une=(e,a,o,{allOwnKeys:s}={})=>(dn(a,(n,i)=>{o&&At(n)?e[i]=U2(n,o):e[i]=n},{allOwnKeys:s}),e),Gne=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Wne=(e,a,o,s)=>{e.prototype=Object.create(a.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},qne=(e,a,o,s)=>{let n,i,r;const c={};if(a=a||{},e==null)return a;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)r=n[i],(!s||s(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Cp(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},Jne=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const s=e.indexOf(a,o);return s!==-1&&s===o},Xne=e=>{if(!e)return null;if(Go(e))return e;let a=e.length;if(!W2(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},Zne=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Cp(Uint8Array)),Yne=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=o.next())&&!s.done;){const n=s.value;a.call(e,n[0],n[1])}},Kne=(e,a)=>{let o;const s=[];for(;(o=e.exec(a))!==null;)s.push(o);return s},Qne=la("HTMLFormElement"),eie=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,s){return o.toUpperCase()+s}),Z2=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),tie=la("RegExp"),Y2=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),s={};dn(o,(n,i)=>{let r;(r=a(n,i,e))!==!1&&(s[i]=r||n)}),Object.defineProperties(e,s)},aie=e=>{Y2(e,(a,o)=>{if(At(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const s=e[o];if(At(s)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},oie=(e,a)=>{const o={},s=n=>{n.forEach(i=>{o[i]=!0})};return Go(e)?s(e):s(String(e).split(a)),o},sie=()=>{},nie=(e,a)=>(e=+e,Number.isFinite(e)?e:a),Sp="abcdefghijklmnopqrstuvwxyz",K2="0123456789",Q2={DIGIT:K2,ALPHA:Sp,ALPHA_DIGIT:Sp+Sp.toUpperCase()+K2},iie=(e=16,a=Q2.ALPHA_DIGIT)=>{let o="";const{length:s}=a;for(;e--;)o+=a[Math.random()*s|0];return o};function rie(e){return!!(e&&At(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const lie=e=>{const a=new Array(10),o=(s,n)=>{if(Dr(s)){if(a.indexOf(s)>=0)return;if(!("toJSON"in s)){a[n]=s;const i=Go(s)?[]:{};return dn(s,(r,c)=>{const h=o(r,n+1);!cn(h)&&(i[c]=h)}),a[n]=void 0,i}}return s};return o(e,0)},cie=la("AsyncFunction"),die=e=>e&&(Dr(e)||At(e))&&At(e.then)&&At(e.catch),H={isArray:Go,isArrayBuffer:G2,isBuffer:One,isFormData:vne,isArrayBufferView:Tne,isString:zne,isNumber:W2,isBoolean:Fne,isObject:Dr,isPlainObject:Lr,isUndefined:cn,isDate:Rne,isFile:Pne,isBlob:Dne,isRegExp:tie,isFunction:At,isStream:jne,isURLSearchParams:Mne,isTypedArray:Zne,isFileList:Lne,forEach:dn,merge:kp,extend:Une,trim:Hne,stripBOM:Gne,inherits:Wne,toFlatObject:qne,kindOf:Rr,kindOfTest:la,endsWith:Jne,toArray:Xne,forEachEntry:Yne,matchAll:Kne,isHTMLForm:Qne,hasOwnProperty:Z2,hasOwnProp:Z2,reduceDescriptors:Y2,freezeMethods:aie,toObjectSet:oie,toCamelCase:eie,noop:sie,toFiniteNumber:nie,findKey:q2,global:J2,isContextDefined:X2,ALPHABET:Q2,generateString:iie,isSpecCompliantForm:rie,toJSONObject:lie,isAsyncFn:cie,isThenable:die};function be(e,a,o,s,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),s&&(this.request=s),n&&(this.response=n)}H.inherits(be,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.response&&this.response.status?this.response.status:null}}});const e5=be.prototype,t5={};["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=>{t5[e]={value:e}}),Object.defineProperties(be,t5),Object.defineProperty(e5,"isAxiosError",{value:!0}),be.from=(e,a,o,s,n,i)=>{const r=Object.create(e5);return H.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),be.call(r,e.message,a,o,s,n),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const mie=null;function Ep(e){return H.isPlainObject(e)||H.isArray(e)}function a5(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function o5(e,a,o){return e?e.concat(a).map(function(s,n){return s=a5(s),!o&&n?"["+s+"]":s}).join(o?".":""):a}function pie(e){return H.isArray(e)&&!e.some(Ep)}const hie=H.toFlatObject(H,{},null,function(e){return/^is[A-Z]/.test(e)});function jr(e,a,o){if(!H.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=H.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,g){return!H.isUndefined(g[y])});const s=o.metaTokens,n=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(a);if(!H.isFunction(n))throw new TypeError("visitor must be a function");function h(y){if(y===null)return"";if(H.isDate(y))return y.toISOString();if(!c&&H.isBlob(y))throw new be("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(y)||H.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,g,u){let f=y;if(y&&!u&&typeof y=="object"){if(H.endsWith(g,"{}"))g=s?g:g.slice(0,-2),y=JSON.stringify(y);else if(H.isArray(y)&&pie(y)||(H.isFileList(y)||H.endsWith(g,"[]"))&&(f=H.toArray(y)))return g=a5(g),f.forEach(function(_,k){!(H.isUndefined(_)||_===null)&&a.append(r===!0?o5([g],k,i):r===null?g:g+"[]",h(_))}),!1}return Ep(y)?!0:(a.append(o5(u,g,i),h(y)),!1)}const l=[],m=Object.assign(hie,{defaultVisitor:d,convertValue:h,isVisitable:Ep});function p(y,g){if(!H.isUndefined(y)){if(l.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));l.push(y),H.forEach(y,function(u,f){(!(H.isUndefined(u)||u===null)&&n.call(a,u,H.isString(f)?f.trim():f,g,m))===!0&&p(u,g?g.concat(f):[f])}),l.pop()}}if(!H.isObject(e))throw new TypeError("data must be an object");return p(e),a}function s5(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function Np(e,a){this._pairs=[],e&&jr(e,this,a)}const n5=Np.prototype;n5.append=function(e,a){this._pairs.push([e,a])},n5.toString=function(e){const a=e?function(o){return e.call(this,o,s5)}:s5;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function gie(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function i5(e,a,o){if(!a)return e;const s=o&&o.encode||gie,n=o&&o.serialize;let i;if(n?i=n(a,o):i=H.isURLSearchParams(a)?a.toString():new Np(a,o).toString(s),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const r5=class{constructor(){this.handlers=[]}use(a,o,s){return this.handlers.push({fulfilled:a,rejected:o,synchronous:s?s.synchronous:!1,runWhen:s?s.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(o){o!==null&&a(o)})}},l5={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yie=typeof URLSearchParams<"u"?URLSearchParams:Np,uie=typeof FormData<"u"?FormData:null,fie=typeof Blob<"u"?Blob:null,_ie={isBrowser:!0,classes:{URLSearchParams:yie,FormData:uie,Blob:fie},protocols:["http","https","file","blob","url","data"]},c5=typeof window<"u"&&typeof document<"u",bie=(e=>c5&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),wie=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Cie=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:c5,hasStandardBrowserEnv:bie,hasStandardBrowserWebWorkerEnv:wie},Symbol.toStringTag,{value:"Module"})),ca={...Cie,..._ie};function kie(e,a){return jr(e,new ca.classes.URLSearchParams,Object.assign({visitor:function(o,s,n,i){return ca.isNode&&H.isBuffer(o)?(this.append(s,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function Sie(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Eie(e){const a={},o=Object.keys(e);let s;const n=o.length;let i;for(s=0;s<n;s++)i=o[s],a[i]=e[i];return a}function d5(e){function a(o,s,n,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&H.isArray(n)?n.length:r,h?(H.hasOwnProp(n,r)?n[r]=[n[r],s]:n[r]=s,!c):((!n[r]||!H.isObject(n[r]))&&(n[r]=[]),a(o,s,n[r],i)&&H.isArray(n[r])&&(n[r]=Eie(n[r])),!c)}if(H.isFormData(e)&&H.isFunction(e.entries)){const o={};return H.forEachEntry(e,(s,n)=>{a(Sie(s),n,o,0)}),o}return null}function Nie(e,a,o){if(H.isString(e))try{return(a||JSON.parse)(e),H.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(o||JSON.stringify)(e)}const $p={transitional:l5,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",s=o.indexOf("application/json")>-1,n=H.isObject(e);if(n&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return s?JSON.stringify(d5(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(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 i;if(n){if(o.indexOf("application/x-www-form-urlencoded")>-1)return kie(e,this.formSerializer).toString();if((i=H.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return jr(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return n||s?(a.setContentType("application/json",!1),Nie(e)):e}],transformResponse:[function(e){const a=this.transitional||$p.transitional,o=a&&a.forcedJSONParsing,s=this.responseType==="json";if(e&&H.isString(e)&&(o&&!this.responseType||s)){const n=!(a&&a.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(i){if(n)throw i.name==="SyntaxError"?be.from(i,be.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ca.classes.FormData,Blob:ca.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=>{$p.headers[e]={}});const Bp=$p,$ie=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"]),Bie=e=>{const a={};let o,s,n;return e&&e.split(`
|
|
57
|
+
*/const dt={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},B2={itemsToShow:{default:dt.itemsToShow,type:Number},itemsToScroll:{default:dt.itemsToScroll,type:Number},wrapAround:{default:dt.wrapAround,type:Boolean},throttle:{default:dt.throttle,type:Number},snapAlign:{default:dt.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:dt.transition,type:Number},breakpoints:{default:dt.breakpoints,type:Object},autoplay:{default:dt.autoplay,type:Number},pauseAutoplayOnHover:{default:dt.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:dt.mouseDrag,type:Boolean},touchDrag:{default:dt.touchDrag,type:Boolean},dir:{default:dt.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:dt.i18n,type:Object},settings:{default(){return{}},type:Object}};function GK({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:s,itemsToShow:n=1}=e;if(s)return Math.max(a-1,0);let i;switch(o){case"start":i=a-n;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((n-.5)/2);break;case"center-even":i=a-Math.ceil(n/2);break;default:i=0;break}return Math.max(i,0)}function WK({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:s,itemsToShow:n=1}=e;let i=0;if(o||n>a)return i;switch(s){case"start":i=0;break;case"end":i=n-1;break;case"center":case"center-odd":i=Math.floor((n-1)/2);break;case"center-even":i=Math.floor((n-2)/2);break;default:i=0;break}return i}function hp({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function qK({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:s,wrapAround:n,itemsToShow:i=1}=e;let r=a;switch(s){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return n?r:hp({val:r,max:o-i,min:0})}function x2(e){return e?e.reduce((a,o)=>{var s;return o.type===t.Fragment?[...a,...x2(o.children)]:((s=o.type)===null||s===void 0?void 0:s.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function gp({val:e,max:a,min:o=0}){return e>a?gp({val:e-(a+1),max:a,min:o}):e<o?gp({val:e+(a+1),max:a,min:o}):e}function JK(e,a){let o;return a?function(...s){const n=this;o||(e.apply(n,s),o=!0,setTimeout(()=>o=!1,a))}:e}function XK(e,a){let o;return function(...s){o&&clearTimeout(o),o=setTimeout(()=>{e(...s),o=null},a)}}function ZK(e="",a={}){return Object.entries(a).reduce((o,[s,n])=>o.replace(`{${s}}`,String(n)),e)}var YK=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},dt))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},ZK(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),KK=t.defineComponent({name:"Carousel",props:B2,setup(e,{slots:a,emit:o,expose:s}){var n;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},dt));let l=Object.assign({},dt),m;const p=t.ref((n=e.modelValue)!==null&&n!==void 0?n:0),y=t.ref(0),g=t.ref(0),u=t.ref(0),f=t.ref(0);let _,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function w(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),E(l)}function b(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(O=>Number(O)).sort((O,oe)=>+oe-+O);let T=Object.assign({},l);S.some(O=>{const oe=window.matchMedia(`(min-width: ${O}px)`).matches;return oe&&(T=Object.assign(Object.assign({},T),m[O])),oe}),E(T)}function E(S){Object.entries(S).forEach(([T,O])=>d[T]=O)}const x=XK(()=>{b(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function B(){h.value<=0||(g.value=Math.ceil((h.value-1)/2),u.value=GK({config:d,slidesCount:h.value}),f.value=WK({config:d,slidesCount:h.value}),d.wrapAround||(p.value=hp({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),b(),Le(),window.addEventListener("resize",x,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),_&&clearInterval(_),window.removeEventListener("resize",x,{passive:!0})});let $=!1;const z={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),F=t.ref(!1),ee=t.ref(!1),re=()=>{F.value=!0},Q=()=>{F.value=!1};function C(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||($=S.type==="touchstart",$||S.preventDefault(),!(!$&&S.button!==0||P.value)&&(z.x=$?S.touches[0].clientX:S.clientX,z.y=$?S.touches[0].clientY:S.clientY,document.addEventListener($?"touchmove":"mousemove",N,!0),document.addEventListener($?"touchend":"mouseup",R,!0)))}const N=JK(S=>{ee.value=!0,A.x=$?S.touches[0].clientX:S.clientX,A.y=$?S.touches[0].clientY:S.clientY;const T=A.x-z.x,O=A.y-z.y;I.y=O,I.x=T},d.throttle);function R(){const S=d.dir==="rtl"?-1:1,T=Math.sign(I.x)*.4,O=Math.round(I.x/c.value+T)*S;if(O&&!$){const oe=Ae=>{Ae.stopPropagation(),window.removeEventListener("click",oe,!0)};window.addEventListener("click",oe,!0)}K(p.value-O),I.x=0,I.y=0,ee.value=!1,document.removeEventListener($?"touchmove":"mousemove",N,!0),document.removeEventListener($?"touchend":"mouseup",R,!0)}function Le(){!d.autoplay||d.autoplay<=0||(_=setInterval(()=>{d.pauseAutoplayOnHover&&F.value||te()},d.autoplay))}function se(){_&&(clearInterval(_),_=null),Le()}const P=t.ref(!1);function K(S){const T=d.wrapAround?S:hp({val:S,max:u.value,min:f.value});p.value===T||P.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:y.value,slidesCount:h.value}),P.value=!0,y.value=p.value,p.value=T,k=setTimeout(()=>{if(d.wrapAround){const O=gp({val:T,max:u.value,min:0});O!==p.value&&(p.value=O,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:y.value,slidesCount:h.value}),P.value=!1,se()},d.transition))}function te(){K(p.value+d.itemsToScroll)}function ae(){K(p.value-d.itemsToScroll)}const ne={slideTo:K,next:te,prev:ae};t.provide("nav",ne),t.provide("isSliding",P);const ie=t.computed(()=>qK({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",ie);const ce=t.computed(()=>{const S=d.dir==="rtl"?-1:1,T=ie.value*c.value*S;return{transform:`translateX(${I.x-T}px)`,transition:`${P.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function me(){w(),b(),B(),V(),se()}Object.keys(B2).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],me)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&K(Number(S))}),t.watch(h,B),o("before-init"),w();const xe={config:d,slidesCount:h,slideWidth:c,next:te,prev:ae,slideTo:K,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:g};s({updateBreakpointsConfigs:b,updateSlidesData:B,updateSlideWidth:V,initDefaultConfigs:w,restartCarousel:me,slideTo:K,next:te,prev:ae,nav:ne,data:xe});const Re=a.default||a.slides,Pe=a.addons,ve=t.reactive(xe);return()=>{const S=x2(Re==null?void 0:Re(ve)),T=(Pe==null?void 0:Pe(ve))||[];S.forEach((Oe,Te)=>Oe.props.index=Te);let O=S;if(d.wrapAround){const Oe=S.map((ze,le)=>t.cloneVNode(ze,{index:-S.length+le,isClone:!0,key:`clone-before-${le}`})),Te=S.map((ze,le)=>t.cloneVNode(ze,{index:S.length+le,isClone:!0,key:`clone-after-${le}`}));O=[...Oe,...S,...Te]}r.value=S,h.value=Math.max(S.length,1);const oe=t.h("ol",{class:"carousel__track",style:ce.value,onMousedownCapture:d.mouseDrag?C:null,onTouchstartPassiveCapture:d.touchDrag?C:null},O),Ae=t.h("div",{class:"carousel__viewport"},oe);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":P.value,"is-dragging":ee.value,"is-hover":F.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:re,onMouseleave:Q},[Ae,T,t.h(YK)])}}}),V2;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(V2||(V2={}));var QK=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},dt))),s=t.inject("currentSlide",t.ref(0)),n=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===s.value,c=()=>e.index===s.value-1,h=()=>e.index===s.value+1,d=()=>{const l=Math.floor(n.value),m=Math.ceil(n.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const eQ=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},tQ=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),aQ={class:"gsc-carousel"},oQ={key:0},sQ=tQ(()=>t.createElementVNode("div",null,"no hay",-1)),nQ=[sQ],iQ={class:"gsc-carousel__2d__slides"},rQ={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},lQ=["fill"],cQ={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dQ=["fill"],mQ={class:"gsc-carousel__2d__navigation"},pQ={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hQ=["stroke"],gQ={key:1,class:"gsc-carousel__2d__navigation__pagination"},yQ=["onClick"],uQ={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fQ=["stroke"],_Q={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const s=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const n=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(n,u=>{u&&c.value?(c.value=!1,h(s.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>s.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>s.items,u=>{n.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&n.value){if(s.defaultItemByProp){const f=s.items.findIndex(_=>_[s.defaultItemByProp.propName]===s.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=s.defaultItemByIndex,i.value=u[s.defaultItemByIndex];n.value.slideTo&&n.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){n.value&&n.value.next()}function l(){n.value&&n.value.prev()}function m(){n.value&&n.value.updateSlideWidth()}function p(u){n.value&&n.value.slideTo(u)}function y(u){n.value.slideTo(u)}function g(u){const f=u.slidingToIndex<0?s.items.length-1:u.slidingToIndex===s.items.length?0:u.slidingToIndex;r.value=f,i.value=s.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",aQ,[s.is3d?(t.openBlock(),t.createElementBlock("div",oQ,nQ)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",iQ,[t.createVNode(t.unref(KK),{ref_key:"carousel2d",ref:n,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:g},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,k)=>(t.openBlock(),t.createBlock(t.unref(QK),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:_},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=_=>n.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",rQ,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,lQ)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=_=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",cQ,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,dQ)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",mQ,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=_=>l())},[(t.openBlock(),t.createElementBlock("svg",pQ,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:s.arrowsColor},null,8,hQ)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",gQ,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${s.navigationHeight}px`,width:`${r.value===k?s.navigationActiveWidth:s.navigationActiveWidth/2}px`,borderRadius:`${s.navigationBorderRadius}px`,backgroundColor:`${r.value===k?s.navigationActiveColor:s.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:w=>y(k)},null,12,yQ))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=_=>n.value.next())},[(t.openBlock(),t.createElementBlock("svg",uQ,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:s.arrowsColor},null,8,fQ)]))])):t.createCommentVNode("",!0)])],2))]))}},bQ=eQ(_Q,[["__scopeId","data-v-dd3cbf69"]]);function wQ(e){const a=t.ref({width:0,height:0});function o(){const s=e.value.getBoundingClientRect();a.value.width=s.width,a.value.height=s.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const CQ="_tarjetaDatosGsDesktoptype4_p1q9z_107",kQ="_tarjetaDatosGsDesktop500type4_p1q9z_127",SQ="_tarjetaDatosGs414type4_p1q9z_135",EQ="_tarjetaDatosGs414500type4_p1q9z_159",NQ="_tarjetaDatosGs414380type4_p1q9z_183",$Q="_tarjetaDatosGs320type4_p1q9z_191",BQ="_tarjetaDatosGs320380type4_p1q9z_215",xQ="_dataBox8type4_p1q9z_239",VQ="_dataBox8380type4_p1q9z_273",IQ="_dataBoxtype4_p1q9z_309",AQ="_dataBox520type4_p1q9z_349",OQ="_dataBox480type4_p1q9z_391",TQ="_dataBox3type4_p1q9z_431",zQ="_dataBox3520type4_p1q9z_471",FQ="_dataBox4type4_p1q9z_481",RQ="_dataBox4500type4_p1q9z_523",PQ="_dataBox6type4_p1q9z_569",DQ="_dataBox6500type4_p1q9z_613",LQ="_dataContainertype4_p1q9z_665",jQ="_dataContainer520type4_p1q9z_693",vQ="_dataContainer1type4_p1q9z_725",MQ="_dataContainer1500type4_p1q9z_753",HQ="_dataBox7type4_p1q9z_783",UQ="_dataBox7380type4_p1q9z_817",GQ="_div15type4_p1q9z_857",WQ="_div15380type4_p1q9z_875",qQ="_btnShareIcontype4_p1q9z_893",JQ="_btnSharetype4_p1q9z_905",XQ="_bakgBaseIcontype4_p1q9z_935",ZQ="_roleCharacterIcontype4_p1q9z_959",YQ="_verVideostype4_p1q9z_975",KQ="_btnVideostype4_p1q9z_989",QQ="_playerNametype4_p1q9z_1037",eee="_elJugadortype4_p1q9z_1055",tee="_aSeguirtype4_p1q9z_1063",aee="_elJugadorAContainertype4_p1q9z_1073",oee="_titletype4_p1q9z_1093",see="_baseCardtype4_p1q9z_1121",nee="_imagePlayerIcontype4_p1q9z_1151",iee="_arrowGraphIcontype4_p1q9z_1177",ree="_divtype4_p1q9z_1189",lee="_totaltype4_p1q9z_1203",cee="_div1type4_p1q9z_1219",dee="_btnShareIcon1type4_p1q9z_1241",mee="_btnShare1type4_p1q9z_1253",pee="_bakgBaseIcon1type4_p1q9z_1281",hee="_bakgBaseIcon2type4_p1q9z_1305",gee="_roleCharacterIcon1type4_p1q9z_1329",yee="_btnVideos1type4_p1q9z_1345",uee="_playerName1type4_p1q9z_1385",fee="_elJugadorAContainer1type4_p1q9z_1395",_ee="_title1type4_p1q9z_1415",bee="_baseCard1type4_p1q9z_1441",wee="_imagePlayerIcon1type4_p1q9z_1469",Cee="_total4type4_p1q9z_1491",kee="_div9type4_p1q9z_1507",See="_roleCharacterIcon2type4_p1q9z_1523",Eee="_btnVideos2type4_p1q9z_1539",Nee="_elJugadorAContainer2type4_p1q9z_1575",$ee="_title2type4_p1q9z_1595",Bee="_imagePlayerIcon2type4_p1q9z_1623",xee="_dataContainer2type4_p1q9z_1645",Vee="_tarjetaDatosGstype4_p1q9z_1675",Iee={tarjetaDatosGsDesktoptype4:CQ,tarjetaDatosGsDesktop500type4:kQ,tarjetaDatosGs414type4:SQ,tarjetaDatosGs414500type4:EQ,tarjetaDatosGs414380type4:NQ,tarjetaDatosGs320type4:$Q,tarjetaDatosGs320380type4:BQ,dataBox8type4:xQ,dataBox8380type4:VQ,dataBoxtype4:IQ,dataBox520type4:AQ,dataBox480type4:OQ,dataBox3type4:TQ,dataBox3520type4:zQ,dataBox4type4:FQ,dataBox4500type4:RQ,dataBox6type4:PQ,dataBox6500type4:DQ,dataContainertype4:LQ,dataContainer520type4:jQ,dataContainer1type4:vQ,dataContainer1500type4:MQ,dataBox7type4:HQ,dataBox7380type4:UQ,div15type4:GQ,div15380type4:WQ,btnShareIcontype4:qQ,btnSharetype4:JQ,bakgBaseIcontype4:XQ,roleCharacterIcontype4:ZQ,verVideostype4:YQ,btnVideostype4:KQ,playerNametype4:QQ,elJugadortype4:eee,aSeguirtype4:tee,elJugadorAContainertype4:aee,titletype4:oee,baseCardtype4:see,imagePlayerIcontype4:nee,arrowGraphIcontype4:iee,divtype4:ree,totaltype4:lee,div1type4:cee,btnShareIcon1type4:dee,btnShare1type4:mee,bakgBaseIcon1type4:pee,bakgBaseIcon2type4:hee,roleCharacterIcon1type4:gee,btnVideos1type4:yee,playerName1type4:uee,elJugadorAContainer1type4:fee,title1type4:_ee,baseCard1type4:bee,imagePlayerIcon1type4:wee,total4type4:Cee,div9type4:kee,roleCharacterIcon2type4:See,btnVideos2type4:Eee,elJugadorAContainer2type4:Nee,title2type4:$ee,imagePlayerIcon2type4:Bee,dataContainer2type4:xee,tarjetaDatosGstype4:Vee},I2=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},yp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},colorcard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{tarjetaDatosGsDesktopClass(){return this.elementSize.width<=500?this.$style.tarjetaDatosGsDesktop500type4:this.$style.tarjetaDatosGsDesktoptype4},tarjetaDatosGs414Class(){const e=this.elementSize.width;return e<=380?this.$style.tarjetaDatosGs414380type4:e<=500?this.$style.tarjetaDatosGs414500type4:this.$style.tarjetaDatosGs414type4},tarjetaDatosGs320Class(){return this.elementSize.width<=380?this.$style.tarjetaDatosGs320380type4:this.$style.tarjetaDatosGs320type4},dataBox8Class(){return this.elementSize.width<=380?this.$style.dataBox8380type4:this.$style.dataBox8type4},dataBoxClass(){const e=this.elementSize.width;return e<=480?this.$style.dataBox480type4:e<=520?this.$style.dataBox520type4:this.$style.dataBoxtype4},dataBox3Class(){return this.elementSize.width<=520?this.$style.dataBox3520type4:this.$style.dataBox3type4},dataBox4Class(){return this.elementSize.width<=500?this.$style.dataBox4500type4:this.$style.dataBox4type4},dataBox6Class(){return this.elementSize.width<=500?this.$style.dataBox6500type4:this.$style.dataBox6type4},dataBox7Class(){return this.elementSize.width<=380?this.$style.dataBox7380type4:this.$style.dataBox7type4},dataContainerClass(){return this.elementSize.width<=520?this.$style.dataContainer520type4:this.$style.dataContainertype4},dataContainer1Class(){return this.elementSize.width<=500?this.$style.dataContainer1500type4:this.$style.dataContainer1type4},div15Class(){return this.elementSize.width<=380?this.$style.div15380type4:this.$style.div15type4}},setup(){const e=t.ref("myDivRefCardtype4"),{elementSize:a}=wQ(e);return{myDivRefCardtype4:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)},clickCategory(e){this.clickCard||this.$emit("onClickCategory",e)}}},A2=()=>{t.useCssVars(e=>({"143753ee":e.data.background_color_cards!=null&&e.customizeColors?e.data.background_color_cards:"#1b3649",daa04990:e.data.background_color_buttons!=null&&e.customizeColors?e.data.background_color_buttons:"#293744","804c39e8":e.customizeColors?"":"#cbee6b",dbbdc3f6:e.colorcard,"9fbab386":e.data.font_color!=null&&e.customizeColors?e.data.font_color:"#fff"}))},O2=yp.setup;yp.setup=O2?(e,a)=>(A2(),O2(e,a)):A2;const Aee=t.createElementVNode("path",{d:"M14.886 14.0466C14.1404 14.0466 13.4733 14.3409 12.9632 14.8019L5.96863 10.7308C6.01768 10.5052 6.05692 10.2795 6.05692 10.0441C6.05692 9.80867 6.01768 9.58304 5.96863 9.35741L12.8847 5.32551C13.4145 5.81601 14.111 6.12012 14.886 6.12012C15.6665 6.12012 16.4151 5.81005 16.967 5.25814C17.5189 4.70622 17.829 3.95765 17.829 3.17712C17.829 2.39659 17.5189 1.64803 16.967 1.09611C16.4151 0.544195 15.6665 0.234131 14.886 0.234131C14.1054 0.234131 13.3569 0.544195 12.8049 1.09611C12.253 1.64803 11.9429 2.39659 11.9429 3.17712C11.9429 3.41256 11.9822 3.63819 12.0312 3.86382L5.11516 7.89572C4.58542 7.40523 3.8889 7.10112 3.11391 7.10112C2.33337 7.10112 1.58481 7.41118 1.03289 7.9631C0.480965 8.51502 0.170898 9.26358 0.170898 10.0441C0.170898 10.8246 0.480965 11.5732 1.03289 12.1251C1.58481 12.677 2.33337 12.9871 3.11391 12.9871C3.8889 12.9871 4.58542 12.683 5.11516 12.1925L12.0999 16.2636C12.0509 16.4696 12.0214 16.6855 12.0214 16.9111C12.0214 18.4905 13.3065 19.7658 14.886 19.7658C16.4654 19.7658 17.7505 18.4905 17.7505 16.9111C17.7505 16.1514 17.4487 15.4228 16.9115 14.8856C16.3743 14.3484 15.6457 14.0466 14.886 14.0466Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Oee=[Aee],Tee=["src"],zee={"clip-path":"url(#clip0_59_831)"},Fee=["fill"],Ree=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),Pee=["src"],Dee=["fill"],Lee=["fill"],jee=["fill"],vee=t.createElementVNode("path",{d:"M10.2126 9.10136C9.73332 9.10136 9.30448 9.29055 8.97655 9.58695L4.48004 6.96979C4.51158 6.82474 4.5368 6.67969 4.5368 6.52834C4.5368 6.37699 4.51158 6.23194 4.48004 6.08689L8.92609 3.49495C9.26664 3.81027 9.7144 4.00577 10.2126 4.00577C10.7144 4.00577 11.1956 3.80645 11.5504 3.45164C11.9052 3.09684 12.1045 2.61562 12.1045 2.11385C12.1045 1.61208 11.9052 1.13086 11.5504 0.776056C11.1956 0.421251 10.7144 0.221924 10.2126 0.221924C9.71084 0.221924 9.22962 0.421251 8.87481 0.776056C8.52 1.13086 8.32067 1.61208 8.32067 2.11385C8.32067 2.2652 8.3459 2.41025 8.37743 2.5553L3.93138 5.14723C3.59083 4.83191 3.14308 4.63641 2.64487 4.63641C2.14309 4.63641 1.66187 4.83574 1.30706 5.19055C0.952258 5.54535 0.75293 6.02657 0.75293 6.52834C0.75293 7.03011 0.952258 7.51133 1.30706 7.86613C1.66187 8.22094 2.14309 8.42026 2.64487 8.42026C3.14308 8.42026 3.59083 8.22476 3.93138 7.90944L8.42158 10.5266C8.39004 10.659 8.37113 10.7978 8.37113 10.9428C8.37113 11.9582 9.19727 12.778 10.2126 12.778C11.2279 12.778 12.0541 11.9582 12.0541 10.9428C12.0541 10.4544 11.8601 9.98605 11.5147 9.64071C11.1694 9.29537 10.701 9.10136 10.2126 9.10136Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Mee=[vee],Hee=["src"],Uee=["fill"],Gee=["src"],Wee=["fill"],qee=["fill"],Jee=["fill"],Xee=t.createElementVNode("path",{d:"M10.2126 9.10111C9.73332 9.10111 9.30448 9.2903 8.97655 9.58671L4.48004 6.96954C4.51158 6.8245 4.5368 6.67945 4.5368 6.52809C4.5368 6.37674 4.51158 6.23169 4.48004 6.08665L8.92609 3.49471C9.26664 3.81003 9.7144 4.00553 10.2126 4.00553C10.7144 4.00553 11.1956 3.8062 11.5504 3.4514C11.9052 3.09659 12.1045 2.61537 12.1045 2.1136C12.1045 1.61183 11.9052 1.13062 11.5504 0.775812C11.1956 0.421007 10.7144 0.22168 10.2126 0.22168C9.71084 0.22168 9.22962 0.421007 8.87481 0.775812C8.52 1.13062 8.32067 1.61183 8.32067 2.1136C8.32067 2.26496 8.3459 2.41001 8.37743 2.55505L3.93138 5.14699C3.59083 4.83167 3.14308 4.63617 2.64487 4.63617C2.14309 4.63617 1.66187 4.8355 1.30706 5.1903C0.952258 5.54511 0.75293 6.02633 0.75293 6.52809C0.75293 7.02986 0.952258 7.51108 1.30706 7.86589C1.66187 8.22069 2.14309 8.42002 2.64487 8.42002C3.14308 8.42002 3.59083 8.22452 3.93138 7.9092L8.42158 10.5264C8.39004 10.6588 8.37113 10.7975 8.37113 10.9426C8.37113 11.9579 9.19727 12.7778 10.2126 12.7778C11.2279 12.7778 12.0541 11.9579 12.0541 10.9426C12.0541 10.4542 11.8601 9.98581 11.5147 9.64047C11.1694 9.29512 10.701 9.10111 10.2126 9.10111Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Zee=[Xee],Yee=["src"],Kee=["fill"],Qee=["src"],ete=["fill"],tte=["fill"],ate=["fill"];function ote(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.tarjetaDatosGstype4),ref:"myDivRefCardtype4",onClick:a[10]||(a[10]=r=>i.clickPlayer({season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGsDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCardtype4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnSharetype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcontype4),width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Oee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcontype4),alt:"",src:o.data.background},null,10,Tee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideostype4),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,category:0,type:2}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",zee,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Fee)]),Ree],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titletype4),id:"title-info"},[t.createElementVNode("h4",{class:t.normalizeClass(e.$style.playerNametype4),id:"player-name"},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainertype4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcontype4),alt:"",src:o.data.player_photo},null,10,Pee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainerClass),id:"data-container"},[o.data.category_stats_1!==""?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(o.customizeColors?"color:"+o.data.font_color_card+"!important":"color: #FFFFFF !important"),class:t.normalizeClass(i.dataBoxClass),onClick:a[1]||(a[1]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Dee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_1),3)],6)):t.createCommentVNode("",!0),o.data.category_stats_2!==""?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle(o.customizeColors?"color:"+o.data.font_color_card+"!important":"color: #FFFFFF !important"),class:t.normalizeClass(i.dataBoxClass),onClick:a[2]||(a[2]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Lee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_2),3)],6)):t.createCommentVNode("",!0),o.data.showlast_category&&o.data.category_stats_3!==""?(t.openBlock(),t.createElementBlock("div",{key:2,style:t.normalizeStyle(o.customizeColors?"color:"+o.data.font_color_card+"!important":"color: #FFFFFF !important"),class:t.normalizeClass(i.dataBoxClass),onClick:a[3]||(a[3]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,jee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs414Class),id:"card-mobile-414"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Mee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon1type4),alt:"",src:o.data.background},null,10,Hee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon1type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Uee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title1type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer1type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon1type4),alt:"",src:o.data.player_photo},null,10,Gee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainer1Class),id:"data-container"},[o.data.category_stats_1!==""?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(o.customizeColors?"color:"+o.data.font_color_card+"!important":"color: #FFFFFF !important"),class:t.normalizeClass(i.dataBox4Class),onClick:a[4]||(a[4]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Wee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_1),3)],6)):t.createCommentVNode("",!0),o.data.category_stats_2!==""?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle(o.customizeColors?"color:"+o.data.font_color_card+"!important":"color: #FFFFFF !important"),class:t.normalizeClass(i.dataBox4Class),onClick:a[5]||(a[5]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,qee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_2),3)],6)):t.createCommentVNode("",!0),o.data.showlast_category&&o.data.category_stats_3!==""?(t.openBlock(),t.createElementBlock("div",{key:2,style:t.normalizeStyle(o.customizeColors?"color:"+o.data.font_color_card+"!important":"color: #FFFFFF !important"),class:t.normalizeClass(i.dataBox6Class),onClick:a[6]||(a[6]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Jee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs320Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zee,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon2type4),alt:"",src:o.data.background},null,10,Yee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos2type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon2type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,Kee)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title2type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer2type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon2type4),alt:"",src:o.data.player_photo},null,10,Qee)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer2type4),id:"data-container"},[o.data.category_stats_1!==""?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(o.customizeColors?"color:"+o.data.font_color_card+"!important":"color: #FFFFFF !important"),class:t.normalizeClass(i.dataBox7Class),onClick:a[7]||(a[7]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,ete)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_1),3)],6)):t.createCommentVNode("",!0),o.data.category_stats_2!==""?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle(o.customizeColors?"color:"+o.data.font_color_card+"!important":"color: #FFFFFF !important"),class:t.normalizeClass(i.dataBox8Class),onClick:a[8]||(a[8]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,tte)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_2),3)],6)):t.createCommentVNode("",!0),o.data.showlast_category&&o.data.category_stats_3!==""?(t.openBlock(),t.createElementBlock("div",{key:2,style:t.normalizeStyle(o.customizeColors?"color:"+o.data.font_color_card+"!important":"color: #FFFFFF !important"),class:t.normalizeClass(i.dataBox8Class),onClick:a[9]||(a[9]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,game_id:o.data.game_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.474421 8.8403C0.41722 8.80242 0.369409 8.74584 0.336143 8.67665C0.302877 8.60746 0.285418 8.52828 0.285647 8.44765V1.33719C0.285725 1.25684 0.303299 1.17801 0.3365 1.10909C0.369701 1.04018 0.417288 0.983741 0.474202 0.94579C0.531117 0.907838 0.595232 0.889787 0.659731 0.893556C0.72423 0.897325 0.786704 0.922773 0.84051 0.967195L5.12637 4.52284C5.17532 4.56335 5.21547 4.61829 5.24324 4.68277C5.271 4.74724 5.28554 4.81926 5.28554 4.89242C5.28554 4.96557 5.271 5.03759 5.24324 5.10207C5.21547 5.16655 5.17532 5.22149 5.12637 5.26199L0.84051 8.81848C0.786786 8.863 0.724361 8.88854 0.659889 8.89238C0.595418 8.89623 0.531318 8.87822 0.474421 8.8403V8.8403ZM0.64297 8.44849L4.92883 4.89284L0.64297 8.44849Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,ate)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2)],2)}const ste={$style:Iee},nte=I2(yp,[["render",ote],["__cssModules",ste]]),ite={components:{GSCCarousel:bQ,GSCCardData:nte},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},prematch:{type:Boolean,default:!1},teamSelected:{type:Number,default:0},colorCardByTeam:{type:Boolean,default:!1},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",pages:[],homeTeam:[],awayTeam:[],playerInfo:{}}},computed:{},watch:{data:{immediate:!0,handler(e){this.getStats(e)}}},methods:{onclickPlayVideos(e){var a=[];e.type==2?e.position_id==1?e.category==0?a=[55,324,323,608,39,774,802,52,53,40,54]:a=e.category:e.category==0?a=[12,35,10,27,607,61,519,98,101,109,112,121,122,127,128,135,136,141,142,161,170,179,702,730,466,217,211,232,235,239,242,282,284,289,291,296,485,486,487,488,14,15,257]:a=e.category:e.type==3?e.category==0?a=[607,608,12,55,54,35,14,52,15,53,466,477,40,257,39]:a=e.category:e.category!=0?a=e.category:a=[607,608,12,55,54,35,14,52,15,53,466,477];const o=[1,2,3];a==="minutes_played"&&(a=[56,57,59,60,326,213,214,215,216,583,584,122,123,124,125,585,586,128,129,130,131,133,327,587,588,136,137,138,139,589,590,142,143,144,145,146,147,485,486,487,488,489,490,491,492,10,27,597,598,538,539,599,600,541,542,601,602,545,546,603,604,548,549,561,562,100,563,564,103,104,105,106,107,108,565,566,111,567,568,114,115,116,117,118,119,4,88,5,34,402,459,460,461,233,403,456,457,458,236,404,453,454,455,240,405,450,451,452,243,408,447,448,449,283,409,444,445,446,285,410,441,442,443,290,411,438,439,440,292,412,435,436,437,297,414,415,416,417,244,418,419,420,421,401,581,582,331,506,530,579,580,334,507,531,577,578,344,508,532,575,576,424,509,533,573,574,341,529,534,571,572,340,528,535,569,570,427,527,536,348,349,350,465,352,353,354,466,14,52,15,53,218,219,220,221,496,497,498,499,500,501,502,503,217,504,505,521,522,543,33,209,208,517,206,207,26,325,16,51,463,151,154,156,591,592,159,162,163,429,165,593,594,168,171,172,430,174,595,596,177,180,181,431,467,358,361,363,366,369,370,469,372,376,378,379,470,381,385,387,388,471,607,608,210,212]),a==="games_played"&&(a=[607,608,12,55,54,35,14,52,15,53,466,477]);let s={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.game_id?[e.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?[e.team_id]:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:"",mainCategoryId:e.category||0}};this.$emit("openmedia",s)},async getStats(){const e=await UK.create({headers:{Authorization:`${this.token}`}}).get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+this.data.season+"/games/"+this.data.game);for(let a=0;a<e.data.games[0].players.length;a++)this.type==0?this.pages.push([{id_season:e.data.games[0].players[a].season_id,color:e.data.games[0].players[a].info_thumbnails.colors.background_color,player_id:e.data.games[0].players[a].player_id,player_name:e.data.games[0].players[a].player_name,game_id:e.data.games[0].game_status===4?null:e.data.games[0].game_id,background:e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_default_players[0],player_photo:e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]:`https://az755631.vo.msecnd.net/players-profile/${e.data.games[0].players[a].player_id}.png`,category_stats_1:this.prematch?e.data.games[0].players[a].games_played:e.data.games[0].players[a].minutes_played,category_stats_2:this.prematch?e.data.games[0].players[a].minutes_played:e.data.games[0].players[a].categories[0].total,category_stats_3:this.prematch?e.data.games[0].players[a].categories[0].total:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":e.data.games[0].players[a].categories[0].categories,category_id_3:this.prematch?e.data.games[0].players[a].categories[0].categories:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":e.data.games[0].players[a].categories[0].category_name,category_name_3:this.prematch?e.data.games[0].players[a].categories[0].category_name:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].category_name:"",showlast_category:!!e.data.games[0].players[a].categories[0],main_title:(this.prematch,"Jugador"),second_title:this.prematch?"A seguir":"Destacado",background_color_buttons:e.data.games[0].players[a].info_thumbnails.colors.background_color_buttons,background_color_cards:e.data.games[0].players[a].info_thumbnails.colors.background_color_cards,color_icon_play:e.data.games[0].players[a].info_thumbnails.colors.color_icon_play,color_next_back:e.data.games[0].players[a].info_thumbnails.colors.color_next_back,font_color:e.data.games[0].players[a].info_thumbnails.colors.font_color,font_color_card:e.data.games[0].players[a].info_thumbnails.colors.font_color_cards?e.data.games[0].players[a].info_thumbnails.colors.font_color_cards:"#FFFFFF"}]):this.teamSelected==e.data.games[0].players[a].team_id&&this.pages.push([{id_season:e.data.games[0].players[a].season_id,color:e.data.games[0].players[a].info_thumbnails.colors.background_color,player_id:e.data.games[0].players[a].player_id,player_name:e.data.games[0].players[a].player_name,game_id:e.data.games[0].game_status===4?null:e.data.games[0].game_id,background:e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.background_default_players[0],player_photo:e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+e.data.games[0].players[a].info_thumbnails.images.player_in_action[0]:`https://az755631.vo.msecnd.net/players-profile/${e.data.games[0].players[a].player_id}.png`,category_stats_1:this.prematch?e.data.games[0].players[a].games_played:e.data.games[0].players[a].minutes_played,category_stats_2:this.prematch?e.data.games[0].players[a].minutes_played:e.data.games[0].players[a].categories[0].total,category_stats_3:this.prematch?e.data.games[0].players[a].categories[0].total:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":e.data.games[0].players[a].categories[0].categories,category_id_3:this.prematch?e.data.games[0].players[a].categories[0].categories:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":e.data.games[0].players[a].categories[0].category_name,category_name_3:this.prematch?e.data.games[0].players[a].categories[0].category_name:e.data.games[0].players[a].categories[1]?e.data.games[0].players[a].categories[1].category_name:"",showlast_category:!!e.data.games[0].players[a].categories[1],main_title:this.prematch?"El jugador":"Jugador",second_title:this.prematch?"A seguir":"Destacado",background_color_buttons:e.data.games[0].players[a].info_thumbnails.colors.background_color_buttons,background_color_cards:e.data.games[0].players[a].info_thumbnails.colors.background_color_cards,color_icon_play:e.data.games[0].players[a].info_thumbnails.colors.color_icon_play,color_next_back:e.data.games[0].players[a].info_thumbnails.colors.color_next_back,font_color:e.data.games[0].players[a].info_thumbnails.colors.font_color,font_color_card:e.data.games[0].players[a].info_thumbnails.colors.font_color_cards?e.data.games[0].players[a].info_thumbnails.colors.font_color_cards:"#FFFFFF"}])},onClickVideos(e){this.$emit("onClickVideos",e)},onClickCard(e){this.$emit("onClickCard",e)},onClickCategory(e){this.$emit("onClickCategory",e)},clickMore(){this.$emit("onViewMore",!0)}}},rte=e=>(t.pushScopeId("data-v-9fbf19b6"),e=e(),t.popScopeId(),e),lte={class:"gsdata"},cte={class:"gsc-gsdata-carrousel"},dte={key:0,class:"title-header"},mte=rte(()=>t.createElementVNode("div",{class:"title-header-title"},"Datos GolStats",-1)),pte={class:"row-table-carrousel"};function hte(e,a,o,s,n,i){const r=t.resolveComponent("GSCCardData"),c=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",lte,[t.createElementVNode("div",cte,[o.teamSelected==0?(t.openBlock(),t.createElementBlock("div",dte,[mte,t.createElementVNode("div",{class:"title-header-btn",onClick:a[0]||(a[0]=(...h)=>i.clickMore&&i.clickMore(...h))},"Ver más")])):t.createCommentVNode("",!0),t.createVNode(c,{items:n.pages,wrapAround:!0,itemsToShow:1.1,areSlidesArrowsVisible:!0,areNavigationArrowsVisible:!1,isMainSlidePriority:!0,areSlidesArrowsRounded:!1,isPaginationVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",pte,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h,(d,l)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:l},[o.colorCardByTeam?(t.openBlock(),t.createBlock(r,{key:1,type:4,colorcard:d.color,"click-card":o.clickCard,"show-share-button":o.showShareButton,"customize-colors":o.customizeColors,data:d,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["colorcard","click-card","show-share-button","customize-colors","data","onOnClickVideos","onOnClickCategory"])):(t.openBlock(),t.createBlock(r,{key:0,type:4,"click-card":o.clickCard,"show-share-button":o.showShareButton,"customize-colors":o.customizeColors,data:d,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["click-card","show-share-button","customize-colors","data","onOnClickVideos","onOnClickCategory"]))],64))),128))])]),_:1},8,["items"])])])}const gte=I2(ite,[["render",hte],["__scopeId","data-v-9fbf19b6"]]),yte=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},up={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))}}},T2=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},z2=up.setup;up.setup=z2?(e,a)=>(T2(),z2(e,a)):T2;const ute=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),fte=["src"],_te={key:1,class:"text"},bte=["src"],wte={class:"stats"},Cte=ute(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),kte={class:"numstats"},Ste={class:"leyend"};function Ete(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",n.status&&o.typeOnOff&&"button-active"]),style:t.normalizeStyle([i.customStyle,n.status&&o.typeOnOff&&i.customActive]),onClick:a[0]||(a[0]=(...r)=>i.btnClick&&i.btnClick(...r))},[o.icon&&o.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,fte)):t.createCommentVNode("",!0),o.textValue?(t.openBlock(),t.createElementBlock("div",_te,t.toDisplayString(o.textValue),1)):t.createCommentVNode("",!0),o.icon&&o.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,bte)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>i.btnClick&&i.btnClick(...r))},[t.createElementVNode("div",wte,[Cte,t.createElementVNode("div",kte,t.toDisplayString(o.textStat),1)]),t.createElementVNode("div",Ste,t.toDisplayString(o.textCategory),1)])):t.createCommentVNode("",!0)])}const Nte=yte(up,[["render",Ete],["__scopeId","data-v-fb269a1e"]]);function ln(e){const a=t.ref({width:0,height:0});function o(){const s=e.value.getBoundingClientRect();a.value.width=s.width,a.value.height=s.height}return t.onMounted(()=>{o(),window.addEventListener("resize",o)}),t.onUnmounted(()=>{window.removeEventListener("resize",o)}),{elementSize:a}}const $te="_cardFrecuentConnectionstype0_8eub9_57",Bte="_cardFrecuentConnectionsDesktype0_8eub9_85",xte="_cardFrecuentConnectionsDesk360type0_8eub9_103",Vte="_imgPlayerParenttype0_8eub9_123",Ite="_imgPlayerIcontype0_8eub9_149",Ate="_imgPlayerIcon360type0_8eub9_163",Ote="_playerInfotype0_8eub9_177",Tte="_benjaminEvalenttype0_8eub9_195",zte="_frameParenttype0_8eub9_207",Fte="_union9Wrappertype0_8eub9_223",Rte="_union9Icontype0_8eub9_251",Pte="_benjaminEvalent1type0_8eub9_263",Dte="_benjaminEvalent1360type0_8eub9_277",Lte={cardFrecuentConnectionstype0:$te,cardFrecuentConnectionsDesktype0:Bte,cardFrecuentConnectionsDesk360type0:xte,imgPlayerParenttype0:Vte,imgPlayerIcontype0:Ite,imgPlayerIcon360type0:Ate,playerInfotype0:Ote,benjaminEvalenttype0:Tte,frameParenttype0:zte,union9Wrappertype0:Fte,union9Icontype0:Rte,benjaminEvalent1type0:Pte,benjaminEvalent1360type0:Dte},Uo=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},jte={components:{GSCButton:Nte},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1}},computed:{cardFrecuentConnectionsDeskClass(){return this.elementSize.width<=360?this.$style.cardFrecuentConnectionsDesk360type0:this.$style.cardFrecuentConnectionsDesktype0},imgPlayerIconClass(){return this.elementSize.width<=360?this.$style.imgPlayerIcon360type0:this.$style.imgPlayerIcontype0},benjaminEvalent1Class(){return this.elementSize.width<=360?this.$style.benjaminEvalent1360type0:this.$style.benjaminEvalent1type0}},data(){return{}},setup(){const e=t.ref("myDivRefCardtype0"),{elementSize:a}=ln(e);return{myDivRefCardtype0:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickPlayer",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},vte={ref:"myDivRefCardtype0"},Mte=["alt","src"];function Hte(e,a,o,s,n,i){const r=t.resolveComponent("GSCButton");return t.openBlock(),t.createElementBlock("div",vte,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardFrecuentConnectionstype0),onClick:a[1]||(a[1]=c=>i.clickPlayer({player_id:o.data.player_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.cardFrecuentConnectionsDeskClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgPlayerParenttype0)},[t.createElementVNode("img",{class:t.normalizeClass(i.imgPlayerIconClass),alt:o.data.player_name,src:o.data.player_photo},null,10,Mte),t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerInfotype0)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.benjaminEvalenttype0)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParenttype0)},[t.createVNode(r,{icon:"/play-icn.svg","icon-size":"9px","icon-position":"left",width:"18px",height:"18px","border-radius":"18px","border-width":"1","background-color":"transparent","border-color":"#FFFFFF",onClick:a[0]||(a[0]=c=>i.clickVideos({player_id:o.data.player_id}))}),t.createElementVNode("div",{class:t.normalizeClass(i.benjaminEvalent1Class)},t.toDisplayString(o.data.player_stat),3)],2)],2)],2)],2)],2)],512)}const Ute={$style:Lte},Gte=Uo(jte,[["render",Hte],["__cssModules",Ute]]),Wte="_cardVideosJugadorestype1_hyx6z_59",qte="_cardDesktoptype1_hyx6z_87",Jte="_cardDesktop460type1_hyx6z_113",Xte="_backgroundImageParenttype1_hyx6z_137",Zte="_backgroundImageParent460type1_hyx6z_171",Yte="_backgroundImageIcontype1_hyx6z_205",Kte="_loMejorDeContainertype1_hyx6z_225",Qte="_loMejorDeContainer460type1_hyx6z_249",eae="_loMejorDeContainer420type1_hyx6z_273",tae="_loMejorDetype1_hyx6z_297",aae="_btnPlaytype1_hyx6z_303",oae="_btnPlay460_hyx6z_357",sae="_btnPlay460type1_hyx6z_363",nae="_roleCharacterIcontype1_hyx6z_409",iae="_reproducirtype1_hyx6z_423",rae="_playerTeamDesktopIcontype1_hyx6z_435",lae="_playerTeamDesktopIcon1200type1_hyx6z_455",cae="_playerTeamDesktopIcon460type1_hyx6z_479",dae={cardVideosJugadorestype1:Wte,cardDesktoptype1:qte,cardDesktop460type1:Jte,backgroundImageParenttype1:Xte,backgroundImageParent460type1:Zte,backgroundImageIcontype1:Yte,loMejorDeContainertype1:Kte,loMejorDeContainer460type1:Qte,loMejorDeContainer420type1:eae,loMejorDetype1:tae,btnPlaytype1:aae,btnPlay460:oae,btnPlay460type1:sae,roleCharacterIcontype1:nae,reproducirtype1:iae,playerTeamDesktopIcontype1:rae,playerTeamDesktopIcon1200type1:lae,playerTeamDesktopIcon460type1:cae},fp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#000000"},colorTitle:{type:String,default:"#000000"},borderColor:{type:String,default:"#000000"},backgroundImg:{type:String,default:""},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{cardDesktopClass(){return this.elementSize.width<=460?this.$style.cardDesktop460type1:this.$style.cardDesktoptype1},backgroundImageParentClass(){return this.elementSize.width<=460?this.$style.backgroundImageParent460type1:this.$style.backgroundImageParenttype1},btnPlayClass(){return this.elementSize.width<=460?this.$style.btnPlay460type1:this.$style.btnPlaytype1},loMejorDeContainerClass(){const e=this.elementSize.width;return e<=420?this.$style.loMejorDeContainer420type1:e<=460?this.$style.loMejorDeContainer460type1:this.$style.loMejorDeContainertype1},playerTeamDesktopIconClass(){const e=this.elementSize.width;return e<=460?this.$style.playerTeamDesktopIcon460type1:e<=1200?this.$style.playerTeamDesktopIcon1200type1:this.$style.playerTeamDesktopIcontype1}},setup(){const e=t.ref("myDivRefCardtype1"),{elementSize:a}=ln(e);return{myDivRefCardtype1:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},F2=()=>{t.useCssVars(e=>({"3c445abf":e.data.font_color!=null&&e.customizeColors?e.data.font_color:"#fff","418009b6":e.backgroundColor,"392b4ed3":e.data.background_color_buttons!=null&&e.customizeColors?e.data.background_color_buttons:"rgba(255, 255, 255, 0.08)","47279a32":e.borderColor}))},R2=fp.setup;fp.setup=R2?(e,a)=>(F2(),R2(e,a)):F2;const mae={ref:"myDivRefCardtype1"},pae=["src"],hae={"clip-path":"url(#clip0_59_831)"},gae=["fill"],yae=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),uae=["src"];function fae(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",mae,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.cardVideosJugadorestype1),onClick:a[1]||(a[1]=r=>i.clickPlayer({player_id:o.data.player_id,team_id:o.data.team_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.cardDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(i.backgroundImageParentClass)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backgroundImageIcontype1),src:o.backgroundImg},null,10,pae),t.createElementVNode("h2",{class:t.normalizeClass(i.loMejorDeContainerClass),id:"title-card"},[s.elementSize.width>380?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(e.$style.loMejorDetype1)},"Lo mejor de ",2)):t.createCommentVNode("",!0),s.elementSize.width<=380?(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(e.$style.loMejorDetype1)},"Lo mejor",2)):t.createCommentVNode("",!0),s.elementSize.width<=380?(t.openBlock(),t.createElementBlock("p",{key:2,class:t.normalizeClass(e.$style.loMejorDetype1)},"de ",2)):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass(e.$style.loMejorDetype1)},t.toDisplayString(o.data.team_name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.btnPlayClass),onClick:a[0]||(a[0]=r=>i.clickVideos({player_id:o.data.player_id,team_id:o.data.team_id}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",hae,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null&&o.customizeColors?o.data.color_icon_play:"#CBEE6B"},null,8,gae)]),yae],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.reproducirtype1)},"Reproducir",2)],2)],2),t.createElementVNode("img",{class:t.normalizeClass(i.playerTeamDesktopIconClass),src:o.data.player_photo},null,10,uae)],2)],2)],512)}const _ae={$style:dae},bae=Uo(fp,[["render",fae],["__cssModules",_ae]]),wae="_tarjetaHighlightsPostmatchtype2_2xqhb_7",Cae="_tarjetaHighlightsPostmatch780type2_2xqhb_35",kae="_tarjetaHighlightsPostmatch640type2_2xqhb_65",Sae="_tarjetaHighlightsPostmatch520type2_2xqhb_97",Eae="_tarjetaHighlightsPostmatch350type2_2xqhb_131",Nae="_tarjetaHighlightsPostmatch420type2_2xqhb_161",$ae="_tarjetaHighlightsPostmatch320type2_2xqhb_197",Bae="_backgroundtype2_2xqhb_233",xae="_background640type2_2xqhb_253",Vae="_btnPlaytype2_2xqhb_277",Iae="_btnPlay1_2xqhb_301",Aae="_btnPlay1type2_2xqhb_309",Oae="_icnPlaytype2_2xqhb_351",Tae="_union6Icontype2_2xqhb_369",zae={tarjetaHighlightsPostmatchtype2:wae,tarjetaHighlightsPostmatch780type2:Cae,tarjetaHighlightsPostmatch640type2:kae,tarjetaHighlightsPostmatch520type2:Sae,tarjetaHighlightsPostmatch350type2:Eae,tarjetaHighlightsPostmatch420type2:Nae,tarjetaHighlightsPostmatch320type2:$ae,backgroundtype2:Bae,background640type2:xae,btnPlaytype2:Vae,btnPlay1:Iae,btnPlay1type2:Aae,icnPlaytype2:Oae,union6Icontype2:Tae},Fae={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},backgroundImg:{type:String,default:""}},computed:{tarjetaHighlightsPostmatchClass(){const e=this.elementSize.width;return e<=320?this.$style.tarjetaHighlightsPostmatch320type2:e<=350?this.$style.tarjetaHighlightsPostmatch350type2:e<=420?this.$style.tarjetaHighlightsPostmatch420type2:e<=520?this.$style.tarjetaHighlightsPostmatch520type2:e<=640?this.$style.tarjetaHighlightsPostmatch640type2:e<=780?this.$style.tarjetaHighlightsPostmatch780type2:this.$style.tarjetaHighlightsPostmatchtype2},backgroundClass(){return this.elementSize.width<=640?this.$style.background640type2:this.$style.backgroundtype2}},setup(){const e=t.ref("myDivRefCardtype2"),{elementSize:a}=ln(e);return{myDivRefCardtype2:e,elementSize:a}},data(){return{}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},Rae={ref:"myDivRefCardtype2"},Pae=t.createStaticVNode('<svg width="20" height="20" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_59_831)"><path d="M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z" fill="#CBEE6B"></path></g><defs><clipPath id="clip0_59_831"><rect width="12" height="12" fill="white" transform="translate(0.375 0.637695)"></rect></clipPath></defs></svg>',1),Dae=[Pae];function Lae(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",Rae,[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaHighlightsPostmatchClass),onClick:a[1]||(a[1]=r=>i.clickPlayer({game_id:o.data.game_id}))},[t.createElementVNode("div",{class:t.normalizeClass(i.backgroundClass),id:"image-video",style:t.normalizeStyle({"background-image":"url("+o.backgroundImg+")"})},null,6),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnPlaytype2)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnPlay1type2),id:"btn-play",onClick:a[0]||(a[0]=r=>i.clickVideos({game_id:o.data.game_id}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.icnPlaytype2)},Dae,2)],2)],2)],2)],512)}const jae={$style:zae},vae=Uo(Fae,[["render",Lae],["__cssModules",jae]]),Mae="_tarjetaDatosGsDesktoptype4_189dz_107",Hae="_tarjetaDatosGsDesktop500type4_189dz_127",Uae="_tarjetaDatosGs414type4_189dz_135",Gae="_tarjetaDatosGs414500type4_189dz_159",Wae="_tarjetaDatosGs414380type4_189dz_183",qae="_tarjetaDatosGs320type4_189dz_191",Jae="_tarjetaDatosGs320380type4_189dz_215",Xae="_dataBox8type4_189dz_239",Zae="_dataBox8380type4_189dz_275",Yae="_dataBoxtype4_189dz_313",Kae="_dataBox520type4_189dz_353",Qae="_dataBox480type4_189dz_395",eoe="_dataBox3type4_189dz_437",toe="_dataBox3520type4_189dz_479",aoe="_dataBox4type4_189dz_489",ooe="_dataBox4500type4_189dz_533",soe="_dataBox6type4_189dz_581",noe="_dataBox6500type4_189dz_627",ioe="_dataContainertype4_189dz_681",roe="_dataContainer520type4_189dz_709",loe="_dataContainer1type4_189dz_741",coe="_dataContainer1500type4_189dz_769",doe="_dataBox7type4_189dz_799",moe="_dataBox7380type4_189dz_835",poe="_div15type4_189dz_877",hoe="_div15380type4_189dz_895",goe="_btnShareIcontype4_189dz_913",yoe="_btnSharetype4_189dz_925",uoe="_bakgBaseIcontype4_189dz_955",foe="_roleCharacterIcontype4_189dz_979",_oe="_verVideostype4_189dz_995",boe="_btnVideostype4_189dz_1009",woe="_playerNametype4_189dz_1059",Coe="_elJugadortype4_189dz_1077",koe="_aSeguirtype4_189dz_1085",Soe="_elJugadorAContainertype4_189dz_1095",Eoe="_titletype4_189dz_1115",Noe="_baseCardtype4_189dz_1143",$oe="_imagePlayerIcontype4_189dz_1173",Boe="_arrowGraphIcontype4_189dz_1199",xoe="_divtype4_189dz_1211",Voe="_totaltype4_189dz_1225",Ioe="_div1type4_189dz_1241",Aoe="_btnShareIcon1type4_189dz_1263",Ooe="_btnShare1type4_189dz_1275",Toe="_bakgBaseIcon1type4_189dz_1303",zoe="_bakgBaseIcon2type4_189dz_1327",Foe="_roleCharacterIcon1type4_189dz_1351",Roe="_btnVideos1type4_189dz_1367",Poe="_playerName1type4_189dz_1409",Doe="_elJugadorAContainer1type4_189dz_1419",Loe="_title1type4_189dz_1439",joe="_baseCard1type4_189dz_1465",voe="_imagePlayerIcon1type4_189dz_1493",Moe="_total4type4_189dz_1515",Hoe="_div9type4_189dz_1531",Uoe="_roleCharacterIcon2type4_189dz_1547",Goe="_btnVideos2type4_189dz_1563",Woe="_elJugadorAContainer2type4_189dz_1601",qoe="_title2type4_189dz_1621",Joe="_imagePlayerIcon2type4_189dz_1649",Xoe="_dataContainer2type4_189dz_1671",Zoe="_tarjetaDatosGstype4_189dz_1701",Yoe={tarjetaDatosGsDesktoptype4:Mae,tarjetaDatosGsDesktop500type4:Hae,tarjetaDatosGs414type4:Uae,tarjetaDatosGs414500type4:Gae,tarjetaDatosGs414380type4:Wae,tarjetaDatosGs320type4:qae,tarjetaDatosGs320380type4:Jae,dataBox8type4:Xae,dataBox8380type4:Zae,dataBoxtype4:Yae,dataBox520type4:Kae,dataBox480type4:Qae,dataBox3type4:eoe,dataBox3520type4:toe,dataBox4type4:aoe,dataBox4500type4:ooe,dataBox6type4:soe,dataBox6500type4:noe,dataContainertype4:ioe,dataContainer520type4:roe,dataContainer1type4:loe,dataContainer1500type4:coe,dataBox7type4:doe,dataBox7380type4:moe,div15type4:poe,div15380type4:hoe,btnShareIcontype4:goe,btnSharetype4:yoe,bakgBaseIcontype4:uoe,roleCharacterIcontype4:foe,verVideostype4:_oe,btnVideostype4:boe,playerNametype4:woe,elJugadortype4:Coe,aSeguirtype4:koe,elJugadorAContainertype4:Soe,titletype4:Eoe,baseCardtype4:Noe,imagePlayerIcontype4:$oe,arrowGraphIcontype4:Boe,divtype4:xoe,totaltype4:Voe,div1type4:Ioe,btnShareIcon1type4:Aoe,btnShare1type4:Ooe,bakgBaseIcon1type4:Toe,bakgBaseIcon2type4:zoe,roleCharacterIcon1type4:Foe,btnVideos1type4:Roe,playerName1type4:Poe,elJugadorAContainer1type4:Doe,title1type4:Loe,baseCard1type4:joe,imagePlayerIcon1type4:voe,total4type4:Moe,div9type4:Hoe,roleCharacterIcon2type4:Uoe,btnVideos2type4:Goe,elJugadorAContainer2type4:Woe,title2type4:qoe,imagePlayerIcon2type4:Joe,dataContainer2type4:Xoe,tarjetaDatosGstype4:Zoe},_p={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},colorcard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1}},data(){return{}},computed:{tarjetaDatosGsDesktopClass(){return this.elementSize.width<=500?this.$style.tarjetaDatosGsDesktop500type4:this.$style.tarjetaDatosGsDesktoptype4},tarjetaDatosGs414Class(){const e=this.elementSize.width;return e<=380?this.$style.tarjetaDatosGs414380type4:e<=500?this.$style.tarjetaDatosGs414500type4:this.$style.tarjetaDatosGs414type4},tarjetaDatosGs320Class(){return this.elementSize.width<=380?this.$style.tarjetaDatosGs320380type4:this.$style.tarjetaDatosGs320type4},dataBox8Class(){return this.elementSize.width<=380?this.$style.dataBox8380type4:this.$style.dataBox8type4},dataBoxClass(){const e=this.elementSize.width;return e<=480?this.$style.dataBox480type4:e<=520?this.$style.dataBox520type4:this.$style.dataBoxtype4},dataBox3Class(){return this.elementSize.width<=520?this.$style.dataBox3520type4:this.$style.dataBox3type4},dataBox4Class(){return this.elementSize.width<=500?this.$style.dataBox4500type4:this.$style.dataBox4type4},dataBox6Class(){return this.elementSize.width<=500?this.$style.dataBox6500type4:this.$style.dataBox6type4},dataBox7Class(){return this.elementSize.width<=380?this.$style.dataBox7380type4:this.$style.dataBox7type4},dataContainerClass(){return this.elementSize.width<=520?this.$style.dataContainer520type4:this.$style.dataContainertype4},dataContainer1Class(){return this.elementSize.width<=500?this.$style.dataContainer1500type4:this.$style.dataContainer1type4},div15Class(){return this.elementSize.width<=380?this.$style.div15380type4:this.$style.div15type4}},setup(){const e=t.ref("myDivRefCardtype4"),{elementSize:a}=ln(e);return{myDivRefCardtype4:e,elementSize:a}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)},clickCategory(e){this.clickCard||this.$emit("onClickCategory",e)}}},P2=()=>{t.useCssVars(e=>({"2a32105c":e.data.background_color_cards!=null?e.data.background_color_cards:"rgba(255, 255, 255, 0.16)","6c73455c":e.data.background_color_buttons!=null?e.data.background_color_buttons:"rgba(255, 255, 255, 0.16)","5358662c":e.colorcard,"36a302f1":e.data.font_color!=null?e.data.font_color:"#fff"}))},D2=_p.setup;_p.setup=D2?(e,a)=>(P2(),D2(e,a)):P2;const Koe=t.createElementVNode("path",{d:"M14.886 14.0466C14.1404 14.0466 13.4733 14.3409 12.9632 14.8019L5.96863 10.7308C6.01768 10.5052 6.05692 10.2795 6.05692 10.0441C6.05692 9.80867 6.01768 9.58304 5.96863 9.35741L12.8847 5.32551C13.4145 5.81601 14.111 6.12012 14.886 6.12012C15.6665 6.12012 16.4151 5.81005 16.967 5.25814C17.5189 4.70622 17.829 3.95765 17.829 3.17712C17.829 2.39659 17.5189 1.64803 16.967 1.09611C16.4151 0.544195 15.6665 0.234131 14.886 0.234131C14.1054 0.234131 13.3569 0.544195 12.8049 1.09611C12.253 1.64803 11.9429 2.39659 11.9429 3.17712C11.9429 3.41256 11.9822 3.63819 12.0312 3.86382L5.11516 7.89572C4.58542 7.40523 3.8889 7.10112 3.11391 7.10112C2.33337 7.10112 1.58481 7.41118 1.03289 7.9631C0.480965 8.51502 0.170898 9.26358 0.170898 10.0441C0.170898 10.8246 0.480965 11.5732 1.03289 12.1251C1.58481 12.677 2.33337 12.9871 3.11391 12.9871C3.8889 12.9871 4.58542 12.683 5.11516 12.1925L12.0999 16.2636C12.0509 16.4696 12.0214 16.6855 12.0214 16.9111C12.0214 18.4905 13.3065 19.7658 14.886 19.7658C16.4654 19.7658 17.7505 18.4905 17.7505 16.9111C17.7505 16.1514 17.4487 15.4228 16.9115 14.8856C16.3743 14.3484 15.6457 14.0466 14.886 14.0466Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),Qoe=[Koe],ese=["src"],tse={"clip-path":"url(#clip0_59_831)"},ase=["fill"],ose=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),sse=["src"],nse=["fill"],ise=["fill"],rse=["fill"],lse=t.createElementVNode("path",{d:"M10.2126 9.10136C9.73332 9.10136 9.30448 9.29055 8.97655 9.58695L4.48004 6.96979C4.51158 6.82474 4.5368 6.67969 4.5368 6.52834C4.5368 6.37699 4.51158 6.23194 4.48004 6.08689L8.92609 3.49495C9.26664 3.81027 9.7144 4.00577 10.2126 4.00577C10.7144 4.00577 11.1956 3.80645 11.5504 3.45164C11.9052 3.09684 12.1045 2.61562 12.1045 2.11385C12.1045 1.61208 11.9052 1.13086 11.5504 0.776056C11.1956 0.421251 10.7144 0.221924 10.2126 0.221924C9.71084 0.221924 9.22962 0.421251 8.87481 0.776056C8.52 1.13086 8.32067 1.61208 8.32067 2.11385C8.32067 2.2652 8.3459 2.41025 8.37743 2.5553L3.93138 5.14723C3.59083 4.83191 3.14308 4.63641 2.64487 4.63641C2.14309 4.63641 1.66187 4.83574 1.30706 5.19055C0.952258 5.54535 0.75293 6.02657 0.75293 6.52834C0.75293 7.03011 0.952258 7.51133 1.30706 7.86613C1.66187 8.22094 2.14309 8.42026 2.64487 8.42026C3.14308 8.42026 3.59083 8.22476 3.93138 7.90944L8.42158 10.5266C8.39004 10.659 8.37113 10.7978 8.37113 10.9428C8.37113 11.9582 9.19727 12.778 10.2126 12.778C11.2279 12.778 12.0541 11.9582 12.0541 10.9428C12.0541 10.4544 11.8601 9.98605 11.5147 9.64071C11.1694 9.29537 10.701 9.10136 10.2126 9.10136Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),cse=[lse],dse=["src"],mse=["fill"],pse=["src"],hse=["fill"],gse=["fill"],yse=["fill"],use=t.createElementVNode("path",{d:"M10.2126 9.10111C9.73332 9.10111 9.30448 9.2903 8.97655 9.58671L4.48004 6.96954C4.51158 6.8245 4.5368 6.67945 4.5368 6.52809C4.5368 6.37674 4.51158 6.23169 4.48004 6.08665L8.92609 3.49471C9.26664 3.81003 9.7144 4.00553 10.2126 4.00553C10.7144 4.00553 11.1956 3.8062 11.5504 3.4514C11.9052 3.09659 12.1045 2.61537 12.1045 2.1136C12.1045 1.61183 11.9052 1.13062 11.5504 0.775812C11.1956 0.421007 10.7144 0.22168 10.2126 0.22168C9.71084 0.22168 9.22962 0.421007 8.87481 0.775812C8.52 1.13062 8.32067 1.61183 8.32067 2.1136C8.32067 2.26496 8.3459 2.41001 8.37743 2.55505L3.93138 5.14699C3.59083 4.83167 3.14308 4.63617 2.64487 4.63617C2.14309 4.63617 1.66187 4.8355 1.30706 5.1903C0.952258 5.54511 0.75293 6.02633 0.75293 6.52809C0.75293 7.02986 0.952258 7.51108 1.30706 7.86589C1.66187 8.22069 2.14309 8.42002 2.64487 8.42002C3.14308 8.42002 3.59083 8.22452 3.93138 7.9092L8.42158 10.5264C8.39004 10.6588 8.37113 10.7975 8.37113 10.9426C8.37113 11.9579 9.19727 12.7778 10.2126 12.7778C11.2279 12.7778 12.0541 11.9579 12.0541 10.9426C12.0541 10.4542 11.8601 9.98581 11.5147 9.64047C11.1694 9.29512 10.701 9.10111 10.2126 9.10111Z",fill:"#F4F4F4","fill-opacity":"0.5"},null,-1),fse=[use],_se=["src"],bse=["fill"],wse=["src"],Cse=["fill"],kse=["fill"],Sse=["fill"];function Ese(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.tarjetaDatosGstype4),ref:"myDivRefCardtype4",onClick:a[10]||(a[10]=r=>i.clickPlayer({season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGsDesktopClass),id:"card-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCardtype4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnSharetype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcontype4),width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Qoe,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcontype4),alt:"",src:o.data.background},null,10,ese)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideostype4),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,player_id:o.data.player_id,category:0,type:2}))},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("g",tse,[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,ase)]),ose],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titletype4),id:"title-info"},[t.createElementVNode("h4",{class:t.normalizeClass(e.$style.playerNametype4),id:"player-name"},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainertype4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcontype4),alt:"",src:o.data.player_photo},null,10,sse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainerClass),id:"data-container"},[t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBoxClass),onClick:a[1]||(a[1]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,nse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_1),3)],6),t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBoxClass),onClick:a[2]||(a[2]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,ise)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_2),3)],6),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBoxClass),onClick:a[3]||(a[3]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.totaltype4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,rse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1type4)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs414Class),id:"card-mobile-414"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cse,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon1type4),alt:"",src:o.data.background},null,10,dse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon1type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,mse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title1type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer1type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon1type4),alt:"",src:o.data.player_photo},null,10,pse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(i.dataContainer1Class),id:"data-container"},[t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox4Class),onClick:a[4]||(a[4]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,hse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_1),3)],6),t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox4Class),onClick:a[5]||(a[5]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,gse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_2),3)],6),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox6Class),onClick:a[6]||(a[6]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.font_color_card},null,8,yse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div9type4)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.tarjetaDatosGs320Class)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.baseCard1type4)},[o.showShareButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.btnShare1type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.btnShareIcon1type4),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fse,2))],2)):t.createCommentVNode("",!0),o.data.background!=""?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.bakgBaseIcon2type4),alt:"",src:o.data.background},null,10,_se)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnVideos2type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcon2type4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188781 8.4474C0.131578 8.40953 0.0837666 8.35295 0.0505 8.28375C0.0172333 8.21456 -0.000226673 8.13538 2.22194e-06 8.05474V0.944134C8.08686e-05 0.863779 0.0176551 0.784951 0.0508567 0.716032C0.0840582 0.647113 0.131646 0.590677 0.188562 0.552724C0.245478 0.514772 0.309594 0.49672 0.374094 0.50049C0.438595 0.504259 0.50107 0.529707 0.554877 0.57413L4.84083 4.12986C4.88978 4.17036 4.92993 4.2253 4.9577 4.28978C4.98547 4.35426 5 4.42628 5 4.49944C5 4.5726 4.98547 4.64462 4.9577 4.7091C4.92993 4.77358 4.88978 4.82852 4.84083 4.86902L0.554877 8.42559C0.501152 8.47011 0.438726 8.49565 0.374253 8.49949C0.30978 8.50333 0.245678 8.48533 0.188781 8.4474V8.4474ZM0.357334 8.05558L4.64329 4.49986L0.357334 8.05558Z",fill:o.data.color_icon_play!=null?o.data.color_icon_play:"#CBEE6B"},null,8,bse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.verVideostype4)},"Ver videos",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.title2type4),id:"title-info"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.playerName1type4)},t.toDisplayString(o.data.player_name),3),t.createElementVNode("h2",{class:t.normalizeClass(e.$style.elJugadorAContainer2type4),id:"title-card"},[t.createElementVNode("p",{class:t.normalizeClass(e.$style.elJugadortype4)},t.toDisplayString(o.data.main_title),3),t.createElementVNode("p",{class:t.normalizeClass(e.$style.aSeguirtype4)},t.toDisplayString(o.data.second_title),3)],2)],2)],2),o.data.player_photo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imagePlayerIcon2type4),alt:"",src:o.data.player_photo},null,10,wse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.dataContainer2type4),id:"data-container"},[t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox7Class),onClick:a[7]||(a[7]=r=>i.clickCategory({category:o.data.category_id_1,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.font_color_card},null,8,Cse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_1),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_1),3)],6),t.createElementVNode("div",{style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox8Class),onClick:a[8]||(a[8]=r=>i.clickCategory({category:o.data.category_id_2,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"5",height:"9",viewBox:"0 0 5 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.188777 8.8403C0.131575 8.80242 0.0837648 8.74584 0.0504989 8.67665C0.0172329 8.60746 -0.000226668 8.52828 2.22189e-06 8.44765V1.33719C8.08668e-05 1.25684 0.0176547 1.17801 0.0508556 1.10909C0.0840564 1.04018 0.131643 0.983741 0.188558 0.94579C0.245472 0.907838 0.309587 0.889787 0.374086 0.893556C0.438586 0.897325 0.501059 0.922773 0.554865 0.967195L4.84073 4.52284C4.88968 4.56335 4.92982 4.61829 4.95759 4.68277C4.98536 4.74724 4.99989 4.81926 4.99989 4.89242C4.99989 4.96557 4.98536 5.03759 4.95759 5.10207C4.92982 5.16655 4.88968 5.22149 4.84073 5.26199L0.554865 8.81848C0.501141 8.863 0.438716 8.88854 0.374245 8.89238C0.309774 8.89623 0.245673 8.87822 0.188777 8.8403V8.8403ZM0.357326 8.44849L4.64319 4.89284L0.357326 8.44849Z",fill:o.data.font_color_card},null,8,kse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_2),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_2),3)],6),o.data.showlast_category?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({color:o.data.font_color_card+"!important"}),class:t.normalizeClass(i.dataBox8Class),onClick:a[9]||(a[9]=r=>i.clickCategory({category:o.data.category_id_3,season_id:o.data.id_season,player_id:o.data.player_id,type:2}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.total4type4)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.arrowGraphIcontype4),width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.474421 8.8403C0.41722 8.80242 0.369409 8.74584 0.336143 8.67665C0.302877 8.60746 0.285418 8.52828 0.285647 8.44765V1.33719C0.285725 1.25684 0.303299 1.17801 0.3365 1.10909C0.369701 1.04018 0.417288 0.983741 0.474202 0.94579C0.531117 0.907838 0.595232 0.889787 0.659731 0.893556C0.72423 0.897325 0.786704 0.922773 0.84051 0.967195L5.12637 4.52284C5.17532 4.56335 5.21547 4.61829 5.24324 4.68277C5.271 4.74724 5.28554 4.81926 5.28554 4.89242C5.28554 4.96557 5.271 5.03759 5.24324 5.10207C5.21547 5.16655 5.17532 5.22149 5.12637 5.26199L0.84051 8.81848C0.786786 8.863 0.724361 8.88854 0.659889 8.89238C0.595418 8.89623 0.531318 8.87822 0.474421 8.8403V8.8403ZM0.64297 8.44849L4.92883 4.89284L0.64297 8.44849Z",fill:o.data.font_color_card},null,8,Sse)],2)),t.createElementVNode("div",{class:t.normalizeClass(e.$style.divtype4)},t.toDisplayString(o.data.category_stats_3),3)],2),t.createElementVNode("div",{class:t.normalizeClass(i.div15Class)},t.toDisplayString(o.data.category_name_3),3)],6)):t.createCommentVNode("",!0)],2)],2)],2)}const Nse={$style:Yoe},$se=Uo(_p,[["render",Ese],["__cssModules",Nse]]),Bse="_cardVideotype3_1geoc_47",xse="_cardVideo540type3_1geoc_73",Vse="_ligaMx2Icontype3_1geoc_101",Ise="_roleCharacterIcontype3_1geoc_121",Ase="_btnPlaytype3_1geoc_135",Ose="_videoThumbnailtype3_1geoc_183",Tse="_chivasIcontype3_1geoc_209",zse="_teamtype3_1geoc_221",Fse="_playerChildtype3_1geoc_251",Rse="_playertype3_1geoc_265",Pse="_teamPlayertype3_1geoc_297",Dse="_mintype3_1geoc_309",Lse="_teamPlayerParenttype3_1geoc_317",jse="_icnGoalsIcontype3_1geoc_333",vse="_min1type3_1geoc_343",Mse="_actionstype3_1geoc_351",Hse="_footerCardVideotype3_1geoc_367",Use={cardVideotype3:Bse,cardVideo540type3:xse,ligaMx2Icontype3:Vse,roleCharacterIcontype3:Ise,btnPlaytype3:Ase,videoThumbnailtype3:Ose,chivasIcontype3:Tse,teamtype3:zse,playerChildtype3:Fse,playertype3:Rse,teamPlayertype3:Pse,mintype3:Dse,teamPlayerParenttype3:Lse,icnGoalsIcontype3:jse,min1type3:vse,actionstype3:Mse,footerCardVideotype3:Hse},bp={components:{},props:{data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},categoryIcon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#000000"},playerPhoto:{type:Boolean,default:!0}},data(){return{}},setup(){const e=t.ref("myDivRefCardtype3"),{elementSize:a}=ln(e);return{myDivRefCardtype3:e,elementSize:a}},computed:{cardVideoClass(){return this.elementSize.width<=540?this.$style.cardVideo540type3:this.$style.cardVideotype3}},methods:{clickPlayer(e){this.clickCard&&this.$emit("onClickCard",e)},clickVideos(e){this.clickCard||this.$emit("onClickVideos",e)}}},L2=()=>{t.useCssVars(e=>({fe7b7fd8:e.backgroundColor}))},j2=bp.setup;bp.setup=j2?(e,a)=>(L2(),j2(e,a)):L2;const Gse=["src"],Wse=t.createElementVNode("g",{"clip-path":"url(#clip0_59_831)"},[t.createElementVNode("path",{d:"M2.67705 12.0654C2.58553 12.0133 2.50903 11.9355 2.4558 11.8404C2.40257 11.7452 2.37464 11.6363 2.375 11.5255V1.74838C2.37513 1.63789 2.40325 1.5295 2.45637 1.43474C2.50949 1.33998 2.58563 1.26238 2.6767 1.21019C2.76776 1.15801 2.87035 1.13319 2.97355 1.13837C3.07675 1.14355 3.17671 1.17854 3.2628 1.23962L10.1203 6.12875C10.1987 6.18445 10.2629 6.25998 10.3073 6.34864C10.3518 6.4373 10.375 6.53633 10.375 6.63692C10.375 6.73751 10.3518 6.83654 10.3073 6.9252C10.2629 7.01386 10.1987 7.0894 10.1203 7.1451L3.2628 12.0354C3.17684 12.0966 3.07696 12.1317 2.9738 12.137C2.87065 12.1423 2.76809 12.1175 2.67705 12.0654V12.0654ZM2.94673 11.5266L9.80426 6.6375L2.94673 11.5266Z",fill:"#CBEE6B"})],-1),qse=t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_59_831"},[t.createElementVNode("rect",{width:"12",height:"12",fill:"white",transform:"translate(0.375 0.637695)"})])],-1),Jse=[Wse,qse],Xse=["src"],Zse=["src"],Yse=["src"];function Kse(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(i.cardVideoClass),ref:"myDivRefCardtype3",onClick:a[1]||(a[1]=r=>i.clickPlayer({season_id:o.data.id_season,category_id:o.data.id_category,team_id:o.data.team_id,player_id:o.data.player_id}))},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.videoThumbnailtype3),id:"container-video"},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.ligaMx2Icontype3),alt:"",src:o.data.background_card},null,10,Gse),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnPlaytype3),onClick:a[0]||(a[0]=r=>i.clickVideos({season_id:o.data.id_season,category_id:o.data.id_category,team_id:o.data.team_id,player_id:o.data.player_id})),id:"btn-play-video"},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(e.$style.roleCharacterIcontype3),width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jse,2))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.footerCardVideotype3),id:"footer-card-video",style:t.normalizeStyle({background:o.backgroundColor})},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPlayerParenttype3)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamPlayertype3)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamtype3)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.chivasIcontype3),alt:"",src:o.data.team_logo},null,10,Xse)],2),o.playerPhoto?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.playertype3)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.playerChildtype3),alt:"",src:o.data.player_photo},null,10,Zse)],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.mintype3)},t.toDisplayString(o.data.player_name),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.actionstype3)},[o.categoryIcon?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.icnGoalsIcontype3),alt:"",src:o.data.icon_stat},null,10,Yse)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.min1type3)},t.toDisplayString(o.data.stat),3)],2)],6)],2)}const Qse={$style:Use},ene=Uo(bp,[["render",Kse],["__cssModules",Qse]]),tne={components:{GSCCardFrecuentConnections:Gte,GSCCardVideosPlayers:bae,GSCHighlightsPostmatch:vae,GSCPlays:ene,GSCDataGS:$se},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}},clickCard:{type:Boolean,default:!1},playerPhoto:{type:Boolean,default:!0},categoryIcon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#cf152d"},backgroundImg:{type:String,default:""},colorTitle:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},colorCard:{type:String,default:"#122736"},showShareButton:{type:Boolean,default:!1},customizeColors:{type:Boolean,default:!0}},data(){return{}},computed:{},methods:{onClickPlayer(e){this.$emit("onClickCard",e)},onClickVideos(e){this.$emit("onClickVideos",e)},onClickCategory(e){this.$emit("onClickCategory",e)}}};function ane(e,a,o,s,n,i){const r=t.resolveComponent("GSCCardFrecuentConnections"),c=t.resolveComponent("GSCCardVideosPlayers"),h=t.resolveComponent("GSCHighlightsPostmatch"),d=t.resolveComponent("GSCPlays"),l=t.resolveComponent("GSCDataGS");return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createBlock(r,{key:0,data:o.data,"click-card":o.clickCard,onOnClickPlayer:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","onOnClickPlayer","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createBlock(c,{key:1,data:o.data,"click-card":o.clickCard,"background-color":o.backgroundColor,"color-title":o.colorTitle,"border-color":o.borderColor,"background-img":o.backgroundImg,"customize-colors":o.customizeColors,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","background-color","color-title","border-color","background-img","customize-colors","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==2?(t.openBlock(),t.createBlock(h,{key:2,data:o.data,"click-card":o.clickCard,"background-img":o.backgroundImg,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","background-img","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==3?(t.openBlock(),t.createBlock(d,{key:3,data:o.data,"click-card":o.clickCard,"player-photo":o.playerPhoto,"category-icon":o.categoryIcon,"background-color":o.backgroundColor,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos},null,8,["data","click-card","player-photo","category-icon","background-color","onOnClickCard","onOnClickVideos"])):t.createCommentVNode("",!0),o.type==4?(t.openBlock(),t.createBlock(l,{key:4,data:o.data,"show-share-button":o.showShareButton,"click-card":o.clickCard,colorcard:o.colorCard,onOnClickCard:i.onClickPlayer,onOnClickVideos:i.onClickVideos,onOnClickCategory:i.onClickCategory},null,8,["data","show-share-button","click-card","colorcard","onOnClickCard","onOnClickVideos","onOnClickCategory"])):t.createCommentVNode("",!0)])}const one=Uo(tne,[["render",ane],["__scopeId","data-v-b1f26d64"]]),sne=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},wp={name:"ScrollableContainer",props:{backgroundColor:{type:String,default:"#0D1D29"},pxScroll:{type:Number,default:100},arrows:{type:Boolean,default:!0},arrowsHideOnNoScroll:{type:Boolean,default:!1},arrowsScrollHide:{type:Boolean,default:!1},arrowsColor:{type:String,default:"#CBEE6B"},arrowsHeight:{type:Number,default:15},arrowsWidth:{type:Number,default:15},arrowsPadding:{type:Number,default:5},arrowsMargin:{type:Number,default:10},arrowsRadius:{type:String,default:"0%"},arrowsBorder:{type:String,default:"none"},arrowsBackground:{type:String,default:"#0D1D29"},arrowsContainerBgL:{type:String,default:"#0D1D29"},arrowsContainerBgR:{type:String,default:"#0D1D29"},scrollColor:{type:String,default:"#c3e569"},arrowsPosition:{type:String,default:"relative"},height:{type:String,default:"100%"}},data(){return{showLeftArrow:!1,showRightArrow:!0,intervalid1:""}},mounted(){this.getScroll(),this.arrowsHideOnNoScroll&&window.addEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&this.listenerLoad()},beforeUnmount(){this.arrowsHideOnNoScroll&&window.removeEventListener("resize",this.resizeSlider),this.arrowsHideOnNoScroll&&clearInterval(this.intervalid1)},computed:{getViewBox(){return`-2 0 ${this.arrowsWidth} ${this.arrowsHeight}`},hideShowLeftArrow(){let e="";return this.arrowsPosition=="absolute"?e="leftAbsolute":e="leftRelative",this.arrowsScrollHide?this.showLeftArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e},hideShowRightArrow(){let e="";return this.arrowsPosition=="absolute"?e="rightAbsolute":e="rightRelative",this.arrowsScrollHide?this.showRightArrow?e+=" showArrowSlide":e+=" hideArrowSlide":e+=" showArrowSlide",e}},methods:{scrollLeft(){this.$refs.content.scrollLeft-=this.pxScroll},scrollRight(){this.$refs.content.scrollLeft+=this.pxScroll},getScroll(){let e=0;this.arrowsPosition=="relative"?e=this.$refs.content.scrollWidth-this.$el.clientWidth+this.arrowsMargin*2+this.arrowsWidth*4:e=this.$refs.content.scrollWidth-this.$el.clientWidth,this.$refs.content.scrollLeft==0?this.showLeftArrow=!1:this.showLeftArrow=!0,e>0&&(this.$refs.content.scrollLeft==e?this.showRightArrow=!1:this.showRightArrow=!0),this.arrowsHideOnNoScroll&&this.$refs.content.clientWidth===this.$refs.content.scrollWidth&&(this.showRightArrow=!1)},resizeSlider(){this.getScroll();let e;clearTimeout(e),e=setTimeout(this.getScroll,1e3)},listenerLoad(){this.intervalid1=setInterval((function(){var e=this.$el.clientWidth,a=this.$refs.content.scrollWidth;a>0&&e>0&&(a>e?(this.showRightArrow=!0,clearInterval(this.intervalid1)):clearInterval(this.intervalid1))}).bind(this),3e3)}}},v2=()=>{t.useCssVars(e=>({"42d3dba6":e.backgroundColor,"4de5d2cf":e.height,"67bafa7b":e.arrowsPosition,"61e1032e":e.arrowsPadding+"px","79a4ac00":e.arrowsBackground,"6b8355c6":e.arrowsHeight*2+"px","29a58368":e.arrowsWidth*2+"px","3622fa64":e.arrowsRadius,"1ba101fe":e.arrowsBorder,"0bafb5e6":e.arrowsMargin+"px","423a44b8":e.arrowsContainerBgL,"423a44be":e.arrowsContainerBgR,"10b117ee":e.scrollColor}))},M2=wp.setup;wp.setup=M2?(e,a)=>(v2(),M2(e,a)):v2;const nne={ref:"gscScrollableContainer",class:"scrollable-container"},ine={class:"scrollable-arrows"},rne=["width","height","viewBox"],lne=["stroke"],cne={class:"scrollable-wrapper"},dne={class:"scrollable-arrows"},mne=["width","height","viewBox"],pne=["stroke"];function hne(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",nne,[o.arrows?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["arrows-container",i.hideShowLeftArrow]),onClick:a[0]||(a[0]=(...r)=>i.scrollLeft&&i.scrollLeft(...r))},[t.createElementVNode("div",ine,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M6.36523 13.788L1.10146 8.52429C0.479824 7.90265 0.479824 6.88541 1.10147 6.26377L6.36523 1",stroke:o.arrowsColor},null,8,lne)],8,rne))])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"scrollable-content scrollable-content-slider",ref:"content",onScroll:a[1]||(a[1]=(...r)=>i.getScroll&&i.getScroll(...r))},[t.createElementVNode("div",cne,[t.renderSlot(e.$slots,"default",{},void 0,!0)])],544),o.arrows?(t.openBlock(),t.createElementBlock("div",{key:1,id:"arrows-container-right",class:t.normalizeClass(["arrows-container",i.hideShowRightArrow]),onClick:a[2]||(a[2]=(...r)=>i.scrollRight&&i.scrollRight(...r))},[t.createElementVNode("div",dne,[(t.openBlock(),t.createElementBlock("svg",{width:o.arrowsWidth,height:o.arrowsHeight,viewBox:i.getViewBox,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M0.634765 1.21195L5.89853 6.47571C6.52018 7.09735 6.52018 8.11459 5.89853 8.73623L0.634766 14",stroke:o.arrowsColor},null,8,pne)],8,mne))])],2)):t.createCommentVNode("",!0)],512)}const gne=sne(wp,[["render",hne],["__scopeId","data-v-b548a08d"]]),yne="_templateDataGS_1w6kr_7",une="_gridCompo480_1w6kr_33",fne="_gridCompo_1w6kr_33",_ne="_grid_1w6kr_33",bne="_grid768_1w6kr_115",wne="_grid480_1w6kr_137",Cne="_specialsMobile_1w6kr_161",kne="_gridClass_1w6kr_177",Sne={templateDataGS:yne,gridCompo480:une,gridCompo:fne,grid:_ne,grid768:bne,grid480:wne,specialsMobile:Cne,gridClass:kne},Ene={components:{GSCData:gte,GSCCard:one,GSCSlider:gne,GSCMentionsCards:BY},props:{type:{type:Number,default:0},data:{type:Object,default:()=>{}}},setup(){const e=t.ref("myDivRef2GSDa"),{elementSize:a}=KZ(e);return{myDivRef2GSDa:e,elementSize:a}},data(){return{token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",pages:[],homeTeam:[],awayTeam:[],playerInfo:{},specials:[]}},computed:{gridCompoClass(){return this.elementSize.width<=720?this.$style.gridCompo480:this.$style.gridCompo},gridClass(){const e=this.elementSize.width;return e<=620?this.$style.grid480:e<=900?this.$style.grid768:this.$style.grid}},watch:{data:{immediate:!0,handler(e){this.getStats(e)}}},methods:{openmedia(e){this.$emit("openmedia",e)},onclickPlayVideos(e){var a=[];e.type==2?e.position_id==1?e.category==0?a=[39,55,41,42,264,304,306,608,324,323,362,371,380,355,49,50,267,308]:a=e.category:e.category==0?a=[12,19,31,32,13,25,6,11,23,4,5,24,15,607,10,27,216,217,155,164,173,30,98,101,104,105,109,112,115,116,17,2,20]:a=e.category:e.type==3?e.category==0?a=[12,55,"35_r","54_r",19,31,32,13,25,6,312,11,23,4,5,24,18,49,607,608,10,324,27,323,216,217,155,164,173,362,371,380,30,355,98,101,104,105,109,112,115,116,17,50,2,20,267,308]:a=e.category:e.category!=0?a=e.category:a=[12,55,"35_r","54_r",19,31,32,13,25,6,312,11,23,4,5,24,18,49,607,608,10,324,27,323,216,217,155,164,173,362,371,380,30,355,98,101,104,105,109,112,115,116,17,50,2,20,267,308],a==="minutes_played"&&(a=[56,57,59,60,326,213,214,215,216,583,584,122,123,124,125,585,586,128,129,130,131,133,327,587,588,136,137,138,139,589,590,142,143,144,145,146,147,485,486,487,488,489,490,491,492,10,27,597,598,538,539,599,600,541,542,601,602,545,546,603,604,548,549,561,562,100,563,564,103,104,105,106,107,108,565,566,111,567,568,114,115,116,117,118,119,4,88,5,34,402,459,460,461,233,403,456,457,458,236,404,453,454,455,240,405,450,451,452,243,408,447,448,449,283,409,444,445,446,285,410,441,442,443,290,411,438,439,440,292,412,435,436,437,297,414,415,416,417,244,418,419,420,421,401,581,582,331,506,530,579,580,334,507,531,577,578,344,508,532,575,576,424,509,533,573,574,341,529,534,571,572,340,528,535,569,570,427,527,536,348,349,350,465,352,353,354,466,14,52,15,53,218,219,220,221,496,497,498,499,500,501,502,503,217,504,505,521,522,543,33,209,208,517,206,207,26,325,16,51,463,151,154,156,591,592,159,162,163,429,165,593,594,168,171,172,430,174,595,596,177,180,181,431,467,358,361,363,366,369,370,469,372,376,378,379,470,381,385,387,388,471,607,608,210,212]),a==="games_played"&&(a=[607,608,12,55,54,35,14,52,15,53,466,477]);const o=[1,2,3];let s={seasonId:e.season_id,mainSectionType:1,playListType:e.type,categoryIds:a,gameIds:e.game_id?[e.game_id]:null,playerIds:e.position_id!=1?e.player_id?[e.player_id]:[]:[],goalkeeperIds:e.position_id==1?e.player_id?[e.player_id]:[]:[],teamId:e.team_id?[e.team_id]:0,matchResult:e.matchResult?[e.matchResult]:o,playData:{},advancedFilter:{playListTitle:""}};e.category!==0&&(s.advancedFilter.mainCategoryId=e.category),this.$emit("openmedia",s)},async getStats(e){const a=YZ.create({headers:{Authorization:`${this.token}`}}),o=await a.get("https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/"+e.season+"/games/"+e.game),s=await a.get("https://55sbpmq0f5.execute-api.us-west-2.amazonaws.com/prod/specialMentions/"+e.game);for(let n=0;n<o.data.games[0].players.length;n++)e.home_team_id==o.data.games[0].players[n].team_id&&this.homeTeam.push({id_season:o.data.games[0].players[n].season_id,color:o.data.games[0].players[n].info_thumbnails.colors.background_color,player_id:o.data.games[0].players[n].player_id,player_name:o.data.games[0].players[n].player_name,background:o.data.games[0].players[n].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.background_default_players[0],player_photo:o.data.games[0].players[n].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.player_in_action[0]:`https://az755631.vo.msecnd.net/players-profile/${o.data.games[0].players[n].player_id}.png`,category_stats_1:this.prematch?o.data.games[0].players[n].games_played:o.data.games[0].players[n].minutes_played,category_stats_2:this.prematch?o.data.games[0].players[n].minutes_played:o.data.games[0].players[n].categories[0].total,category_stats_3:this.prematch?o.data.games[0].players[n].categories[0].total:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":o.data.games[0].players[n].categories[0].categories,category_id_3:this.prematch?o.data.games[0].players[n].categories[0].categories:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":o.data.games[0].players[n].categories[0].category_name,category_name_3:this.prematch?o.data.games[0].players[n].categories[0].category_name:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].category_name:"",showlast_category:!!o.data.games[0].players[n].categories[1],main_title:"Jugador",second_title:"Destacado",background_color_buttons:o.data.games[0].players[n].info_thumbnails.colors.background_color_buttons,background_color_cards:o.data.games[0].players[n].info_thumbnails.colors.background_color_cards,color_icon_play:o.data.games[0].players[n].info_thumbnails.colors.color_icon_play,color_next_back:o.data.games[0].players[n].info_thumbnails.colors.color_next_back,font_color:o.data.games[0].players[n].info_thumbnails.colors.font_color,font_color_card:o.data.games[0].players[n].info_thumbnails.colors.font_color_cards?o.data.games[0].players[n].info_thumbnails.colors.font_color_cards:"#FFFFFF"}),e.away_team_id==o.data.games[0].players[n].team_id&&this.awayTeam.push({id_season:o.data.games[0].players[n].season_id,color:o.data.games[0].players[n].info_thumbnails.colors.background_color,player_id:o.data.games[0].players[n].player_id,player_name:o.data.games[0].players[n].player_name,background:o.data.games[0].players[n].info_thumbnails.images.background_player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.background_player_in_action[0]:"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.background_default_players[0],player_photo:o.data.games[0].players[n].info_thumbnails.images.player_in_action[0]?"https://golstatsimages.blob.core.windows.net/images-library/"+o.data.games[0].players[n].info_thumbnails.images.player_in_action[0]:`https://az755631.vo.msecnd.net/players-profile/${o.data.games[0].players[n].player_id}.png`,category_stats_1:this.prematch?o.data.games[0].players[n].games_played:o.data.games[0].players[n].minutes_played,category_stats_2:this.prematch?o.data.games[0].players[n].minutes_played:o.data.games[0].players[n].categories[0].total,category_stats_3:this.prematch?o.data.games[0].players[n].categories[0].total:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].total:"",category_id_1:this.prematch?"games_played":"minutes_played",category_id_2:this.prematch?"minutes_played":o.data.games[0].players[n].categories[0].categories,category_id_3:this.prematch?o.data.games[0].players[n].categories[0].categories:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].categories:"",category_name_1:this.prematch?"Partidos Jugados":"Minutos Jugados",category_name_2:this.prematch?"Minutos Jugados":o.data.games[0].players[n].categories[0].category_name,category_name_3:this.prematch?o.data.games[0].players[n].categories[0].category_name:o.data.games[0].players[n].categories[1]?o.data.games[0].players[n].categories[1].category_name:"",showlast_category:!!o.data.games[0].players[n].categories[1],main_title:"Jugador",second_title:"Destacado",background_color_buttons:o.data.games[0].players[n].info_thumbnails.colors.background_color_buttons,background_color_cards:o.data.games[0].players[n].info_thumbnails.colors.background_color_cards,color_icon_play:o.data.games[0].players[n].info_thumbnails.colors.color_icon_play,color_next_back:o.data.games[0].players[n].info_thumbnails.colors.color_next_back,font_color:o.data.games[0].players[n].info_thumbnails.colors.font_color,font_color_card:o.data.games[0].players[n].info_thumbnails.colors.font_color_cards?o.data.games[0].players[n].info_thumbnails.colors.font_color_cards:"#FFFFFF"});this.specials=s.data.data}}},Nne={style:{margin:"0 auto",width:"100%"}},$ne={style:{margin:"0 auto",width:"100%"}};function Bne(e,a,o,s,n,i){const r=t.resolveComponent("GSCData"),c=t.resolveComponent("GSCMentionsCards"),h=t.resolveComponent("GSCSlider"),d=t.resolveComponent("GSCCard");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.templateDataGS),ref:"myDivRef2GSDa"},[o.type==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(i.gridCompoClass)},[t.createElementVNode("div",{style:t.normalizeStyle(s.elementSize.width>720?"width:"+(s.elementSize.width-80)/2+"px":"width:"+(s.elementSize.width-40)+"px")},[t.createElementVNode("div",Nne,[t.createVNode(r,{type:1,prematch:!0,"click-card":!1,"team-selected":o.data.home_team_id,data:o.data,colorCardByTeam:!0,onOpenmedia:i.openmedia},null,8,["team-selected","data","onOpenmedia"])])],4),t.createElementVNode("div",{style:t.normalizeStyle(s.elementSize.width>720?"width:"+(s.elementSize.width-80)/2+"px":"width:"+(s.elementSize.width-40)+"px")},[t.createElementVNode("div",$ne,[t.createVNode(r,{type:1,prematch:!0,"click-card":!1,"team-selected":o.data.away_team_id,data:o.data,colorCardByTeam:!0,onOpenmedia:i.openmedia},null,8,["team-selected","data","onOpenmedia"])])],4)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.specialsMobile)},[t.createVNode(h,{"px-scroll":305,"scroll-color":"none","arrows-position":"absolute","arrows-scroll-hide":!0,arrowsBackground:"rgba(255,255,255,.16)",arrowsContainerBgL:"none",arrowsContainerBgR:"none",arrowsMargin:0,arrowsRadius:"50%",arrowsBorder:"#ddd","background-color":"#172531"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.specials,(l,m)=>(t.openBlock(),t.createBlock(c,{key:m,data:l,"is-slider":!0},null,8,["data"]))),128))]),_:1})],2),t.createElementVNode("div",{class:t.normalizeClass([i.gridClass,e.$style.gridClass])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.specials,(l,m)=>(t.openBlock(),t.createBlock(c,{key:m,data:l},null,8,["data"]))),128))],2)],64)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.gridCompoClass)},[t.createElementVNode("div",{style:t.normalizeStyle(s.elementSize.width>720?"width:"+(s.elementSize.width-50)/2+"px":"width:"+(s.elementSize.width-40)+"px")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.homeTeam,(l,m)=>(t.openBlock(),t.createBlock(d,{key:m,type:4,style:{"margin-top":"30px"},"click-card":!1,data:l,colorCard:l.color,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["data","colorCard","onOnClickVideos","onOnClickCategory"]))),128))],4),t.createElementVNode("div",{style:t.normalizeStyle(s.elementSize.width>720?"width:"+(s.elementSize.width-50)/2+"px":"width:"+(s.elementSize.width-40)+"px")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.awayTeam,(l,m)=>(t.openBlock(),t.createBlock(d,{key:m,type:4,style:{"margin-top":"30px"},"click-card":!1,data:l,colorCard:l.color,onOnClickVideos:i.onclickPlayVideos,onOnClickCategory:i.onclickPlayVideos},null,8,["data","colorCard","onOnClickVideos","onOnClickCategory"]))),128))],4)],2))],2)}const xne={$style:Sne},H2=J_(Ene,[["render",Bne],["__cssModules",xne],["__scopeId","data-v-64d18036"]]),DMe="",LMe="",Vne={class:"datagame-container"},Ine=Fe({__name:"GSCDatosGSMain",props:{game:{type:Object,default:()=>({gameId:79623,seasonId:1772,status:1,dateTimeUTC:"2023-10-01T22:20:00Z",homeTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/18.png",team_id:10,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/18.png",colloquial_name:"Toluca",acronym:"TOL",team_name:"Toluca"},awayTeam:{logo:"https://az755631.vo.msecnd.net/teams-80/1.png",team_id:1,provisional_logo:"https://az755631.vo.msecnd.net/teams-provisional/1.png",colloquial_name:"Chivas",acronym:"CHI",team_name:"Guadalajara"}})}},emits:["openmedia"],setup(e,{emit:a}){const o=e,s=t.ref(0);t.watch(()=>o.game,i=>{s.value=i.gameId},{deep:!0,immediate:!0});function n(i){a("openmedia",i)}return(i,r)=>(t.openBlock(),t.createElementBlock("div",Vne,[e.game.game_status==4?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(H2),{onOpenmedia:n,key:s.value,type:0,data:{season:e.game.seasonId,game:e.game.gameId,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:1}},null,8,["data"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.game).length>0?(t.openBlock(),t.createBlock(t.unref(H2),{onOpenmedia:n,key:s.value,type:1,data:{season:e.game.seasonId,game:e.game.gameId,home_team_id:e.game.homeTeam.team_id,away_team_id:e.game.awayTeam.team_id,team_view:2}},null,8,["data"])):t.createCommentVNode("",!0)],64))]))}},[["__scopeId","data-v-ce673ad1"]]);function U2(e,a){return function(){return e.apply(a,arguments)}}const{toString:Ane}=Object.prototype,{getPrototypeOf:Cp}=Object,Rr=(e=>a=>{const o=Ane.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),la=e=>(e=e.toLowerCase(),a=>Rr(a)===e),Pr=e=>a=>typeof a===e,{isArray:Go}=Array,cn=Pr("undefined");function One(e){return e!==null&&!cn(e)&&e.constructor!==null&&!cn(e.constructor)&&At(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const G2=la("ArrayBuffer");function Tne(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&G2(e.buffer),a}const zne=Pr("string"),At=Pr("function"),W2=Pr("number"),Dr=e=>e!==null&&typeof e=="object",Fne=e=>e===!0||e===!1,Lr=e=>{if(Rr(e)!=="object")return!1;const a=Cp(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Rne=la("Date"),Pne=la("File"),Dne=la("Blob"),Lne=la("FileList"),jne=e=>Dr(e)&&At(e.pipe),vne=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||At(e.append)&&((a=Rr(e))==="formdata"||a==="object"&&At(e.toString)&&e.toString()==="[object FormData]"))},Mne=la("URLSearchParams"),Hne=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function dn(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let s,n;if(typeof e!="object"&&(e=[e]),Go(e))for(s=0,n=e.length;s<n;s++)a.call(null,e[s],s,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(s=0;s<r;s++)c=i[s],a.call(null,e[c],c,e)}}function q2(e,a){a=a.toLowerCase();const o=Object.keys(e);let s=o.length,n;for(;s-- >0;)if(n=o[s],a===n.toLowerCase())return n;return null}const J2=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),X2=e=>!cn(e)&&e!==J2;function kp(){const{caseless:e}=X2(this)&&this||{},a={},o=(s,n)=>{const i=e&&q2(a,n)||n;Lr(a[i])&&Lr(s)?a[i]=kp(a[i],s):Lr(s)?a[i]=kp({},s):Go(s)?a[i]=s.slice():a[i]=s};for(let s=0,n=arguments.length;s<n;s++)arguments[s]&&dn(arguments[s],o);return a}const Une=(e,a,o,{allOwnKeys:s}={})=>(dn(a,(n,i)=>{o&&At(n)?e[i]=U2(n,o):e[i]=n},{allOwnKeys:s}),e),Gne=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Wne=(e,a,o,s)=>{e.prototype=Object.create(a.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},qne=(e,a,o,s)=>{let n,i,r;const c={};if(a=a||{},e==null)return a;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)r=n[i],(!s||s(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&Cp(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},Jne=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const s=e.indexOf(a,o);return s!==-1&&s===o},Xne=e=>{if(!e)return null;if(Go(e))return e;let a=e.length;if(!W2(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},Zne=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Cp(Uint8Array)),Yne=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=o.next())&&!s.done;){const n=s.value;a.call(e,n[0],n[1])}},Kne=(e,a)=>{let o;const s=[];for(;(o=e.exec(a))!==null;)s.push(o);return s},Qne=la("HTMLFormElement"),eie=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,s){return o.toUpperCase()+s}),Z2=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),tie=la("RegExp"),Y2=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),s={};dn(o,(n,i)=>{let r;(r=a(n,i,e))!==!1&&(s[i]=r||n)}),Object.defineProperties(e,s)},aie=e=>{Y2(e,(a,o)=>{if(At(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const s=e[o];if(At(s)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},oie=(e,a)=>{const o={},s=n=>{n.forEach(i=>{o[i]=!0})};return Go(e)?s(e):s(String(e).split(a)),o},sie=()=>{},nie=(e,a)=>(e=+e,Number.isFinite(e)?e:a),Sp="abcdefghijklmnopqrstuvwxyz",K2="0123456789",Q2={DIGIT:K2,ALPHA:Sp,ALPHA_DIGIT:Sp+Sp.toUpperCase()+K2},iie=(e=16,a=Q2.ALPHA_DIGIT)=>{let o="";const{length:s}=a;for(;e--;)o+=a[Math.random()*s|0];return o};function rie(e){return!!(e&&At(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const lie=e=>{const a=new Array(10),o=(s,n)=>{if(Dr(s)){if(a.indexOf(s)>=0)return;if(!("toJSON"in s)){a[n]=s;const i=Go(s)?[]:{};return dn(s,(r,c)=>{const h=o(r,n+1);!cn(h)&&(i[c]=h)}),a[n]=void 0,i}}return s};return o(e,0)},cie=la("AsyncFunction"),die=e=>e&&(Dr(e)||At(e))&&At(e.then)&&At(e.catch),H={isArray:Go,isArrayBuffer:G2,isBuffer:One,isFormData:vne,isArrayBufferView:Tne,isString:zne,isNumber:W2,isBoolean:Fne,isObject:Dr,isPlainObject:Lr,isUndefined:cn,isDate:Rne,isFile:Pne,isBlob:Dne,isRegExp:tie,isFunction:At,isStream:jne,isURLSearchParams:Mne,isTypedArray:Zne,isFileList:Lne,forEach:dn,merge:kp,extend:Une,trim:Hne,stripBOM:Gne,inherits:Wne,toFlatObject:qne,kindOf:Rr,kindOfTest:la,endsWith:Jne,toArray:Xne,forEachEntry:Yne,matchAll:Kne,isHTMLForm:Qne,hasOwnProperty:Z2,hasOwnProp:Z2,reduceDescriptors:Y2,freezeMethods:aie,toObjectSet:oie,toCamelCase:eie,noop:sie,toFiniteNumber:nie,findKey:q2,global:J2,isContextDefined:X2,ALPHABET:Q2,generateString:iie,isSpecCompliantForm:rie,toJSONObject:lie,isAsyncFn:cie,isThenable:die};function be(e,a,o,s,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),s&&(this.request=s),n&&(this.response=n)}H.inherits(be,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.response&&this.response.status?this.response.status:null}}});const e5=be.prototype,t5={};["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=>{t5[e]={value:e}}),Object.defineProperties(be,t5),Object.defineProperty(e5,"isAxiosError",{value:!0}),be.from=(e,a,o,s,n,i)=>{const r=Object.create(e5);return H.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),be.call(r,e.message,a,o,s,n),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const mie=null;function Ep(e){return H.isPlainObject(e)||H.isArray(e)}function a5(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function o5(e,a,o){return e?e.concat(a).map(function(s,n){return s=a5(s),!o&&n?"["+s+"]":s}).join(o?".":""):a}function pie(e){return H.isArray(e)&&!e.some(Ep)}const hie=H.toFlatObject(H,{},null,function(e){return/^is[A-Z]/.test(e)});function jr(e,a,o){if(!H.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=H.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,g){return!H.isUndefined(g[y])});const s=o.metaTokens,n=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(a);if(!H.isFunction(n))throw new TypeError("visitor must be a function");function h(y){if(y===null)return"";if(H.isDate(y))return y.toISOString();if(!c&&H.isBlob(y))throw new be("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(y)||H.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,g,u){let f=y;if(y&&!u&&typeof y=="object"){if(H.endsWith(g,"{}"))g=s?g:g.slice(0,-2),y=JSON.stringify(y);else if(H.isArray(y)&&pie(y)||(H.isFileList(y)||H.endsWith(g,"[]"))&&(f=H.toArray(y)))return g=a5(g),f.forEach(function(_,k){!(H.isUndefined(_)||_===null)&&a.append(r===!0?o5([g],k,i):r===null?g:g+"[]",h(_))}),!1}return Ep(y)?!0:(a.append(o5(u,g,i),h(y)),!1)}const l=[],m=Object.assign(hie,{defaultVisitor:d,convertValue:h,isVisitable:Ep});function p(y,g){if(!H.isUndefined(y)){if(l.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));l.push(y),H.forEach(y,function(u,f){(!(H.isUndefined(u)||u===null)&&n.call(a,u,H.isString(f)?f.trim():f,g,m))===!0&&p(u,g?g.concat(f):[f])}),l.pop()}}if(!H.isObject(e))throw new TypeError("data must be an object");return p(e),a}function s5(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function Np(e,a){this._pairs=[],e&&jr(e,this,a)}const n5=Np.prototype;n5.append=function(e,a){this._pairs.push([e,a])},n5.toString=function(e){const a=e?function(o){return e.call(this,o,s5)}:s5;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function gie(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function i5(e,a,o){if(!a)return e;const s=o&&o.encode||gie,n=o&&o.serialize;let i;if(n?i=n(a,o):i=H.isURLSearchParams(a)?a.toString():new Np(a,o).toString(s),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}const r5=class{constructor(){this.handlers=[]}use(a,o,s){return this.handlers.push({fulfilled:a,rejected:o,synchronous:s?s.synchronous:!1,runWhen:s?s.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(o){o!==null&&a(o)})}},l5={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yie=typeof URLSearchParams<"u"?URLSearchParams:Np,uie=typeof FormData<"u"?FormData:null,fie=typeof Blob<"u"?Blob:null,_ie={isBrowser:!0,classes:{URLSearchParams:yie,FormData:uie,Blob:fie},protocols:["http","https","file","blob","url","data"]},c5=typeof window<"u"&&typeof document<"u",bie=(e=>c5&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),wie=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Cie=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:c5,hasStandardBrowserEnv:bie,hasStandardBrowserWebWorkerEnv:wie},Symbol.toStringTag,{value:"Module"})),ca={...Cie,..._ie};function kie(e,a){return jr(e,new ca.classes.URLSearchParams,Object.assign({visitor:function(o,s,n,i){return ca.isNode&&H.isBuffer(o)?(this.append(s,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function Sie(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Eie(e){const a={},o=Object.keys(e);let s;const n=o.length;let i;for(s=0;s<n;s++)i=o[s],a[i]=e[i];return a}function d5(e){function a(o,s,n,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&H.isArray(n)?n.length:r,h?(H.hasOwnProp(n,r)?n[r]=[n[r],s]:n[r]=s,!c):((!n[r]||!H.isObject(n[r]))&&(n[r]=[]),a(o,s,n[r],i)&&H.isArray(n[r])&&(n[r]=Eie(n[r])),!c)}if(H.isFormData(e)&&H.isFunction(e.entries)){const o={};return H.forEachEntry(e,(s,n)=>{a(Sie(s),n,o,0)}),o}return null}function Nie(e,a,o){if(H.isString(e))try{return(a||JSON.parse)(e),H.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(o||JSON.stringify)(e)}const $p={transitional:l5,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",s=o.indexOf("application/json")>-1,n=H.isObject(e);if(n&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return s?JSON.stringify(d5(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(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 i;if(n){if(o.indexOf("application/x-www-form-urlencoded")>-1)return kie(e,this.formSerializer).toString();if((i=H.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return jr(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return n||s?(a.setContentType("application/json",!1),Nie(e)):e}],transformResponse:[function(e){const a=this.transitional||$p.transitional,o=a&&a.forcedJSONParsing,s=this.responseType==="json";if(e&&H.isString(e)&&(o&&!this.responseType||s)){const n=!(a&&a.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(i){if(n)throw i.name==="SyntaxError"?be.from(i,be.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ca.classes.FormData,Blob:ca.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=>{$p.headers[e]={}});const Bp=$p,$ie=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"]),Bie=e=>{const a={};let o,s,n;return e&&e.split(`
|
|
58
58
|
`).forEach(function(i){n=i.indexOf(":"),o=i.substring(0,n).trim().toLowerCase(),s=i.substring(n+1).trim(),!(!o||a[o]&&$ie[o])&&(o==="set-cookie"?a[o]?a[o].push(s):a[o]=[s]:a[o]=a[o]?a[o]+", "+s:s)}),a},m5=Symbol("internals");function mn(e){return e&&String(e).trim().toLowerCase()}function vr(e){return e===!1||e==null?e:H.isArray(e)?e.map(vr):String(e)}function xie(e){const a=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=o.exec(e);)a[s[1]]=s[2];return a}const Vie=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xp(e,a,o,s,n){if(H.isFunction(s))return s.call(this,a,o);if(n&&(a=o),!!H.isString(a)){if(H.isString(s))return a.indexOf(s)!==-1;if(H.isRegExp(s))return s.test(a)}}function Iie(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,o,s)=>o.toUpperCase()+s)}function Aie(e,a){const o=H.toCamelCase(" "+a);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+o,{value:function(n,i,r){return this[s].call(this,a,n,i,r)},configurable:!0})})}let Mr=class{constructor(a){a&&this.set(a)}set(a,o,s){const n=this;function i(c,h,d){const l=mn(h);if(!l)throw new Error("header name must be a non-empty string");const m=H.findKey(n,l);(!m||n[m]===void 0||d===!0||d===void 0&&n[m]!==!1)&&(n[m||h]=vr(c))}const r=(c,h)=>H.forEach(c,(d,l)=>i(d,l,h));return H.isPlainObject(a)||a instanceof this.constructor?r(a,o):H.isString(a)&&(a=a.trim())&&!Vie(a)?r(Bie(a),o):a!=null&&i(o,a,s),this}get(a,o){if(a=mn(a),a){const s=H.findKey(this,a);if(s){const n=this[s];if(!o)return n;if(o===!0)return xie(n);if(H.isFunction(o))return o.call(this,n,s);if(H.isRegExp(o))return o.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,o){if(a=mn(a),a){const s=H.findKey(this,a);return!!(s&&this[s]!==void 0&&(!o||xp(this,this[s],s,o)))}return!1}delete(a,o){const s=this;let n=!1;function i(r){if(r=mn(r),r){const c=H.findKey(s,r);c&&(!o||xp(s,s[c],c,o))&&(delete s[c],n=!0)}}return H.isArray(a)?a.forEach(i):i(a),n}clear(a){const o=Object.keys(this);let s=o.length,n=!1;for(;s--;){const i=o[s];(!a||xp(this,this[i],i,a,!0))&&(delete this[i],n=!0)}return n}normalize(a){const o=this,s={};return H.forEach(this,(n,i)=>{const r=H.findKey(s,i);if(r){o[r]=vr(n),delete o[i];return}const c=a?Iie(i):String(i).trim();c!==i&&delete o[i],o[c]=vr(n),s[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const o=Object.create(null);return H.forEach(this,(s,n)=>{s!=null&&s!==!1&&(o[n]=a&&H.isArray(s)?s.join(", "):s)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,o])=>a+": "+o).join(`
|
|
59
59
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...o){const s=new this(a);return o.forEach(n=>s.set(n)),s}static accessor(a){const o=(this[m5]=this[m5]={accessors:{}}).accessors,s=this.prototype;function n(i){const r=mn(i);o[r]||(Aie(s,i),o[r]=!0)}return H.isArray(a)?a.forEach(n):n(a),this}};Mr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(Mr.prototype,({value:e},a)=>{let o=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(s){this[o]=s}}}),H.freezeMethods(Mr);const za=Mr;function Vp(e,a){const o=this||Bp,s=a||o,n=za.from(s.headers);let i=s.data;return H.forEach(e,function(r){i=r.call(o,i,n.normalize(),a?a.status:void 0)}),n.normalize(),i}function p5(e){return!!(e&&e.__CANCEL__)}function pn(e,a,o){be.call(this,e??"canceled",be.ERR_CANCELED,a,o),this.name="CanceledError"}H.inherits(pn,be,{__CANCEL__:!0});function Oie(e,a,o){const s=o.config.validateStatus;!o.status||!s||s(o.status)?e(o):a(new be("Request failed with status code "+o.status,[be.ERR_BAD_REQUEST,be.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}const Tie=ca.hasStandardBrowserEnv?{write(e,a,o,s,n,i){const r=[e+"="+encodeURIComponent(a)];H.isNumber(o)&&r.push("expires="+new Date(o).toGMTString()),H.isString(s)&&r.push("path="+s),H.isString(n)&&r.push("domain="+n),i===!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 zie(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Fie(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function h5(e,a){return e&&!zie(a)?Fie(e,a):a}const Rie=ca.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let o;function s(n){let i=n;return e&&(a.setAttribute("href",i),i=a.href),a.setAttribute("href",i),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return o=s(window.location.href),function(n){const i=H.isString(n)?s(n):n;return i.protocol===o.protocol&&i.host===o.host}}():function(){return function(){return!0}}();function Pie(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function Die(e,a){e=e||10;const o=new Array(e),s=new Array(e);let n=0,i=0,r;return a=a!==void 0?a:1e3,function(c){const h=Date.now(),d=s[i];r||(r=h),o[n]=c,s[n]=h;let l=i,m=0;for(;l!==n;)m+=o[l++],l=l%e;if(n=(n+1)%e,n===i&&(i=(i+1)%e),h-r<a)return;const p=d&&h-d;return p?Math.round(m*1e3/p):void 0}}function g5(e,a){let o=0;const s=Die(50,250);return n=>{const i=n.loaded,r=n.lengthComputable?n.total:void 0,c=i-o,h=s(c),d=i<=r;o=i;const l={loaded:i,total:r,progress:r?i/r:void 0,bytes:c,rate:h||void 0,estimated:h&&r&&d?(r-i)/h:void 0,event:n};l[a?"download":"upload"]=!0,e(l)}}const Lie=typeof XMLHttpRequest<"u",jie=Lie&&function(e){return new Promise(function(a,o){let s=e.data;const n=za.from(e.headers).normalize();let{responseType:i,withXSRFToken:r}=e,c;function h(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let d;if(H.isFormData(s)){if(ca.hasStandardBrowserEnv||ca.hasStandardBrowserWebWorkerEnv)n.setContentType(!1);else if((d=n.getContentType())!==!1){const[g,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];n.setContentType([g||"multipart/form-data",...u].join("; "))}}let l=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";n.set("Authorization","Basic "+btoa(g+":"+u))}const m=h5(e.baseURL,e.url);l.open(e.method.toUpperCase(),i5(m,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const g=za.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),u={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:g,config:e,request:l};Oie(function(f){a(f),h()},function(f){o(f),h()},u),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(o(new be("Request aborted",be.ECONNABORTED,e,l)),l=null)},l.onerror=function(){o(new be("Network Error",be.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const u=e.transitional||l5;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),o(new be(g,u.clarifyTimeoutError?be.ETIMEDOUT:be.ECONNABORTED,e,l)),l=null},ca.hasStandardBrowserEnv&&(r&&H.isFunction(r)&&(r=r(e)),r||r!==!1&&Rie(m))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&Tie.read(e.xsrfCookieName);g&&n.set(e.xsrfHeaderName,g)}s===void 0&&n.setContentType(null),"setRequestHeader"in l&&H.forEach(n.toJSON(),function(g,u){l.setRequestHeader(u,g)}),H.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",g5(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",g5(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=g=>{l&&(o(!g||g.type?new pn(null,e,l):g),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const y=Pie(m);if(y&&ca.protocols.indexOf(y)===-1){o(new be("Unsupported protocol "+y+":",be.ERR_BAD_REQUEST,e));return}l.send(s||null)})},Ip={http:mie,xhr:jie};H.forEach(Ip,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const y5=e=>`- ${e}`,vie=e=>H.isFunction(e)||e===null||e===!1,u5={getAdapter:e=>{e=H.isArray(e)?e:[e];const{length:a}=e;let o,s;const n={};for(let i=0;i<a;i++){o=e[i];let r;if(s=o,!vie(o)&&(s=Ip[(r=String(o)).toLowerCase()],s===void 0))throw new be(`Unknown adapter '${r}'`);if(s)break;n[r||"#"+i]=s}if(!s){const i=Object.entries(n).map(([c,h])=>`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let r=a?i.length>1?`since :
|
|
60
60
|
`+i.map(y5).join(`
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
* Vue 3 Carousel 0.3.1
|
|
100
100
|
* (c) 2023
|
|
101
101
|
* @license MIT
|
|
102
|
-
*/const gt={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},kC={itemsToShow:{default:gt.itemsToShow,type:Number},itemsToScroll:{default:gt.itemsToScroll,type:Number},wrapAround:{default:gt.wrapAround,type:Boolean},throttle:{default:gt.throttle,type:Number},snapAlign:{default:gt.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:gt.transition,type:Number},breakpoints:{default:gt.breakpoints,type:Object},autoplay:{default:gt.autoplay,type:Number},pauseAutoplayOnHover:{default:gt.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:gt.mouseDrag,type:Boolean},touchDrag:{default:gt.touchDrag,type:Boolean},dir:{default:gt.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:gt.i18n,type:Object},settings:{default(){return{}},type:Object}};function u8e({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:s,itemsToShow:n=1}=e;if(s)return Math.max(a-1,0);let i;switch(o){case"start":i=a-n;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((n-.5)/2);break;case"center-even":i=a-Math.ceil(n/2);break;default:i=0;break}return Math.max(i,0)}function f8e({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:s,itemsToShow:n=1}=e;let i=0;if(o||n>a)return i;switch(s){case"start":i=0;break;case"end":i=n-1;break;case"center":case"center-odd":i=Math.floor((n-1)/2);break;case"center-even":i=Math.floor((n-2)/2);break;default:i=0;break}return i}function Qg({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function _8e({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:s,wrapAround:n,itemsToShow:i=1}=e;let r=a;switch(s){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return n?r:Qg({val:r,max:o-i,min:0})}function SC(e){return e?e.reduce((a,o)=>{var s;return o.type===t.Fragment?[...a,...SC(o.children)]:((s=o.type)===null||s===void 0?void 0:s.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function ey({val:e,max:a,min:o=0}){return e>a?ey({val:e-(a+1),max:a,min:o}):e<o?ey({val:e+(a+1),max:a,min:o}):e}function b8e(e,a){let o;return a?function(...s){const n=this;o||(e.apply(n,s),o=!0,setTimeout(()=>o=!1,a))}:e}function w8e(e,a){let o;return function(...s){o&&clearTimeout(o),o=setTimeout(()=>{e(...s),o=null},a)}}function C8e(e="",a={}){return Object.entries(a).reduce((o,[s,n])=>o.replace(`{${s}}`,String(n)),e)}var k8e=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},gt))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},C8e(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),S8e=t.defineComponent({name:"Carousel",props:kC,setup(e,{slots:a,emit:o,expose:s}){var n;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},gt));let l=Object.assign({},gt),m;const p=t.ref((n=e.modelValue)!==null&&n!==void 0?n:0),y=t.ref(0),g=t.ref(0),u=t.ref(0),f=t.ref(0);let _,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function w(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),E(l)}function b(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(O=>Number(O)).sort((O,oe)=>+oe-+O);let T=Object.assign({},l);S.some(O=>{const oe=window.matchMedia(`(min-width: ${O}px)`).matches;return oe&&(T=Object.assign(Object.assign({},T),m[O])),oe}),E(T)}function E(S){Object.entries(S).forEach(([T,O])=>d[T]=O)}const x=w8e(()=>{b(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function B(){h.value<=0||(g.value=Math.ceil((h.value-1)/2),u.value=u8e({config:d,slidesCount:h.value}),f.value=f8e({config:d,slidesCount:h.value}),d.wrapAround||(p.value=Qg({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),b(),Le(),window.addEventListener("resize",x,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),_&&clearInterval(_),window.removeEventListener("resize",x,{passive:!0})});let $=!1;const z={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),F=t.ref(!1),ee=t.ref(!1),re=()=>{F.value=!0},Q=()=>{F.value=!1};function C(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||($=S.type==="touchstart",$||S.preventDefault(),!(!$&&S.button!==0||P.value)&&(z.x=$?S.touches[0].clientX:S.clientX,z.y=$?S.touches[0].clientY:S.clientY,document.addEventListener($?"touchmove":"mousemove",N,!0),document.addEventListener($?"touchend":"mouseup",R,!0)))}const N=b8e(S=>{ee.value=!0,A.x=$?S.touches[0].clientX:S.clientX,A.y=$?S.touches[0].clientY:S.clientY;const T=A.x-z.x,O=A.y-z.y;I.y=O,I.x=T},d.throttle);function R(){const S=d.dir==="rtl"?-1:1,T=Math.sign(I.x)*.4,O=Math.round(I.x/c.value+T)*S;if(O&&!$){const oe=Ae=>{Ae.stopPropagation(),window.removeEventListener("click",oe,!0)};window.addEventListener("click",oe,!0)}K(p.value-O),I.x=0,I.y=0,ee.value=!1,document.removeEventListener($?"touchmove":"mousemove",N,!0),document.removeEventListener($?"touchend":"mouseup",R,!0)}function Le(){!d.autoplay||d.autoplay<=0||(_=setInterval(()=>{d.pauseAutoplayOnHover&&F.value||te()},d.autoplay))}function se(){_&&(clearInterval(_),_=null),Le()}const P=t.ref(!1);function K(S){const T=d.wrapAround?S:Qg({val:S,max:u.value,min:f.value});p.value===T||P.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:y.value,slidesCount:h.value}),P.value=!0,y.value=p.value,p.value=T,k=setTimeout(()=>{if(d.wrapAround){const O=ey({val:T,max:u.value,min:0});O!==p.value&&(p.value=O,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:y.value,slidesCount:h.value}),P.value=!1,se()},d.transition))}function te(){K(p.value+d.itemsToScroll)}function ae(){K(p.value-d.itemsToScroll)}const ne={slideTo:K,next:te,prev:ae};t.provide("nav",ne),t.provide("isSliding",P);const ie=t.computed(()=>_8e({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",ie);const ce=t.computed(()=>{const S=d.dir==="rtl"?-1:1,T=ie.value*c.value*S;return{transform:`translateX(${I.x-T}px)`,transition:`${P.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function me(){w(),b(),B(),V(),se()}Object.keys(kC).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],me)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&K(Number(S))}),t.watch(h,B),o("before-init"),w();const xe={config:d,slidesCount:h,slideWidth:c,next:te,prev:ae,slideTo:K,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:g};s({updateBreakpointsConfigs:b,updateSlidesData:B,updateSlideWidth:V,initDefaultConfigs:w,restartCarousel:me,slideTo:K,next:te,prev:ae,nav:ne,data:xe});const Re=a.default||a.slides,Pe=a.addons,ve=t.reactive(xe);return()=>{const S=SC(Re==null?void 0:Re(ve)),T=(Pe==null?void 0:Pe(ve))||[];S.forEach((Oe,Te)=>Oe.props.index=Te);let O=S;if(d.wrapAround){const Oe=S.map((ze,le)=>t.cloneVNode(ze,{index:-S.length+le,isClone:!0,key:`clone-before-${le}`})),Te=S.map((ze,le)=>t.cloneVNode(ze,{index:S.length+le,isClone:!0,key:`clone-after-${le}`}));O=[...Oe,...S,...Te]}r.value=S,h.value=Math.max(S.length,1);const oe=t.h("ol",{class:"carousel__track",style:ce.value,onMousedownCapture:d.mouseDrag?C:null,onTouchstartPassiveCapture:d.touchDrag?C:null},O),Ae=t.h("div",{class:"carousel__viewport"},oe);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":P.value,"is-dragging":ee.value,"is-hover":F.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:re,onMouseleave:Q},[Ae,T,t.h(k8e)])}}}),EC;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(EC||(EC={}));var E8e=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},gt))),s=t.inject("currentSlide",t.ref(0)),n=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===s.value,c=()=>e.index===s.value-1,h=()=>e.index===s.value+1,d=()=>{const l=Math.floor(n.value),m=Math.ceil(n.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const N8e=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},$8e=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),B8e={class:"gsc-carousel"},x8e={key:0},V8e=$8e(()=>t.createElementVNode("div",null,"no hay",-1)),I8e=[V8e],A8e={class:"gsc-carousel__2d__slides"},O8e={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},T8e=["fill"],z8e={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},F8e=["fill"],R8e={class:"gsc-carousel__2d__navigation"},P8e={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D8e=["stroke"],L8e={key:1,class:"gsc-carousel__2d__navigation__pagination"},j8e=["onClick"],v8e={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M8e=["stroke"],H8e={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const s=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const n=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(n,u=>{u&&c.value?(c.value=!1,h(s.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>s.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>s.items,u=>{n.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&n.value){if(s.defaultItemByProp){const f=s.items.findIndex(_=>_[s.defaultItemByProp.propName]===s.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=s.defaultItemByIndex,i.value=u[s.defaultItemByIndex];n.value.slideTo&&n.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){n.value&&n.value.next()}function l(){n.value&&n.value.prev()}function m(){n.value&&n.value.updateSlideWidth()}function p(u){n.value&&n.value.slideTo(u)}function y(u){n.value.slideTo(u)}function g(u){const f=u.slidingToIndex<0?s.items.length-1:u.slidingToIndex===s.items.length?0:u.slidingToIndex;r.value=f,i.value=s.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",B8e,[s.is3d?(t.openBlock(),t.createElementBlock("div",x8e,I8e)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",A8e,[t.createVNode(t.unref(S8e),{ref_key:"carousel2d",ref:n,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:g},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,k)=>(t.openBlock(),t.createBlock(t.unref(E8e),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:_},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=_=>n.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",O8e,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,T8e)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=_=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",z8e,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,F8e)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",R8e,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=_=>l())},[(t.openBlock(),t.createElementBlock("svg",P8e,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:s.arrowsColor},null,8,D8e)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",L8e,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${s.navigationHeight}px`,width:`${r.value===k?s.navigationActiveWidth:s.navigationActiveWidth/2}px`,borderRadius:`${s.navigationBorderRadius}px`,backgroundColor:`${r.value===k?s.navigationActiveColor:s.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:w=>y(k)},null,12,j8e))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=_=>n.value.next())},[(t.openBlock(),t.createElementBlock("svg",v8e,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:s.arrowsColor},null,8,M8e)]))])):t.createCommentVNode("",!0)])],2))]))}},dc=N8e(H8e,[["__scopeId","data-v-dd3cbf69"]]),U8e=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},ty={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))}}},NC=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},$C=ty.setup;ty.setup=$C?(e,a)=>(NC(),$C(e,a)):NC;const G8e=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),W8e=["src"],q8e={key:1,class:"text"},J8e=["src"],X8e={class:"stats"},Z8e=G8e(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),Y8e={class:"numstats"},K8e={class:"leyend"};function Q8e(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",n.status&&o.typeOnOff&&"button-active"]),style:t.normalizeStyle([i.customStyle,n.status&&o.typeOnOff&&i.customActive]),onClick:a[0]||(a[0]=(...r)=>i.btnClick&&i.btnClick(...r))},[o.icon&&o.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,W8e)):t.createCommentVNode("",!0),o.textValue?(t.openBlock(),t.createElementBlock("div",q8e,t.toDisplayString(o.textValue),1)):t.createCommentVNode("",!0),o.icon&&o.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,J8e)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>i.btnClick&&i.btnClick(...r))},[t.createElementVNode("div",X8e,[Z8e,t.createElementVNode("div",Y8e,t.toDisplayString(o.textStat),1)]),t.createElementVNode("div",K8e,t.toDisplayString(o.textCategory),1)])):t.createCommentVNode("",!0)])}const e6e=U8e(ty,[["render",Q8e],["__scopeId","data-v-fb269a1e"]]),t6e={class:"gsc-dropdown__main-container__item-selected"},a6e=["height","width"],o6e=["stroke"],s6e={class:"gsc-dropdown__items-container"},n6e=["onClick"],i6e={key:0,class:"gsc-dropdown__items-footer"},ay={__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"},listItemPadding:{type:String,default:"10px 12px"},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},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}},emits:["input","click-ready","update:modelValue"],setup(e,{emit:a}){const o=e,s=t.ref({}),n=t.ref(null),i=t.ref(o.isMultipleOption?-1:0),r=t.ref(!1);t.watch(()=>o.items,(y,g)=>{if(!o.modelValue&&(!o.onlyFirstTime||!g||!g.length)&&y&&y.length){if(o.defaultItemByProp){const u=o.items.findIndex(f=>f[o.defaultItemByProp.propName]===o.defaultItemByProp.value);u!==-1?(i.value=u,s.value=y[u]):(i.value=0,s.value=y[0])}else s.value=y[o.defaultItemByIndex];a("input",s.value)}},{immediate:!0}),t.watch(()=>o.modelValue,y=>{if(y){const g=o.items.findIndex(u=>typeof y=="object"?JSON.stringify(u)===JSON.stringify(y):u===y);g!==-1&&(i.value=g,s.value=o.items[g],a("update:modelValue",s.value))}},{immediate:!0});const c=t.computed(()=>({height:o.height,width:o.width,backgroundColor:o.backgroundColor,borderRadius:`${o.borderRadius}px`,border:`${o.borderType} ${o.borderWidth}px ${o.borderColor}`,color:o.color,"--hover-background-color":o.hoverBackgroundColor,"--list-item-padding":o.listItemPadding,"--list-background-color":o.listBackgroundColor,"--list-height":o.listHeight,"--list-item-selected-color":o.listItemSelectedColor,"--list-item-selected-background-color":o.listItemSelectedBackgroundColor,"--list-item-color":o.listItemColor,"--list-border-radius":`${o.listBorderRadius}`,"--list-border-color":o.listBorderColor,"--list-width":o.isListSameWidth?o.width:"fit-content","--list-border-width":`${o.listBorderWidth}px`,"--footer-border":`${o.footerBorderWidth}px solid ${o.footerBorderColor}`,"--dropdown-opacity":o.isDisabled?"0.5":"1","--dropdown-cursor":o.isDisabled?"not-allowed":"pointer","--dropdown-font-size":o.fontSize?o.fontSize:"14px"})),h=t.computed(()=>({height:`${o.arrowHeight}px`,width:`${o.arrowWidth}px`}));function d(){o.isDisabled||(r.value=!r.value)}function l(y){n.value&&!n.value.contains(y.target)&&(r.value=!1)}function m(y,g){o.isMultipleOption?i.value=-1:(i.value=g,r.value=!1),s.value=y,a("input",s.value),a("update:modelValue",s.value)}function p(){r.value=!1,a("click-ready")}return t.onMounted(()=>{document.addEventListener("click",l)}),t.onBeforeMount(()=>{document.removeEventListener("click",l)}),(y,g)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"dropDown",ref:n,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",t6e,[t.renderSlot(y.$slots,"default",{selectedItem:s.value})]),t.createElementVNode("div",{class:t.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:t.normalizeStyle(h.value)},[(t.openBlock(),t.createElementBlock("svg",{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,o6e)],8,a6e))],6)],4),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",s6e,[t.createElementVNode("div",null,[t.createElementVNode("div",{class:"gsc-dropdown__items",style:t.normalizeStyle({"margin-top":`${o.borderWidth}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(u,f)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["gsc-dropdown__items__item",{selected:f===i.value}]),key:f,onClick:_=>m(u,f)},[t.renderSlot(y.$slots,"availableItem",{item:u})],10,n6e))),128))],4),e.isFooterVisible?(t.openBlock(),t.createElementBlock("div",i6e,[t.createVNode(t.unref(e6e),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:p})])):t.createCommentVNode("",!0)])],512),[[t.vShow,r.value]])]),_:3})],4))}};let BC=null;const r6e={components:{LineupField:O3e,LineupRecentItem:U3e,LineupMainHeader:hCe,LineupFilter:FCe,MatchDetails:fC,GscSwitchComponent:Jn,GSCCarousel:dc,GSCDropdown:ay},props:{game:{type:Object,default:()=>{}},selectedOption:{type:String,default:"Recientes"},componentWidth:{type:Number,default:767,validator(e){return e>0}}},data(){return{selectedIndexOption:0,rivalHomeImg:"",rivalVisitImg:"",rivalHomeAbrev:"",updatehistoricos:0,rivalVisitAbrev:"",selectOptMenuheader:"Recientes",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",tokenPremium:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g",urlGames:"https://iwxfzq6e2h.execute-api.us-west-2.amazonaws.com/prod/v2/statisticsLeagueBySeason/",url:"https://tj4cepyjc4.execute-api.us-west-2.amazonaws.com/prod/lineups/",urlMXM:"https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",retries:3,teamActive:"home",subsActive:!1,playersHome:[],gamesContainerWidth:0,playersAway:[],subsTitle:!1,uniformHome:"",uniformHomeG:"",uniformAway:"",uniformAwayG:"",dataPlayersHome:[],dataPlayersAway:[],homeTeamLogo:"",awayTeamLogo:"",homeTeamName:"",awayTeamName:"",homeTeamAbrev:"",awayTeamAbrev:"",home_team_id:0,updateComponentAway:0,away_team_id:0,substitutionModal:{min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},isInsideClick:!1,homeTeam:{},headerInfoHistoricItemGame:{},visitingTeam:{},gameForAnalysis:{},movil:!1,auxProbablesIDGameHome:0,auxProbablesIDGameAway:0,positions:[{name:"Portero"},{name:"Defensa central"},{name:"Lateral por izquierda"},{name:"Lateral por derecha"},{name:"Volante por izquierda"},{name:"Volante por derecha"},{name:"Volante defensivo"},{name:"Volante ofensivo"},{name:"Delantero"},{name:"Desconocida"}],vDeleteFilter:!1,gameInfoheader:{},gamesHistoric:[],gamesRecientes:[],matchdaysPerTeam:[],lastGetGame:0,probablyTeam:{acronym:"NEX",img:k3e},localDetails:[],postmatchDescription:"Clausura 2018 I JOR 5 I CHI - ATL 12",showDetails:!1,foreignDetails:[],players:[],filterObject:{selectedFilterResults:["win","draw","lose"],selectedFilterTeam:["visit","local"]},updateCarouselGames:0,teamSelect:"",matchdaysFiltersUpdate:[],gamesFiltersUpdate:[]}},computed:{matchdaysFinal(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);return e},gameRecientesFilter(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);return e},matchHomeProbables(){return this.matchdaysPerTeam[this.gameInfoheader.home_team_abbreviation]},matchAwayProbables(){return this.matchdaysPerTeam[this.gameInfoheader.home_team_abbreviation]},sizeBrowser(){return this.gamesContainerWidth},numPlayer(){return Number(this.playersAway.length)+Number(this.playersHome.length)},benchFillHome(){return this.playersHome.length<this.playersAway.length?this.playersAway.length-this.playersHome.length:0},benchFillAway(){return this.playersAway.length<this.playersHome.length?this.playersHome.length-this.playersAway.length:0},mobileClass(){return this.calendarResizeObserver<768?"break-point-3":""}},async mounted(){if(document.addEventListener("click",this.handleOutsideClick),setTimeout(()=>{this.setUpResizeObserver()},500),this.game||this.$route.params.gameId)try{this.cleaneData(),this.getLineUp(this.game.game_id),await this.getHeaderInfo(this.game),this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter()}catch(e){throw new Error(e)}},beforeDestroy(){document.removeEventListener("click",this.handleOutsideClick)},watch:{selectedOption:{immediate:!1,async handler(e){this.cleaneData(),this.auxProbablesIDGameHome=0,this.auxProbablesIDGameAway=0,e==="Postmatch"&&await this.getLineUp(this.game.game_id),e==="Probables"&&await this.getHeaderInfo(this.game),e==="Recientes"&&(this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter(),await this.getLineUp(this.gameRecientesFilter[0].id)),e==="Historicos"&&(this.updatehistoricos+=1,this.gamesHistoric&&this.gamesHistoric.length>0&&this.gamesHistoric[0]&&this.gamesHistoric[0].game&&this.getLineUp(this.gamesHistoric[0].game))}},"$socket.connected":{immediate:!0,handler(e){e&&this.getDataSocket()}},game:{immediate:!0,handler:async function(e){try{e!==null&&e!==""&&typeof e>"u"&&(this.cleaneData(),await this.gameDataInfo(e),await this.getHeaderInfo(e),this.selectedOption=="Recientes"&&(this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter(),await this.getLineUp(this.gameRecientesFilter[0].id)),this.selectedOption=="Historicos"&&(this.updatehistoricos+=1,this.gamesHistoric&&this.gamesHistoric.length>0&&this.gamesHistoric[0]&&this.gamesHistoric[0].game&&this.getLineUp(this.gamesHistoric[0].game)))}catch(a){throw new Error(a)}}}},methods:{clickOnDeleteFilter(){this.vDeleteFilter=!0,setTimeout(()=>{this.vDeleteFilter=!1},200)},clickready(){},handleInsideClick(){this.isInsideClick=!0},handleOutsideClick(e){this.$refs.targetElement&&!this.$refs.targetElement.contains(e.target)&&(this.isInsideClick=!1)},remplazarMxJor(e){return e.replace("M","JOR ")},changeSwitchRadio(e){typeof e!="object"&&(this.teamSelect=e,this.updateCarouselGames+=1,this.matchFilter())},matchFilter(){var e=[],a=[];if(Object.keys(this.filterObject).length>0){if(Object.keys(this.filterObject.selectedFilterTeam).length!=2)for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)this.filterObject.selectedFilterTeam[0]=="local"?this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect&&(e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_match_result}),a.push(this.gamesRecientes[this.teamSelect][o])):this.gamesRecientes[this.teamSelect][o].away_team_abbreviation==this.teamSelect&&(e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o]));else if(this.gamesRecientes[this.teamSelect])for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gamesRecientes[this.teamSelect][o].home_match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o])}else if(this.gamesRecientes[this.teamSelect])for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)e.push({name:this.getRound(this.gamesRecientes[this.teamSelect][o].matchday_abbreviation),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gamesRecientes[this.teamSelect][o].home_match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o]);this.gamesFiltersUpdate=a,this.matchdaysFiltersUpdate=e},changeFiltersModal(e){this.filterObject=e,this.matchFilter()},changeDropdownVisit(e){if(this.auxProbablesIDGameAway!=e.id){this.auxProbablesIDGameAway=e.id;const a=this.gamesRecientes[this.gameInfoheader.away_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalVisitAbrev=this.gameInfoheader.away_team_abbreviation==this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation?this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].away_team_abbreviation:this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation,this.rivalVisitImg=this.gameInfoheader.away_team_abbreviation==this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].away_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team+".png",this.cleaneDataProbablesAway(),this.getLineupDataProbablesAway(this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].id)}},changeDropdownLocal(e){if(this.auxProbablesIDGameHome!=e.id){this.auxProbablesIDGameHome=e.id;const a=this.gamesRecientes[this.gameInfoheader.home_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalHomeAbrev=this.gameInfoheader.home_team_abbreviation==this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation?this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].home_team_abbreviation:this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation,this.rivalHomeImg=this.gameInfoheader.home_team_abbreviation==this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].home_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team+".png",this.cleaneDataProbablesHome(),this.getLineupDataProbablesHome(this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].id)}},async getLineupProbables(e){var a={season_id:e.season_id,game_id:e.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id},async changeCarouselItemH(e){this.headerInfoHistoricItemGame=e.selectedItem.objgame;var a={season_id:e.selectedItem.season,game_id:e.selectedItem.game};this.cleaneData(),this.getLineUp(a.game_id)},changeDropdown(e){const a=this.gamesRecientes[this.teamSelect].findIndex(o=>o.matchday_id==e.id);a!=-1&&(this.selectedIndexOption=a)},getMinutesData(e){this.localDetails=[],this.foreignDetails=[];for(let a=0;a<e.home_goals_minutes.length;a++)this.localDetails.push({description:e.home_goals_minutes[a],icon:"goal"});for(let a=0;a<e.visiting_goals_minutes.length;a++)this.foreignDetails.push({description:e.visiting_goals_minutes[a],icon:"goal"});for(let a=0;a<e.home_yellow_cards_minutes.length;a++)this.localDetails.push({description:e.home_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.away_yellow_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.home_red_cards_minutes.length;a++)this.localDetails.push({description:e.home_red_cards_minutes[a],icon:"red-card"});for(let a=0;a<e.away_red_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_red_cards_minutes[a],icon:"red-card"})},async changeCarouselItem(e){this.getMinutesData(e.selectedItem.minutes);var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id,this.selectedIndexOption=e.selectedItemIndex},async changeCarouselItemRecent(e){if(e.selectedItem){var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id}},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},getRoundH(e){let a=e.replace("M","J");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},async getHeaderInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/seasons/"+e.season_id+"/games/"+e.game_id+"/lineups");if(this.gameInfoheader=a.data.game,a.data.games_historic&&a.data.games_historic.length>0)for(let o=0;o<a.data.games_historic.length;o++)this.gamesHistoric.push({objgame:a.data.games_historic[o],game:a.data.games_historic[o].id,season:a.data.games_historic[o].season_id,description:a.data.games_historic[o].season_name+" | "+this.getRoundH(a.data.games_historic[o].matchday_abbreviation)+" | "+a.data.games_historic[o].home_team_abbreviation+" - "+a.data.games_historic[o].away_team_abbreviation});if(this.gamesRecientes[a.data.game.home_team_abbreviation]=[],this.gamesRecientes[a.data.game.away_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.home_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.away_team_abbreviation]=[],a.data.home_team_games_recent&&a.data.home_team_games_recent.length>0)for(let o=0;o<a.data.home_team_games_recent.length;o++)this.gamesRecientes[a.data.game.home_team_abbreviation].push(a.data.home_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.home_team_abbreviation].push({name:this.getRound(a.data.home_team_games_recent[o].matchday_abbreviation),id:a.data.home_team_games_recent[o].matchday_id});if(a.data.away_team_games_recent&&a.data.away_team_games_recent.length>0)for(let o=0;o<a.data.away_team_games_recent.length;o++)this.gamesRecientes[a.data.game.away_team_abbreviation].push(a.data.away_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.away_team_abbreviation].push({name:a.data.away_team_games_recent[o].matchday_abbreviation.replace("M","Jornada "),id:a.data.away_team_games_recent[o].matchday_id})},clickOnSelectOption(e){this.selectOptMenuheader=e},async gameDataInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlGames+e.season_id+"/games/"+e.game_id);this.homeTeam=a.data.teams[0],this.visitingTeam=a.data.teams[1];const o=a.data.games.find(s=>s.game_id===Number(s.game_id));this.gameForAnalysis=o},cleaneDataProbablesHome(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.dataPlayersHome=[],this.players=this.players.filter(e=>e.team_id!==this.gameInfoheader.home_team),this.homeTeamLogo="",this.homeTeamName="",this.homeTeamAbrev="",this.home_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneDataProbablesAway(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformAway="",this.uniformAwayG="",this.dataPlayersAway=[],this.awayTeamLogo="",this.awayTeamName="",this.players=this.players.filter(e=>e.team_id!==this.gameInfoheader.away_team),this.awayTeamAbrev="",this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneData(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.uniformAway="",this.uniformAwayG="",this.dataPlayersHome=[],this.dataPlayersAway=[],this.homeTeamLogo="",this.awayTeamLogo="",this.homeTeamName="",this.awayTeamName="",this.homeTeamAbrev="",this.awayTeamAbrev="",this.home_team_id=0,this.players=[],this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},getDataSocket(){hs("lineups.game."+this.game.game_id),hs("mxm.game."+this.game.game_id),hs("lineups.bench.game."+this.game.game_id)},resetPlayUpdate(e,a,o,s){if(e=="Substitution")if(a=="Home"){var n=this.playersHome[o].substitutionDataID.split("@"),i=this.playersHome.findIndex(l=>l.playerId==n[1]),r=this.playersHome.findIndex(l=>l.playerId==n[2]);i!=-1&&(this.playersHome[i].substitutionOut=!1,this.playersHome[i].substitutionMin="",this.playersHome[i].substitutionDataID="",this.playersHome[i].idSubstitution=0),r!=-1&&(this.playersHome[r].substitutionIn=!1,this.playersHome[r].substitutionMin="",this.playersHome[r].substitutionDataID="",this.playersHome[r].idSubstitution=0)}else{var c=this.playersAway[o].substitutionDataID.split("@"),h=this.playersAway.findIndex(l=>l.playerId==c[1]),d=this.playersAway.findIndex(l=>l.playerId==c[2]);i!=-1&&(this.playersAway[h].substitutionOut=!1,this.playersAway[h].substitutionMin="",this.playersAway[h].substitutionDataID="",this.playersAway[h].idSubstitution=0),d!=-1&&(this.playersAway[d].substitutionIn=!1,this.playersAway[d].substitutionMin="",this.playersAway[d].substitutionDataID="",this.playersAway[d].idSubstitution=0)}e=="YellowCard"&&(a=="Home"?(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0):(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0)),e=="RedCard"&&(a=="Home"?(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0):(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)),e=="Goals"&&(a=="Home"?(this.playersHome[s].goals=this.playersHome[s].goals-1,this.playersHome[s].goalsMin.splice(o,1),this.playersHome[s].idsGoals.splice(o,1)):(this.playersAway[s].goals=this.playersAway[s].goals-1,this.playersAway[s].goalsMin.splice(o,1),this.playersAway[s].idsGoals.splice(o,1)))},setUpResizeObserver(){if(window.ResizeObserver)BC=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),BC.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getMXM(e){try{const y=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlMXM+e);for(let g=0;g<y.data.plays.length;g++){if(y.data.plays[g].event_type_id==3){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var a=y.data.plays[g].player_id.split("@"),o=this.playersHome.findIndex(u=>u.playerId==a[0]),s=this.playersHome.findIndex(u=>u.playerId==a[1]);o!=-1&&(this.playersHome[o].idSubstitution=y.data.plays[g].play_id,this.playersHome[o].substitutionOut=!0,this.playersHome[o].substitutionMin=y.data.plays[g].minute,this.playersHome[o].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id),s!=-1&&(this.playersHome[s].idSubstitution=y.data.plays[g].play_id,this.playersHome[s].substitutionIn=!0,this.playersHome[s].substitutionMin=y.data.plays[g].minute,this.playersHome[s].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id)}}else if(this.playersAway.length>0){var n=y.data.plays[g].player_id.split("@"),i=this.playersAway.findIndex(u=>u.playerId==n[0]),r=this.playersAway.findIndex(u=>u.playerId==n[1]);i!=-1&&(this.playersAway[i].idSubstitution=y.data.plays[g].play_id,this.playersAway[i].substitutionOut=!0,this.playersAway[i].substitutionMin=y.data.plays[g].minute,this.playersAway[i].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id),r!=-1&&(this.playersAway[r].idSubstitution=y.data.plays[g].play_id,this.playersAway[r].substitutionIn=!0,this.playersAway[r].substitutionMin=y.data.plays[g].minute,this.playersAway[r].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id)}}if(y.data.plays[g].event_type_id==1){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var c=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);c!=-1&&(this.playersHome[c].goals+=1,this.playersHome[c].goalsMin.push(y.data.plays[g].minute),this.playersHome[c].idsGoals.push(y.data.plays[g].play_id))}}else if(this.playersAway.length>0){var h=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);h!=-1&&(this.playersAway[h].goals+=1,this.playersAway[h].goalsMin.push(y.data.plays[g].minute),this.playersAway[h].idsGoals.push(y.data.plays[g].play_id))}}if(y.data.plays[g].event_type_id==2){if(y.data.plays[g].category_id==8){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var d=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);d!=-1&&(this.playersHome[d].yellowcards+=1,this.playersHome[d].yellowcardsMin=y.data.plays[g].minute,this.playersHome[d].idyellowcards=y.data.plays[g].play_id)}}else if(this.playersAway.length>0){var l=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);l!=-1&&(this.playersAway[l].yellowcards+=1,this.playersAway[l].yellowcardsMin=y.data.plays[g].minute,this.playersAway[l].idyellowcards=y.data.plays[g].play_id)}}if(y.data.plays[g].category_id==9){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var m=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);m!=-1&&(this.playersHome[m].redcards+=1,this.playersHome[m].redcardsMin=y.data.plays[g].minute,this.playersHome[m].idredcards=y.data.plays[g].play_id)}}else if(this.playersAway.length>0){var p=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);p!=-1&&(this.playersAway[p].redcards+=1,this.playersAway[p].redcardsMin=y.data.plays[g].minute,this.playersAway[p].idredcards=y.data.plays[g].play_id)}}}}}catch(y){return Promise.reject(y)}},async getLineupDataProbablesAway(e){try{const h=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!h||!h.data)throw new Error("There is not lineups for this game.");if(h.data.home_team.team_id==this.gameInfoheader.away_team){for(let d=0;d<h.data.home_team.starting_lineup[0].lineup.length;d++){this.away_team_id=h.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.home_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.home_team.team_id+"_g.svg","away",0);var a=h.data.home_team.starting_lineup[0].lineup[d].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=h.data.home_team.starting_lineup[0].lineup[d].x;r=Math.abs(r-100);var c=100-(100-r)*50/100;c=c*.9,this.players.push({team_id:h.data.home_team.team_id,number:h.data.home_team.starting_lineup[0].lineup[d].jersey_number,isFirstTeam:!1,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+h.data.home_team.starting_lineup[0].lineup[d].player_id+".png",posX:c+7,posY:h.data.home_team.starting_lineup[0].lineup[d].y}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+h.data.home_team.team_id+".png"}this.playersAway.sort((d,l)=>d.position_id>l.position_id?1:l.position_id>d.position_id?-1:0)}if(h.data.away_team.team_id==this.gameInfoheader.away_team)for(let d=0;d<h.data.away_team.starting_lineup[0].lineup.length;d++){this.away_team_id=h.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.away_team.team_id+"_g.svg","away",0);var a=h.data.away_team.starting_lineup[0].lineup[d].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=h.data.away_team.starting_lineup[0].lineup[d].x,c=100-(100-r)*50/100;c=c*.9,this.players.push({team_id:h.data.away_team.team_id,number:h.data.away_team.starting_lineup[0].lineup[d].jersey_number,isFirstTeam:!1,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+h.data.away_team.starting_lineup[0].lineup[d].player_id+".png",posX:100-(100-h.data.away_team.starting_lineup[0].lineup[d].x)*50/100,posY:h.data.away_team.starting_lineup[0].lineup[d].y}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+h.data.away_team.team_id+".png"}}catch(h){return Promise.reject(h)}},async getLineupDataProbablesHome(e){try{const l=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!l||!l.data)throw new Error("There is not lineups for this game.");if(l.data.home_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=l.data.home_team.players,l.data.home_team.starting_lineup[0].lineup.sort((m,p)=>m.position_id>p.position_id?1:p.position_id>m.position_id?-1:0);for(let m=0;m<l.data.home_team.starting_lineup[0].lineup.length;m++){this.home_team_id=l.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.home_team.team_id+"_g.svg","home",0);var a=l.data.home_team.starting_lineup[0].lineup[m].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=l.data.home_team.starting_lineup[0].lineup[m].x,c=r*50/100;this.players.push({team_id:l.data.home_team.team_id,number:l.data.home_team.starting_lineup[0].lineup[m].jersey_number,isFirstTeam:!0,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+l.data.home_team.starting_lineup[0].lineup[m].player_id+".png",posX:l.data.home_team.starting_lineup[0].lineup[m].x*50/100,posY:l.data.home_team.starting_lineup[0].lineup[m].y}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+l.data.home_team.team_id+".png"}}if(l.data.away_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=l.data.away_team.players,l.data.away_team.starting_lineup[0].lineup.sort((m,p)=>m.position_id>p.position_id?1:p.position_id>m.position_id?-1:0);for(let m=0;m<l.data.away_team.starting_lineup[0].lineup.length;m++){this.home_team_id=l.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.away_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.away_team.team_id+"_g.svg","home",0);var a=l.data.away_team.starting_lineup[0].lineup[m].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var h=l.data.away_team.starting_lineup[0].lineup[m].x;h=Math.abs(h-100);var c=h*50/100,d=l.data.away_team.starting_lineup[0].lineup[m].y;d=Math.abs(d-100),this.players.push({team_id:l.data.away_team.team_id,number:l.data.away_team.starting_lineup[0].lineup[m].jersey_number,isFirstTeam:!0,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+l.data.away_team.starting_lineup[0].lineup[m].player_id+".png",posX:c-2,posY:d-9}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+l.data.away_team.team_id+".png"}}}catch(l){return Promise.reject(l)}},async getLineUp(e){if(mC(),!this.playersHome.length)try{const C=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!C||!C.data)throw new Error("There is not lineups for this game.");this.players=[],this.dataPlayersHome=C.data.home_team.players,this.dataPlayersAway=C.data.away_team.players,C.data.home_team.starting_lineup[0].lineup.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0);for(let N=0;N<C.data.home_team.starting_lineup[0].lineup.length;N++){this.home_team_id=C.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.home_team.team_id+"_g.svg","home",0);var a=C.data.home_team.starting_lineup[0].lineup[N].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=C.data.home_team.starting_lineup[0].lineup[N].x,h=c*50/100,d=C.data.home_team.players.findIndex(R=>R.player_id==C.data.home_team.starting_lineup[0].lineup[N].player_id);this.players.push({number:C.data.home_team.starting_lineup[0].lineup[N].jersey_number,isFirstTeam:!0,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.starting_lineup[0].lineup[N].player_id+".png",posX:C.data.home_team.starting_lineup[0].lineup[N].x*50/100,posY:C.data.home_team.starting_lineup[0].lineup[N].y}),this.playersHome.push({played:!0,name:C.data.home_team.starting_lineup[0].lineup[N].player_name,position:this.positions[C.data.home_team.players[d].position_id-1].name,position_id:C.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.starting_lineup[0].lineup[N].player_id+".png",nationality:C.data.home_team.players[d].nationality?C.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:C.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.home_team.starting_lineup[0].lineup[N].jersey_number,positionX:C.data.home_team.starting_lineup[0].lineup[N].y-13,positionY:h*.9,positionXOrigin:C.data.home_team.starting_lineup[0].lineup[N].y-17,positionYOrigin:C.data.home_team.starting_lineup[0].lineup[N].x-2,playerId:C.data.home_team.starting_lineup[0].lineup[N].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:C.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png"}if(this.playersHome.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0),C.data.home_team.bench){for(let N=0;N<C.data.home_team.bench.length;N++){this.subsTitle=!0;var l=C.data.home_team.bench[N].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=C.data.home_team.players.findIndex(R=>R.player_id==C.data.home_team.bench[N].playerID);this.playersHome.push({played:!1,name:C.data.home_team.bench[N].playerName,position:f!=-1?this.positions[C.data.home_team.players[f].position_id-1].name:"",position_id:C.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.bench[N].playerID+".png",nationality:f!=-1&&C.data.home_team.players[f].nationality?C.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?C.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.home_team.bench[N].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:C.data.home_team.bench[N].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:C.data.home_team.team_id})}this.playersHome.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0)}for(let N=0;N<C.data.away_team.starting_lineup[0].lineup.length;N++){this.away_team_id=C.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.away_team.team_id+"_g.svg","away",0);var _=C.data.away_team.starting_lineup[0].lineup[N].player_name.split(","),k=_[0].split(" "),w=_[1].trim().split(" "),b="";k.length==2||k.length==1?k[0].length<4?b=k[0]+" "+k[1]:b=k[0]:k.length==3?b=k[0]+" "+k[1]:k.length==4&&(b=k[1]+" "+k[2]+" "+k[3]);var E=w[s.length-1]!=""?w[w.length-1].charAt(0):w[w.length-2]?w[w.length-2].charAt(0):"";b=b.replace(",","");var x=E+". "+b,V=C.data.away_team.starting_lineup[0].lineup[N].x,B=100-(100-V)*50/100;B=B*.9;var $=C.data.away_team.players.findIndex(R=>R.player_id==C.data.away_team.starting_lineup[0].lineup[N].player_id);this.players.push({number:C.data.away_team.starting_lineup[0].lineup[N].jersey_number,isFirstTeam:!1,name:E+". "+b,photo:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.starting_lineup[0].lineup[N].player_id+".png",posX:100-(100-C.data.away_team.starting_lineup[0].lineup[N].x)*50/100,posY:C.data.away_team.starting_lineup[0].lineup[N].y}),this.playersAway.push({played:!0,name:C.data.away_team.starting_lineup[0].lineup[N].player_name,position:this.positions[C.data.away_team.players[$].position_id-1].name,position_id:C.data.away_team.players[$].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.starting_lineup[0].lineup[N].player_id+".png",nationality:C.data.away_team.players[$].nationality?C.data.away_team.players[$].nationality.substring(0,3):"",imgNationality:C.data.away_team.players[$].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:x,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.away_team.starting_lineup[0].lineup[N].jersey_number,positionX:C.data.away_team.starting_lineup[0].lineup[N].y-13,positionY:B,positionXOrigin:C.data.away_team.starting_lineup[0].lineup[N].y-17,positionYOrigin:C.data.away_team.starting_lineup[0].lineup[N].x-7,playerId:C.data.away_team.starting_lineup[0].lineup[N].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:C.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png"}if(this.playersAway.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0),C.data.away_team.bench){for(let N=0;N<C.data.away_team.bench.length;N++){this.subsTitle=!0;var z=C.data.away_team.bench[N].playerName.split(","),A=z[0].split(" "),I=z[1].trim().split(" "),F="";A.length==2||A.length==1?A[0].length<4?F=A[0]+" "+A[1]:F=A[0]:A.length==3?F=A[0]+" "+A[1]:A.length==4&&(F=A[1]+" "+A[2]+" "+A[3]);var ee=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";F=F.replace(",","");var re=ee+". "+F,Q=C.data.away_team.players.findIndex(R=>R.player_id==C.data.away_team.bench[N].playerID);this.playersAway.push({played:!1,name:C.data.away_team.bench[N].playerName,position:Q!=-1?this.positions[C.data.away_team.players[Q].position_id-1].name:"",position_id:C.data.away_team.players[Q].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.bench[N].playerID+".png",nationality:Q!=-1&&C.data.away_team.players[Q].nationality?C.data.away_team.players[Q].nationality.substring(0,3):"",imgNationality:Q!=-1?C.data.away_team.players[Q].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:re,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.away_team.bench[N].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:C.data.away_team.bench[N].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:C.data.away_team.team_id})}this.playersAway.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0)}this.game.prematch||this.getMXM(this.game.game_id)}catch(C){return Promise.reject(C)}},closeChange(){this.subsActive=!1},imageExists(e,a,o){var s=new XMLHttpRequest,n=0;a=="away"?o==1?this.uniformAway==""&&(s.open("HEAD",e,!1),s.send(),n=1):this.uniformAwayG==""&&(s.open("HEAD",e,!1),s.send(),n=1):o==1?this.uniformHome==""&&(s.open("HEAD",e,!1),s.send(),n=1):this.uniformHomeG==""&&(s.open("HEAD",e,!1),s.send(),n=1),n==1&&(s.status==200?a=="away"?o==1?this.uniformAway="url("+e+")":this.uniformAwayG="url("+e+")":o==1?this.uniformHome="url("+e+")":this.uniformHomeG="url("+e+")":a=="away"?o==1?this.uniformAway="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita.svg)":this.uniformAwayG="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita_g.svg)":o==1?this.uniformHome="url(https://az755631.vo.msecnd.net/jersey-teams/default_local.svg)":this.uniformHomeG="url(https://az755631.vo.msecnd.net/jersey-teams/default_local_g.svg)")},viewChange(e){var a=e.split("@");if(a[0]==this.home_team_id){var o=this.playersHome.findIndex(r=>r.playerId==a[1]),s=this.playersHome.findIndex(r=>r.playerId==a[2]);o!=-1?(this.substitutionModal.min=this.playersHome[o].substitutionMin,this.substitutionModal.in.name=this.playersHome[o].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersHome[o].imgTeam,this.substitutionModal.in.shirt_number=this.playersHome[o].shirt_number,this.substitutionModal.in.playerImg=this.playersHome[o].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersHome[o].imgNationality):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),s!=-1?(this.substitutionModal.out.name=this.playersHome[s].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersHome[s].imgTeam,this.substitutionModal.out.playerImg=this.playersHome[s].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersHome[s].imgNationality,this.substitutionModal.out.shirt_number=this.playersHome[s].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}else{var n=this.playersAway.findIndex(r=>r.playerId==a[1]),i=this.playersAway.findIndex(r=>r.playerId==a[2]);n!=-1?(this.substitutionModal.min=this.playersAway[n].substitutionMin,this.substitutionModal.in.name=this.playersAway[n].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersAway[n].imgTeam,this.substitutionModal.in.playerImg=this.playersAway[n].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersAway[n].imgNationality,this.substitutionModal.in.shirt_number=this.playersAway[n].shirt_number):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),i!=-1?(this.substitutionModal.out.name=this.playersAway[i].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersAway[i].imgTeam,this.substitutionModal.out.playerImg=this.playersAway[i].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersAway[i].imgNationality,this.substitutionModal.out.shirt_number=this.playersAway[i].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}this.subsActive=!0},viewLineupTeam(e){this.teamActive=e}}},Xn=e=>(t.pushScopeId("data-v-4880f212"),e=e(),t.popScopeId(),e),l6e={class:"lineup__header",ref:"gamesContainer"},c6e=Xn(()=>t.createElementVNode("h2",null,"Alineaciones",-1)),d6e={key:0,style:{width:"325px"}},m6e={class:"lineup__card"},p6e={key:0},h6e={key:1},g6e={key:2},y6e={key:3,class:"lineup__card-body"},u6e={key:0,class:"lineup__selector",style:{margin:"auto"}},f6e={class:"lineup__selector-item"},_6e={key:4,class:"lineup__card-body",style:{"flex-flow":"column"}},b6e={class:"lineup__filters"},w6e={class:"selector-tournaments"},C6e={class:"lineup__items-carousel"},k6e=Xn(()=>t.createElementVNode("div",null,null,-1)),S6e={class:"lineup__items-center"},E6e={class:"lineup__selector-recientes"},N6e={key:1,class:"containernofoundsearchrecientes"},$6e=Xn(()=>t.createElementVNode("div",{class:"text-containernofoundsearchrecientes"},[t.createTextVNode("No hay resultados con los criterios, "),t.createElementVNode("br"),t.createTextVNode(" de búsqueda aplicados.")],-1)),B6e={key:0,class:"lineup__selector-recientes",style:{margin:"auto",width:"100%"}},x6e={key:5,class:"lineup__card-body space-between"},V6e={class:"lineup__card-body__probables"},I6e={class:"selector-tournaments"},A6e=Xn(()=>t.createElementVNode("div",{class:"lineup__card-body__team-vs"},"vs",-1)),O6e=["src"],T6e={class:"lineup__card-body__probables"},z6e=["src"],F6e=Xn(()=>t.createElementVNode("div",{class:"lineup__card-body__team-vs"},"vs",-1)),R6e={class:"selector-tournaments"},P6e={key:6,class:"lineup__card-body space-between"},D6e={class:"postmatch__matchday"};function L6e(e,a,o,s,n,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("LineupMainHeader"),h=t.resolveComponent("GSCCarousel"),d=t.resolveComponent("LineupFilter"),l=t.resolveComponent("GSCDropdown"),m=t.resolveComponent("LineupRecentItem"),p=t.resolveComponent("MatchDetails"),y=t.resolveComponent("LineupField");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["lineup",{"break-point-3":i.mobileClass}])},[t.createElementVNode("div",l6e,[c6e,o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock("div",d6e,[(n.gameInfoheader.game_status==0||n.gameInfoheader.game_status==4)&&i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.selectedOption,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:a[0]||(a[0]=g=>o.selectedOption=g)},null,8,["selectedOption"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],512),t.createElementVNode("div",m6e,[o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.selectedOption==="Probables"?(t.openBlock(),t.createElementBlock("h3",p6e,"Alineación utilizada este torneo en:")):o.selectedOption==="Recientes"?(t.openBlock(),t.createElementBlock("h3",h6e,"Alineaciones recientes de:")):(t.openBlock(),t.createElementBlock("h3",g6e,"Alineación utilizada en:"))],64)):t.createCommentVNode("",!0),o.selectedOption==="Historicos"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(n.headerInfoHistoricItemGame).length>0?(t.openBlock(),t.createBlock(c,{key:0,localTeam:{acronym:n.headerInfoHistoricItemGame.home_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+n.headerInfoHistoricItemGame.home_team+".png"},visitTeam:{acronym:n.headerInfoHistoricItemGame.away_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+n.headerInfoHistoricItemGame.away_team+".png"},probablyTeamHome:{acronym:n.rivalHomeAbrev,img:n.rivalHomeImg},probablyTeamAway:{acronym:n.rivalVisitAbrev,img:n.rivalVisitImg},score:n.headerInfoHistoricItemGame.score[0]+" - "+n.headerInfoHistoricItemGame.score[1],onChange:i.changeSwitchRadio,type:o.selectedOption},null,8,["localTeam","visitTeam","probablyTeamHome","probablyTeamAway","score","onChange","type"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[Object.keys(n.gameInfoheader).length>0?(t.openBlock(),t.createBlock(c,{key:0,localTeam:{acronym:n.gameInfoheader.home_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+n.gameInfoheader.home_team+".png"},visitTeam:{acronym:n.gameInfoheader.away_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+n.gameInfoheader.away_team+".png"},probablyTeamHome:{acronym:n.rivalHomeAbrev,img:n.rivalHomeImg},probablyTeamAway:{acronym:n.rivalVisitAbrev,img:n.rivalVisitImg},score:n.gameInfoheader.score[0]+" - "+n.gameInfoheader.score[1],onChange:i.changeSwitchRadio,type:o.selectedOption},null,8,["localTeam","visitTeam","probablyTeamHome","probablyTeamAway","score","onChange","type"])):t.createCommentVNode("",!0)],64)),o.selectedOption==="Historicos"?(t.openBlock(),t.createElementBlock("div",y6e,[o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock("div",u6e,[n.gamesHistoric.length>0?(t.openBlock(),t.createBlock(h,{key:n.updatehistoricos,onInput:i.changeCarouselItemH,items:n.gamesHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:g})=>[t.createElementVNode("div",f6e,t.toDisplayString(g.description),1)]),_:1},8,["onInput","items"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])):o.selectedOption==="Recientes"?(t.openBlock(),t.createElementBlock("div",_6e,[t.createElementVNode("div",b6e,[t.createVNode(d,{name:"Filtros",onChange:i.changeFiltersModal,reset:n.vDeleteFilter},null,8,["onChange","reset"]),t.createElementVNode("div",{class:"lineup__filters__selector",ref:"targetElement",onClick:a[1]||(a[1]=(...g)=>i.handleInsideClick&&i.handleInsideClick(...g))},[t.createVNode(l,{items:i.matchdaysFinal,onInput:i.changeDropdown,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(g=>[t.createElementVNode("div",w6e,t.toDisplayString(g.selectedItem.name),1)]),availableItem:t.withCtx(({item:g})=>[t.createElementVNode("div",null,t.toDisplayString(g.name),1)]),_:1},8,["items","onInput"])],512),t.createElementVNode("div",{class:"lineup__text-btn",onClick:a[2]||(a[2]=g=>n.showDetails=!n.showDetails)},t.toDisplayString(n.showDetails?"Ocultar detalles":"Ver detalles"),1)]),t.createElementVNode("div",C6e,[k6e,t.createElementVNode("div",S6e,[i.mobileClass?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",E6e,[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(h,{"current-item-index":n.selectedIndexOption,width:"600px",height:"80px",key:n.updateCarouselGames,onInput:i.changeCarouselItem,items:i.gameRecientesFilter,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:g})=>[t.createVNode(m,{game:g,teamSelect:n.teamSelect},null,8,["game","teamSelect"])]),_:1},8,["current-item-index","onInput","items"])):(t.openBlock(),t.createElementBlock("div",N6e,[$6e,t.createElementVNode("div",{class:"btn-delete-filters",onClick:a[3]||(a[3]=(...g)=>i.clickOnDeleteFilter&&i.clickOnDeleteFilter(...g))},"Eliminar filtros aplicados")]))]),n.showDetails?(t.openBlock(),t.createBlock(p,{key:0,localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],64))])]),i.mobileClass?(t.openBlock(),t.createElementBlock("div",B6e,[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(h,{"current-item-index":n.selectedIndexOption,width:"600px",height:"80px",key:n.updateCarouselGames,onInput:i.changeCarouselItem,items:i.gameRecientesFilter,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1},{default:t.withCtx(({item:g})=>[t.createVNode(m,{game:g,teamSelect:n.teamSelect,style:{"max-width":"200px"}},null,8,["game","teamSelect"])]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0),n.showDetails?(t.openBlock(),t.createBlock(p,{key:1,localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])):o.selectedOption==="Probables"?(t.openBlock(),t.createElementBlock("div",x6e,[t.createElementVNode("div",V6e,[t.createVNode(l,{items:i.matchHomeProbables,onInput:i.changeDropdownLocal,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(g=>[t.createElementVNode("div",I6e,t.toDisplayString(g.selectedItem.name),1)]),availableItem:t.withCtx(({item:g})=>[t.createElementVNode("div",null,t.toDisplayString(g.name),1)]),_:1},8,["items","onInput"]),A6e,t.createElementVNode("img",{src:n.rivalHomeImg,class:"lineup__card-body__img-probables"},null,8,O6e)]),t.createElementVNode("div",T6e,[t.createElementVNode("img",{src:n.rivalVisitImg,class:"lineup__card-body__img-probables"},null,8,z6e),F6e,t.createVNode(l,{items:i.matchAwayProbables,onInput:i.changeDropdownVisit,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(g=>[t.createElementVNode("div",R6e,t.toDisplayString(g.selectedItem.name),1)]),availableItem:t.withCtx(({item:g})=>[t.createElementVNode("div",null,t.toDisplayString(g.name),1)]),_:1},8,["items","onInput"])])])):o.selectedOption==="Postmatch"?(t.openBlock(),t.createElementBlock("div",P6e,[t.createElementVNode("div",D6e,t.toDisplayString(n.gameInfoheader.season_name!==void 0?n.gameInfoheader.season_name+" | "+i.remplazarMxJor(n.gameInfoheader.matchday_abbreviation)+" | "+n.gameInfoheader.home_team_abbreviation+" - "+n.gameInfoheader.away_team_abbreviation:""),1)])):t.createCommentVNode("",!0),t.createVNode(y,{class:"lineup__field",players:n.players},null,8,["players"])])],2)}const j6e=wt(r6e,[["render",L6e],["__scopeId","data-v-4880f212"]]),v6e={components:{},props:{data:{type:Object,default:()=>{}},position:{type:String,default:"gsc-position-player"},type:{type:Number,default:1}},data(){return{}},computed:{},methods:{},mounted(){}},mc=e=>(t.pushScopeId("data-v-57833ebc"),e=e(),t.popScopeId(),e),M6e={key:0,class:"gsc-item-player"},H6e={class:"gsc-num-player"},U6e={class:"gsc-cont-info-by-player"},G6e={class:"gsc-cont-info-by-player-row1"},W6e={class:"shield-player-cont"},q6e=["src"],J6e={class:"gsc-cont-info-by-player-row2"},X6e={class:"gsc-cont-info-by-player-row2-line-name"},Z6e={class:"gsc-cont-info-by-player-row2-line-data"},Y6e={class:"cont-display-gsc"},K6e=["src"],Q6e={class:"gsc-cont-cards"},eke={key:0,class:"gsc-yellow_card_div"},tke={key:1,class:"gsc-red_card_div"},ake={key:2,class:"gsc-yellowred_card_div"},oke=mc(()=>t.createElementVNode("div",{class:"gsc-goal_card_div"},null,-1)),ske={key:5,class:"gsc-goal_card_div_wrapper"},nke=mc(()=>t.createElementVNode("div",{class:"gsc-change_card_div"},null,-1)),ike={key:1,class:"gsc-item-player"},rke={class:"gsc-num-player2"},lke={class:"gsc-cont-info-by-player2"},cke={class:"gsc-cont-info-by-player-row2"},dke={class:"gsc-cont-info-by-player-row2-line-name2"},mke={class:"gsc-cont-info-by-player-row2-line-data"},pke={class:"gsc-cont-cards2"},hke={key:0,class:"gsc-yellow_card_div"},gke={key:1,class:"gsc-red_card_div"},yke={key:2,class:"gsc-yellowred_card_div"},uke=mc(()=>t.createElementVNode("div",{class:"gsc-goal_card_div"},null,-1)),fke={key:5,class:"gsc-goal_card_div_wrapper"},_ke=mc(()=>t.createElementVNode("div",{class:"gsc-change_card_div"},null,-1)),bke={class:"cont-display-gsc"},wke=["src"],Cke={class:"gsc-cont-info-by-player-row1"},kke={class:"shield-player-cont"},Ske=["src"];function Eke(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock(t.Fragment,null,[o.type==1?(t.openBlock(),t.createElementBlock("div",M6e,[t.createElementVNode("div",H6e,[o.data.shirt<10?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("0")],64)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(o.data.shirt),1)]),t.createElementVNode("div",U6e,[t.createElementVNode("div",G6e,[t.createElementVNode("div",W6e,[t.createElementVNode("img",{class:"gsc-logo-player",src:o.data.img},null,8,q6e)])]),t.createElementVNode("div",J6e,[t.createElementVNode("div",X6e,t.toDisplayString(o.data.name),1),t.createElementVNode("div",Z6e,[t.createElementVNode("div",Y6e,[t.createElementVNode("img",{class:"gsc-img-country",src:o.data.nation},null,8,K6e),t.createElementVNode("div",{class:t.normalizeClass(o.position)},t.toDisplayString(o.data.position),3)]),t.createElementVNode("div",Q6e,[o.data.yellowcard>=1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock("div",eke)):t.createCommentVNode("",!0),o.data.redcard>=1&&o.data.yellowcard==0?(t.openBlock(),t.createElementBlock("div",tke)):t.createCommentVNode("",!0),o.data.yellowcard>=1&&o.data.redcard>=1?(t.openBlock(),t.createElementBlock("div",ake)):t.createCommentVNode("",!0),o.data.yellowcard>=1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode("'"+t.toDisplayString(o.data.yellowcardmin),1)],64)):t.createCommentVNode("",!0),o.data.redcard>=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode("'"+t.toDisplayString(o.data.redcardmin),1)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.goalsMin,(r,c)=>(t.openBlock(),t.createElementBlock("div",{class:"gsc-goal_card_div_wrapper",key:c},[oke,t.createElementVNode("div",null,"'"+t.toDisplayString(r),1)]))),128)),o.data.substitutionIn||o.data.substitutionOut?(t.openBlock(),t.createElementBlock("div",ske,[nke,t.createElementVNode("div",null,"'"+t.toDisplayString(o.data.substitutionMin),1)])):t.createCommentVNode("",!0)])])])])])):t.createCommentVNode("",!0),o.type==2?(t.openBlock(),t.createElementBlock("div",ike,[t.createElementVNode("div",rke,[o.data.shirt<10?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("0")],64)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(o.data.shirt),1)]),t.createElementVNode("div",lke,[t.createElementVNode("div",cke,[t.createElementVNode("div",dke,t.toDisplayString(o.data.name),1),t.createElementVNode("div",mke,[t.createElementVNode("div",pke,[o.data.yellowcard>=1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock("div",hke)):t.createCommentVNode("",!0),o.data.redcard>=1&&o.data.yellowcard==0?(t.openBlock(),t.createElementBlock("div",gke)):t.createCommentVNode("",!0),o.data.yellowcard>=1&&o.data.redcard>=1?(t.openBlock(),t.createElementBlock("div",yke)):t.createCommentVNode("",!0),o.data.yellowcard>=1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode("'"+t.toDisplayString(o.data.yellowcardmin),1)],64)):t.createCommentVNode("",!0),o.data.redcard>=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode("'"+t.toDisplayString(o.data.redcardmin),1)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.goalsMin,(r,c)=>(t.openBlock(),t.createElementBlock("div",{class:"gsc-goal_card_div_wrapper",key:c},[uke,t.createElementVNode("div",null,"'"+t.toDisplayString(r),1)]))),128)),o.data.substitutionIn||o.data.substitutionOut?(t.openBlock(),t.createElementBlock("div",fke,[_ke,t.createElementVNode("div",null,"'"+t.toDisplayString(o.data.substitutionMin),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",bke,[t.createElementVNode("div",{class:t.normalizeClass(o.position)},t.toDisplayString(o.data.position),3),t.createElementVNode("img",{class:"gsc-img-country",src:o.data.nation},null,8,wke)])])]),t.createElementVNode("div",Cke,[t.createElementVNode("div",kke,[t.createElementVNode("img",{class:"gsc-logo-player",src:o.data.img},null,8,Ske)])])])])):t.createCommentVNode("",!0)],64)}const Nke=wt(v6e,[["render",Eke],["__scopeId","data-v-57833ebc"]]),oy="/icn-filter.svg",Zn="/icn-expand-arrow.svg",xC="/backarrow.svg",VC="/nextarrow.svg",$ke="_selectoritem_1dafy_137",Bke="_selectoritem2_1dafy_157",xke="_gscheaderlineup_1dafy_177",Vke="_anNoEstn_1dafy_191",Ike="_groupsLeague_1dafy_197",Ake="_jugadores_1dafy_209",Oke="_switchOption_1dafy_219",Tke="_jugadores1_1dafy_239",zke="_switchOption1_1dafy_249",Fke="_switchStatesBig_1dafy_265",Rke="_groupsLeagueParent_1dafy_283",Pke="_imgHomeTeamIcon_1dafy_301",Dke="_imgHomeTeamWrapper_1dafy_313",Lke="_teamContainer_1dafy_337",jke="_name_1dafy_361",vke="_homeTeamContainer_1dafy_373",Mke="_div_1dafy_393",Hke="_scoreContainer_1dafy_401",Uke="_scoreContainerWrapper_1dafy_421",Gke="_teamContainer1_1dafy_447",Wke="_awayTeamContainer_1dafy_471",qke="_matchContainer_1dafy_491",Jke="_sliderMatchesChild_1dafy_509",Xke="_manchesterUnited_1dafy_521",Zke="_sliderMatchesItem_1dafy_533",Yke="_sliderMatches_1dafy_509",Kke="_sortIcon_1dafy_569",Qke="_filtros_1dafy_583",e7e="_sortParent_1dafy_599",t7e="_shapeIcon_1dafy_613",a7e="_btnFilter_1dafy_623",o7e="_btnFilter1_1dafy_651",s7e="_btnFilterParent_1dafy_679",n7e="_backArrowIcon_1dafy_695",i7e="_teamContainer2_1dafy_707",r7e="_homeTeam_1dafy_373",l7e="_div4_1dafy_735",c7e="_finalScore_1dafy_745",d7e="_manchesterUnited1_1dafy_771",m7e="_scoreContainer1_1dafy_785",p7e="_match_1dafy_491",h7e="_manchesterUnited2_1dafy_821",g7e="_btnDetails_1dafy_831",y7e="_matchContainer1_1dafy_851",u7e="_goalChild_1dafy_867",f7e="_goal_1dafy_867",_7e="_manchesterUnited3_1dafy_893",b7e="_minuteEvent_1dafy_907",w7e="_yellowCard_1dafy_921",C7e="_awayTeamEvents_1dafy_935",k7e="_rectangle_1dafy_949",S7e="_homeTeamEvents_1dafy_963",E7e="_totalEvents_1dafy_979",N7e="_headerSeccionAlineaciones1_1dafy_995",$7e="_switchOption3_1dafy_1017",B7e="_switchOption4_1dafy_1041",x7e="_switchStatesBig1_1dafy_1061",V7e="_manchesterUnited13_1dafy_1075",I7e="_homeTeamContainer1_1dafy_1085",A7e="_scoreContainer2_1dafy_1099",O7e="_matchContainer2_1dafy_1127",T7e="_manchesterUnited14_1dafy_1147",z7e="_sliderMatchesInner_1dafy_1161",F7e="_rectangleIcon_1dafy_1181",R7e="_sliderMatches1_1dafy_1201",P7e="_containerData_1dafy_1217",D7e="_headerSeccionAlineaciones2_1dafy_1245",L7e="_headerSeccionAlineaciones_1dafy_995",j7e="_headerSeccionAlineaciones21200_1dafy_1293",v7e="_headerSeccionAlineaciones1540_1dafy_1299",M7e="_headerSeccionAlineaciones2540_1dafy_1307",H7e={selectoritem:$ke,selectoritem2:Bke,gscheaderlineup:xke,anNoEstn:Vke,groupsLeague:Ike,jugadores:Ake,switchOption:Oke,jugadores1:Tke,switchOption1:zke,switchStatesBig:Fke,groupsLeagueParent:Rke,imgHomeTeamIcon:Pke,imgHomeTeamWrapper:Dke,teamContainer:Lke,name:jke,homeTeamContainer:vke,div:Mke,scoreContainer:Hke,scoreContainerWrapper:Uke,teamContainer1:Gke,awayTeamContainer:Wke,matchContainer:qke,sliderMatchesChild:Jke,manchesterUnited:Xke,sliderMatchesItem:Zke,sliderMatches:Yke,sortIcon:Kke,filtros:Qke,sortParent:e7e,shapeIcon:t7e,btnFilter:a7e,btnFilter1:o7e,btnFilterParent:s7e,backArrowIcon:n7e,teamContainer2:i7e,homeTeam:r7e,div4:l7e,finalScore:c7e,manchesterUnited1:d7e,scoreContainer1:m7e,match:p7e,manchesterUnited2:h7e,btnDetails:g7e,matchContainer1:y7e,goalChild:u7e,goal:f7e,manchesterUnited3:_7e,minuteEvent:b7e,yellowCard:w7e,awayTeamEvents:C7e,rectangle:k7e,homeTeamEvents:S7e,totalEvents:E7e,headerSeccionAlineaciones1:N7e,switchOption3:$7e,switchOption4:B7e,switchStatesBig1:x7e,manchesterUnited13:V7e,homeTeamContainer1:I7e,scoreContainer2:A7e,matchContainer2:O7e,manchesterUnited14:T7e,sliderMatchesInner:z7e,rectangleIcon:F7e,sliderMatches1:R7e,containerData:P7e,headerSeccionAlineaciones2:D7e,headerSeccionAlineaciones:L7e,headerSeccionAlineaciones21200:j7e,headerSeccionAlineaciones1540:v7e,headerSeccionAlineaciones2540:M7e},U7e={components:{GSCCarousel:dc,GscSwitchComponent:Jn},props:{optionSelected:{type:String,default:"Historicos"},widthSize:{type:Number,default:0},gameRecientes:{type:Number,default:0},gameInfo:{type:Object,default:()=>{}},teamActive:{type:String,default:"home"},gameHistoric:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",{season_id:e.season_id,game_id:e.id})}catch(a){throw new Error(a)}}}},data(){return{selectedOption:0,updateIndex:0,test:[{description:"Clausura 2018 I JOR 5 I CHI - ATL 12 '",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 73'",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 53'",icon:"red-card"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 123'",icon:"yellow-card"}]}},computed:{headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=540?this.$style.headerSeccionAlineaciones2540:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones1Class(){return this.widthSize<=540?this.$style.headerSeccionAlineaciones1540:this.$style.headerSeccionAlineaciones1}},methods:{changeCarouselItem(e){this.$emit("input",{season_id:e.selectedItem.season,game_id:e.selectedItem.game,ht_abrev:e.selectedItem.home_team_abbreviation,at_abrev:e.selectedItem.away_team_abbreviation}),this.selectedOption=e.selectedItemIndex,this.updateIndex+=1},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},G7e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),W7e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones: ",-1),q7e=["src"],J7e=["src"],X7e=["src"],Z7e=["src"],Y7e=["src"],K7e=["src"];function Q7e(e,a,o,s,n,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.gscheaderlineup)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[G7e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),W7e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[(o.gameInfo.game_status==0||o.gameInfo.game_status==4)&&o.gameRecientes>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.home_team+".png"},null,10,q7e)):t.createCommentVNode("",!0)],2)],2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)}," - ",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.away_team+".png"},null,10,J7e)):t.createCommentVNode("",!0)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches)},[o.gameHistoric.length>0?(t.openBlock(),t.createBlock(c,{key:0,"current-item-index":n.selectedOption,onInput:i.changeCarouselItem,items:o.gameHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},t.toDisplayString(h.description),3)]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:oy},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2)],2),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Jornada",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"2",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:xC},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.home_team+".png"},null,10,X7e)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[o.teamActive=="home"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.away_team+".png"},null,10,Z7e)):t.createCommentVNode("",!0),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:VC},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2)},"Ver detalles",2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig1),id:"switch-lineup"},[(o.gameInfo.game_status==0||o.gameInfo.game_status==4)&&o.gameRecientes>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited13)},"Alineación utilizada en: ",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.home_team+".png"},null,10,Y7e)):t.createCommentVNode("",!0)],2)],2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.away_team+".png"},null,10,K7e)):t.createCommentVNode("",!0)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches1)},[o.gameHistoric.length>0?(t.openBlock(),t.createBlock(c,{key:0,"current-item-index":n.selectedOption,onInput:i.changeCarouselItem,items:o.gameHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem2)},t.toDisplayString(h.description),3)]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)}const e9e={$style:H7e},t9e=wt(U7e,[["render",Q7e],["__cssModules",e9e]]),pc=e=>(t.pushScopeId("data-v-2118a6cd"),e=e(),t.popScopeId(),e),a9e=t.createStaticVNode('<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-2118a6cd><g id="vuesax/outline/sort" data-v-2118a6cd><g id="sort" data-v-2118a6cd><path id="Vector" opacity="0.7" d="M15.75 5.8125H2.25C1.9425 5.8125 1.6875 5.5575 1.6875 5.25C1.6875 4.9425 1.9425 4.6875 2.25 4.6875H15.75C16.0575 4.6875 16.3125 4.9425 16.3125 5.25C16.3125 5.5575 16.0575 5.8125 15.75 5.8125Z" fill="white" data-v-2118a6cd></path><path id="Vector_2" opacity="0.7" d="M13.5 9.5625H4.5C4.1925 9.5625 3.9375 9.3075 3.9375 9C3.9375 8.6925 4.1925 8.4375 4.5 8.4375H13.5C13.8075 8.4375 14.0625 8.6925 14.0625 9C14.0625 9.3075 13.8075 9.5625 13.5 9.5625Z" fill="white" data-v-2118a6cd></path><path id="Vector_3" opacity="0.7" d="M10.5 13.3125H7.5C7.1925 13.3125 6.9375 13.0575 6.9375 12.75C6.9375 12.4425 7.1925 12.1875 7.5 12.1875H10.5C10.8075 12.1875 11.0625 12.4425 11.0625 12.75C11.0625 13.0575 10.8075 13.3125 10.5 13.3125Z" fill="white" data-v-2118a6cd></path></g></g></svg>',1),o9e=["value"],s9e=pc(()=>t.createElementVNode("svg",{width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[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:"#92929D"})],-1)),n9e={class:"filter-modal__padding"},i9e={class:"filter-modal__content-header"},r9e=pc(()=>t.createElementVNode("h3",null,"Jugando como:",-1)),l9e={class:"filter-modal__content-options"},c9e=["onClick"],d9e={class:"filter-modal__content-header"},m9e=pc(()=>t.createElementVNode("h3",null,"Resultados:",-1)),p9e={class:"filter-modal__content-options"},h9e=["onClick"],g9e=pc(()=>t.createElementVNode("hr",{style:{"border-color":"#FFFFFF33"}},null,-1)),y9e={__name:"gsc-filter",props:{name:{type:String,default:""},zIndex:{type:Number,default:1},showButton:{type:Boolean,default:!1},marginModal:{type:String,default:"0px"},isOpen:{type:Boolean,default:!1},reset:{type:Boolean,default:!1},itemSelect:{type:Object,default:()=>{}},componentWidth:{type:Number,default:768,validator(e){return e>0}}},emits:["update:model-value","change"],setup(e,{emit:a}){const o=e;t.useCssVars(w=>({d00c78a6:e.marginModal}));const s=[{id:"local",name:"Local"},{id:"visit",name:"Visitante"}],n=[{id:"win",name:"Ganado"},{id:"draw",name:"Empatados"},{id:"lose",name:"Perdidos"}],i=t.ref(null),r=t.ref(["local","visit"]),c=t.ref(["win","draw","lose"]),h=t.ref(!0),d=t.ref(!0),l=t.ref(!0),m=t.ref(!0),p=t.ref(["local","visit"]),y=t.ref(["win","draw","lose"]),g=()=>{i.value.focus(),r.value=JSON.parse(JSON.stringify(p.value)),c.value=JSON.parse(JSON.stringify(y.value)),h.value=l.value,d.value=m.value};t.watch(()=>o.itemSelect,w=>{w&&(p.value=w.selectedFilterTeam,y.value=w.selectedFilterResults)}),t.watch(()=>o.reset,w=>{w&&f()});const u=(w,b)=>{let E;b==="team"?E=p.value:E=y.value;const x=E.findIndex(V=>V===w);x==-1?E.push(w):b=="team"&&p.value.length==2?E.splice(x,1):(b=="team"&&E.push(w),y.value.length>1&&E.splice(x,1)),l.value=p.value.length==2,m.value=y.value.length==3},f=()=>{p.value=["local","visit"],y.value=["win","draw","lose"],l.value=!0,m.value=!0,a("change",{selectedFilterTeam:p.value,selectedFilterResults:y.value})},_=()=>{a("change",{selectedFilterTeam:p.value,selectedFilterResults:y.value})},k=()=>{a("change",{selectedFilterTeam:p.value,selectedFilterResults:y.value})};return(w,b)=>(t.openBlock(),t.createElementBlock("div",{class:"filter-modal",style:t.normalizeStyle({zIndex:e.zIndex})},[e.showButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:"filter-modal__input",onClick:g},[a9e,t.createElementVNode("input",{type:"text",value:e.name,readonly:""},null,8,o9e),s9e])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["filter-modal__content",e.isOpen?"open":"close"]),tabindex:"0",ref_key:"filterElement",ref:i,onFocusout:b[4]||(b[4]=E=>{e.isOpen=!1,k()})},[t.createElementVNode("div",n9e,[t.createElementVNode("div",i9e,[r9e,t.createVNode(lc,{modelValue:l.value,"onUpdate:modelValue":[b[0]||(b[0]=E=>l.value=E),b[1]||(b[1]=E=>E&&(p.value=["local","visit"]))],label:"Todos"},null,8,["modelValue"])]),t.createElementVNode("ul",l9e,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(s,E=>t.createElementVNode("li",{onClick:x=>u(E.id,"team"),class:t.normalizeClass({active:p.value.includes(E.id)})},t.toDisplayString(E.name),11,c9e)),64))]),t.createElementVNode("div",d9e,[m9e,t.createVNode(lc,{modelValue:m.value,"onUpdate:modelValue":[b[2]||(b[2]=E=>m.value=E),b[3]||(b[3]=E=>E&&(y.value=["win","lose","draw"]))],label:"Todos"},null,8,["modelValue"])]),t.createElementVNode("ul",p9e,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,E=>t.createElementVNode("li",{onClick:x=>u(E.id,"player"),class:t.normalizeClass({active:y.value.includes(E.id)})},t.toDisplayString(E.name),11,h9e)),64))])]),g9e,t.createElementVNode("div",{class:"filter-modal__buttons"},[t.createElementVNode("div",{class:"button filter-modal__text-btn",onClick:f},"Quitar filtros"),t.createElementVNode("div",{class:"button filter-modal__outline-btn",onClick:_},"Listo")])],34)],4))}},u9e=wt(y9e,[["__scopeId","data-v-2118a6cd"]]),f9e="/icn-filter1.svg",_9e="/icn-expand-arrow1.svg",b9e="/icn-filter2.svg",w9e="/icn-arrow-expand.svg",C9e="_containernofoundsearchrecientes_1gxk5_159",k9e="_btndeletefilters_1gxk5_215",S9e="_leyenddeleteshow_1gxk5_247",E9e="_selectoritem_1gxk5_261",N9e="_anNoEstn_1gxk5_279",$9e="_groupsLeague_1gxk5_287",B9e="_historicas_1gxk5_297",x9e="_switchOption_1gxk5_309",V9e="_recientes_1gxk5_331",I9e="_switchOption1_1gxk5_343",A9e="_switchOption2_1gxk5_369",O9e="_switchStatesBig_1gxk5_387",T9e="_groupsLeagueParent_1gxk5_407",z9e="_imgHomeTeamIcon_1gxk5_427",F9e="_imgHomeTeamWrapper_1gxk5_441",R9e="_teamContainer_1gxk5_467",P9e="_name_1gxk5_493",D9e="_homeTeamContainer_1gxk5_507",L9e="_div_1gxk5_529",j9e="_scoreContainer_1gxk5_539",v9e="_scoreContainerWrapper_1gxk5_561",M9e="_teamContainer1_1gxk5_587",H9e="_awayTeamContainer_1gxk5_613",U9e="_matchContainer_1gxk5_635",G9e="_sliderMatchesChild_1gxk5_655",W9e="_manchesterUnited_1gxk5_669",q9e="_sliderMatchesItem_1gxk5_683",J9e="_sliderMatches_1gxk5_655",X9e="_sortIcon_1gxk5_719",Z9e="_filtros_1gxk5_735",Y9e="_sortParent_1gxk5_753",K9e="_shapeIcon_1gxk5_769",Q9e="_btnFilter_1gxk5_781",eSe="_btnFilter1_1gxk5_813",tSe="_btnFilterParent_1gxk5_843",aSe="_backArrowIcon_1gxk5_861",oSe="_teamContainer2_1gxk5_875",sSe="_homeTeam_1gxk5_507",nSe="_div4_1gxk5_907",iSe="_finalScore_1gxk5_919",rSe="_manchesterUnited1_1gxk5_947",lSe="_scoreContainer1_1gxk5_963",cSe="_match_1gxk5_635",dSe="_manchesterUnited2_1gxk5_997",mSe="_btnDetails_1gxk5_1023",pSe="_matchContainer1_1gxk5_1047",hSe="_goalChild_1gxk5_1065",gSe="_goal_1gxk5_1065",ySe="_manchesterUnited3_1gxk5_1095",uSe="_minuteEvent_1gxk5_1111",fSe="_yellowCard_1gxk5_1127",_Se="_awayTeamEvents_1gxk5_1143",bSe="_rectangle_1gxk5_1159",wSe="_homeTeamEvents_1gxk5_1175",CSe="_totalEvents_1gxk5_1193",kSe="_headerSeccionAlineaciones1_1gxk5_1211",SSe="_sliderMatchesInner_1gxk5_1233",ESe="_btnFilter2_1gxk5_1247",NSe="_btnDetails1_1gxk5_1281",$Se="_matchContainer3_1gxk5_1299",BSe="_backArrowIcon1_1gxk5_1321",xSe="_match1_1gxk5_1335",VSe="_headerSeccionAlineaciones2_1gxk5_1347",ISe="_jugadores2_1gxk5_1369",ASe="_switchOption6_1gxk5_1383",OSe="_switchOption7_1gxk5_1405",TSe="_switchStatesBig2_1gxk5_1431",zSe="_manchesterUnited26_1gxk5_1447",FSe="_homeTeamContainer2_1gxk5_1459",RSe="_vectorIcon_1gxk5_1475",PSe="_teamSwitch_1gxk5_1487",DSe="_matchContainer5_1gxk5_1513",LSe="_manchesterUnited27_1gxk5_1535",jSe="_sliderMatchesChild1_1gxk5_1551",vSe="_sliderMatchesChild2_1gxk5_1573",MSe="_sliderMatches2_1gxk5_1595",HSe="_filtros2_1gxk5_1615",USe="_btnFilter4_1gxk5_1635",GSe="_jornada2_1gxk5_1667",WSe="_filterMatchday_1gxk5_1681",qSe="_btnDetails2_1gxk5_1703",JSe="_filtersContainer_1gxk5_1725",XSe="_matchContainer6_1gxk5_1745",ZSe="_matchDetailContainer_1gxk5_1763",YSe="_containerData_1gxk5_1783",KSe="_headerSeccionAlineaciones3_1gxk5_1813",QSe="_headerSeccionAlineaciones_1gxk5_1211",eEe="_headerSeccionAlineaciones31200_1gxk5_1865",tEe="_headerSeccionAlineaciones3420_1gxk5_1891",aEe="_headerSeccionAlineaciones3880_1gxk5_1917",oEe="_headerSeccionAlineaciones3540_1gxk5_1941",sEe="_headerSeccionAlineaciones11200_1gxk5_1967",nEe="_headerSeccionAlineaciones1420_1gxk5_1995",iEe="_headerSeccionAlineaciones1880_1gxk5_2017",rEe="_headerSeccionAlineaciones21200_1gxk5_2039",lEe="_headerSeccionAlineaciones2420_1gxk5_2067",cEe="_headerSeccionAlineaciones2880_1gxk5_2091",dEe="_headerSeccionAlineaciones2540_1gxk5_2113",mEe={containernofoundsearchrecientes:C9e,"text-containernofoundsearchrecientes":"_text-containernofoundsearchrecientes_1gxk5_171","btn-delete-filters":"_btn-delete-filters_1gxk5_183",btndeletefilters:k9e,leyenddeleteshow:S9e,selectoritem:E9e,anNoEstn:N9e,groupsLeague:$9e,historicas:B9e,switchOption:x9e,recientes:V9e,switchOption1:I9e,switchOption2:A9e,switchStatesBig:O9e,groupsLeagueParent:T9e,imgHomeTeamIcon:z9e,imgHomeTeamWrapper:F9e,teamContainer:R9e,name:P9e,homeTeamContainer:D9e,div:L9e,scoreContainer:j9e,scoreContainerWrapper:v9e,teamContainer1:M9e,awayTeamContainer:H9e,matchContainer:U9e,sliderMatchesChild:G9e,manchesterUnited:W9e,sliderMatchesItem:q9e,sliderMatches:J9e,sortIcon:X9e,filtros:Z9e,sortParent:Y9e,shapeIcon:K9e,btnFilter:Q9e,btnFilter1:eSe,btnFilterParent:tSe,backArrowIcon:aSe,teamContainer2:oSe,homeTeam:sSe,div4:nSe,finalScore:iSe,manchesterUnited1:rSe,scoreContainer1:lSe,match:cSe,manchesterUnited2:dSe,btnDetails:mSe,matchContainer1:pSe,goalChild:hSe,goal:gSe,manchesterUnited3:ySe,minuteEvent:uSe,yellowCard:fSe,awayTeamEvents:_Se,rectangle:bSe,homeTeamEvents:wSe,totalEvents:CSe,headerSeccionAlineaciones1:kSe,sliderMatchesInner:SSe,btnFilter2:ESe,btnDetails1:NSe,matchContainer3:$Se,backArrowIcon1:BSe,match1:xSe,headerSeccionAlineaciones2:VSe,jugadores2:ISe,switchOption6:ASe,switchOption7:OSe,switchStatesBig2:TSe,manchesterUnited26:zSe,homeTeamContainer2:FSe,vectorIcon:RSe,teamSwitch:PSe,matchContainer5:DSe,manchesterUnited27:LSe,sliderMatchesChild1:jSe,sliderMatchesChild2:vSe,sliderMatches2:MSe,filtros2:HSe,btnFilter4:USe,jornada2:GSe,filterMatchday:WSe,btnDetails2:qSe,filtersContainer:JSe,matchContainer6:XSe,matchDetailContainer:ZSe,containerData:YSe,headerSeccionAlineaciones3:KSe,headerSeccionAlineaciones:QSe,headerSeccionAlineaciones31200:eEe,headerSeccionAlineaciones3420:tEe,headerSeccionAlineaciones3880:aEe,headerSeccionAlineaciones3540:oEe,headerSeccionAlineaciones11200:sEe,headerSeccionAlineaciones1420:nEe,headerSeccionAlineaciones1880:iEe,headerSeccionAlineaciones21200:rEe,headerSeccionAlineaciones2420:lEe,headerSeccionAlineaciones2880:cEe,headerSeccionAlineaciones2540:dEe},pEe={components:{GSCCarousel:dc,GscSwitchComponent:Jn,GSCDropdown:ay,GSCFilter:u9e,GSCSwitchRadio:gC,GSCMatchDetails:fC},props:{widthSize:{type:Number,default:0},optionSelected:{type:String,default:"Historicos"},selectedOption:{type:String,default:"Historicos"},gameInfo:{type:Object,default:()=>{}},gameRecientes:{type:Array,default:()=>[]},matchdaysDefault:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.teamSelect=e.home_team_abbreviation,this.matchFilter()}catch(a){throw new Error(a)}}},gameRecientes:{immediate:!0,handler:async function(e){this.matchFilter()}}},data(){return{playminutes:[],showDetails:!1,teamSelect:"",updateCarouselGames:0,selectedIndexOption:0,openfiltervalue:!1,vDeleteFilter:!1,filterObject:{},matchdaysFiltersUpdate:[],gamesFiltersUpdate:[],localDetails:[],foreignDetails:[]}},computed:{matchdaysFinal(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);return e},gameRecientesFilter(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);return e},headerSeccionAlineaciones1Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones1420:e<=880?this.$style.headerSeccionAlineaciones1880:e<=1200?this.$style.headerSeccionAlineaciones11200:this.$style.headerSeccionAlineaciones1},headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones2420:e<=540?this.$style.headerSeccionAlineaciones2540:e<=880?this.$style.headerSeccionAlineaciones2880:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones3Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones3420:e<=540?this.$style.headerSeccionAlineaciones3540:e<=880?this.$style.headerSeccionAlineaciones3880:e<=1200?this.$style.headerSeccionAlineaciones31200:this.$style.headerSeccionAlineaciones3}},methods:{deleteFilters(){this.vDeleteFilter=!0,setTimeout(()=>{this.vDeleteFilter=!1},200)},clickShowDetails(){this.showDetails=!this.showDetails},changeDropdown(e){const a=this.gameRecientes[this.teamSelect].findIndex(o=>o.matchday_id==e.id);a!=-1&&(this.selectedIndexOption=a)},matchFilter(){var e=[],a=[];if(Object.keys(this.filterObject).length>0){if(Object.keys(this.filterObject.selectedFilterTeam).length!=2)for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)this.filterObject.selectedFilterTeam[0]=="local"?this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect&&(e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_match_result}),a.push(this.gameRecientes[this.teamSelect][o])):this.gameRecientes[this.teamSelect][o].away_team_abbreviation==this.teamSelect&&(e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o]));else if(this.gameRecientes[this.teamSelect])for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gameRecientes[this.teamSelect][o].home_match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o])}else if(this.gameRecientes[this.teamSelect])for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)e.push({name:this.getRound(this.gameRecientes[this.teamSelect][o].matchday_abbreviation),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gameRecientes[this.teamSelect][o].home_match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o]);this.gamesFiltersUpdate=a,this.matchdaysFiltersUpdate=e},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},changeFiltersModal(e){this.filterObject=e,this.openfiltervalue=!1,this.matchFilter()},openFilter(){this.openfiltervalue=!0},getMinutesData(e){this.localDetails=[],this.foreignDetails=[];for(let a=0;a<e.home_goals_minutes.length;a++)this.localDetails.push({description:e.home_goals_minutes[a],icon:"goal"});for(let a=0;a<e.visiting_goals_minutes.length;a++)this.foreignDetails.push({description:e.visiting_goals_minutes[a],icon:"goal"});for(let a=0;a<e.home_yellow_cards_minutes.length;a++)this.localDetails.push({description:e.home_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.away_yellow_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.home_red_cards_minutes.length;a++)this.localDetails.push({description:e.home_red_cards_minutes[a],icon:"red-card"});for(let a=0;a<e.away_red_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_red_cards_minutes[a],icon:"red-card"})},changeCarouselItem(e){this.getMinutesData(e.selectedItem.minutes),this.$emit("input",e),this.selectedIndexOption=e.selectedItemIndex},changeSwitchRadio(e){typeof e!="object"&&(this.teamSelect=e,this.$emit("changeTeam",this.teamSelect),this.updateCarouselGames+=1,this.matchFilter())},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},hEe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),gEe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),yEe=["src"],uEe=["src"],fEe={class:"selector-tournaments"},_Ee=["src"],bEe=["src"],wEe={key:1},CEe=t.createElementVNode("br",null,null,-1),kEe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),SEe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),EEe=["src"],NEe=["src"],$Ee={class:"selector-tournaments"},BEe=["src"],xEe=["src"],VEe={key:1},IEe=t.createElementVNode("br",null,null,-1),AEe=["src"],OEe=["src"],TEe={class:"selector-tournaments"},zEe=["src"],FEe=["src"],REe={key:1},PEe=t.createElementVNode("br",null,null,-1);function DEe(e,a,o,s,n,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCSwitchRadio"),h=t.resolveComponent("GSCFilter"),d=t.resolveComponent("GSCDropdown"),l=t.resolveComponent("GSCCarousel"),m=t.resolveComponent("GSCMatchDetails");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop-full"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[hEe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),gEe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,yEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":n.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,uEe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[0]||(a[0]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:oy},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2),t.createVNode(h,{"item-select":n.filterObject,"is-open":n.openfiltervalue,onChange:i.changeFiltersModal,reset:n.vDeleteFilter,"margin-modal":"-83px"},null,8,["item-select","is-open","onChange","reset"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:0,class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"32px",width:"114px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",fEe,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["class","items","onInput"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:n.updateCarouselGames,items:i.gameRecientesFilter,"current-item-index":n.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,_Ee)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,bEe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",wEe,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),CEe,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[1]||(a[1]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),n.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[2]||(a[2]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[n.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[kEe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),SEe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,EEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":n.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,NEe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer3)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter2),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[3]||(a[3]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:f9e},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:_9e},null,2),t.createVNode(h,{"item-select":n.filterObject,"is-open":n.openfiltervalue,onChange:i.changeFiltersModal,"margin-modal":"-99px"},null,8,["item-select","is-open","onChange"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:0,class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"32px",width:"114px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",$Ee,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["class","items","onInput"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[4]||(a[4]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[n.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.match1)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:0,items:i.gameRecientesFilter,"current-item-index":n.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,BEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,xEe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",VEe,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),IEe,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[5]||(a[5]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),n.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones3Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig2),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited26)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer5),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,AEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":n.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,OEe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtersContainer)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter4),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[6]||(a[6]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:b9e},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros2)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:w9e},null,2),t.createVNode(h,{"item-select":n.filterObject,"is-open":n.openfiltervalue,onChange:i.changeFiltersModal,"margin-modal":"-75px"},null,8,["item-select","is-open","onChange"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:0,class:t.normalizeClass(e.$style.filterMatchday),id:"menu-matchday",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"25px",width:"100px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",TEe,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["class","items","onInput"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[7]||(a[7]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[n.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchDetailContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer6),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:0,items:i.gameRecientesFilter,"current-item-index":n.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,zEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,FEe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",REe,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),PEe,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[8]||(a[8]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),n.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)],2)}const LEe={$style:mEe},jEe=wt(pEe,[["render",DEe],["__cssModules",LEe]]),vEe="_selectoritem_16hc8_179",MEe="_selectoritem2_16hc8_199",HEe="_gscheaderlineup_16hc8_219",UEe="_anNoEstn_16hc8_233",GEe="_groupsLeague_16hc8_239",WEe="_jugadores_16hc8_249",qEe="_switchOption_16hc8_259",JEe="_jugadores1_16hc8_279",XEe="_switchOption1_16hc8_289",ZEe="_switchStatesBig_16hc8_305",YEe="_groupsLeagueParent_16hc8_323",KEe="_imgHomeTeamIcon_16hc8_341",QEe="_imgHomeTeamWrapper_16hc8_353",eNe="_teamContainer_16hc8_377",tNe="_name_16hc8_401",aNe="_homeTeamContainer_16hc8_413",oNe="_div_16hc8_433",sNe="_titleSession_16hc8_441",nNe="_scoreContainer_16hc8_461",iNe="_scoreContainerWrapper_16hc8_481",rNe="_teamContainer1_16hc8_505",lNe="_awayTeamContainer_16hc8_529",cNe="_matchContainer_16hc8_549",dNe="_sliderMatchesChild_16hc8_567",mNe="_manchesterUnited_16hc8_579",pNe="_sliderMatchesItem_16hc8_591",hNe="_sliderMatches_16hc8_567",gNe="_sortIcon_16hc8_627",yNe="_filtros_16hc8_641",uNe="_sortParent_16hc8_657",fNe="_shapeIcon_16hc8_671",_Ne="_btnFilter_16hc8_681",bNe="_btnFilter1_16hc8_709",wNe="_btnFilterParent_16hc8_737",CNe="_backArrowIcon_16hc8_753",kNe="_teamContainer2_16hc8_765",SNe="_homeTeam_16hc8_413",ENe="_div4_16hc8_793",NNe="_finalScore_16hc8_803",$Ne="_manchesterUnited1_16hc8_829",BNe="_scoreContainer1_16hc8_843",xNe="_match_16hc8_549",VNe="_manchesterUnited2_16hc8_879",INe="_btnDetails_16hc8_889",ANe="_matchContainer1_16hc8_909",ONe="_goalChild_16hc8_925",TNe="_goal_16hc8_925",zNe="_manchesterUnited3_16hc8_951",FNe="_minuteEvent_16hc8_965",RNe="_yellowCard_16hc8_979",PNe="_awayTeamEvents_16hc8_993",DNe="_rectangle_16hc8_1007",LNe="_homeTeamEvents_16hc8_1021",jNe="_totalEvents_16hc8_1037",vNe="_headerSeccionAlineaciones1_16hc8_1053",MNe="_switchOption3_16hc8_1075",HNe="_switchOption4_16hc8_1099",UNe="_switchStatesBig1_16hc8_1119",GNe="_manchesterUnited13_16hc8_1133",WNe="_homeTeamContainer1_16hc8_1143",qNe="_scoreContainer2_16hc8_1157",JNe="_matchContainer2_16hc8_1185",XNe="_manchesterUnited14_16hc8_1205",ZNe="_sliderMatchesInner_16hc8_1219",YNe="_rectangleIcon_16hc8_1239",KNe="_sliderMatches1_16hc8_1259",QNe="_containerData_16hc8_1275",e$e="_headerSeccionAlineaciones2_16hc8_1303",t$e="_headerSeccionAlineaciones_16hc8_1053",a$e="_headerSeccionAlineaciones21200_16hc8_1351",o$e="_headerSeccionAlineaciones1540_16hc8_1357",s$e="_headerSeccionAlineaciones2540_16hc8_1365",n$e={selectoritem:vEe,selectoritem2:MEe,gscheaderlineup:HEe,anNoEstn:UEe,groupsLeague:GEe,jugadores:WEe,switchOption:qEe,jugadores1:JEe,switchOption1:XEe,switchStatesBig:ZEe,groupsLeagueParent:YEe,imgHomeTeamIcon:KEe,imgHomeTeamWrapper:QEe,teamContainer:eNe,name:tNe,homeTeamContainer:aNe,div:oNe,titleSession:sNe,scoreContainer:nNe,scoreContainerWrapper:iNe,teamContainer1:rNe,awayTeamContainer:lNe,matchContainer:cNe,sliderMatchesChild:dNe,manchesterUnited:mNe,sliderMatchesItem:pNe,sliderMatches:hNe,sortIcon:gNe,filtros:yNe,sortParent:uNe,shapeIcon:fNe,btnFilter:_Ne,btnFilter1:bNe,btnFilterParent:wNe,backArrowIcon:CNe,teamContainer2:kNe,homeTeam:SNe,div4:ENe,finalScore:NNe,manchesterUnited1:$Ne,scoreContainer1:BNe,match:xNe,manchesterUnited2:VNe,btnDetails:INe,matchContainer1:ANe,goalChild:ONe,goal:TNe,manchesterUnited3:zNe,minuteEvent:FNe,yellowCard:RNe,awayTeamEvents:PNe,rectangle:DNe,homeTeamEvents:LNe,totalEvents:jNe,headerSeccionAlineaciones1:vNe,switchOption3:MNe,switchOption4:HNe,switchStatesBig1:UNe,manchesterUnited13:GNe,homeTeamContainer1:WNe,scoreContainer2:qNe,matchContainer2:JNe,manchesterUnited14:XNe,sliderMatchesInner:ZNe,rectangleIcon:YNe,sliderMatches1:KNe,containerData:QNe,headerSeccionAlineaciones2:e$e,headerSeccionAlineaciones:t$e,headerSeccionAlineaciones21200:a$e,headerSeccionAlineaciones1540:o$e,headerSeccionAlineaciones2540:s$e},i$e={components:{GSCCarousel:dc,GscSwitchComponent:Jn},props:{optionSelected:{type:String,default:"Historicos"},widthSize:{type:Number,default:0},gameInfo:{type:Object,default:()=>{}},teamActive:{type:String,default:"home"},gameHistoric:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",{season_id:e.season_id,game_id:e.id})}catch(a){throw new Error(a)}}}},data(){return{selectedOption:0,updateIndex:0,test:[{description:"Clausura 2018 I JOR 5 I CHI - ATL 12 '",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 73'",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 53'",icon:"red-card"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 123'",icon:"yellow-card"}]}},computed:{headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=540?this.$style.headerSeccionAlineaciones2540:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones1Class(){return this.widthSize<=540?this.$style.headerSeccionAlineaciones1540:this.$style.headerSeccionAlineaciones1}},methods:{remplazarMxJor(e){return e.replace("M","JOR ")},changeCarouselItem(e){this.$emit("input",{season_id:e.selectedItem.season,game_id:e.selectedItem.game,ht_abrev:e.selectedItem.home_team_abbreviation,at_abrev:e.selectedItem.away_team_abbreviation}),this.selectedOption=e.selectedItemIndex,this.updateIndex+=1},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},r$e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),l$e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),c$e=["src"],d$e=["src"],m$e=["src"],p$e=["src"],h$e=["src"],g$e=["src"];function y$e(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.gscheaderlineup)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[r$e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),l$e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},null,2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,c$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titleSession)},t.toDisplayString(o.gameInfo.season_name!==void 0?o.gameInfo.season_name+" | "+i.remplazarMxJor(o.gameInfo.matchday_abbreviation)+" | "+o.gameInfo.home_team_abbreviation+" - "+o.gameInfo.away_team_abbreviation:""),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,d$e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches)},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:oy},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2)],2),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Jornada",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"2",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:xC},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,m$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[o.teamActive=="home"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,p$e),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:VC},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2)},"Ver detalles",2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig1),id:"switch-lineup"},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited13)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,h$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer2)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,g$e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches1)},null,2)],2)],2)],2)],2)}const u$e={$style:n$e},f$e=wt(i$e,[["render",y$e],["__cssModules",u$e]]),_$e="_anNoEstn_j98j7_139",b$e="_groupsLeague_j98j7_145",w$e="_historicas_j98j7_153",C$e="_switchOption_j98j7_163",k$e="_switchOption1_j98j7_183",S$e="_probables_j98j7_203",E$e="_switchOption2_j98j7_213",N$e="_switchStatesBig_j98j7_237",$$e="_groupsLeagueParent_j98j7_255",B$e="_imgHomeTeamIcon_j98j7_273",x$e="_imgHomeTeamWrapper_j98j7_285",V$e="_teamContainer_j98j7_309",I$e="_name_j98j7_333",A$e="_jor_j98j7_345",O$e="_jorParent_j98j7_357",T$e="_shapeIcon_j98j7_373",z$e="_frameParent_j98j7_383",F$e="_manchesterUnited_j98j7_413",R$e="_necaxaIcon_j98j7_435",P$e="_manchesterUnited1_j98j7_447",D$e="_team_j98j7_309",L$e="_homeTeamContainer_j98j7_475",j$e="_div1_j98j7_495",v$e="_scoreContainer_j98j7_503",M$e="_scoreContainerWrapper_j98j7_525",H$e="_team1_j98j7_549",U$e="_name1_j98j7_563",G$e="_teamContainer1_j98j7_577",W$e="_awayTeamContainer_j98j7_601",q$e="_matchContainer_j98j7_623",J$e="_goalChild_j98j7_641",X$e="_goal_j98j7_641",Z$e="_manchesterUnited4_j98j7_667",Y$e="_minuteEvent_j98j7_681",K$e="_yellowCard_j98j7_695",Q$e="_awayTeamEvents_j98j7_709",eBe="_rectangle_j98j7_723",tBe="_homeTeamEvents_j98j7_737",aBe="_totalEvents_j98j7_753",oBe="_headerSeccionAlineaciones1_j98j7_769",sBe="_homeTeamContainer1_j98j7_789",nBe="_awayTeamContainer1_j98j7_813",iBe="_headerSeccionAlineaciones2_j98j7_837",rBe="_jugadores_j98j7_857",lBe="_switchOption6_j98j7_869",cBe="_switchOption8_j98j7_889",dBe="_switchStatesBig2_j98j7_913",mBe="_manchesterUnited28_j98j7_927",pBe="_homeTeamContainer2_j98j7_935",hBe="_matchContainer2_j98j7_949",gBe="_manchesterUnited29_j98j7_971",yBe="_sliderMatchesChild_j98j7_985",uBe="_sliderMatchesItem_j98j7_1005",fBe="_sliderMatches_j98j7_985",_Be="_jorParent2_j98j7_1045",bBe="_filterMatchday_j98j7_1059",wBe="_necaxaIcon4_j98j7_1081",CBe="_team4_j98j7_1093",kBe="_filterMatchdayParent_j98j7_1113",SBe="_filterMatchday1_j98j7_1127",EBe="_teamParent_j98j7_1157",NBe="_filtersContainer_j98j7_1177",$Be="_containerData_j98j7_1195",BBe="_headerSeccionAlineaciones3_j98j7_1223",xBe="_headerSeccionAlineaciones_j98j7_769",VBe={anNoEstn:_$e,groupsLeague:b$e,historicas:w$e,switchOption:C$e,switchOption1:k$e,probables:S$e,switchOption2:E$e,switchStatesBig:N$e,groupsLeagueParent:$$e,imgHomeTeamIcon:B$e,imgHomeTeamWrapper:x$e,teamContainer:V$e,name:I$e,jor:A$e,jorParent:O$e,shapeIcon:T$e,frameParent:z$e,manchesterUnited:F$e,necaxaIcon:R$e,manchesterUnited1:P$e,team:D$e,homeTeamContainer:L$e,div1:j$e,scoreContainer:v$e,scoreContainerWrapper:M$e,team1:H$e,name1:U$e,teamContainer1:G$e,awayTeamContainer:W$e,matchContainer:q$e,goalChild:J$e,goal:X$e,manchesterUnited4:Z$e,minuteEvent:Y$e,yellowCard:K$e,awayTeamEvents:Q$e,rectangle:eBe,homeTeamEvents:tBe,totalEvents:aBe,headerSeccionAlineaciones1:oBe,homeTeamContainer1:sBe,awayTeamContainer1:nBe,headerSeccionAlineaciones2:iBe,jugadores:rBe,switchOption6:lBe,switchOption8:cBe,switchStatesBig2:dBe,manchesterUnited28:mBe,homeTeamContainer2:pBe,matchContainer2:hBe,manchesterUnited29:gBe,sliderMatchesChild:yBe,sliderMatchesItem:uBe,sliderMatches:fBe,jorParent2:_Be,filterMatchday:bBe,necaxaIcon4:wBe,team4:CBe,filterMatchdayParent:kBe,filterMatchday1:SBe,teamParent:EBe,filtersContainer:NBe,containerData:$Be,headerSeccionAlineaciones3:BBe,headerSeccionAlineaciones:xBe},IBe={components:{GSCDropdown:ay,GscSwitchComponent:Jn},props:{optionSelected:{type:String,default:"Historicos"},gameInfo:{type:Object,default:()=>{}},gameRecientes:{type:Array,default:()=>[]},matchdaysDefault:{type:Array,default:()=>[]}},data(){return{rivalHomeImg:"",rivalVisitImg:"",rivalHomeAbrev:"",rivalVisitAbrev:"",auxVal:0}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",e)}catch(a){throw new Error(a)}}}},methods:{clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)},changeDropdownVisit(e){const a=this.gameRecientes[this.gameInfo.away_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalVisitAbrev=this.gameInfo.away_team_abbreviation==this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation?this.gameRecientes[this.gameInfo.away_team_abbreviation][a].away_team_abbreviation:this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation,this.rivalVisitImg=this.gameInfo.away_team_abbreviation==this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.away_team_abbreviation][a].away_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team+".png",this.$emit("changeaway",this.gameRecientes[this.gameInfo.away_team_abbreviation][a])},changeDropdownLocal(e){const a=this.gameRecientes[this.gameInfo.home_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalHomeAbrev=this.gameInfo.home_team_abbreviation==this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation?this.gameRecientes[this.gameInfo.home_team_abbreviation][a].home_team_abbreviation:this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation,this.rivalHomeImg=this.gameInfo.home_team_abbreviation==this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.home_team_abbreviation][a].home_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team+".png",this.$emit("changehome",this.gameRecientes[this.gameInfo.home_team_abbreviation][a])}}},ABe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),OBe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones: ",-1),TBe=["src"],zBe={class:"selector-tournaments"},FBe=["src"],RBe=["src"],PBe={class:"selector-tournaments"},DBe=["src"],LBe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),jBe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),vBe=["src"],MBe={class:"selector-tournaments"},HBe=["src"],UBe=["src"],GBe={class:"selector-tournaments"},WBe=["src"],qBe=["src"],JBe=["src"],XBe={class:"selector-tournaments"},ZBe=["src"],YBe=["src"],KBe={class:"selector-tournaments"};function QBe(e,a,o,s,n,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCDropdown");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones1),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[ABe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),OBe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,TBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createVNode(c,{class:t.normalizeClass(e.$style.frameParent),items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",zBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["class","items","onInput"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:n.rivalHomeImg},null,10,FBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(n.rivalHomeAbrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"2",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"-",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"2",2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(n.rivalVisitAbrev),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:n.rivalVisitImg},null,10,RBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2)],2),t.createVNode(c,{class:t.normalizeClass(e.$style.frameParent),items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",PBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["class","items","onInput"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name1)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,DBe)],2)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones2),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[LBe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),jBe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,vBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParent)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",MBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:n.rivalHomeImg},null,10,HBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(n.rivalHomeAbrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(n.rivalVisitAbrev),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:n.rivalVisitImg},null,10,UBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParent)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",GBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,WBe)],2)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones3),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig2),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited28)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,qBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,JBe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtersContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchdayParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday1)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"0",borderColor:"none","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",XBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team4)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon4),alt:"",src:n.rivalHomeImg},null,10,ZBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team1)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon4),alt:"",src:n.rivalVisitImg},null,10,YBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},"vs",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday1)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"0",borderColor:"none","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",KBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2)],2)],2)],2)],2)],2)}const exe={$style:VBe},txe=wt(IBe,[["render",QBe],["__cssModules",exe]]),IC="/line.png";let AC=null;const axe={name:"lineupPlayers",props:{game:{type:Object,default:()=>{}},selectedOption:{type:Boolean,default:"Prematch"}},components:{CardPlayer:Nke,HeaderPlayerHistorico:t9e,HeaderPlayerRecientes:jEe,HeaderPlayerProbables:txe,HeaderPlayerPostmatch:f$e},data(){return{selectOptMenuheader:"Historicos",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",tokenPremium:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g",urlGames:"https://iwxfzq6e2h.execute-api.us-west-2.amazonaws.com/prod/v2/statisticsLeagueBySeason/",url:"https://tj4cepyjc4.execute-api.us-west-2.amazonaws.com/prod/lineups/",urlMXM:"https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",retries:3,teamActive:"home",subsActive:!1,playersHome:[],gamesContainerWidth:0,playersAway:[],subsTitle:!1,uniformHome:"",valueUpdateRecientes:0,uniformHomeG:"",uniformAway:"",uniformAwayG:"",dataPlayersHome:[],dataPlayersAway:[],homeTeamLogo:"",awayTeamLogo:"",homeTeamName:"",awayTeamName:"",homeTeamAbrev:"",awayTeamAbrev:"",home_team_id:0,updateComponentAway:0,away_team_id:0,substitutionModal:{min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},homeTeam:{},visitingTeam:{},gameForAnalysis:{},movil:!1,positions:[{name:"Portero"},{name:"Defensa central"},{name:"Lateral por izquierda"},{name:"Lateral por derecha"},{name:"Volante por izquierda"},{name:"Volante por derecha"},{name:"Volante defensivo"},{name:"Volante ofensivo"},{name:"Delantero"},{name:"Desconocida"}],auxProbablesIDGameHome:0,auxProbablesIDGameAway:0,auxHistoricGameID:0,gameInfoheader:{},gamesHistoric:[],gamesRecientes:[],matchdaysPerTeam:[],lastGetGame:0}},computed:{goalcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"goal_card_div440":e<=650?"goal_card_div650":e<=820?"goal_card_div820":"goal_card_div"},yellowredcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"yellowred_card_div440":e<=650?"yellowred_card_div650":e<=820?"yellowred_card_div820":"yellowred_card_div"},redcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"red_card_div440":e<=650?"red_card_div650":e<=820?"red_card_div820":"red_card_div"},yellowcarddivclass(){const e=this.gamesContainerWidth;return e<=440?"yellow_card_div440":e<=650?"yellow_card_div650":e<=820?"yellow_card_div820":"yellow_card_div"},infochangeplayeritemClass(){const e=this.gamesContainerWidth;return e<=440?"info-chamge-player-item440":e<=650?"info-chamge-player-item650":e<=740?"info-chamge-player-item740":"info-chamge-player-item"},infonameplayeritemClass(){const e=this.gamesContainerWidth;return e<=440?"info-name-player-item440":e<=650?"info-name-player-item650":e<=740?"info-name-player-item740":"info-name-player-item"},infoplayeritemClass(){const e=this.gamesContainerWidth;return e<=400?"info-player-item400":e<=440?"info-player-item440":e<=650?"info-player-item650":e<=740?"info-player-item740":"info-player-item"},numPlayerClass(){const e=this.gamesContainerWidth;return e<=440?"num-Player440":e<=540?"num-Player540":e<=740?"num-Player740":"num-Player"},jerseyitemplayerClass(){const e=this.gamesContainerWidth;return e<=440?"jerseyitemplayer440":e<=540?"jerseyitemplayer540":e<=650?"jerseyitemplayer650":e<=740?"jerseyitemplayer740":"jerseyitemplayer"},itemplayerfieldClass(){return this.gamesContainerWidth<=740?"itemplayer-field740":"itemplayer-field"},canchacontainerClass(){const e=this.gamesContainerWidth;return e<=300?"cancha-container300":e<=325?"cancha-container325":e<=350?"cancha-container350":e<=440?"cancha-container440":e<=540?"cancha-container540":e<=740?"cancha-container740":e<=820?"cancha-container820":e<=840?"cancha-container840":e<=940?"cancha-container940":e<=1140?"cancha-container1140":"cancha-container"},fieldcontainerClass(){const e=this.gamesContainerWidth;return e<=300?"field-container300":e<=380?"field-container380":e<=440?"field-container440":e<=540?"field-container540":e<=740?"field-container740":"field-container"},notificationnolineupsClass(){const e=this.gamesContainerWidth;return e<=300?"notification-no-lineups300":e<=370?"notification-no-lineups370":e<=400?"notification-no-lineups400":e<=460?"notification-no-lineups460":e<=500?"notification-no-lineups500":e<=530?"notification-no-lineups530":e<=740?"notification-no-lineups740":e<=768?"notification-no-lineups768":e<=830?"notification-no-lineups830":e<=900?"notification-no-lineups900":"notification-no-lineups"},containernolineups(){const e=this.gamesContainerWidth;return e<=300?"container-no-lineups300":e<=350?"container-no-lineups350":e<=768?"container-no-lineups768":"container-no-lineups"},menuTeamsClass(){return this.gamesContainerWidth<=740?"menu-teams-mobile740":"menu-teams-mobile"},positionClass(){return this.gamesContainerWidth<=500?"gsc-position-player500":"gsc-position-player"},positionClass2(){return this.gamesContainerWidth<=500?"gsc-position-player2500":"gsc-position-player2"},containerlineupsClass(){const e=this.gamesContainerWidth;return e<=740?"gsc-lineups-container680":e<=900?"gsc-lineups-container900":"gsc-lineups-container"},containerClassHome(){const e=this.gamesContainerWidth;return e<=740?"gsclineupscontainerhome680":e<=768?"gsclineupscontainerhome768":e<=900?"gsclineupscontainerhome900":"gsclineupscontainerhome"},containerClassAway(){const e=this.gamesContainerWidth;return e<=740?"gsclineupscontaineraway680":e<=768?"gsclineupscontaineraway768":e<=900?"gsclineupscontaineraway900":"gsclineupscontaineraway"},sizeBrowser(){return this.gamesContainerWidth},numPlayer(){return Number(this.playersAway.length)+Number(this.playersHome.length)},benchFillHome(){return this.playersHome.length<this.playersAway.length?this.playersAway.length-this.playersHome.length:0},benchFillAway(){return this.playersAway.length<this.playersHome.length?this.playersHome.length-this.playersAway.length:0}},async mounted(){if(setTimeout(()=>{this.setUpResizeObserver()},100),this.game||this.$route.params.gameId)try{this.cleaneData()}catch(e){throw new Error(e)}},watch:{selectOptMenuheader:{immediate:!0,async handler(e){this.selectedOption!=="Postmatch"&&(e==="Historicos"&&await this.getLineUp(this.gamesHistoric[0].game),e==="Recientes"&&(await this.getLineUp(this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][0].id),this.valueUpdateRecientes+=1))}},"$socket.connected":{immediate:!0,handler(e){e&&this.getDataSocket()}},game:{immediate:!0,handler:async function(e){e&&(this.cleaneData(),await this.gameDataInfo(e),await this.getHeaderInfo(e),this.selectedOption=="Postmatch"?await this.getLineUp(e.game_id):this.selectOptMenuheader=="Historicos"&&await this.getLineUp(this.gamesHistoric[0].game))}}},sockets:{new_bench(e,a){if(a[this.home_team_id]){this.playersHome=this.playersHome.filter(function(f){return!f.isbench});for(let f=0;f<a[this.home_team_id].length;f++)if(!a[this.home_team_id][f].isTitular){this.subsTitle=!0;var o=a[this.home_team_id][f].playerName.split(","),s=o[0].split(" "),n=o[1].trim().split(" "),i="";s.length==2||s.length==1?s[0].length<4?i=s[0]+" "+s[1]:i=s[0]:s.length==3?i=s[0]+" "+s[1]:s.length==4&&(i=s[1]+" "+s[2]+" "+s[3]);var r=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";i=i.replace(",","");var c=r+". "+i,h=this.dataPlayersHome.findIndex(_=>_.player_id==a[this.home_team_id][f].playerID);this.playersHome.push({played:!1,name:a[this.home_team_id][f].playerName,position:h!=-1?this.positions[this.dataPlayersHome[h].position_id-1].name:"",position_id:this.dataPlayersHome[h].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a[this.home_team_id][f].playerID+".png",nationality:h!=-1&&this.dataPlayersHome[h].nationality?this.dataPlayersHome[h].nationality.substring(0,3):"",imgNationality:h!=-1?this.dataPlayersHome[h].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:c,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+this.home_team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a[this.home_team_id][f].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:a[this.home_team_id][f].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0})}this.playersHome.sort((f,_)=>f.position_id>_.position_id?1:_.position_id>f.position_id?-1:0)}if(a[this.away_team_id]){this.playersAway=this.playersAway.filter(function(f){return!f.isbench});for(let f=0;f<a[this.away_team_id].length;f++)if(!a[this.away_team_id][f].isTitular){this.subsTitle=!0;var d=a[this.away_team_id][f].playerName.split(","),l=d[0].split(" "),m=o[1].trim().split(" "),p="";l.length==2||l.length==1?l[0].length<4?p=l[0]+" "+l[1]:p=l[0]:l.length==3?p=l[0]+" "+l[1]:l.length==4&&(p=l[1]+" "+l[2]+" "+l[3]);var y=m[m.length-1]!=""?m[m.length-1].charAt(0):m[m.length-2]?m[m.length-2].charAt(0):"";p=p.replace(",","");var g=y+". "+p,u=this.dataPlayersAway.findIndex(_=>_.player_id==a[this.away_team_id][f].playerID);this.playersAway.push({played:!1,name:a[this.away_team_id][f].playerName,position:u!=-1?this.positions[this.dataPlayersAway[u].position_id-1].name:"",position_id:this.dataPlayersAway[u].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a[this.away_team_id][f].playerID+".png",nationality:u!=-1&&this.dataPlayersAway[u].nationality?this.dataPlayersAway[u].nationality.substring(0,3):"",imgNationality:u!=-1?this.dataPlayersAway[u].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:g,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+this.away_team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a[this.away_team_id][f].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:a[this.away_team_id][f].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0})}this.playersAway.sort((f,_)=>f.position_id>_.position_id?1:_.position_id>f.position_id?-1:0)}},new_lineup(e,a){if(a.team_id==a.home_team.team_id){if(this.playersHome.length==0){this.dataPlayersHome=a.home_team.players;for(let b=0;b<a.data.length;b++){this.home_team_id=a.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+"_g.svg","home",0);var o=a.data[b].player_name.split(","),s=o[0].split(" "),n=o[1].trim().split(" "),i="";s.length==2||s.length==1?s[0].length<4?i=s[0]+" "+s[1]:i=s[0]:s.length==3?i=s[0]+" "+s[1]:s.length==4&&(i=s[1]+" "+s[2]+" "+s[3]);var r=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";i=i.replace(",","");var c=r+". "+i,h=a.data[b].x,d=h*50/100,l=a.home_team.players.findIndex(E=>E.player_id==a.data[b].player_id);this.playersHome.push({played:!0,name:a.data[b].player_name,position:l!=-1?this.positions[a.home_team.players[l].position_id-1].name:"",position_id:a.home_team.players[l].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a.data[b].player_id+".png",nationality:l!=-1&&a.home_team.players[l].nationality?a.home_team.players[l].nationality.substring(0,3):"",imgNationality:l!=-1?a.home_team.players[l].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:c,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a.data[b].jersey_number,positionX:a.data[b].y-13,positionY:d*.9,positionXOrigin:a.data[b].y-17,positionYOrigin:a.data[b].x-2,playerId:a.data[b].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:a.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png"}this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0)}}else if(this.playersAway.length==0){this.dataPlayersAway=a.away_team.players;for(let b=0;b<a.data.length;b++){this.away_team_id=a.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+"_g.svg","away",0);var m=a.data[b].player_name.split(","),p=m[0].split(" "),y=m[1].trim().split(" "),g="";p.length==2||p.length==1?p[0].length<4?g=p[0]+" "+p[1]:g=p[0]:p.length==3?g=p[0]+" "+p[1]:p.length==4&&(g=p[1]+" "+p[2]+" "+p[3]);var u=y[y.length-1]!=""?y[y.length-1].charAt(0):y[y.length-2]?y[y.length-2].charAt(0):"";g=g.replace(",","");var f=u+". "+g,_=a.data[b].x,k=100-(100-_)*50/100;k=k*.9;var w=a.away_team.players.findIndex(E=>E.player_id==a.data[b].player_id);this.playersAway.push({played:!0,name:a.data[b].player_name,position:w!=-1?this.positions[a.away_team.players[w].position_id-1].name:"",position_id:a.away_team.players[w].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a.data[b].player_id+".png",nationality:w!=-1&&a.away_team.players[w].nationality?a.away_team.players[w].nationality.substring(0,3):"",imgNationality:w!=-1?a.away_team.players[w].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:f,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a.data[b].jersey_number,positionX:a.data[b].y-13,positionY:k+2,positionXOrigin:a.data[b].y-17,positionYOrigin:a.data[b].x-7,playerId:a.data[b].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:a.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png"}this.playersAway.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0)}},update_mxm(e,a){var o=-1,s=-1;if(this.playersHome.length>0){var n=this.playersHome.findIndex(B=>B.idredcards==a.play_id),i=this.playersHome.findIndex(B=>B.idyellowcards==a.play_id),r=this.playersHome.findIndex(B=>B.idSubstitution==a.play_id);for(let B=0;B<this.playersHome.length;B++){var c=this.playersHome[B].idsGoals.findIndex($=>$==a.play_id);c!=-1&&(o=c,s=B)}n!=-1&&this.resetPlayUpdate("RedCard","Home",n,s),i!=-1&&this.resetPlayUpdate("YellowCard","Home",i,s),r!=-1&&this.resetPlayUpdate("Substitution","Home",r,s),o!=-1&&this.resetPlayUpdate("Goals","Home",o,s)}if(this.playersAway.length>0){var h=this.playersAway.findIndex(B=>B.idredcards==a.play_id),d=this.playersAway.findIndex(B=>B.idyellowcards==a.play_id),l=this.playersAway.findIndex(B=>B.idSubstitution==a.play_id);for(let B=0;B<this.playersAway.length;B++){var m=this.playersAway[B].idsGoals.findIndex($=>$==a.play_id);m!=-1&&(o=m,s=B)}h!=-1&&this.resetPlayUpdate("RedCard","Away",h,s),d!=-1&&this.resetPlayUpdate("YellowCard","Away",d,s),l!=-1&&this.resetPlayUpdate("Substitution","Away",l,s),o!=-1&&this.resetPlayUpdate("Goals","Away",o,s)}if(a.event_type_id==3){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var p=a.player_id.split("@"),y=this.playersHome.findIndex(B=>B.playerId==p[0]),g=this.playersHome.findIndex(B=>B.playerId==p[1]);y!=-1&&(this.playersHome[y].idSubstitution=a.play_id,this.playersHome[y].substitutionOut=!0,this.playersHome[y].substitutionMin=a.minute,this.playersHome[y].substitutionDataID=a.team_id+"@"+a.player_id),g!=-1&&(this.playersHome[g].idSubstitution=a.play_id,this.playersHome[g].substitutionIn=!0,this.playersHome[g].substitutionMin=a.minute,this.playersHome[g].substitutionDataID=a.team_id+"@"+a.player_id)}}else if(this.playersAway.length>0){var u=a.player_id.split("@"),f=this.playersAway.findIndex(B=>B.playerId==u[0]),_=this.playersAway.findIndex(B=>B.playerId==u[1]);y!=-1&&(this.playersAway[f].idSubstitution=a.play_id,this.playersAway[f].substitutionOut=!0,this.playersAway[f].substitutionMin=a.minute,this.playersAway[f].substitutionDataID=a.team_id+"@"+a.player_id),_!=-1&&(this.playersAway[_].idSubstitution=a.play_id,this.playersAway[_].substitutionIn=!0,this.playersAway[_].substitutionMin=a.minute,this.playersAway[_].substitutionDataID=a.team_id+"@"+a.player_id)}}if(a.event_type_id==1){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var k=this.playersHome.findIndex(B=>B.playerId==a.player_id);k!=-1&&(this.playersHome[k].goals+=1,this.playersHome[k].goalsMin.push(a.minute),this.playersHome[k].idsGoals.push(a.play_id))}}else if(this.playersAway.length>0){var w=this.playersAway.findIndex(B=>B.playerId==a.player_id);w!=-1&&(this.playersAway[w].goals+=1,this.playersAway[w].goalsMin.push(a.minute),this.playersAway[w].idsGoals.push(a.play_id))}}if(a.event_type_id==2){if(a.category_id==8){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var b=this.playersHome.findIndex(B=>B.playerId==a.player_id);b!=-1&&(this.playersHome[b].yellowcards+=1,this.playersHome[b].yellowcardsMin=a.minute,this.playersHome[b].idyellowcards=a.play_id)}}else if(this.playersAway.length>0){var E=this.playersAway.findIndex(B=>B.playerId==a.player_id);E!=-1&&(this.playersAway[E].yellowcards+=1,this.playersAway[E].yellowcardsMin=a.minute,this.playersAway[E].idyellowcards=a.play_id)}}if(a.category_id==9){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var x=this.playersHome.findIndex(B=>B.playerId==a.player_id);x!=-1&&(this.playersHome[x].redcards+=1,this.playersHome[x].redcardsMin=a.minute,this.playersHome[x].idredcards=a.play_id)}}else if(this.playersAway.length>0){var V=this.playersAway.findIndex(B=>B.playerId==a.player_id);V!=-1&&(this.playersAway[V].redcards+=1,this.playersAway[V].redcardsMin=a.minute,this.playersAway[V].idredcards=a.play_id)}}}},delete_mxm(e,a){if(this.playersHome.length>0)for(let o=0;o<this.playersHome.length;o++)this.playersHome[o].idSubstitution==a.play_id&&(this.playersHome[o].substitutionOut=!1,this.playersHome[o].substitutionIn=!1,this.playersHome[o].substitutionMin="",this.playersHome[o].substitutionDataID="",this.playersHome[o].idSubstitution=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idSubstitution==a.play_id&&(this.playersAway[o].substitutionOut=!1,this.playersAway[o].substitutionIn=!1,this.playersAway[o].substitutionMin="",this.playersAway[o].substitutionDataID="",this.playersAway[o].idSubstitution=0);if(this.playersHome.length>0)for(let o=0;o<this.playersHome.length;o++){const s=this.playersHome[o].idsGoals.findIndex(n=>n==a.play_id);s!=-1&&(this.playersHome[o].goals=this.playersHome[o].goals-1,this.playersHome[o].goalsMin.splice(s,1),this.playersHome[o].idsGoals.splice(s,1))}if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++){const s=this.playersAway[o].idsGoals.findIndex(n=>n==a.play_id);s!=-1&&(this.playersAway[o].goals=this.playersAway[o].goals-1,this.playersAway[o].goalsMin.splice(s,1),this.playersAway[o].idsGoals.splice(s,1))}if(this.playersHome.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersHome[o].idyellowcards==a.play_id&&(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idyellowcards==a.play_id&&(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0);if(this.playersHome.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersHome[o].idredcards==a.play_id&&(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idredcards==a.play_id&&(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)},new_mxm(e,a){if(a.event_type_id==3){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var o=a.player_id.split("@"),s=this.playersHome.findIndex(g=>g.playerId==o[0]),n=this.playersHome.findIndex(g=>g.playerId==o[1]);s!=-1&&(this.playersHome[s].idSubstitution=a.play_id,this.playersHome[s].substitutionOut=!0,this.playersHome[s].substitutionMin=a.minute,this.playersHome[s].substitutionDataID=a.team_id+"@"+a.player_id),n!=-1&&(this.playersHome[n].idSubstitution=a.play_id,this.playersHome[n].substitutionIn=!0,this.playersHome[n].substitutionMin=a.minute,this.playersHome[n].substitutionDataID=a.team_id+"@"+a.player_id)}}else if(this.playersAway.length>0){var i=a.player_id.split("@"),r=this.playersAway.findIndex(g=>g.playerId==i[0]),c=this.playersAway.findIndex(g=>g.playerId==i[1]);s!=-1&&(this.playersAway[r].idSubstitution=a.play_id,this.playersAway[r].substitutionOut=!0,this.playersAway[r].substitutionMin=a.minute,this.playersAway[r].substitutionDataID=a.team_id+"@"+a.player_id),c!=-1&&(this.playersAway[c].idSubstitution=a.play_id,this.playersAway[c].substitutionIn=!0,this.playersAway[c].substitutionMin=a.minute,this.playersAway[c].substitutionDataID=a.team_id+"@"+a.player_id)}}if(a.event_type_id==1){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var h=this.playersHome.findIndex(g=>g.playerId==a.player_id);h!=-1&&(this.playersHome[h].goals+=1,this.playersHome[h].goalsMin.push(a.minute),this.playersHome[h].idsGoals.push(a.play_id))}}else if(this.playersAway.length>0){var d=this.playersAway.findIndex(g=>g.playerId==a.player_id);d!=-1&&(this.playersAway[d].goals+=1,this.playersAway[d].goalsMin.push(a.minute),this.playersAway[d].idsGoals.push(a.play_id))}}if(a.event_type_id==2){if(a.category_id==8){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var l=this.playersHome.findIndex(g=>g.playerId==a.player_id);l!=-1&&(this.playersHome[l].yellowcards+=1,this.playersHome[l].yellowcardsMin=a.minute,this.playersHome[l].idyellowcards=a.play_id)}}else if(this.playersAway.length>0){var m=this.playersAway.findIndex(g=>g.playerId==a.player_id);m!=-1&&(this.playersAway[m].yellowcards+=1,this.playersAway[m].yellowcardsMin=a.minute,this.playersAway[m].idyellowcards=a.play_id)}}if(a.category_id==9){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var p=this.playersHome.findIndex(g=>g.playerId==a.player_id);p!=-1&&(this.playersHome[p].redcards+=1,this.playersHome[p].redcardsMin=a.minute,this.playersHome[p].idredcards=a.play_id)}}else if(this.playersAway.length>0){var y=this.playersAway.findIndex(g=>g.playerId==a.player_id);y!=-1&&(this.playersAway[y].redcards+=1,this.playersAway[y].redcardsMin=a.minute,this.playersAway[y].idredcards=a.play_id)}}}}},methods:{async getLineUpProbablesHome3D(e){try{const w=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!w||!w.data)throw new Error("There is not lineups for this game.");if(w.data.home_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=w.data.home_team.players,w.data.home_team.starting_lineup[0].lineup.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0);for(let b=0;b<w.data.home_team.starting_lineup[0].lineup.length;b++){this.home_team_id=w.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+"_g.svg","home",0);var a=w.data.home_team.starting_lineup[0].lineup[b].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=w.data.home_team.starting_lineup[0].lineup[b].x,h=c*50/100,d=w.data.home_team.players.findIndex(E=>E.player_id==w.data.home_team.starting_lineup[0].lineup[b].player_id);this.playersHome.push({played:!0,name:w.data.home_team.starting_lineup[0].lineup[b].player_name,position:this.positions[w.data.home_team.players[d].position_id-1].name,position_id:w.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.starting_lineup[0].lineup[b].player_id+".png",nationality:w.data.home_team.players[d].nationality?w.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:w.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.starting_lineup[0].lineup[b].jersey_number,positionX:w.data.home_team.starting_lineup[0].lineup[b].y-13,positionY:h*.9,positionXOrigin:w.data.home_team.starting_lineup[0].lineup[b].y-17,positionYOrigin:w.data.home_team.starting_lineup[0].lineup[b].x-2,playerId:w.data.home_team.starting_lineup[0].lineup[b].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png"}if(this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0),w.data.home_team.bench){for(let b=0;b<w.data.home_team.bench.length;b++){this.subsTitle=!0;var l=w.data.home_team.bench[b].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=w.data.home_team.players.findIndex(E=>E.player_id==w.data.home_team.bench[b].playerID);this.playersHome.push({played:!1,name:w.data.home_team.bench[b].playerName,position:f!=-1?this.positions[w.data.home_team.players[f].position_id-1].name:"",position_id:w.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.bench[b].playerID+".png",nationality:f!=-1&&w.data.home_team.players[f].nationality?w.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?w.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.bench[b].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.home_team.bench[b].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.home_team.team_id})}this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0)}}if(w.data.away_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=w.data.away_team.players,w.data.away_team.starting_lineup[0].lineup.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0);for(let b=0;b<w.data.away_team.starting_lineup[0].lineup.length;b++){this.home_team_id=w.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+"_g.svg","home",0);var a=w.data.away_team.starting_lineup[0].lineup[b].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,_=w.data.away_team.starting_lineup[0].lineup[b].x;_=Math.abs(_-100);var h=_*50/100,k=w.data.away_team.starting_lineup[0].lineup[b].y;k=Math.abs(k-100);var d=w.data.away_team.players.findIndex(F=>F.player_id==w.data.away_team.starting_lineup[0].lineup[b].player_id);this.playersHome.push({played:!0,name:w.data.away_team.starting_lineup[0].lineup[b].player_name,position:this.positions[w.data.away_team.players[d].position_id-1].name,position_id:w.data.away_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.starting_lineup[0].lineup[b].player_id+".png",nationality:w.data.away_team.players[d].nationality?w.data.away_team.players[d].nationality.substring(0,3):"",imgNationality:w.data.away_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.starting_lineup[0].lineup[b].jersey_number,positionX:k-20,positionY:h*.9,positionXOrigin:w.data.away_team.starting_lineup[0].lineup[b].y-17,positionYOrigin:w.data.away_team.starting_lineup[0].lineup[b].x-2,playerId:w.data.away_team.starting_lineup[0].lineup[b].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.away_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png"}if(this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0),w.data.away_team.bench){for(let b=0;b<w.data.away_team.bench.length;b++){this.subsTitle=!0;var l=w.data.away_team.bench[b].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=w.data.away_team.players.findIndex(I=>I.player_id==w.data.away_team.bench[b].playerID);this.playersHome.push({played:!1,name:w.data.away_team.bench[b].playerName,position:f!=-1?this.positions[w.data.away_team.players[f].position_id-1].name:"",position_id:w.data.away_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.bench[b].playerID+".png",nationality:f!=-1&&w.data.away_team.players[f].nationality?w.data.away_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?w.data.away_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.bench[b].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.away_team.bench[b].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.away_team.team_id})}this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0)}}await this.getMXM(e)}catch(w){return Promise.reject(w)}},cleaneDataHome(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.dataPlayersHome=[],this.homeTeamLogo="",this.homeTeamName="",this.home_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneDataAway(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformAway="",this.uniformAwayG="",this.dataPlayersAway=[],this.awayTeamLogo="",this.awayTeamName="",this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},async getLineUpProbablesAway3D(e){try{const _=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!_||!_.data)throw new Error("There is not lineups for this game.");if(_.data.home_team.team_id==this.gameInfoheader.away_team){this.dataPlayersAway=_.data.home_team.players;for(let k=0;k<_.data.home_team.starting_lineup[0].lineup.length;k++){this.away_team_id=_.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.home_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.home_team.team_id+"_g.svg","away",0);var a=_.data.home_team.starting_lineup[0].lineup[k].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=_.data.home_team.starting_lineup[0].lineup[k].x;c=Math.abs(c-100);var h=100-(100-c)*50/100;h=h*.9;var d=_.data.home_team.players.findIndex(w=>w.player_id==_.data.home_team.starting_lineup[0].lineup[k].player_id);this.playersAway.push({played:!0,name:_.data.home_team.starting_lineup[0].lineup[k].player_name,position:this.positions[_.data.home_team.players[d].position_id-1].name,position_id:_.data.home_team.players[d].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.home_team.starting_lineup[0].lineup[k].player_id+".png",nationality:_.data.home_team.players[d].nationality?_.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:_.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.home_team.starting_lineup[0].lineup[k].jersey_number,positionX:_.data.home_team.starting_lineup[0].lineup[k].y-13,positionY:h,positionXOrigin:_.data.home_team.starting_lineup[0].lineup[k].y-17,positionYOrigin:_.data.home_team.starting_lineup[0].lineup[k].x-7,playerId:_.data.home_team.starting_lineup[0].lineup[k].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:_.data.home_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png"}if(this.playersAway.sort((k,w)=>k.position_id>w.position_id?1:w.position_id>k.position_id?-1:0),_.data.home_team.bench){for(let k=0;k<_.data.home_team.bench.length;k++){this.subsTitle=!0;var l=_.data.home_team.bench[k].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=_.data.home_team.players.findIndex(w=>w.player_id==_.data.home_team.bench[k].playerID);this.playersAway.push({played:!1,name:_.data.home_team.bench[k].playerName,position:f!=-1?this.positions[_.data.home_team.players[f].position_id-1].name:"",position_id:_.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.home_team.bench[k].playerID+".png",nationality:f!=-1&&_.data.home_team.players[f].nationality?_.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?_.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.home_team.bench[k].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:_.data.home_team.bench[k].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:_.data.home_team.team_id})}this.playersAway.sort((k,w)=>k.position_id>w.position_id?1:w.position_id>k.position_id?-1:0)}}if(_.data.away_team.team_id==this.gameInfoheader.away_team){this.dataPlayersAway=_.data.away_team.players;for(let k=0;k<_.data.away_team.starting_lineup[0].lineup.length;k++){this.away_team_id=_.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.away_team.team_id+"_g.svg","away",0);var a=_.data.away_team.starting_lineup[0].lineup[k].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=_.data.away_team.starting_lineup[0].lineup[k].x,h=100-(100-c)*50/100;h=h*.9;var d=_.data.away_team.players.findIndex(I=>I.player_id==_.data.away_team.starting_lineup[0].lineup[k].player_id);this.playersAway.push({played:!0,name:_.data.away_team.starting_lineup[0].lineup[k].player_name,position:this.positions[_.data.away_team.players[d].position_id-1].name,position_id:_.data.away_team.players[d].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.away_team.starting_lineup[0].lineup[k].player_id+".png",nationality:_.data.away_team.players[d].nationality?_.data.away_team.players[d].nationality.substring(0,3):"",imgNationality:_.data.away_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.away_team.starting_lineup[0].lineup[k].jersey_number,positionX:_.data.away_team.starting_lineup[0].lineup[k].y-13,positionY:h,positionXOrigin:_.data.away_team.starting_lineup[0].lineup[k].y-17,positionYOrigin:_.data.away_team.starting_lineup[0].lineup[k].x-7,playerId:_.data.away_team.starting_lineup[0].lineup[k].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:_.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png"}if(this.playersAway.sort((k,w)=>k.position_id>w.position_id?1:w.position_id>k.position_id?-1:0),_.data.away_team.bench){for(let k=0;k<_.data.away_team.bench.length;k++){this.subsTitle=!0;var l=_.data.away_team.bench[k].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=_.data.away_team.players.findIndex(z=>z.player_id==_.data.away_team.bench[k].playerID);this.playersAway.push({played:!1,name:_.data.away_team.bench[k].playerName,position:f!=-1?this.positions[_.data.away_team.players[f].position_id-1].name:"",position_id:_.data.away_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.away_team.bench[k].playerID+".png",nationality:f!=-1&&_.data.away_team.players[f].nationality?_.data.away_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?_.data.away_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.away_team.bench[k].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:_.data.away_team.bench[k].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:_.data.away_team.team_id})}this.playersAway.sort((k,w)=>k.position_id>w.position_id?1:w.position_id>k.position_id?-1:0)}}await this.getMXM(e)}catch(_){return Promise.reject(_)}},async getLineupProbablesHome(e){this.auxProbablesIDGameHome!=e.id&&(this.auxProbablesIDGameHome=e.id,this.homeTeam.acronym=this.homeTeamAbrev,this.cleaneDataHome(),this.getLineUpProbablesHome3D(e.id))},async getLineupProbablesAway(e){this.auxProbablesIDGameAway!=e.id&&(this.auxProbablesIDGameAway=e.id,this.visitingTeam.acronym=this.awayTeamAbrev,this.cleaneDataAway(),this.getLineUpProbablesAway3D(e.id))},async getLineupProbables(e){var a={season_id:e.season_id,game_id:e.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),await this.getLineUp(a.game_id)),this.lastGetGame=a.game_id},async changeCarouselItem(e){typeof e.game_id<"u"&&e.game_id!=this.gameInfoheader.id&&this.auxHistoricGameID!=e.game_id&&(this.auxHistoricGameID=e.game_id,this.cleaneData(),this.homeTeam.acronym=e.ht_abrev,this.visitingTeam.acronym=e.at_abrev,await this.getLineUp(e.game_id))},async changeCarouselItemRecent(e){if(e.selectedItem){var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.homeTeam.acronym=e.selectedItem.home_team_abbreviation,this.visitingTeam.acronym=e.selectedItem.away_team_abbreviation,this.cleaneData(),await this.getLineUp(a.game_id)),this.lastGetGame=a.game_id}},async getHeaderInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/seasons/"+e.season_id+"/games/"+e.game_id+"/lineups");if(this.gameInfoheader=a.data.game,this.selectedOption!="Postmatch"){for(let o=0;o<a.data.games_historic.length;o++)this.gamesHistoric.push({objgame:a.data.games_historic[o],game:a.data.games_historic[o].id,home_team_abbreviation:a.data.games_historic[o].home_team_abbreviation,away_team_abbreviation:a.data.games_historic[o].away_team_abbreviation,season:a.data.games_historic[o].season_id,description:a.data.games_historic[o].season_name+" | "+this.getRoundH(a.data.games_historic[o].matchday_abbreviation)+" | "+a.data.games_historic[o].home_team_abbreviation+" - "+a.data.games_historic[o].away_team_abbreviation});this.gamesRecientes[a.data.game.home_team_abbreviation]=[],this.gamesRecientes[a.data.game.away_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.home_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.away_team_abbreviation]=[];for(let o=0;o<a.data.home_team_games_recent.length;o++)this.gamesRecientes[a.data.game.home_team_abbreviation].push(a.data.home_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.home_team_abbreviation].push({name:this.getRound(a.data.home_team_games_recent[o].matchday_abbreviation),id:a.data.home_team_games_recent[o].matchday_id});for(let o=0;o<a.data.away_team_games_recent.length;o++)this.gamesRecientes[a.data.game.away_team_abbreviation].push(a.data.away_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.away_team_abbreviation].push({name:this.getRound(a.data.away_team_games_recent[o].matchday_abbreviation),id:a.data.away_team_games_recent[o].matchday_id})}},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},getRoundH(e){let a=e.replace("M","J");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},clickOnSelectOption(e){this.selectOptMenuheader=e,this.cleaneData(),this.auxProbablesIDGameAway=0,this.auxProbablesIDGameHome=0},async gameDataInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlGames+e.season_id+"/games/"+e.game_id);this.homeTeam=a.data.teams[0],this.homeTeamAbrev=a.data.teams[0].acronym,this.awayTeamAbrev=a.data.teams[1].acronym,this.visitingTeam=a.data.teams[1];const o=a.data.games.find(s=>s.game_id===Number(s.game_id));this.gameForAnalysis=o},cleaneData(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.uniformAway="",this.uniformAwayG="",this.dataPlayersHome=[],this.dataPlayersAway=[],this.homeTeamLogo="",this.awayTeamLogo="",this.homeTeamName="",this.awayTeamName="",this.home_team_id=0,this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},getDataSocket(){hs("lineups.game."+this.game.game_id),hs("mxm.game."+this.game.game_id),hs("lineups.bench.game."+this.game.game_id)},resetPlayUpdate(e,a,o,s){if(e=="Substitution")if(a=="Home"){var n=this.playersHome[o].substitutionDataID.split("@"),i=this.playersHome.findIndex(l=>l.playerId==n[1]),r=this.playersHome.findIndex(l=>l.playerId==n[2]);i!=-1&&(this.playersHome[i].substitutionOut=!1,this.playersHome[i].substitutionMin="",this.playersHome[i].substitutionDataID="",this.playersHome[i].idSubstitution=0),r!=-1&&(this.playersHome[r].substitutionIn=!1,this.playersHome[r].substitutionMin="",this.playersHome[r].substitutionDataID="",this.playersHome[r].idSubstitution=0)}else{var c=this.playersAway[o].substitutionDataID.split("@"),h=this.playersAway.findIndex(l=>l.playerId==c[1]),d=this.playersAway.findIndex(l=>l.playerId==c[2]);i!=-1&&(this.playersAway[h].substitutionOut=!1,this.playersAway[h].substitutionMin="",this.playersAway[h].substitutionDataID="",this.playersAway[h].idSubstitution=0),d!=-1&&(this.playersAway[d].substitutionIn=!1,this.playersAway[d].substitutionMin="",this.playersAway[d].substitutionDataID="",this.playersAway[d].idSubstitution=0)}e=="YellowCard"&&(a=="Home"?(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0):(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0)),e=="RedCard"&&(a=="Home"?(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0):(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)),e=="Goals"&&(a=="Home"?(this.playersHome[s].goals=this.playersHome[s].goals-1,this.playersHome[s].goalsMin.splice(o,1),this.playersHome[s].idsGoals.splice(o,1)):(this.playersAway[s].goals=this.playersAway[s].goals-1,this.playersAway[s].goalsMin.splice(o,1),this.playersAway[s].idsGoals.splice(o,1)))},setUpResizeObserver(){if(window.ResizeObserver)AC=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),AC.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getMXM(e){try{const y=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlMXM+e);for(let g=0;g<this.playersHome.length;g++)this.playersHome[g].goalsMin=[],this.playersHome[g].idsGoals=[];for(let g=0;g<this.playersAway.length;g++)this.playersAway[g].goalsMin=[],this.playersAway[g].idsGoals=[];for(let g=0;g<y.data.plays.length;g++){if(y.data.plays[g].event_type_id==3){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var a=y.data.plays[g].player_id.split("@"),o=this.playersHome.findIndex(u=>u.playerId==a[0]),s=this.playersHome.findIndex(u=>u.playerId==a[1]);o!=-1&&(this.playersHome[o].idSubstitution=y.data.plays[g].play_id,this.playersHome[o].substitutionOut=!0,this.playersHome[o].substitutionMin=y.data.plays[g].minute,this.playersHome[o].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id),s!=-1&&(this.playersHome[s].idSubstitution=y.data.plays[g].play_id,this.playersHome[s].substitutionIn=!0,this.playersHome[s].substitutionMin=y.data.plays[g].minute,this.playersHome[s].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id)}}else if(this.playersAway.length>0){var n=y.data.plays[g].player_id.split("@"),i=this.playersAway.findIndex(u=>u.playerId==n[0]),r=this.playersAway.findIndex(u=>u.playerId==n[1]);i!=-1&&(this.playersAway[i].idSubstitution=y.data.plays[g].play_id,this.playersAway[i].substitutionOut=!0,this.playersAway[i].substitutionMin=y.data.plays[g].minute,this.playersAway[i].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id),r!=-1&&(this.playersAway[r].idSubstitution=y.data.plays[g].play_id,this.playersAway[r].substitutionIn=!0,this.playersAway[r].substitutionMin=y.data.plays[g].minute,this.playersAway[r].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id)}}if(y.data.plays[g].event_type_id==1){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var c=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);c!=-1&&(this.playersHome[c].goals+=1,this.playersHome[c].goalsMin.push(y.data.plays[g].minute),this.playersHome[c].idsGoals.push(y.data.plays[g].play_id))}}else if(this.playersAway.length>0){var h=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);h!=-1&&(this.playersAway[h].goals+=1,this.playersAway[h].goalsMin.push(y.data.plays[g].minute),this.playersAway[h].idsGoals.push(y.data.plays[g].play_id))}}if(y.data.plays[g].event_type_id==2){if(y.data.plays[g].category_id==8){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var d=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);d!=-1&&(this.playersHome[d].yellowcards+=1,this.playersHome[d].yellowcardsMin=y.data.plays[g].minute,this.playersHome[d].idyellowcards=y.data.plays[g].play_id)}}else if(this.playersAway.length>0){var l=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);l!=-1&&(this.playersAway[l].yellowcards+=1,this.playersAway[l].yellowcardsMin=y.data.plays[g].minute,this.playersAway[l].idyellowcards=y.data.plays[g].play_id)}}if(y.data.plays[g].category_id==9){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var m=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);m!=-1&&(this.playersHome[m].redcards+=1,this.playersHome[m].redcardsMin=y.data.plays[g].minute,this.playersHome[m].idredcards=y.data.plays[g].play_id)}}else if(this.playersAway.length>0){var p=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);p!=-1&&(this.playersAway[p].redcards+=1,this.playersAway[p].redcardsMin=y.data.plays[g].minute,this.playersAway[p].idredcards=y.data.plays[g].play_id)}}}}}catch(y){return Promise.reject(y)}},async getLineUp(e){if(e!=null&&(mC(),!this.playersHome.length&&!this.playersHome.length))try{const C=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!C||!C.data)throw new Error("There is not lineups for this game.");this.cleaneData(),this.dataPlayersHome=C.data.home_team.players,this.dataPlayersAway=C.data.away_team.players,C.data.home_team.starting_lineup[0].lineup.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0);for(let N=0;N<C.data.home_team.starting_lineup[0].lineup.length;N++){this.home_team_id=C.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.home_team.team_id+"_g.svg","home",0);var a=C.data.home_team.starting_lineup[0].lineup[N].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=C.data.home_team.starting_lineup[0].lineup[N].x,h=c*50/100,d=C.data.home_team.players.findIndex(R=>R.player_id==C.data.home_team.starting_lineup[0].lineup[N].player_id);this.playersHome.push({played:!0,name:C.data.home_team.starting_lineup[0].lineup[N].player_name,position:this.positions[C.data.home_team.players[d].position_id-1].name,position_id:C.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.starting_lineup[0].lineup[N].player_id+".png",nationality:C.data.home_team.players[d].nationality?C.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:C.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.home_team.starting_lineup[0].lineup[N].jersey_number,positionX:C.data.home_team.starting_lineup[0].lineup[N].y-13,positionY:h*.9,positionXOrigin:C.data.home_team.starting_lineup[0].lineup[N].y-17,positionYOrigin:C.data.home_team.starting_lineup[0].lineup[N].x-2,playerId:C.data.home_team.starting_lineup[0].lineup[N].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:C.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png"}if(this.playersHome.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0),C.data.home_team.bench){for(let N=0;N<C.data.home_team.bench.length;N++){this.subsTitle=!0;var l=C.data.home_team.bench[N].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=C.data.home_team.players.findIndex(R=>R.player_id==C.data.home_team.bench[N].playerID);this.playersHome.push({played:!1,name:C.data.home_team.bench[N].playerName,position:f!=-1?this.positions[C.data.home_team.players[f].position_id-1].name:"",position_id:C.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.bench[N].playerID+".png",nationality:f!=-1&&C.data.home_team.players[f].nationality?C.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?C.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.home_team.bench[N].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:C.data.home_team.bench[N].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:C.data.home_team.team_id})}this.playersHome.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0)}for(let N=0;N<C.data.away_team.starting_lineup[0].lineup.length;N++){this.away_team_id=C.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.away_team.team_id+"_g.svg","away",0);var _=C.data.away_team.starting_lineup[0].lineup[N].player_name.split(","),k=_[0].split(" "),w=_[1].trim().split(" "),b="";k.length==2||k.length==1?k[0].length<4?b=k[0]+" "+k[1]:b=k[0]:k.length==3?b=k[0]+" "+k[1]:k.length==4&&(b=k[1]+" "+k[2]+" "+k[3]);var E=w[s.length-1]!=""?w[w.length-1].charAt(0):w[w.length-2]?w[w.length-2].charAt(0):"";b=b.replace(",","");var x=E+". "+b,V=C.data.away_team.starting_lineup[0].lineup[N].x,B=100-(100-V)*50/100;B=B*.9;var $=C.data.away_team.players.findIndex(R=>R.player_id==C.data.away_team.starting_lineup[0].lineup[N].player_id);this.playersAway.push({played:!0,name:C.data.away_team.starting_lineup[0].lineup[N].player_name,position:this.positions[C.data.away_team.players[$].position_id-1].name,position_id:C.data.away_team.players[$].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.starting_lineup[0].lineup[N].player_id+".png",nationality:C.data.away_team.players[$].nationality?C.data.away_team.players[$].nationality.substring(0,3):"",imgNationality:C.data.away_team.players[$].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:x,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.away_team.starting_lineup[0].lineup[N].jersey_number,positionX:C.data.away_team.starting_lineup[0].lineup[N].y-13,positionY:B,positionXOrigin:C.data.away_team.starting_lineup[0].lineup[N].y-17,positionYOrigin:C.data.away_team.starting_lineup[0].lineup[N].x-7,playerId:C.data.away_team.starting_lineup[0].lineup[N].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:C.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png"}if(this.playersAway.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0),C.data.away_team.bench){for(let N=0;N<C.data.away_team.bench.length;N++){this.subsTitle=!0;var z=C.data.away_team.bench[N].playerName.split(","),A=z[0].split(" "),I=z[1].trim().split(" "),F="";A.length==2||A.length==1?A[0].length<4?F=A[0]+" "+A[1]:F=A[0]:A.length==3?F=A[0]+" "+A[1]:A.length==4&&(F=A[1]+" "+A[2]+" "+A[3]);var ee=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";F=F.replace(",","");var re=ee+". "+F,Q=C.data.away_team.players.findIndex(R=>R.player_id==C.data.away_team.bench[N].playerID);this.playersAway.push({played:!1,name:C.data.away_team.bench[N].playerName,position:Q!=-1?this.positions[C.data.away_team.players[Q].position_id-1].name:"",position_id:C.data.away_team.players[Q].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.bench[N].playerID+".png",nationality:Q!=-1&&C.data.away_team.players[Q].nationality?C.data.away_team.players[Q].nationality.substring(0,3):"",imgNationality:Q!=-1?C.data.away_team.players[Q].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:re,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.away_team.bench[N].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:C.data.away_team.bench[N].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:C.data.away_team.team_id})}this.playersAway.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0)}await this.getMXM(e)}catch(C){return Promise.reject(C)}},closeChange(){this.subsActive=!1},imageExists(e,a,o){var s=new XMLHttpRequest,n=0;a=="away"?o==1?this.uniformAway==""&&(s.open("HEAD",e,!1),s.send(),n=1):this.uniformAwayG==""&&(s.open("HEAD",e,!1),s.send(),n=1):o==1?this.uniformHome==""&&(s.open("HEAD",e,!1),s.send(),n=1):this.uniformHomeG==""&&(s.open("HEAD",e,!1),s.send(),n=1),n==1&&(s.status==200?a=="away"?o==1?this.uniformAway="url("+e+")":this.uniformAwayG="url("+e+")":o==1?this.uniformHome="url("+e+")":this.uniformHomeG="url("+e+")":a=="away"?o==1?this.uniformAway="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita.svg)":this.uniformAwayG="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita_g.svg)":o==1?this.uniformHome="url(https://az755631.vo.msecnd.net/jersey-teams/default_local.svg)":this.uniformHomeG="url(https://az755631.vo.msecnd.net/jersey-teams/default_local_g.svg)")},viewChange(e){var a=e.split("@");if(a[0]==this.home_team_id){var o=this.playersHome.findIndex(r=>r.playerId==a[1]),s=this.playersHome.findIndex(r=>r.playerId==a[2]);o!=-1?(this.substitutionModal.min=this.playersHome[o].substitutionMin,this.substitutionModal.in.name=this.playersHome[o].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersHome[o].imgTeam,this.substitutionModal.in.shirt_number=this.playersHome[o].shirt_number,this.substitutionModal.in.playerImg=this.playersHome[o].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersHome[o].imgNationality):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),s!=-1?(this.substitutionModal.out.name=this.playersHome[s].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersHome[s].imgTeam,this.substitutionModal.out.playerImg=this.playersHome[s].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersHome[s].imgNationality,this.substitutionModal.out.shirt_number=this.playersHome[s].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}else{var n=this.playersAway.findIndex(r=>r.playerId==a[1]),i=this.playersAway.findIndex(r=>r.playerId==a[2]);n!=-1?(this.substitutionModal.min=this.playersAway[n].substitutionMin,this.substitutionModal.in.name=this.playersAway[n].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersAway[n].imgTeam,this.substitutionModal.in.playerImg=this.playersAway[n].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersAway[n].imgNationality,this.substitutionModal.in.shirt_number=this.playersAway[n].shirt_number):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),i!=-1?(this.substitutionModal.out.name=this.playersAway[i].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersAway[i].imgTeam,this.substitutionModal.out.playerImg=this.playersAway[i].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersAway[i].imgNationality,this.substitutionModal.out.shirt_number=this.playersAway[i].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}this.subsActive=!0},viewLineupTeam(e){this.teamActive=e}}},oxe={class:"size-browser-class"},sxe={class:"lineup-players is-centered"},nxe={style:{width:"92%",margin:"0 auto","margin-top":"10px"}},ixe={class:"modal-substitutions__substitution-container"},rxe={class:"modal-substitutions__substitution-container__header"},lxe={style:{"margin-left":"32px"}},cxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn-close.png"},null,-1),dxe=[cxe],mxe={class:"modal-substitutions__substitution-container__players-container"},pxe={class:"substitution-player-data-container"},hxe={class:"substitution-player-data-container__img-player"},gxe=["src"],yxe={class:"substitution-player-data-container__img-player__team"},uxe=["src"],fxe={class:"substitution-player-data-container__name-player"},_xe={class:"substitution-player-data-container__position-player"},bxe={class:"substitution-player-data-container__shirt-player",style:{"padding-left":"30px"}},wxe={key:0,class:"substitution-player-data-container__shirt-player__circle"},Cxe={key:1},kxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_salio.png"},null,-1),Sxe=[kxe],Exe={class:"substitution-player-data-container__substitution-player"},Nxe={class:"substitution-indicator nomargin"},$xe=t.createElementVNode("div",null,[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_salio.png"})],-1),Bxe={class:"substitution-player-data-container__center"},xxe=t.createElementVNode("div",{class:"substitution-player-data-container__border"},null,-1),Vxe={class:"substitution-player-data-container__minute"},Ixe={class:"substitution-player-data-container"},Axe={class:"substitution-player-data-container__img-player"},Oxe=["src"],Txe={class:"substitution-player-data-container__img-player__team"},zxe=["src"],Fxe={class:"substitution-player-data-container__name-player"},Rxe={class:"substitution-player-data-container__position-player"},Pxe={class:"substitution-player-data-container__shirt-player",style:{"padding-right":"20px"}},Dxe={key:0},Lxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_ingreso.png"},null,-1),jxe=[Lxe],vxe={key:1,class:"substitution-player-data-container__shirt-player__circle"},Mxe={class:"substitution-player-data-container__substitution-player"},Hxe={class:"substitution-indicator nomargin"},Uxe=t.createElementVNode("div",null,[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_ingreso.png"})],-1),Gxe=["onClick"],Wxe=t.createElementVNode("img",{src:IC},null,-1),qxe=[Wxe],Jxe=["onClick"],Xxe=t.createElementVNode("img",{src:IC},null,-1),Zxe=[Xxe],Yxe={key:0,class:"cont-lineup-gsc-componente"},Kxe={class:"shield-team-cont homecolor"},Qxe=["src"],eVe={class:"shield-team-cont awaycolor"},tVe=["src"],aVe={key:0,class:"header-lineup-shield-team home"},oVe={class:"shield-team-cont homecolor"},sVe=["src"],nVe={class:"header-lineup-shield-team-wrapper"},iVe={class:"header-lineup-shield-team-wrapper header-lineup-shield-team-wrapper-spacer"},rVe=t.createElementVNode("div",{class:"line-substitutions"},"SUPLENTES",-1),lVe={key:0,class:"header-lineup-shield-team away"},cVe={class:"shield-team-cont awaycolor"},dVe=["src"],mVe={class:"header-lineup-shield-team-wrapper"},pVe={class:"header-lineup-shield-team-wrapper header-lineup-shield-team-wrapper-spacer"},hVe=t.createElementVNode("div",{class:"line-substitutions"},"SUPLENTES",-1),gVe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/graf-busqueda@3x.png",width:"74"},null,-1),yVe=[gVe],uVe=t.createElementVNode("br",null,null,-1);function fVe(e,a,o,s,n,i){const r=t.resolveComponent("HeaderPlayerPostmatch"),c=t.resolveComponent("HeaderPlayerHistorico"),h=t.resolveComponent("HeaderPlayerRecientes"),d=t.resolveComponent("HeaderPlayerProbables"),l=t.resolveComponent("CardPlayer");return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",oxe,t.toDisplayString(i.sizeBrowser),1),t.createElementVNode("div",sxe,[t.createElementVNode("div",nxe,[o.selectedOption=="Postmatch"?(t.openBlock(),t.createBlock(r,{key:0,onClickOnSelectOption:i.clickOnSelectOption,"option-selected":n.selectOptMenuheader,"width-size":n.gamesContainerWidth,"game-info":n.gameInfoheader,onInput:i.changeCarouselItem,"matchdays-default":n.matchdaysPerTeam,"game-historic":n.gamesHistoric},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","onInput","matchdays-default","game-historic"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n.selectOptMenuheader=="Historicos"?(t.openBlock(),t.createBlock(c,{key:0,onClickOnSelectOption:i.clickOnSelectOption,"option-selected":n.selectOptMenuheader,"width-size":n.gamesContainerWidth,"game-info":n.gameInfoheader,onInput:i.changeCarouselItem,"matchdays-default":n.matchdaysPerTeam,"game-historic":n.gamesHistoric,"game-recientes":Object.keys(n.gameInfoheader).length>0?n.gamesRecientes[n.gameInfoheader.home_team_abbreviation].length+n.gamesRecientes[n.gameInfoheader.away_team_abbreviation].length:0},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","onInput","matchdays-default","game-historic","game-recientes"])):t.createCommentVNode("",!0),n.selectOptMenuheader=="Recientes"?(t.openBlock(),t.createBlock(h,{key:1,onClickOnSelectOption:i.clickOnSelectOption,style:{"margin-bottom":"100px"},"option-selected":n.selectOptMenuheader,"width-size":n.gamesContainerWidth,"game-info":n.gameInfoheader,"player-home":n.playersHome,"player-away":n.playersAway,"matchdays-default":n.matchdaysPerTeam,onInput:i.changeCarouselItemRecent,"game-recientes":n.gamesRecientes},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","player-home","player-away","matchdays-default","onInput","game-recientes"])):t.createCommentVNode("",!0),n.selectOptMenuheader=="Probables"?(t.openBlock(),t.createBlock(d,{key:2,onClickOnSelectOption:i.clickOnSelectOption,style:{"margin-bottom":"80px"},"matchdays-default":n.matchdaysPerTeam,"option-selected":n.selectOptMenuheader,"width-size":n.gamesContainerWidth,"game-info":n.gameInfoheader,onChangehome:i.getLineupProbablesHome,onChangeaway:i.getLineupProbablesAway,"game-recientes":n.gamesRecientes},null,8,["onClickOnSelectOption","matchdays-default","option-selected","width-size","game-info","onChangehome","onChangeaway","game-recientes"])):t.createCommentVNode("",!0)],64)),t.createElementVNode("div",{class:t.normalizeClass(["lineup-players__container",{fallback:n.gamesContainerWidth===0}]),ref:"gamesContainer"},[t.createElementVNode("div",{class:t.normalizeClass(i.fieldcontainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(["modal-substitutions",n.subsActive?"activeSub":"deactiveSub"])},[t.createElementVNode("div",ixe,[t.createElementVNode("div",rxe,[t.createElementVNode("span",lxe,[t.createTextVNode("Cambio "),t.createElementVNode("span",{class:"close-susbtitutions",onClick:a[0]||(a[0]=m=>i.closeChange())},dxe)])]),t.createElementVNode("div",mxe,[t.createElementVNode("div",pxe,[t.createElementVNode("div",hxe,[n.substitutionModal.in.playerImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.substitutionModal.in.playerImg,width:"72",alt:"Jugador"},null,8,gxe)):t.createCommentVNode("",!0),t.createElementVNode("div",yxe,[n.substitutionModal.in.teamImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.substitutionModal.in.teamImg,width:"28",alt:"team"},null,8,uxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:"substitution-player-data-container__img-player__img-cont",style:t.normalizeStyle({backgroundImage:"url("+n.substitutionModal.in.nationalityimg+")"})},null,4)]),t.createElementVNode("div",fxe,t.toDisplayString(n.substitutionModal.in.name),1),t.createElementVNode("div",_xe,t.toDisplayString(n.substitutionModal.in.position),1),t.createElementVNode("div",bxe,[n.substitutionModal.in.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",wxe,t.toDisplayString(n.substitutionModal.in.shirt_number),1)):t.createCommentVNode("",!0),n.substitutionModal.in.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",Cxe,Sxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",Exe,[t.createElementVNode("template",null,[t.createElementVNode("div",Nxe,[t.createElementVNode("div",null,t.toDisplayString(n.substitutionModal.min)+"'",1),$xe])])])]),t.createElementVNode("div",Bxe,[xxe,t.createElementVNode("div",Vxe,t.toDisplayString(n.substitutionModal.min)+"'",1)]),t.createElementVNode("div",Ixe,[t.createElementVNode("div",Axe,[n.substitutionModal.out.playerImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.substitutionModal.out.playerImg,width:"72",alt:"Jugador"},null,8,Oxe)):t.createCommentVNode("",!0),t.createElementVNode("div",Txe,[n.substitutionModal.out.teamImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.substitutionModal.out.teamImg,width:"28",alt:"team"},null,8,zxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:"substitution-player-data-container__img-player__img-cont",style:t.normalizeStyle({backgroundImage:"url("+n.substitutionModal.out.nationalityimg+")"})},null,4)]),t.createElementVNode("div",Fxe,t.toDisplayString(n.substitutionModal.out.name),1),t.createElementVNode("div",Rxe,t.toDisplayString(n.substitutionModal.out.position),1),t.createElementVNode("div",Pxe,[n.substitutionModal.out.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",Dxe,jxe)):t.createCommentVNode("",!0),n.substitutionModal.out.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",vxe,t.toDisplayString(n.substitutionModal.out.shirt_number),1)):t.createCommentVNode("",!0)]),t.createElementVNode("div",Mxe,[t.createElementVNode("template",null,[t.createElementVNode("div",Hxe,[t.createElementVNode("div",null,t.toDisplayString(n.substitutionModal.min)+"'",1),Uxe])])])])])])],2),t.createElementVNode("div",{class:t.normalizeClass(i.canchacontainerClass)},[(n.gameForAnalysis.game_status==4||n.gameForAnalysis.game_status==1)&&n.gameForAnalysis.is_live==0&&i.numPlayer==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.notificationnolineupsClass])}," Las alineaciones estarán disponibles unos minutos antes de que inicie el partido. ",2)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"jersey_home"},[m.played?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.itemplayerfieldClass,n.gamesContainerWidth<740?n.teamActive=="home"?"active":"disabled":"",n.gamesContainerWidth<740?"movil":""]),style:t.normalizeStyle(n.movil?{top:m.positionXOrigin+"%",left:m.positionYOrigin+"%"}:{top:m.positionX+"%",left:m.positionY+2+"%"})},[t.createElementVNode("div",{class:t.normalizeClass(i.jerseyitemplayerClass),style:t.normalizeStyle(m.position!="Portero"?{backgroundImage:n.uniformHome}:{backgroundImage:n.uniformHomeG})},[t.createElementVNode("div",{class:t.normalizeClass([i.yellowcarddivclass,m.yellowcards>0&&m.redcards==0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.redcarddivClass,m.yellowcards==0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.yellowredcarddivClass,m.yellowcards>0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.goalcarddivClass,m.goals>0?"cardsDisplay":"cardsNotDisplay"])},null,2)],6),t.createElementVNode("div",{class:t.normalizeClass(i.infoplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.infonameplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(["num-item-new",[n.gamesContainerWidth<740?"movil":""]])},t.toDisplayString(m.shirt_number),3),t.createTextVNode(" "+t.toDisplayString(m.abrevNamePlayer),1)],2),m.substitutionIn||m.substitutionOut?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.infochangeplayeritemClass),onClick:y=>i.viewChange(m.substitutionDataID)},qxe,10,Gxe)):t.createCommentVNode("",!0)],2)],6)):t.createCommentVNode("",!0)],64))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"jersey_away"},[m.played?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.itemplayerfieldClass,n.gamesContainerWidth<740?n.teamActive=="away"?"active":"disabled":"",n.gamesContainerWidth<740?"movil":""]),style:t.normalizeStyle(n.movil?{top:m.positionXOrigin+"%",left:m.positionYOrigin+"%"}:{top:m.positionX+"%",left:m.positionY+"%"})},[t.createElementVNode("div",{class:t.normalizeClass(i.jerseyitemplayerClass),style:t.normalizeStyle(m.position!="Portero"?{backgroundImage:n.uniformAway}:{backgroundImage:n.uniformAwayG})},[t.createElementVNode("div",{class:t.normalizeClass([i.yellowcarddivclass,m.yellowcards>0&&m.redcards==0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.redcarddivClass,m.yellowcards==0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.yellowredcarddivClass,m.yellowcards>0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.goalcarddivClass,m.goals>0?"cardsDisplay":"cardsNotDisplay"])},null,2)],6),t.createElementVNode("div",{class:t.normalizeClass(i.infoplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.infonameplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(["num-item-new-away",[n.gamesContainerWidth<740?"movil":""]])},t.toDisplayString(m.shirt_number),3),t.createTextVNode(" "+t.toDisplayString(m.abrevNamePlayer),1)],2),m.substitutionIn||m.substitutionOut?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.infochangeplayeritemClass),onClick:y=>i.viewChange(m.substitutionDataID)},Zxe,10,Jxe)):t.createCommentVNode("",!0)],2)],6)):t.createCommentVNode("",!0)],64))),128))],2)],2),(n.gameForAnalysis.game_status==4||n.gameForAnalysis.game_status==1)&&n.gameForAnalysis.is_live==0&&i.numPlayer==0?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Yxe,[t.createElementVNode("div",{class:t.normalizeClass(i.containerlineupsClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.menuTeamsClass)},[t.createElementVNode("div",{class:"header-lineup-shield-team home",style:t.normalizeStyle([{cursor:"pointer"},n.teamActive=="home"?"background-color: #214e67; border-radius: 10px;":""]),onClick:a[1]||(a[1]=m=>i.viewLineupTeam("home"))},[t.createElementVNode("div",Kxe,[n.homeTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.homeTeamLogo,class:"gsc-logo-team",width:"28"},null,8,Qxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,t.toDisplayString(n.homeTeam.acronym),1)],4),t.createElementVNode("div",{class:"header-lineup-shield-team away",style:t.normalizeStyle([{cursor:"pointer"},n.teamActive=="away"?"background-color: #214e67; border-radius: 10px;":""]),onClick:a[2]||(a[2]=m=>i.viewLineupTeam("away"))},[t.createElementVNode("div",null,t.toDisplayString(n.visitingTeam.acronym),1),t.createElementVNode("div",eVe,[n.awayTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.awayTeamLogo,class:"gsc-logo-team",width:"28"},null,8,tVe)):t.createCommentVNode("",!0)])],4)],2),n.teamActive=="home"||n.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.containerClassHome)},[n.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",aVe,[t.createElementVNode("div",oVe,[n.homeTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.homeTeamLogo,class:"gsc-logo-team",width:"28"},null,8,sVe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,t.toDisplayString(n.homeTeam.acronym),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",nVe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[m.played?(t.openBlock(),t.createBlock(l,{key:0,type:1,position:i.positionClass,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"])):t.createCommentVNode("",!0)],64))),128))]),t.createElementVNode("div",iVe,[rVe,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[m.played?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(l,{key:0,type:1,position:i.positionClass,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"]))],64))),128))])],2)):t.createCommentVNode("",!0),n.teamActive=="away"||n.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containerClassAway)},[n.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",lVe,[t.createElementVNode("div",null,t.toDisplayString(n.visitingTeam.acronym),1),t.createElementVNode("div",cVe,[n.awayTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.awayTeamLogo,class:"gsc-logo-team",width:"28"},null,8,dVe)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),t.createElementVNode("div",mVe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"line_away"},[m.played?(t.openBlock(),t.createBlock(l,{key:0,type:2,position:i.positionClass2,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"])):t.createCommentVNode("",!0)],64))),128))]),t.createElementVNode("div",pVe,[hVe,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"line_away"},[m.played?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(l,{key:0,type:2,position:i.positionClass2,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"]))],64))),128))])],2)):t.createCommentVNode("",!0)],2)])),(n.gameForAnalysis.game_status==4||n.gameForAnalysis.game_status==1)&&n.gameForAnalysis.is_live==0&&i.numPlayer==0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containernolineups)},[t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__img-search",n.gamesContainerWidth<740?"movil":""])},yVe,2),t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__title-info",n.gamesContainerWidth<740?"movil":""])}," Alineaciones sin definir ",2),t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__subtitle-info",n.gamesContainerWidth<740?"movil":""])},[t.createTextVNode(" Los equipos no han presentado sus alineaciones. Estas "),uVe,t.createTextVNode("serán dadas minutos antes del inicio del partido. ")],2)],2)):t.createCommentVNode("",!0)],2)])])])}const _Ve=wt(axe,[["render",fVe]]),bVe={components:{GSCLineups2D:j6e,GSCLineups3D:_Ve},props:{selectedOption:{type:String,default:"Historicos"},game:{type:Object,default:()=>{}},type:{type:String,default:"2D"}},watch:{},data(){return{}},computed:{},methods:{}};function wVe(e,a,o,s,n,i){const r=t.resolveComponent("GSCLineups2D"),c=t.resolveComponent("GSCLineups3D");return t.openBlock(),t.createElementBlock("div",null,[o.type=="2D"?(t.openBlock(),t.createBlock(r,{key:0,"selected-option":o.selectedOption,game:o.game},null,8,["selected-option","game"])):t.createCommentVNode("",!0),o.type=="3D"?(t.openBlock(),t.createBlock(c,{key:1,"selected-option":o.selectedOption,game:o.game},null,8,["selected-option","game"])):t.createCommentVNode("",!0)])}const CVe=wt(bVe,[["render",wVe]]);function OC(e,a){return function(){return e.apply(a,arguments)}}const{toString:kVe}=Object.prototype,{getPrototypeOf:sy}=Object,hc=(e=>a=>{const o=kVe.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Ca=e=>(e=e.toLowerCase(),a=>hc(a)===e),gc=e=>a=>typeof a===e,{isArray:gs}=Array,Yn=gc("undefined");function SVe(e){return e!==null&&!Yn(e)&&e.constructor!==null&&!Yn(e.constructor)&&Lt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const TC=Ca("ArrayBuffer");function EVe(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&TC(e.buffer),a}const NVe=gc("string"),Lt=gc("function"),zC=gc("number"),yc=e=>e!==null&&typeof e=="object",$Ve=e=>e===!0||e===!1,uc=e=>{if(hc(e)!=="object")return!1;const a=sy(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},BVe=Ca("Date"),xVe=Ca("File"),VVe=Ca("Blob"),IVe=Ca("FileList"),AVe=e=>yc(e)&&Lt(e.pipe),OVe=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||Lt(e.append)&&((a=hc(e))==="formdata"||a==="object"&&Lt(e.toString)&&e.toString()==="[object FormData]"))},TVe=Ca("URLSearchParams"),zVe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kn(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let s,n;if(typeof e!="object"&&(e=[e]),gs(e))for(s=0,n=e.length;s<n;s++)a.call(null,e[s],s,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(s=0;s<r;s++)c=i[s],a.call(null,e[c],c,e)}}function FC(e,a){a=a.toLowerCase();const o=Object.keys(e);let s=o.length,n;for(;s-- >0;)if(n=o[s],a===n.toLowerCase())return n;return null}const RC=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),PC=e=>!Yn(e)&&e!==RC;function ny(){const{caseless:e}=PC(this)&&this||{},a={},o=(s,n)=>{const i=e&&FC(a,n)||n;uc(a[i])&&uc(s)?a[i]=ny(a[i],s):uc(s)?a[i]=ny({},s):gs(s)?a[i]=s.slice():a[i]=s};for(let s=0,n=arguments.length;s<n;s++)arguments[s]&&Kn(arguments[s],o);return a}const FVe=(e,a,o,{allOwnKeys:s}={})=>(Kn(a,(n,i)=>{o&&Lt(n)?e[i]=OC(n,o):e[i]=n},{allOwnKeys:s}),e),RVe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),PVe=(e,a,o,s)=>{e.prototype=Object.create(a.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},DVe=(e,a,o,s)=>{let n,i,r;const c={};if(a=a||{},e==null)return a;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)r=n[i],(!s||s(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&sy(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},LVe=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const s=e.indexOf(a,o);return s!==-1&&s===o},jVe=e=>{if(!e)return null;if(gs(e))return e;let a=e.length;if(!zC(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},vVe=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&sy(Uint8Array)),MVe=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=o.next())&&!s.done;){const n=s.value;a.call(e,n[0],n[1])}},HVe=(e,a)=>{let o;const s=[];for(;(o=e.exec(a))!==null;)s.push(o);return s},UVe=Ca("HTMLFormElement"),GVe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,s){return o.toUpperCase()+s}),DC=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),WVe=Ca("RegExp"),LC=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),s={};Kn(o,(n,i)=>{let r;(r=a(n,i,e))!==!1&&(s[i]=r||n)}),Object.defineProperties(e,s)},qVe=e=>{LC(e,(a,o)=>{if(Lt(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const s=e[o];if(Lt(s)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},JVe=(e,a)=>{const o={},s=n=>{n.forEach(i=>{o[i]=!0})};return gs(e)?s(e):s(String(e).split(a)),o},XVe=()=>{},ZVe=(e,a)=>(e=+e,Number.isFinite(e)?e:a),iy="abcdefghijklmnopqrstuvwxyz",jC="0123456789",vC={DIGIT:jC,ALPHA:iy,ALPHA_DIGIT:iy+iy.toUpperCase()+jC},YVe=(e=16,a=vC.ALPHA_DIGIT)=>{let o="";const{length:s}=a;for(;e--;)o+=a[Math.random()*s|0];return o};function KVe(e){return!!(e&&Lt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const QVe=e=>{const a=new Array(10),o=(s,n)=>{if(yc(s)){if(a.indexOf(s)>=0)return;if(!("toJSON"in s)){a[n]=s;const i=gs(s)?[]:{};return Kn(s,(r,c)=>{const h=o(r,n+1);!Yn(h)&&(i[c]=h)}),a[n]=void 0,i}}return s};return o(e,0)},eIe=Ca("AsyncFunction"),tIe=e=>e&&(yc(e)||Lt(e))&&Lt(e.then)&&Lt(e.catch),X={isArray:gs,isArrayBuffer:TC,isBuffer:SVe,isFormData:OVe,isArrayBufferView:EVe,isString:NVe,isNumber:zC,isBoolean:$Ve,isObject:yc,isPlainObject:uc,isUndefined:Yn,isDate:BVe,isFile:xVe,isBlob:VVe,isRegExp:WVe,isFunction:Lt,isStream:AVe,isURLSearchParams:TVe,isTypedArray:vVe,isFileList:IVe,forEach:Kn,merge:ny,extend:FVe,trim:zVe,stripBOM:RVe,inherits:PVe,toFlatObject:DVe,kindOf:hc,kindOfTest:Ca,endsWith:LVe,toArray:jVe,forEachEntry:MVe,matchAll:HVe,isHTMLForm:UVe,hasOwnProperty:DC,hasOwnProp:DC,reduceDescriptors:LC,freezeMethods:qVe,toObjectSet:JVe,toCamelCase:GVe,noop:XVe,toFiniteNumber:ZVe,findKey:FC,global:RC,isContextDefined:PC,ALPHABET:vC,generateString:YVe,isSpecCompliantForm:KVe,toJSONObject:QVe,isAsyncFn:eIe,isThenable:tIe};function Ne(e,a,o,s,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),s&&(this.request=s),n&&(this.response=n)}X.inherits(Ne,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:X.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const MC=Ne.prototype,HC={};["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=>{HC[e]={value:e}}),Object.defineProperties(Ne,HC),Object.defineProperty(MC,"isAxiosError",{value:!0}),Ne.from=(e,a,o,s,n,i)=>{const r=Object.create(MC);return X.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),Ne.call(r,e.message,a,o,s,n),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const aIe=null;function ry(e){return X.isPlainObject(e)||X.isArray(e)}function UC(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function GC(e,a,o){return e?e.concat(a).map(function(s,n){return s=UC(s),!o&&n?"["+s+"]":s}).join(o?".":""):a}function oIe(e){return X.isArray(e)&&!e.some(ry)}const sIe=X.toFlatObject(X,{},null,function(e){return/^is[A-Z]/.test(e)});function fc(e,a,o){if(!X.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=X.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,g){return!X.isUndefined(g[y])});const s=o.metaTokens,n=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(a);if(!X.isFunction(n))throw new TypeError("visitor must be a function");function h(y){if(y===null)return"";if(X.isDate(y))return y.toISOString();if(!c&&X.isBlob(y))throw new Ne("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(y)||X.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,g,u){let f=y;if(y&&!u&&typeof y=="object"){if(X.endsWith(g,"{}"))g=s?g:g.slice(0,-2),y=JSON.stringify(y);else if(X.isArray(y)&&oIe(y)||(X.isFileList(y)||X.endsWith(g,"[]"))&&(f=X.toArray(y)))return g=UC(g),f.forEach(function(_,k){!(X.isUndefined(_)||_===null)&&a.append(r===!0?GC([g],k,i):r===null?g:g+"[]",h(_))}),!1}return ry(y)?!0:(a.append(GC(u,g,i),h(y)),!1)}const l=[],m=Object.assign(sIe,{defaultVisitor:d,convertValue:h,isVisitable:ry});function p(y,g){if(!X.isUndefined(y)){if(l.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));l.push(y),X.forEach(y,function(u,f){(!(X.isUndefined(u)||u===null)&&n.call(a,u,X.isString(f)?f.trim():f,g,m))===!0&&p(u,g?g.concat(f):[f])}),l.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return p(e),a}function WC(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function ly(e,a){this._pairs=[],e&&fc(e,this,a)}const qC=ly.prototype;qC.append=function(e,a){this._pairs.push([e,a])},qC.toString=function(e){const a=e?function(o){return e.call(this,o,WC)}:WC;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function nIe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function JC(e,a,o){if(!a)return e;const s=o&&o.encode||nIe,n=o&&o.serialize;let i;if(n?i=n(a,o):i=X.isURLSearchParams(a)?a.toString():new ly(a,o).toString(s),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class iIe{constructor(){this.handlers=[]}use(a,o,s){return this.handlers.push({fulfilled:a,rejected:o,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){X.forEach(this.handlers,function(o){o!==null&&a(o)})}}const XC=iIe,ZC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rIe=typeof URLSearchParams<"u"?URLSearchParams:ly,lIe=typeof FormData<"u"?FormData:null,cIe=typeof Blob<"u"?Blob:null,dIe={isBrowser:!0,classes:{URLSearchParams:rIe,FormData:lIe,Blob:cIe},protocols:["http","https","file","blob","url","data"]},YC=typeof window<"u"&&typeof document<"u",mIe=(e=>YC&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),pIe=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),hIe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:YC,hasStandardBrowserEnv:mIe,hasStandardBrowserWebWorkerEnv:pIe},Symbol.toStringTag,{value:"Module"})),ka={...hIe,...dIe};function gIe(e,a){return fc(e,new ka.classes.URLSearchParams,Object.assign({visitor:function(o,s,n,i){return ka.isNode&&X.isBuffer(o)?(this.append(s,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function yIe(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function uIe(e){const a={},o=Object.keys(e);let s;const n=o.length;let i;for(s=0;s<n;s++)i=o[s],a[i]=e[i];return a}function KC(e){function a(o,s,n,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&X.isArray(n)?n.length:r,h?(X.hasOwnProp(n,r)?n[r]=[n[r],s]:n[r]=s,!c):((!n[r]||!X.isObject(n[r]))&&(n[r]=[]),a(o,s,n[r],i)&&X.isArray(n[r])&&(n[r]=uIe(n[r])),!c)}if(X.isFormData(e)&&X.isFunction(e.entries)){const o={};return X.forEachEntry(e,(s,n)=>{a(yIe(s),n,o,0)}),o}return null}function fIe(e,a,o){if(X.isString(e))try{return(a||JSON.parse)(e),X.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(o||JSON.stringify)(e)}const cy={transitional:ZC,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",s=o.indexOf("application/json")>-1,n=X.isObject(e);if(n&&X.isHTMLForm(e)&&(e=new FormData(e)),X.isFormData(e))return s?JSON.stringify(KC(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(n){if(o.indexOf("application/x-www-form-urlencoded")>-1)return gIe(e,this.formSerializer).toString();if((i=X.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return fc(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return n||s?(a.setContentType("application/json",!1),fIe(e)):e}],transformResponse:[function(e){const a=this.transitional||cy.transitional,o=a&&a.forcedJSONParsing,s=this.responseType==="json";if(e&&X.isString(e)&&(o&&!this.responseType||s)){const n=!(a&&a.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(i){if(n)throw i.name==="SyntaxError"?Ne.from(i,Ne.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ka.classes.FormData,Blob:ka.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{cy.headers[e]={}});const dy=cy,_Ie=X.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"]),bIe=e=>{const a={};let o,s,n;return e&&e.split(`
|
|
102
|
+
*/const gt={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},kC={itemsToShow:{default:gt.itemsToShow,type:Number},itemsToScroll:{default:gt.itemsToScroll,type:Number},wrapAround:{default:gt.wrapAround,type:Boolean},throttle:{default:gt.throttle,type:Number},snapAlign:{default:gt.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:gt.transition,type:Number},breakpoints:{default:gt.breakpoints,type:Object},autoplay:{default:gt.autoplay,type:Number},pauseAutoplayOnHover:{default:gt.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:gt.mouseDrag,type:Boolean},touchDrag:{default:gt.touchDrag,type:Boolean},dir:{default:gt.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:gt.i18n,type:Object},settings:{default(){return{}},type:Object}};function u8e({config:e,slidesCount:a}){const{snapAlign:o,wrapAround:s,itemsToShow:n=1}=e;if(s)return Math.max(a-1,0);let i;switch(o){case"start":i=a-n;break;case"end":i=a-1;break;case"center":case"center-odd":i=a-Math.ceil((n-.5)/2);break;case"center-even":i=a-Math.ceil(n/2);break;default:i=0;break}return Math.max(i,0)}function f8e({config:e,slidesCount:a}){const{wrapAround:o,snapAlign:s,itemsToShow:n=1}=e;let i=0;if(o||n>a)return i;switch(s){case"start":i=0;break;case"end":i=n-1;break;case"center":case"center-odd":i=Math.floor((n-1)/2);break;case"center-even":i=Math.floor((n-2)/2);break;default:i=0;break}return i}function Qg({val:e,max:a,min:o}){return a<o?e:Math.min(Math.max(e,o),a)}function _8e({config:e,currentSlide:a,slidesCount:o}){const{snapAlign:s,wrapAround:n,itemsToShow:i=1}=e;let r=a;switch(s){case"center":case"center-odd":r-=(i-1)/2;break;case"center-even":r-=(i-2)/2;break;case"end":r-=i-1;break}return n?r:Qg({val:r,max:o-i,min:0})}function SC(e){return e?e.reduce((a,o)=>{var s;return o.type===t.Fragment?[...a,...SC(o.children)]:((s=o.type)===null||s===void 0?void 0:s.name)==="CarouselSlide"?[...a,o]:a},[]):[]}function ey({val:e,max:a,min:o=0}){return e>a?ey({val:e-(a+1),max:a,min:o}):e<o?ey({val:e+(a+1),max:a,min:o}):e}function b8e(e,a){let o;return a?function(...s){const n=this;o||(e.apply(n,s),o=!0,setTimeout(()=>o=!1,a))}:e}function w8e(e,a){let o;return function(...s){o&&clearTimeout(o),o=setTimeout(()=>{e(...s),o=null},a)}}function C8e(e="",a={}){return Object.entries(a).reduce((o,[s,n])=>o.replace(`{${s}}`,String(n)),e)}var k8e=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},gt))),a=t.inject("currentSlide",t.ref(0)),o=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},C8e(e.i18n.itemXofY,{currentSlide:a.value+1,slidesCount:o.value}))}}),S8e=t.defineComponent({name:"Carousel",props:kC,setup(e,{slots:a,emit:o,expose:s}){var n;const i=t.ref(null),r=t.ref([]),c=t.ref(0),h=t.ref(0),d=t.reactive(Object.assign({},gt));let l=Object.assign({},gt),m;const p=t.ref((n=e.modelValue)!==null&&n!==void 0?n:0),y=t.ref(0),g=t.ref(0),u=t.ref(0),f=t.ref(0);let _,k;t.provide("config",d),t.provide("slidesCount",h),t.provide("currentSlide",p),t.provide("maxSlide",u),t.provide("minSlide",f),t.provide("slideWidth",c);function w(){m=Object.assign({},e.breakpoints),l=Object.assign(Object.assign(Object.assign({},l),e),{i18n:Object.assign(Object.assign({},l.i18n),e.i18n),breakpoints:void 0}),E(l)}function b(){if(!m||!Object.keys(m).length)return;const S=Object.keys(m).map(O=>Number(O)).sort((O,oe)=>+oe-+O);let T=Object.assign({},l);S.some(O=>{const oe=window.matchMedia(`(min-width: ${O}px)`).matches;return oe&&(T=Object.assign(Object.assign({},T),m[O])),oe}),E(T)}function E(S){Object.entries(S).forEach(([T,O])=>d[T]=O)}const x=w8e(()=>{b(),V()},16);function V(){if(!i.value)return;const S=i.value.getBoundingClientRect();c.value=S.width/d.itemsToShow}function B(){h.value<=0||(g.value=Math.ceil((h.value-1)/2),u.value=u8e({config:d,slidesCount:h.value}),f.value=f8e({config:d,slidesCount:h.value}),d.wrapAround||(p.value=Qg({val:p.value,max:u.value,min:f.value})))}t.onMounted(()=>{t.nextTick(()=>V()),setTimeout(()=>V(),1e3),b(),Le(),window.addEventListener("resize",x,{passive:!0}),o("init")}),t.onUnmounted(()=>{k&&clearTimeout(k),_&&clearInterval(_),window.removeEventListener("resize",x,{passive:!0})});let $=!1;const z={x:0,y:0},A={x:0,y:0},I=t.reactive({x:0,y:0}),F=t.ref(!1),ee=t.ref(!1),re=()=>{F.value=!0},Q=()=>{F.value=!1};function C(S){["INPUT","TEXTAREA","SELECT"].includes(S.target.tagName)||($=S.type==="touchstart",$||S.preventDefault(),!(!$&&S.button!==0||P.value)&&(z.x=$?S.touches[0].clientX:S.clientX,z.y=$?S.touches[0].clientY:S.clientY,document.addEventListener($?"touchmove":"mousemove",N,!0),document.addEventListener($?"touchend":"mouseup",R,!0)))}const N=b8e(S=>{ee.value=!0,A.x=$?S.touches[0].clientX:S.clientX,A.y=$?S.touches[0].clientY:S.clientY;const T=A.x-z.x,O=A.y-z.y;I.y=O,I.x=T},d.throttle);function R(){const S=d.dir==="rtl"?-1:1,T=Math.sign(I.x)*.4,O=Math.round(I.x/c.value+T)*S;if(O&&!$){const oe=Ae=>{Ae.stopPropagation(),window.removeEventListener("click",oe,!0)};window.addEventListener("click",oe,!0)}K(p.value-O),I.x=0,I.y=0,ee.value=!1,document.removeEventListener($?"touchmove":"mousemove",N,!0),document.removeEventListener($?"touchend":"mouseup",R,!0)}function Le(){!d.autoplay||d.autoplay<=0||(_=setInterval(()=>{d.pauseAutoplayOnHover&&F.value||te()},d.autoplay))}function se(){_&&(clearInterval(_),_=null),Le()}const P=t.ref(!1);function K(S){const T=d.wrapAround?S:Qg({val:S,max:u.value,min:f.value});p.value===T||P.value||(o("slide-start",{slidingToIndex:S,currentSlideIndex:p.value,prevSlideIndex:y.value,slidesCount:h.value}),P.value=!0,y.value=p.value,p.value=T,k=setTimeout(()=>{if(d.wrapAround){const O=ey({val:T,max:u.value,min:0});O!==p.value&&(p.value=O,o("loop",{currentSlideIndex:p.value,slidingToIndex:S}))}o("update:modelValue",p.value),o("slide-end",{currentSlideIndex:p.value,prevSlideIndex:y.value,slidesCount:h.value}),P.value=!1,se()},d.transition))}function te(){K(p.value+d.itemsToScroll)}function ae(){K(p.value-d.itemsToScroll)}const ne={slideTo:K,next:te,prev:ae};t.provide("nav",ne),t.provide("isSliding",P);const ie=t.computed(()=>_8e({config:d,currentSlide:p.value,slidesCount:h.value}));t.provide("slidesToScroll",ie);const ce=t.computed(()=>{const S=d.dir==="rtl"?-1:1,T=ie.value*c.value*S;return{transform:`translateX(${I.x-T}px)`,transition:`${P.value?d.transition:0}ms`,margin:d.wrapAround?`0 -${h.value*c.value}px`:"",width:"100%"}});function me(){w(),b(),B(),V(),se()}Object.keys(kC).forEach(S=>{["modelValue"].includes(S)||t.watch(()=>e[S],me)}),t.watch(()=>e.modelValue,S=>{S!==p.value&&K(Number(S))}),t.watch(h,B),o("before-init"),w();const xe={config:d,slidesCount:h,slideWidth:c,next:te,prev:ae,slideTo:K,currentSlide:p,maxSlide:u,minSlide:f,middleSlide:g};s({updateBreakpointsConfigs:b,updateSlidesData:B,updateSlideWidth:V,initDefaultConfigs:w,restartCarousel:me,slideTo:K,next:te,prev:ae,nav:ne,data:xe});const Re=a.default||a.slides,Pe=a.addons,ve=t.reactive(xe);return()=>{const S=SC(Re==null?void 0:Re(ve)),T=(Pe==null?void 0:Pe(ve))||[];S.forEach((Oe,Te)=>Oe.props.index=Te);let O=S;if(d.wrapAround){const Oe=S.map((ze,le)=>t.cloneVNode(ze,{index:-S.length+le,isClone:!0,key:`clone-before-${le}`})),Te=S.map((ze,le)=>t.cloneVNode(ze,{index:S.length+le,isClone:!0,key:`clone-after-${le}`}));O=[...Oe,...S,...Te]}r.value=S,h.value=Math.max(S.length,1);const oe=t.h("ol",{class:"carousel__track",style:ce.value,onMousedownCapture:d.mouseDrag?C:null,onTouchstartPassiveCapture:d.touchDrag?C:null},O),Ae=t.h("div",{class:"carousel__viewport"},oe);return t.h("section",{ref:i,class:{carousel:!0,"is-sliding":P.value,"is-dragging":ee.value,"is-hover":F.value,"carousel--rtl":d.dir==="rtl"},dir:d.dir,"aria-label":d.i18n.ariaGallery,tabindex:"0",onMouseenter:re,onMouseleave:Q},[Ae,T,t.h(k8e)])}}}),EC;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(EC||(EC={}));var E8e=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:a}){const o=t.inject("config",t.reactive(Object.assign({},gt))),s=t.inject("currentSlide",t.ref(0)),n=t.inject("slidesToScroll",t.ref(0)),i=t.inject("isSliding",t.ref(!1)),r=()=>e.index===s.value,c=()=>e.index===s.value-1,h=()=>e.index===s.value+1,d=()=>{const l=Math.floor(n.value),m=Math.ceil(n.value+o.itemsToShow-1);return e.index>=l&&e.index<=m};return()=>{var l;return t.h("li",{style:{width:`${100/o.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d(),"carousel__slide--active":r(),"carousel__slide--prev":c(),"carousel__slide--next":h(),"carousel__slide--sliding":i.value},"aria-hidden":!d()},(l=a.default)===null||l===void 0?void 0:l.call(a))}}});const N8e=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},$8e=e=>(t.pushScopeId("data-v-dd3cbf69"),e=e(),t.popScopeId(),e),B8e={class:"gsc-carousel"},x8e={key:0},V8e=$8e(()=>t.createElementVNode("div",null,"no hay",-1)),I8e=[V8e],A8e={class:"gsc-carousel__2d__slides"},O8e={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},T8e=["fill"],z8e={width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},F8e=["fill"],R8e={class:"gsc-carousel__2d__navigation"},P8e={width:"8",height:"15",viewBox:"0 0 8 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D8e=["stroke"],L8e={key:1,class:"gsc-carousel__2d__navigation__pagination"},j8e=["onClick"],v8e={width:"7",height:"15",viewBox:"0 0 7 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M8e=["stroke"],H8e={__name:"GSC-Carousel",props:{currentItemIndex:{type:Number,default:0},items:{type:Array,default:()=>[]},is3d:{type:Boolean,default:!1},isPaginationVisible:{type:Boolean,default:!1},areNavigationArrowsVisible:{type:Boolean,default:!0},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:e=>["propName","value"].every(a=>a in e)},navigationHeight:{type:Number,default:4},navigationBorderRadius:{type:Number,default:4},navigationColor:{type:String,default:"rgba(255, 255, 255, 0.4)"},navigationActiveColor:{type:String,default:"#cbee6b"},navigationActiveWidth:{type:Number,default:30},arrowsColor:{type:String,default:"#cbee6b"},wrapAround:{type:Boolean,default:!1},itemsToShow:{type:Number,default:1},isMainSlidePriority:{type:Boolean,default:!1},areSlidesArrowsVisible:{type:Boolean,default:!1},slideLeftArrowBackgroundImage:{type:String,default:"linear-gradient(to right, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},slideRightArrowBackgroundImage:{type:String,default:"linear-gradient(to left, rgba(13, 29, 41, 1), rgba(0, 0, 0, 0))"},areSlidesArrowsRounded:{type:Boolean,default:!1},slidesArrowsLeftAndRight:{type:String,default:"20px"},secondarySlidesOpacity:{type:Number,default:.8},marginTop:{type:String,default:"0"}},emits:["input","update:currentItemIndex"],setup(e,{expose:a,emit:o}){const s=e;t.useCssVars(u=>({"0d808f0f":e.slideLeftArrowBackgroundImage,"1e0ef2e5":e.slidesArrowsLeftAndRight,"66d12b5c":e.slideRightArrowBackgroundImage,"2b22a85a":e.marginTop,"1a842b02":e.secondarySlidesOpacity}));const n=t.ref(null),i=t.ref({}),r=t.ref(0),c=t.ref(!1);t.watch(n,u=>{u&&c.value?(c.value=!1,h(s.items)):u&&u.slideTo&&u.slideTo(r.value)},{deep:!0}),t.watch(()=>s.currentItemIndex,u=>{r.value!==u&&p(u)}),t.watch(()=>s.items,u=>{n.value?h(u):c.value=!0},{immediate:!0});function h(u){if(u&&u.length&&n.value){if(s.defaultItemByProp){const f=s.items.findIndex(_=>_[s.defaultItemByProp.propName]===s.defaultItemByProp.value);f!==-1?(r.value=f,i.value=u[f]):(r.value=0,i.value=u[0])}else r.value=s.defaultItemByIndex,i.value=u[s.defaultItemByIndex];n.value.slideTo&&n.value.slideTo(r.value),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}}function d(){n.value&&n.value.next()}function l(){n.value&&n.value.prev()}function m(){n.value&&n.value.updateSlideWidth()}function p(u){n.value&&n.value.slideTo(u)}function y(u){n.value.slideTo(u)}function g(u){const f=u.slidingToIndex<0?s.items.length-1:u.slidingToIndex===s.items.length?0:u.slidingToIndex;r.value=f,i.value=s.items[f],o("update:currentItemIndex",f),o("input",{selectedItem:i.value,selectedItemIndex:r.value})}return a({prev:l,next:d,updateSlideWidth:m,slideTo:p}),(u,f)=>(t.openBlock(),t.createElementBlock("div",B8e,[s.is3d?(t.openBlock(),t.createElementBlock("div",x8e,I8e)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["gsc-carousel__2d",{"main-slide-priority":e.isMainSlidePriority}])},[t.createElementVNode("div",A8e,[t.createVNode(t.unref(S8e),{ref_key:"carousel2d",ref:n,"items-to-show":e.itemsToShow,"wrap-around":e.wrapAround,onSlideStart:g},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,k)=>(t.openBlock(),t.createBlock(t.unref(E8e),{key:k},{default:t.withCtx(()=>[t.renderSlot(u.$slots,"default",{item:_},void 0,!0)]),_:2},1024))),128))]),_:3},8,["items-to-show","wrap-around"])]),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__arrow-left",onClick:f[0]||(f[0]=_=>n.value.prev())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",O8e,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.10399 9L8.62342 15.4393C9.12552 16.0251 9.12552 16.9749 8.62342 17.5607C8.12132 18.1464 7.30725 18.1464 6.80514 17.5607L0.376575 10.0607C-0.125528 9.47487 -0.125528 8.52512 0.376575 7.93934L6.80515 0.439339C7.30725 -0.146447 8.12132 -0.146447 8.62342 0.43934C9.12553 1.02513 9.12553 1.97487 8.62342 2.56066L3.10399 9Z",fill:e.arrowsColor},null,8,T8e)]))],2)])):t.createCommentVNode("",!0),e.areSlidesArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:1,class:"gsc-carousel__2d__arrow-right",onClick:f[1]||(f[1]=_=>d())},[t.createElementVNode("div",{class:t.normalizeClass(["gsc-carousel__2d__slide-button",{rounded:e.areSlidesArrowsRounded}])},[(t.openBlock(),t.createElementBlock("svg",z8e,[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.89601 9L0.376575 2.56066C-0.125528 1.97487 -0.125528 1.02513 0.376575 0.439339C0.878675 -0.146447 1.69275 -0.146447 2.19486 0.43934L8.62343 7.93934C9.12553 8.52513 9.12553 9.47487 8.62343 10.0607L2.19486 17.5607C1.69275 18.1464 0.878675 18.1464 0.376575 17.5607C-0.125528 16.9749 -0.125528 16.0251 0.376575 15.4393L5.89601 9Z",fill:e.arrowsColor},null,8,F8e)]))],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",R8e,[e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"gsc-carousel__2d__navigation__arrow-left",onClick:f[2]||(f[2]=_=>l())},[(t.openBlock(),t.createElementBlock("svg",P8e,[t.createElementVNode("path",{d:"M6.72998 13.894L1.46621 8.63028C0.84457 8.00863 0.84457 6.9914 1.46621 6.36976L6.72998 1.10599",stroke:s.arrowsColor},null,8,D8e)]))])):t.createCommentVNode("",!0),e.isPaginationVisible?(t.openBlock(),t.createElementBlock("div",L8e,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(_,k)=>(t.openBlock(),t.createElementBlock("div",{key:`i-${k}`,class:"gsc-carousel__2d__navigation__pagination__item",style:t.normalizeStyle({height:`${s.navigationHeight}px`,width:`${r.value===k?s.navigationActiveWidth:s.navigationActiveWidth/2}px`,borderRadius:`${s.navigationBorderRadius}px`,backgroundColor:`${r.value===k?s.navigationActiveColor:s.navigationColor}`,transition:"all 0.1s ease-in-out"}),onClick:w=>y(k)},null,12,j8e))),128))])):t.createCommentVNode("",!0),e.areNavigationArrowsVisible?(t.openBlock(),t.createElementBlock("div",{key:2,class:"gsc-carousel__2d__navigation__arrow-right",onClick:f[3]||(f[3]=_=>n.value.next())},[(t.openBlock(),t.createElementBlock("svg",v8e,[t.createElementVNode("path",{d:"M0.72998 1.10599L5.99375 6.36975C6.61539 6.9914 6.61539 8.00863 5.99375 8.63027L0.72998 13.894",stroke:s.arrowsColor},null,8,M8e)]))])):t.createCommentVNode("",!0)])],2))]))}},dc=N8e(H8e,[["__scopeId","data-v-dd3cbf69"]]),U8e=(e,a)=>{const o=e.__vccOpts||e;for(const[s,n]of a)o[s]=n;return o},ty={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))}}},NC=()=>{t.useCssVars(e=>({"1c960139":e.height,b2f635d8:e.borderWidthBtn,"06e99898":e.borderType,"55555c76":e.borderColor,"23b6d320":e.borderRadius,"22c97374":e.width,"22bb09fa":e.backgroundColor,c148da7c:e.cursorType,cce756fc:e.fontSize,cff98d60:e.fontStyle,"5123b3a5":e.fontFamily,"47bf58db":e.marginLeftStat,cadc8414:e.fontSizeStat}))},$C=ty.setup;ty.setup=$C?(e,a)=>(NC(),$C(e,a)):NC;const G8e=e=>(t.pushScopeId("data-v-fb269a1e"),e=e(),t.popScopeId(),e),W8e=["src"],q8e={key:1,class:"text"},J8e=["src"],X8e={class:"stats"},Z8e=G8e(()=>t.createElementVNode("img",{class:"iconstats",src:"https://az755631.vo.msecnd.net/todoelfut/playdes.png"},null,-1)),Y8e={class:"numstats"},K8e={class:"leyend"};function Q8e(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",null,[o.type==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["button",n.status&&o.typeOnOff&&"button-active"]),style:t.normalizeStyle([i.customStyle,n.status&&o.typeOnOff&&i.customActive]),onClick:a[0]||(a[0]=(...r)=>i.btnClick&&i.btnClick(...r))},[o.icon&&o.iconPosition.toLowerCase()==="left"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,W8e)):t.createCommentVNode("",!0),o.textValue?(t.openBlock(),t.createElementBlock("div",q8e,t.toDisplayString(o.textValue),1)):t.createCommentVNode("",!0),o.icon&&o.iconPosition.toLowerCase()==="right"?(t.openBlock(),t.createElementBlock("img",{key:2,class:"icon",style:t.normalizeStyle({width:o.iconSize}),src:o.icon},null,12,J8e)):t.createCommentVNode("",!0)],6)):t.createCommentVNode("",!0),o.type==1?(t.openBlock(),t.createElementBlock("div",{key:1,class:"button-target",onClick:a[1]||(a[1]=(...r)=>i.btnClick&&i.btnClick(...r))},[t.createElementVNode("div",X8e,[Z8e,t.createElementVNode("div",Y8e,t.toDisplayString(o.textStat),1)]),t.createElementVNode("div",K8e,t.toDisplayString(o.textCategory),1)])):t.createCommentVNode("",!0)])}const e6e=U8e(ty,[["render",Q8e],["__scopeId","data-v-fb269a1e"]]),t6e={class:"gsc-dropdown__main-container__item-selected"},a6e=["height","width"],o6e=["stroke"],s6e={class:"gsc-dropdown__items-container"},n6e=["onClick"],i6e={key:0,class:"gsc-dropdown__items-footer"},ay={__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"},listItemPadding:{type:String,default:"10px 12px"},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},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}},emits:["input","click-ready","update:modelValue"],setup(e,{emit:a}){const o=e,s=t.ref({}),n=t.ref(null),i=t.ref(o.isMultipleOption?-1:0),r=t.ref(!1);t.watch(()=>o.items,(y,g)=>{if(!o.modelValue&&(!o.onlyFirstTime||!g||!g.length)&&y&&y.length){if(o.defaultItemByProp){const u=o.items.findIndex(f=>f[o.defaultItemByProp.propName]===o.defaultItemByProp.value);u!==-1?(i.value=u,s.value=y[u]):(i.value=0,s.value=y[0])}else s.value=y[o.defaultItemByIndex];a("input",s.value)}},{immediate:!0}),t.watch(()=>o.modelValue,y=>{if(y){const g=o.items.findIndex(u=>typeof y=="object"?JSON.stringify(u)===JSON.stringify(y):u===y);g!==-1&&(i.value=g,s.value=o.items[g],a("update:modelValue",s.value))}},{immediate:!0});const c=t.computed(()=>({height:o.height,width:o.width,backgroundColor:o.backgroundColor,borderRadius:`${o.borderRadius}px`,border:`${o.borderType} ${o.borderWidth}px ${o.borderColor}`,color:o.color,"--hover-background-color":o.hoverBackgroundColor,"--list-item-padding":o.listItemPadding,"--list-background-color":o.listBackgroundColor,"--list-height":o.listHeight,"--list-item-selected-color":o.listItemSelectedColor,"--list-item-selected-background-color":o.listItemSelectedBackgroundColor,"--list-item-color":o.listItemColor,"--list-border-radius":`${o.listBorderRadius}`,"--list-border-color":o.listBorderColor,"--list-width":o.isListSameWidth?o.width:"fit-content","--list-border-width":`${o.listBorderWidth}px`,"--footer-border":`${o.footerBorderWidth}px solid ${o.footerBorderColor}`,"--dropdown-opacity":o.isDisabled?"0.5":"1","--dropdown-cursor":o.isDisabled?"not-allowed":"pointer","--dropdown-font-size":o.fontSize?o.fontSize:"14px"})),h=t.computed(()=>({height:`${o.arrowHeight}px`,width:`${o.arrowWidth}px`}));function d(){o.isDisabled||(r.value=!r.value)}function l(y){n.value&&!n.value.contains(y.target)&&(r.value=!1)}function m(y,g){o.isMultipleOption?i.value=-1:(i.value=g,r.value=!1),s.value=y,a("input",s.value),a("update:modelValue",s.value)}function p(){r.value=!1,a("click-ready")}return t.onMounted(()=>{document.addEventListener("click",l)}),t.onBeforeMount(()=>{document.removeEventListener("click",l)}),(y,g)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"dropDown",ref:n,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",t6e,[t.renderSlot(y.$slots,"default",{selectedItem:s.value})]),t.createElementVNode("div",{class:t.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":r.value}]),style:t.normalizeStyle(h.value)},[(t.openBlock(),t.createElementBlock("svg",{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,o6e)],8,a6e))],6)],4),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",s6e,[t.createElementVNode("div",null,[t.createElementVNode("div",{class:"gsc-dropdown__items",style:t.normalizeStyle({"margin-top":`${o.borderWidth}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(u,f)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["gsc-dropdown__items__item",{selected:f===i.value}]),key:f,onClick:_=>m(u,f)},[t.renderSlot(y.$slots,"availableItem",{item:u})],10,n6e))),128))],4),e.isFooterVisible?(t.openBlock(),t.createElementBlock("div",i6e,[t.createVNode(t.unref(e6e),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:p})])):t.createCommentVNode("",!0)])],512),[[t.vShow,r.value]])]),_:3})],4))}};let BC=null;const r6e={components:{LineupField:O3e,LineupRecentItem:U3e,LineupMainHeader:hCe,LineupFilter:FCe,MatchDetails:fC,GscSwitchComponent:Jn,GSCCarousel:dc,GSCDropdown:ay},props:{game:{type:Object,default:()=>{}},selectedOption:{type:String,default:"Recientes"},componentWidth:{type:Number,default:767,validator(e){return e>0}}},data(){return{selectedIndexOption:0,rivalHomeImg:"",rivalVisitImg:"",rivalHomeAbrev:"",updatehistoricos:0,rivalVisitAbrev:"",selectOptMenuheader:"Recientes",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",tokenPremium:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g",urlGames:"https://iwxfzq6e2h.execute-api.us-west-2.amazonaws.com/prod/v2/statisticsLeagueBySeason/",url:"https://tj4cepyjc4.execute-api.us-west-2.amazonaws.com/prod/lineups/",urlMXM:"https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",retries:3,teamActive:"home",subsActive:!1,playersHome:[],gamesContainerWidth:0,playersAway:[],subsTitle:!1,uniformHome:"",uniformHomeG:"",uniformAway:"",uniformAwayG:"",dataPlayersHome:[],dataPlayersAway:[],homeTeamLogo:"",awayTeamLogo:"",homeTeamName:"",awayTeamName:"",homeTeamAbrev:"",awayTeamAbrev:"",home_team_id:0,updateComponentAway:0,away_team_id:0,substitutionModal:{min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},isInsideClick:!1,homeTeam:{},headerInfoHistoricItemGame:{},visitingTeam:{},gameForAnalysis:{},movil:!1,auxProbablesIDGameHome:0,auxProbablesIDGameAway:0,positions:[{name:"Portero"},{name:"Defensa central"},{name:"Lateral por izquierda"},{name:"Lateral por derecha"},{name:"Volante por izquierda"},{name:"Volante por derecha"},{name:"Volante defensivo"},{name:"Volante ofensivo"},{name:"Delantero"},{name:"Desconocida"}],vDeleteFilter:!1,gameInfoheader:{},gamesHistoric:[],gamesRecientes:[],matchdaysPerTeam:[],lastGetGame:0,probablyTeam:{acronym:"NEX",img:k3e},localDetails:[],postmatchDescription:"Clausura 2018 I JOR 5 I CHI - ATL 12",showDetails:!1,foreignDetails:[],players:[],filterObject:{selectedFilterResults:["win","draw","lose"],selectedFilterTeam:["visit","local"]},updateCarouselGames:0,teamSelect:"",matchdaysFiltersUpdate:[],gamesFiltersUpdate:[]}},computed:{matchdaysFinal(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);return e},gameRecientesFilter(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);return e},matchHomeProbables(){return this.matchdaysPerTeam[this.gameInfoheader.home_team_abbreviation]},matchAwayProbables(){return this.matchdaysPerTeam[this.gameInfoheader.home_team_abbreviation]},sizeBrowser(){return this.gamesContainerWidth},numPlayer(){return Number(this.playersAway.length)+Number(this.playersHome.length)},benchFillHome(){return this.playersHome.length<this.playersAway.length?this.playersAway.length-this.playersHome.length:0},benchFillAway(){return this.playersAway.length<this.playersHome.length?this.playersHome.length-this.playersAway.length:0},mobileClass(){return this.calendarResizeObserver<768?"break-point-3":""}},async mounted(){if(document.addEventListener("click",this.handleOutsideClick),setTimeout(()=>{this.setUpResizeObserver()},500),this.game||this.$route.params.gameId)try{this.cleaneData(),this.getLineUp(this.game.game_id),await this.getHeaderInfo(this.game),this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter()}catch(e){throw new Error(e)}},beforeDestroy(){document.removeEventListener("click",this.handleOutsideClick)},watch:{selectedOption:{immediate:!1,async handler(e){this.cleaneData(),this.auxProbablesIDGameHome=0,this.auxProbablesIDGameAway=0,e==="Postmatch"&&await this.getLineUp(this.game.game_id),e==="Probables"&&await this.getHeaderInfo(this.game),e==="Recientes"&&(this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter(),await this.getLineUp(this.gameRecientesFilter[0].id)),e==="Historicos"&&(this.updatehistoricos+=1,this.gamesHistoric&&this.gamesHistoric.length>0&&this.gamesHistoric[0]&&this.gamesHistoric[0].game&&this.getLineUp(this.gamesHistoric[0].game))}},"$socket.connected":{immediate:!0,handler(e){e&&this.getDataSocket()}},game:{immediate:!0,handler:async function(e){try{e!==null&&e!==""&&typeof e>"u"&&(this.cleaneData(),await this.gameDataInfo(e),await this.getHeaderInfo(e),this.selectedOption=="Recientes"&&(this.teamSelect=this.gameInfoheader.home_team_abbreviation,await this.matchFilter(),await this.getLineUp(this.gameRecientesFilter[0].id)),this.selectedOption=="Historicos"&&(this.updatehistoricos+=1,this.gamesHistoric&&this.gamesHistoric.length>0&&this.gamesHistoric[0]&&this.gamesHistoric[0].game&&this.getLineUp(this.gamesHistoric[0].game)))}catch(a){throw new Error(a)}}}},methods:{clickOnDeleteFilter(){this.vDeleteFilter=!0,setTimeout(()=>{this.vDeleteFilter=!1},200)},clickready(){},handleInsideClick(){this.isInsideClick=!0},handleOutsideClick(e){this.$refs.targetElement&&!this.$refs.targetElement.contains(e.target)&&(this.isInsideClick=!1)},remplazarMxJor(e){return e.replace("M","JOR ")},changeSwitchRadio(e){typeof e!="object"&&(this.teamSelect=e,this.updateCarouselGames+=1,this.matchFilter())},matchFilter(){var e=[],a=[];if(Object.keys(this.filterObject).length>0){if(Object.keys(this.filterObject.selectedFilterTeam).length!=2)for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)this.filterObject.selectedFilterTeam[0]=="local"?this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect&&(e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_match_result}),a.push(this.gamesRecientes[this.teamSelect][o])):this.gamesRecientes[this.teamSelect][o].away_team_abbreviation==this.teamSelect&&(e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o]));else if(this.gamesRecientes[this.teamSelect])for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)e.push({name:this.gamesRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gamesRecientes[this.teamSelect][o].home_match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o])}else if(this.gamesRecientes[this.teamSelect])for(let o=0;o<this.gamesRecientes[this.teamSelect].length;o++)e.push({name:this.getRound(this.gamesRecientes[this.teamSelect][o].matchday_abbreviation),id:this.gamesRecientes[this.teamSelect][o].matchday_id,match_result:this.gamesRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gamesRecientes[this.teamSelect][o].home_match_result:this.gamesRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gamesRecientes[this.teamSelect][o]);this.gamesFiltersUpdate=a,this.matchdaysFiltersUpdate=e},changeFiltersModal(e){this.filterObject=e,this.matchFilter()},changeDropdownVisit(e){if(this.auxProbablesIDGameAway!=e.id){this.auxProbablesIDGameAway=e.id;const a=this.gamesRecientes[this.gameInfoheader.away_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalVisitAbrev=this.gameInfoheader.away_team_abbreviation==this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation?this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].away_team_abbreviation:this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation,this.rivalVisitImg=this.gameInfoheader.away_team_abbreviation==this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].away_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].home_team+".png",this.cleaneDataProbablesAway(),this.getLineupDataProbablesAway(this.gamesRecientes[this.gameInfoheader.away_team_abbreviation][a].id)}},changeDropdownLocal(e){if(this.auxProbablesIDGameHome!=e.id){this.auxProbablesIDGameHome=e.id;const a=this.gamesRecientes[this.gameInfoheader.home_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalHomeAbrev=this.gameInfoheader.home_team_abbreviation==this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation?this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].home_team_abbreviation:this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation,this.rivalHomeImg=this.gameInfoheader.home_team_abbreviation==this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].home_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].away_team+".png",this.cleaneDataProbablesHome(),this.getLineupDataProbablesHome(this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][a].id)}},async getLineupProbables(e){var a={season_id:e.season_id,game_id:e.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id},async changeCarouselItemH(e){this.headerInfoHistoricItemGame=e.selectedItem.objgame;var a={season_id:e.selectedItem.season,game_id:e.selectedItem.game};this.cleaneData(),this.getLineUp(a.game_id)},changeDropdown(e){const a=this.gamesRecientes[this.teamSelect].findIndex(o=>o.matchday_id==e.id);a!=-1&&(this.selectedIndexOption=a)},getMinutesData(e){this.localDetails=[],this.foreignDetails=[];for(let a=0;a<e.home_goals_minutes.length;a++)this.localDetails.push({description:e.home_goals_minutes[a],icon:"goal"});for(let a=0;a<e.visiting_goals_minutes.length;a++)this.foreignDetails.push({description:e.visiting_goals_minutes[a],icon:"goal"});for(let a=0;a<e.home_yellow_cards_minutes.length;a++)this.localDetails.push({description:e.home_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.away_yellow_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.home_red_cards_minutes.length;a++)this.localDetails.push({description:e.home_red_cards_minutes[a],icon:"red-card"});for(let a=0;a<e.away_red_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_red_cards_minutes[a],icon:"red-card"})},async changeCarouselItem(e){this.keyUpdate+=1,this.getMinutesData(e.selectedItem.minutes),this.defaultDropItem={propName:"id",value:e.selectedItem.matchday_id};var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id,this.selectedIndexOption=e.selectedItemIndex},async changeCarouselItemRecent(e){if(e.selectedItem){var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),this.getLineUp(a.game_id)),this.lastGetGame=a.game_id}},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},getRoundH(e){let a=e.replace("M","J");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},async getHeaderInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/seasons/"+e.season_id+"/games/"+e.game_id+"/lineups");if(this.gameInfoheader=a.data.game,a.data.games_historic&&a.data.games_historic.length>0)for(let o=0;o<a.data.games_historic.length;o++)this.gamesHistoric.push({objgame:a.data.games_historic[o],game:a.data.games_historic[o].id,season:a.data.games_historic[o].season_id,description:a.data.games_historic[o].season_name+" | "+this.getRoundH(a.data.games_historic[o].matchday_abbreviation)+" | "+a.data.games_historic[o].home_team_abbreviation+" - "+a.data.games_historic[o].away_team_abbreviation});if(this.gamesRecientes[a.data.game.home_team_abbreviation]=[],this.gamesRecientes[a.data.game.away_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.home_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.away_team_abbreviation]=[],a.data.home_team_games_recent&&a.data.home_team_games_recent.length>0)for(let o=0;o<a.data.home_team_games_recent.length;o++)this.gamesRecientes[a.data.game.home_team_abbreviation].push(a.data.home_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.home_team_abbreviation].push({name:this.getRound(a.data.home_team_games_recent[o].matchday_abbreviation),id:a.data.home_team_games_recent[o].matchday_id});if(a.data.away_team_games_recent&&a.data.away_team_games_recent.length>0)for(let o=0;o<a.data.away_team_games_recent.length;o++)this.gamesRecientes[a.data.game.away_team_abbreviation].push(a.data.away_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.away_team_abbreviation].push({name:a.data.away_team_games_recent[o].matchday_abbreviation.replace("M","Jornada "),id:a.data.away_team_games_recent[o].matchday_id})},clickOnSelectOption(e){this.selectOptMenuheader=e},async gameDataInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlGames+e.season_id+"/games/"+e.game_id);this.homeTeam=a.data.teams[0],this.visitingTeam=a.data.teams[1];const o=a.data.games.find(s=>s.game_id===Number(s.game_id));this.gameForAnalysis=o},cleaneDataProbablesHome(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.dataPlayersHome=[],this.players=this.players.filter(e=>e.team_id!==this.gameInfoheader.home_team),this.homeTeamLogo="",this.homeTeamName="",this.homeTeamAbrev="",this.home_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneDataProbablesAway(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformAway="",this.uniformAwayG="",this.dataPlayersAway=[],this.awayTeamLogo="",this.awayTeamName="",this.players=this.players.filter(e=>e.team_id!==this.gameInfoheader.away_team),this.awayTeamAbrev="",this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneData(){this.lastGetGame=0,this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.uniformAway="",this.uniformAwayG="",this.dataPlayersHome=[],this.dataPlayersAway=[],this.homeTeamLogo="",this.awayTeamLogo="",this.homeTeamName="",this.awayTeamName="",this.homeTeamAbrev="",this.awayTeamAbrev="",this.home_team_id=0,this.players=[],this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},getDataSocket(){hs("lineups.game."+this.game.game_id),hs("mxm.game."+this.game.game_id),hs("lineups.bench.game."+this.game.game_id)},resetPlayUpdate(e,a,o,s){if(e=="Substitution")if(a=="Home"){var n=this.playersHome[o].substitutionDataID.split("@"),i=this.playersHome.findIndex(l=>l.playerId==n[1]),r=this.playersHome.findIndex(l=>l.playerId==n[2]);i!=-1&&(this.playersHome[i].substitutionOut=!1,this.playersHome[i].substitutionMin="",this.playersHome[i].substitutionDataID="",this.playersHome[i].idSubstitution=0),r!=-1&&(this.playersHome[r].substitutionIn=!1,this.playersHome[r].substitutionMin="",this.playersHome[r].substitutionDataID="",this.playersHome[r].idSubstitution=0)}else{var c=this.playersAway[o].substitutionDataID.split("@"),h=this.playersAway.findIndex(l=>l.playerId==c[1]),d=this.playersAway.findIndex(l=>l.playerId==c[2]);i!=-1&&(this.playersAway[h].substitutionOut=!1,this.playersAway[h].substitutionMin="",this.playersAway[h].substitutionDataID="",this.playersAway[h].idSubstitution=0),d!=-1&&(this.playersAway[d].substitutionIn=!1,this.playersAway[d].substitutionMin="",this.playersAway[d].substitutionDataID="",this.playersAway[d].idSubstitution=0)}e=="YellowCard"&&(a=="Home"?(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0):(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0)),e=="RedCard"&&(a=="Home"?(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0):(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)),e=="Goals"&&(a=="Home"?(this.playersHome[s].goals=this.playersHome[s].goals-1,this.playersHome[s].goalsMin.splice(o,1),this.playersHome[s].idsGoals.splice(o,1)):(this.playersAway[s].goals=this.playersAway[s].goals-1,this.playersAway[s].goalsMin.splice(o,1),this.playersAway[s].idsGoals.splice(o,1)))},setUpResizeObserver(){if(window.ResizeObserver)BC=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),BC.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getMXM(e){try{const y=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlMXM+e);for(let g=0;g<y.data.plays.length;g++){if(y.data.plays[g].event_type_id==3){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var a=y.data.plays[g].player_id.split("@"),o=this.playersHome.findIndex(u=>u.playerId==a[0]),s=this.playersHome.findIndex(u=>u.playerId==a[1]);o!=-1&&(this.playersHome[o].idSubstitution=y.data.plays[g].play_id,this.playersHome[o].substitutionOut=!0,this.playersHome[o].substitutionMin=y.data.plays[g].minute,this.playersHome[o].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id),s!=-1&&(this.playersHome[s].idSubstitution=y.data.plays[g].play_id,this.playersHome[s].substitutionIn=!0,this.playersHome[s].substitutionMin=y.data.plays[g].minute,this.playersHome[s].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id)}}else if(this.playersAway.length>0){var n=y.data.plays[g].player_id.split("@"),i=this.playersAway.findIndex(u=>u.playerId==n[0]),r=this.playersAway.findIndex(u=>u.playerId==n[1]);i!=-1&&(this.playersAway[i].idSubstitution=y.data.plays[g].play_id,this.playersAway[i].substitutionOut=!0,this.playersAway[i].substitutionMin=y.data.plays[g].minute,this.playersAway[i].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id),r!=-1&&(this.playersAway[r].idSubstitution=y.data.plays[g].play_id,this.playersAway[r].substitutionIn=!0,this.playersAway[r].substitutionMin=y.data.plays[g].minute,this.playersAway[r].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id)}}if(y.data.plays[g].event_type_id==1){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var c=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);c!=-1&&(this.playersHome[c].goals+=1,this.playersHome[c].goalsMin.push(y.data.plays[g].minute),this.playersHome[c].idsGoals.push(y.data.plays[g].play_id))}}else if(this.playersAway.length>0){var h=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);h!=-1&&(this.playersAway[h].goals+=1,this.playersAway[h].goalsMin.push(y.data.plays[g].minute),this.playersAway[h].idsGoals.push(y.data.plays[g].play_id))}}if(y.data.plays[g].event_type_id==2){if(y.data.plays[g].category_id==8){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var d=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);d!=-1&&(this.playersHome[d].yellowcards+=1,this.playersHome[d].yellowcardsMin=y.data.plays[g].minute,this.playersHome[d].idyellowcards=y.data.plays[g].play_id)}}else if(this.playersAway.length>0){var l=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);l!=-1&&(this.playersAway[l].yellowcards+=1,this.playersAway[l].yellowcardsMin=y.data.plays[g].minute,this.playersAway[l].idyellowcards=y.data.plays[g].play_id)}}if(y.data.plays[g].category_id==9){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var m=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);m!=-1&&(this.playersHome[m].redcards+=1,this.playersHome[m].redcardsMin=y.data.plays[g].minute,this.playersHome[m].idredcards=y.data.plays[g].play_id)}}else if(this.playersAway.length>0){var p=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);p!=-1&&(this.playersAway[p].redcards+=1,this.playersAway[p].redcardsMin=y.data.plays[g].minute,this.playersAway[p].idredcards=y.data.plays[g].play_id)}}}}}catch(y){return Promise.reject(y)}},async getLineupDataProbablesAway(e){try{const h=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!h||!h.data)throw new Error("There is not lineups for this game.");if(h.data.home_team.team_id==this.gameInfoheader.away_team){for(let d=0;d<h.data.home_team.starting_lineup[0].lineup.length;d++){this.away_team_id=h.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.home_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.home_team.team_id+"_g.svg","away",0);var a=h.data.home_team.starting_lineup[0].lineup[d].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=h.data.home_team.starting_lineup[0].lineup[d].x;r=Math.abs(r-100);var c=100-(100-r)*50/100;c=c*.9,this.players.push({team_id:h.data.home_team.team_id,number:h.data.home_team.starting_lineup[0].lineup[d].jersey_number,isFirstTeam:!1,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+h.data.home_team.starting_lineup[0].lineup[d].player_id+".png",posX:c+7,posY:h.data.home_team.starting_lineup[0].lineup[d].y}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+h.data.home_team.team_id+".png"}this.playersAway.sort((d,l)=>d.position_id>l.position_id?1:l.position_id>d.position_id?-1:0)}if(h.data.away_team.team_id==this.gameInfoheader.away_team)for(let d=0;d<h.data.away_team.starting_lineup[0].lineup.length;d++){this.away_team_id=h.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+h.data.away_team.team_id+"_g.svg","away",0);var a=h.data.away_team.starting_lineup[0].lineup[d].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=h.data.away_team.starting_lineup[0].lineup[d].x,c=100-(100-r)*50/100;c=c*.9,this.players.push({team_id:h.data.away_team.team_id,number:h.data.away_team.starting_lineup[0].lineup[d].jersey_number,isFirstTeam:!1,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+h.data.away_team.starting_lineup[0].lineup[d].player_id+".png",posX:100-(100-h.data.away_team.starting_lineup[0].lineup[d].x)*50/100,posY:h.data.away_team.starting_lineup[0].lineup[d].y}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+h.data.away_team.team_id+".png"}}catch(h){return Promise.reject(h)}},async getLineupDataProbablesHome(e){try{const l=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!l||!l.data)throw new Error("There is not lineups for this game.");if(l.data.home_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=l.data.home_team.players,l.data.home_team.starting_lineup[0].lineup.sort((m,p)=>m.position_id>p.position_id?1:p.position_id>m.position_id?-1:0);for(let m=0;m<l.data.home_team.starting_lineup[0].lineup.length;m++){this.home_team_id=l.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.home_team.team_id+"_g.svg","home",0);var a=l.data.home_team.starting_lineup[0].lineup[m].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=l.data.home_team.starting_lineup[0].lineup[m].x,c=r*50/100;this.players.push({team_id:l.data.home_team.team_id,number:l.data.home_team.starting_lineup[0].lineup[m].jersey_number,isFirstTeam:!0,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+l.data.home_team.starting_lineup[0].lineup[m].player_id+".png",posX:l.data.home_team.starting_lineup[0].lineup[m].x*50/100,posY:l.data.home_team.starting_lineup[0].lineup[m].y}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+l.data.home_team.team_id+".png"}}if(l.data.away_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=l.data.away_team.players,l.data.away_team.starting_lineup[0].lineup.sort((m,p)=>m.position_id>p.position_id?1:p.position_id>m.position_id?-1:0);for(let m=0;m<l.data.away_team.starting_lineup[0].lineup.length;m++){this.home_team_id=l.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.away_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+l.data.away_team.team_id+"_g.svg","home",0);var a=l.data.away_team.starting_lineup[0].lineup[m].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var h=l.data.away_team.starting_lineup[0].lineup[m].x;h=Math.abs(h-100);var c=h*50/100,d=l.data.away_team.starting_lineup[0].lineup[m].y;d=Math.abs(d-100),this.players.push({team_id:l.data.away_team.team_id,number:l.data.away_team.starting_lineup[0].lineup[m].jersey_number,isFirstTeam:!0,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+l.data.away_team.starting_lineup[0].lineup[m].player_id+".png",posX:c-2,posY:d-9}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+l.data.away_team.team_id+".png"}}}catch(l){return Promise.reject(l)}},async getLineUp(e){if(mC(),!this.playersHome.length)try{const C=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!C||!C.data)throw new Error("There is not lineups for this game.");this.players=[],this.dataPlayersHome=C.data.home_team.players,this.dataPlayersAway=C.data.away_team.players,C.data.home_team.starting_lineup[0].lineup.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0);for(let N=0;N<C.data.home_team.starting_lineup[0].lineup.length;N++){this.home_team_id=C.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.home_team.team_id+"_g.svg","home",0);var a=C.data.home_team.starting_lineup[0].lineup[N].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=C.data.home_team.starting_lineup[0].lineup[N].x,h=c*50/100,d=C.data.home_team.players.findIndex(R=>R.player_id==C.data.home_team.starting_lineup[0].lineup[N].player_id);this.players.push({number:C.data.home_team.starting_lineup[0].lineup[N].jersey_number,isFirstTeam:!0,name:i+". "+n,photo:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.starting_lineup[0].lineup[N].player_id+".png",posX:C.data.home_team.starting_lineup[0].lineup[N].x*50/100,posY:C.data.home_team.starting_lineup[0].lineup[N].y}),this.playersHome.push({played:!0,name:C.data.home_team.starting_lineup[0].lineup[N].player_name,position:this.positions[C.data.home_team.players[d].position_id-1].name,position_id:C.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.starting_lineup[0].lineup[N].player_id+".png",nationality:C.data.home_team.players[d].nationality?C.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:C.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.home_team.starting_lineup[0].lineup[N].jersey_number,positionX:C.data.home_team.starting_lineup[0].lineup[N].y-13,positionY:h*.9,positionXOrigin:C.data.home_team.starting_lineup[0].lineup[N].y-17,positionYOrigin:C.data.home_team.starting_lineup[0].lineup[N].x-2,playerId:C.data.home_team.starting_lineup[0].lineup[N].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:C.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png"}if(this.playersHome.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0),C.data.home_team.bench){for(let N=0;N<C.data.home_team.bench.length;N++){this.subsTitle=!0;var l=C.data.home_team.bench[N].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=C.data.home_team.players.findIndex(R=>R.player_id==C.data.home_team.bench[N].playerID);this.playersHome.push({played:!1,name:C.data.home_team.bench[N].playerName,position:f!=-1?this.positions[C.data.home_team.players[f].position_id-1].name:"",position_id:C.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.bench[N].playerID+".png",nationality:f!=-1&&C.data.home_team.players[f].nationality?C.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?C.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.home_team.bench[N].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:C.data.home_team.bench[N].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:C.data.home_team.team_id})}this.playersHome.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0)}for(let N=0;N<C.data.away_team.starting_lineup[0].lineup.length;N++){this.away_team_id=C.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.away_team.team_id+"_g.svg","away",0);var _=C.data.away_team.starting_lineup[0].lineup[N].player_name.split(","),k=_[0].split(" "),w=_[1].trim().split(" "),b="";k.length==2||k.length==1?k[0].length<4?b=k[0]+" "+k[1]:b=k[0]:k.length==3?b=k[0]+" "+k[1]:k.length==4&&(b=k[1]+" "+k[2]+" "+k[3]);var E=w[s.length-1]!=""?w[w.length-1].charAt(0):w[w.length-2]?w[w.length-2].charAt(0):"";b=b.replace(",","");var x=E+". "+b,V=C.data.away_team.starting_lineup[0].lineup[N].x,B=100-(100-V)*50/100;B=B*.9;var $=C.data.away_team.players.findIndex(R=>R.player_id==C.data.away_team.starting_lineup[0].lineup[N].player_id);this.players.push({number:C.data.away_team.starting_lineup[0].lineup[N].jersey_number,isFirstTeam:!1,name:E+". "+b,photo:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.starting_lineup[0].lineup[N].player_id+".png",posX:100-(100-C.data.away_team.starting_lineup[0].lineup[N].x)*50/100,posY:C.data.away_team.starting_lineup[0].lineup[N].y}),this.playersAway.push({played:!0,name:C.data.away_team.starting_lineup[0].lineup[N].player_name,position:this.positions[C.data.away_team.players[$].position_id-1].name,position_id:C.data.away_team.players[$].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.starting_lineup[0].lineup[N].player_id+".png",nationality:C.data.away_team.players[$].nationality?C.data.away_team.players[$].nationality.substring(0,3):"",imgNationality:C.data.away_team.players[$].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:x,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.away_team.starting_lineup[0].lineup[N].jersey_number,positionX:C.data.away_team.starting_lineup[0].lineup[N].y-13,positionY:B,positionXOrigin:C.data.away_team.starting_lineup[0].lineup[N].y-17,positionYOrigin:C.data.away_team.starting_lineup[0].lineup[N].x-7,playerId:C.data.away_team.starting_lineup[0].lineup[N].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:C.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png"}if(this.playersAway.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0),C.data.away_team.bench){for(let N=0;N<C.data.away_team.bench.length;N++){this.subsTitle=!0;var z=C.data.away_team.bench[N].playerName.split(","),A=z[0].split(" "),I=z[1].trim().split(" "),F="";A.length==2||A.length==1?A[0].length<4?F=A[0]+" "+A[1]:F=A[0]:A.length==3?F=A[0]+" "+A[1]:A.length==4&&(F=A[1]+" "+A[2]+" "+A[3]);var ee=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";F=F.replace(",","");var re=ee+". "+F,Q=C.data.away_team.players.findIndex(R=>R.player_id==C.data.away_team.bench[N].playerID);this.playersAway.push({played:!1,name:C.data.away_team.bench[N].playerName,position:Q!=-1?this.positions[C.data.away_team.players[Q].position_id-1].name:"",position_id:C.data.away_team.players[Q].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.bench[N].playerID+".png",nationality:Q!=-1&&C.data.away_team.players[Q].nationality?C.data.away_team.players[Q].nationality.substring(0,3):"",imgNationality:Q!=-1?C.data.away_team.players[Q].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:re,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.away_team.bench[N].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:C.data.away_team.bench[N].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:C.data.away_team.team_id})}this.playersAway.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0)}this.game.prematch||this.getMXM(this.game.game_id)}catch(C){return Promise.reject(C)}},closeChange(){this.subsActive=!1},imageExists(e,a,o){var s=new XMLHttpRequest,n=0;a=="away"?o==1?this.uniformAway==""&&(s.open("HEAD",e,!1),s.send(),n=1):this.uniformAwayG==""&&(s.open("HEAD",e,!1),s.send(),n=1):o==1?this.uniformHome==""&&(s.open("HEAD",e,!1),s.send(),n=1):this.uniformHomeG==""&&(s.open("HEAD",e,!1),s.send(),n=1),n==1&&(s.status==200?a=="away"?o==1?this.uniformAway="url("+e+")":this.uniformAwayG="url("+e+")":o==1?this.uniformHome="url("+e+")":this.uniformHomeG="url("+e+")":a=="away"?o==1?this.uniformAway="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita.svg)":this.uniformAwayG="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita_g.svg)":o==1?this.uniformHome="url(https://az755631.vo.msecnd.net/jersey-teams/default_local.svg)":this.uniformHomeG="url(https://az755631.vo.msecnd.net/jersey-teams/default_local_g.svg)")},viewChange(e){var a=e.split("@");if(a[0]==this.home_team_id){var o=this.playersHome.findIndex(r=>r.playerId==a[1]),s=this.playersHome.findIndex(r=>r.playerId==a[2]);o!=-1?(this.substitutionModal.min=this.playersHome[o].substitutionMin,this.substitutionModal.in.name=this.playersHome[o].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersHome[o].imgTeam,this.substitutionModal.in.shirt_number=this.playersHome[o].shirt_number,this.substitutionModal.in.playerImg=this.playersHome[o].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersHome[o].imgNationality):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),s!=-1?(this.substitutionModal.out.name=this.playersHome[s].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersHome[s].imgTeam,this.substitutionModal.out.playerImg=this.playersHome[s].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersHome[s].imgNationality,this.substitutionModal.out.shirt_number=this.playersHome[s].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}else{var n=this.playersAway.findIndex(r=>r.playerId==a[1]),i=this.playersAway.findIndex(r=>r.playerId==a[2]);n!=-1?(this.substitutionModal.min=this.playersAway[n].substitutionMin,this.substitutionModal.in.name=this.playersAway[n].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersAway[n].imgTeam,this.substitutionModal.in.playerImg=this.playersAway[n].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersAway[n].imgNationality,this.substitutionModal.in.shirt_number=this.playersAway[n].shirt_number):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),i!=-1?(this.substitutionModal.out.name=this.playersAway[i].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersAway[i].imgTeam,this.substitutionModal.out.playerImg=this.playersAway[i].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersAway[i].imgNationality,this.substitutionModal.out.shirt_number=this.playersAway[i].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}this.subsActive=!0},viewLineupTeam(e){this.teamActive=e}}},Xn=e=>(t.pushScopeId("data-v-3e8dc5c2"),e=e(),t.popScopeId(),e),l6e={class:"lineup__header",ref:"gamesContainer"},c6e=Xn(()=>t.createElementVNode("h2",null,"Alineaciones",-1)),d6e={key:0,style:{width:"325px"}},m6e={class:"lineup__card"},p6e={key:0},h6e={key:1},g6e={key:2},y6e={key:3,class:"lineup__card-body"},u6e={key:0,class:"lineup__selector",style:{margin:"auto"}},f6e={class:"lineup__selector-item"},_6e={key:4,class:"lineup__card-body",style:{"flex-flow":"column"}},b6e={class:"lineup__filters"},w6e={class:"selector-tournaments"},C6e={class:"lineup__items-carousel"},k6e=Xn(()=>t.createElementVNode("div",null,null,-1)),S6e={class:"lineup__items-center"},E6e={class:"lineup__selector-recientes"},N6e={key:1,class:"containernofoundsearchrecientes"},$6e=Xn(()=>t.createElementVNode("div",{class:"text-containernofoundsearchrecientes"},[t.createTextVNode("No hay resultados con los criterios, "),t.createElementVNode("br"),t.createTextVNode(" de búsqueda aplicados.")],-1)),B6e={key:0,class:"lineup__selector-recientes",style:{margin:"auto",width:"100%"}},x6e={key:5,class:"lineup__card-body space-between"},V6e={class:"lineup__card-body__probables"},I6e={class:"selector-tournaments"},A6e=Xn(()=>t.createElementVNode("div",{class:"lineup__card-body__team-vs"},"vs",-1)),O6e=["src"],T6e={class:"lineup__card-body__probables"},z6e=["src"],F6e=Xn(()=>t.createElementVNode("div",{class:"lineup__card-body__team-vs"},"vs",-1)),R6e={class:"selector-tournaments"},P6e={key:6,class:"lineup__card-body space-between"},D6e={class:"postmatch__matchday"};function L6e(e,a,o,s,n,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("LineupMainHeader"),h=t.resolveComponent("GSCCarousel"),d=t.resolveComponent("LineupFilter"),l=t.resolveComponent("GSCDropdown"),m=t.resolveComponent("LineupRecentItem"),p=t.resolveComponent("MatchDetails"),y=t.resolveComponent("LineupField");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["lineup",{"break-point-3":i.mobileClass}])},[t.createElementVNode("div",l6e,[c6e,o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock("div",d6e,[(n.gameInfoheader.game_status==0||n.gameInfoheader.game_status==4)&&i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.selectedOption,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:a[0]||(a[0]=g=>o.selectedOption=g)},null,8,["selectedOption"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],512),t.createElementVNode("div",m6e,[o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.selectedOption==="Probables"?(t.openBlock(),t.createElementBlock("h3",p6e,"Alineación utilizada este torneo en:")):o.selectedOption==="Recientes"?(t.openBlock(),t.createElementBlock("h3",h6e,"Alineaciones recientes de:")):(t.openBlock(),t.createElementBlock("h3",g6e,"Alineación utilizada en:"))],64)):t.createCommentVNode("",!0),o.selectedOption==="Historicos"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(n.headerInfoHistoricItemGame).length>0?(t.openBlock(),t.createBlock(c,{key:0,localTeam:{acronym:n.headerInfoHistoricItemGame.home_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+n.headerInfoHistoricItemGame.home_team+".png"},visitTeam:{acronym:n.headerInfoHistoricItemGame.away_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+n.headerInfoHistoricItemGame.away_team+".png"},probablyTeamHome:{acronym:n.rivalHomeAbrev,img:n.rivalHomeImg},probablyTeamAway:{acronym:n.rivalVisitAbrev,img:n.rivalVisitImg},score:n.headerInfoHistoricItemGame.score[0]+" - "+n.headerInfoHistoricItemGame.score[1],onChange:i.changeSwitchRadio,type:o.selectedOption},null,8,["localTeam","visitTeam","probablyTeamHome","probablyTeamAway","score","onChange","type"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[Object.keys(n.gameInfoheader).length>0?(t.openBlock(),t.createBlock(c,{key:0,localTeam:{acronym:n.gameInfoheader.home_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+n.gameInfoheader.home_team+".png"},visitTeam:{acronym:n.gameInfoheader.away_team_abbreviation,img:"https://az755631.vo.msecnd.net/teams-80/"+n.gameInfoheader.away_team+".png"},probablyTeamHome:{acronym:n.rivalHomeAbrev,img:n.rivalHomeImg},probablyTeamAway:{acronym:n.rivalVisitAbrev,img:n.rivalVisitImg},score:n.gameInfoheader.score[0]+" - "+n.gameInfoheader.score[1],onChange:i.changeSwitchRadio,type:o.selectedOption},null,8,["localTeam","visitTeam","probablyTeamHome","probablyTeamAway","score","onChange","type"])):t.createCommentVNode("",!0)],64)),o.selectedOption==="Historicos"?(t.openBlock(),t.createElementBlock("div",y6e,[o.selectedOption!=="Postmatch"?(t.openBlock(),t.createElementBlock("div",u6e,[n.gamesHistoric.length>0?(t.openBlock(),t.createBlock(h,{key:n.updatehistoricos,onInput:i.changeCarouselItemH,items:n.gamesHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:g})=>[t.createElementVNode("div",f6e,t.toDisplayString(g.description),1)]),_:1},8,["onInput","items"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])):o.selectedOption==="Recientes"?(t.openBlock(),t.createElementBlock("div",_6e,[t.createElementVNode("div",b6e,[t.createVNode(d,{name:"Filtros",onChange:i.changeFiltersModal,reset:n.vDeleteFilter},null,8,["onChange","reset"]),t.createElementVNode("div",{class:"lineup__filters__selector",ref:"targetElement",onClick:a[1]||(a[1]=(...g)=>i.handleInsideClick&&i.handleInsideClick(...g))},[(t.openBlock(),t.createBlock(l,{items:i.matchdaysFinal,onInput:i.changeDropdown,backgroundColor:"transparent",height:"25px",key:e.keyUpdate,color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,"default-item-by-prop":e.defaultDropItem,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(g=>[t.createElementVNode("div",w6e,t.toDisplayString(g.selectedItem.name),1)]),availableItem:t.withCtx(({item:g})=>[t.createElementVNode("div",null,t.toDisplayString(g.name),1)]),_:1},8,["items","onInput","default-item-by-prop"]))],512),t.createElementVNode("div",{class:"lineup__text-btn",onClick:a[2]||(a[2]=g=>n.showDetails=!n.showDetails)},t.toDisplayString(n.showDetails?"Ocultar detalles":"Ver detalles"),1)]),t.createElementVNode("div",C6e,[k6e,t.createElementVNode("div",S6e,[i.mobileClass?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",E6e,[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(h,{"current-item-index":n.selectedIndexOption,width:"600px",height:"80px",key:n.updateCarouselGames,onInput:i.changeCarouselItem,items:i.gameRecientesFilter,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:g})=>[t.createVNode(m,{game:g,teamSelect:n.teamSelect},null,8,["game","teamSelect"])]),_:1},8,["current-item-index","onInput","items"])):(t.openBlock(),t.createElementBlock("div",N6e,[$6e,t.createElementVNode("div",{class:"btn-delete-filters",onClick:a[3]||(a[3]=(...g)=>i.clickOnDeleteFilter&&i.clickOnDeleteFilter(...g))},"Eliminar filtros aplicados")]))]),n.showDetails?(t.openBlock(),t.createBlock(p,{key:0,localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],64))])]),i.mobileClass?(t.openBlock(),t.createElementBlock("div",B6e,[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(h,{"current-item-index":n.selectedIndexOption,width:"600px",height:"80px",key:n.updateCarouselGames,onInput:i.changeCarouselItem,items:i.gameRecientesFilter,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1},{default:t.withCtx(({item:g})=>[t.createVNode(m,{game:g,teamSelect:n.teamSelect,style:{"max-width":"200px"}},null,8,["game","teamSelect"])]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0),n.showDetails?(t.openBlock(),t.createBlock(p,{key:1,localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])):o.selectedOption==="Probables"?(t.openBlock(),t.createElementBlock("div",x6e,[t.createElementVNode("div",V6e,[t.createVNode(l,{items:i.matchHomeProbables,onInput:i.changeDropdownLocal,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(g=>[t.createElementVNode("div",I6e,t.toDisplayString(g.selectedItem.name),1)]),availableItem:t.withCtx(({item:g})=>[t.createElementVNode("div",null,t.toDisplayString(g.name),1)]),_:1},8,["items","onInput"]),A6e,t.createElementVNode("img",{src:n.rivalHomeImg,class:"lineup__card-body__img-probables"},null,8,O6e)]),t.createElementVNode("div",T6e,[t.createElementVNode("img",{src:n.rivalVisitImg,class:"lineup__card-body__img-probables"},null,8,z6e),F6e,t.createVNode(l,{items:i.matchAwayProbables,onInput:i.changeDropdownVisit,backgroundColor:"transparent",height:"25px",color:"rgba(255, 255, 255, 0.7)",arrowColor:"rgba(255, 255, 255, 0.7)",borderColor:"rgba(255, 255, 255, 0.3)",style:{"font-size":"10px"},arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(g=>[t.createElementVNode("div",R6e,t.toDisplayString(g.selectedItem.name),1)]),availableItem:t.withCtx(({item:g})=>[t.createElementVNode("div",null,t.toDisplayString(g.name),1)]),_:1},8,["items","onInput"])])])):o.selectedOption==="Postmatch"?(t.openBlock(),t.createElementBlock("div",P6e,[t.createElementVNode("div",D6e,t.toDisplayString(n.gameInfoheader.season_name!==void 0?n.gameInfoheader.season_name+" | "+i.remplazarMxJor(n.gameInfoheader.matchday_abbreviation)+" | "+n.gameInfoheader.home_team_abbreviation+" - "+n.gameInfoheader.away_team_abbreviation:""),1)])):t.createCommentVNode("",!0),t.createVNode(y,{class:"lineup__field",players:n.players},null,8,["players"])])],2)}const j6e=wt(r6e,[["render",L6e],["__scopeId","data-v-3e8dc5c2"]]),v6e={components:{},props:{data:{type:Object,default:()=>{}},position:{type:String,default:"gsc-position-player"},type:{type:Number,default:1}},data(){return{}},computed:{},methods:{},mounted(){}},mc=e=>(t.pushScopeId("data-v-57833ebc"),e=e(),t.popScopeId(),e),M6e={key:0,class:"gsc-item-player"},H6e={class:"gsc-num-player"},U6e={class:"gsc-cont-info-by-player"},G6e={class:"gsc-cont-info-by-player-row1"},W6e={class:"shield-player-cont"},q6e=["src"],J6e={class:"gsc-cont-info-by-player-row2"},X6e={class:"gsc-cont-info-by-player-row2-line-name"},Z6e={class:"gsc-cont-info-by-player-row2-line-data"},Y6e={class:"cont-display-gsc"},K6e=["src"],Q6e={class:"gsc-cont-cards"},eke={key:0,class:"gsc-yellow_card_div"},tke={key:1,class:"gsc-red_card_div"},ake={key:2,class:"gsc-yellowred_card_div"},oke=mc(()=>t.createElementVNode("div",{class:"gsc-goal_card_div"},null,-1)),ske={key:5,class:"gsc-goal_card_div_wrapper"},nke=mc(()=>t.createElementVNode("div",{class:"gsc-change_card_div"},null,-1)),ike={key:1,class:"gsc-item-player"},rke={class:"gsc-num-player2"},lke={class:"gsc-cont-info-by-player2"},cke={class:"gsc-cont-info-by-player-row2"},dke={class:"gsc-cont-info-by-player-row2-line-name2"},mke={class:"gsc-cont-info-by-player-row2-line-data"},pke={class:"gsc-cont-cards2"},hke={key:0,class:"gsc-yellow_card_div"},gke={key:1,class:"gsc-red_card_div"},yke={key:2,class:"gsc-yellowred_card_div"},uke=mc(()=>t.createElementVNode("div",{class:"gsc-goal_card_div"},null,-1)),fke={key:5,class:"gsc-goal_card_div_wrapper"},_ke=mc(()=>t.createElementVNode("div",{class:"gsc-change_card_div"},null,-1)),bke={class:"cont-display-gsc"},wke=["src"],Cke={class:"gsc-cont-info-by-player-row1"},kke={class:"shield-player-cont"},Ske=["src"];function Eke(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock(t.Fragment,null,[o.type==1?(t.openBlock(),t.createElementBlock("div",M6e,[t.createElementVNode("div",H6e,[o.data.shirt<10?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("0")],64)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(o.data.shirt),1)]),t.createElementVNode("div",U6e,[t.createElementVNode("div",G6e,[t.createElementVNode("div",W6e,[t.createElementVNode("img",{class:"gsc-logo-player",src:o.data.img},null,8,q6e)])]),t.createElementVNode("div",J6e,[t.createElementVNode("div",X6e,t.toDisplayString(o.data.name),1),t.createElementVNode("div",Z6e,[t.createElementVNode("div",Y6e,[t.createElementVNode("img",{class:"gsc-img-country",src:o.data.nation},null,8,K6e),t.createElementVNode("div",{class:t.normalizeClass(o.position)},t.toDisplayString(o.data.position),3)]),t.createElementVNode("div",Q6e,[o.data.yellowcard>=1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock("div",eke)):t.createCommentVNode("",!0),o.data.redcard>=1&&o.data.yellowcard==0?(t.openBlock(),t.createElementBlock("div",tke)):t.createCommentVNode("",!0),o.data.yellowcard>=1&&o.data.redcard>=1?(t.openBlock(),t.createElementBlock("div",ake)):t.createCommentVNode("",!0),o.data.yellowcard>=1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode("'"+t.toDisplayString(o.data.yellowcardmin),1)],64)):t.createCommentVNode("",!0),o.data.redcard>=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode("'"+t.toDisplayString(o.data.redcardmin),1)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.goalsMin,(r,c)=>(t.openBlock(),t.createElementBlock("div",{class:"gsc-goal_card_div_wrapper",key:c},[oke,t.createElementVNode("div",null,"'"+t.toDisplayString(r),1)]))),128)),o.data.substitutionIn||o.data.substitutionOut?(t.openBlock(),t.createElementBlock("div",ske,[nke,t.createElementVNode("div",null,"'"+t.toDisplayString(o.data.substitutionMin),1)])):t.createCommentVNode("",!0)])])])])])):t.createCommentVNode("",!0),o.type==2?(t.openBlock(),t.createElementBlock("div",ike,[t.createElementVNode("div",rke,[o.data.shirt<10?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("0")],64)):t.createCommentVNode("",!0),t.createTextVNode(t.toDisplayString(o.data.shirt),1)]),t.createElementVNode("div",lke,[t.createElementVNode("div",cke,[t.createElementVNode("div",dke,t.toDisplayString(o.data.name),1),t.createElementVNode("div",mke,[t.createElementVNode("div",pke,[o.data.yellowcard>=1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock("div",hke)):t.createCommentVNode("",!0),o.data.redcard>=1&&o.data.yellowcard==0?(t.openBlock(),t.createElementBlock("div",gke)):t.createCommentVNode("",!0),o.data.yellowcard>=1&&o.data.redcard>=1?(t.openBlock(),t.createElementBlock("div",yke)):t.createCommentVNode("",!0),o.data.yellowcard>=1&&o.data.redcard==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[t.createTextVNode("'"+t.toDisplayString(o.data.yellowcardmin),1)],64)):t.createCommentVNode("",!0),o.data.redcard>=1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[t.createTextVNode("'"+t.toDisplayString(o.data.redcardmin),1)],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.data.goalsMin,(r,c)=>(t.openBlock(),t.createElementBlock("div",{class:"gsc-goal_card_div_wrapper",key:c},[uke,t.createElementVNode("div",null,"'"+t.toDisplayString(r),1)]))),128)),o.data.substitutionIn||o.data.substitutionOut?(t.openBlock(),t.createElementBlock("div",fke,[_ke,t.createElementVNode("div",null,"'"+t.toDisplayString(o.data.substitutionMin),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",bke,[t.createElementVNode("div",{class:t.normalizeClass(o.position)},t.toDisplayString(o.data.position),3),t.createElementVNode("img",{class:"gsc-img-country",src:o.data.nation},null,8,wke)])])]),t.createElementVNode("div",Cke,[t.createElementVNode("div",kke,[t.createElementVNode("img",{class:"gsc-logo-player",src:o.data.img},null,8,Ske)])])])])):t.createCommentVNode("",!0)],64)}const Nke=wt(v6e,[["render",Eke],["__scopeId","data-v-57833ebc"]]),oy="/icn-filter.svg",Zn="/icn-expand-arrow.svg",xC="/backarrow.svg",VC="/nextarrow.svg",$ke="_selectoritem_1dafy_137",Bke="_selectoritem2_1dafy_157",xke="_gscheaderlineup_1dafy_177",Vke="_anNoEstn_1dafy_191",Ike="_groupsLeague_1dafy_197",Ake="_jugadores_1dafy_209",Oke="_switchOption_1dafy_219",Tke="_jugadores1_1dafy_239",zke="_switchOption1_1dafy_249",Fke="_switchStatesBig_1dafy_265",Rke="_groupsLeagueParent_1dafy_283",Pke="_imgHomeTeamIcon_1dafy_301",Dke="_imgHomeTeamWrapper_1dafy_313",Lke="_teamContainer_1dafy_337",jke="_name_1dafy_361",vke="_homeTeamContainer_1dafy_373",Mke="_div_1dafy_393",Hke="_scoreContainer_1dafy_401",Uke="_scoreContainerWrapper_1dafy_421",Gke="_teamContainer1_1dafy_447",Wke="_awayTeamContainer_1dafy_471",qke="_matchContainer_1dafy_491",Jke="_sliderMatchesChild_1dafy_509",Xke="_manchesterUnited_1dafy_521",Zke="_sliderMatchesItem_1dafy_533",Yke="_sliderMatches_1dafy_509",Kke="_sortIcon_1dafy_569",Qke="_filtros_1dafy_583",e7e="_sortParent_1dafy_599",t7e="_shapeIcon_1dafy_613",a7e="_btnFilter_1dafy_623",o7e="_btnFilter1_1dafy_651",s7e="_btnFilterParent_1dafy_679",n7e="_backArrowIcon_1dafy_695",i7e="_teamContainer2_1dafy_707",r7e="_homeTeam_1dafy_373",l7e="_div4_1dafy_735",c7e="_finalScore_1dafy_745",d7e="_manchesterUnited1_1dafy_771",m7e="_scoreContainer1_1dafy_785",p7e="_match_1dafy_491",h7e="_manchesterUnited2_1dafy_821",g7e="_btnDetails_1dafy_831",y7e="_matchContainer1_1dafy_851",u7e="_goalChild_1dafy_867",f7e="_goal_1dafy_867",_7e="_manchesterUnited3_1dafy_893",b7e="_minuteEvent_1dafy_907",w7e="_yellowCard_1dafy_921",C7e="_awayTeamEvents_1dafy_935",k7e="_rectangle_1dafy_949",S7e="_homeTeamEvents_1dafy_963",E7e="_totalEvents_1dafy_979",N7e="_headerSeccionAlineaciones1_1dafy_995",$7e="_switchOption3_1dafy_1017",B7e="_switchOption4_1dafy_1041",x7e="_switchStatesBig1_1dafy_1061",V7e="_manchesterUnited13_1dafy_1075",I7e="_homeTeamContainer1_1dafy_1085",A7e="_scoreContainer2_1dafy_1099",O7e="_matchContainer2_1dafy_1127",T7e="_manchesterUnited14_1dafy_1147",z7e="_sliderMatchesInner_1dafy_1161",F7e="_rectangleIcon_1dafy_1181",R7e="_sliderMatches1_1dafy_1201",P7e="_containerData_1dafy_1217",D7e="_headerSeccionAlineaciones2_1dafy_1245",L7e="_headerSeccionAlineaciones_1dafy_995",j7e="_headerSeccionAlineaciones21200_1dafy_1293",v7e="_headerSeccionAlineaciones1540_1dafy_1299",M7e="_headerSeccionAlineaciones2540_1dafy_1307",H7e={selectoritem:$ke,selectoritem2:Bke,gscheaderlineup:xke,anNoEstn:Vke,groupsLeague:Ike,jugadores:Ake,switchOption:Oke,jugadores1:Tke,switchOption1:zke,switchStatesBig:Fke,groupsLeagueParent:Rke,imgHomeTeamIcon:Pke,imgHomeTeamWrapper:Dke,teamContainer:Lke,name:jke,homeTeamContainer:vke,div:Mke,scoreContainer:Hke,scoreContainerWrapper:Uke,teamContainer1:Gke,awayTeamContainer:Wke,matchContainer:qke,sliderMatchesChild:Jke,manchesterUnited:Xke,sliderMatchesItem:Zke,sliderMatches:Yke,sortIcon:Kke,filtros:Qke,sortParent:e7e,shapeIcon:t7e,btnFilter:a7e,btnFilter1:o7e,btnFilterParent:s7e,backArrowIcon:n7e,teamContainer2:i7e,homeTeam:r7e,div4:l7e,finalScore:c7e,manchesterUnited1:d7e,scoreContainer1:m7e,match:p7e,manchesterUnited2:h7e,btnDetails:g7e,matchContainer1:y7e,goalChild:u7e,goal:f7e,manchesterUnited3:_7e,minuteEvent:b7e,yellowCard:w7e,awayTeamEvents:C7e,rectangle:k7e,homeTeamEvents:S7e,totalEvents:E7e,headerSeccionAlineaciones1:N7e,switchOption3:$7e,switchOption4:B7e,switchStatesBig1:x7e,manchesterUnited13:V7e,homeTeamContainer1:I7e,scoreContainer2:A7e,matchContainer2:O7e,manchesterUnited14:T7e,sliderMatchesInner:z7e,rectangleIcon:F7e,sliderMatches1:R7e,containerData:P7e,headerSeccionAlineaciones2:D7e,headerSeccionAlineaciones:L7e,headerSeccionAlineaciones21200:j7e,headerSeccionAlineaciones1540:v7e,headerSeccionAlineaciones2540:M7e},U7e={components:{GSCCarousel:dc,GscSwitchComponent:Jn},props:{optionSelected:{type:String,default:"Historicos"},widthSize:{type:Number,default:0},gameRecientes:{type:Number,default:0},gameInfo:{type:Object,default:()=>{}},teamActive:{type:String,default:"home"},gameHistoric:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",{season_id:e.season_id,game_id:e.id})}catch(a){throw new Error(a)}}}},data(){return{selectedOption:0,updateIndex:0,test:[{description:"Clausura 2018 I JOR 5 I CHI - ATL 12 '",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 73'",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 53'",icon:"red-card"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 123'",icon:"yellow-card"}]}},computed:{headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=540?this.$style.headerSeccionAlineaciones2540:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones1Class(){return this.widthSize<=540?this.$style.headerSeccionAlineaciones1540:this.$style.headerSeccionAlineaciones1}},methods:{changeCarouselItem(e){this.$emit("input",{season_id:e.selectedItem.season,game_id:e.selectedItem.game,ht_abrev:e.selectedItem.home_team_abbreviation,at_abrev:e.selectedItem.away_team_abbreviation}),this.selectedOption=e.selectedItemIndex,this.updateIndex+=1},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},G7e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),W7e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones: ",-1),q7e=["src"],J7e=["src"],X7e=["src"],Z7e=["src"],Y7e=["src"],K7e=["src"];function Q7e(e,a,o,s,n,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCCarousel");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.gscheaderlineup)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[G7e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),W7e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[(o.gameInfo.game_status==0||o.gameInfo.game_status==4)&&o.gameRecientes>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.home_team+".png"},null,10,q7e)):t.createCommentVNode("",!0)],2)],2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)}," - ",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.away_team+".png"},null,10,J7e)):t.createCommentVNode("",!0)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches)},[o.gameHistoric.length>0?(t.openBlock(),t.createBlock(c,{key:0,"current-item-index":n.selectedOption,onInput:i.changeCarouselItem,items:o.gameHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},t.toDisplayString(h.description),3)]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:oy},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2)],2),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Jornada",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"2",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:xC},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.home_team+".png"},null,10,X7e)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[o.teamActive=="home"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.away_team+".png"},null,10,Z7e)):t.createCommentVNode("",!0),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:VC},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2)},"Ver detalles",2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig1),id:"switch-lineup"},[(o.gameInfo.game_status==0||o.gameInfo.game_status==4)&&o.gameRecientes>0?(t.openBlock(),t.createBlock(r,{key:0,buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited13)},"Alineación utilizada en: ",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.home_team+".png"},null,10,Y7e)):t.createCommentVNode("",!0)],2)],2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.home_team_abbreviation),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer2)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameHistoric[n.selectedOption].objgame.away_team_abbreviation),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[o.gameHistoric.length>0?(t.openBlock(),t.createElementBlock("img",{key:0,class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameHistoric[n.selectedOption].objgame.away_team+".png"},null,10,K7e)):t.createCommentVNode("",!0)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches1)},[o.gameHistoric.length>0?(t.openBlock(),t.createBlock(c,{key:0,"current-item-index":n.selectedOption,onInput:i.changeCarouselItem,items:o.gameHistoric,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:h})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem2)},t.toDisplayString(h.description),3)]),_:1},8,["current-item-index","onInput","items"])):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)}const e9e={$style:H7e},t9e=wt(U7e,[["render",Q7e],["__cssModules",e9e]]),pc=e=>(t.pushScopeId("data-v-2118a6cd"),e=e(),t.popScopeId(),e),a9e=t.createStaticVNode('<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-2118a6cd><g id="vuesax/outline/sort" data-v-2118a6cd><g id="sort" data-v-2118a6cd><path id="Vector" opacity="0.7" d="M15.75 5.8125H2.25C1.9425 5.8125 1.6875 5.5575 1.6875 5.25C1.6875 4.9425 1.9425 4.6875 2.25 4.6875H15.75C16.0575 4.6875 16.3125 4.9425 16.3125 5.25C16.3125 5.5575 16.0575 5.8125 15.75 5.8125Z" fill="white" data-v-2118a6cd></path><path id="Vector_2" opacity="0.7" d="M13.5 9.5625H4.5C4.1925 9.5625 3.9375 9.3075 3.9375 9C3.9375 8.6925 4.1925 8.4375 4.5 8.4375H13.5C13.8075 8.4375 14.0625 8.6925 14.0625 9C14.0625 9.3075 13.8075 9.5625 13.5 9.5625Z" fill="white" data-v-2118a6cd></path><path id="Vector_3" opacity="0.7" d="M10.5 13.3125H7.5C7.1925 13.3125 6.9375 13.0575 6.9375 12.75C6.9375 12.4425 7.1925 12.1875 7.5 12.1875H10.5C10.8075 12.1875 11.0625 12.4425 11.0625 12.75C11.0625 13.0575 10.8075 13.3125 10.5 13.3125Z" fill="white" data-v-2118a6cd></path></g></g></svg>',1),o9e=["value"],s9e=pc(()=>t.createElementVNode("svg",{width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[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:"#92929D"})],-1)),n9e={class:"filter-modal__padding"},i9e={class:"filter-modal__content-header"},r9e=pc(()=>t.createElementVNode("h3",null,"Jugando como:",-1)),l9e={class:"filter-modal__content-options"},c9e=["onClick"],d9e={class:"filter-modal__content-header"},m9e=pc(()=>t.createElementVNode("h3",null,"Resultados:",-1)),p9e={class:"filter-modal__content-options"},h9e=["onClick"],g9e=pc(()=>t.createElementVNode("hr",{style:{"border-color":"#FFFFFF33"}},null,-1)),y9e={__name:"gsc-filter",props:{name:{type:String,default:""},zIndex:{type:Number,default:1},showButton:{type:Boolean,default:!1},marginModal:{type:String,default:"0px"},isOpen:{type:Boolean,default:!1},reset:{type:Boolean,default:!1},itemSelect:{type:Object,default:()=>{}},componentWidth:{type:Number,default:768,validator(e){return e>0}}},emits:["update:model-value","change"],setup(e,{emit:a}){const o=e;t.useCssVars(w=>({d00c78a6:e.marginModal}));const s=[{id:"local",name:"Local"},{id:"visit",name:"Visitante"}],n=[{id:"win",name:"Ganado"},{id:"draw",name:"Empatados"},{id:"lose",name:"Perdidos"}],i=t.ref(null),r=t.ref(["local","visit"]),c=t.ref(["win","draw","lose"]),h=t.ref(!0),d=t.ref(!0),l=t.ref(!0),m=t.ref(!0),p=t.ref(["local","visit"]),y=t.ref(["win","draw","lose"]),g=()=>{i.value.focus(),r.value=JSON.parse(JSON.stringify(p.value)),c.value=JSON.parse(JSON.stringify(y.value)),h.value=l.value,d.value=m.value};t.watch(()=>o.itemSelect,w=>{w&&(p.value=w.selectedFilterTeam,y.value=w.selectedFilterResults)}),t.watch(()=>o.reset,w=>{w&&f()});const u=(w,b)=>{let E;b==="team"?E=p.value:E=y.value;const x=E.findIndex(V=>V===w);x==-1?E.push(w):b=="team"&&p.value.length==2?E.splice(x,1):(b=="team"&&E.push(w),y.value.length>1&&E.splice(x,1)),l.value=p.value.length==2,m.value=y.value.length==3},f=()=>{p.value=["local","visit"],y.value=["win","draw","lose"],l.value=!0,m.value=!0,a("change",{selectedFilterTeam:p.value,selectedFilterResults:y.value})},_=()=>{a("change",{selectedFilterTeam:p.value,selectedFilterResults:y.value})},k=()=>{a("change",{selectedFilterTeam:p.value,selectedFilterResults:y.value})};return(w,b)=>(t.openBlock(),t.createElementBlock("div",{class:"filter-modal",style:t.normalizeStyle({zIndex:e.zIndex})},[e.showButton?(t.openBlock(),t.createElementBlock("div",{key:0,class:"filter-modal__input",onClick:g},[a9e,t.createElementVNode("input",{type:"text",value:e.name,readonly:""},null,8,o9e),s9e])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["filter-modal__content",e.isOpen?"open":"close"]),tabindex:"0",ref_key:"filterElement",ref:i,onFocusout:b[4]||(b[4]=E=>{e.isOpen=!1,k()})},[t.createElementVNode("div",n9e,[t.createElementVNode("div",i9e,[r9e,t.createVNode(lc,{modelValue:l.value,"onUpdate:modelValue":[b[0]||(b[0]=E=>l.value=E),b[1]||(b[1]=E=>E&&(p.value=["local","visit"]))],label:"Todos"},null,8,["modelValue"])]),t.createElementVNode("ul",l9e,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(s,E=>t.createElementVNode("li",{onClick:x=>u(E.id,"team"),class:t.normalizeClass({active:p.value.includes(E.id)})},t.toDisplayString(E.name),11,c9e)),64))]),t.createElementVNode("div",d9e,[m9e,t.createVNode(lc,{modelValue:m.value,"onUpdate:modelValue":[b[2]||(b[2]=E=>m.value=E),b[3]||(b[3]=E=>E&&(y.value=["win","lose","draw"]))],label:"Todos"},null,8,["modelValue"])]),t.createElementVNode("ul",p9e,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,E=>t.createElementVNode("li",{onClick:x=>u(E.id,"player"),class:t.normalizeClass({active:y.value.includes(E.id)})},t.toDisplayString(E.name),11,h9e)),64))])]),g9e,t.createElementVNode("div",{class:"filter-modal__buttons"},[t.createElementVNode("div",{class:"button filter-modal__text-btn",onClick:f},"Quitar filtros"),t.createElementVNode("div",{class:"button filter-modal__outline-btn",onClick:_},"Listo")])],34)],4))}},u9e=wt(y9e,[["__scopeId","data-v-2118a6cd"]]),f9e="/icn-filter1.svg",_9e="/icn-expand-arrow1.svg",b9e="/icn-filter2.svg",w9e="/icn-arrow-expand.svg",C9e="_containernofoundsearchrecientes_1gxk5_159",k9e="_btndeletefilters_1gxk5_215",S9e="_leyenddeleteshow_1gxk5_247",E9e="_selectoritem_1gxk5_261",N9e="_anNoEstn_1gxk5_279",$9e="_groupsLeague_1gxk5_287",B9e="_historicas_1gxk5_297",x9e="_switchOption_1gxk5_309",V9e="_recientes_1gxk5_331",I9e="_switchOption1_1gxk5_343",A9e="_switchOption2_1gxk5_369",O9e="_switchStatesBig_1gxk5_387",T9e="_groupsLeagueParent_1gxk5_407",z9e="_imgHomeTeamIcon_1gxk5_427",F9e="_imgHomeTeamWrapper_1gxk5_441",R9e="_teamContainer_1gxk5_467",P9e="_name_1gxk5_493",D9e="_homeTeamContainer_1gxk5_507",L9e="_div_1gxk5_529",j9e="_scoreContainer_1gxk5_539",v9e="_scoreContainerWrapper_1gxk5_561",M9e="_teamContainer1_1gxk5_587",H9e="_awayTeamContainer_1gxk5_613",U9e="_matchContainer_1gxk5_635",G9e="_sliderMatchesChild_1gxk5_655",W9e="_manchesterUnited_1gxk5_669",q9e="_sliderMatchesItem_1gxk5_683",J9e="_sliderMatches_1gxk5_655",X9e="_sortIcon_1gxk5_719",Z9e="_filtros_1gxk5_735",Y9e="_sortParent_1gxk5_753",K9e="_shapeIcon_1gxk5_769",Q9e="_btnFilter_1gxk5_781",eSe="_btnFilter1_1gxk5_813",tSe="_btnFilterParent_1gxk5_843",aSe="_backArrowIcon_1gxk5_861",oSe="_teamContainer2_1gxk5_875",sSe="_homeTeam_1gxk5_507",nSe="_div4_1gxk5_907",iSe="_finalScore_1gxk5_919",rSe="_manchesterUnited1_1gxk5_947",lSe="_scoreContainer1_1gxk5_963",cSe="_match_1gxk5_635",dSe="_manchesterUnited2_1gxk5_997",mSe="_btnDetails_1gxk5_1023",pSe="_matchContainer1_1gxk5_1047",hSe="_goalChild_1gxk5_1065",gSe="_goal_1gxk5_1065",ySe="_manchesterUnited3_1gxk5_1095",uSe="_minuteEvent_1gxk5_1111",fSe="_yellowCard_1gxk5_1127",_Se="_awayTeamEvents_1gxk5_1143",bSe="_rectangle_1gxk5_1159",wSe="_homeTeamEvents_1gxk5_1175",CSe="_totalEvents_1gxk5_1193",kSe="_headerSeccionAlineaciones1_1gxk5_1211",SSe="_sliderMatchesInner_1gxk5_1233",ESe="_btnFilter2_1gxk5_1247",NSe="_btnDetails1_1gxk5_1281",$Se="_matchContainer3_1gxk5_1299",BSe="_backArrowIcon1_1gxk5_1321",xSe="_match1_1gxk5_1335",VSe="_headerSeccionAlineaciones2_1gxk5_1347",ISe="_jugadores2_1gxk5_1369",ASe="_switchOption6_1gxk5_1383",OSe="_switchOption7_1gxk5_1405",TSe="_switchStatesBig2_1gxk5_1431",zSe="_manchesterUnited26_1gxk5_1447",FSe="_homeTeamContainer2_1gxk5_1459",RSe="_vectorIcon_1gxk5_1475",PSe="_teamSwitch_1gxk5_1487",DSe="_matchContainer5_1gxk5_1513",LSe="_manchesterUnited27_1gxk5_1535",jSe="_sliderMatchesChild1_1gxk5_1551",vSe="_sliderMatchesChild2_1gxk5_1573",MSe="_sliderMatches2_1gxk5_1595",HSe="_filtros2_1gxk5_1615",USe="_btnFilter4_1gxk5_1635",GSe="_jornada2_1gxk5_1667",WSe="_filterMatchday_1gxk5_1681",qSe="_btnDetails2_1gxk5_1703",JSe="_filtersContainer_1gxk5_1725",XSe="_matchContainer6_1gxk5_1745",ZSe="_matchDetailContainer_1gxk5_1763",YSe="_containerData_1gxk5_1783",KSe="_headerSeccionAlineaciones3_1gxk5_1813",QSe="_headerSeccionAlineaciones_1gxk5_1211",eEe="_headerSeccionAlineaciones31200_1gxk5_1865",tEe="_headerSeccionAlineaciones3420_1gxk5_1891",aEe="_headerSeccionAlineaciones3880_1gxk5_1917",oEe="_headerSeccionAlineaciones3540_1gxk5_1941",sEe="_headerSeccionAlineaciones11200_1gxk5_1967",nEe="_headerSeccionAlineaciones1420_1gxk5_1995",iEe="_headerSeccionAlineaciones1880_1gxk5_2017",rEe="_headerSeccionAlineaciones21200_1gxk5_2039",lEe="_headerSeccionAlineaciones2420_1gxk5_2067",cEe="_headerSeccionAlineaciones2880_1gxk5_2091",dEe="_headerSeccionAlineaciones2540_1gxk5_2113",mEe={containernofoundsearchrecientes:C9e,"text-containernofoundsearchrecientes":"_text-containernofoundsearchrecientes_1gxk5_171","btn-delete-filters":"_btn-delete-filters_1gxk5_183",btndeletefilters:k9e,leyenddeleteshow:S9e,selectoritem:E9e,anNoEstn:N9e,groupsLeague:$9e,historicas:B9e,switchOption:x9e,recientes:V9e,switchOption1:I9e,switchOption2:A9e,switchStatesBig:O9e,groupsLeagueParent:T9e,imgHomeTeamIcon:z9e,imgHomeTeamWrapper:F9e,teamContainer:R9e,name:P9e,homeTeamContainer:D9e,div:L9e,scoreContainer:j9e,scoreContainerWrapper:v9e,teamContainer1:M9e,awayTeamContainer:H9e,matchContainer:U9e,sliderMatchesChild:G9e,manchesterUnited:W9e,sliderMatchesItem:q9e,sliderMatches:J9e,sortIcon:X9e,filtros:Z9e,sortParent:Y9e,shapeIcon:K9e,btnFilter:Q9e,btnFilter1:eSe,btnFilterParent:tSe,backArrowIcon:aSe,teamContainer2:oSe,homeTeam:sSe,div4:nSe,finalScore:iSe,manchesterUnited1:rSe,scoreContainer1:lSe,match:cSe,manchesterUnited2:dSe,btnDetails:mSe,matchContainer1:pSe,goalChild:hSe,goal:gSe,manchesterUnited3:ySe,minuteEvent:uSe,yellowCard:fSe,awayTeamEvents:_Se,rectangle:bSe,homeTeamEvents:wSe,totalEvents:CSe,headerSeccionAlineaciones1:kSe,sliderMatchesInner:SSe,btnFilter2:ESe,btnDetails1:NSe,matchContainer3:$Se,backArrowIcon1:BSe,match1:xSe,headerSeccionAlineaciones2:VSe,jugadores2:ISe,switchOption6:ASe,switchOption7:OSe,switchStatesBig2:TSe,manchesterUnited26:zSe,homeTeamContainer2:FSe,vectorIcon:RSe,teamSwitch:PSe,matchContainer5:DSe,manchesterUnited27:LSe,sliderMatchesChild1:jSe,sliderMatchesChild2:vSe,sliderMatches2:MSe,filtros2:HSe,btnFilter4:USe,jornada2:GSe,filterMatchday:WSe,btnDetails2:qSe,filtersContainer:JSe,matchContainer6:XSe,matchDetailContainer:ZSe,containerData:YSe,headerSeccionAlineaciones3:KSe,headerSeccionAlineaciones:QSe,headerSeccionAlineaciones31200:eEe,headerSeccionAlineaciones3420:tEe,headerSeccionAlineaciones3880:aEe,headerSeccionAlineaciones3540:oEe,headerSeccionAlineaciones11200:sEe,headerSeccionAlineaciones1420:nEe,headerSeccionAlineaciones1880:iEe,headerSeccionAlineaciones21200:rEe,headerSeccionAlineaciones2420:lEe,headerSeccionAlineaciones2880:cEe,headerSeccionAlineaciones2540:dEe},pEe={components:{GSCCarousel:dc,GscSwitchComponent:Jn,GSCDropdown:ay,GSCFilter:u9e,GSCSwitchRadio:gC,GSCMatchDetails:fC},props:{widthSize:{type:Number,default:0},optionSelected:{type:String,default:"Historicos"},selectedOption:{type:String,default:"Historicos"},gameInfo:{type:Object,default:()=>{}},gameRecientes:{type:Array,default:()=>[]},matchdaysDefault:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.teamSelect=e.home_team_abbreviation,this.matchFilter()}catch(a){throw new Error(a)}}},gameRecientes:{immediate:!0,handler:async function(e){this.matchFilter()}}},data(){return{playminutes:[],showDetails:!1,teamSelect:"",defaultDropItem:{},updateCarouselGames:0,selectedIndexOption:0,openfiltervalue:!1,vDeleteFilter:!1,filterObject:{},matchdaysFiltersUpdate:[],gamesFiltersUpdate:[],localDetails:[],keyUpdate:0,foreignDetails:[]}},computed:{matchdaysFinal(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a]);for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==1&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==2&&e.push(this.matchdaysFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)this.matchdaysFiltersUpdate[a].match_result==3&&e.push(this.matchdaysFiltersUpdate[a])}else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);else for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)e.push(this.matchdaysFiltersUpdate[a]);return e},gameRecientesFilter(){var e=[];if(typeof this.filterObject.selectedFilterResults<"u")if(Object.keys(this.filterObject.selectedFilterResults).length!=3)if(Object.keys(this.filterObject.selectedFilterResults).length==2){if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("win")&&Object.values(this.filterObject.selectedFilterResults).includes("lose")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}if(Object.values(this.filterObject.selectedFilterResults).includes("lose")&&Object.values(this.filterObject.selectedFilterResults).includes("draw")){for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a]);for(let a=0;a<this.gamesFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a])}}else{if(this.filterObject.selectedFilterResults[0]=="win")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==1||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==1)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="lose")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==2||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==2)&&e.push(this.gamesFiltersUpdate[a]);if(this.filterObject.selectedFilterResults[0]=="draw")for(let a=0;a<this.matchdaysFiltersUpdate.length;a++)(this.gamesFiltersUpdate[a].away_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].visiting_match_result==3||this.gamesFiltersUpdate[a].home_team_abbreviation==this.teamSelect&&this.gamesFiltersUpdate[a].home_match_result==3)&&e.push(this.gamesFiltersUpdate[a])}else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);else for(let a=0;a<this.gamesFiltersUpdate.length;a++)e.push(this.gamesFiltersUpdate[a]);return e},headerSeccionAlineaciones1Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones1420:e<=880?this.$style.headerSeccionAlineaciones1880:e<=1200?this.$style.headerSeccionAlineaciones11200:this.$style.headerSeccionAlineaciones1},headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones2420:e<=540?this.$style.headerSeccionAlineaciones2540:e<=880?this.$style.headerSeccionAlineaciones2880:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones3Class(){const e=this.widthSize;return e<=420?this.$style.headerSeccionAlineaciones3420:e<=540?this.$style.headerSeccionAlineaciones3540:e<=880?this.$style.headerSeccionAlineaciones3880:e<=1200?this.$style.headerSeccionAlineaciones31200:this.$style.headerSeccionAlineaciones3}},methods:{deleteFilters(){this.vDeleteFilter=!0,setTimeout(()=>{this.vDeleteFilter=!1},200)},clickShowDetails(){this.showDetails=!this.showDetails},changeDropdown(e){const a=this.gameRecientes[this.teamSelect].findIndex(o=>o.matchday_id==e.id);a!=-1&&(this.selectedIndexOption=a)},matchFilter(){var e=[],a=[];if(Object.keys(this.filterObject).length>0){if(Object.keys(this.filterObject.selectedFilterTeam).length!=2)for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)this.filterObject.selectedFilterTeam[0]=="local"?this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect&&(e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_match_result}),a.push(this.gameRecientes[this.teamSelect][o])):this.gameRecientes[this.teamSelect][o].away_team_abbreviation==this.teamSelect&&(e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o]));else if(this.gameRecientes[this.teamSelect])for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)e.push({name:this.gameRecientes[this.teamSelect][o].matchday_abbreviation.replace("M","Jornada "),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gameRecientes[this.teamSelect][o].home_match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o])}else if(this.gameRecientes[this.teamSelect])for(let o=0;o<this.gameRecientes[this.teamSelect].length;o++)e.push({name:this.getRound(this.gameRecientes[this.teamSelect][o].matchday_abbreviation),id:this.gameRecientes[this.teamSelect][o].matchday_id,match_result:this.gameRecientes[this.teamSelect][o].home_team_abbreviation==this.teamSelect?this.gameRecientes[this.teamSelect][o].home_match_result:this.gameRecientes[this.teamSelect][o].visiting_match_result}),a.push(this.gameRecientes[this.teamSelect][o]);this.gamesFiltersUpdate=a,this.matchdaysFiltersUpdate=e},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},changeFiltersModal(e){this.filterObject=e,this.openfiltervalue=!1,this.matchFilter()},openFilter(){this.openfiltervalue=!0},getMinutesData(e){this.localDetails=[],this.foreignDetails=[];for(let a=0;a<e.home_goals_minutes.length;a++)this.localDetails.push({description:e.home_goals_minutes[a],icon:"goal"});for(let a=0;a<e.visiting_goals_minutes.length;a++)this.foreignDetails.push({description:e.visiting_goals_minutes[a],icon:"goal"});for(let a=0;a<e.home_yellow_cards_minutes.length;a++)this.localDetails.push({description:e.home_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.away_yellow_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_yellow_cards_minutes[a],icon:"yellow-card"});for(let a=0;a<e.home_red_cards_minutes.length;a++)this.localDetails.push({description:e.home_red_cards_minutes[a],icon:"red-card"});for(let a=0;a<e.away_red_cards_minutes.length;a++)this.foreignDetails.push({description:e.away_red_cards_minutes[a],icon:"red-card"})},changeCarouselItem(e){e.selectedItem&&(this.getMinutesData(e.selectedItem.minutes),this.$emit("input",e),this.selectedIndexOption=e.selectedItemIndex,this.defaultDropItem={propName:"id",value:e.selectedItem.matchday_id},this.keyUpdate+=1)},changeSwitchRadio(e){typeof e!="object"&&(this.teamSelect=e,this.$emit("changeTeam",this.teamSelect),this.updateCarouselGames+=1,this.matchFilter())},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},hEe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),gEe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),yEe=["src"],uEe=["src"],fEe={class:"selector-tournaments"},_Ee=["src"],bEe=["src"],wEe={key:1},CEe=t.createElementVNode("br",null,null,-1),kEe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),SEe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),EEe=["src"],NEe=["src"],$Ee={class:"selector-tournaments"},BEe=["src"],xEe=["src"],VEe={key:1},IEe=t.createElementVNode("br",null,null,-1),AEe=["src"],OEe=["src"],TEe={class:"selector-tournaments"},zEe=["src"],FEe=["src"],REe={key:1},PEe=t.createElementVNode("br",null,null,-1);function DEe(e,a,o,s,n,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCSwitchRadio"),h=t.resolveComponent("GSCFilter"),d=t.resolveComponent("GSCDropdown"),l=t.resolveComponent("GSCCarousel"),m=t.resolveComponent("GSCMatchDetails");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop-full"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[hEe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),gEe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,yEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":n.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,uEe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[0]||(a[0]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:oy},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2),t.createVNode(h,{"item-select":n.filterObject,"is-open":n.openfiltervalue,onChange:i.changeFiltersModal,reset:n.vDeleteFilter,"margin-modal":"-83px"},null,8,["item-select","is-open","onChange","reset"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:n.keyUpdate,"default-item-by-prop":n.defaultDropItem,class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"32px",width:"114px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",fEe,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["default-item-by-prop","class","items","onInput"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{"default-item-by-index":2,key:n.updateCarouselGames,items:i.gameRecientesFilter,"current-item-index":n.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,_Ee)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,bEe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",wEe,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),CEe,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[1]||(a[1]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),n.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[2]||(a[2]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[n.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[kEe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),SEe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,EEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":n.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,NEe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer3)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter2),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[3]||(a[3]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:f9e},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:_9e},null,2),t.createVNode(h,{"item-select":n.filterObject,"is-open":n.openfiltervalue,onChange:i.changeFiltersModal,"margin-modal":"-99px"},null,8,["item-select","is-open","onChange"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:n.keyUpdate,"default-item-by-prop":n.defaultDropItem,class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"32px",width:"114px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",$Ee,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["default-item-by-prop","class","items","onInput"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[4]||(a[4]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[n.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.match1)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:0,items:i.gameRecientesFilter,"current-item-index":n.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,BEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,xEe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",VEe,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),IEe,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[5]||(a[5]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),n.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones3Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig2),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,width:"600px",arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0.5px",backgroundOptionDisable:"#162533",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited26)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer5),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,AEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamSwitch),id:"switch-team"},[t.createVNode(c,{width:"41px",height:"20px",heightCircle:"15px",widthCircle:"15px","circle-color-switch":"#cbee6b","text-option-left":o.gameInfo.home_team_abbreviation,onChange:i.changeSwitchRadio,"text-option-right":o.gameInfo.away_team_abbreviation,"font-color":"white","value-default":n.teamSelect,"hidden-labels":!0},null,8,["text-option-left","onChange","text-option-right","value-default"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,OEe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtersContainer)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter4),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent),onClick:a[6]||(a[6]=(...p)=>i.openFilter&&i.openFilter(...p))},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:b9e},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros2)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:w9e},null,2),t.createVNode(h,{"item-select":n.filterObject,"is-open":n.openfiltervalue,onChange:i.changeFiltersModal,"margin-modal":"-75px"},null,8,["item-select","is-open","onChange"])],2),i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(d,{key:n.keyUpdate,"default-item-by-prop":n.defaultDropItem,class:t.normalizeClass(e.$style.filterMatchday),id:"menu-matchday",items:i.matchdaysFinal,onInput:i.changeDropdown,height:"25px",width:"100px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(p=>[t.createElementVNode("div",TEe,t.toDisplayString(p.selectedItem.name),1)]),availableItem:t.withCtx(({item:p})=>[t.createElementVNode("div",null,t.toDisplayString(p.name),1)]),_:1},8,["default-item-by-prop","class","items","onInput"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2),onClick:a[7]||(a[7]=(...p)=>i.clickShowDetails&&i.clickShowDetails(...p))},[n.showDetails?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ocultar detalles")],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Ver detalles")],64))],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchDetailContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer6),id:"match-info-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[i.gameRecientesFilter.length>0?(t.openBlock(),t.createBlock(l,{key:0,items:i.gameRecientesFilter,"current-item-index":n.selectedIndexOption,onInput:i.changeCarouselItem,isMainSlidePriority:"",areSlidesArrowsVisible:"",areNavigationArrowsVisible:!1,slideLeftArrowBackgroundImage:"none",slideRightArrowBackgroundImage:"none"},{default:t.withCtx(({item:p})=>[t.createElementVNode("div",{class:t.normalizeClass(e.$style.selectoritem)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.home_team+".png"},null,10,zEe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(p.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(p).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},[Array.isArray(p.score)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(p.score[1]),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(p.score[4]),1)],64))],2)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[p.home_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[p.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),p.away_team_abbreviation==n.teamSelect?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[p.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode("Ganado")],64)):t.createCommentVNode("",!0),p.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode("Perdido")],64)):t.createCommentVNode("",!0),p.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode("Empatado")],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+p.away_team+".png"},null,10,FEe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(p.away_team_abbreviation),3)],2)],2)],2)]),_:1},8,["items","current-item-index","onInput"])):(t.openBlock(),t.createElementBlock("div",REe,[t.createElementVNode("div",{class:t.normalizeClass(e.$style.containernofoundsearchrecientes)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.leyenddeleteshow)},[t.createTextVNode("No hay resultados con los criterios"),PEe,t.createTextVNode("de búsqueda aplicados.")],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btndeletefilters),onClick:a[8]||(a[8]=(...p)=>i.deleteFilters&&i.deleteFilters(...p))},"Eliminar filtros aplicados",2)],2)])),n.showDetails?(t.openBlock(),t.createBlock(m,{key:2,style:{"margin-top":"30px"},localDetails:n.localDetails,foreignDetails:n.foreignDetails},null,8,["localDetails","foreignDetails"])):t.createCommentVNode("",!0)],2)],2)],2)],2)],2)],2)}const LEe={$style:mEe},jEe=wt(pEe,[["render",DEe],["__cssModules",LEe]]),vEe="_selectoritem_16hc8_179",MEe="_selectoritem2_16hc8_199",HEe="_gscheaderlineup_16hc8_219",UEe="_anNoEstn_16hc8_233",GEe="_groupsLeague_16hc8_239",WEe="_jugadores_16hc8_249",qEe="_switchOption_16hc8_259",JEe="_jugadores1_16hc8_279",XEe="_switchOption1_16hc8_289",ZEe="_switchStatesBig_16hc8_305",YEe="_groupsLeagueParent_16hc8_323",KEe="_imgHomeTeamIcon_16hc8_341",QEe="_imgHomeTeamWrapper_16hc8_353",eNe="_teamContainer_16hc8_377",tNe="_name_16hc8_401",aNe="_homeTeamContainer_16hc8_413",oNe="_div_16hc8_433",sNe="_titleSession_16hc8_441",nNe="_scoreContainer_16hc8_461",iNe="_scoreContainerWrapper_16hc8_481",rNe="_teamContainer1_16hc8_505",lNe="_awayTeamContainer_16hc8_529",cNe="_matchContainer_16hc8_549",dNe="_sliderMatchesChild_16hc8_567",mNe="_manchesterUnited_16hc8_579",pNe="_sliderMatchesItem_16hc8_591",hNe="_sliderMatches_16hc8_567",gNe="_sortIcon_16hc8_627",yNe="_filtros_16hc8_641",uNe="_sortParent_16hc8_657",fNe="_shapeIcon_16hc8_671",_Ne="_btnFilter_16hc8_681",bNe="_btnFilter1_16hc8_709",wNe="_btnFilterParent_16hc8_737",CNe="_backArrowIcon_16hc8_753",kNe="_teamContainer2_16hc8_765",SNe="_homeTeam_16hc8_413",ENe="_div4_16hc8_793",NNe="_finalScore_16hc8_803",$Ne="_manchesterUnited1_16hc8_829",BNe="_scoreContainer1_16hc8_843",xNe="_match_16hc8_549",VNe="_manchesterUnited2_16hc8_879",INe="_btnDetails_16hc8_889",ANe="_matchContainer1_16hc8_909",ONe="_goalChild_16hc8_925",TNe="_goal_16hc8_925",zNe="_manchesterUnited3_16hc8_951",FNe="_minuteEvent_16hc8_965",RNe="_yellowCard_16hc8_979",PNe="_awayTeamEvents_16hc8_993",DNe="_rectangle_16hc8_1007",LNe="_homeTeamEvents_16hc8_1021",jNe="_totalEvents_16hc8_1037",vNe="_headerSeccionAlineaciones1_16hc8_1053",MNe="_switchOption3_16hc8_1075",HNe="_switchOption4_16hc8_1099",UNe="_switchStatesBig1_16hc8_1119",GNe="_manchesterUnited13_16hc8_1133",WNe="_homeTeamContainer1_16hc8_1143",qNe="_scoreContainer2_16hc8_1157",JNe="_matchContainer2_16hc8_1185",XNe="_manchesterUnited14_16hc8_1205",ZNe="_sliderMatchesInner_16hc8_1219",YNe="_rectangleIcon_16hc8_1239",KNe="_sliderMatches1_16hc8_1259",QNe="_containerData_16hc8_1275",e$e="_headerSeccionAlineaciones2_16hc8_1303",t$e="_headerSeccionAlineaciones_16hc8_1053",a$e="_headerSeccionAlineaciones21200_16hc8_1351",o$e="_headerSeccionAlineaciones1540_16hc8_1357",s$e="_headerSeccionAlineaciones2540_16hc8_1365",n$e={selectoritem:vEe,selectoritem2:MEe,gscheaderlineup:HEe,anNoEstn:UEe,groupsLeague:GEe,jugadores:WEe,switchOption:qEe,jugadores1:JEe,switchOption1:XEe,switchStatesBig:ZEe,groupsLeagueParent:YEe,imgHomeTeamIcon:KEe,imgHomeTeamWrapper:QEe,teamContainer:eNe,name:tNe,homeTeamContainer:aNe,div:oNe,titleSession:sNe,scoreContainer:nNe,scoreContainerWrapper:iNe,teamContainer1:rNe,awayTeamContainer:lNe,matchContainer:cNe,sliderMatchesChild:dNe,manchesterUnited:mNe,sliderMatchesItem:pNe,sliderMatches:hNe,sortIcon:gNe,filtros:yNe,sortParent:uNe,shapeIcon:fNe,btnFilter:_Ne,btnFilter1:bNe,btnFilterParent:wNe,backArrowIcon:CNe,teamContainer2:kNe,homeTeam:SNe,div4:ENe,finalScore:NNe,manchesterUnited1:$Ne,scoreContainer1:BNe,match:xNe,manchesterUnited2:VNe,btnDetails:INe,matchContainer1:ANe,goalChild:ONe,goal:TNe,manchesterUnited3:zNe,minuteEvent:FNe,yellowCard:RNe,awayTeamEvents:PNe,rectangle:DNe,homeTeamEvents:LNe,totalEvents:jNe,headerSeccionAlineaciones1:vNe,switchOption3:MNe,switchOption4:HNe,switchStatesBig1:UNe,manchesterUnited13:GNe,homeTeamContainer1:WNe,scoreContainer2:qNe,matchContainer2:JNe,manchesterUnited14:XNe,sliderMatchesInner:ZNe,rectangleIcon:YNe,sliderMatches1:KNe,containerData:QNe,headerSeccionAlineaciones2:e$e,headerSeccionAlineaciones:t$e,headerSeccionAlineaciones21200:a$e,headerSeccionAlineaciones1540:o$e,headerSeccionAlineaciones2540:s$e},i$e={components:{GSCCarousel:dc,GscSwitchComponent:Jn},props:{optionSelected:{type:String,default:"Historicos"},widthSize:{type:Number,default:0},gameInfo:{type:Object,default:()=>{}},teamActive:{type:String,default:"home"},gameHistoric:{type:Array,default:()=>[]}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",{season_id:e.season_id,game_id:e.id})}catch(a){throw new Error(a)}}}},data(){return{selectedOption:0,updateIndex:0,test:[{description:"Clausura 2018 I JOR 5 I CHI - ATL 12 '",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 73'",icon:"goal"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 53'",icon:"red-card"},{description:"Clausura 2018 I JOR 5 I CHI - ATL 123'",icon:"yellow-card"}]}},computed:{headerSeccionAlineaciones2Class(){const e=this.widthSize;return e<=540?this.$style.headerSeccionAlineaciones2540:e<=1200?this.$style.headerSeccionAlineaciones21200:this.$style.headerSeccionAlineaciones2},headerSeccionAlineaciones1Class(){return this.widthSize<=540?this.$style.headerSeccionAlineaciones1540:this.$style.headerSeccionAlineaciones1}},methods:{remplazarMxJor(e){return e.replace("M","JOR ")},changeCarouselItem(e){this.$emit("input",{season_id:e.selectedItem.season,game_id:e.selectedItem.game,ht_abrev:e.selectedItem.home_team_abbreviation,at_abrev:e.selectedItem.away_team_abbreviation}),this.selectedOption=e.selectedItemIndex,this.updateIndex+=1},clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)}}},r$e=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),l$e=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),c$e=["src"],d$e=["src"],m$e=["src"],p$e=["src"],h$e=["src"],g$e=["src"];function y$e(e,a,o,s,n,i){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.gscheaderlineup)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones1Class),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[r$e,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),l$e],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},null,2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,c$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.titleSession)},t.toDisplayString(o.gameInfo.season_name!==void 0?o.gameInfo.season_name+" | "+i.remplazarMxJor(o.gameInfo.matchday_abbreviation)+" | "+o.gameInfo.home_team_abbreviation+" - "+o.gameInfo.away_team_abbreviation:""),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,d$e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches)},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnFilterParent)},[t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.sortIcon),alt:"",src:oy},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Filtros",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2)],2),t.createElementVNode("button",{class:t.normalizeClass(e.$style.btnFilter1),id:"btn-filters"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.sortParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"Jornada",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtros)},"2",2)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.shapeIcon),alt:"",src:Zn},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.match)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:xC},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,m$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.finalScore)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div4)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div4)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},[o.teamActive=="home"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.home_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.home_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.home_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.visiting_match_result==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(" Ganado ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==2?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Perdido ")],64)):t.createCommentVNode("",!0),Object.visiting_match_result==3?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(" Empatado ")],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeam)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer2)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,p$e),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3)],2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.backArrowIcon),alt:"",src:VC},null,2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.btnDetails)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited2)},"Ver detalles",2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(i.headerSeccionAlineaciones2Class),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig1),id:"switch-lineup"},null,2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited13)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,h$e)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer2)},[Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[0]),3)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div)},"-",2),Object.keys(o.gameInfo).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(e.$style.div)},t.toDisplayString(o.gameInfo.score[1]),3)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,g$e)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.sliderMatches1)},null,2)],2)],2)],2)],2)}const u$e={$style:n$e},f$e=wt(i$e,[["render",y$e],["__cssModules",u$e]]),_$e="_anNoEstn_j98j7_139",b$e="_groupsLeague_j98j7_145",w$e="_historicas_j98j7_153",C$e="_switchOption_j98j7_163",k$e="_switchOption1_j98j7_183",S$e="_probables_j98j7_203",E$e="_switchOption2_j98j7_213",N$e="_switchStatesBig_j98j7_237",$$e="_groupsLeagueParent_j98j7_255",B$e="_imgHomeTeamIcon_j98j7_273",x$e="_imgHomeTeamWrapper_j98j7_285",V$e="_teamContainer_j98j7_309",I$e="_name_j98j7_333",A$e="_jor_j98j7_345",O$e="_jorParent_j98j7_357",T$e="_shapeIcon_j98j7_373",z$e="_frameParent_j98j7_383",F$e="_manchesterUnited_j98j7_413",R$e="_necaxaIcon_j98j7_435",P$e="_manchesterUnited1_j98j7_447",D$e="_team_j98j7_309",L$e="_homeTeamContainer_j98j7_475",j$e="_div1_j98j7_495",v$e="_scoreContainer_j98j7_503",M$e="_scoreContainerWrapper_j98j7_525",H$e="_team1_j98j7_549",U$e="_name1_j98j7_563",G$e="_teamContainer1_j98j7_577",W$e="_awayTeamContainer_j98j7_601",q$e="_matchContainer_j98j7_623",J$e="_goalChild_j98j7_641",X$e="_goal_j98j7_641",Z$e="_manchesterUnited4_j98j7_667",Y$e="_minuteEvent_j98j7_681",K$e="_yellowCard_j98j7_695",Q$e="_awayTeamEvents_j98j7_709",eBe="_rectangle_j98j7_723",tBe="_homeTeamEvents_j98j7_737",aBe="_totalEvents_j98j7_753",oBe="_headerSeccionAlineaciones1_j98j7_769",sBe="_homeTeamContainer1_j98j7_789",nBe="_awayTeamContainer1_j98j7_813",iBe="_headerSeccionAlineaciones2_j98j7_837",rBe="_jugadores_j98j7_857",lBe="_switchOption6_j98j7_869",cBe="_switchOption8_j98j7_889",dBe="_switchStatesBig2_j98j7_913",mBe="_manchesterUnited28_j98j7_927",pBe="_homeTeamContainer2_j98j7_935",hBe="_matchContainer2_j98j7_949",gBe="_manchesterUnited29_j98j7_971",yBe="_sliderMatchesChild_j98j7_985",uBe="_sliderMatchesItem_j98j7_1005",fBe="_sliderMatches_j98j7_985",_Be="_jorParent2_j98j7_1045",bBe="_filterMatchday_j98j7_1059",wBe="_necaxaIcon4_j98j7_1081",CBe="_team4_j98j7_1093",kBe="_filterMatchdayParent_j98j7_1113",SBe="_filterMatchday1_j98j7_1127",EBe="_teamParent_j98j7_1157",NBe="_filtersContainer_j98j7_1177",$Be="_containerData_j98j7_1195",BBe="_headerSeccionAlineaciones3_j98j7_1223",xBe="_headerSeccionAlineaciones_j98j7_769",VBe={anNoEstn:_$e,groupsLeague:b$e,historicas:w$e,switchOption:C$e,switchOption1:k$e,probables:S$e,switchOption2:E$e,switchStatesBig:N$e,groupsLeagueParent:$$e,imgHomeTeamIcon:B$e,imgHomeTeamWrapper:x$e,teamContainer:V$e,name:I$e,jor:A$e,jorParent:O$e,shapeIcon:T$e,frameParent:z$e,manchesterUnited:F$e,necaxaIcon:R$e,manchesterUnited1:P$e,team:D$e,homeTeamContainer:L$e,div1:j$e,scoreContainer:v$e,scoreContainerWrapper:M$e,team1:H$e,name1:U$e,teamContainer1:G$e,awayTeamContainer:W$e,matchContainer:q$e,goalChild:J$e,goal:X$e,manchesterUnited4:Z$e,minuteEvent:Y$e,yellowCard:K$e,awayTeamEvents:Q$e,rectangle:eBe,homeTeamEvents:tBe,totalEvents:aBe,headerSeccionAlineaciones1:oBe,homeTeamContainer1:sBe,awayTeamContainer1:nBe,headerSeccionAlineaciones2:iBe,jugadores:rBe,switchOption6:lBe,switchOption8:cBe,switchStatesBig2:dBe,manchesterUnited28:mBe,homeTeamContainer2:pBe,matchContainer2:hBe,manchesterUnited29:gBe,sliderMatchesChild:yBe,sliderMatchesItem:uBe,sliderMatches:fBe,jorParent2:_Be,filterMatchday:bBe,necaxaIcon4:wBe,team4:CBe,filterMatchdayParent:kBe,filterMatchday1:SBe,teamParent:EBe,filtersContainer:NBe,containerData:$Be,headerSeccionAlineaciones3:BBe,headerSeccionAlineaciones:xBe},IBe={components:{GSCDropdown:ay,GscSwitchComponent:Jn},props:{optionSelected:{type:String,default:"Historicos"},gameInfo:{type:Object,default:()=>{}},gameRecientes:{type:Array,default:()=>[]},matchdaysDefault:{type:Array,default:()=>[]}},data(){return{rivalHomeImg:"",rivalVisitImg:"",rivalHomeAbrev:"",rivalVisitAbrev:"",auxVal:0}},watch:{gameInfo:{immediate:!0,handler:async function(e){try{this.$emit("input",e)}catch(a){throw new Error(a)}}}},methods:{clickOnSelectOption(e){this.$emit("clickOnSelectOption",e)},changeDropdownVisit(e){const a=this.gameRecientes[this.gameInfo.away_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalVisitAbrev=this.gameInfo.away_team_abbreviation==this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation?this.gameRecientes[this.gameInfo.away_team_abbreviation][a].away_team_abbreviation:this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation,this.rivalVisitImg=this.gameInfo.away_team_abbreviation==this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.away_team_abbreviation][a].away_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.away_team_abbreviation][a].home_team+".png",this.$emit("changeaway",this.gameRecientes[this.gameInfo.away_team_abbreviation][a])},changeDropdownLocal(e){const a=this.gameRecientes[this.gameInfo.home_team_abbreviation].findIndex(o=>o.matchday_id===e.id);this.rivalHomeAbrev=this.gameInfo.home_team_abbreviation==this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation?this.gameRecientes[this.gameInfo.home_team_abbreviation][a].home_team_abbreviation:this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation,this.rivalHomeImg=this.gameInfo.home_team_abbreviation==this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team_abbreviation?"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.home_team_abbreviation][a].home_team+".png":"https://az755631.vo.msecnd.net/teams-80/"+this.gameRecientes[this.gameInfo.home_team_abbreviation][a].away_team+".png",this.$emit("changehome",this.gameRecientes[this.gameInfo.home_team_abbreviation][a])}}},ABe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),OBe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones: ",-1),TBe=["src"],zBe={class:"selector-tournaments"},FBe=["src"],RBe=["src"],PBe={class:"selector-tournaments"},DBe=["src"],LBe=t.createElementVNode("span",null,"Las alineaciones de este partido ",-1),jBe=t.createElementVNode("span",null,". Por lo pronto puedes ver alineaciones:",-1),vBe=["src"],MBe={class:"selector-tournaments"},HBe=["src"],UBe=["src"],GBe={class:"selector-tournaments"},WBe=["src"],qBe=["src"],JBe=["src"],XBe={class:"selector-tournaments"},ZBe=["src"],YBe=["src"],KBe={class:"selector-tournaments"};function QBe(e,a,o,s,n,i){const r=t.resolveComponent("GscSwitchComponent"),c=t.resolveComponent("GSCDropdown");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones1),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[ABe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),OBe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,TBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createVNode(c,{class:t.normalizeClass(e.$style.frameParent),items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",zBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["class","items","onInput"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:n.rivalHomeImg},null,10,FBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(n.rivalHomeAbrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainerWrapper)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.scoreContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"2",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"-",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.div1)},"2",2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(n.rivalVisitAbrev),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:n.rivalVisitImg},null,10,RBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2)],2),t.createVNode(c,{class:t.normalizeClass(e.$style.frameParent),items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",PBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["class","items","onInput"]),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name1)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,DBe)],2)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones2),id:"header-desktop"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeagueParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.groupsLeague)},[LBe,t.createElementVNode("span",{class:t.normalizeClass(e.$style.anNoEstn)},"aún no están disponibles",2),jBe],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,vBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParent)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",MBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:n.rivalHomeImg},null,10,HBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(n.rivalHomeAbrev),3)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.awayTeamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},t.toDisplayString(n.rivalVisitAbrev),3),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon),alt:"",src:n.rivalVisitImg},null,10,UBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited)},"vs",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.frameParent)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px",width:"92px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"1",borderColor:"rgba(255, 255, 255, 0.2)","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",GBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,WBe)],2)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.headerSeccionAlineaciones3),id:"header-mobile"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.switchStatesBig2),id:"switch-lineup"},[t.createVNode(r,{buttons:["Historicos","Recientes","Probables"],selectedOption:o.optionSelected,type:1,arrow:!1,borderRadius:"32px",height:"28px",fontSize:"11px;",fontFamily:"Poppins-Regular","border-width":"1px","border-width-container":"0px",backgroundOptionDisable:"#162533",width:"600px",backgroundOptionActive:"transparent",onInput:i.clickOnSelectOption},null,8,["selectedOption","onInput"])],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.containerData)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited28)},"Alineación utilizada en:",2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.matchContainer2),id:"match-container"},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.home_team+".png"},null,10,qBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.home_team_abbreviation),3)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.homeTeamContainer2)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.name)},t.toDisplayString(o.gameInfo.away_team_abbreviation),3),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamContainer1)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.imgHomeTeamWrapper)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.imgHomeTeamIcon),alt:"",src:"https://az755631.vo.msecnd.net/teams-80/"+o.gameInfo.away_team+".png"},null,10,JBe)],2)],2)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filtersContainer)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchdayParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday1)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.home_team_abbreviation],onInput:i.changeDropdownLocal,style:{"align-items":"baseline","z-index":"2"},height:"32px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"0",borderColor:"none","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",XBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.team4)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},"vs",2),t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon4),alt:"",src:n.rivalHomeImg},null,10,ZBe)],2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.teamParent)},[t.createElementVNode("div",{class:t.normalizeClass(e.$style.team1)},[t.createElementVNode("img",{class:t.normalizeClass(e.$style.necaxaIcon4),alt:"",src:n.rivalVisitImg},null,10,YBe),t.createElementVNode("div",{class:t.normalizeClass(e.$style.manchesterUnited1)},"vs",2)],2),t.createElementVNode("div",{class:t.normalizeClass(e.$style.filterMatchday1)},[t.createVNode(c,{items:o.matchdaysDefault[o.gameInfo.away_team_abbreviation],onInput:i.changeDropdownVisit,style:{"align-items":"baseline","z-index":"2"},height:"32px","background-color":"rgba(255, 255, 255, 0.05);",color:"white","border-width":"0",borderColor:"none","border-radius":"0px",fontSize:"10px",arrowHeight:"16",arrowWidth:16,listHeight:"300px",listBackgroundColor:"#243a4c",hoverBackgroundColor:"#0d1d2a",listItemColor:"#FFFFFF",listItemSelectedBackgroundColor:"#0d1d2a",listItemSelectedColor:"#c3e569",listItemPadding:"8px 7px",listBorderColor:"rgba(255, 255, 255, 0.1)",listBorderRadius:"2px"},{default:t.withCtx(h=>[t.createElementVNode("div",KBe,t.toDisplayString(h.selectedItem.name),1)]),availableItem:t.withCtx(({item:h})=>[t.createElementVNode("div",null,t.toDisplayString(h.name),1)]),_:1},8,["items","onInput"])],2)],2)],2)],2)],2)],2)}const exe={$style:VBe},txe=wt(IBe,[["render",QBe],["__cssModules",exe]]),IC="/line.png";let AC=null;const axe={name:"lineupPlayers",props:{game:{type:Object,default:()=>{}},selectedOption:{type:Boolean,default:"Prematch"}},components:{CardPlayer:Nke,HeaderPlayerHistorico:t9e,HeaderPlayerRecientes:jEe,HeaderPlayerProbables:txe,HeaderPlayerPostmatch:f$e},data(){return{selectOptMenuheader:"Historicos",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE",tokenPremium:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTg2LCJuYW1lIjoiSkFTIEdvbFN0YXRzIiwidXNlcm5hbWUiOiJ5YXRlYW1lcmljYSIsImVtYWlsIjoiIiwicHJvdmlkZXJfaWQiOjEsImxvZ2luX2dvbHN0YXRzIjoxLCJpYXQiOjE2OTYzNjU1ODcsImV4cCI6MTcyNzkwMTU4N30.jynRtgtFM8sf8gtqZJ-1gHLc2Ws13TIykXcfrlOvv1g",urlGames:"https://iwxfzq6e2h.execute-api.us-west-2.amazonaws.com/prod/v2/statisticsLeagueBySeason/",url:"https://tj4cepyjc4.execute-api.us-west-2.amazonaws.com/prod/lineups/",urlMXM:"https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",retries:3,teamActive:"home",subsActive:!1,playersHome:[],gamesContainerWidth:0,playersAway:[],defaultDropItem:{},subsTitle:!1,uniformHome:"",valueUpdateRecientes:0,uniformHomeG:"",uniformAway:"",uniformAwayG:"",dataPlayersHome:[],dataPlayersAway:[],homeTeamLogo:"",awayTeamLogo:"",homeTeamName:"",awayTeamName:"",homeTeamAbrev:"",awayTeamAbrev:"",home_team_id:0,updateComponentAway:0,away_team_id:0,substitutionModal:{min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},homeTeam:{},visitingTeam:{},gameForAnalysis:{},movil:!1,positions:[{name:"Portero"},{name:"Defensa central"},{name:"Lateral por izquierda"},{name:"Lateral por derecha"},{name:"Volante por izquierda"},{name:"Volante por derecha"},{name:"Volante defensivo"},{name:"Volante ofensivo"},{name:"Delantero"},{name:"Desconocida"}],auxProbablesIDGameHome:0,auxProbablesIDGameAway:0,auxHistoricGameID:0,gameInfoheader:{},gamesHistoric:[],gamesRecientes:[],matchdaysPerTeam:[],lastGetGame:0}},computed:{goalcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"goal_card_div440":e<=650?"goal_card_div650":e<=820?"goal_card_div820":"goal_card_div"},yellowredcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"yellowred_card_div440":e<=650?"yellowred_card_div650":e<=820?"yellowred_card_div820":"yellowred_card_div"},redcarddivClass(){const e=this.gamesContainerWidth;return e<=440?"red_card_div440":e<=650?"red_card_div650":e<=820?"red_card_div820":"red_card_div"},yellowcarddivclass(){const e=this.gamesContainerWidth;return e<=440?"yellow_card_div440":e<=650?"yellow_card_div650":e<=820?"yellow_card_div820":"yellow_card_div"},infochangeplayeritemClass(){const e=this.gamesContainerWidth;return e<=440?"info-chamge-player-item440":e<=650?"info-chamge-player-item650":e<=740?"info-chamge-player-item740":"info-chamge-player-item"},infonameplayeritemClass(){const e=this.gamesContainerWidth;return e<=440?"info-name-player-item440":e<=650?"info-name-player-item650":e<=740?"info-name-player-item740":"info-name-player-item"},infoplayeritemClass(){const e=this.gamesContainerWidth;return e<=400?"info-player-item400":e<=440?"info-player-item440":e<=650?"info-player-item650":e<=740?"info-player-item740":"info-player-item"},numPlayerClass(){const e=this.gamesContainerWidth;return e<=440?"num-Player440":e<=540?"num-Player540":e<=740?"num-Player740":"num-Player"},jerseyitemplayerClass(){const e=this.gamesContainerWidth;return e<=440?"jerseyitemplayer440":e<=540?"jerseyitemplayer540":e<=650?"jerseyitemplayer650":e<=740?"jerseyitemplayer740":"jerseyitemplayer"},itemplayerfieldClass(){return this.gamesContainerWidth<=740?"itemplayer-field740":"itemplayer-field"},canchacontainerClass(){const e=this.gamesContainerWidth;return e<=300?"cancha-container300":e<=325?"cancha-container325":e<=350?"cancha-container350":e<=440?"cancha-container440":e<=540?"cancha-container540":e<=740?"cancha-container740":e<=820?"cancha-container820":e<=840?"cancha-container840":e<=940?"cancha-container940":e<=1140?"cancha-container1140":"cancha-container"},fieldcontainerClass(){const e=this.gamesContainerWidth;return e<=300?"field-container300":e<=380?"field-container380":e<=440?"field-container440":e<=540?"field-container540":e<=740?"field-container740":"field-container"},notificationnolineupsClass(){const e=this.gamesContainerWidth;return e<=300?"notification-no-lineups300":e<=370?"notification-no-lineups370":e<=400?"notification-no-lineups400":e<=460?"notification-no-lineups460":e<=500?"notification-no-lineups500":e<=530?"notification-no-lineups530":e<=740?"notification-no-lineups740":e<=768?"notification-no-lineups768":e<=830?"notification-no-lineups830":e<=900?"notification-no-lineups900":"notification-no-lineups"},containernolineups(){const e=this.gamesContainerWidth;return e<=300?"container-no-lineups300":e<=350?"container-no-lineups350":e<=768?"container-no-lineups768":"container-no-lineups"},menuTeamsClass(){return this.gamesContainerWidth<=740?"menu-teams-mobile740":"menu-teams-mobile"},positionClass(){return this.gamesContainerWidth<=500?"gsc-position-player500":"gsc-position-player"},positionClass2(){return this.gamesContainerWidth<=500?"gsc-position-player2500":"gsc-position-player2"},containerlineupsClass(){const e=this.gamesContainerWidth;return e<=740?"gsc-lineups-container680":e<=900?"gsc-lineups-container900":"gsc-lineups-container"},containerClassHome(){const e=this.gamesContainerWidth;return e<=740?"gsclineupscontainerhome680":e<=768?"gsclineupscontainerhome768":e<=900?"gsclineupscontainerhome900":"gsclineupscontainerhome"},containerClassAway(){const e=this.gamesContainerWidth;return e<=740?"gsclineupscontaineraway680":e<=768?"gsclineupscontaineraway768":e<=900?"gsclineupscontaineraway900":"gsclineupscontaineraway"},sizeBrowser(){return this.gamesContainerWidth},numPlayer(){return Number(this.playersAway.length)+Number(this.playersHome.length)},benchFillHome(){return this.playersHome.length<this.playersAway.length?this.playersAway.length-this.playersHome.length:0},benchFillAway(){return this.playersAway.length<this.playersHome.length?this.playersHome.length-this.playersAway.length:0}},async mounted(){if(setTimeout(()=>{this.setUpResizeObserver()},100),this.game||this.$route.params.gameId)try{this.cleaneData()}catch(e){throw new Error(e)}},watch:{selectOptMenuheader:{immediate:!0,async handler(e){this.selectedOption!=="Postmatch"&&(e==="Historicos"&&this.gamesHistoric[0]&&await this.getLineUp(this.gamesHistoric[0].game),e==="Recientes"&&(await this.getLineUp(this.gamesRecientes[this.gameInfoheader.home_team_abbreviation][0].id),this.valueUpdateRecientes+=1))}},"$socket.connected":{immediate:!0,handler(e){e&&this.getDataSocket()}},game:{immediate:!0,handler:async function(e){e&&(this.cleaneData(),await this.gameDataInfo(e),await this.getHeaderInfo(e),this.selectedOption=="Postmatch"?await this.getLineUp(e.game_id):this.selectOptMenuheader=="Historicos"&&await this.getLineUp(this.gamesHistoric[0].game))}}},sockets:{new_bench(e,a){if(a[this.home_team_id]){this.playersHome=this.playersHome.filter(function(f){return!f.isbench});for(let f=0;f<a[this.home_team_id].length;f++)if(!a[this.home_team_id][f].isTitular){this.subsTitle=!0;var o=a[this.home_team_id][f].playerName.split(","),s=o[0].split(" "),n=o[1].trim().split(" "),i="";s.length==2||s.length==1?s[0].length<4?i=s[0]+" "+s[1]:i=s[0]:s.length==3?i=s[0]+" "+s[1]:s.length==4&&(i=s[1]+" "+s[2]+" "+s[3]);var r=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";i=i.replace(",","");var c=r+". "+i,h=this.dataPlayersHome.findIndex(_=>_.player_id==a[this.home_team_id][f].playerID);this.playersHome.push({played:!1,name:a[this.home_team_id][f].playerName,position:h!=-1?this.positions[this.dataPlayersHome[h].position_id-1].name:"",position_id:this.dataPlayersHome[h].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a[this.home_team_id][f].playerID+".png",nationality:h!=-1&&this.dataPlayersHome[h].nationality?this.dataPlayersHome[h].nationality.substring(0,3):"",imgNationality:h!=-1?this.dataPlayersHome[h].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:c,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+this.home_team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a[this.home_team_id][f].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:a[this.home_team_id][f].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0})}this.playersHome.sort((f,_)=>f.position_id>_.position_id?1:_.position_id>f.position_id?-1:0)}if(a[this.away_team_id]){this.playersAway=this.playersAway.filter(function(f){return!f.isbench});for(let f=0;f<a[this.away_team_id].length;f++)if(!a[this.away_team_id][f].isTitular){this.subsTitle=!0;var d=a[this.away_team_id][f].playerName.split(","),l=d[0].split(" "),m=o[1].trim().split(" "),p="";l.length==2||l.length==1?l[0].length<4?p=l[0]+" "+l[1]:p=l[0]:l.length==3?p=l[0]+" "+l[1]:l.length==4&&(p=l[1]+" "+l[2]+" "+l[3]);var y=m[m.length-1]!=""?m[m.length-1].charAt(0):m[m.length-2]?m[m.length-2].charAt(0):"";p=p.replace(",","");var g=y+". "+p,u=this.dataPlayersAway.findIndex(_=>_.player_id==a[this.away_team_id][f].playerID);this.playersAway.push({played:!1,name:a[this.away_team_id][f].playerName,position:u!=-1?this.positions[this.dataPlayersAway[u].position_id-1].name:"",position_id:this.dataPlayersAway[u].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a[this.away_team_id][f].playerID+".png",nationality:u!=-1&&this.dataPlayersAway[u].nationality?this.dataPlayersAway[u].nationality.substring(0,3):"",imgNationality:u!=-1?this.dataPlayersAway[u].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:g,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+this.away_team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a[this.away_team_id][f].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:a[this.away_team_id][f].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0})}this.playersAway.sort((f,_)=>f.position_id>_.position_id?1:_.position_id>f.position_id?-1:0)}},new_lineup(e,a){if(a.team_id==a.home_team.team_id){if(this.playersHome.length==0){this.dataPlayersHome=a.home_team.players;for(let b=0;b<a.data.length;b++){this.home_team_id=a.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+"_g.svg","home",0);var o=a.data[b].player_name.split(","),s=o[0].split(" "),n=o[1].trim().split(" "),i="";s.length==2||s.length==1?s[0].length<4?i=s[0]+" "+s[1]:i=s[0]:s.length==3?i=s[0]+" "+s[1]:s.length==4&&(i=s[1]+" "+s[2]+" "+s[3]);var r=n[n.length-1]!=""?n[n.length-1].charAt(0):n[n.length-2]?n[n.length-2].charAt(0):"";i=i.replace(",","");var c=r+". "+i,h=a.data[b].x,d=h*50/100,l=a.home_team.players.findIndex(E=>E.player_id==a.data[b].player_id);this.playersHome.push({played:!0,name:a.data[b].player_name,position:l!=-1?this.positions[a.home_team.players[l].position_id-1].name:"",position_id:a.home_team.players[l].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a.data[b].player_id+".png",nationality:l!=-1&&a.home_team.players[l].nationality?a.home_team.players[l].nationality.substring(0,3):"",imgNationality:l!=-1?a.home_team.players[l].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:c,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a.data[b].jersey_number,positionX:a.data[b].y-13,positionY:d*.9,positionXOrigin:a.data[b].y-17,positionYOrigin:a.data[b].x-2,playerId:a.data[b].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:a.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png"}this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0)}}else if(this.playersAway.length==0){this.dataPlayersAway=a.away_team.players;for(let b=0;b<a.data.length;b++){this.away_team_id=a.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+a.team_id+"_g.svg","away",0);var m=a.data[b].player_name.split(","),p=m[0].split(" "),y=m[1].trim().split(" "),g="";p.length==2||p.length==1?p[0].length<4?g=p[0]+" "+p[1]:g=p[0]:p.length==3?g=p[0]+" "+p[1]:p.length==4&&(g=p[1]+" "+p[2]+" "+p[3]);var u=y[y.length-1]!=""?y[y.length-1].charAt(0):y[y.length-2]?y[y.length-2].charAt(0):"";g=g.replace(",","");var f=u+". "+g,_=a.data[b].x,k=100-(100-_)*50/100;k=k*.9;var w=a.away_team.players.findIndex(E=>E.player_id==a.data[b].player_id);this.playersAway.push({played:!0,name:a.data[b].player_name,position:w!=-1?this.positions[a.away_team.players[w].position_id-1].name:"",position_id:a.away_team.players[w].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+a.data[b].player_id+".png",nationality:w!=-1&&a.away_team.players[w].nationality?a.away_team.players[w].nationality.substring(0,3):"",imgNationality:w!=-1?a.away_team.players[w].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:f,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:a.data[b].jersey_number,positionX:a.data[b].y-13,positionY:k+2,positionXOrigin:a.data[b].y-17,positionYOrigin:a.data[b].x-7,playerId:a.data[b].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:a.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+a.team_id+".png"}this.playersAway.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0)}},update_mxm(e,a){var o=-1,s=-1;if(this.playersHome.length>0){var n=this.playersHome.findIndex(B=>B.idredcards==a.play_id),i=this.playersHome.findIndex(B=>B.idyellowcards==a.play_id),r=this.playersHome.findIndex(B=>B.idSubstitution==a.play_id);for(let B=0;B<this.playersHome.length;B++){var c=this.playersHome[B].idsGoals.findIndex($=>$==a.play_id);c!=-1&&(o=c,s=B)}n!=-1&&this.resetPlayUpdate("RedCard","Home",n,s),i!=-1&&this.resetPlayUpdate("YellowCard","Home",i,s),r!=-1&&this.resetPlayUpdate("Substitution","Home",r,s),o!=-1&&this.resetPlayUpdate("Goals","Home",o,s)}if(this.playersAway.length>0){var h=this.playersAway.findIndex(B=>B.idredcards==a.play_id),d=this.playersAway.findIndex(B=>B.idyellowcards==a.play_id),l=this.playersAway.findIndex(B=>B.idSubstitution==a.play_id);for(let B=0;B<this.playersAway.length;B++){var m=this.playersAway[B].idsGoals.findIndex($=>$==a.play_id);m!=-1&&(o=m,s=B)}h!=-1&&this.resetPlayUpdate("RedCard","Away",h,s),d!=-1&&this.resetPlayUpdate("YellowCard","Away",d,s),l!=-1&&this.resetPlayUpdate("Substitution","Away",l,s),o!=-1&&this.resetPlayUpdate("Goals","Away",o,s)}if(a.event_type_id==3){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var p=a.player_id.split("@"),y=this.playersHome.findIndex(B=>B.playerId==p[0]),g=this.playersHome.findIndex(B=>B.playerId==p[1]);y!=-1&&(this.playersHome[y].idSubstitution=a.play_id,this.playersHome[y].substitutionOut=!0,this.playersHome[y].substitutionMin=a.minute,this.playersHome[y].substitutionDataID=a.team_id+"@"+a.player_id),g!=-1&&(this.playersHome[g].idSubstitution=a.play_id,this.playersHome[g].substitutionIn=!0,this.playersHome[g].substitutionMin=a.minute,this.playersHome[g].substitutionDataID=a.team_id+"@"+a.player_id)}}else if(this.playersAway.length>0){var u=a.player_id.split("@"),f=this.playersAway.findIndex(B=>B.playerId==u[0]),_=this.playersAway.findIndex(B=>B.playerId==u[1]);y!=-1&&(this.playersAway[f].idSubstitution=a.play_id,this.playersAway[f].substitutionOut=!0,this.playersAway[f].substitutionMin=a.minute,this.playersAway[f].substitutionDataID=a.team_id+"@"+a.player_id),_!=-1&&(this.playersAway[_].idSubstitution=a.play_id,this.playersAway[_].substitutionIn=!0,this.playersAway[_].substitutionMin=a.minute,this.playersAway[_].substitutionDataID=a.team_id+"@"+a.player_id)}}if(a.event_type_id==1){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var k=this.playersHome.findIndex(B=>B.playerId==a.player_id);k!=-1&&(this.playersHome[k].goals+=1,this.playersHome[k].goalsMin.push(a.minute),this.playersHome[k].idsGoals.push(a.play_id))}}else if(this.playersAway.length>0){var w=this.playersAway.findIndex(B=>B.playerId==a.player_id);w!=-1&&(this.playersAway[w].goals+=1,this.playersAway[w].goalsMin.push(a.minute),this.playersAway[w].idsGoals.push(a.play_id))}}if(a.event_type_id==2){if(a.category_id==8){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var b=this.playersHome.findIndex(B=>B.playerId==a.player_id);b!=-1&&(this.playersHome[b].yellowcards+=1,this.playersHome[b].yellowcardsMin=a.minute,this.playersHome[b].idyellowcards=a.play_id)}}else if(this.playersAway.length>0){var E=this.playersAway.findIndex(B=>B.playerId==a.player_id);E!=-1&&(this.playersAway[E].yellowcards+=1,this.playersAway[E].yellowcardsMin=a.minute,this.playersAway[E].idyellowcards=a.play_id)}}if(a.category_id==9){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var x=this.playersHome.findIndex(B=>B.playerId==a.player_id);x!=-1&&(this.playersHome[x].redcards+=1,this.playersHome[x].redcardsMin=a.minute,this.playersHome[x].idredcards=a.play_id)}}else if(this.playersAway.length>0){var V=this.playersAway.findIndex(B=>B.playerId==a.player_id);V!=-1&&(this.playersAway[V].redcards+=1,this.playersAway[V].redcardsMin=a.minute,this.playersAway[V].idredcards=a.play_id)}}}},delete_mxm(e,a){if(this.playersHome.length>0)for(let o=0;o<this.playersHome.length;o++)this.playersHome[o].idSubstitution==a.play_id&&(this.playersHome[o].substitutionOut=!1,this.playersHome[o].substitutionIn=!1,this.playersHome[o].substitutionMin="",this.playersHome[o].substitutionDataID="",this.playersHome[o].idSubstitution=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idSubstitution==a.play_id&&(this.playersAway[o].substitutionOut=!1,this.playersAway[o].substitutionIn=!1,this.playersAway[o].substitutionMin="",this.playersAway[o].substitutionDataID="",this.playersAway[o].idSubstitution=0);if(this.playersHome.length>0)for(let o=0;o<this.playersHome.length;o++){const s=this.playersHome[o].idsGoals.findIndex(n=>n==a.play_id);s!=-1&&(this.playersHome[o].goals=this.playersHome[o].goals-1,this.playersHome[o].goalsMin.splice(s,1),this.playersHome[o].idsGoals.splice(s,1))}if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++){const s=this.playersAway[o].idsGoals.findIndex(n=>n==a.play_id);s!=-1&&(this.playersAway[o].goals=this.playersAway[o].goals-1,this.playersAway[o].goalsMin.splice(s,1),this.playersAway[o].idsGoals.splice(s,1))}if(this.playersHome.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersHome[o].idyellowcards==a.play_id&&(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idyellowcards==a.play_id&&(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0);if(this.playersHome.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersHome[o].idredcards==a.play_id&&(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0);if(this.playersAway.length>0)for(let o=0;o<this.playersAway.length;o++)this.playersAway[o].idredcards==a.play_id&&(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)},new_mxm(e,a){if(a.event_type_id==3){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var o=a.player_id.split("@"),s=this.playersHome.findIndex(g=>g.playerId==o[0]),n=this.playersHome.findIndex(g=>g.playerId==o[1]);s!=-1&&(this.playersHome[s].idSubstitution=a.play_id,this.playersHome[s].substitutionOut=!0,this.playersHome[s].substitutionMin=a.minute,this.playersHome[s].substitutionDataID=a.team_id+"@"+a.player_id),n!=-1&&(this.playersHome[n].idSubstitution=a.play_id,this.playersHome[n].substitutionIn=!0,this.playersHome[n].substitutionMin=a.minute,this.playersHome[n].substitutionDataID=a.team_id+"@"+a.player_id)}}else if(this.playersAway.length>0){var i=a.player_id.split("@"),r=this.playersAway.findIndex(g=>g.playerId==i[0]),c=this.playersAway.findIndex(g=>g.playerId==i[1]);s!=-1&&(this.playersAway[r].idSubstitution=a.play_id,this.playersAway[r].substitutionOut=!0,this.playersAway[r].substitutionMin=a.minute,this.playersAway[r].substitutionDataID=a.team_id+"@"+a.player_id),c!=-1&&(this.playersAway[c].idSubstitution=a.play_id,this.playersAway[c].substitutionIn=!0,this.playersAway[c].substitutionMin=a.minute,this.playersAway[c].substitutionDataID=a.team_id+"@"+a.player_id)}}if(a.event_type_id==1){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var h=this.playersHome.findIndex(g=>g.playerId==a.player_id);h!=-1&&(this.playersHome[h].goals+=1,this.playersHome[h].goalsMin.push(a.minute),this.playersHome[h].idsGoals.push(a.play_id))}}else if(this.playersAway.length>0){var d=this.playersAway.findIndex(g=>g.playerId==a.player_id);d!=-1&&(this.playersAway[d].goals+=1,this.playersAway[d].goalsMin.push(a.minute),this.playersAway[d].idsGoals.push(a.play_id))}}if(a.event_type_id==2){if(a.category_id==8){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var l=this.playersHome.findIndex(g=>g.playerId==a.player_id);l!=-1&&(this.playersHome[l].yellowcards+=1,this.playersHome[l].yellowcardsMin=a.minute,this.playersHome[l].idyellowcards=a.play_id)}}else if(this.playersAway.length>0){var m=this.playersAway.findIndex(g=>g.playerId==a.player_id);m!=-1&&(this.playersAway[m].yellowcards+=1,this.playersAway[m].yellowcardsMin=a.minute,this.playersAway[m].idyellowcards=a.play_id)}}if(a.category_id==9){if(a.team_id==this.home_team_id){if(this.playersHome.length>0){var p=this.playersHome.findIndex(g=>g.playerId==a.player_id);p!=-1&&(this.playersHome[p].redcards+=1,this.playersHome[p].redcardsMin=a.minute,this.playersHome[p].idredcards=a.play_id)}}else if(this.playersAway.length>0){var y=this.playersAway.findIndex(g=>g.playerId==a.player_id);y!=-1&&(this.playersAway[y].redcards+=1,this.playersAway[y].redcardsMin=a.minute,this.playersAway[y].idredcards=a.play_id)}}}}},methods:{async getLineUpProbablesHome3D(e){try{const w=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!w||!w.data)throw new Error("There is not lineups for this game.");if(w.data.home_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=w.data.home_team.players,w.data.home_team.starting_lineup[0].lineup.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0);for(let b=0;b<w.data.home_team.starting_lineup[0].lineup.length;b++){this.home_team_id=w.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.home_team.team_id+"_g.svg","home",0);var a=w.data.home_team.starting_lineup[0].lineup[b].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=w.data.home_team.starting_lineup[0].lineup[b].x,h=c*50/100,d=w.data.home_team.players.findIndex(E=>E.player_id==w.data.home_team.starting_lineup[0].lineup[b].player_id);this.playersHome.push({played:!0,name:w.data.home_team.starting_lineup[0].lineup[b].player_name,position:this.positions[w.data.home_team.players[d].position_id-1].name,position_id:w.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.starting_lineup[0].lineup[b].player_id+".png",nationality:w.data.home_team.players[d].nationality?w.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:w.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.starting_lineup[0].lineup[b].jersey_number,positionX:w.data.home_team.starting_lineup[0].lineup[b].y-13,positionY:h*.9,positionXOrigin:w.data.home_team.starting_lineup[0].lineup[b].y-17,positionYOrigin:w.data.home_team.starting_lineup[0].lineup[b].x-2,playerId:w.data.home_team.starting_lineup[0].lineup[b].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png"}if(this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0),w.data.home_team.bench){for(let b=0;b<w.data.home_team.bench.length;b++){this.subsTitle=!0;var l=w.data.home_team.bench[b].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=w.data.home_team.players.findIndex(E=>E.player_id==w.data.home_team.bench[b].playerID);this.playersHome.push({played:!1,name:w.data.home_team.bench[b].playerName,position:f!=-1?this.positions[w.data.home_team.players[f].position_id-1].name:"",position_id:w.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.home_team.bench[b].playerID+".png",nationality:f!=-1&&w.data.home_team.players[f].nationality?w.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?w.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.home_team.bench[b].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.home_team.bench[b].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.home_team.team_id})}this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0)}}if(w.data.away_team.team_id==this.gameInfoheader.home_team){this.dataPlayersHome=w.data.away_team.players,w.data.away_team.starting_lineup[0].lineup.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0);for(let b=0;b<w.data.away_team.starting_lineup[0].lineup.length;b++){this.home_team_id=w.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+w.data.away_team.team_id+"_g.svg","home",0);var a=w.data.away_team.starting_lineup[0].lineup[b].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,_=w.data.away_team.starting_lineup[0].lineup[b].x;_=Math.abs(_-100);var h=_*50/100,k=w.data.away_team.starting_lineup[0].lineup[b].y;k=Math.abs(k-100);var d=w.data.away_team.players.findIndex(F=>F.player_id==w.data.away_team.starting_lineup[0].lineup[b].player_id);this.playersHome.push({played:!0,name:w.data.away_team.starting_lineup[0].lineup[b].player_name,position:this.positions[w.data.away_team.players[d].position_id-1].name,position_id:w.data.away_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.starting_lineup[0].lineup[b].player_id+".png",nationality:w.data.away_team.players[d].nationality?w.data.away_team.players[d].nationality.substring(0,3):"",imgNationality:w.data.away_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.starting_lineup[0].lineup[b].jersey_number,positionX:k-20,positionY:h*.9,positionXOrigin:w.data.away_team.starting_lineup[0].lineup[b].y-17,positionYOrigin:w.data.away_team.starting_lineup[0].lineup[b].x-2,playerId:w.data.away_team.starting_lineup[0].lineup[b].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:w.data.away_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png"}if(this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0),w.data.away_team.bench){for(let b=0;b<w.data.away_team.bench.length;b++){this.subsTitle=!0;var l=w.data.away_team.bench[b].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=w.data.away_team.players.findIndex(I=>I.player_id==w.data.away_team.bench[b].playerID);this.playersHome.push({played:!1,name:w.data.away_team.bench[b].playerName,position:f!=-1?this.positions[w.data.away_team.players[f].position_id-1].name:"",position_id:w.data.away_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+w.data.away_team.bench[b].playerID+".png",nationality:f!=-1&&w.data.away_team.players[f].nationality?w.data.away_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?w.data.away_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+w.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:w.data.away_team.bench[b].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:w.data.away_team.bench[b].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:w.data.away_team.team_id})}this.playersHome.sort((b,E)=>b.position_id>E.position_id?1:E.position_id>b.position_id?-1:0)}}await this.getMXM(e)}catch(w){return Promise.reject(w)}},cleaneDataHome(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.dataPlayersHome=[],this.homeTeamLogo="",this.homeTeamName="",this.home_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},cleaneDataAway(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformAway="",this.uniformAwayG="",this.dataPlayersAway=[],this.awayTeamLogo="",this.awayTeamName="",this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},async getLineUpProbablesAway3D(e){try{const _=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!_||!_.data)throw new Error("There is not lineups for this game.");if(_.data.home_team.team_id==this.gameInfoheader.away_team){this.dataPlayersAway=_.data.home_team.players;for(let k=0;k<_.data.home_team.starting_lineup[0].lineup.length;k++){this.away_team_id=_.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.home_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.home_team.team_id+"_g.svg","away",0);var a=_.data.home_team.starting_lineup[0].lineup[k].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=_.data.home_team.starting_lineup[0].lineup[k].x;c=Math.abs(c-100);var h=100-(100-c)*50/100;h=h*.9;var d=_.data.home_team.players.findIndex(w=>w.player_id==_.data.home_team.starting_lineup[0].lineup[k].player_id);this.playersAway.push({played:!0,name:_.data.home_team.starting_lineup[0].lineup[k].player_name,position:this.positions[_.data.home_team.players[d].position_id-1].name,position_id:_.data.home_team.players[d].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.home_team.starting_lineup[0].lineup[k].player_id+".png",nationality:_.data.home_team.players[d].nationality?_.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:_.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.home_team.starting_lineup[0].lineup[k].jersey_number,positionX:_.data.home_team.starting_lineup[0].lineup[k].y-13,positionY:h,positionXOrigin:_.data.home_team.starting_lineup[0].lineup[k].y-17,positionYOrigin:_.data.home_team.starting_lineup[0].lineup[k].x-7,playerId:_.data.home_team.starting_lineup[0].lineup[k].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:_.data.home_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png"}if(this.playersAway.sort((k,w)=>k.position_id>w.position_id?1:w.position_id>k.position_id?-1:0),_.data.home_team.bench){for(let k=0;k<_.data.home_team.bench.length;k++){this.subsTitle=!0;var l=_.data.home_team.bench[k].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=_.data.home_team.players.findIndex(w=>w.player_id==_.data.home_team.bench[k].playerID);this.playersAway.push({played:!1,name:_.data.home_team.bench[k].playerName,position:f!=-1?this.positions[_.data.home_team.players[f].position_id-1].name:"",position_id:_.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.home_team.bench[k].playerID+".png",nationality:f!=-1&&_.data.home_team.players[f].nationality?_.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?_.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.home_team.bench[k].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:_.data.home_team.bench[k].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:_.data.home_team.team_id})}this.playersAway.sort((k,w)=>k.position_id>w.position_id?1:w.position_id>k.position_id?-1:0)}}if(_.data.away_team.team_id==this.gameInfoheader.away_team){this.dataPlayersAway=_.data.away_team.players;for(let k=0;k<_.data.away_team.starting_lineup[0].lineup.length;k++){this.away_team_id=_.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+_.data.away_team.team_id+"_g.svg","away",0);var a=_.data.away_team.starting_lineup[0].lineup[k].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=_.data.away_team.starting_lineup[0].lineup[k].x,h=100-(100-c)*50/100;h=h*.9;var d=_.data.away_team.players.findIndex(I=>I.player_id==_.data.away_team.starting_lineup[0].lineup[k].player_id);this.playersAway.push({played:!0,name:_.data.away_team.starting_lineup[0].lineup[k].player_name,position:this.positions[_.data.away_team.players[d].position_id-1].name,position_id:_.data.away_team.players[d].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.away_team.starting_lineup[0].lineup[k].player_id+".png",nationality:_.data.away_team.players[d].nationality?_.data.away_team.players[d].nationality.substring(0,3):"",imgNationality:_.data.away_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.away_team.starting_lineup[0].lineup[k].jersey_number,positionX:_.data.away_team.starting_lineup[0].lineup[k].y-13,positionY:h,positionXOrigin:_.data.away_team.starting_lineup[0].lineup[k].y-17,positionYOrigin:_.data.away_team.starting_lineup[0].lineup[k].x-7,playerId:_.data.away_team.starting_lineup[0].lineup[k].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:_.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png"}if(this.playersAway.sort((k,w)=>k.position_id>w.position_id?1:w.position_id>k.position_id?-1:0),_.data.away_team.bench){for(let k=0;k<_.data.away_team.bench.length;k++){this.subsTitle=!0;var l=_.data.away_team.bench[k].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=_.data.away_team.players.findIndex(z=>z.player_id==_.data.away_team.bench[k].playerID);this.playersAway.push({played:!1,name:_.data.away_team.bench[k].playerName,position:f!=-1?this.positions[_.data.away_team.players[f].position_id-1].name:"",position_id:_.data.away_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+_.data.away_team.bench[k].playerID+".png",nationality:f!=-1&&_.data.away_team.players[f].nationality?_.data.away_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?_.data.away_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+_.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:_.data.away_team.bench[k].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:_.data.away_team.bench[k].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:_.data.away_team.team_id})}this.playersAway.sort((k,w)=>k.position_id>w.position_id?1:w.position_id>k.position_id?-1:0)}}await this.getMXM(e)}catch(_){return Promise.reject(_)}},async getLineupProbablesHome(e){this.auxProbablesIDGameHome!=e.id&&(this.auxProbablesIDGameHome=e.id,this.homeTeam.acronym=this.homeTeamAbrev,this.cleaneDataHome(),this.getLineUpProbablesHome3D(e.id))},async getLineupProbablesAway(e){this.auxProbablesIDGameAway!=e.id&&(this.auxProbablesIDGameAway=e.id,this.visitingTeam.acronym=this.awayTeamAbrev,this.cleaneDataAway(),this.getLineUpProbablesAway3D(e.id))},async getLineupProbables(e){var a={season_id:e.season_id,game_id:e.id};this.lastGetGame!=a.game_id&&(this.cleaneData(),await this.getLineUp(a.game_id)),this.lastGetGame=a.game_id},async changeCarouselItem(e){typeof e.game_id<"u"&&e.game_id!=this.gameInfoheader.id&&this.auxHistoricGameID!=e.game_id&&(this.auxHistoricGameID=e.game_id,this.cleaneData(),this.homeTeam.acronym=e.ht_abrev,this.visitingTeam.acronym=e.at_abrev,await this.getLineUp(e.game_id))},async changeCarouselItemRecent(e){if(e.selectedItem){var a={season_id:e.selectedItem.season_id,game_id:e.selectedItem.id};this.lastGetGame!=a.game_id&&(this.homeTeam.acronym=e.selectedItem.home_team_abbreviation,this.visitingTeam.acronym=e.selectedItem.away_team_abbreviation,this.cleaneData(),await this.getLineUp(a.game_id)),this.lastGetGame=a.game_id}},async getHeaderInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get("https://fxtcaw9tw6.execute-api.us-east-2.amazonaws.com/prod/historic/seasons/"+e.season_id+"/games/"+e.game_id+"/lineups");if(this.gameInfoheader=a.data.game,this.selectedOption!="Postmatch"){for(let o=0;o<a.data.games_historic.length;o++)this.gamesHistoric.push({objgame:a.data.games_historic[o],game:a.data.games_historic[o].id,home_team_abbreviation:a.data.games_historic[o].home_team_abbreviation,away_team_abbreviation:a.data.games_historic[o].away_team_abbreviation,season:a.data.games_historic[o].season_id,description:a.data.games_historic[o].season_name+" | "+this.getRoundH(a.data.games_historic[o].matchday_abbreviation)+" | "+a.data.games_historic[o].home_team_abbreviation+" - "+a.data.games_historic[o].away_team_abbreviation});this.gamesRecientes[a.data.game.home_team_abbreviation]=[],this.gamesRecientes[a.data.game.away_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.home_team_abbreviation]=[],this.matchdaysPerTeam[a.data.game.away_team_abbreviation]=[];for(let o=0;o<a.data.home_team_games_recent.length;o++)this.gamesRecientes[a.data.game.home_team_abbreviation].push(a.data.home_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.home_team_abbreviation].push({name:this.getRound(a.data.home_team_games_recent[o].matchday_abbreviation),id:a.data.home_team_games_recent[o].matchday_id});for(let o=0;o<a.data.away_team_games_recent.length;o++)this.gamesRecientes[a.data.game.away_team_abbreviation].push(a.data.away_team_games_recent[o]),this.matchdaysPerTeam[a.data.game.away_team_abbreviation].push({name:this.getRound(a.data.away_team_games_recent[o].matchday_abbreviation),id:a.data.away_team_games_recent[o].matchday_id})}},getRound(e){let a=e.replace("M","Jornada ");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},getRoundH(e){let a=e.replace("M","J");return a=a.replace("PO1","CFI"),a=a.replace("PO2","CFV"),a=a.replace("PO3","SFI"),a=a.replace("PO4","SFV"),a=a.replace("PO5","FI"),a=a.replace("PO6","FV"),a},clickOnSelectOption(e){this.selectOptMenuheader=e,this.cleaneData(),this.auxProbablesIDGameAway=0,this.auxProbablesIDGameHome=0},async gameDataInfo(e){const a=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlGames+e.season_id+"/games/"+e.game_id);this.homeTeam=a.data.teams[0],this.homeTeamAbrev=a.data.teams[0].acronym,this.awayTeamAbrev=a.data.teams[1].acronym,this.visitingTeam=a.data.teams[1];const o=a.data.games.find(s=>s.game_id===Number(s.game_id));this.gameForAnalysis=o},cleaneData(){this.retries=3,this.teamActive="home",this.subsActive=!1,this.playersHome=[],this.gamesContainerWidth=0,this.playersAway=[],this.subsTitle=!1,this.uniformHome="",this.uniformHomeG="",this.uniformAway="",this.uniformAwayG="",this.dataPlayersHome=[],this.dataPlayersAway=[],this.homeTeamLogo="",this.awayTeamLogo="",this.homeTeamName="",this.awayTeamName="",this.home_team_id=0,this.updateComponentAway=0,this.away_team_id=0,this.substitutionModal={min:"",in:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""},out:{playerImg:"",teamImg:"",nationalityimg:"",name:"",position:"",shirt_number:""}},this.movil=!1},getDataSocket(){hs("lineups.game."+this.game.game_id),hs("mxm.game."+this.game.game_id),hs("lineups.bench.game."+this.game.game_id)},resetPlayUpdate(e,a,o,s){if(e=="Substitution")if(a=="Home"){var n=this.playersHome[o].substitutionDataID.split("@"),i=this.playersHome.findIndex(l=>l.playerId==n[1]),r=this.playersHome.findIndex(l=>l.playerId==n[2]);i!=-1&&(this.playersHome[i].substitutionOut=!1,this.playersHome[i].substitutionMin="",this.playersHome[i].substitutionDataID="",this.playersHome[i].idSubstitution=0),r!=-1&&(this.playersHome[r].substitutionIn=!1,this.playersHome[r].substitutionMin="",this.playersHome[r].substitutionDataID="",this.playersHome[r].idSubstitution=0)}else{var c=this.playersAway[o].substitutionDataID.split("@"),h=this.playersAway.findIndex(l=>l.playerId==c[1]),d=this.playersAway.findIndex(l=>l.playerId==c[2]);i!=-1&&(this.playersAway[h].substitutionOut=!1,this.playersAway[h].substitutionMin="",this.playersAway[h].substitutionDataID="",this.playersAway[h].idSubstitution=0),d!=-1&&(this.playersAway[d].substitutionIn=!1,this.playersAway[d].substitutionMin="",this.playersAway[d].substitutionDataID="",this.playersAway[d].idSubstitution=0)}e=="YellowCard"&&(a=="Home"?(this.playersHome[o].yellowcards=0,this.playersHome[o].yellowcardsMin=0,this.playersHome[o].idyellowcards=0):(this.playersAway[o].yellowcards=0,this.playersAway[o].yellowcardsMin=0,this.playersAway[o].idyellowcards=0)),e=="RedCard"&&(a=="Home"?(this.playersHome[o].redcards=0,this.playersHome[o].redcardsMin=0,this.playersHome[o].idredcards=0):(this.playersAway[o].redcards=0,this.playersAway[o].redcardsMin=0,this.playersAway[o].idredcards=0)),e=="Goals"&&(a=="Home"?(this.playersHome[s].goals=this.playersHome[s].goals-1,this.playersHome[s].goalsMin.splice(o,1),this.playersHome[s].idsGoals.splice(o,1)):(this.playersAway[s].goals=this.playersAway[s].goals-1,this.playersAway[s].goalsMin.splice(o,1),this.playersAway[s].idsGoals.splice(o,1)))},setUpResizeObserver(){if(window.ResizeObserver)AC=new ResizeObserver(()=>{this.gamesContainerWidth=this.$refs.gamesContainer.clientWidth,this.gamesContainerWidth<740?this.movil=!0:this.movil=!1}),AC.observe(this.$refs.gamesContainer);else throw new Error("Resize observer not supported!")},async getMXM(e){try{const y=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.urlMXM+e);for(let g=0;g<this.playersHome.length;g++)this.playersHome[g].goalsMin=[],this.playersHome[g].idsGoals=[];for(let g=0;g<this.playersAway.length;g++)this.playersAway[g].goalsMin=[],this.playersAway[g].idsGoals=[];for(let g=0;g<y.data.plays.length;g++){if(y.data.plays[g].event_type_id==3){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var a=y.data.plays[g].player_id.split("@"),o=this.playersHome.findIndex(u=>u.playerId==a[0]),s=this.playersHome.findIndex(u=>u.playerId==a[1]);o!=-1&&(this.playersHome[o].idSubstitution=y.data.plays[g].play_id,this.playersHome[o].substitutionOut=!0,this.playersHome[o].substitutionMin=y.data.plays[g].minute,this.playersHome[o].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id),s!=-1&&(this.playersHome[s].idSubstitution=y.data.plays[g].play_id,this.playersHome[s].substitutionIn=!0,this.playersHome[s].substitutionMin=y.data.plays[g].minute,this.playersHome[s].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id)}}else if(this.playersAway.length>0){var n=y.data.plays[g].player_id.split("@"),i=this.playersAway.findIndex(u=>u.playerId==n[0]),r=this.playersAway.findIndex(u=>u.playerId==n[1]);i!=-1&&(this.playersAway[i].idSubstitution=y.data.plays[g].play_id,this.playersAway[i].substitutionOut=!0,this.playersAway[i].substitutionMin=y.data.plays[g].minute,this.playersAway[i].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id),r!=-1&&(this.playersAway[r].idSubstitution=y.data.plays[g].play_id,this.playersAway[r].substitutionIn=!0,this.playersAway[r].substitutionMin=y.data.plays[g].minute,this.playersAway[r].substitutionDataID=y.data.plays[g].team_id+"@"+y.data.plays[g].player_id)}}if(y.data.plays[g].event_type_id==1){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var c=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);c!=-1&&(this.playersHome[c].goals+=1,this.playersHome[c].goalsMin.push(y.data.plays[g].minute),this.playersHome[c].idsGoals.push(y.data.plays[g].play_id))}}else if(this.playersAway.length>0){var h=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);h!=-1&&(this.playersAway[h].goals+=1,this.playersAway[h].goalsMin.push(y.data.plays[g].minute),this.playersAway[h].idsGoals.push(y.data.plays[g].play_id))}}if(y.data.plays[g].event_type_id==2){if(y.data.plays[g].category_id==8){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var d=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);d!=-1&&(this.playersHome[d].yellowcards+=1,this.playersHome[d].yellowcardsMin=y.data.plays[g].minute,this.playersHome[d].idyellowcards=y.data.plays[g].play_id)}}else if(this.playersAway.length>0){var l=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);l!=-1&&(this.playersAway[l].yellowcards+=1,this.playersAway[l].yellowcardsMin=y.data.plays[g].minute,this.playersAway[l].idyellowcards=y.data.plays[g].play_id)}}if(y.data.plays[g].category_id==9){if(y.data.plays[g].team_id==this.home_team_id){if(this.playersHome.length>0){var m=this.playersHome.findIndex(u=>u.playerId==y.data.plays[g].player_id);m!=-1&&(this.playersHome[m].redcards+=1,this.playersHome[m].redcardsMin=y.data.plays[g].minute,this.playersHome[m].idredcards=y.data.plays[g].play_id)}}else if(this.playersAway.length>0){var p=this.playersAway.findIndex(u=>u.playerId==y.data.plays[g].player_id);p!=-1&&(this.playersAway[p].redcards+=1,this.playersAway[p].redcardsMin=y.data.plays[g].minute,this.playersAway[p].idredcards=y.data.plays[g].play_id)}}}}}catch(y){return Promise.reject(y)}},async getLineUp(e){if(e!=null&&(mC(),!this.playersHome.length&&!this.playersHome.length))try{const C=await Pt.create({headers:{Authorization:`${this.tokenPremium}`}}).get(this.url+e);if(!C||!C.data)throw new Error("There is not lineups for this game.");this.cleaneData(),this.dataPlayersHome=C.data.home_team.players,this.dataPlayersAway=C.data.away_team.players,C.data.home_team.starting_lineup[0].lineup.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0);for(let N=0;N<C.data.home_team.starting_lineup[0].lineup.length;N++){this.home_team_id=C.data.home_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.home_team.team_id+".svg","home",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.home_team.team_id+"_g.svg","home",0);var a=C.data.home_team.starting_lineup[0].lineup[N].player_name.split(","),o=a[0].split(" "),s=a[1].trim().split(" "),n="";o.length==2||o.length==1?o[0].length<4?n=o[0]+" "+o[1]:n=o[0]:o.length==3?n=o[0]+" "+o[1]:o.length==4&&(n=o[1]+" "+o[2]+" "+o[3]);var i=s[s.length-1]!=""?s[s.length-1].charAt(0):s[s.length-2]?s[s.length-2].charAt(0):"";n=n.replace(",","");var r=i+". "+n,c=C.data.home_team.starting_lineup[0].lineup[N].x,h=c*50/100,d=C.data.home_team.players.findIndex(R=>R.player_id==C.data.home_team.starting_lineup[0].lineup[N].player_id);this.playersHome.push({played:!0,name:C.data.home_team.starting_lineup[0].lineup[N].player_name,position:this.positions[C.data.home_team.players[d].position_id-1].name,position_id:C.data.home_team.players[d].position_id-1,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.starting_lineup[0].lineup[N].player_id+".png",nationality:C.data.home_team.players[d].nationality?C.data.home_team.players[d].nationality.substring(0,3):"",imgNationality:C.data.home_team.players[d].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:r,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.home_team.starting_lineup[0].lineup[N].jersey_number,positionX:C.data.home_team.starting_lineup[0].lineup[N].y-13,positionY:h*.9,positionXOrigin:C.data.home_team.starting_lineup[0].lineup[N].y-17,positionYOrigin:C.data.home_team.starting_lineup[0].lineup[N].x-2,playerId:C.data.home_team.starting_lineup[0].lineup[N].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:C.data.home_team.team_id}),this.homeTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png"}if(this.playersHome.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0),C.data.home_team.bench){for(let N=0;N<C.data.home_team.bench.length;N++){this.subsTitle=!0;var l=C.data.home_team.bench[N].playerName.split(","),m=l[0].split(" "),p=l[1].trim().split(" "),y="";m.length==2||m.length==1?m[0].length<4?y=m[0]+" "+m[1]:y=m[0]:m.length==3?y=m[0]+" "+m[1]:m.length==4&&(y=m[1]+" "+m[2]+" "+m[3]);var g=p[p.length-1]!=""?p[p.length-1].charAt(0):p[p.length-2]?p[p.length-2].charAt(0):"";y=y.replace(",","");var u=g+". "+y,f=C.data.home_team.players.findIndex(R=>R.player_id==C.data.home_team.bench[N].playerID);this.playersHome.push({played:!1,name:C.data.home_team.bench[N].playerName,position:f!=-1?this.positions[C.data.home_team.players[f].position_id-1].name:"",position_id:C.data.home_team.players[f].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.home_team.bench[N].playerID+".png",nationality:f!=-1&&C.data.home_team.players[f].nationality?C.data.home_team.players[f].nationality.substring(0,3):"",imgNationality:f!=-1?C.data.home_team.players[f].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:u,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.home_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.home_team.bench[N].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:C.data.home_team.bench[N].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:C.data.home_team.team_id})}this.playersHome.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0)}for(let N=0;N<C.data.away_team.starting_lineup[0].lineup.length;N++){this.away_team_id=C.data.away_team.team_id,this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.away_team.team_id+".svg","away",1),this.imageExists("https://az755631.vo.msecnd.net/jersey-teams/"+C.data.away_team.team_id+"_g.svg","away",0);var _=C.data.away_team.starting_lineup[0].lineup[N].player_name.split(","),k=_[0].split(" "),w=_[1].trim().split(" "),b="";k.length==2||k.length==1?k[0].length<4?b=k[0]+" "+k[1]:b=k[0]:k.length==3?b=k[0]+" "+k[1]:k.length==4&&(b=k[1]+" "+k[2]+" "+k[3]);var E=w[s.length-1]!=""?w[w.length-1].charAt(0):w[w.length-2]?w[w.length-2].charAt(0):"";b=b.replace(",","");var x=E+". "+b,V=C.data.away_team.starting_lineup[0].lineup[N].x,B=100-(100-V)*50/100;B=B*.9;var $=C.data.away_team.players.findIndex(R=>R.player_id==C.data.away_team.starting_lineup[0].lineup[N].player_id);this.playersAway.push({played:!0,name:C.data.away_team.starting_lineup[0].lineup[N].player_name,position:this.positions[C.data.away_team.players[$].position_id-1].name,position_id:C.data.away_team.players[$].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.starting_lineup[0].lineup[N].player_id+".png",nationality:C.data.away_team.players[$].nationality?C.data.away_team.players[$].nationality.substring(0,3):"",imgNationality:C.data.away_team.players[$].nationality_photo,substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:x,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.away_team.starting_lineup[0].lineup[N].jersey_number,positionX:C.data.away_team.starting_lineup[0].lineup[N].y-13,positionY:B,positionXOrigin:C.data.away_team.starting_lineup[0].lineup[N].y-17,positionYOrigin:C.data.away_team.starting_lineup[0].lineup[N].x-7,playerId:C.data.away_team.starting_lineup[0].lineup[N].player_id,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!1,id_team:C.data.away_team.team_id}),this.awayTeamLogo="https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png"}if(this.playersAway.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0),C.data.away_team.bench){for(let N=0;N<C.data.away_team.bench.length;N++){this.subsTitle=!0;var z=C.data.away_team.bench[N].playerName.split(","),A=z[0].split(" "),I=z[1].trim().split(" "),F="";A.length==2||A.length==1?A[0].length<4?F=A[0]+" "+A[1]:F=A[0]:A.length==3?F=A[0]+" "+A[1]:A.length==4&&(F=A[1]+" "+A[2]+" "+A[3]);var ee=I[I.length-1]!=""?I[I.length-1].charAt(0):I[I.length-2]?I[I.length-2].charAt(0):"";F=F.replace(",","");var re=ee+". "+F,Q=C.data.away_team.players.findIndex(R=>R.player_id==C.data.away_team.bench[N].playerID);this.playersAway.push({played:!1,name:C.data.away_team.bench[N].playerName,position:Q!=-1?this.positions[C.data.away_team.players[Q].position_id-1].name:"",position_id:C.data.away_team.players[Q].position_id,imgPlayer:"https://az755631.vo.msecnd.net/players-profile/"+C.data.away_team.bench[N].playerID+".png",nationality:Q!=-1&&C.data.away_team.players[Q].nationality?C.data.away_team.players[Q].nationality.substring(0,3):"",imgNationality:Q!=-1?C.data.away_team.players[Q].nationality_photo:"",substitutionIn:!1,substitutionOut:!1,abrevNamePlayer:re,imgTeam:"https://az755631.vo.msecnd.net/teams-80/"+C.data.away_team.team_id+".png",substitutionMin:"",substitutionDataID:"",shirt_number:C.data.away_team.bench[N].jerseyNumber,positionX:"",positionY:"",positionXOrigin:"",positionYOrigin:"",playerId:C.data.away_team.bench[N].playerID,goals:0,yellowcards:0,redcards:0,goalsMin:[],yellowcardsMin:0,redcardsMin:0,idyellowcards:0,idredcards:0,idsGoals:[],idSubstitution:0,isbench:!0,id_team:C.data.away_team.team_id})}this.playersAway.sort((N,R)=>N.position_id>R.position_id?1:R.position_id>N.position_id?-1:0)}await this.getMXM(e)}catch(C){return Promise.reject(C)}},closeChange(){this.subsActive=!1},imageExists(e,a,o){var s=new XMLHttpRequest,n=0;a=="away"?o==1?this.uniformAway==""&&(s.open("HEAD",e,!1),s.send(),n=1):this.uniformAwayG==""&&(s.open("HEAD",e,!1),s.send(),n=1):o==1?this.uniformHome==""&&(s.open("HEAD",e,!1),s.send(),n=1):this.uniformHomeG==""&&(s.open("HEAD",e,!1),s.send(),n=1),n==1&&(s.status==200?a=="away"?o==1?this.uniformAway="url("+e+")":this.uniformAwayG="url("+e+")":o==1?this.uniformHome="url("+e+")":this.uniformHomeG="url("+e+")":a=="away"?o==1?this.uniformAway="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita.svg)":this.uniformAwayG="url(https://az755631.vo.msecnd.net/jersey-teams/default_visita_g.svg)":o==1?this.uniformHome="url(https://az755631.vo.msecnd.net/jersey-teams/default_local.svg)":this.uniformHomeG="url(https://az755631.vo.msecnd.net/jersey-teams/default_local_g.svg)")},viewChange(e){var a=e.split("@");if(a[0]==this.home_team_id){var o=this.playersHome.findIndex(r=>r.playerId==a[1]),s=this.playersHome.findIndex(r=>r.playerId==a[2]);o!=-1?(this.substitutionModal.min=this.playersHome[o].substitutionMin,this.substitutionModal.in.name=this.playersHome[o].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersHome[o].imgTeam,this.substitutionModal.in.shirt_number=this.playersHome[o].shirt_number,this.substitutionModal.in.playerImg=this.playersHome[o].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersHome[o].imgNationality):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),s!=-1?(this.substitutionModal.out.name=this.playersHome[s].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersHome[s].imgTeam,this.substitutionModal.out.playerImg=this.playersHome[s].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersHome[s].imgNationality,this.substitutionModal.out.shirt_number=this.playersHome[s].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}else{var n=this.playersAway.findIndex(r=>r.playerId==a[1]),i=this.playersAway.findIndex(r=>r.playerId==a[2]);n!=-1?(this.substitutionModal.min=this.playersAway[n].substitutionMin,this.substitutionModal.in.name=this.playersAway[n].abrevNamePlayer,this.substitutionModal.in.teamImg=this.playersAway[n].imgTeam,this.substitutionModal.in.playerImg=this.playersAway[n].imgPlayer,this.substitutionModal.in.nationalityimg=this.playersAway[n].imgNationality,this.substitutionModal.in.shirt_number=this.playersAway[n].shirt_number):(this.substitutionModal.in.name="",this.substitutionModal.in.teamImg="",this.substitutionModal.in.shirt_number="",this.substitutionModal.in.playerImg="",this.substitutionModal.in.nationalityimg=""),i!=-1?(this.substitutionModal.out.name=this.playersAway[i].abrevNamePlayer,this.substitutionModal.out.teamImg=this.playersAway[i].imgTeam,this.substitutionModal.out.playerImg=this.playersAway[i].imgPlayer,this.substitutionModal.out.nationalityimg=this.playersAway[i].imgNationality,this.substitutionModal.out.shirt_number=this.playersAway[i].shirt_number):(this.substitutionModal.out.name="",this.substitutionModal.out.teamImg="",this.substitutionModal.out.shirt_number="",this.substitutionModal.out.playerImg="",this.substitutionModal.out.nationalityimg="")}this.subsActive=!0},viewLineupTeam(e){this.teamActive=e}}},oxe={class:"size-browser-class"},sxe={class:"lineup-players is-centered"},nxe={style:{width:"92%",margin:"0 auto","margin-top":"10px"}},ixe={class:"modal-substitutions__substitution-container"},rxe={class:"modal-substitutions__substitution-container__header"},lxe={style:{"margin-left":"32px"}},cxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn-close.png"},null,-1),dxe=[cxe],mxe={class:"modal-substitutions__substitution-container__players-container"},pxe={class:"substitution-player-data-container"},hxe={class:"substitution-player-data-container__img-player"},gxe=["src"],yxe={class:"substitution-player-data-container__img-player__team"},uxe=["src"],fxe={class:"substitution-player-data-container__name-player"},_xe={class:"substitution-player-data-container__position-player"},bxe={class:"substitution-player-data-container__shirt-player",style:{"padding-left":"30px"}},wxe={key:0,class:"substitution-player-data-container__shirt-player__circle"},Cxe={key:1},kxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_salio.png"},null,-1),Sxe=[kxe],Exe={class:"substitution-player-data-container__substitution-player"},Nxe={class:"substitution-indicator nomargin"},$xe=t.createElementVNode("div",null,[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_salio.png"})],-1),Bxe={class:"substitution-player-data-container__center"},xxe=t.createElementVNode("div",{class:"substitution-player-data-container__border"},null,-1),Vxe={class:"substitution-player-data-container__minute"},Ixe={class:"substitution-player-data-container"},Axe={class:"substitution-player-data-container__img-player"},Oxe=["src"],Txe={class:"substitution-player-data-container__img-player__team"},zxe=["src"],Fxe={class:"substitution-player-data-container__name-player"},Rxe={class:"substitution-player-data-container__position-player"},Pxe={class:"substitution-player-data-container__shirt-player",style:{"padding-right":"20px"}},Dxe={key:0},Lxe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_ingreso.png"},null,-1),jxe=[Lxe],vxe={key:1,class:"substitution-player-data-container__shirt-player__circle"},Mxe={class:"substitution-player-data-container__substitution-player"},Hxe={class:"substitution-indicator nomargin"},Uxe=t.createElementVNode("div",null,[t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/icn_ingreso.png"})],-1),Gxe=["onClick"],Wxe=t.createElementVNode("img",{src:IC},null,-1),qxe=[Wxe],Jxe=["onClick"],Xxe=t.createElementVNode("img",{src:IC},null,-1),Zxe=[Xxe],Yxe={key:0,class:"cont-lineup-gsc-componente"},Kxe={class:"shield-team-cont homecolor"},Qxe=["src"],eVe={class:"shield-team-cont awaycolor"},tVe=["src"],aVe={key:0,class:"header-lineup-shield-team home"},oVe={class:"shield-team-cont homecolor"},sVe=["src"],nVe={class:"header-lineup-shield-team-wrapper"},iVe={class:"header-lineup-shield-team-wrapper header-lineup-shield-team-wrapper-spacer"},rVe=t.createElementVNode("div",{class:"line-substitutions"},"SUPLENTES",-1),lVe={key:0,class:"header-lineup-shield-team away"},cVe={class:"shield-team-cont awaycolor"},dVe=["src"],mVe={class:"header-lineup-shield-team-wrapper"},pVe={class:"header-lineup-shield-team-wrapper header-lineup-shield-team-wrapper-spacer"},hVe=t.createElementVNode("div",{class:"line-substitutions"},"SUPLENTES",-1),gVe=t.createElementVNode("img",{src:"https://az755631.vo.msecnd.net/todoelfut/graf-busqueda@3x.png",width:"74"},null,-1),yVe=[gVe],uVe=t.createElementVNode("br",null,null,-1);function fVe(e,a,o,s,n,i){const r=t.resolveComponent("HeaderPlayerPostmatch"),c=t.resolveComponent("HeaderPlayerHistorico"),h=t.resolveComponent("HeaderPlayerRecientes"),d=t.resolveComponent("HeaderPlayerProbables"),l=t.resolveComponent("CardPlayer");return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",oxe,t.toDisplayString(i.sizeBrowser),1),t.createElementVNode("div",sxe,[t.createElementVNode("div",nxe,[o.selectedOption=="Postmatch"?(t.openBlock(),t.createBlock(r,{key:0,onClickOnSelectOption:i.clickOnSelectOption,"option-selected":n.selectOptMenuheader,"width-size":n.gamesContainerWidth,"game-info":n.gameInfoheader,onInput:i.changeCarouselItem,"matchdays-default":n.matchdaysPerTeam,"game-historic":n.gamesHistoric},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","onInput","matchdays-default","game-historic"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n.selectOptMenuheader=="Historicos"?(t.openBlock(),t.createBlock(c,{key:0,onClickOnSelectOption:i.clickOnSelectOption,"option-selected":n.selectOptMenuheader,"width-size":n.gamesContainerWidth,"game-info":n.gameInfoheader,onInput:i.changeCarouselItem,"matchdays-default":n.matchdaysPerTeam,"game-historic":n.gamesHistoric,"game-recientes":Object.keys(n.gameInfoheader).length>0?n.gamesRecientes[n.gameInfoheader.home_team_abbreviation].length+n.gamesRecientes[n.gameInfoheader.away_team_abbreviation].length:0},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","onInput","matchdays-default","game-historic","game-recientes"])):t.createCommentVNode("",!0),n.selectOptMenuheader=="Recientes"?(t.openBlock(),t.createBlock(h,{key:1,onClickOnSelectOption:i.clickOnSelectOption,style:{"margin-bottom":"100px"},"option-selected":n.selectOptMenuheader,"width-size":n.gamesContainerWidth,"game-info":n.gameInfoheader,"player-home":n.playersHome,"player-away":n.playersAway,"matchdays-default":n.matchdaysPerTeam,onInput:i.changeCarouselItemRecent,"game-recientes":n.gamesRecientes},null,8,["onClickOnSelectOption","option-selected","width-size","game-info","player-home","player-away","matchdays-default","onInput","game-recientes"])):t.createCommentVNode("",!0),n.selectOptMenuheader=="Probables"?(t.openBlock(),t.createBlock(d,{key:2,onClickOnSelectOption:i.clickOnSelectOption,style:{"margin-bottom":"80px"},"matchdays-default":n.matchdaysPerTeam,"option-selected":n.selectOptMenuheader,"width-size":n.gamesContainerWidth,"game-info":n.gameInfoheader,onChangehome:i.getLineupProbablesHome,onChangeaway:i.getLineupProbablesAway,"game-recientes":n.gamesRecientes},null,8,["onClickOnSelectOption","matchdays-default","option-selected","width-size","game-info","onChangehome","onChangeaway","game-recientes"])):t.createCommentVNode("",!0)],64)),t.createElementVNode("div",{class:t.normalizeClass(["lineup-players__container",{fallback:n.gamesContainerWidth===0}]),ref:"gamesContainer"},[t.createElementVNode("div",{class:t.normalizeClass(i.fieldcontainerClass)},[t.createElementVNode("div",{class:t.normalizeClass(["modal-substitutions",n.subsActive?"activeSub":"deactiveSub"])},[t.createElementVNode("div",ixe,[t.createElementVNode("div",rxe,[t.createElementVNode("span",lxe,[t.createTextVNode("Cambio "),t.createElementVNode("span",{class:"close-susbtitutions",onClick:a[0]||(a[0]=m=>i.closeChange())},dxe)])]),t.createElementVNode("div",mxe,[t.createElementVNode("div",pxe,[t.createElementVNode("div",hxe,[n.substitutionModal.in.playerImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.substitutionModal.in.playerImg,width:"72",alt:"Jugador"},null,8,gxe)):t.createCommentVNode("",!0),t.createElementVNode("div",yxe,[n.substitutionModal.in.teamImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.substitutionModal.in.teamImg,width:"28",alt:"team"},null,8,uxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:"substitution-player-data-container__img-player__img-cont",style:t.normalizeStyle({backgroundImage:"url("+n.substitutionModal.in.nationalityimg+")"})},null,4)]),t.createElementVNode("div",fxe,t.toDisplayString(n.substitutionModal.in.name),1),t.createElementVNode("div",_xe,t.toDisplayString(n.substitutionModal.in.position),1),t.createElementVNode("div",bxe,[n.substitutionModal.in.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",wxe,t.toDisplayString(n.substitutionModal.in.shirt_number),1)):t.createCommentVNode("",!0),n.substitutionModal.in.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",Cxe,Sxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",Exe,[t.createElementVNode("template",null,[t.createElementVNode("div",Nxe,[t.createElementVNode("div",null,t.toDisplayString(n.substitutionModal.min)+"'",1),$xe])])])]),t.createElementVNode("div",Bxe,[xxe,t.createElementVNode("div",Vxe,t.toDisplayString(n.substitutionModal.min)+"'",1)]),t.createElementVNode("div",Ixe,[t.createElementVNode("div",Axe,[n.substitutionModal.out.playerImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.substitutionModal.out.playerImg,width:"72",alt:"Jugador"},null,8,Oxe)):t.createCommentVNode("",!0),t.createElementVNode("div",Txe,[n.substitutionModal.out.teamImg!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.substitutionModal.out.teamImg,width:"28",alt:"team"},null,8,zxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:"substitution-player-data-container__img-player__img-cont",style:t.normalizeStyle({backgroundImage:"url("+n.substitutionModal.out.nationalityimg+")"})},null,4)]),t.createElementVNode("div",Fxe,t.toDisplayString(n.substitutionModal.out.name),1),t.createElementVNode("div",Rxe,t.toDisplayString(n.substitutionModal.out.position),1),t.createElementVNode("div",Pxe,[n.substitutionModal.out.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",Dxe,jxe)):t.createCommentVNode("",!0),n.substitutionModal.out.shirt_number!=""?(t.openBlock(),t.createElementBlock("div",vxe,t.toDisplayString(n.substitutionModal.out.shirt_number),1)):t.createCommentVNode("",!0)]),t.createElementVNode("div",Mxe,[t.createElementVNode("template",null,[t.createElementVNode("div",Hxe,[t.createElementVNode("div",null,t.toDisplayString(n.substitutionModal.min)+"'",1),Uxe])])])])])])],2),t.createElementVNode("div",{class:t.normalizeClass(i.canchacontainerClass)},[(n.gameForAnalysis.game_status==4||n.gameForAnalysis.game_status==1)&&n.gameForAnalysis.is_live==0&&i.numPlayer==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.notificationnolineupsClass])}," Las alineaciones estarán disponibles unos minutos antes de que inicie el partido. ",2)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"jersey_home"},[m.played?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.itemplayerfieldClass,n.gamesContainerWidth<740?n.teamActive=="home"?"active":"disabled":"",n.gamesContainerWidth<740?"movil":""]),style:t.normalizeStyle(n.movil?{top:m.positionXOrigin+"%",left:m.positionYOrigin+"%"}:{top:m.positionX+"%",left:m.positionY+2+"%"})},[t.createElementVNode("div",{class:t.normalizeClass(i.jerseyitemplayerClass),style:t.normalizeStyle(m.position!="Portero"?{backgroundImage:n.uniformHome}:{backgroundImage:n.uniformHomeG})},[t.createElementVNode("div",{class:t.normalizeClass([i.yellowcarddivclass,m.yellowcards>0&&m.redcards==0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.redcarddivClass,m.yellowcards==0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.yellowredcarddivClass,m.yellowcards>0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.goalcarddivClass,m.goals>0?"cardsDisplay":"cardsNotDisplay"])},null,2)],6),t.createElementVNode("div",{class:t.normalizeClass(i.infoplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.infonameplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(["num-item-new",[n.gamesContainerWidth<740?"movil":""]])},t.toDisplayString(m.shirt_number),3),t.createTextVNode(" "+t.toDisplayString(m.abrevNamePlayer),1)],2),m.substitutionIn||m.substitutionOut?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.infochangeplayeritemClass),onClick:y=>i.viewChange(m.substitutionDataID)},qxe,10,Gxe)):t.createCommentVNode("",!0)],2)],6)):t.createCommentVNode("",!0)],64))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"jersey_away"},[m.played?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([i.itemplayerfieldClass,n.gamesContainerWidth<740?n.teamActive=="away"?"active":"disabled":"",n.gamesContainerWidth<740?"movil":""]),style:t.normalizeStyle(n.movil?{top:m.positionXOrigin+"%",left:m.positionYOrigin+"%"}:{top:m.positionX+"%",left:m.positionY+"%"})},[t.createElementVNode("div",{class:t.normalizeClass(i.jerseyitemplayerClass),style:t.normalizeStyle(m.position!="Portero"?{backgroundImage:n.uniformAway}:{backgroundImage:n.uniformAwayG})},[t.createElementVNode("div",{class:t.normalizeClass([i.yellowcarddivclass,m.yellowcards>0&&m.redcards==0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.redcarddivClass,m.yellowcards==0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.yellowredcarddivClass,m.yellowcards>0&&m.redcards>0?"cardsDisplay":"cardsNotDisplay"])},null,2),t.createElementVNode("div",{class:t.normalizeClass([i.goalcarddivClass,m.goals>0?"cardsDisplay":"cardsNotDisplay"])},null,2)],6),t.createElementVNode("div",{class:t.normalizeClass(i.infoplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.infonameplayeritemClass)},[t.createElementVNode("div",{class:t.normalizeClass(["num-item-new-away",[n.gamesContainerWidth<740?"movil":""]])},t.toDisplayString(m.shirt_number),3),t.createTextVNode(" "+t.toDisplayString(m.abrevNamePlayer),1)],2),m.substitutionIn||m.substitutionOut?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.infochangeplayeritemClass),onClick:y=>i.viewChange(m.substitutionDataID)},Zxe,10,Jxe)):t.createCommentVNode("",!0)],2)],6)):t.createCommentVNode("",!0)],64))),128))],2)],2),(n.gameForAnalysis.game_status==4||n.gameForAnalysis.game_status==1)&&n.gameForAnalysis.is_live==0&&i.numPlayer==0?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Yxe,[t.createElementVNode("div",{class:t.normalizeClass(i.containerlineupsClass)},[t.createElementVNode("div",{class:t.normalizeClass(i.menuTeamsClass)},[t.createElementVNode("div",{class:"header-lineup-shield-team home",style:t.normalizeStyle([{cursor:"pointer"},n.teamActive=="home"?"background-color: #214e67; border-radius: 10px;":""]),onClick:a[1]||(a[1]=m=>i.viewLineupTeam("home"))},[t.createElementVNode("div",Kxe,[n.homeTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.homeTeamLogo,class:"gsc-logo-team",width:"28"},null,8,Qxe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,t.toDisplayString(n.homeTeam.acronym),1)],4),t.createElementVNode("div",{class:"header-lineup-shield-team away",style:t.normalizeStyle([{cursor:"pointer"},n.teamActive=="away"?"background-color: #214e67; border-radius: 10px;":""]),onClick:a[2]||(a[2]=m=>i.viewLineupTeam("away"))},[t.createElementVNode("div",null,t.toDisplayString(n.visitingTeam.acronym),1),t.createElementVNode("div",eVe,[n.awayTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.awayTeamLogo,class:"gsc-logo-team",width:"28"},null,8,tVe)):t.createCommentVNode("",!0)])],4)],2),n.teamActive=="home"||n.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(i.containerClassHome)},[n.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",aVe,[t.createElementVNode("div",oVe,[n.homeTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.homeTeamLogo,class:"gsc-logo-team",width:"28"},null,8,sVe)):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,t.toDisplayString(n.homeTeam.acronym),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",nVe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[m.played?(t.openBlock(),t.createBlock(l,{key:0,type:1,position:i.positionClass,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"])):t.createCommentVNode("",!0)],64))),128))]),t.createElementVNode("div",iVe,[rVe,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersHome,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[m.played?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(l,{key:0,type:1,position:i.positionClass,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"]))],64))),128))])],2)):t.createCommentVNode("",!0),n.teamActive=="away"||n.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containerClassAway)},[n.gamesContainerWidth>740?(t.openBlock(),t.createElementBlock("div",lVe,[t.createElementVNode("div",null,t.toDisplayString(n.visitingTeam.acronym),1),t.createElementVNode("div",cVe,[n.awayTeamLogo!=""?(t.openBlock(),t.createElementBlock("img",{key:0,src:n.awayTeamLogo,class:"gsc-logo-team",width:"28"},null,8,dVe)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),t.createElementVNode("div",mVe,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"line_away"},[m.played?(t.openBlock(),t.createBlock(l,{key:0,type:2,position:i.positionClass2,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"])):t.createCommentVNode("",!0)],64))),128))]),t.createElementVNode("div",pVe,[hVe,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.playersAway,(m,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p+"line_away"},[m.played?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(l,{key:0,type:2,position:i.positionClass2,data:{color:p%2==0?"#0d1d29":"#172531",img:m.imgPlayer,name:m.name,position:m.position,nation:m.imgNationality,shirt:m.shirt_number,yellowcard:m.yellowcards,redcard:m.redcards,yellowcardmin:m.yellowcardsMin,redcardmin:m.redcardsMin,goalsMin:m.goalsMin,substitutionIn:m.substitutionIn,substitutionOut:m.substitutionOut,substitutionMin:m.substitutionMin}},null,8,["position","data"]))],64))),128))])],2)):t.createCommentVNode("",!0)],2)])),(n.gameForAnalysis.game_status==4||n.gameForAnalysis.game_status==1)&&n.gameForAnalysis.is_live==0&&i.numPlayer==0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(i.containernolineups)},[t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__img-search",n.gamesContainerWidth<740?"movil":""])},yVe,2),t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__title-info",n.gamesContainerWidth<740?"movil":""])}," Alineaciones sin definir ",2),t.createElementVNode("div",{class:t.normalizeClass([i.containernolineups+"__subtitle-info",n.gamesContainerWidth<740?"movil":""])},[t.createTextVNode(" Los equipos no han presentado sus alineaciones. Estas "),uVe,t.createTextVNode("serán dadas minutos antes del inicio del partido. ")],2)],2)):t.createCommentVNode("",!0)],2)])])])}const _Ve=wt(axe,[["render",fVe]]),bVe={components:{GSCLineups2D:j6e,GSCLineups3D:_Ve},props:{selectedOption:{type:String,default:"Historicos"},game:{type:Object,default:()=>{}},type:{type:String,default:"2D"}},watch:{},data(){return{}},computed:{},methods:{}};function wVe(e,a,o,s,n,i){const r=t.resolveComponent("GSCLineups2D"),c=t.resolveComponent("GSCLineups3D");return t.openBlock(),t.createElementBlock("div",null,[o.type=="2D"?(t.openBlock(),t.createBlock(r,{key:0,"selected-option":o.selectedOption,game:o.game},null,8,["selected-option","game"])):t.createCommentVNode("",!0),o.type=="3D"?(t.openBlock(),t.createBlock(c,{key:1,"selected-option":o.selectedOption,game:o.game},null,8,["selected-option","game"])):t.createCommentVNode("",!0)])}const CVe=wt(bVe,[["render",wVe]]);function OC(e,a){return function(){return e.apply(a,arguments)}}const{toString:kVe}=Object.prototype,{getPrototypeOf:sy}=Object,hc=(e=>a=>{const o=kVe.call(a);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Ca=e=>(e=e.toLowerCase(),a=>hc(a)===e),gc=e=>a=>typeof a===e,{isArray:gs}=Array,Yn=gc("undefined");function SVe(e){return e!==null&&!Yn(e)&&e.constructor!==null&&!Yn(e.constructor)&&Lt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const TC=Ca("ArrayBuffer");function EVe(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&TC(e.buffer),a}const NVe=gc("string"),Lt=gc("function"),zC=gc("number"),yc=e=>e!==null&&typeof e=="object",$Ve=e=>e===!0||e===!1,uc=e=>{if(hc(e)!=="object")return!1;const a=sy(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},BVe=Ca("Date"),xVe=Ca("File"),VVe=Ca("Blob"),IVe=Ca("FileList"),AVe=e=>yc(e)&&Lt(e.pipe),OVe=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||Lt(e.append)&&((a=hc(e))==="formdata"||a==="object"&&Lt(e.toString)&&e.toString()==="[object FormData]"))},TVe=Ca("URLSearchParams"),zVe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kn(e,a,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let s,n;if(typeof e!="object"&&(e=[e]),gs(e))for(s=0,n=e.length;s<n;s++)a.call(null,e[s],s,e);else{const i=o?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let c;for(s=0;s<r;s++)c=i[s],a.call(null,e[c],c,e)}}function FC(e,a){a=a.toLowerCase();const o=Object.keys(e);let s=o.length,n;for(;s-- >0;)if(n=o[s],a===n.toLowerCase())return n;return null}const RC=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),PC=e=>!Yn(e)&&e!==RC;function ny(){const{caseless:e}=PC(this)&&this||{},a={},o=(s,n)=>{const i=e&&FC(a,n)||n;uc(a[i])&&uc(s)?a[i]=ny(a[i],s):uc(s)?a[i]=ny({},s):gs(s)?a[i]=s.slice():a[i]=s};for(let s=0,n=arguments.length;s<n;s++)arguments[s]&&Kn(arguments[s],o);return a}const FVe=(e,a,o,{allOwnKeys:s}={})=>(Kn(a,(n,i)=>{o&&Lt(n)?e[i]=OC(n,o):e[i]=n},{allOwnKeys:s}),e),RVe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),PVe=(e,a,o,s)=>{e.prototype=Object.create(a.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),o&&Object.assign(e.prototype,o)},DVe=(e,a,o,s)=>{let n,i,r;const c={};if(a=a||{},e==null)return a;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)r=n[i],(!s||s(r,e,a))&&!c[r]&&(a[r]=e[r],c[r]=!0);e=o!==!1&&sy(e)}while(e&&(!o||o(e,a))&&e!==Object.prototype);return a},LVe=(e,a,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=a.length;const s=e.indexOf(a,o);return s!==-1&&s===o},jVe=e=>{if(!e)return null;if(gs(e))return e;let a=e.length;if(!zC(a))return null;const o=new Array(a);for(;a-- >0;)o[a]=e[a];return o},vVe=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&sy(Uint8Array)),MVe=(e,a)=>{const o=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=o.next())&&!s.done;){const n=s.value;a.call(e,n[0],n[1])}},HVe=(e,a)=>{let o;const s=[];for(;(o=e.exec(a))!==null;)s.push(o);return s},UVe=Ca("HTMLFormElement"),GVe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,s){return o.toUpperCase()+s}),DC=(({hasOwnProperty:e})=>(a,o)=>e.call(a,o))(Object.prototype),WVe=Ca("RegExp"),LC=(e,a)=>{const o=Object.getOwnPropertyDescriptors(e),s={};Kn(o,(n,i)=>{let r;(r=a(n,i,e))!==!1&&(s[i]=r||n)}),Object.defineProperties(e,s)},qVe=e=>{LC(e,(a,o)=>{if(Lt(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const s=e[o];if(Lt(s)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},JVe=(e,a)=>{const o={},s=n=>{n.forEach(i=>{o[i]=!0})};return gs(e)?s(e):s(String(e).split(a)),o},XVe=()=>{},ZVe=(e,a)=>(e=+e,Number.isFinite(e)?e:a),iy="abcdefghijklmnopqrstuvwxyz",jC="0123456789",vC={DIGIT:jC,ALPHA:iy,ALPHA_DIGIT:iy+iy.toUpperCase()+jC},YVe=(e=16,a=vC.ALPHA_DIGIT)=>{let o="";const{length:s}=a;for(;e--;)o+=a[Math.random()*s|0];return o};function KVe(e){return!!(e&&Lt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const QVe=e=>{const a=new Array(10),o=(s,n)=>{if(yc(s)){if(a.indexOf(s)>=0)return;if(!("toJSON"in s)){a[n]=s;const i=gs(s)?[]:{};return Kn(s,(r,c)=>{const h=o(r,n+1);!Yn(h)&&(i[c]=h)}),a[n]=void 0,i}}return s};return o(e,0)},eIe=Ca("AsyncFunction"),tIe=e=>e&&(yc(e)||Lt(e))&&Lt(e.then)&&Lt(e.catch),X={isArray:gs,isArrayBuffer:TC,isBuffer:SVe,isFormData:OVe,isArrayBufferView:EVe,isString:NVe,isNumber:zC,isBoolean:$Ve,isObject:yc,isPlainObject:uc,isUndefined:Yn,isDate:BVe,isFile:xVe,isBlob:VVe,isRegExp:WVe,isFunction:Lt,isStream:AVe,isURLSearchParams:TVe,isTypedArray:vVe,isFileList:IVe,forEach:Kn,merge:ny,extend:FVe,trim:zVe,stripBOM:RVe,inherits:PVe,toFlatObject:DVe,kindOf:hc,kindOfTest:Ca,endsWith:LVe,toArray:jVe,forEachEntry:MVe,matchAll:HVe,isHTMLForm:UVe,hasOwnProperty:DC,hasOwnProp:DC,reduceDescriptors:LC,freezeMethods:qVe,toObjectSet:JVe,toCamelCase:GVe,noop:XVe,toFiniteNumber:ZVe,findKey:FC,global:RC,isContextDefined:PC,ALPHABET:vC,generateString:YVe,isSpecCompliantForm:KVe,toJSONObject:QVe,isAsyncFn:eIe,isThenable:tIe};function Ne(e,a,o,s,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),o&&(this.config=o),s&&(this.request=s),n&&(this.response=n)}X.inherits(Ne,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:X.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const MC=Ne.prototype,HC={};["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=>{HC[e]={value:e}}),Object.defineProperties(Ne,HC),Object.defineProperty(MC,"isAxiosError",{value:!0}),Ne.from=(e,a,o,s,n,i)=>{const r=Object.create(MC);return X.toFlatObject(e,r,function(c){return c!==Error.prototype},c=>c!=="isAxiosError"),Ne.call(r,e.message,a,o,s,n),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const aIe=null;function ry(e){return X.isPlainObject(e)||X.isArray(e)}function UC(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function GC(e,a,o){return e?e.concat(a).map(function(s,n){return s=UC(s),!o&&n?"["+s+"]":s}).join(o?".":""):a}function oIe(e){return X.isArray(e)&&!e.some(ry)}const sIe=X.toFlatObject(X,{},null,function(e){return/^is[A-Z]/.test(e)});function fc(e,a,o){if(!X.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,o=X.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,g){return!X.isUndefined(g[y])});const s=o.metaTokens,n=o.visitor||d,i=o.dots,r=o.indexes,c=(o.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(a);if(!X.isFunction(n))throw new TypeError("visitor must be a function");function h(y){if(y===null)return"";if(X.isDate(y))return y.toISOString();if(!c&&X.isBlob(y))throw new Ne("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(y)||X.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,g,u){let f=y;if(y&&!u&&typeof y=="object"){if(X.endsWith(g,"{}"))g=s?g:g.slice(0,-2),y=JSON.stringify(y);else if(X.isArray(y)&&oIe(y)||(X.isFileList(y)||X.endsWith(g,"[]"))&&(f=X.toArray(y)))return g=UC(g),f.forEach(function(_,k){!(X.isUndefined(_)||_===null)&&a.append(r===!0?GC([g],k,i):r===null?g:g+"[]",h(_))}),!1}return ry(y)?!0:(a.append(GC(u,g,i),h(y)),!1)}const l=[],m=Object.assign(sIe,{defaultVisitor:d,convertValue:h,isVisitable:ry});function p(y,g){if(!X.isUndefined(y)){if(l.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));l.push(y),X.forEach(y,function(u,f){(!(X.isUndefined(u)||u===null)&&n.call(a,u,X.isString(f)?f.trim():f,g,m))===!0&&p(u,g?g.concat(f):[f])}),l.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return p(e),a}function WC(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return a[o]})}function ly(e,a){this._pairs=[],e&&fc(e,this,a)}const qC=ly.prototype;qC.append=function(e,a){this._pairs.push([e,a])},qC.toString=function(e){const a=e?function(o){return e.call(this,o,WC)}:WC;return this._pairs.map(function(o){return a(o[0])+"="+a(o[1])},"").join("&")};function nIe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function JC(e,a,o){if(!a)return e;const s=o&&o.encode||nIe,n=o&&o.serialize;let i;if(n?i=n(a,o):i=X.isURLSearchParams(a)?a.toString():new ly(a,o).toString(s),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class iIe{constructor(){this.handlers=[]}use(a,o,s){return this.handlers.push({fulfilled:a,rejected:o,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){X.forEach(this.handlers,function(o){o!==null&&a(o)})}}const XC=iIe,ZC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rIe=typeof URLSearchParams<"u"?URLSearchParams:ly,lIe=typeof FormData<"u"?FormData:null,cIe=typeof Blob<"u"?Blob:null,dIe={isBrowser:!0,classes:{URLSearchParams:rIe,FormData:lIe,Blob:cIe},protocols:["http","https","file","blob","url","data"]},YC=typeof window<"u"&&typeof document<"u",mIe=(e=>YC&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),pIe=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),hIe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:YC,hasStandardBrowserEnv:mIe,hasStandardBrowserWebWorkerEnv:pIe},Symbol.toStringTag,{value:"Module"})),ka={...hIe,...dIe};function gIe(e,a){return fc(e,new ka.classes.URLSearchParams,Object.assign({visitor:function(o,s,n,i){return ka.isNode&&X.isBuffer(o)?(this.append(s,o.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function yIe(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function uIe(e){const a={},o=Object.keys(e);let s;const n=o.length;let i;for(s=0;s<n;s++)i=o[s],a[i]=e[i];return a}function KC(e){function a(o,s,n,i){let r=o[i++];if(r==="__proto__")return!0;const c=Number.isFinite(+r),h=i>=o.length;return r=!r&&X.isArray(n)?n.length:r,h?(X.hasOwnProp(n,r)?n[r]=[n[r],s]:n[r]=s,!c):((!n[r]||!X.isObject(n[r]))&&(n[r]=[]),a(o,s,n[r],i)&&X.isArray(n[r])&&(n[r]=uIe(n[r])),!c)}if(X.isFormData(e)&&X.isFunction(e.entries)){const o={};return X.forEachEntry(e,(s,n)=>{a(yIe(s),n,o,0)}),o}return null}function fIe(e,a,o){if(X.isString(e))try{return(a||JSON.parse)(e),X.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(o||JSON.stringify)(e)}const cy={transitional:ZC,adapter:["xhr","http"],transformRequest:[function(e,a){const o=a.getContentType()||"",s=o.indexOf("application/json")>-1,n=X.isObject(e);if(n&&X.isHTMLForm(e)&&(e=new FormData(e)),X.isFormData(e))return s?JSON.stringify(KC(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(n){if(o.indexOf("application/x-www-form-urlencoded")>-1)return gIe(e,this.formSerializer).toString();if((i=X.isFileList(e))||o.indexOf("multipart/form-data")>-1){const r=this.env&&this.env.FormData;return fc(i?{"files[]":e}:e,r&&new r,this.formSerializer)}}return n||s?(a.setContentType("application/json",!1),fIe(e)):e}],transformResponse:[function(e){const a=this.transitional||cy.transitional,o=a&&a.forcedJSONParsing,s=this.responseType==="json";if(e&&X.isString(e)&&(o&&!this.responseType||s)){const n=!(a&&a.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(i){if(n)throw i.name==="SyntaxError"?Ne.from(i,Ne.ERR_BAD_RESPONSE,this,null,this.response):i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ka.classes.FormData,Blob:ka.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{cy.headers[e]={}});const dy=cy,_Ie=X.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"]),bIe=e=>{const a={};let o,s,n;return e&&e.split(`
|
|
103
103
|
`).forEach(function(i){n=i.indexOf(":"),o=i.substring(0,n).trim().toLowerCase(),s=i.substring(n+1).trim(),!(!o||a[o]&&_Ie[o])&&(o==="set-cookie"?a[o]?a[o].push(s):a[o]=[s]:a[o]=a[o]?a[o]+", "+s:s)}),a},QC=Symbol("internals");function Qn(e){return e&&String(e).trim().toLowerCase()}function _c(e){return e===!1||e==null?e:X.isArray(e)?e.map(_c):String(e)}function wIe(e){const a=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=o.exec(e);)a[s[1]]=s[2];return a}const CIe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function my(e,a,o,s,n){if(X.isFunction(s))return s.call(this,a,o);if(n&&(a=o),!!X.isString(a)){if(X.isString(s))return a.indexOf(s)!==-1;if(X.isRegExp(s))return s.test(a)}}function kIe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,o,s)=>o.toUpperCase()+s)}function SIe(e,a){const o=X.toCamelCase(" "+a);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+o,{value:function(n,i,r){return this[s].call(this,a,n,i,r)},configurable:!0})})}let bc=class{constructor(a){a&&this.set(a)}set(a,o,s){const n=this;function i(c,h,d){const l=Qn(h);if(!l)throw new Error("header name must be a non-empty string");const m=X.findKey(n,l);(!m||n[m]===void 0||d===!0||d===void 0&&n[m]!==!1)&&(n[m||h]=_c(c))}const r=(c,h)=>X.forEach(c,(d,l)=>i(d,l,h));return X.isPlainObject(a)||a instanceof this.constructor?r(a,o):X.isString(a)&&(a=a.trim())&&!CIe(a)?r(bIe(a),o):a!=null&&i(o,a,s),this}get(a,o){if(a=Qn(a),a){const s=X.findKey(this,a);if(s){const n=this[s];if(!o)return n;if(o===!0)return wIe(n);if(X.isFunction(o))return o.call(this,n,s);if(X.isRegExp(o))return o.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,o){if(a=Qn(a),a){const s=X.findKey(this,a);return!!(s&&this[s]!==void 0&&(!o||my(this,this[s],s,o)))}return!1}delete(a,o){const s=this;let n=!1;function i(r){if(r=Qn(r),r){const c=X.findKey(s,r);c&&(!o||my(s,s[c],c,o))&&(delete s[c],n=!0)}}return X.isArray(a)?a.forEach(i):i(a),n}clear(a){const o=Object.keys(this);let s=o.length,n=!1;for(;s--;){const i=o[s];(!a||my(this,this[i],i,a,!0))&&(delete this[i],n=!0)}return n}normalize(a){const o=this,s={};return X.forEach(this,(n,i)=>{const r=X.findKey(s,i);if(r){o[r]=_c(n),delete o[i];return}const c=a?kIe(i):String(i).trim();c!==i&&delete o[i],o[c]=_c(n),s[c]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const o=Object.create(null);return X.forEach(this,(s,n)=>{s!=null&&s!==!1&&(o[n]=a&&X.isArray(s)?s.join(", "):s)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,o])=>a+": "+o).join(`
|
|
104
104
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...o){const s=new this(a);return o.forEach(n=>s.set(n)),s}static accessor(a){const o=(this[QC]=this[QC]={accessors:{}}).accessors,s=this.prototype;function n(i){const r=Qn(i);o[r]||(SIe(s,i),o[r]=!0)}return X.isArray(a)?a.forEach(n):n(a),this}};bc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(bc.prototype,({value:e},a)=>{let o=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(s){this[o]=s}}}),X.freezeMethods(bc);const ja=bc;function py(e,a){const o=this||dy,s=a||o,n=ja.from(s.headers);let i=s.data;return X.forEach(e,function(r){i=r.call(o,i,n.normalize(),a?a.status:void 0)}),n.normalize(),i}function e8(e){return!!(e&&e.__CANCEL__)}function ei(e,a,o){Ne.call(this,e??"canceled",Ne.ERR_CANCELED,a,o),this.name="CanceledError"}X.inherits(ei,Ne,{__CANCEL__:!0});function EIe(e,a,o){const s=o.config.validateStatus;!o.status||!s||s(o.status)?e(o):a(new Ne("Request failed with status code "+o.status,[Ne.ERR_BAD_REQUEST,Ne.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}const NIe=ka.hasStandardBrowserEnv?{write(e,a,o,s,n,i){const r=[e+"="+encodeURIComponent(a)];X.isNumber(o)&&r.push("expires="+new Date(o).toGMTString()),X.isString(s)&&r.push("path="+s),X.isString(n)&&r.push("domain="+n),i===!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 $Ie(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function BIe(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function t8(e,a){return e&&!$Ie(a)?BIe(e,a):a}const xIe=ka.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let o;function s(n){let i=n;return e&&(a.setAttribute("href",i),i=a.href),a.setAttribute("href",i),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return o=s(window.location.href),function(n){const i=X.isString(n)?s(n):n;return i.protocol===o.protocol&&i.host===o.host}}():function(){return function(){return!0}}();function VIe(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function IIe(e,a){e=e||10;const o=new Array(e),s=new Array(e);let n=0,i=0,r;return a=a!==void 0?a:1e3,function(c){const h=Date.now(),d=s[i];r||(r=h),o[n]=c,s[n]=h;let l=i,m=0;for(;l!==n;)m+=o[l++],l=l%e;if(n=(n+1)%e,n===i&&(i=(i+1)%e),h-r<a)return;const p=d&&h-d;return p?Math.round(m*1e3/p):void 0}}function a8(e,a){let o=0;const s=IIe(50,250);return n=>{const i=n.loaded,r=n.lengthComputable?n.total:void 0,c=i-o,h=s(c),d=i<=r;o=i;const l={loaded:i,total:r,progress:r?i/r:void 0,bytes:c,rate:h||void 0,estimated:h&&r&&d?(r-i)/h:void 0,event:n};l[a?"download":"upload"]=!0,e(l)}}const AIe=typeof XMLHttpRequest<"u",OIe=AIe&&function(e){return new Promise(function(a,o){let s=e.data;const n=ja.from(e.headers).normalize();let{responseType:i,withXSRFToken:r}=e,c;function h(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let d;if(X.isFormData(s)){if(ka.hasStandardBrowserEnv||ka.hasStandardBrowserWebWorkerEnv)n.setContentType(!1);else if((d=n.getContentType())!==!1){const[g,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];n.setContentType([g||"multipart/form-data",...u].join("; "))}}let l=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",u=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";n.set("Authorization","Basic "+btoa(g+":"+u))}const m=t8(e.baseURL,e.url);l.open(e.method.toUpperCase(),JC(m,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const g=ja.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),u={data:!i||i==="text"||i==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:g,config:e,request:l};EIe(function(f){a(f),h()},function(f){o(f),h()},u),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(o(new Ne("Request aborted",Ne.ECONNABORTED,e,l)),l=null)},l.onerror=function(){o(new Ne("Network Error",Ne.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const u=e.transitional||ZC;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),o(new Ne(g,u.clarifyTimeoutError?Ne.ETIMEDOUT:Ne.ECONNABORTED,e,l)),l=null},ka.hasStandardBrowserEnv&&(r&&X.isFunction(r)&&(r=r(e)),r||r!==!1&&xIe(m))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&NIe.read(e.xsrfCookieName);g&&n.set(e.xsrfHeaderName,g)}s===void 0&&n.setContentType(null),"setRequestHeader"in l&&X.forEach(n.toJSON(),function(g,u){l.setRequestHeader(u,g)}),X.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&i!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",a8(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",a8(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=g=>{l&&(o(!g||g.type?new ei(null,e,l):g),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const y=VIe(m);if(y&&ka.protocols.indexOf(y)===-1){o(new Ne("Unsupported protocol "+y+":",Ne.ERR_BAD_REQUEST,e));return}l.send(s||null)})},hy={http:aIe,xhr:OIe};X.forEach(hy,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const o8=e=>`- ${e}`,TIe=e=>X.isFunction(e)||e===null||e===!1,s8={getAdapter:e=>{e=X.isArray(e)?e:[e];const{length:a}=e;let o,s;const n={};for(let i=0;i<a;i++){o=e[i];let r;if(s=o,!TIe(o)&&(s=hy[(r=String(o)).toLowerCase()],s===void 0))throw new Ne(`Unknown adapter '${r}'`);if(s)break;n[r||"#"+i]=s}if(!s){const i=Object.entries(n).map(([c,h])=>`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let r=a?i.length>1?`since :
|
|
105
105
|
`+i.map(o8).join(`
|