@golstats/gsc-game-data 1.0.307 → 1.0.308
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FilterConditions-67a56ee9-DBtqCSYy-655bc050.js → FilterConditions-67a56ee9-DBtqCSYy-4704ff9f.js} +1 -1
- package/dist/{FilterConditions-8968e395-7781a351.js → FilterConditions-8968e395-341f0d02.js} +1 -1
- package/dist/{FilterField-1d2345af-C2C9vdHz-1bfd859d.js → FilterField-1d2345af-C2C9vdHz-f16d529a.js} +1 -1
- package/dist/{FilterField-ef44bc20-c1e30287.js → FilterField-ef44bc20-73585be8.js} +1 -1
- package/dist/{FilterSubcategories-4bc20b72-a94d7518.js → FilterSubcategories-4bc20b72-5a517629.js} +1 -1
- package/dist/{FilterSubcategories-92dfe0dc-BxsguvYJ-d7400224.js → FilterSubcategories-92dfe0dc-BxsguvYJ-f44b03e8.js} +1 -1
- package/dist/gsc-game-data.js +1 -1
- package/dist/gsc-game-data.umd.cjs +1 -1
- package/dist/{index-548f6e6d.js → index-17376571.js} +7 -7
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCssVars as E, computed as r, openBlock as s, createElementBlock as i, normalizeStyle as R, createElementVNode as d, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as V, popScopeId as $ } from "vue";
|
|
2
|
-
import { r as H, R as m } from "./index-
|
|
2
|
+
import { r as H, R as m } from "./index-17376571.js";
|
|
3
3
|
const n = (o) => (V("data-v-80d9c265"), o = o(), $(), o), T = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, z = { class: "details__body" }, F = { class: "details__body__playing-as" }, L = ["onClick"], N = { class: "details__header" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), D = { class: "details__header__checkbox" }, J = { class: "details__body" }, j = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], Q = {
|
|
4
4
|
__name: "FilterConditions",
|
|
5
5
|
props: {
|
package/dist/{FilterConditions-8968e395-7781a351.js → FilterConditions-8968e395-341f0d02.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCssVars as E, computed as r, openBlock as d, createElementBlock as i, normalizeStyle as $, createElementVNode as o, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as H, popScopeId as R } from "vue";
|
|
2
|
-
import { Z as T, Y as m } from "./index-
|
|
2
|
+
import { Z as T, Y as m } from "./index-17376571.js";
|
|
3
3
|
const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, z = { class: "details__body" }, F = { class: "details__body__playing-as" }, L = ["onClick"], N = { class: "details__header" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), Y = { class: "details__header__checkbox" }, D = { class: "details__body" }, J = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "1er tiempo", -1)), j = { class: "details__body__game-section" }, q = ["onClick"], w = { class: "details__body" }, G = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "2do tiempo", -1)), K = { class: "details__body__game-section" }, M = ["onClick"], O = {
|
|
4
4
|
__name: "FilterConditions",
|
|
5
5
|
props: {
|
package/dist/{FilterField-1d2345af-C2C9vdHz-1bfd859d.js → FilterField-1d2345af-C2C9vdHz-f16d529a.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, openBlock as a, createElementBlock as n, createVNode as c, unref as d } from "vue";
|
|
2
|
-
import { r as u, J as f } from "./index-
|
|
2
|
+
import { r as u, J as f } from "./index-17376571.js";
|
|
3
3
|
const i = { class: "filter-field" }, m = {
|
|
4
4
|
__name: "FilterField",
|
|
5
5
|
setup(s) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as r, openBlock as a, createElementBlock as n, createVNode as c, unref as u } from "vue";
|
|
2
|
-
import { Z as d, n as i } from "./index-
|
|
2
|
+
import { Z as d, n as i } from "./index-17376571.js";
|
|
3
3
|
const f = { class: "filter-field" }, m = {
|
|
4
4
|
__name: "FilterField",
|
|
5
5
|
setup(p) {
|
package/dist/{FilterSubcategories-4bc20b72-a94d7518.js → FilterSubcategories-4bc20b72-5a517629.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as o, Fragment as t, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
|
|
2
|
-
import { Z as l, Y as g } from "./index-
|
|
2
|
+
import { Z as l, Y as g } from "./index-17376571.js";
|
|
3
3
|
const y = { class: "subcategory-group" }, b = {
|
|
4
4
|
__name: "SubcategoryGroup",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as a, Fragment as t, renderList as u, createVNode as d, createBlock as i, unref as n } from "vue";
|
|
2
|
-
import { r as l, R as y } from "./index-
|
|
2
|
+
import { r as l, R as y } from "./index-17376571.js";
|
|
3
3
|
const b = { class: "subcategory-group" }, g = {
|
|
4
4
|
__name: "SubcategoryGroup",
|
|
5
5
|
props: {
|
package/dist/gsc-game-data.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Vue 3 Carousel 0.3.4
|
|
12
12
|
* (c) 2024
|
|
13
13
|
* @license MIT
|
|
14
|
-
*/const Nu={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"}},US={itemsToShow:{default:Nu.itemsToShow,type:Number},itemsToScroll:{default:Nu.itemsToScroll,type:Number},wrapAround:{default:Nu.wrapAround,type:Boolean},throttle:{default:Nu.throttle,type:Number},snapAlign:{default:Nu.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:Nu.transition,type:Number},breakpoints:{default:Nu.breakpoints,type:Object},autoplay:{default:Nu.autoplay,type:Number},pauseAutoplayOnHover:{default:Nu.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:Nu.mouseDrag,type:Boolean},touchDrag:{default:Nu.touchDrag,type:Boolean},dir:{default:Nu.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:Nu.i18n,type:Object},settings:{default(){return{}},type:Object}};function eG({config:e,slidesCount:p}){const{snapAlign:f,wrapAround:F,itemsToShow:Y=1}=e;if(F)return Math.max(p-1,0);let w;switch(f){case"start":w=p-Y;break;case"end":w=p-1;break;case"center":case"center-odd":w=p-Math.ceil((Y-.5)/2);break;case"center-even":w=p-Math.ceil(Y/2);break;default:w=0;break}return Math.max(w,0)}function tG({config:e,slidesCount:p}){const{wrapAround:f,snapAlign:F,itemsToShow:Y=1}=e;let w=0;if(f||Y>p)return w;switch(F){case"start":w=0;break;case"end":w=Y-1;break;case"center":case"center-odd":w=Math.floor((Y-1)/2);break;case"center-even":w=Math.floor((Y-2)/2);break;default:w=0;break}return w}function yw({val:e,max:p,min:f}){return p<f?e:Math.min(Math.max(e,f),p)}function nG({config:e,currentSlide:p,slidesCount:f}){const{snapAlign:F,wrapAround:Y,itemsToShow:w=1}=e;let _=p;switch(F){case"center":case"center-odd":_-=(w-1)/2;break;case"center-even":_-=(w-2)/2;break;case"end":_-=w-1;break}return Y?_:yw({val:_,max:f-w,min:0})}function GS(e){return e?e.reduce((p,f)=>{var F;return f.type===t.Fragment?[...p,...GS(f.children)]:((F=f.type)===null||F===void 0?void 0:F.name)==="CarouselSlide"?[...p,f]:p},[]):[]}function vw({val:e,max:p,min:f=0}){return e>p?vw({val:e-(p+1),max:p,min:f}):e<f?vw({val:e+(p+1),max:p,min:f}):e}function rG(e,p){let f;return p?function(...F){const Y=this;f||(e.apply(Y,F),f=!0,setTimeout(()=>f=!1,p))}:e}function aG(e,p){let f;return function(...F){f&&clearTimeout(f),f=setTimeout(()=>{e(...F),f=null},p)}}function iG(e="",p={}){return Object.entries(p).reduce((f,[F,Y])=>f.replace(`{${F}}`,String(Y)),e)}var oG=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},Nu))),p=t.inject("currentSlide",t.ref(0)),f=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},iG(e.i18n.itemXofY,{currentSlide:p.value+1,slidesCount:f.value}))}}),sG=t.defineComponent({name:"Carousel",props:US,setup(e,{slots:p,emit:f,expose:F}){var Y;const w=t.ref(null),_=t.ref([]),n=t.ref(0),g=t.ref(0),h=t.reactive(Object.assign({},Nu));let r=Object.assign({},Nu),v;const y=t.ref((Y=e.modelValue)!==null&&Y!==void 0?Y:0),u=t.ref(0),o=t.ref(0),a=t.ref(0),i=t.ref(0);let l,s;t.provide("config",h),t.provide("slidesCount",g),t.provide("currentSlide",y),t.provide("maxSlide",a),t.provide("minSlide",i),t.provide("slideWidth",n);function c(){v=Object.assign({},e.breakpoints),r=Object.assign(Object.assign(Object.assign({},r),e),{i18n:Object.assign(Object.assign({},r.i18n),e.i18n),breakpoints:void 0}),m(r)}function d(){if(!v||!Object.keys(v).length)return;const ne=Object.keys(v).map(ie=>Number(ie)).sort((ie,de)=>+de-+ie);let re=Object.assign({},r);ne.some(ie=>{const de=window.matchMedia(`(min-width: ${ie}px)`).matches;return de&&(re=Object.assign(Object.assign({},re),v[ie])),de}),m(re)}function m(ne){Object.entries(ne).forEach(([re,ie])=>h[re]=ie)}const x=aG(()=>{d(),T(),b()},16);function b(){if(!w.value)return;const ne=w.value.getBoundingClientRect();n.value=ne.width/h.itemsToShow}function T(){g.value<=0||(o.value=Math.ceil((g.value-1)/2),a.value=eG({config:h,slidesCount:g.value}),i.value=tG({config:h,slidesCount:g.value}),h.wrapAround||(y.value=yw({val:y.value,max:a.value,min:i.value})))}t.onMounted(()=>{t.nextTick(()=>b()),setTimeout(()=>b(),1e3),d(),R(),window.addEventListener("resize",x,{passive:!0}),f("init")}),t.onUnmounted(()=>{s&&clearTimeout(s),l&&clearInterval(l),window.removeEventListener("resize",x,{passive:!0})});let k=!1;const C={x:0,y:0},S={x:0,y:0},E=t.reactive({x:0,y:0}),A=t.ref(!1),M=t.ref(!1),P=()=>{A.value=!0},B=()=>{A.value=!1};function z(ne){["INPUT","TEXTAREA","SELECT"].includes(ne.target.tagName)||(k=ne.type==="touchstart",k||ne.preventDefault(),!(!k&&ne.button!==0||$.value)&&(C.x=k?ne.touches[0].clientX:ne.clientX,C.y=k?ne.touches[0].clientY:ne.clientY,document.addEventListener(k?"touchmove":"mousemove",O,!0),document.addEventListener(k?"touchend":"mouseup",D,!0)))}const O=rG(ne=>{M.value=!0,S.x=k?ne.touches[0].clientX:ne.clientX,S.y=k?ne.touches[0].clientY:ne.clientY;const re=S.x-C.x,ie=S.y-C.y;E.y=ie,E.x=re},h.throttle);function D(){const ne=h.dir==="rtl"?-1:1,re=Math.sign(E.x)*.4,ie=Math.round(E.x/n.value+re)*ne;if(ie&&!k){const de=fe=>{window.removeEventListener("click",de,!0)};window.addEventListener("click",de,!0)}Z(y.value-ie),E.x=0,E.y=0,M.value=!1,document.removeEventListener(k?"touchmove":"mousemove",O,!0),document.removeEventListener(k?"touchend":"mouseup",D,!0)}function R(){!h.autoplay||h.autoplay<=0||(l=setInterval(()=>{h.pauseAutoplayOnHover&&A.value||W()},h.autoplay))}function j(){l&&(clearInterval(l),l=null),R()}const $=t.ref(!1);function Z(ne){const re=h.wrapAround?ne:yw({val:ne,max:a.value,min:i.value});y.value===re||$.value||(f("slide-start",{slidingToIndex:ne,currentSlideIndex:y.value,prevSlideIndex:u.value,slidesCount:g.value}),$.value=!0,u.value=y.value,y.value=re,s=setTimeout(()=>{if(h.wrapAround){const ie=vw({val:re,max:a.value,min:0});ie!==y.value&&(y.value=ie,f("loop",{currentSlideIndex:y.value,slidingToIndex:ne}))}f("update:modelValue",y.value),f("slide-end",{currentSlideIndex:y.value,prevSlideIndex:u.value,slidesCount:g.value}),$.value=!1,j()},h.transition))}function W(){Z(y.value+h.itemsToScroll)}function H(){Z(y.value-h.itemsToScroll)}const Q={slideTo:Z,next:W,prev:H};t.provide("nav",Q),t.provide("isSliding",$);const X=t.computed(()=>nG({config:h,currentSlide:y.value,slidesCount:g.value}));t.provide("slidesToScroll",X);const J=t.computed(()=>{const ne=h.dir==="rtl"?-1:1,re=X.value*n.value*ne;return{transform:`translateX(${E.x-re}px)`,transition:`${$.value?h.transition:0}ms`,margin:h.wrapAround?`0 -${g.value*n.value}px`:"",width:"100%"}});function ee(){c(),d(),T(),b(),j()}Object.keys(US).forEach(ne=>{["modelValue"].includes(ne)||t.watch(()=>e[ne],ee)}),t.watch(()=>e.modelValue,ne=>{ne!==y.value&&Z(Number(ne))}),t.watch(g,T),f("before-init"),c();const le={config:h,slidesCount:g,slideWidth:n,next:W,prev:H,slideTo:Z,currentSlide:y,maxSlide:a,minSlide:i,middleSlide:o};F({updateBreakpointsConfigs:d,updateSlidesData:T,updateSlideWidth:b,initDefaultConfigs:c,restartCarousel:ee,slideTo:Z,next:W,prev:H,nav:Q,data:le});const oe=p.default||p.slides,se=p.addons,ce=t.reactive(le);return()=>{const ne=GS(oe==null?void 0:oe(ce)),re=(se==null?void 0:se(ce))||[];ne.forEach((pe,ge)=>pe.props.index=ge);let ie=ne;if(h.wrapAround){const pe=ne.map((be,we)=>t.cloneVNode(be,{index:-ne.length+we,isClone:!0,key:`clone-before-${we}`})),ge=ne.map((be,we)=>t.cloneVNode(be,{index:ne.length+we,isClone:!0,key:`clone-after-${we}`}));ie=[...pe,...ne,...ge]}_.value=ne,g.value=Math.max(ne.length,1);const de=t.h("ol",{class:"carousel__track",style:J.value,onMousedownCapture:h.mouseDrag?z:null,onTouchstartPassiveCapture:h.touchDrag?z:null},ie),fe=t.h("div",{class:"carousel__viewport"},de);return t.h("section",{ref:w,class:{carousel:!0,"is-sliding":$.value,"is-dragging":M.value,"is-hover":A.value,"carousel--rtl":h.dir==="rtl"},dir:h.dir,"aria-label":h.i18n.ariaGallery,tabindex:"0",onMouseenter:P,onMouseleave:B},[fe,re,t.h(oG)])}}}),_w;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(_w||(_w={}));const lG={arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"};function cG(e){return e in _w}const bw=e=>{const p=t.inject("config",t.reactive(Object.assign({},Nu))),f=String(e.name),F=`icon${f.charAt(0).toUpperCase()+f.slice(1)}`;if(!f||typeof f!="string"||!cG(f))return;const Y=lG[f],w=t.h("path",{d:Y}),_=p.i18n[F]||e.title||f,n=t.h("title",_);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":_},[n,w])};bw.props={name:String,title:String};const uG=(e,{slots:p,attrs:f})=>{const{next:F,prev:Y}=p||{},w=t.inject("config",t.reactive(Object.assign({},Nu))),_=t.inject("maxSlide",t.ref(1)),n=t.inject("minSlide",t.ref(1)),g=t.inject("currentSlide",t.ref(1)),h=t.inject("nav",{}),{dir:r,wrapAround:v,i18n:y}=w,u=r==="rtl",o=t.h("button",{type:"button",class:["carousel__prev",!v&&g.value<=n.value&&"carousel__prev--disabled",f==null?void 0:f.class],"aria-label":y.ariaPreviousSlide,onClick:h.prev},(Y==null?void 0:Y())||t.h(bw,{name:u?"arrowRight":"arrowLeft"})),a=t.h("button",{type:"button",class:["carousel__next",!v&&g.value>=_.value&&"carousel__next--disabled",f==null?void 0:f.class],"aria-label":y.ariaNextSlide,onClick:h.next},(F==null?void 0:F())||t.h(bw,{name:u?"arrowLeft":"arrowRight"}));return[o,a]};var dG=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:p}){const f=t.inject("config",t.reactive(Object.assign({},Nu))),F=t.inject("currentSlide",t.ref(0)),Y=t.inject("slidesToScroll",t.ref(0)),w=t.inject("isSliding",t.ref(!1)),_=t.computed(()=>e.index===F.value),n=t.computed(()=>e.index===F.value-1),g=t.computed(()=>e.index===F.value+1),h=t.computed(()=>{const r=Math.floor(Y.value),v=Math.ceil(Y.value+f.itemsToShow-1);return e.index>=r&&e.index<=v});return()=>{var r;return t.h("li",{style:{width:`${100/f.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":h.value,"carousel__slide--active":_.value,"carousel__slide--prev":n.value,"carousel__slide--next":g.value,"carousel__slide--sliding":w.value},"aria-hidden":!h.value},(r=p.default)===null||r===void 0?void 0:r.call(p,{isActive:_.value,isClone:e.isClone,isPrev:n.value,isNext:g.value,isSliding:w.value,isVisible:h.value}))}}});const Kh=(e,p)=>{const f=e.__vccOpts||e;for(const[F,Y]of p)f[F]=Y;return f},HS=e=>(t.pushScopeId("data-v-d88e6c89"),e=e(),t.popScopeId(),e),hG={key:1,class:"match-day__live"},pG=HS(()=>t.createElementVNode("div",{class:"match-day__live__bullet"},null,-1)),fG=HS(()=>t.createElementVNode("div",{class:"match-day__live__text"},"LIVE",-1)),mG=[pG,fG],gG={__name:"MatchDay",props:{isLandingMode:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#183143"},numberColor:{type:String,default:"white"},numberFontFamily:{type:String,default:"sans-serif"},numberFontSize:{type:String,default:"14px"},textColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},textFontFamily:{type:String,default:"'Poppins-Regular', sans-serif"},textFontSize:{type:String,default:"8px"},bottomLineColor:{type:String,default:"#cbee6b"},selectedMatchDayBackgroundColor:{type:String,default:"#243b4c"},height:{type:String,default:"fit-content"},matchDay:{type:Object,default:()=>{}},matchDaySelected:{type:Object,default:()=>{}},componentWidth:{type:Number,default:0}},emits:["change-match-day"],setup(e,{emit:p}){const f=e,F=t.computed(()=>{const n={"background-color":f.backgroundColor,height:f.height};return f.matchDay.key===f.matchDaySelected.key&&(n["border-bottom"]=`solid 1px ${f.bottomLineColor}`,n["background-color"]=f.selectedMatchDayBackgroundColor),f.isLandingMode||(n["border-right"]="solid 1px rgba(255, 255, 255, 0.1)"),n}),Y=t.computed(()=>({color:f.numberColor,"font-family":f.numberFontFamily,"font-size":f.numberFontSize})),w=t.computed(()=>({color:f.textColor,"font-family":f.textFontFamily,"font-size":f.textFontSize}));function _(n){p("click-match-day",n)}return(n,g)=>(t.openBlock(),t.createElementBlock("div",{class:"match-day",style:t.normalizeStyle({...F.value}),onClick:g[0]||(g[0]=h=>_(e.matchDay))},[t.createElementVNode("div",{class:"match-day__value",style:t.normalizeStyle(Y.value)},t.toDisplayString(e.matchDay.valueText),5),!Number.isNaN(e.matchDay.value)&&!e.matchDay.liveGamesIds.size?(t.openBlock(),t.createElementBlock("div",{key:0,class:"match-day__text",style:t.normalizeStyle([e.isLandingMode?"margin-top:3px":"margin-top:4px",w.value])},t.toDisplayString(e.isLandingMode||e.componentWidth<=425?"JOR":"JORNADA"),5)):e.matchDay.liveGamesIds.size?(t.openBlock(),t.createElementBlock("div",hG,mG)):t.createCommentVNode("",!0)],4))}},yG=Kh(gG,[["__scopeId","data-v-d88e6c89"]]),vG={__name:"MatchDayPicker",props:{matchDays:{type:Array,default:()=>[]},isLandingMode:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#183143"},numberColor:{type:String,default:"white"},numberFontFamily:{type:String,default:"sans-serif"},numberFontSize:{type:String,default:"14px"},textColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},textFontFamily:{type:String,default:"sans-serif"},textFontSize:{type:String,default:"8px"},bottomLineColor:{type:String,default:"#cbee6b"},selectedMatchDayBackgroundColor:{type:String,default:"#243b4c"},height:{type:String,default:"fit-content"},itemsToShow:{type:Number,default:9},itemsToScroll:{type:Number,default:9},defaultMatchDayKey:{type:[String,null],default:""},componentWidth:{type:Number,default:0},closestMatchDay:{type:[Number,String],default:0}},emits:["change-match-day"],setup(e,{emit:p}){const f=e;t.useCssVars(h=>({"59858af6":w.value,"5987b976":_.value}));const F=t.ref(null),Y=t.computed(()=>({itemsToShow:f.itemsToShow,itemsToScroll:f.itemsToScroll,snapAlign:"start"})),w=t.computed(()=>F.value.data.currentSlide.value==0?"none":"inline"),_=t.computed(()=>F.value.data.currentSlide.value==F.value.data.maxSlide.value?"none":"inline"),n=t.ref({});t.watch(()=>f.closestMatchDay,h=>{if(h){const r=f.matchDays.find(v=>v.key===h);g(r||f.matchDays[0],!0)}}),t.watch(()=>f.matchDays,h=>{if(!f.closestMatchDay&&h&&h.length){const r=h.find(v=>v.key===f.defaultMatchDayKey);n.value=r||h[0],p("change-match-day",n.value)}else f.closestMatchDay&&(n.value=h.find(r=>r.key===f.closestMatchDay)||{})},{immediate:!0});function g(h,r=!1){r&&F.value&&F.value.slideTo(h.index),n.value=h,p("change-match-day",n.value)}return(h,r)=>(t.openBlock(),t.createElementBlock("div",{class:"match-day-picker",style:t.normalizeStyle(e.isLandingMode?"border-top-left-radius: 9px; border-top-right-radius: 9px;":"margin-bottom:12px")},[(t.openBlock(),t.createBlock(t.unref(sG),t.mergeProps(Y.value,{modelValue:n.value.index,ref_key:"matchDayPickerCarousel",ref:F,key:n.value.index}),{addons:t.withCtx(()=>[t.createVNode(t.unref(uG))]),default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.matchDays,v=>(t.openBlock(),t.createBlock(t.unref(dG),{key:v.key},{default:t.withCtx(()=>[t.createVNode(yG,t.mergeProps(f,{"match-day":v,"match-day-selected":n.value,"is-landing-mode":e.isLandingMode,"component-width":e.componentWidth,onClickMatchDay:g}),null,16,["match-day","match-day-selected","is-landing-mode","component-width"])]),_:2},1024))),128))]),_:1},16,["modelValue"]))],4))}},_G=Kh(vG,[["__scopeId","data-v-85216dc3"]]);function Fp(e,p=80){return`${{}.TEAM_LOGOS_URL||"https://az755631.vo.msecnd.net/teams-"}${p}/${e}.png`}function WS(e){if(typeof e=="string"){let p=e.replace("M","J ");return p=p.replace("PO1","CFI"),p=p.replace("PO2","CFV"),p=p.replace("PO3","SFI"),p=p.replace("PO4","SFV"),p=p.replace("PO5","FI"),p=p.replace("PO6","FV"),p}}function bG(e){let p="";return e.game_status!=4&&(p+="Finalizado"),(e.penalties_score_home_team!=0||e.penalties_score_visiting_team!=0)&&(p+=" - Penales "+e.penalties_score_home_team+" - "+e.penalties_score_visiting_team),p}const xG={class:"game-info__teams"},wG={class:"game-info__teams__team__logo"},kG=["src"],SG={class:"game-info__teams__detail"},CG={key:0,class:"game-info__teams__detail__pre-game"},TG={class:"game-info__teams__team__logo away"},EG=["src"],AG={key:0},MG={key:0},IG={key:1},PG={__name:"GameInfo",props:{isLandingMode:{type:Boolean,default:!1},isAcronymVisible:{type:Boolean,default:!1},isTelevisionVisible:{type:Boolean,default:!0},game:{type:Object,required:!0},colorPrimary:{type:String,default:"white"},colorSecondary:{type:String,default:"grey"},namesFontSize:{type:String,default:"12px"},timeFontSize:{type:String,default:"12px"},timeZoneFontSize:{type:String,default:"8px"},scoreFontSize:{type:String,default:"13px"},namesFontFamily:{type:String,default:"sans-serif"},scoreFontFamily:{type:String,default:"sans-serif"},additionalInfoFontFamily:{type:String,default:"sans-serif"},additionalInfoFontSize:{type:String,default:"9px"}},setup(e){const p=e,f=t.computed(()=>{let h=p.game.schedule.split(":");return h.pop(),h=h.join(":"),h}),F=t.computed(()=>{let h="120px";return(p.isLandingMode||p.isAcronymVisible)&&(h="70px"),{"min-width":h}}),Y=t.computed(()=>({"font-size":p.namesFontSize,"font-family":p.namesFontFamily,color:p.colorPrimary})),w=t.computed(()=>({"font-size":p.additionalInfoFontSize,"font-family":p.additionalInfoFontFamily,color:p.colorSecondary})),_=t.computed(()=>({"font-size":p.scoreFontSize,"font-family":p.scoreFontFamily,color:p.colorPrimary})),n=t.computed(()=>({"font-size":p.timeZoneFontSize,"font-family":p.namesFontFamily,color:p.colorPrimary})),g=t.computed(()=>({"font-size":p.timeFontSize,"font-family":p.namesFontFamily,color:p.colorPrimary}));return(h,r)=>(t.openBlock(),t.createElementBlock("div",{class:"game-info",style:t.normalizeStyle(e.isLandingMode?"gap:5px":"")},[t.createElementVNode("div",xG,[t.createElementVNode("div",{class:"game-info__teams__team",style:t.normalizeStyle(F.value)},[t.createElementVNode("div",{class:"game-info__teams__team__name",style:t.normalizeStyle(Y.value)},t.toDisplayString(e.isLandingMode||e.isAcronymVisible?e.game.home_team.acronym:e.game.home_team.colloquial_name),5),t.createElementVNode("div",wG,[t.createElementVNode("img",{src:t.unref(Fp)(e.game.home_team.team_id),alt:""},null,8,kG)])],4),t.createElementVNode("div",SG,[e.game.game_status===4&&!e.game.is_live?(t.openBlock(),t.createElementBlock("div",CG,[t.createElementVNode("div",null,[t.createElementVNode("span",{style:t.normalizeStyle(g.value)},t.toDisplayString(f.value),5),t.createTextVNode(),t.createElementVNode("span",{style:t.normalizeStyle(n.value)},"CST",4)])])):(t.openBlock(),t.createElementBlock("div",{key:1,class:"game-info__teams__detail__score",style:t.normalizeStyle(_.value)},[t.createElementVNode("span",null,t.toDisplayString(e.game.score[0])+" - "+t.toDisplayString(e.game.score[1]),1)],4))]),t.createElementVNode("div",{class:"game-info__teams__team away",style:t.normalizeStyle(F.value)},[t.createElementVNode("div",TG,[t.createElementVNode("img",{src:t.unref(Fp)(e.game.visiting_team.team_id),alt:""},null,8,EG)]),t.createElementVNode("div",{class:"game-info__teams__team__name",style:t.normalizeStyle(Y.value)},t.toDisplayString(e.isLandingMode||e.isAcronymVisible?e.game.visiting_team.acronym:e.game.visiting_team.colloquial_name),5)],4)]),t.createElementVNode("div",{class:"game-info__status",style:t.normalizeStyle([w.value,e.isLandingMode?"line-height: normal":""])},[e.game.game_status===4&&!e.game.is_live?(t.openBlock(),t.createElementBlock("span",AG,[e.isTelevisionVisible?(t.openBlock(),t.createElementBlock("span",MG,t.toDisplayString(e.game.tv_stations.join(", ")),1)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("span",IG,t.toDisplayString(t.unref(bG)(e.game)),1))],4)],4))}},qS=Kh(PG,[["__scopeId","data-v-87b8c34a"]]),YS=e=>(t.pushScopeId("data-v-8839c56d"),e=e(),t.popScopeId(),e),BG={class:"game-status"},zG={key:0,class:"game-status__day__live"},NG=YS(()=>t.createElementVNode("span",null,"LIVE",-1)),LG=YS(()=>t.createElementVNode("span",{class:"dot"},null,-1)),OG=[NG,LG],FG={key:0,class:"game-status__round"},DG={__name:"GameStatus",props:{isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},status:{type:Number,default:4},isLive:{type:Boolean,default:!1},dateTimeMillis:{type:Number,default:0},roundAbbreviation:{type:String,default:""},fontSize:{type:String,default:"10px"}},setup(e){const p=e,f=["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],F=t.computed(()=>{let _="";if(p.dateTimeMillis){const n=new Date(p.dateTimeMillis);_=`${n.getDate()} ${f[n.getMonth()]}`}return _}),Y=t.computed(()=>({"font-size":p.fontSize})),w=t.computed(()=>{let _=[];return p.isLive?_.push("live"):p.status!==1&&_.push("pre-match"),_});return(_,n)=>(t.openBlock(),t.createElementBlock("div",BG,[t.createElementVNode("div",{class:t.normalizeClass(["game-status__day",w.value]),style:t.normalizeStyle(Y.value)},[e.isLive?(t.openBlock(),t.createElementBlock("div",zG,OG)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(F.value),1)],64))],6),e.isRoundMode?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",FG,t.toDisplayString(e.roundAbbreviation),1))]))}},XS=Kh(DG,[["__scopeId","data-v-8839c56d"]]),Qh={SHOW_GAME_EVENTS:"SHOW_GAME_EVENTS",PLAY_GOALS:"PLAY_GOALS",PLAY_RESUME:"PLAY_RESUME",NOTIFICATION:"NOTIFICATION",STATISTICS:"STATISTICS"},RG=e=>(t.pushScopeId("data-v-0d97b1a8"),e=e(),t.popScopeId(),e),VG={class:"actions"},jG={class:"actions__row"},$G=RG(()=>t.createElementVNode("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.87471 3.35132C9.31653 3.35132 9.67471 3.70949 9.67471 4.15132V10.4531C9.67471 10.8949 9.31653 11.2531 8.87471 11.2531C8.43288 11.2531 8.07471 10.8949 8.07471 10.4531V4.15132C8.07471 3.70949 8.43288 3.35132 8.87471 3.35132Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.67549 0.199951C5.11732 0.199951 5.47549 0.558123 5.47549 0.999951V10.4526C5.47549 10.8944 5.11732 11.2526 4.67549 11.2526C4.23366 11.2526 3.87549 10.8944 3.87549 10.4526V0.999951C3.87549 0.558123 4.23366 0.199951 4.67549 0.199951Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.0002 5.45154C1.44202 5.45154 1.8002 5.80971 1.8002 6.25154V10.4527C1.8002 10.8945 1.44202 11.2527 1.0002 11.2527C0.558368 11.2527 0.200195 10.8945 0.200195 10.4527V6.25154C0.200195 5.80971 0.558368 5.45154 1.0002 5.45154Z",fill:"#EEEC6B"})],-1)),UG=[$G],GG={width:"6",height:"8",viewBox:"0 0 6 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HG=["fill"],WG={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qG=["fill"],YG={__name:"GameActionsLanding",props:{gameStatus:{type:Number,default:4},isLive:{type:Boolean,default:!1},hasVideo:{type:Boolean,default:!1},iconColor:{type:String,default:"#CBEE6B"},iconBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0.2)"},iconBorderColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},showPlayButton:{type:Boolean,default:!1}},emits:["action"],setup(e,{emit:p}){const f=e,F=t.computed(()=>({backgroundColor:f.iconBackgroundColor,borderColor:f.iconBorderColor}));function Y(w){p("action",w)}return(w,_)=>(t.openBlock(),t.createElementBlock("div",VG,[t.createElementVNode("div",jG,[t.createElementVNode("div",{class:"actions__button rounded",style:t.normalizeStyle(F.value),onClick:_[0]||(_[0]=n=>Y(t.unref(Qh).STATISTICS))},UG,4),e.showPlayButton&&e.hasVideo?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button rounded",style:t.normalizeStyle(F.value),onClick:_[1]||(_[1]=n=>Y(t.unref(Qh).PLAY_RESUME))},[(t.openBlock(),t.createElementBlock("svg",GG,[t.createElementVNode("path",{d:"M0.442694 7.9474C0.385489 7.90953 0.337676 7.85295 0.304408 7.78375C0.27114 7.71456 0.25368 7.63538 0.253908 7.55475V0.444134C0.253987 0.363779 0.271562 0.284951 0.304765 0.216032C0.337968 0.147113 0.385557 0.090677 0.442475 0.0527243C0.499393 0.0147716 0.563511 -0.00327964 0.628014 0.000489552C0.692517 0.00425874 0.754994 0.0297075 0.808803 0.0741304L5.09491 3.62986C5.14387 3.67036 5.18401 3.7253 5.21178 3.78978C5.23955 3.85426 5.25409 3.92628 5.25409 3.99944C5.25409 4.0726 5.23955 4.14462 5.21178 4.2091C5.18401 4.27358 5.14387 4.32852 5.09491 4.36902L0.808803 7.92559C0.755077 7.97011 0.692648 7.99565 0.628173 7.99949C0.563698 8.00333 0.499593 7.98533 0.442694 7.9474Z",fill:f.iconColor},null,8,HG)]))],4)):t.createCommentVNode("",!0),e.gameStatus===4444&&!e.isLive?(t.openBlock(),t.createElementBlock("div",{key:1,class:"actions__button",onClick:_[2]||(_[2]=n=>Y(t.unref(Qh).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",WG,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:f.iconColor},null,8,qG)]))])):t.createCommentVNode("",!0)])]))}},XG=Kh(YG,[["__scopeId","data-v-0d97b1a8"]]),xw=e=>(t.pushScopeId("data-v-7ec0f118"),e=e(),t.popScopeId(),e),ZG={class:"actions"},JG={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KG=["fill"],QG={width:"6",height:"8",viewBox:"0 0 6 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eH=["fill"],tH=xw(()=>t.createElementVNode("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.87471 3.35132C9.31653 3.35132 9.67471 3.70949 9.67471 4.15132V10.4531C9.67471 10.8949 9.31653 11.2531 8.87471 11.2531C8.43288 11.2531 8.07471 10.8949 8.07471 10.4531V4.15132C8.07471 3.70949 8.43288 3.35132 8.87471 3.35132Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.67549 0.199951C5.11732 0.199951 5.47549 0.558123 5.47549 0.999951V10.4526C5.47549 10.8944 5.11732 11.2526 4.67549 11.2526C4.23366 11.2526 3.87549 10.8944 3.87549 10.4526V0.999951C3.87549 0.558123 4.23366 0.199951 4.67549 0.199951Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.0002 5.45154C1.44202 5.45154 1.8002 5.80971 1.8002 6.25154V10.4527C1.8002 10.8945 1.44202 11.2527 1.0002 11.2527C0.558368 11.2527 0.200195 10.8945 0.200195 10.4527V6.25154C0.200195 5.80971 0.558368 5.45154 1.0002 5.45154Z",fill:"#EEEC6B"})],-1)),nH=[tH],rH={key:0,class:"actions__videos"},aH={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iH=["fill"],oH={key:1,class:"actions__videos__thumbnails"},sH=xw(()=>t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__goals"},null,-1)),lH=xw(()=>t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__summary"},null,-1)),cH={height:24,width:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uH=["stroke"],dH={__name:"GameActionsFull",props:{gameStatus:{type:Number,default:4},isLive:{type:Boolean,default:!1},hasVideo:{type:Boolean,default:!1},hasActions:{type:Boolean,default:!0},hasGoals:{type:Boolean,default:!0},areEventsVisible:{type:Boolean,default:!1},iconColor:{type:String,default:"#CBEE6B"},iconBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0.2)"},iconBorderColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},showPlayButton:{type:Boolean,default:!1},arrowColor:{type:String,default:"white"},thumbnailFontFamily:{type:String,default:"sans-serif"},thumbnailFontSize:{type:String,default:"8px"},thumbnailColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:p}){const f=e,F=t.computed(()=>({backgroundColor:f.iconBackgroundColor,borderColor:f.iconBorderColor})),Y=t.computed(()=>{const g=[];return f.componentWidth<540&&g.push("mobile"),g}),w=t.computed(()=>f.componentWidth>730),_=t.computed(()=>({color:f.thumbnailColor,fontFamily:f.thumbnailFontFamily,fontSize:f.thumbnailFontSize}));function n(g){p("action",g)}return(g,h)=>(t.openBlock(),t.createElementBlock("div",ZG,[t.createElementVNode("div",{class:t.normalizeClass(["actions__buttons",Y.value])},[e.gameStatus===4444&&!e.isLive&&!w.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button",onClick:h[0]||(h[0]=r=>n(t.unref(Qh).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",JG,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:f.iconColor},null,8,KG)]))])):t.createCommentVNode("",!0),e.showPlayButton&&e.hasVideo&&!w.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:"actions__button rounded",style:t.normalizeStyle(F.value),onClick:h[1]||(h[1]=r=>n(t.unref(Qh).PLAY_RESUME))},[(t.openBlock(),t.createElementBlock("svg",QG,[t.createElementVNode("path",{d:"M0.442694 7.9474C0.385489 7.90953 0.337676 7.85295 0.304408 7.78375C0.27114 7.71456 0.25368 7.63538 0.253908 7.55475V0.444134C0.253987 0.363779 0.271562 0.284951 0.304765 0.216032C0.337968 0.147113 0.385557 0.090677 0.442475 0.0527243C0.499393 0.0147716 0.563511 -0.00327964 0.628014 0.000489552C0.692517 0.00425874 0.754994 0.0297075 0.808803 0.0741304L5.09491 3.62986C5.14387 3.67036 5.18401 3.7253 5.21178 3.78978C5.23955 3.85426 5.25409 3.92628 5.25409 3.99944C5.25409 4.0726 5.23955 4.14462 5.21178 4.2091C5.18401 4.27358 5.14387 4.32852 5.09491 4.36902L0.808803 7.92559C0.755077 7.97011 0.692648 7.99565 0.628173 7.99949C0.563698 8.00333 0.499593 7.98533 0.442694 7.9474Z",fill:f.iconColor},null,8,eH)]))],4)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"actions__button rounded",style:t.normalizeStyle(F.value),onClick:h[2]||(h[2]=r=>n(t.unref(Qh).STATISTICS))},nH,4)],2),w.value?(t.openBlock(),t.createElementBlock("div",rH,[e.gameStatus===4444&&!e.isLive?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button",onClick:h[3]||(h[3]=r=>n(t.unref(Qh).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",aH,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:f.iconColor},null,8,iH)]))])):t.createCommentVNode("",!0),e.showPlayButton&&e.hasVideo?(t.openBlock(),t.createElementBlock("div",oH,[e.hasGoals?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__videos__thumbnails__thumbnail",onClick:h[4]||(h[4]=r=>n(t.unref(Qh).PLAY_GOALS))},[sH,t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__text",style:t.normalizeStyle(_.value)}," Goles ",4)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail",onClick:h[5]||(h[5]=r=>n(t.unref(Qh).PLAY_RESUME))},[lH,t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__text",style:t.normalizeStyle(_.value)}," Resumen ",4)])])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),(e.gameStatus!==4||e.isLive)&&e.hasActions?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["actions__button expand",{"rotated-180":e.areEventsVisible,mobile:e.componentWidth<540}]),onClick:h[6]||(h[6]=r=>n(t.unref(Qh).SHOW_GAME_EVENTS))},[(t.openBlock(),t.createElementBlock("svg",cH,[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,uH)]))],2)):(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(["actions__button expand",{"rotated-180":!1,mobile:e.componentWidth<540}])},null,2))]))}},hH=Kh(dH,[["__scopeId","data-v-7ec0f118"]]),G2=e=>(t.pushScopeId("data-v-58b99b1d"),e=e(),t.popScopeId(),e),pH={class:"row-landing__game-status"},fH={class:"row-landing__game-actions"},mH={class:"row-full__game-status"},gH={class:"row-full__game-info"},yH={key:0},vH={class:"row-full__game-actions"},_H={class:"game-events-container"},bH=G2(()=>t.createElementVNode("div",{class:"separator"},null,-1)),xH=G2(()=>t.createElementVNode("div",null,null,-1)),wH={class:"game-events__data"},kH={class:"game-events__data__team"},SH=["src"],CH={class:"game-events__data__team__event__text"},TH={class:"game-events__data__team away"},EH={class:"game-events__data__team__event__text"},AH=["src"],MH=G2(()=>t.createElementVNode("div",null,null,-1)),IH=G2(()=>t.createElementVNode("div",null,null,-1)),PH={__name:"CalendarRow",props:{teamId:{type:Number,default:0},showVideos:{type:Number,default:0},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},game:{type:Object,required:!0},height:{type:String,default:"fit-content"},backgroundColor:{type:String,default:"#172531"},showPlayButton:{type:Boolean,default:!1},componentWidth:{type:Number,default:400,validator(e){return e>0}},televisionFontSize:{type:String,default:"12px"},televisionFontFamily:{type:String,default:"sans-serif"},televisionColor:{type:String,default:"rgba(255, 255, 255, 0.5)"}},emits:["action"],setup(e,{emit:p}){const f=e,F={GOAL:{}.GAME_EVENTS_ICONS_GOAL||"/icn-gol.svg",RED_CARD:{}.GAME_EVENTS_ICONS_RED_CARD||"/icn-expulsion.svg",YELLOW_CARD:{}.GAME_EVENTS_ICONS_YELLOW_CARD||"/icn-amarilla.svg"},Y=t.ref(!1),w=t.ref(!1),_=t.computed(()=>{const i={homeTeam:[],awayTeam:[]};return f.game&&f.game.game_status!==4&&!f.game.is_live&&f.game.minutes&&(i.homeTeam.push(...o(f.game.minutes.home_goals_minutes,F.GOAL)),i.homeTeam.push(...o(f.game.minutes.home_red_cards_minutes,F.RED_CARD)),i.homeTeam.push(...o(f.game.minutes.home_yellow_cards_minutes,F.YELLOW_CARD)),i.awayTeam.push(...o(f.game.minutes.visiting_goals_minutes,F.GOAL)),i.awayTeam.push(...o(f.game.minutes.away_red_cards_minutes,F.RED_CARD)),i.awayTeam.push(...o(f.game.minutes.away_yellow_cards_minutes,F.YELLOW_CARD))),i}),n=t.computed(()=>{const i=_.value.homeTeam.length,l=_.value.awayTeam.length;return i+l>0}),g=t.computed(()=>{const i=f.game.score[0],l=f.game.score[1];return i>0||l>0}),h=t.computed(()=>({"background-color":f.backgroundColor})),r=t.computed(()=>({height:f.height})),v=t.computed(()=>{const i={game:[],events:[]};return f.componentWidth<500?(i.events.push("break-point-3"),i.game.push("break-point-2")):f.componentWidth<730?(i.game.push("break-point-2"),i.events.push("break-point-2")):f.componentWidth<910&&(i.game.push("break-point-1"),i.events.push("break-point-1")),i}),y=t.computed(()=>({isLandingMode:f.isLandingMode,game:f.game,colorPrimary:"#fff",colorSecondary:"#fff",namesFontSize:"12px",timeFontSize:"12px",timeZoneFontSize:"8px",scoreFontSize:"13px",namesFontFamily:"sans-serif",scoreFontFamily:"sans-serif",additionalInfoFontFamily:"sans-serif",additionalInfoFontSize:"9px"})),u=t.computed(()=>({"font-size":f.televisionFontSize,"font-family":f.televisionFontFamily,color:f.televisionColor}));t.watch(()=>f.componentWidth,i=>{w.value=i<910});function o(i,l){return i.map(s=>({iconUrl:l,text:s}))}function a(i){i===Qh.SHOW_GAME_EVENTS?Y.value=!Y.value:p("action",{action:i,game:f.game})}return(i,l)=>e.isLandingMode?(t.openBlock(),t.createElementBlock("div",{key:0,class:"row-landing",style:t.normalizeStyle(h.value)},[t.createVNode(qS,{game:e.game,"is-landing-mode":e.isLandingMode},null,8,["game","is-landing-mode"]),t.createElementVNode("div",pH,[t.createVNode(XS,{status:e.game.game_status,"is-live":!!e.game.is_live,"date-time-millis":e.game.dateTimeMillis,"round-abbreviation":t.unref(WS)(e.game.matchday_abbreviation),"is-landing-mode":e.isLandingMode,"is-round-mode":e.isRoundMode,"font-size":"10px"},null,8,["status","is-live","date-time-millis","round-abbreviation","is-landing-mode","is-round-mode"])]),t.createElementVNode("div",fH,[e.game.home_team?(t.openBlock(),t.createBlock(XG,{key:0,"is-live":!!e.game.is_live,"has-video":e.showVideos==0||e.showVideos==1&&e.teamId==e.game.home_team.team_id?!!e.game.has_video:!1,"game-status":e.game.game_status,"show-play-button":!0,onAction:a},null,8,["is-live","has-video","game-status"])):t.createCommentVNode("",!0)])],4)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"row-full-container",style:t.normalizeStyle(h.value)},[t.createElementVNode("div",{class:t.normalizeClass(["row-full",v.value.game]),style:t.normalizeStyle(r.value)},[t.createElementVNode("div",mH,[t.createVNode(XS,{status:e.game.game_status,"is-live":!!e.game.is_live,"date-time-millis":e.game.dateTimeMillis,"round-abbreviation":t.unref(WS)(e.game.matchday_abbreviation),"is-landing-mode":e.isLandingMode,"is-round-mode":e.isRoundMode,"font-size":"10px"},null,8,["status","is-live","date-time-millis","round-abbreviation","is-landing-mode","is-round-mode"])]),t.createElementVNode("div",gH,[t.createVNode(qS,t.mergeProps(y.value,{"is-television-visible":w.value,game:e.game,"is-landing-mode":e.isLandingMode,"is-acronym-visible":e.componentWidth<540}),null,16,["is-television-visible","game","is-landing-mode","is-acronym-visible"])]),e.componentWidth>=910?(t.openBlock(),t.createElementBlock("div",{key:0,class:"row-full__television",style:t.normalizeStyle(u.value)},[!w.value&&(e.game.game_status===4||e.game.is_live)?(t.openBlock(),t.createElementBlock("span",yH,t.toDisplayString(e.game.tv_stations.join(", ")),1)):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0),t.createElementVNode("div",vH,[e.game.home_team?(t.openBlock(),t.createBlock(hH,{key:0,"is-live":!!e.game.is_live,"has-video":e.showVideos==0||e.showVideos==1&&e.teamId==e.game.home_team.team_id?!!e.game.has_video:!1,"has-actions":n.value,"has-goals":e.showVideos==0||e.showVideos==1&&e.teamId==e.game.home_team.team_id?g.value:!1,"game-status":e.game.game_status,"show-play-button":!0,"are-events-visible":Y.value,"component-width":e.componentWidth,onAction:a},null,8,["is-live","has-video","has-actions","has-goals","game-status","are-events-visible","component-width"])):t.createCommentVNode("",!0)])],6),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",_H,[bH,t.createElementVNode("div",{class:t.normalizeClass(["game-events",v.value.events])},[xH,t.createElementVNode("div",wH,[t.createElementVNode("div",kH,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.homeTeam,(s,c)=>(t.openBlock(),t.createElementBlock("div",{key:`h${c}`,class:"game-events__data__team__event"},[t.createElementVNode("img",{src:s.iconUrl},null,8,SH),t.createElementVNode("div",CH,t.toDisplayString(s.text),1)]))),128))]),t.createElementVNode("div",TH,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.awayTeam,(s,c)=>(t.openBlock(),t.createElementBlock("div",{key:`a${c}`,class:"game-events__data__team__event"},[t.createElementVNode("div",EH,t.toDisplayString(s.text),1),t.createElementVNode("img",{src:s.iconUrl},null,8,AH)]))),128))])]),MH,IH],2)],512),[[t.vShow,Y.value]])]),_:1})],4))}},ZS=Kh(PH,[["__scopeId","data-v-58b99b1d"]]),BH={class:"calendar-table"},zH={__name:"CalendarTable",props:{teamId:{type:Number,default:0},showVideos:{type:Number,default:0},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},gamesPerPage:{type:Array,default:()=>[]},rowHeight:{type:String,default:"fit-content"},oddRowColor:{type:String,default:"#172531"},evenRowColor:{type:String,default:"#0D1D29"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:p}){const f=e;function F(w){return w%2===0?f.evenRowColor:f.oddRowColor}function Y(w){p("action",w)}return(w,_)=>(t.openBlock(),t.createElementBlock("div",BH,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.gamesPerPage,(n,g)=>(t.openBlock(),t.createBlock(ZS,{key:n.game_id,game:n,"team-id":e.teamId,"show-videos":e.showVideos,"is-landing-mode":e.isLandingMode,height:e.rowHeight,"background-color":F(g),"component-width":e.componentWidth,"is-round-mode":e.isRoundMode,onAction:Y},null,8,["game","team-id","show-videos","is-landing-mode","height","background-color","component-width","is-round-mode"]))),128))]))}},NH=Kh(zH,[["__scopeId","data-v-ebabdc0c"]]),LH={class:"calendar-by-team"},OH={class:"playing-as-picker"},FH={class:"calendar-by-team__page"},DH={__name:"CalendarTableByTeam",props:{showVideos:{type:Number,default:0},teamId:{type:Number,default:0},isPaginationVisible:{type:Boolean,default:!0},gamesPages:{type:Map,default:()=>new Map},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},rowHeight:{type:String,default:"fit-content"},nameRowColor:{type:String,default:"#172531"},gameRowColor:{type:String,default:"#0D1D29"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:p}){const f=e,F=t.ref(0),Y=t.computed(()=>{let g=[];if(f.gamesPages.size>0){const h=Array.from(f.gamesPages.entries()).reduce((r,[v,y])=>{const u=Number(v),o=Number.isNaN(u)?v:`Jornada ${u<10?"0":""}${u}`,a=y.reduce((i,l)=>(i.push(...l),i),[]).filter(i=>F.value===0||F.value===1&&i.visiting_team.team_id===f.teamId?!0:F.value===2&&i.home_team.team_id===f.teamId);return a.length>0&&r.push({roundName:o,games:a}),r},[]);g.push(h)}return g});function w(g){p("action",g)}function _(g){document.querySelector("#opc0").classList.remove("selected"),document.querySelector("#opc1").classList.remove("selected"),document.querySelector("#opc2").classList.remove("selected"),F.value=g,document.querySelector("#opc"+g).classList.add("selected")}function n(g){let h=g;switch(g){case"PI1":h="Play In 1";break;case"PI2":h="Play In 2";break;case"R1":h="Repechaje";break;case"CFI":h="Cuartos de final - Ida";break;case"CFV":h="Cuartos de final - Vuelta";break;case"SFI":h="Semifinal - Ida";break;case"SFV":h="Semifinal - Vuelta";break;case"FI":h="Final - Ida";break;case"FV":h="Final - Vuelta";break}return h}return(g,h)=>(t.openBlock(),t.createElementBlock("div",LH,[t.createElementVNode("div",OH,[t.createElementVNode("div",{class:"playing-as-picker__type selected",id:"opc0",onClick:h[0]||(h[0]=r=>_(0))}," Todas "),t.createElementVNode("div",{class:"playing-as-picker__type",id:"opc1",onClick:h[1]||(h[1]=r=>_(1))},"Visitante"),t.createElementVNode("div",{class:"playing-as-picker__type",id:"opc2",onClick:h[2]||(h[2]=r=>_(2))},"Local")]),t.createVNode(t.unref($S),{"is-pagination-visible":e.isPaginationVisible,items:Y.value},{default:t.withCtx(({item:r})=>[t.createElementVNode("div",FH,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r,(v,y)=>(t.openBlock(),t.createElementBlock("div",{key:y,class:"calendar-by-team__page__round"},[t.createElementVNode("div",{class:"calendar-by-team__page__round__round-name",style:t.normalizeStyle([{color:"white"},e.componentWidth<=425?"padding: 5px 10px":""])},t.toDisplayString(n(v.roundName)),5),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.games,u=>(t.openBlock(),t.createBlock(ZS,{key:u.game_id,game:u,"team-id":e.teamId,"show-videos":e.showVideos,"is-landing-mode":e.isLandingMode,height:e.rowHeight,"background-color":e.gameRowColor,"component-width":e.componentWidth,"is-round-mode":e.isRoundMode,onAction:w},null,8,["game","team-id","show-videos","is-landing-mode","height","background-color","component-width","is-round-mode"]))),128))]))),128))])]),_:1},8,["is-pagination-visible","items"])]))}},RH=Kh(DH,[["__scopeId","data-v-d93dcb09"]]),VH="_pccard_1ie6f_3",jH="_pcmobile_1ie6f_19",$H="_headerinfomobile_1ie6f_29",UH="_liveMinutes_1ie6f_37",GH="_viewButtomEvent_1ie6f_47",HH="_viewButtomEventMobile_1ie6f_79",WH="_containerEvents_1ie6f_111",qH="_sepEvents_1ie6f_125",YH="_goalsContainer_1ie6f_147",XH="_yellowContainer_1ie6f_165",ZH="_redContainer_1ie6f_183",JH="_containerEventsGameHometeam_1ie6f_201",KH="_containerEventsGameAwayteam_1ie6f_229",QH="_image62Icon_1ie6f_257",eW="_imgChivasIcon_1ie6f_277",tW="_nameDesktop_1ie6f_293",nW="_nameMobile_1ie6f_321",rW="_homeTeam_1ie6f_347",aW="_sbado16De_1ie6f_371",iW="_gameDate_1ie6f_389",oW="_sab16092023_1ie6f_397",sW="_div_1ie6f_425",lW="_divscore_1ie6f_443",cW="_cst_1ie6f_463",uW="_hour_1ie6f_483",dW="_score_1ie6f_485",hW="_chivasTvCanal_1ie6f_507",pW="_gameStatus_1ie6f_531",fW="_matchInfo_1ie6f_553",mW="_image62Icon1_1ie6f_583",gW="_name_1ie6f_293",yW="_imgAtlasIcon_1ie6f_631",vW="_name1_1ie6f_647",_W="_awayTeam_1ie6f_673",bW="_matchCard_1ie6f_697",xW="_headereventsmobile_1ie6f_1069",wW="_headereventsmobilecont_1ie6f_1089",kW="_headereventsmobilecontlocal_1ie6f_1105",SW="_icongoalheader_1ie6f_1119",CW="_conttarjetasmobile_1ie6f_1131",TW="_conttarjetasmobileyellow_1ie6f_1143",EW="_iconmobileyellow_1ie6f_1157",AW="_txtmobileyellow_1ie6f_1175",MW="_iconmobilered_1ie6f_1205",IW="_txtmobilered_1ie6f_1223",PW="_conttarjetasmobilered_1ie6f_1255",BW="_itemmobilgoal_1ie6f_1269",zW="_goalscontainermobile_1ie6f_1299",NW="_headereventsmobileconttitle_1ie6f_1331",LW="_headereventsmobilecontaway_1ie6f_1381",OW={pccard:VH,pcmobile:jH,headerinfomobile:$H,liveMinutes:UH,viewButtomEvent:GH,viewButtomEventMobile:HH,containerEvents:WH,sepEvents:qH,goalsContainer:YH,yellowContainer:XH,redContainer:ZH,containerEventsGameHometeam:JH,containerEventsGameAwayteam:KH,image62Icon:QH,imgChivasIcon:eW,nameDesktop:tW,nameMobile:nW,homeTeam:rW,sbado16De:aW,gameDate:iW,sab16092023:oW,div:sW,divscore:lW,cst:cW,hour:uW,score:dW,chivasTvCanal:hW,gameStatus:pW,matchInfo:fW,image62Icon1:mW,name:gW,imgAtlasIcon:yW,name1:vW,awayTeam:_W,matchCard:bW,headereventsmobile:xW,headereventsmobilecont:wW,headereventsmobilecontlocal:kW,icongoalheader:SW,conttarjetasmobile:CW,conttarjetasmobileyellow:TW,iconmobileyellow:EW,txtmobileyellow:AW,iconmobilered:MW,txtmobilered:IW,conttarjetasmobilered:PW,itemmobilgoal:BW,goalscontainermobile:zW,headereventsmobileconttitle:NW,headereventsmobilecontaway:LW},FW=["src"],DW=["src"],RW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/players-goals-con-goles.png"},null,-1),VW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/red_card.png"},null,-1),jW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/yellow_card.png"},null,-1),$W=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/players-goals-con-goles.png"},null,-1),UW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/red_card.png"},null,-1),GW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/yellow_card.png"},null,-1),HW=t.createElementVNode("img",{src:"http://golstatsimages.blob.core.windows.net/todoelfut/point-indicador-live.png"},null,-1),WW={key:0},qW=t.createElementVNode("div",null,"ver desglose",-1),YW=t.createElementVNode("img",{width:"13",style:{"margin-top":"1px"},src:"http://golstatsimages.blob.core.windows.net/todoelfut/arrow-live-down.png"},null,-1),XW=["src"],ZW=["src"],JW={key:0,width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/players-goals-con-goles.png"},KW={key:0,width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/red_card.png"},QW={key:0,width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/yellow_card.png"},eq=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/players-goals-con-goles.png"},null,-1),tq=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/red_card.png"},null,-1),nq=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/yellow_card.png"},null,-1),rq=["src"],aq=["src"],iq=t.createElementVNode("img",{src:"http://golstatsimages.blob.core.windows.net/todoelfut/point-indicador-live.png"},null,-1),oq={key:0},sq=["src"],lq=["src"],cq=t.createElementVNode("img",{width:"12",style:{position:"absolute"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-soccer-ball@2x.png"},null,-1),uq=[cq],dq=t.createElementVNode("img",{width:"12",style:{position:"absolute"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-soccer-ball@2x.png"},null,-1),hq=[dq],pq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-yellow-card@2x.png"},null,-1),fq=[pq],mq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-red-card@2x.png"},null,-1),gq=[mq],yq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-yellow-card@2x.png"},null,-1),vq=[yq],_q=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-red-card@2x.png"},null,-1),bq=[_q],xq=t.createElementVNode("img",{style:{"margin-left":"6px"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-down.png"},null,-1),wq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-yellow-card@2x.png"},null,-1),kq=[wq],Sq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-red-card@2x.png"},null,-1),Cq=[Sq],Tq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-yellow-card@2x.png"},null,-1),Eq=[Tq],Aq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-red-card@2x.png"},null,-1),Mq=[Aq],Iq=t.createElementVNode("img",{width:"12",style:{position:"absolute"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-soccer-ball@2x.png"},null,-1),Pq=[Iq],Bq=t.createElementVNode("img",{width:"12",style:{position:"absolute"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-soccer-ball@2x.png"},null,-1),zq=[Bq],Nq={__name:"CardPreMatch",props:{game:{type:Object,default:()=>{}},playsLive:{type:Object,default:()=>{}},is_captured:{type:Number,default:1},infoLive:{type:Object,default:()=>{}}},emits:["open-modal-event"],setup(e,{emit:p}){const f=e,F=new Map([[1,45],[2,90],[3,105],[4,120]]),Y=t.computed(()=>{if(f.game.isMT)return"MT";const r=F.get(f.infoLive.recent_lapse);return r&&r<f.infoLive.minute?`${r}' + ${f.infoLive.minute-r}'`:`${f.infoLive.minute}'`}),w=t.computed(()=>{let r=0,v=0,y=!1;var u=!1;return Object.keys(f.infoLive).includes("score")&&(f.infoLive.score["own_"+f.game.home_team.team_id]!=null&&f.infoLive.score["own_"+f.game.home_team.team_id]!=0&&(u=!0),f.infoLive.score["own_"+f.game.visiting_team.team_id]!=null&&f.infoLive.score["own_"+f.game.visiting_team.team_id]!=0&&(y=!0),y?f.infoLive.score[f.game.home_team.team_id]!=null&&(r=parseInt(f.infoLive.score[f.game.home_team.team_id])+parseInt(f.infoLive.score["own_"+f.game.visiting_team.team_id])):f.infoLive.score[f.game.home_team.team_id]!=null&&(r=parseInt(f.infoLive.score[f.game.home_team.team_id])),u?f.infoLive.score[f.game.visiting_team.team_id]!=null&&(v=parseInt(f.infoLive.score[f.game.visiting_team.team_id])+parseInt(f.infoLive.score["own_"+f.game.home_team.team_id])):f.infoLive.score[f.game.visiting_team.team_id]!=null&&(v=parseInt(f.infoLive.score[f.game.visiting_team.team_id]))),r+" - "+v}),_=t.computed(()=>{const r={...f.game};return r.gameSchedule=f.game.schedule.split(":"),r.gameSchedule.pop(),r.gameSchedule=r.gameSchedule.join(":"),r});function n(r){let v=r.split(" "),y=v[v.length-2];return y.includes("+")?v[v.length-3]+"+"+v[v.length-1]:(y=v[v.length-1],y)}function g(r){p("open-modal-event",r)}function h(r,v){const y=new Date(r);if(v==1){const u=["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],o=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"];return`${u[y.getDay()]} ${y.getDate()} de ${o[y.getMonth()]}`}else return`${y.getDate()}-${y.getMonth()+1}-${y.getFullYear()}`}return(r,v)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(r.$style.matchCard)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.pccard)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.homeTeam),id:"container-home-team"},[t.createElementVNode("img",{class:t.normalizeClass(r.$style.image62Icon),alt:"",src:t.unref(Fp)(_.value.home_team.team_id,150)},null,10,FW),t.createElementVNode("img",{class:t.normalizeClass(r.$style.imgChivasIcon),alt:"",src:t.unref(Fp)(_.value.home_team.team_id)},null,10,DW),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.nameDesktop),id:"team-name"},t.toDisplayString(_.value.home_team.colloquial_name),3),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.nameMobile),id:"team-name"},t.toDisplayString(_.value.home_team.acronym),3),_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.is_live==0&&_.value.game_status==1||Object.keys(_.value.minutes).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.containerEventsGameHometeam)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.containerEvents)},[_.value.minutes.home_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.goalsContainer)},[RW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.home_goals_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y).replace("(AG)",""))+" ",1),u!=_.value.minutes.home_goals_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0),_.value.minutes.home_red_cards_minutes.length>0&&_.value.minutes.home_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),_.value.minutes.home_red_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(r.$style.yellowContainer)},[VW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.home_red_cards_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y))+" ",1),u!=_.value.minutes.home_red_cards_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0),_.value.minutes.home_red_cards_minutes.length>0||_.value.minutes.home_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),_.value.minutes.home_yellow_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(r.$style.redContainer)},[jW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.home_yellow_cards_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y))+" ",1),u!=_.value.minutes.home_yellow_cards_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],2)],2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.containerEventsGameHometeam)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.containerEvents)},[Object.keys(e.playsLive).length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.home_team.team_id]&&"goals"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive[e.game.home_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.goalsContainer)},[$W,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.home_team.team_id].goals),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.home_team.team_id].goals[y].event.map(o=>`${o}`).join(", ").replace("(AG)",""))+"' ",1),u!=Object.keys(e.playsLive[e.game.home_team.team_id].goals).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.playsLive[e.game.home_team.team_id]&&"red"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.playsLive[e.game.home_team.team_id].red).length>0&&Object.keys(e.playsLive[e.game.home_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),Object.keys(e.playsLive[e.game.home_team.team_id].red).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.yellowContainer)},[UW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.home_team.team_id].red),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.home_team.team_id].red[y].event.map(o=>`${o}`).join(", "))+"' ",1),u!=Object.keys(e.playsLive[e.game.home_team.team_id].red).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.playsLive[e.game.home_team.team_id]&&"yellow"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[Object.keys(e.playsLive[e.game.home_team.team_id].red).length>0||Object.keys(e.playsLive[e.game.home_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),Object.keys(e.playsLive[e.game.home_team.team_id].yellow).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.redContainer)},[GW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.home_team.team_id].yellow),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.home_team.team_id].yellow[y].event.map(o=>`${o}`).join(", "))+"' ",1),u!=Object.keys(e.playsLive[e.game.home_team.team_id].yellow).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2)):t.createCommentVNode("",!0)],64))],2),_.value.game_status==4&&_.value.is_live==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.matchInfo),id:"container-match-info"},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.sbado16De)},t.toDisplayString(h(_.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.sab16092023)},t.toDisplayString(h(_.value.date_time_utc,0)),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.hour)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.div)},t.toDisplayString(_.value.gameSchedule),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.cst)},"CST",2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.chivasTvCanal)},t.toDisplayString(_.value.tv_stations.join(", ")),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.matchInfo),id:"container-match-info"},[_.value.is_live?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(h(_.value.date_time_utc,1)),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",{class:t.normalizeClass([r.$style.sbado16De,r.$style.gameDate])},t.toDisplayString(h(_.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass([r.$style.sab16092023,r.$style.gameDate])},t.toDisplayString(h(_.value.date_time_utc,0)),3)],64)),_.value.is_live||_.value.game_status!=1&&_.value.game_status!=4?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(r.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.divscore)},t.toDisplayString(w.value),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(r.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.divscore)},t.toDisplayString(_.value.score.join(" - ")),3)],2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.gameStatus)},[_.value.is_live?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.liveMinutes)},[HW,t.createTextVNode(" LIVE - "+t.toDisplayString(Y.value),1)],2)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Finalizado "),_.value.penalties_score_home_team!=0||_.value.penalties_score_visiting_team!=0?(t.openBlock(),t.createElementBlock("span",WW," - Penales "+t.toDisplayString(_.value.penalties_score_home_team)+" - "+t.toDisplayString(_.value.penalties_score_visiting_team),1)):t.createCommentVNode("",!0)],64))],2),e.is_captured==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[_.value.is_live==1||_.value.game_status==1||Object.keys(_.value.minutes).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.viewButtomEvent),onClick:v[0]||(v[0]=y=>g(_.value))},[qW,t.createTextVNode(" "),YW],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.awayTeam),id:"container-away-team"},[t.createElementVNode("img",{class:t.normalizeClass(r.$style.image62Icon1),alt:"",src:t.unref(Fp)(_.value.visiting_team.team_id,150)},null,10,XW),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.name),id:"team-name"},t.toDisplayString(_.value.visiting_team.colloquial_name),3),t.createElementVNode("img",{class:t.normalizeClass(r.$style.imgAtlasIcon),alt:"",src:t.unref(Fp)(_.value.visiting_team.team_id)},null,10,ZW),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.name1),id:"team-name"},t.toDisplayString(_.value.visiting_team.acronym),3),_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.is_live==0&&_.value.game_status==1||Object.keys(_.value.minutes).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.containerEventsGameAwayteam)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.containerEvents)},[_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.goalsContainer)},[_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("img",JW)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.visiting_goals_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y).replace("(AG)",""))+" ",1),u!=_.value.minutes.visiting_goals_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0),_.value.minutes.away_red_cards_minutes.length>0&&_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),_.value.minutes.away_red_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(r.$style.yellowContainer)},[_.value.minutes.away_red_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("img",KW)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.away_red_cards_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y))+" ",1),u!=_.value.minutes.away_red_cards_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0),_.value.minutes.away_red_cards_minutes.length>0||_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),_.value.minutes.away_yellow_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(r.$style.redContainer)},[_.value.minutes.away_yellow_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("img",QW)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.away_yellow_cards_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y))+" ",1),u!=_.value.minutes.away_yellow_cards_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],2)],2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.containerEventsGameAwayteam)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.containerEvents)},[Object.keys(e.playsLive).length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.visiting_team.team_id]&&"goals"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.goalsContainer)},[eq,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.visiting_team.team_id].goals),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.visiting_team.team_id].goals[y].event.map(o=>`${o}`).join(", ").replace("(AG)",""))+"' ",1),u!=Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.playsLive[e.game.visiting_team.team_id]&&"red"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length>0&&Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.yellowContainer)},[tq,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.visiting_team.team_id].red),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.visiting_team.team_id].red[y].event.map(o=>`${o}`).join(", "))+"' ",1),u!=Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.playsLive[e.game.visiting_team.team_id]&&"yellow"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length>0||Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),Object.keys(e.playsLive[e.game.visiting_team.team_id].yellow).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.redContainer)},[nq,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.visiting_team.team_id].yellow),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.visiting_team.team_id].yellow[y].event.map(o=>`${o}`).join(", "))+"' ",1),u!=Object.keys(e.playsLive[e.game.visiting_team.team_id].yellow).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.pcmobile)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.headerinfomobile)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.homeTeam),id:"container-home-team"},[t.createElementVNode("img",{class:t.normalizeClass(r.$style.image62Icon),alt:"",src:t.unref(Fp)(_.value.home_team.team_id,150)},null,10,rq),t.createElementVNode("img",{class:t.normalizeClass(r.$style.imgChivasIcon),alt:"",src:t.unref(Fp)(_.value.home_team.team_id)},null,10,aq),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.nameDesktop),id:"team-name"},t.toDisplayString(_.value.home_team.colloquial_name),3),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.nameMobile),id:"team-name"},t.toDisplayString(_.value.home_team.acronym),3)],2),_.value.game_status==4&&_.value.is_live==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.matchInfo),id:"container-match-info"},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.sbado16De)},t.toDisplayString(h(_.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.sab16092023)},t.toDisplayString(h(_.value.date_time_utc,0)),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.hour)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.div)},t.toDisplayString(_.value.gameSchedule),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.cst)},"CST",2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.chivasTvCanal)},t.toDisplayString(_.value.tv_stations.join(", ")),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.matchInfo),id:"container-match-info"},[_.value.is_live?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(h(_.value.date_time_utc,1)),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",{class:t.normalizeClass([r.$style.sbado16De,r.$style.gameDate])},t.toDisplayString(h(_.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass([r.$style.sab16092023,r.$style.gameDate])},t.toDisplayString(h(_.value.date_time_utc,0)),3)],64)),_.value.is_live||_.value.game_status!=1&&_.value.game_status!=4?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(r.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.divscore)},t.toDisplayString(w.value),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(r.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.divscore)},t.toDisplayString(_.value.score.join(" - ")),3)],2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.gameStatus)},[_.value.is_live?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.liveMinutes)},[iq,t.createTextVNode(" LIVE - "+t.toDisplayString(Y.value)+"' ",1)],2)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Finalizado "),_.value.penalties_score_home_team!=0||_.value.penalties_score_visiting_team!=0?(t.openBlock(),t.createElementBlock("span",oq," - Penales "+t.toDisplayString(_.value.penalties_score_home_team)+" - "+t.toDisplayString(_.value.penalties_score_visiting_team),1)):t.createCommentVNode("",!0)],64))],2)],2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.awayTeam),id:"container-away-team"},[t.createElementVNode("img",{class:t.normalizeClass(r.$style.image62Icon1),alt:"",src:t.unref(Fp)(_.value.visiting_team.team_id,150)},null,10,sq),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.name),id:"team-name"},t.toDisplayString(_.value.visiting_team.colloquial_name),3),t.createElementVNode("img",{class:t.normalizeClass(r.$style.imgAtlasIcon),alt:"",src:t.unref(Fp)(_.value.visiting_team.team_id)},null,10,lq),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.name1),id:"team-name"},t.toDisplayString(_.value.visiting_team.acronym),3)],2)],2),_.value.game_status!=4||_.value.is_live==1?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.headereventsmobile)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.headereventsmobilecont)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.headereventsmobilecontlocal)},[_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.minutes.home_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.icongoalheader)},uq,2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.home_team.team_id]&&"goals"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive[e.game.home_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.icongoalheader)},hq,2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.goalscontainermobile),style:{"justify-content":"left !important"}},[_.value.game_status==1?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(_.value.minutes.home_goals_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass(r.$style.itemmobilgoal)},t.toDisplayString(n(y).replace("(AG)","")),3))),128)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.visiting_team.team_id]&&"goals"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(Object.keys(e.playsLive[e.game.home_team.team_id].goals),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass(r.$style.itemmobilgoal)},t.toDisplayString(e.playsLive[e.game.home_team.team_id].goals[y].event.map(o=>`${o}`).join(", ").replace("(AG)",""))+"' ",3))),128)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobile)},[_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobileyellow)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobileyellow)},fq,2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.txtmobileyellow)},t.toDisplayString(_.value.minutes.home_yellow_cards_minutes.length),3)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobilered)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobilered)},gq,2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.txtmobilered)},t.toDisplayString(_.value.minutes.home_red_cards_minutes.length),3)],2)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive).length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobileyellow)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobileyellow)},vq,2),e.playsLive[e.game.home_team.team_id]&&"yellow"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.txtmobileyellow)},t.toDisplayString(Object.keys(e.playsLive[e.game.home_team.team_id].yellow).length),3)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.txtmobileyellow)},"0",2))],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobilered)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobilered)},bq,2),e.playsLive[e.game.home_team.team_id]&&"red"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.txtmobilered)},t.toDisplayString(Object.keys(e.playsLive[e.game.home_team.team_id].red).length),3)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.txtmobilered)},"0",2))],2)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.headereventsmobileconttitle)},[e.is_captured==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.is_live==1||_.value.game_status==1||Object.keys(_.value.minutes).length>0?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(r.$style.viewButtomEventMobile),onClick:v[1]||(v[1]=y=>g(_.value))},[t.createTextVNode(" ver desglose "),xq],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.headereventsmobilecontaway)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobile)},[_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobileyellow)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.txtmobileyellow)},t.toDisplayString(_.value.minutes.away_yellow_cards_minutes.length),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobileyellow)},kq,2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobilered)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.txtmobilered)},t.toDisplayString(_.value.minutes.away_red_cards_minutes.length),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobilered)},Cq,2)],2)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive).length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobileyellow)},[e.playsLive[e.game.visiting_team.team_id]&&"yellow"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.txtmobileyellow)},t.toDisplayString(Object.keys(e.playsLive[e.game.visiting_team.team_id].yellow).length),3)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.txtmobileyellow)},"0",2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobileyellow)},Eq,2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobilered)},[e.playsLive[e.game.visiting_team.team_id]&&"red"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.txtmobilered)},t.toDisplayString(Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length),3)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.txtmobilered)},"0",2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobilered)},Mq,2)],2)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.goalscontainermobile),style:{"justify-content":"right !important"}},[_.value.game_status==1?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(_.value.minutes.visiting_goals_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass(r.$style.itemmobilgoal)},t.toDisplayString(n(y).replace("(AG)","")),3))),128)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.visiting_team.team_id]&&"goals"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(Object.keys(e.playsLive[e.game.visiting_team.team_id].goals),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass(r.$style.itemmobilgoal)},t.toDisplayString(e.playsLive[e.game.visiting_team.team_id].goals[y].event.map(o=>`${o}`).join(", ").replace("(AG)",""))+"'' ",3))),128)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2),_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.icongoalheader)},Pq,2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.visiting_team.team_id]&&"goals"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.icongoalheader)},zq,2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2)],2)],2)):t.createCommentVNode("",!0)],2)],2))}},Lq={$style:OW},Oq=Kh(Nq,[["__cssModules",Lq]]),Fq={class:"calendar-by-game__carousel"},Dq="https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",Rq={__name:"GSC-CalendarByGame",props:{showVideos:{type:Number,default:0},playsLive:{type:Object,default:()=>{}},infoLive:{type:Object,default:()=>{}},height:{type:String,default:"fit-content"},width:{type:String,default:"100%"},rowHeight:{type:String,default:"fit-content"},oddRowColor:{type:String,default:"#172531"},evenRowColor:{type:String,default:"#0D1D29"},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},isRoundPickerVisible:{type:Boolean,default:!0},isPaginationVisible:{type:Boolean,default:!0},awaitForSeasons:{type:Boolean,default:!1},seasons:{type:Array,default:()=>[]},isCup:{type:Boolean,default:!1},isCupLegacy:{type:Boolean,default:!1},token:{type:String,default:""},pagesWithGames:{type:Array,default:()=>[]},maxGamesToShow:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},areRoundsVisible:{type:Boolean,default:!0},is_captured:{type:Number,default:1},gamesPerMatchDay:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},itemsToShow:{type:Number,default:9},itemsToScroll:{type:Number,default:9},games:{type:Array,default:()=>null},teamId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},avoidTeamIdFilter:{type:Boolean,default:!1},areGamesCarouselType:{type:Boolean,default:!1},defaultGameId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},userTeamId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},sortCalendar:{type:Boolean,default:!0},isTeamGamePerPage:{type:Boolean,default:!1},onlyGamesTeamId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},tournamentType:{type:Number,default:0},checkLiveGamesIntervalMinutes:{type:Number,default:2},gamesEventsIntervalMinutes:{type:Number,default:2},checkStartedLiveGamesMinutes:{type:Number,default:5}},emits:["tournament-selected","change-teams","change-round","change-game-carousel","action","change-games-by-client-privileges","open-modal-event"],setup(e,{emit:p}){const f=e;let F=null,Y=null,w=null;const _=new Set,n=new Set,g=t.ref([]),h=t.ref({}),r=t.ref(0),v=t.ref(null),y=t.ref({}),u=t.ref(new Map),o=t.ref(!1),a=t.ref(null),i=t.ref(null),l=t.ref(null),s=t.ref([]),c=t.ref(new Map),d=t.ref(new Set),m=t.computed(()=>f.isCup),x=t.computed(()=>f.isCupLegacy),b=t.computed(()=>({height:f.height,width:f.width})),T=t.computed(()=>{if(f.games)return ne(f.games,f.isTeamGamePerPage);{const xe=u.value.get(y.value.key);return xe&&f.isTeamGamePerPage&&f.onlyGamesTeamId?[xe[0].filter(Ee=>Ee.home_team.team_id===f.onlyGamesTeamId||Ee.visiting_team.team_id===f.onlyGamesTeamId)]:xe||[]}}),k=t.computed(()=>f.areGamesCarouselType?T.value[0]:T.value),C=t.ref([]),S=t.ref(new Map),E=t.ref([]),A=t.ref(0),M=t.ref(0),P=t.computed(()=>{const xe=z(h.value),Ee=C.value.find(Ie=>Ie.key===xe);return Ee&&o.value&&(B(!1),de(Ee)),xe});t.watch(()=>f.seasons,xe=>{xe&&xe.length&&(B(!0),g.value=xe.map(Ee=>Ee.id),j(xe,!0))},{immediate:!0,deep:!0}),t.watch(u,xe=>{if(f.onlyGamesTeamId&&xe.size){const Ee=Array.from(xe.values()).reduce((Ie,Ve)=>(Ve.forEach(Se=>{const ke=Se.find(ye=>ye.home_team.team_id===f.onlyGamesTeamId||ye.visiting_team.team_id===f.onlyGamesTeamId);ke&&Ie.push(ke)}),Ie),[]);p("change-games-by-client-privileges",Ee)}},{immediate:!0});function B(xe){o.value=xe}function z(xe){const Ee=new Date().valueOf(),Ie=Object.entries(Object.entries(xe).reduce((Se,[ke,ye])=>(Se[ke]=null,ye.forEach(me=>{me.games.forEach(Me=>{if([1,0].includes(Me.game_status)||Me.is_live){const Ce=Ee-Me.dateTimeMillis;(Se[ke]===null||Ce<Se[ke])&&(Se[ke]=Ce)}})}),Se),{}));if(!Ie.length)return"1";const Ve=Ie.reduce((Se,[ke,ye])=>{if(ye!==null){const me=S.value.get(ke);(Se.shortestMillisToNow===null||ye<Se.shortestMillisToNow&&me.index>=Se.scheduleKey.index)&&(Se.shortestMillisToNow=ye,Se.round=ke,Se.scheduleKey=me)}return Se},{round:"",shortestMillisToNow:null,scheduleKey:null});return Ve.shortestMillisToNow!==null?Ve.round:Ie[Ie.length-1][0]}t.watch(()=>f.teamId,()=>{ce()},{immediate:!0});async function O(xe,Ee,Ie=""){let Ve=Ie;try{const Se={};f.token&&(Se.Authorization=f.token),Ve||(Ve="https://qyyibs1w0d.execute-api.us-west-2.amazonaws.com/prod/calendar/gamesBySeason?",xe.forEach((me,Me)=>{Ve+=`${Me===0?"":"&"}seasons=${me}`}));const{data:{data:ke,teams:ye}}=await U2.get(Ve,{headers:Se});return{seasonsAndGames:ke,seasonsAndTeams:ye}}catch(Se){if(Ee>0)return O(xe,Ee-1,Ve);throw new Error(Se)}}function D(xe){for(const Ee of xe)if(!g.value.includes(Ee.season_id))return!0;return!1}let R=0;async function j(xe,Ee){try{h.value={},M.value=0,A.value=0;const{seasonsAndGames:Ie,seasonsAndTeams:Ve}=await O(xe.map(ke=>ke.id),3);if(Ee&&D(Ie))return;R=0,Ie.forEach(ke=>{const{type:ye}=xe.find(me=>me.id===ke.season_id);ke.type=ye,ke.games.forEach(me=>{ye===0&&(R=ke.season_id),M.value++,([1,0].includes(me.game_status)||me.is_live)&&A.value++,me.season_id=ke.season_id})}),a.value={seasonsGames:Ie};const{teams:Se}=Ve.find(ke=>ke.season_id===R);i.value=Se,p("change-teams",Se),ce(),d.value.size?W():await $()}catch(Ie){throw new Error(Ie)}}async function $(){try{const xe=await se();n.clear(),s.value=xe.data.reduce((Ie,Ve)=>(Ve.games.forEach(Se=>{_.add(Se.game_id),n.add(Se.game_id),Ie.push(Se)}),Ie),[]);const Ee=[];if(_.forEach(Ie=>{n.has(Ie)||(Ee.push(Ie),le(Ie))}),Ee.forEach(Ie=>{_.delete(Ie)}),s.value.length){Y||await Z();const Ie=[];d.value.forEach(Ve=>{const Se=c.value.get(Ve);Se&&new Date().valueOf()>Se.dateTimeMillis&&Ie.push(Ve)}),Ie.length&&Ie.every(Ve=>c.value.get(Ve).isLiveTracked)&&X()}}catch(xe){throw new Error(xe)}}async function Z(){try{const xe=[];for(const Ie of s.value){const Ve=c.value.get(Ie.game_id);Ve&&(Ve.is_live=1,Ve.game_status=4,Ve.live_stats=1,Ve.scheduleKey&&Ve.scheduleKey.liveGamesIds.add(Ie.game_id)),Ve.isLiveTracked=!0,xe.push(oe(Ie.game_id))}const Ee=await Promise.all(xe);for(const Ie of Ee){const Ve=c.value.get(Ie.game_id);if(Ve){let Se=!1,ke=!1;for(const Ce of Ie.plays){if(Ce.category_id===0&&Ce.game_status_id===18){ke=!0;break}Ce.category_id===0&&Ce.game_status_id===17&&(Se=!0)}Ve.isMT=Se&&!ke;const ye=[Number(Ie.score[Ve.home_team.team_id.toString()])+Number(Ie.score[`own_${Ve.visiting_team.team_id.toString()}`]),Number(Ie.score[Ve.visiting_team.team_id.toString()])+Number(Ie.score[`own_${Ve.home_team.team_id.toString()}`])],me=ye[0],Me=ye[1];Ve.score=[Number.isNaN(me)?0:me,Number.isNaN(Me)?0:Me],ee(Ve,Ie.plays)}}Y||Q()}catch(xe){throw new Error(xe)}}function W(){d.value.size&&d.value.forEach(xe=>{const Ee=c.value.get(xe);if(Ee){const Ie=new Date().valueOf();if(60*1e3*30+Ee.dateTimeMillis-Ie>0){const Ve=Ee.dateTimeMillis-Ie-3e5;setTimeout(()=>{H()},Ve>0?Ve:0)}}})}function H(){X(),w||(w=setInterval(()=>{$()},f.checkLiveGamesIntervalMinutes*60*1e3))}function Q(){J(),Y=setInterval(()=>{Z()},f.gamesEventsIntervalMinutes*60*1e3)}function X(){clearInterval(w),w=null}function J(){clearInterval(Y),Y=null}function ee(xe,Ee){for(const Ie of Ee)if(Ie.category_id===0&&Ie.game_status_id===13){const Ve=c.value.get(Ie.game_id);s.value=s.value.filter(Se=>Se.game_id!==xe.game_id),Ve.is_live=0,Ve.game_status=0,Ve.scheduleKey&&Ve.scheduleKey.liveGamesIds.delete(xe.game_id)}}function le(xe){const Ee=c.value.get(xe);Ee&&(s.value=s.value.filter(Ie=>Ie.game_id!==xe),Ee.is_live=0,Ee.game_status=0,Ee.scheduleKey&&Ee.scheduleKey.liveGamesIds.delete(xe))}async function oe(xe){try{return(await U2.get(`${Dq}${xe}`,{headers:{Authorization:`${f.token}`}})).data}catch(Ee){throw new Error(Ee)}}async function se(){try{if(f.seasons.length===0)return[];const xe=f.seasons.reduce((Ve,Se)=>`${Ve}seasons=${Se.id}&`,""),Ee=U2.create({headers:{Authorization:`${f.token}`}}),{data:Ie}=await Ee.get(`https://qyyibs1w0d.execute-api.us-west-2.amazonaws.com/prod/calendar/gamesBySeason/lives?${xe}`);return Ie}catch(xe){throw new Error(xe)}}function ce(){if(X(),!i.value)return;c.value.clear(),d.value.clear(),E.value=[];const xe=a.value&&a.value.seasonsGames?a.value.seasonsGames.map(Ee=>{const Ie=Ee.games.reduce((Ve,Se)=>{if(f.onlyGamesTeamId&&f.onlyGamesTeamId!==Se.home_team&&f.onlyGamesTeamId!==Se.visiting_team)return Ve;const ke={...Se,regularSeasonId:R},ye=new Date,[me,Me,Ce]=ke.date.split("-"),[Ne,Oe,De]=ke.schedule.split(":"),Ue=new Date(Number(me),Number(Me)-1,Number(Ce),Number(Ne),Number(Oe),Number(De));return ke.dateTimeMillis=Ue.valueOf(),ke.home_team=i.value.find(ze=>ze.team_id===Se.home_team),ke.visiting_team=i.value.find(ze=>ze.team_id===Se.visiting_team),ke.game_status===4&&!ke.is_live&&ye.getFullYear()===Ue.getFullYear()&&ye.getMonth()===Ue.getMonth()&&ye.getDate()===Ue.getDate()&&d.value.add(ke.game_id),c.value.set(ke.game_id,ke),f.teamId&&ke.home_team.team_id!==f.teamId&&ke.visiting_team.team_id!==f.teamId||(Ve[Se.matchday_abbreviation]?Ve[Se.matchday_abbreviation][Se.game_status===3?"canceled":Se.date]?Ve[Se.matchday_abbreviation][Se.game_status===3?"canceled":Se.date].push(ke):Ve[Se.matchday_abbreviation][Se.game_status===3?"canceled":Se.date]=[ke]:Ve[Se.matchday_abbreviation]={[Se.game_status===3?"canceled":Se.date]:[ke]},f.userTeamId&&([1,0].includes(ke.game_status)||ke.is_live)&&(ke.home_team.team_id===f.userTeamId||ke.visiting_team.team_id===f.userTeamId)&&E.value.push(ke)),Ve},{});for(let[Ve,Se]of Object.entries(Ie))Ie[Ve]=Object.entries(Se).map(([ke,ye])=>({date:ke,games:ye.sort((me,Me)=>me.dateTimeMillis-Me.dateTimeMillis)})),Ie[Ve].sort((ke,ye)=>ke.date<ye.date?-1:ke.date>ye.date?1:0);return{type:Ee.type,weight:Ee.type===0?0:Ee.type===2?1:2,schedule:Ie}}):[];xe.sort((Ee,Ie)=>Ee.weight-Ie.weight),h.value=xe.reduce((Ee,Ie)=>{for(const[Ve,Se]of Object.entries(Ie.schedule))if(Ie.type===0)if([1,2].includes(f.tournamentType)){const ke=QU.get(f.tournamentType);if(ke){const ye=ke.get(Ve);ye&&(Ee[ye.matchDayAbbreviation]=Se)}}else if(m.value){const ke=Ve.replace("M",""),ye=ke;x.value?Ee[KU[ke]||ye]=Se:Ee[JU[Ve]||ye]=Se}else Ee[Number(Ve.replace("M","")).toString()]=Se;else Ie.type===2?Ve.charAt(1)=="I"?Ee[`PI${Number(Ve.replace("PI",""))}`]=Se:Ee[`R${Number(Ve.replace("PO",""))}`]=Se:Ie.type===1&&(Ee[ZU[Ve]]=Se);return Ee},{}),u.value=new Map,S.value.clear(),C.value=Array.from(Object.entries(h.value).reduce((Ee,[Ie,Ve],Se)=>{const ke=Number(Ie);let ye="";Number.isNaN(ke)?ye=Ie:ye=ke<10?`0${ke}`:Ie;const me={key:Ie,value:ke,valueText:ye,index:Se,liveGamesIds:new Set};S.value.set(Ie,me),Ee.set(Ie,me);const Me=Ve.reduce((Ne,Oe)=>(Oe.games.forEach(De=>{De.game_id===f.defaultGameId&&(l.value=Ie),De.roundAbbreviation=Number.isNaN(ke)?ke:`J ${ke}`,De.scheduleKey=me,De.is_live&&me.liveGamesIds.add(De.game_id)}),Ne=Ne.concat(Oe.games),Ne),[]),Ce=ne(Me);return u.value.set(Ie,Ce),Ee},new Map).values())}function ne(xe,Ee=!1){const Ie=[];if(f.gamesPerMatchDay>0){let Ve=[];xe.forEach((Se,ke)=>{Ve.push(Se),(ke+1)%f.gamesPerMatchDay===0&&(Ie.push([...Ve]),Ve=[])}),Ve.length&&Ie.push([...Ve])}else Ie.push(xe);return Ee&&f.isTeamGamePerPage&&f.defaultGameId?Ie.filter(Ve=>Ve.game_id===f.defaultGameId||Ve.gameId===f.defaultGameId):Ie}async function re(xe){try{const{data:Ee}=await U2.get("https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/tournaments");return Ee}catch(Ee){if(xe>0)return re(xe-1);throw new Error(Ee)}}function ie(){if(window.ResizeObserver)F=new ResizeObserver(()=>{r.value=v.value.clientWidth}),F.observe(v.value);else throw new Error("Resize observer not supported!")}function de(xe){y.value.value!==xe.value&&(y.value=xe,p("change-round",xe))}function fe(xe){f.areGamesCarouselType&&p("change-game-carousel",xe.selectedItem)}function pe(xe){p("action",xe),be(xe)}function ge(xe){p("open-modal-event",xe)}function be(xe){const Ee="PLAY_RESUME",Ie="PLAY_GOALS",Ve=[607,608,12,55,54,35,14,52,15,53,466,477],Se=[12,55,"35_r","54_r"],{game_id:ke,season_id:ye}=xe.game;let me={seasonId:ye,tournaments:[],isFeaturedPlayers:!1,mainSectionType:1,playListType:1,gameIdsToFilter:[ke],playerIds:[],goalkeeperIds:[],categoryIds:[],teamId:0,matchResult:[],categorySingleName:"",avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:""},objectPlaySync:null};xe.action===Ee?(me.categoryIds=Ve,me.advancedFilter.playListTitle="Resumen",p("openmedia",me)):xe.action===Ie&&(me.categoryIds=Se,me.advancedFilter.playListTitle="Goles",p("openmedia",me))}async function we(){try{if(!f.awaitForSeasons&&!f.games){const xe=(await re(3)).find(Ve=>Ve._id===1),Ee=xe.seasons[0],Ie=[{id:Ee.id,type:Ee.type}];xe&&xe.tournament&&p("tournament-selected",xe.tournament),Ee.related_seasons&&Ee.related_seasons.length&&Ie.push(...Ee.related_seasons.map(Ve=>({id:Ve.id,type:Ve.type}))),await j(Ie,!1)}}catch(xe){throw new Error(xe)}}return t.onMounted(()=>{ie()}),we(),(xe,Ee)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"calendarByGame",ref:v,class:"calendar-by-game",style:t.normalizeStyle(b.value)},[e.teamId&&!e.avoidTeamIdFilter?(t.openBlock(),t.createBlock(RH,{key:0,"full-tournament-schedule":h.value,"team-id":e.teamId,"show-videos":e.showVideos,"is-landing-mode":!1,"row-height":e.rowHeight,"component-width":r.value,"games-pages":u.value,"is-pagination-visible":e.isPaginationVisible,"is-round-mode":e.isRoundMode,onAction:pe},null,8,["full-tournament-schedule","team-id","show-videos","row-height","component-width","games-pages","is-pagination-visible","is-round-mode"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.areRoundsVisible&&C.value?(t.openBlock(),t.createBlock(_G,{key:0,"match-days":C.value,"is-landing-mode":e.isLandingMode,height:"48px","items-to-show":e.itemsToShow,"items-to-scroll":e.itemsToScroll,"component-width":r.value,"default-match-day-key":l.value,"closest-match-day":e.sortCalendar?P.value:"",onChangeMatchDay:de},null,8,["match-days","is-landing-mode","items-to-show","items-to-scroll","component-width","default-match-day-key","closest-match-day"])):t.createCommentVNode("",!0),t.createElementVNode("div",Fq,[T.value?(t.openBlock(),t.createBlock(t.unref($S),{key:0,"is-pagination-visible":e.isPaginationVisible&&!e.areGamesCarouselType,items:k.value,"are-navigation-arrows-visible":e.areGamesCarouselType?!e.areGamesCarouselType:e.isPaginationVisible,"wrap-around":e.areGamesCarouselType&&!e.isTeamGamePerPage,"items-to-show":e.areGamesCarouselType&&!e.isTeamGamePerPage?1.2:1,"is-main-slide-priority":e.areGamesCarouselType,"are-slides-arrows-visible":e.areGamesCarouselType&&!e.isTeamGamePerPage,"slides-arrows-left-and-right":e.areGamesCarouselType?"30px":"0px","default-item-by-prop":e.areGamesCarouselType?{propName:"game_id",value:e.defaultGameId}:{},onInput:fe},{default:t.withCtx(({item:Ie})=>[e.areGamesCarouselType?(t.openBlock(),t.createBlock(Oq,{key:0,is_captured:e.is_captured,game:Ie,onOpenModalEvent:ge,"plays-live":e.playsLive,"info-live":e.infoLive},null,8,["is_captured","game","plays-live","info-live"])):(t.openBlock(),t.createBlock(NH,{key:1,"team-id":e.teamId,"show-videos":e.showVideos,"games-per-page":Ie,"is-landing-mode":e.isLandingMode,"row-height":e.rowHeight,"component-width":r.value,"is-round-mode":e.isRoundMode,onAction:pe},null,8,["team-id","show-videos","games-per-page","is-landing-mode","row-height","component-width","is-round-mode"]))]),_:1},8,["is-pagination-visible","items","are-navigation-arrows-visible","wrap-around","items-to-show","is-main-slide-priority","are-slides-arrows-visible","slides-arrows-left-and-right","default-item-by-prop"])):t.createCommentVNode("",!0)])],64))],4))}},Vq=Kh(Rq,[["__scopeId","data-v-d8d43e5f"]]);function jq(){return JS().__VUE_DEVTOOLS_GLOBAL_HOOK__}function JS(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const $q=typeof Proxy=="function",Uq="devtools-plugin:setup",Gq="plugin:settings:set";let T1,ww;function Hq(){var e;return T1!==void 0||(typeof window<"u"&&window.performance?(T1=!0,ww=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(T1=!0,ww=globalThis.perf_hooks.performance):T1=!1),T1}function Wq(){return Hq()?ww.now():Date.now()}class qq{constructor(p,f){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=p,this.hook=f;const F={};if(p.settings)for(const _ in p.settings){const n=p.settings[_];F[_]=n.defaultValue}const Y=`__vue-devtools-plugin-settings__${p.id}`;let w=Object.assign({},F);try{const _=localStorage.getItem(Y),n=JSON.parse(_);Object.assign(w,n)}catch{}this.fallbacks={getSettings(){return w},setSettings(_){try{localStorage.setItem(Y,JSON.stringify(_))}catch{}w=_},now(){return Wq()}},f&&f.on(Gq,(_,n)=>{_===this.plugin.id&&this.fallbacks.setSettings(n)}),this.proxiedOn=new Proxy({},{get:(_,n)=>this.target?this.target.on[n]:(...g)=>{this.onQueue.push({method:n,args:g})}}),this.proxiedTarget=new Proxy({},{get:(_,n)=>this.target?this.target[n]:n==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(n)?(...g)=>(this.targetQueue.push({method:n,args:g,resolve:()=>{}}),this.fallbacks[n](...g)):(...g)=>new Promise(h=>{this.targetQueue.push({method:n,args:g,resolve:h})})})}async setRealTarget(p){this.target=p;for(const f of this.onQueue)this.target.on[f.method](...f.args);for(const f of this.targetQueue)f.resolve(await this.target[f.method](...f.args))}}function Yq(e,p){const f=e,F=JS(),Y=jq(),w=$q&&f.enableEarlyProxy;if(Y&&(F.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!w))Y.emit(Uq,e,p);else{const _=w?new qq(f,Y):null;(F.__VUE_DEVTOOLS_PLUGINS__=F.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:f,setupFn:p,proxy:_}),_&&p(_.proxiedTarget)}}/*!
|
|
14
|
+
*/const Nu={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"}},US={itemsToShow:{default:Nu.itemsToShow,type:Number},itemsToScroll:{default:Nu.itemsToScroll,type:Number},wrapAround:{default:Nu.wrapAround,type:Boolean},throttle:{default:Nu.throttle,type:Number},snapAlign:{default:Nu.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:Nu.transition,type:Number},breakpoints:{default:Nu.breakpoints,type:Object},autoplay:{default:Nu.autoplay,type:Number},pauseAutoplayOnHover:{default:Nu.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:Nu.mouseDrag,type:Boolean},touchDrag:{default:Nu.touchDrag,type:Boolean},dir:{default:Nu.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:Nu.i18n,type:Object},settings:{default(){return{}},type:Object}};function eG({config:e,slidesCount:p}){const{snapAlign:f,wrapAround:F,itemsToShow:Y=1}=e;if(F)return Math.max(p-1,0);let w;switch(f){case"start":w=p-Y;break;case"end":w=p-1;break;case"center":case"center-odd":w=p-Math.ceil((Y-.5)/2);break;case"center-even":w=p-Math.ceil(Y/2);break;default:w=0;break}return Math.max(w,0)}function tG({config:e,slidesCount:p}){const{wrapAround:f,snapAlign:F,itemsToShow:Y=1}=e;let w=0;if(f||Y>p)return w;switch(F){case"start":w=0;break;case"end":w=Y-1;break;case"center":case"center-odd":w=Math.floor((Y-1)/2);break;case"center-even":w=Math.floor((Y-2)/2);break;default:w=0;break}return w}function yw({val:e,max:p,min:f}){return p<f?e:Math.min(Math.max(e,f),p)}function nG({config:e,currentSlide:p,slidesCount:f}){const{snapAlign:F,wrapAround:Y,itemsToShow:w=1}=e;let _=p;switch(F){case"center":case"center-odd":_-=(w-1)/2;break;case"center-even":_-=(w-2)/2;break;case"end":_-=w-1;break}return Y?_:yw({val:_,max:f-w,min:0})}function GS(e){return e?e.reduce((p,f)=>{var F;return f.type===t.Fragment?[...p,...GS(f.children)]:((F=f.type)===null||F===void 0?void 0:F.name)==="CarouselSlide"?[...p,f]:p},[]):[]}function vw({val:e,max:p,min:f=0}){return e>p?vw({val:e-(p+1),max:p,min:f}):e<f?vw({val:e+(p+1),max:p,min:f}):e}function rG(e,p){let f;return p?function(...F){const Y=this;f||(e.apply(Y,F),f=!0,setTimeout(()=>f=!1,p))}:e}function aG(e,p){let f;return function(...F){f&&clearTimeout(f),f=setTimeout(()=>{e(...F),f=null},p)}}function iG(e="",p={}){return Object.entries(p).reduce((f,[F,Y])=>f.replace(`{${F}}`,String(Y)),e)}var oG=t.defineComponent({name:"ARIA",setup(){const e=t.inject("config",t.reactive(Object.assign({},Nu))),p=t.inject("currentSlide",t.ref(0)),f=t.inject("slidesCount",t.ref(0));return()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},iG(e.i18n.itemXofY,{currentSlide:p.value+1,slidesCount:f.value}))}}),sG=t.defineComponent({name:"Carousel",props:US,setup(e,{slots:p,emit:f,expose:F}){var Y;const w=t.ref(null),_=t.ref([]),n=t.ref(0),g=t.ref(0),h=t.reactive(Object.assign({},Nu));let r=Object.assign({},Nu),v;const y=t.ref((Y=e.modelValue)!==null&&Y!==void 0?Y:0),u=t.ref(0),o=t.ref(0),a=t.ref(0),i=t.ref(0);let l,s;t.provide("config",h),t.provide("slidesCount",g),t.provide("currentSlide",y),t.provide("maxSlide",a),t.provide("minSlide",i),t.provide("slideWidth",n);function c(){v=Object.assign({},e.breakpoints),r=Object.assign(Object.assign(Object.assign({},r),e),{i18n:Object.assign(Object.assign({},r.i18n),e.i18n),breakpoints:void 0}),m(r)}function d(){if(!v||!Object.keys(v).length)return;const ne=Object.keys(v).map(ie=>Number(ie)).sort((ie,de)=>+de-+ie);let re=Object.assign({},r);ne.some(ie=>{const de=window.matchMedia(`(min-width: ${ie}px)`).matches;return de&&(re=Object.assign(Object.assign({},re),v[ie])),de}),m(re)}function m(ne){Object.entries(ne).forEach(([re,ie])=>h[re]=ie)}const x=aG(()=>{d(),T(),b()},16);function b(){if(!w.value)return;const ne=w.value.getBoundingClientRect();n.value=ne.width/h.itemsToShow}function T(){g.value<=0||(o.value=Math.ceil((g.value-1)/2),a.value=eG({config:h,slidesCount:g.value}),i.value=tG({config:h,slidesCount:g.value}),h.wrapAround||(y.value=yw({val:y.value,max:a.value,min:i.value})))}t.onMounted(()=>{t.nextTick(()=>b()),setTimeout(()=>b(),1e3),d(),R(),window.addEventListener("resize",x,{passive:!0}),f("init")}),t.onUnmounted(()=>{s&&clearTimeout(s),l&&clearInterval(l),window.removeEventListener("resize",x,{passive:!0})});let k=!1;const C={x:0,y:0},S={x:0,y:0},E=t.reactive({x:0,y:0}),A=t.ref(!1),M=t.ref(!1),P=()=>{A.value=!0},B=()=>{A.value=!1};function z(ne){["INPUT","TEXTAREA","SELECT"].includes(ne.target.tagName)||(k=ne.type==="touchstart",k||ne.preventDefault(),!(!k&&ne.button!==0||$.value)&&(C.x=k?ne.touches[0].clientX:ne.clientX,C.y=k?ne.touches[0].clientY:ne.clientY,document.addEventListener(k?"touchmove":"mousemove",O,!0),document.addEventListener(k?"touchend":"mouseup",D,!0)))}const O=rG(ne=>{M.value=!0,S.x=k?ne.touches[0].clientX:ne.clientX,S.y=k?ne.touches[0].clientY:ne.clientY;const re=S.x-C.x,ie=S.y-C.y;E.y=ie,E.x=re},h.throttle);function D(){const ne=h.dir==="rtl"?-1:1,re=Math.sign(E.x)*.4,ie=Math.round(E.x/n.value+re)*ne;if(ie&&!k){const de=fe=>{window.removeEventListener("click",de,!0)};window.addEventListener("click",de,!0)}Z(y.value-ie),E.x=0,E.y=0,M.value=!1,document.removeEventListener(k?"touchmove":"mousemove",O,!0),document.removeEventListener(k?"touchend":"mouseup",D,!0)}function R(){!h.autoplay||h.autoplay<=0||(l=setInterval(()=>{h.pauseAutoplayOnHover&&A.value||W()},h.autoplay))}function j(){l&&(clearInterval(l),l=null),R()}const $=t.ref(!1);function Z(ne){const re=h.wrapAround?ne:yw({val:ne,max:a.value,min:i.value});y.value===re||$.value||(f("slide-start",{slidingToIndex:ne,currentSlideIndex:y.value,prevSlideIndex:u.value,slidesCount:g.value}),$.value=!0,u.value=y.value,y.value=re,s=setTimeout(()=>{if(h.wrapAround){const ie=vw({val:re,max:a.value,min:0});ie!==y.value&&(y.value=ie,f("loop",{currentSlideIndex:y.value,slidingToIndex:ne}))}f("update:modelValue",y.value),f("slide-end",{currentSlideIndex:y.value,prevSlideIndex:u.value,slidesCount:g.value}),$.value=!1,j()},h.transition))}function W(){Z(y.value+h.itemsToScroll)}function H(){Z(y.value-h.itemsToScroll)}const Q={slideTo:Z,next:W,prev:H};t.provide("nav",Q),t.provide("isSliding",$);const X=t.computed(()=>nG({config:h,currentSlide:y.value,slidesCount:g.value}));t.provide("slidesToScroll",X);const J=t.computed(()=>{const ne=h.dir==="rtl"?-1:1,re=X.value*n.value*ne;return{transform:`translateX(${E.x-re}px)`,transition:`${$.value?h.transition:0}ms`,margin:h.wrapAround?`0 -${g.value*n.value}px`:"",width:"100%"}});function ee(){c(),d(),T(),b(),j()}Object.keys(US).forEach(ne=>{["modelValue"].includes(ne)||t.watch(()=>e[ne],ee)}),t.watch(()=>e.modelValue,ne=>{ne!==y.value&&Z(Number(ne))}),t.watch(g,T),f("before-init"),c();const le={config:h,slidesCount:g,slideWidth:n,next:W,prev:H,slideTo:Z,currentSlide:y,maxSlide:a,minSlide:i,middleSlide:o};F({updateBreakpointsConfigs:d,updateSlidesData:T,updateSlideWidth:b,initDefaultConfigs:c,restartCarousel:ee,slideTo:Z,next:W,prev:H,nav:Q,data:le});const oe=p.default||p.slides,se=p.addons,ce=t.reactive(le);return()=>{const ne=GS(oe==null?void 0:oe(ce)),re=(se==null?void 0:se(ce))||[];ne.forEach((pe,ge)=>pe.props.index=ge);let ie=ne;if(h.wrapAround){const pe=ne.map((be,we)=>t.cloneVNode(be,{index:-ne.length+we,isClone:!0,key:`clone-before-${we}`})),ge=ne.map((be,we)=>t.cloneVNode(be,{index:ne.length+we,isClone:!0,key:`clone-after-${we}`}));ie=[...pe,...ne,...ge]}_.value=ne,g.value=Math.max(ne.length,1);const de=t.h("ol",{class:"carousel__track",style:J.value,onMousedownCapture:h.mouseDrag?z:null,onTouchstartPassiveCapture:h.touchDrag?z:null},ie),fe=t.h("div",{class:"carousel__viewport"},de);return t.h("section",{ref:w,class:{carousel:!0,"is-sliding":$.value,"is-dragging":M.value,"is-hover":A.value,"carousel--rtl":h.dir==="rtl"},dir:h.dir,"aria-label":h.i18n.ariaGallery,tabindex:"0",onMouseenter:P,onMouseleave:B},[fe,re,t.h(oG)])}}}),_w;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(_w||(_w={}));const lG={arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"};function cG(e){return e in _w}const bw=e=>{const p=t.inject("config",t.reactive(Object.assign({},Nu))),f=String(e.name),F=`icon${f.charAt(0).toUpperCase()+f.slice(1)}`;if(!f||typeof f!="string"||!cG(f))return;const Y=lG[f],w=t.h("path",{d:Y}),_=p.i18n[F]||e.title||f,n=t.h("title",_);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":_},[n,w])};bw.props={name:String,title:String};const uG=(e,{slots:p,attrs:f})=>{const{next:F,prev:Y}=p||{},w=t.inject("config",t.reactive(Object.assign({},Nu))),_=t.inject("maxSlide",t.ref(1)),n=t.inject("minSlide",t.ref(1)),g=t.inject("currentSlide",t.ref(1)),h=t.inject("nav",{}),{dir:r,wrapAround:v,i18n:y}=w,u=r==="rtl",o=t.h("button",{type:"button",class:["carousel__prev",!v&&g.value<=n.value&&"carousel__prev--disabled",f==null?void 0:f.class],"aria-label":y.ariaPreviousSlide,onClick:h.prev},(Y==null?void 0:Y())||t.h(bw,{name:u?"arrowRight":"arrowLeft"})),a=t.h("button",{type:"button",class:["carousel__next",!v&&g.value>=_.value&&"carousel__next--disabled",f==null?void 0:f.class],"aria-label":y.ariaNextSlide,onClick:h.next},(F==null?void 0:F())||t.h(bw,{name:u?"arrowLeft":"arrowRight"}));return[o,a]};var dG=t.defineComponent({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:p}){const f=t.inject("config",t.reactive(Object.assign({},Nu))),F=t.inject("currentSlide",t.ref(0)),Y=t.inject("slidesToScroll",t.ref(0)),w=t.inject("isSliding",t.ref(!1)),_=t.computed(()=>e.index===F.value),n=t.computed(()=>e.index===F.value-1),g=t.computed(()=>e.index===F.value+1),h=t.computed(()=>{const r=Math.floor(Y.value),v=Math.ceil(Y.value+f.itemsToShow-1);return e.index>=r&&e.index<=v});return()=>{var r;return t.h("li",{style:{width:`${100/f.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":h.value,"carousel__slide--active":_.value,"carousel__slide--prev":n.value,"carousel__slide--next":g.value,"carousel__slide--sliding":w.value},"aria-hidden":!h.value},(r=p.default)===null||r===void 0?void 0:r.call(p,{isActive:_.value,isClone:e.isClone,isPrev:n.value,isNext:g.value,isSliding:w.value,isVisible:h.value}))}}});const Kh=(e,p)=>{const f=e.__vccOpts||e;for(const[F,Y]of p)f[F]=Y;return f},HS=e=>(t.pushScopeId("data-v-d88e6c89"),e=e(),t.popScopeId(),e),hG={key:1,class:"match-day__live"},pG=HS(()=>t.createElementVNode("div",{class:"match-day__live__bullet"},null,-1)),fG=HS(()=>t.createElementVNode("div",{class:"match-day__live__text"},"LIVE",-1)),mG=[pG,fG],gG={__name:"MatchDay",props:{isLandingMode:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#183143"},numberColor:{type:String,default:"white"},numberFontFamily:{type:String,default:"sans-serif"},numberFontSize:{type:String,default:"14px"},textColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},textFontFamily:{type:String,default:"'Poppins-Regular', sans-serif"},textFontSize:{type:String,default:"8px"},bottomLineColor:{type:String,default:"#cbee6b"},selectedMatchDayBackgroundColor:{type:String,default:"#243b4c"},height:{type:String,default:"fit-content"},matchDay:{type:Object,default:()=>{}},matchDaySelected:{type:Object,default:()=>{}},componentWidth:{type:Number,default:0}},emits:["change-match-day"],setup(e,{emit:p}){const f=e,F=t.computed(()=>{const n={"background-color":f.backgroundColor,height:f.height};return f.matchDay.key===f.matchDaySelected.key&&(n["border-bottom"]=`solid 1px ${f.bottomLineColor}`,n["background-color"]=f.selectedMatchDayBackgroundColor),f.isLandingMode||(n["border-right"]="solid 1px rgba(255, 255, 255, 0.1)"),n}),Y=t.computed(()=>({color:f.numberColor,"font-family":f.numberFontFamily,"font-size":f.numberFontSize})),w=t.computed(()=>({color:f.textColor,"font-family":f.textFontFamily,"font-size":f.textFontSize}));function _(n){p("click-match-day",n)}return(n,g)=>(t.openBlock(),t.createElementBlock("div",{class:"match-day",style:t.normalizeStyle({...F.value}),onClick:g[0]||(g[0]=h=>_(e.matchDay))},[t.createElementVNode("div",{class:"match-day__value",style:t.normalizeStyle(Y.value)},t.toDisplayString(e.matchDay.valueText),5),!Number.isNaN(e.matchDay.value)&&!e.matchDay.liveGamesIds.size?(t.openBlock(),t.createElementBlock("div",{key:0,class:"match-day__text",style:t.normalizeStyle([e.isLandingMode?"margin-top:3px":"margin-top:4px",w.value])},t.toDisplayString(e.isLandingMode||e.componentWidth<=425?"JOR":"JORNADA"),5)):e.matchDay.liveGamesIds.size?(t.openBlock(),t.createElementBlock("div",hG,mG)):t.createCommentVNode("",!0)],4))}},yG=Kh(gG,[["__scopeId","data-v-d88e6c89"]]),vG={__name:"MatchDayPicker",props:{matchDays:{type:Array,default:()=>[]},isLandingMode:{type:Boolean,default:!1},backgroundColor:{type:String,default:"#183143"},numberColor:{type:String,default:"white"},numberFontFamily:{type:String,default:"sans-serif"},numberFontSize:{type:String,default:"14px"},textColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},textFontFamily:{type:String,default:"sans-serif"},textFontSize:{type:String,default:"8px"},bottomLineColor:{type:String,default:"#cbee6b"},selectedMatchDayBackgroundColor:{type:String,default:"#243b4c"},height:{type:String,default:"fit-content"},itemsToShow:{type:Number,default:9},itemsToScroll:{type:Number,default:9},defaultMatchDayKey:{type:[String,null],default:""},componentWidth:{type:Number,default:0},closestMatchDay:{type:[Number,String],default:0}},emits:["change-match-day"],setup(e,{emit:p}){const f=e;t.useCssVars(h=>({"59858af6":w.value,"5987b976":_.value}));const F=t.ref(null),Y=t.computed(()=>({itemsToShow:f.itemsToShow,itemsToScroll:f.itemsToScroll,snapAlign:"start"})),w=t.computed(()=>F.value.data.currentSlide.value==0?"none":"inline"),_=t.computed(()=>F.value.data.currentSlide.value==F.value.data.maxSlide.value?"none":"inline"),n=t.ref({});t.watch(()=>f.closestMatchDay,h=>{if(h){const r=f.matchDays.find(v=>v.key===h);g(r||f.matchDays[0],!0)}}),t.watch(()=>f.matchDays,h=>{if(!f.closestMatchDay&&h&&h.length){const r=h.find(v=>v.key===f.defaultMatchDayKey);n.value=r||h[0],p("change-match-day",n.value)}else f.closestMatchDay&&(n.value=h.find(r=>r.key===f.closestMatchDay)||{})},{immediate:!0});function g(h,r=!1){r&&F.value&&F.value.slideTo(h.index),n.value=h,p("change-match-day",n.value)}return(h,r)=>(t.openBlock(),t.createElementBlock("div",{class:"match-day-picker",style:t.normalizeStyle(e.isLandingMode?"border-top-left-radius: 9px; border-top-right-radius: 9px;":"margin-bottom:12px")},[(t.openBlock(),t.createBlock(t.unref(sG),t.mergeProps(Y.value,{modelValue:n.value.index,ref_key:"matchDayPickerCarousel",ref:F,key:n.value.index}),{addons:t.withCtx(()=>[t.createVNode(t.unref(uG))]),default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.matchDays,v=>(t.openBlock(),t.createBlock(t.unref(dG),{key:v.key},{default:t.withCtx(()=>[t.createVNode(yG,t.mergeProps(f,{"match-day":v,"match-day-selected":n.value,"is-landing-mode":e.isLandingMode,"component-width":e.componentWidth,onClickMatchDay:g}),null,16,["match-day","match-day-selected","is-landing-mode","component-width"])]),_:2},1024))),128))]),_:1},16,["modelValue"]))],4))}},_G=Kh(vG,[["__scopeId","data-v-85216dc3"]]);function Fp(e,p=80){return`${{}.TEAM_LOGOS_URL||"https://az755631.vo.msecnd.net/teams-"}${p}/${e}.png`}function WS(e){if(typeof e=="string"){let p=e.replace("M","J ");return p=p.replace("PO1","CFI"),p=p.replace("PO2","CFV"),p=p.replace("PO3","SFI"),p=p.replace("PO4","SFV"),p=p.replace("PO5","FI"),p=p.replace("PO6","FV"),p}}function bG(e){let p="";return e.game_status!=4&&(p+="Finalizado"),(e.penalties_score_home_team!=0||e.penalties_score_visiting_team!=0)&&(p+=" - Penales "+e.penalties_score_home_team+" - "+e.penalties_score_visiting_team),p}const xG={class:"game-info__teams"},wG={class:"game-info__teams__team__logo"},kG=["src"],SG={class:"game-info__teams__detail"},CG={key:0,class:"game-info__teams__detail__pre-game"},TG={class:"game-info__teams__team__logo away"},EG=["src"],AG={key:0},MG={key:0},IG={key:1},PG={__name:"GameInfo",props:{isLandingMode:{type:Boolean,default:!1},isAcronymVisible:{type:Boolean,default:!1},isTelevisionVisible:{type:Boolean,default:!0},game:{type:Object,required:!0},colorPrimary:{type:String,default:"white"},colorSecondary:{type:String,default:"grey"},namesFontSize:{type:String,default:"12px"},timeFontSize:{type:String,default:"12px"},timeZoneFontSize:{type:String,default:"8px"},scoreFontSize:{type:String,default:"13px"},namesFontFamily:{type:String,default:"sans-serif"},scoreFontFamily:{type:String,default:"sans-serif"},additionalInfoFontFamily:{type:String,default:"sans-serif"},additionalInfoFontSize:{type:String,default:"9px"}},setup(e){const p=e,f=t.computed(()=>{let h=p.game.schedule.split(":");return h.pop(),h=h.join(":"),h}),F=t.computed(()=>{let h="120px";return(p.isLandingMode||p.isAcronymVisible)&&(h="70px"),{"min-width":h}}),Y=t.computed(()=>({"font-size":p.namesFontSize,"font-family":p.namesFontFamily,color:p.colorPrimary})),w=t.computed(()=>({"font-size":p.additionalInfoFontSize,"font-family":p.additionalInfoFontFamily,color:p.colorSecondary})),_=t.computed(()=>({"font-size":p.scoreFontSize,"font-family":p.scoreFontFamily,color:p.colorPrimary})),n=t.computed(()=>({"font-size":p.timeZoneFontSize,"font-family":p.namesFontFamily,color:p.colorPrimary})),g=t.computed(()=>({"font-size":p.timeFontSize,"font-family":p.namesFontFamily,color:p.colorPrimary}));return(h,r)=>(t.openBlock(),t.createElementBlock("div",{class:"game-info",style:t.normalizeStyle(e.isLandingMode?"gap:5px":"")},[t.createElementVNode("div",xG,[t.createElementVNode("div",{class:"game-info__teams__team",style:t.normalizeStyle(F.value)},[t.createElementVNode("div",{class:"game-info__teams__team__name",style:t.normalizeStyle(Y.value)},t.toDisplayString(e.isLandingMode||e.isAcronymVisible?e.game.home_team.acronym:e.game.home_team.colloquial_name),5),t.createElementVNode("div",wG,[t.createElementVNode("img",{src:t.unref(Fp)(e.game.home_team.team_id),alt:""},null,8,kG)])],4),t.createElementVNode("div",SG,[e.game.game_status===4&&!e.game.is_live?(t.openBlock(),t.createElementBlock("div",CG,[t.createElementVNode("div",null,[t.createElementVNode("span",{style:t.normalizeStyle(g.value)},t.toDisplayString(f.value),5),t.createTextVNode(),t.createElementVNode("span",{style:t.normalizeStyle(n.value)},"CST",4)])])):(t.openBlock(),t.createElementBlock("div",{key:1,class:"game-info__teams__detail__score",style:t.normalizeStyle(_.value)},[t.createElementVNode("span",null,t.toDisplayString(e.game.score[0])+" - "+t.toDisplayString(e.game.score[1]),1)],4))]),t.createElementVNode("div",{class:"game-info__teams__team away",style:t.normalizeStyle(F.value)},[t.createElementVNode("div",TG,[t.createElementVNode("img",{src:t.unref(Fp)(e.game.visiting_team.team_id),alt:""},null,8,EG)]),t.createElementVNode("div",{class:"game-info__teams__team__name",style:t.normalizeStyle(Y.value)},t.toDisplayString(e.isLandingMode||e.isAcronymVisible?e.game.visiting_team.acronym:e.game.visiting_team.colloquial_name),5)],4)]),t.createElementVNode("div",{class:"game-info__status",style:t.normalizeStyle([w.value,e.isLandingMode?"line-height: normal":""])},[e.game.game_status===4&&!e.game.is_live?(t.openBlock(),t.createElementBlock("span",AG,[e.isTelevisionVisible?(t.openBlock(),t.createElementBlock("span",MG,t.toDisplayString(e.game.tv_stations.join(", ")),1)):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("span",IG,t.toDisplayString(t.unref(bG)(e.game)),1))],4)],4))}},qS=Kh(PG,[["__scopeId","data-v-87b8c34a"]]),YS=e=>(t.pushScopeId("data-v-8839c56d"),e=e(),t.popScopeId(),e),BG={class:"game-status"},zG={key:0,class:"game-status__day__live"},NG=YS(()=>t.createElementVNode("span",null,"LIVE",-1)),LG=YS(()=>t.createElementVNode("span",{class:"dot"},null,-1)),OG=[NG,LG],FG={key:0,class:"game-status__round"},DG={__name:"GameStatus",props:{isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},status:{type:Number,default:4},isLive:{type:Boolean,default:!1},dateTimeMillis:{type:Number,default:0},roundAbbreviation:{type:String,default:""},fontSize:{type:String,default:"10px"}},setup(e){const p=e,f=["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],F=t.computed(()=>{let _="";if(p.dateTimeMillis){const n=new Date(p.dateTimeMillis);_=`${n.getDate()} ${f[n.getMonth()]}`}return _}),Y=t.computed(()=>({"font-size":p.fontSize})),w=t.computed(()=>{let _=[];return p.isLive?_.push("live"):p.status!==1&&_.push("pre-match"),_});return(_,n)=>(t.openBlock(),t.createElementBlock("div",BG,[t.createElementVNode("div",{class:t.normalizeClass(["game-status__day",w.value]),style:t.normalizeStyle(Y.value)},[e.isLive?(t.openBlock(),t.createElementBlock("div",zG,OG)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(F.value),1)],64))],6),e.isRoundMode?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",FG,t.toDisplayString(e.roundAbbreviation),1))]))}},XS=Kh(DG,[["__scopeId","data-v-8839c56d"]]),Qh={SHOW_GAME_EVENTS:"SHOW_GAME_EVENTS",PLAY_GOALS:"PLAY_GOALS",PLAY_RESUME:"PLAY_RESUME",NOTIFICATION:"NOTIFICATION",STATISTICS:"STATISTICS"},RG=e=>(t.pushScopeId("data-v-0d97b1a8"),e=e(),t.popScopeId(),e),VG={class:"actions"},jG={class:"actions__row"},$G=RG(()=>t.createElementVNode("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.87471 3.35132C9.31653 3.35132 9.67471 3.70949 9.67471 4.15132V10.4531C9.67471 10.8949 9.31653 11.2531 8.87471 11.2531C8.43288 11.2531 8.07471 10.8949 8.07471 10.4531V4.15132C8.07471 3.70949 8.43288 3.35132 8.87471 3.35132Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.67549 0.199951C5.11732 0.199951 5.47549 0.558123 5.47549 0.999951V10.4526C5.47549 10.8944 5.11732 11.2526 4.67549 11.2526C4.23366 11.2526 3.87549 10.8944 3.87549 10.4526V0.999951C3.87549 0.558123 4.23366 0.199951 4.67549 0.199951Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.0002 5.45154C1.44202 5.45154 1.8002 5.80971 1.8002 6.25154V10.4527C1.8002 10.8945 1.44202 11.2527 1.0002 11.2527C0.558368 11.2527 0.200195 10.8945 0.200195 10.4527V6.25154C0.200195 5.80971 0.558368 5.45154 1.0002 5.45154Z",fill:"#EEEC6B"})],-1)),UG=[$G],GG={width:"6",height:"8",viewBox:"0 0 6 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},HG=["fill"],WG={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qG=["fill"],YG={__name:"GameActionsLanding",props:{gameStatus:{type:Number,default:4},isLive:{type:Boolean,default:!1},hasVideo:{type:Boolean,default:!1},iconColor:{type:String,default:"#CBEE6B"},iconBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0.2)"},iconBorderColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},showPlayButton:{type:Boolean,default:!1}},emits:["action"],setup(e,{emit:p}){const f=e,F=t.computed(()=>({backgroundColor:f.iconBackgroundColor,borderColor:f.iconBorderColor}));function Y(w){p("action",w)}return(w,_)=>(t.openBlock(),t.createElementBlock("div",VG,[t.createElementVNode("div",jG,[t.createElementVNode("div",{class:"actions__button rounded",style:t.normalizeStyle(F.value),onClick:_[0]||(_[0]=n=>Y(t.unref(Qh).STATISTICS))},UG,4),e.showPlayButton&&e.hasVideo?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button rounded",style:t.normalizeStyle(F.value),onClick:_[1]||(_[1]=n=>Y(t.unref(Qh).PLAY_RESUME))},[(t.openBlock(),t.createElementBlock("svg",GG,[t.createElementVNode("path",{d:"M0.442694 7.9474C0.385489 7.90953 0.337676 7.85295 0.304408 7.78375C0.27114 7.71456 0.25368 7.63538 0.253908 7.55475V0.444134C0.253987 0.363779 0.271562 0.284951 0.304765 0.216032C0.337968 0.147113 0.385557 0.090677 0.442475 0.0527243C0.499393 0.0147716 0.563511 -0.00327964 0.628014 0.000489552C0.692517 0.00425874 0.754994 0.0297075 0.808803 0.0741304L5.09491 3.62986C5.14387 3.67036 5.18401 3.7253 5.21178 3.78978C5.23955 3.85426 5.25409 3.92628 5.25409 3.99944C5.25409 4.0726 5.23955 4.14462 5.21178 4.2091C5.18401 4.27358 5.14387 4.32852 5.09491 4.36902L0.808803 7.92559C0.755077 7.97011 0.692648 7.99565 0.628173 7.99949C0.563698 8.00333 0.499593 7.98533 0.442694 7.9474Z",fill:f.iconColor},null,8,HG)]))],4)):t.createCommentVNode("",!0),e.gameStatus===4444&&!e.isLive?(t.openBlock(),t.createElementBlock("div",{key:1,class:"actions__button",onClick:_[2]||(_[2]=n=>Y(t.unref(Qh).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",WG,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:f.iconColor},null,8,qG)]))])):t.createCommentVNode("",!0)])]))}},XG=Kh(YG,[["__scopeId","data-v-0d97b1a8"]]),xw=e=>(t.pushScopeId("data-v-7ec0f118"),e=e(),t.popScopeId(),e),ZG={class:"actions"},JG={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},KG=["fill"],QG={width:"6",height:"8",viewBox:"0 0 6 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eH=["fill"],tH=xw(()=>t.createElementVNode("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.87471 3.35132C9.31653 3.35132 9.67471 3.70949 9.67471 4.15132V10.4531C9.67471 10.8949 9.31653 11.2531 8.87471 11.2531C8.43288 11.2531 8.07471 10.8949 8.07471 10.4531V4.15132C8.07471 3.70949 8.43288 3.35132 8.87471 3.35132Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.67549 0.199951C5.11732 0.199951 5.47549 0.558123 5.47549 0.999951V10.4526C5.47549 10.8944 5.11732 11.2526 4.67549 11.2526C4.23366 11.2526 3.87549 10.8944 3.87549 10.4526V0.999951C3.87549 0.558123 4.23366 0.199951 4.67549 0.199951Z",fill:"#EEEC6B"}),t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.0002 5.45154C1.44202 5.45154 1.8002 5.80971 1.8002 6.25154V10.4527C1.8002 10.8945 1.44202 11.2527 1.0002 11.2527C0.558368 11.2527 0.200195 10.8945 0.200195 10.4527V6.25154C0.200195 5.80971 0.558368 5.45154 1.0002 5.45154Z",fill:"#EEEC6B"})],-1)),nH=[tH],rH={key:0,class:"actions__videos"},aH={width:"13",height:"16",viewBox:"0 0 13 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iH=["fill"],oH={key:1,class:"actions__videos__thumbnails"},sH=xw(()=>t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__goals"},null,-1)),lH=xw(()=>t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__summary"},null,-1)),cH={height:24,width:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uH=["stroke"],dH={__name:"GameActionsFull",props:{gameStatus:{type:Number,default:4},isLive:{type:Boolean,default:!1},hasVideo:{type:Boolean,default:!1},hasActions:{type:Boolean,default:!0},hasGoals:{type:Boolean,default:!0},areEventsVisible:{type:Boolean,default:!1},iconColor:{type:String,default:"#CBEE6B"},iconBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0.2)"},iconBorderColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},showPlayButton:{type:Boolean,default:!1},arrowColor:{type:String,default:"white"},thumbnailFontFamily:{type:String,default:"sans-serif"},thumbnailFontSize:{type:String,default:"8px"},thumbnailColor:{type:String,default:"rgba(255, 255, 255, 0.5)"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:p}){const f=e,F=t.computed(()=>({backgroundColor:f.iconBackgroundColor,borderColor:f.iconBorderColor})),Y=t.computed(()=>{const g=[];return f.componentWidth<540&&g.push("mobile"),g}),w=t.computed(()=>f.componentWidth>730),_=t.computed(()=>({color:f.thumbnailColor,fontFamily:f.thumbnailFontFamily,fontSize:f.thumbnailFontSize}));function n(g){p("action",g)}return(g,h)=>(t.openBlock(),t.createElementBlock("div",ZG,[t.createElementVNode("div",{class:t.normalizeClass(["actions__buttons",Y.value])},[e.gameStatus===4444&&!e.isLive&&!w.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button",onClick:h[0]||(h[0]=r=>n(t.unref(Qh).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",JG,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:f.iconColor},null,8,KG)]))])):t.createCommentVNode("",!0),e.showPlayButton&&e.hasVideo&&!w.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:"actions__button rounded",style:t.normalizeStyle(F.value),onClick:h[1]||(h[1]=r=>n(t.unref(Qh).PLAY_RESUME))},[(t.openBlock(),t.createElementBlock("svg",QG,[t.createElementVNode("path",{d:"M0.442694 7.9474C0.385489 7.90953 0.337676 7.85295 0.304408 7.78375C0.27114 7.71456 0.25368 7.63538 0.253908 7.55475V0.444134C0.253987 0.363779 0.271562 0.284951 0.304765 0.216032C0.337968 0.147113 0.385557 0.090677 0.442475 0.0527243C0.499393 0.0147716 0.563511 -0.00327964 0.628014 0.000489552C0.692517 0.00425874 0.754994 0.0297075 0.808803 0.0741304L5.09491 3.62986C5.14387 3.67036 5.18401 3.7253 5.21178 3.78978C5.23955 3.85426 5.25409 3.92628 5.25409 3.99944C5.25409 4.0726 5.23955 4.14462 5.21178 4.2091C5.18401 4.27358 5.14387 4.32852 5.09491 4.36902L0.808803 7.92559C0.755077 7.97011 0.692648 7.99565 0.628173 7.99949C0.563698 8.00333 0.499593 7.98533 0.442694 7.9474Z",fill:f.iconColor},null,8,eH)]))],4)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"actions__button rounded",style:t.normalizeStyle(F.value),onClick:h[2]||(h[2]=r=>n(t.unref(Qh).STATISTICS))},nH,4)],2),w.value?(t.openBlock(),t.createElementBlock("div",rH,[e.gameStatus===4444&&!e.isLive?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__button",onClick:h[3]||(h[3]=r=>n(t.unref(Qh).NOTIFICATION))},[(t.openBlock(),t.createElementBlock("svg",aH,[t.createElementVNode("path",{d:"M5.056 14.476h2.888c0 .838-.65 1.524-1.444 1.524-.794 0-1.444-.686-1.444-1.524zM13 12.952v.762H0v-.762l1.444-1.523V6.857c0-2.362 1.445-4.419 3.612-5.105v-.228C5.056.686 5.706 0 6.5 0c.794 0 1.444.686 1.444 1.524v.228c2.167.686 3.612 2.743 3.612 5.105v4.572L13 12.952zm-2.889-6.095c0-2.133-1.589-3.81-3.611-3.81-2.022 0-3.611 1.677-3.611 3.81v5.333h7.222V6.857z",fill:f.iconColor},null,8,iH)]))])):t.createCommentVNode("",!0),e.showPlayButton&&e.hasVideo?(t.openBlock(),t.createElementBlock("div",oH,[e.hasGoals?(t.openBlock(),t.createElementBlock("div",{key:0,class:"actions__videos__thumbnails__thumbnail",onClick:h[4]||(h[4]=r=>n(t.unref(Qh).PLAY_GOALS))},[sH,t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__text",style:t.normalizeStyle(_.value)}," Goles ",4)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail",onClick:h[5]||(h[5]=r=>n(t.unref(Qh).PLAY_RESUME))},[lH,t.createElementVNode("div",{class:"actions__videos__thumbnails__thumbnail__text",style:t.normalizeStyle(_.value)}," Resumen ",4)])])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),(e.gameStatus!==4||e.isLive)&&e.hasActions?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["actions__button expand",{"rotated-180":e.areEventsVisible,mobile:e.componentWidth<540}]),onClick:h[6]||(h[6]=r=>n(t.unref(Qh).SHOW_GAME_EVENTS))},[(t.openBlock(),t.createElementBlock("svg",cH,[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,uH)]))],2)):(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(["actions__button expand",{"rotated-180":!1,mobile:e.componentWidth<540}])},null,2))]))}},hH=Kh(dH,[["__scopeId","data-v-7ec0f118"]]),G2=e=>(t.pushScopeId("data-v-58b99b1d"),e=e(),t.popScopeId(),e),pH={class:"row-landing__game-status"},fH={class:"row-landing__game-actions"},mH={class:"row-full__game-status"},gH={class:"row-full__game-info"},yH={key:0},vH={class:"row-full__game-actions"},_H={class:"game-events-container"},bH=G2(()=>t.createElementVNode("div",{class:"separator"},null,-1)),xH=G2(()=>t.createElementVNode("div",null,null,-1)),wH={class:"game-events__data"},kH={class:"game-events__data__team"},SH=["src"],CH={class:"game-events__data__team__event__text"},TH={class:"game-events__data__team away"},EH={class:"game-events__data__team__event__text"},AH=["src"],MH=G2(()=>t.createElementVNode("div",null,null,-1)),IH=G2(()=>t.createElementVNode("div",null,null,-1)),PH={__name:"CalendarRow",props:{teamId:{type:Number,default:0},showVideos:{type:Number,default:0},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},game:{type:Object,required:!0},height:{type:String,default:"fit-content"},backgroundColor:{type:String,default:"#172531"},showPlayButton:{type:Boolean,default:!1},componentWidth:{type:Number,default:400,validator(e){return e>0}},televisionFontSize:{type:String,default:"12px"},televisionFontFamily:{type:String,default:"sans-serif"},televisionColor:{type:String,default:"rgba(255, 255, 255, 0.5)"}},emits:["action"],setup(e,{emit:p}){const f=e,F={GOAL:{}.GAME_EVENTS_ICONS_GOAL||"/icn-gol.svg",RED_CARD:{}.GAME_EVENTS_ICONS_RED_CARD||"/icn-expulsion.svg",YELLOW_CARD:{}.GAME_EVENTS_ICONS_YELLOW_CARD||"/icn-amarilla.svg"},Y=t.ref(!1),w=t.ref(!1),_=t.computed(()=>{const i={homeTeam:[],awayTeam:[]};return f.game&&f.game.game_status!==4&&!f.game.is_live&&f.game.minutes&&(i.homeTeam.push(...o(f.game.minutes.home_goals_minutes,F.GOAL)),i.homeTeam.push(...o(f.game.minutes.home_red_cards_minutes,F.RED_CARD)),i.homeTeam.push(...o(f.game.minutes.home_yellow_cards_minutes,F.YELLOW_CARD)),i.awayTeam.push(...o(f.game.minutes.visiting_goals_minutes,F.GOAL)),i.awayTeam.push(...o(f.game.minutes.away_red_cards_minutes,F.RED_CARD)),i.awayTeam.push(...o(f.game.minutes.away_yellow_cards_minutes,F.YELLOW_CARD))),i}),n=t.computed(()=>{const i=_.value.homeTeam.length,l=_.value.awayTeam.length;return i+l>0}),g=t.computed(()=>{const i=f.game.score[0],l=f.game.score[1];return i>0||l>0}),h=t.computed(()=>({"background-color":f.backgroundColor})),r=t.computed(()=>({height:f.height})),v=t.computed(()=>{const i={game:[],events:[]};return f.componentWidth<500?(i.events.push("break-point-3"),i.game.push("break-point-2")):f.componentWidth<730?(i.game.push("break-point-2"),i.events.push("break-point-2")):f.componentWidth<910&&(i.game.push("break-point-1"),i.events.push("break-point-1")),i}),y=t.computed(()=>({isLandingMode:f.isLandingMode,game:f.game,colorPrimary:"#fff",colorSecondary:"#fff",namesFontSize:"12px",timeFontSize:"12px",timeZoneFontSize:"8px",scoreFontSize:"13px",namesFontFamily:"sans-serif",scoreFontFamily:"sans-serif",additionalInfoFontFamily:"sans-serif",additionalInfoFontSize:"9px"})),u=t.computed(()=>({"font-size":f.televisionFontSize,"font-family":f.televisionFontFamily,color:f.televisionColor}));t.watch(()=>f.componentWidth,i=>{w.value=i<910});function o(i,l){return i.map(s=>({iconUrl:l,text:s}))}function a(i){i===Qh.SHOW_GAME_EVENTS?Y.value=!Y.value:p("action",{action:i,game:f.game})}return(i,l)=>e.isLandingMode?(t.openBlock(),t.createElementBlock("div",{key:0,class:"row-landing",style:t.normalizeStyle(h.value)},[t.createVNode(qS,{game:e.game,"is-landing-mode":e.isLandingMode},null,8,["game","is-landing-mode"]),t.createElementVNode("div",pH,[t.createVNode(XS,{status:e.game.game_status,"is-live":!!e.game.is_live,"date-time-millis":e.game.dateTimeMillis,"round-abbreviation":t.unref(WS)(e.game.matchday_abbreviation),"is-landing-mode":e.isLandingMode,"is-round-mode":e.isRoundMode,"font-size":"10px"},null,8,["status","is-live","date-time-millis","round-abbreviation","is-landing-mode","is-round-mode"])]),t.createElementVNode("div",fH,[e.game.home_team?(t.openBlock(),t.createBlock(XG,{key:0,"is-live":!!e.game.is_live,"has-video":e.showVideos==0||e.showVideos==1&&e.teamId==e.game.home_team.team_id?!!e.game.has_video:!1,"game-status":e.game.game_status,"show-play-button":!0,onAction:a},null,8,["is-live","has-video","game-status"])):t.createCommentVNode("",!0)])],4)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"row-full-container",style:t.normalizeStyle(h.value)},[t.createElementVNode("div",{class:t.normalizeClass(["row-full",v.value.game]),style:t.normalizeStyle(r.value)},[t.createElementVNode("div",mH,[t.createVNode(XS,{status:e.game.game_status,"is-live":!!e.game.is_live,"date-time-millis":e.game.dateTimeMillis,"round-abbreviation":t.unref(WS)(e.game.matchday_abbreviation),"is-landing-mode":e.isLandingMode,"is-round-mode":e.isRoundMode,"font-size":"10px"},null,8,["status","is-live","date-time-millis","round-abbreviation","is-landing-mode","is-round-mode"])]),t.createElementVNode("div",gH,[t.createVNode(qS,t.mergeProps(y.value,{"is-television-visible":w.value,game:e.game,"is-landing-mode":e.isLandingMode,"is-acronym-visible":e.componentWidth<540}),null,16,["is-television-visible","game","is-landing-mode","is-acronym-visible"])]),e.componentWidth>=910?(t.openBlock(),t.createElementBlock("div",{key:0,class:"row-full__television",style:t.normalizeStyle(u.value)},[!w.value&&(e.game.game_status===4||e.game.is_live)?(t.openBlock(),t.createElementBlock("span",yH,t.toDisplayString(e.game.tv_stations.join(", ")),1)):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0),t.createElementVNode("div",vH,[e.game.home_team?(t.openBlock(),t.createBlock(hH,{key:0,"is-live":!!e.game.is_live,"has-video":e.showVideos==0||e.showVideos==1&&e.teamId==e.game.home_team.team_id?!!e.game.has_video:!1,"has-actions":n.value,"has-goals":e.showVideos==0||e.showVideos==1&&e.teamId==e.game.home_team.team_id?g.value:!1,"game-status":e.game.game_status,"show-play-button":!0,"are-events-visible":Y.value,"component-width":e.componentWidth,onAction:a},null,8,["is-live","has-video","has-actions","has-goals","game-status","are-events-visible","component-width"])):t.createCommentVNode("",!0)])],6),t.createVNode(t.Transition,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",_H,[bH,t.createElementVNode("div",{class:t.normalizeClass(["game-events",v.value.events])},[xH,t.createElementVNode("div",wH,[t.createElementVNode("div",kH,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.homeTeam,(s,c)=>(t.openBlock(),t.createElementBlock("div",{key:`h${c}`,class:"game-events__data__team__event"},[t.createElementVNode("img",{src:s.iconUrl},null,8,SH),t.createElementVNode("div",CH,t.toDisplayString(s.text),1)]))),128))]),t.createElementVNode("div",TH,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.awayTeam,(s,c)=>(t.openBlock(),t.createElementBlock("div",{key:`a${c}`,class:"game-events__data__team__event"},[t.createElementVNode("div",EH,t.toDisplayString(s.text),1),t.createElementVNode("img",{src:s.iconUrl},null,8,AH)]))),128))])]),MH,IH],2)],512),[[t.vShow,Y.value]])]),_:1})],4))}},ZS=Kh(PH,[["__scopeId","data-v-58b99b1d"]]),BH={class:"calendar-table"},zH={__name:"CalendarTable",props:{teamId:{type:Number,default:0},showVideos:{type:Number,default:0},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},gamesPerPage:{type:Array,default:()=>[]},rowHeight:{type:String,default:"fit-content"},oddRowColor:{type:String,default:"#172531"},evenRowColor:{type:String,default:"#0D1D29"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:p}){const f=e;function F(w){return w%2===0?f.evenRowColor:f.oddRowColor}function Y(w){p("action",w)}return(w,_)=>(t.openBlock(),t.createElementBlock("div",BH,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.gamesPerPage,(n,g)=>(t.openBlock(),t.createBlock(ZS,{key:n.game_id,game:n,"team-id":e.teamId,"show-videos":e.showVideos,"is-landing-mode":e.isLandingMode,height:e.rowHeight,"background-color":F(g),"component-width":e.componentWidth,"is-round-mode":e.isRoundMode,onAction:Y},null,8,["game","team-id","show-videos","is-landing-mode","height","background-color","component-width","is-round-mode"]))),128))]))}},NH=Kh(zH,[["__scopeId","data-v-ebabdc0c"]]),LH={class:"calendar-by-team"},OH={class:"playing-as-picker"},FH={class:"calendar-by-team__page"},DH={__name:"CalendarTableByTeam",props:{showVideos:{type:Number,default:0},teamId:{type:Number,default:0},isPaginationVisible:{type:Boolean,default:!0},gamesPages:{type:Map,default:()=>new Map},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},rowHeight:{type:String,default:"fit-content"},nameRowColor:{type:String,default:"#172531"},gameRowColor:{type:String,default:"#0D1D29"},componentWidth:{type:Number,default:400,validator(e){return e>0}}},emits:["action"],setup(e,{emit:p}){const f=e,F=t.ref(0),Y=t.computed(()=>{let g=[];if(f.gamesPages.size>0){const h=Array.from(f.gamesPages.entries()).reduce((r,[v,y])=>{const u=Number(v),o=Number.isNaN(u)?v:`Jornada ${u<10?"0":""}${u}`,a=y.reduce((i,l)=>(i.push(...l),i),[]).filter(i=>F.value===0||F.value===1&&i.visiting_team.team_id===f.teamId?!0:F.value===2&&i.home_team.team_id===f.teamId);return a.length>0&&r.push({roundName:o,games:a}),r},[]);g.push(h)}return g});function w(g){p("action",g)}function _(g){document.querySelector("#opc0").classList.remove("selected"),document.querySelector("#opc1").classList.remove("selected"),document.querySelector("#opc2").classList.remove("selected"),F.value=g,document.querySelector("#opc"+g).classList.add("selected")}function n(g){let h=g;switch(g){case"PI1":h="Play In 1";break;case"PI2":h="Play In 2";break;case"R1":h="Repechaje";break;case"CFI":h="Cuartos de final - Ida";break;case"CFV":h="Cuartos de final - Vuelta";break;case"SFI":h="Semifinal - Ida";break;case"SFV":h="Semifinal - Vuelta";break;case"FI":h="Final - Ida";break;case"FV":h="Final - Vuelta";break}return h}return(g,h)=>(t.openBlock(),t.createElementBlock("div",LH,[t.createElementVNode("div",OH,[t.createElementVNode("div",{class:"playing-as-picker__type selected",id:"opc0",onClick:h[0]||(h[0]=r=>_(0))}," Todas "),t.createElementVNode("div",{class:"playing-as-picker__type",id:"opc1",onClick:h[1]||(h[1]=r=>_(1))},"Visitante"),t.createElementVNode("div",{class:"playing-as-picker__type",id:"opc2",onClick:h[2]||(h[2]=r=>_(2))},"Local")]),t.createVNode(t.unref($S),{"is-pagination-visible":e.isPaginationVisible,items:Y.value},{default:t.withCtx(({item:r})=>[t.createElementVNode("div",FH,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r,(v,y)=>(t.openBlock(),t.createElementBlock("div",{key:y,class:"calendar-by-team__page__round"},[t.createElementVNode("div",{class:"calendar-by-team__page__round__round-name",style:t.normalizeStyle([{color:"white"},e.componentWidth<=425?"padding: 5px 10px":""])},t.toDisplayString(n(v.roundName)),5),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.games,u=>(t.openBlock(),t.createBlock(ZS,{key:u.game_id,game:u,"team-id":e.teamId,"show-videos":e.showVideos,"is-landing-mode":e.isLandingMode,height:e.rowHeight,"background-color":e.gameRowColor,"component-width":e.componentWidth,"is-round-mode":e.isRoundMode,onAction:w},null,8,["game","team-id","show-videos","is-landing-mode","height","background-color","component-width","is-round-mode"]))),128))]))),128))])]),_:1},8,["is-pagination-visible","items"])]))}},RH=Kh(DH,[["__scopeId","data-v-d93dcb09"]]),VH="_pccard_1ie6f_3",jH="_pcmobile_1ie6f_19",$H="_headerinfomobile_1ie6f_29",UH="_liveMinutes_1ie6f_37",GH="_viewButtomEvent_1ie6f_47",HH="_viewButtomEventMobile_1ie6f_79",WH="_containerEvents_1ie6f_111",qH="_sepEvents_1ie6f_125",YH="_goalsContainer_1ie6f_147",XH="_yellowContainer_1ie6f_165",ZH="_redContainer_1ie6f_183",JH="_containerEventsGameHometeam_1ie6f_201",KH="_containerEventsGameAwayteam_1ie6f_229",QH="_image62Icon_1ie6f_257",eW="_imgChivasIcon_1ie6f_277",tW="_nameDesktop_1ie6f_293",nW="_nameMobile_1ie6f_321",rW="_homeTeam_1ie6f_347",aW="_sbado16De_1ie6f_371",iW="_gameDate_1ie6f_389",oW="_sab16092023_1ie6f_397",sW="_div_1ie6f_425",lW="_divscore_1ie6f_443",cW="_cst_1ie6f_463",uW="_hour_1ie6f_483",dW="_score_1ie6f_485",hW="_chivasTvCanal_1ie6f_507",pW="_gameStatus_1ie6f_531",fW="_matchInfo_1ie6f_553",mW="_image62Icon1_1ie6f_583",gW="_name_1ie6f_293",yW="_imgAtlasIcon_1ie6f_631",vW="_name1_1ie6f_647",_W="_awayTeam_1ie6f_673",bW="_matchCard_1ie6f_697",xW="_headereventsmobile_1ie6f_1069",wW="_headereventsmobilecont_1ie6f_1089",kW="_headereventsmobilecontlocal_1ie6f_1105",SW="_icongoalheader_1ie6f_1119",CW="_conttarjetasmobile_1ie6f_1131",TW="_conttarjetasmobileyellow_1ie6f_1143",EW="_iconmobileyellow_1ie6f_1157",AW="_txtmobileyellow_1ie6f_1175",MW="_iconmobilered_1ie6f_1205",IW="_txtmobilered_1ie6f_1223",PW="_conttarjetasmobilered_1ie6f_1255",BW="_itemmobilgoal_1ie6f_1269",zW="_goalscontainermobile_1ie6f_1299",NW="_headereventsmobileconttitle_1ie6f_1331",LW="_headereventsmobilecontaway_1ie6f_1381",OW={pccard:VH,pcmobile:jH,headerinfomobile:$H,liveMinutes:UH,viewButtomEvent:GH,viewButtomEventMobile:HH,containerEvents:WH,sepEvents:qH,goalsContainer:YH,yellowContainer:XH,redContainer:ZH,containerEventsGameHometeam:JH,containerEventsGameAwayteam:KH,image62Icon:QH,imgChivasIcon:eW,nameDesktop:tW,nameMobile:nW,homeTeam:rW,sbado16De:aW,gameDate:iW,sab16092023:oW,div:sW,divscore:lW,cst:cW,hour:uW,score:dW,chivasTvCanal:hW,gameStatus:pW,matchInfo:fW,image62Icon1:mW,name:gW,imgAtlasIcon:yW,name1:vW,awayTeam:_W,matchCard:bW,headereventsmobile:xW,headereventsmobilecont:wW,headereventsmobilecontlocal:kW,icongoalheader:SW,conttarjetasmobile:CW,conttarjetasmobileyellow:TW,iconmobileyellow:EW,txtmobileyellow:AW,iconmobilered:MW,txtmobilered:IW,conttarjetasmobilered:PW,itemmobilgoal:BW,goalscontainermobile:zW,headereventsmobileconttitle:NW,headereventsmobilecontaway:LW},FW=["src"],DW=["src"],RW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/players-goals-con-goles.png"},null,-1),VW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/red_card.png"},null,-1),jW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/yellow_card.png"},null,-1),$W=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/players-goals-con-goles.png"},null,-1),UW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/red_card.png"},null,-1),GW=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/yellow_card.png"},null,-1),HW=t.createElementVNode("img",{src:"http://golstatsimages.blob.core.windows.net/todoelfut/point-indicador-live.png"},null,-1),WW={key:0},qW=t.createElementVNode("div",null,"ver desglose",-1),YW=t.createElementVNode("img",{width:"13",style:{"margin-top":"1px"},src:"http://golstatsimages.blob.core.windows.net/todoelfut/arrow-live-down.png"},null,-1),XW=["src"],ZW=["src"],JW={key:0,width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/players-goals-con-goles.png"},KW={key:0,width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/red_card.png"},QW={key:0,width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/yellow_card.png"},eq=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/players-goals-con-goles.png"},null,-1),tq=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/red_card.png"},null,-1),nq=t.createElementVNode("img",{width:"10",src:"https://az755631.vo.msecnd.net/todoelfut/yellow_card.png"},null,-1),rq=["src"],aq=["src"],iq=t.createElementVNode("img",{src:"http://golstatsimages.blob.core.windows.net/todoelfut/point-indicador-live.png"},null,-1),oq={key:0},sq=["src"],lq=["src"],cq=t.createElementVNode("img",{width:"12",style:{position:"absolute"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-soccer-ball@2x.png"},null,-1),uq=[cq],dq=t.createElementVNode("img",{width:"12",style:{position:"absolute"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-soccer-ball@2x.png"},null,-1),hq=[dq],pq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-yellow-card@2x.png"},null,-1),fq=[pq],mq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-red-card@2x.png"},null,-1),gq=[mq],yq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-yellow-card@2x.png"},null,-1),vq=[yq],_q=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-red-card@2x.png"},null,-1),bq=[_q],xq=t.createElementVNode("img",{style:{"margin-left":"6px"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-down.png"},null,-1),wq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-yellow-card@2x.png"},null,-1),kq=[wq],Sq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-red-card@2x.png"},null,-1),Cq=[Sq],Tq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-yellow-card@2x.png"},null,-1),Eq=[Tq],Aq=t.createElementVNode("img",{style:{position:"absolute","margin-top":"1px"},width:"7",src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-red-card@2x.png"},null,-1),Mq=[Aq],Iq=t.createElementVNode("img",{width:"12",style:{position:"absolute"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-soccer-ball@2x.png"},null,-1),Pq=[Iq],Bq=t.createElementVNode("img",{width:"12",style:{position:"absolute"},src:"http://golstatsimages.blob.core.windows.net/playlist-icons/icn-soccer-ball@2x.png"},null,-1),zq=[Bq],Nq={__name:"CardPreMatch",props:{game:{type:Object,default:()=>{}},playsLive:{type:Object,default:()=>{}},is_captured:{type:Number,default:1},infoLive:{type:Object,default:()=>{}}},emits:["open-modal-event"],setup(e,{emit:p}){const f=e,F=new Map([[1,45],[2,90],[3,105],[4,120]]),Y=t.computed(()=>{if(f.game.isMT)return"MT";const r=F.get(f.infoLive.recent_lapse);return r&&r<f.infoLive.minute?`${r}' + ${f.infoLive.minute-r}'`:`${f.infoLive.minute}'`}),w=t.computed(()=>{let r=0,v=0,y=!1;var u=!1;return Object.keys(f.infoLive).includes("score")&&(f.infoLive.score["own_"+f.game.home_team.team_id]!=null&&f.infoLive.score["own_"+f.game.home_team.team_id]!=0&&(u=!0),f.infoLive.score["own_"+f.game.visiting_team.team_id]!=null&&f.infoLive.score["own_"+f.game.visiting_team.team_id]!=0&&(y=!0),y?f.infoLive.score[f.game.home_team.team_id]!=null&&(r=parseInt(f.infoLive.score[f.game.home_team.team_id])+parseInt(f.infoLive.score["own_"+f.game.visiting_team.team_id])):f.infoLive.score[f.game.home_team.team_id]!=null&&(r=parseInt(f.infoLive.score[f.game.home_team.team_id])),u?f.infoLive.score[f.game.visiting_team.team_id]!=null&&(v=parseInt(f.infoLive.score[f.game.visiting_team.team_id])+parseInt(f.infoLive.score["own_"+f.game.home_team.team_id])):f.infoLive.score[f.game.visiting_team.team_id]!=null&&(v=parseInt(f.infoLive.score[f.game.visiting_team.team_id]))),r+" - "+v}),_=t.computed(()=>{const r={...f.game};return r.gameSchedule=f.game.schedule.split(":"),r.gameSchedule.pop(),r.gameSchedule=r.gameSchedule.join(":"),r});function n(r){let v=r.split(" "),y=v[v.length-2];return y.includes("+")?v[v.length-3]+"+"+v[v.length-1]:(y=v[v.length-1],y)}function g(r){p("open-modal-event",r)}function h(r,v){const y=new Date(r);if(v==1){const u=["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],o=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"];return`${u[y.getDay()]} ${y.getDate()} de ${o[y.getMonth()]}`}else return`${y.getDate()}-${y.getMonth()+1}-${y.getFullYear()}`}return(r,v)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(r.$style.matchCard)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.pccard)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.homeTeam),id:"container-home-team"},[t.createElementVNode("img",{class:t.normalizeClass(r.$style.image62Icon),alt:"",src:t.unref(Fp)(_.value.home_team.team_id,150)},null,10,FW),t.createElementVNode("img",{class:t.normalizeClass(r.$style.imgChivasIcon),alt:"",src:t.unref(Fp)(_.value.home_team.team_id)},null,10,DW),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.nameDesktop),id:"team-name"},t.toDisplayString(_.value.home_team.colloquial_name),3),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.nameMobile),id:"team-name"},t.toDisplayString(_.value.home_team.acronym),3),_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.is_live==0&&_.value.game_status==1||Object.keys(_.value.minutes).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.containerEventsGameHometeam)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.containerEvents)},[_.value.minutes.home_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.goalsContainer)},[RW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.home_goals_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y).replace("(AG)",""))+" ",1),u!=_.value.minutes.home_goals_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0),_.value.minutes.home_red_cards_minutes.length>0&&_.value.minutes.home_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),_.value.minutes.home_red_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(r.$style.yellowContainer)},[VW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.home_red_cards_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y))+" ",1),u!=_.value.minutes.home_red_cards_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0),_.value.minutes.home_red_cards_minutes.length>0||_.value.minutes.home_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),_.value.minutes.home_yellow_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(r.$style.redContainer)},[jW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.home_yellow_cards_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y))+" ",1),u!=_.value.minutes.home_yellow_cards_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],2)],2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.containerEventsGameHometeam)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.containerEvents)},[Object.keys(e.playsLive).length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.home_team.team_id]&&"goals"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive[e.game.home_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.goalsContainer)},[$W,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.home_team.team_id].goals),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.home_team.team_id].goals[y].event.map(o=>`${o}`).join(", ").replace("(AG)",""))+"' ",1),u!=Object.keys(e.playsLive[e.game.home_team.team_id].goals).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.playsLive[e.game.home_team.team_id]&&"red"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.playsLive[e.game.home_team.team_id].red).length>0&&Object.keys(e.playsLive[e.game.home_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),Object.keys(e.playsLive[e.game.home_team.team_id].red).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.yellowContainer)},[UW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.home_team.team_id].red),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.home_team.team_id].red[y].event.map(o=>`${o}`).join(", "))+"' ",1),u!=Object.keys(e.playsLive[e.game.home_team.team_id].red).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.playsLive[e.game.home_team.team_id]&&"yellow"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[Object.keys(e.playsLive[e.game.home_team.team_id].red).length>0||Object.keys(e.playsLive[e.game.home_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),Object.keys(e.playsLive[e.game.home_team.team_id].yellow).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.redContainer)},[GW,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.home_team.team_id].yellow),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.home_team.team_id].yellow[y].event.map(o=>`${o}`).join(", "))+"' ",1),u!=Object.keys(e.playsLive[e.game.home_team.team_id].yellow).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2)):t.createCommentVNode("",!0)],64))],2),_.value.game_status==4&&_.value.is_live==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.matchInfo),id:"container-match-info"},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.sbado16De)},t.toDisplayString(h(_.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.sab16092023)},t.toDisplayString(h(_.value.date_time_utc,0)),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.hour)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.div)},t.toDisplayString(_.value.gameSchedule),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.cst)},"CST",2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.chivasTvCanal)},t.toDisplayString(_.value.tv_stations.join(", ")),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.matchInfo),id:"container-match-info"},[_.value.is_live?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(h(_.value.date_time_utc,1)),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",{class:t.normalizeClass([r.$style.sbado16De,r.$style.gameDate])},t.toDisplayString(h(_.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass([r.$style.sab16092023,r.$style.gameDate])},t.toDisplayString(h(_.value.date_time_utc,0)),3)],64)),_.value.is_live||_.value.game_status!=1&&_.value.game_status!=4?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(r.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.divscore)},t.toDisplayString(w.value),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(r.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.divscore)},t.toDisplayString(_.value.score.join(" - ")),3)],2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.gameStatus)},[_.value.is_live?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.liveMinutes)},[HW,t.createTextVNode(" LIVE - "+t.toDisplayString(Y.value),1)],2)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Finalizado "),_.value.penalties_score_home_team!=0||_.value.penalties_score_visiting_team!=0?(t.openBlock(),t.createElementBlock("span",WW," - Penales "+t.toDisplayString(_.value.penalties_score_home_team)+" - "+t.toDisplayString(_.value.penalties_score_visiting_team),1)):t.createCommentVNode("",!0)],64))],2),e.is_captured==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:4},[_.value.is_live==1||_.value.game_status==1||Object.keys(_.value.minutes).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.viewButtomEvent),onClick:v[0]||(v[0]=y=>g(_.value))},[qW,t.createTextVNode(" "),YW],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.awayTeam),id:"container-away-team"},[t.createElementVNode("img",{class:t.normalizeClass(r.$style.image62Icon1),alt:"",src:t.unref(Fp)(_.value.visiting_team.team_id,150)},null,10,XW),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.name),id:"team-name"},t.toDisplayString(_.value.visiting_team.colloquial_name),3),t.createElementVNode("img",{class:t.normalizeClass(r.$style.imgAtlasIcon),alt:"",src:t.unref(Fp)(_.value.visiting_team.team_id)},null,10,ZW),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.name1),id:"team-name"},t.toDisplayString(_.value.visiting_team.acronym),3),_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.is_live==0&&_.value.game_status==1||Object.keys(_.value.minutes).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.containerEventsGameAwayteam)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.containerEvents)},[_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.goalsContainer)},[_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("img",JW)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.visiting_goals_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y).replace("(AG)",""))+" ",1),u!=_.value.minutes.visiting_goals_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0),_.value.minutes.away_red_cards_minutes.length>0&&_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),_.value.minutes.away_red_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(r.$style.yellowContainer)},[_.value.minutes.away_red_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("img",KW)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.away_red_cards_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y))+" ",1),u!=_.value.minutes.away_red_cards_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0),_.value.minutes.away_red_cards_minutes.length>0||_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),_.value.minutes.away_yellow_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:4,class:t.normalizeClass(r.$style.redContainer)},[_.value.minutes.away_yellow_cards_minutes.length>0?(t.openBlock(),t.createElementBlock("img",QW)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value.minutes.away_yellow_cards_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(n(y))+" ",1),u!=_.value.minutes.away_yellow_cards_minutes.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],2)],2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.containerEventsGameAwayteam)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.containerEvents)},[Object.keys(e.playsLive).length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.visiting_team.team_id]&&"goals"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.goalsContainer)},[eq,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.visiting_team.team_id].goals),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.visiting_team.team_id].goals[y].event.map(o=>`${o}`).join(", ").replace("(AG)",""))+"' ",1),u!=Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.playsLive[e.game.visiting_team.team_id]&&"red"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length>0&&Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.yellowContainer)},[tq,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.visiting_team.team_id].red),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.visiting_team.team_id].red[y].event.map(o=>`${o}`).join(", "))+"' ",1),u!=Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.playsLive[e.game.visiting_team.team_id]&&"yellow"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length>0||Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.sepEvents)}," | ",2)):t.createCommentVNode("",!0),Object.keys(e.playsLive[e.game.visiting_team.team_id].yellow).length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.redContainer)},[nq,(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.playsLive[e.game.visiting_team.team_id].yellow),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u},[t.createTextVNode(t.toDisplayString(e.playsLive[e.game.visiting_team.team_id].yellow[y].event.map(o=>`${o}`).join(", "))+"' ",1),u!=Object.keys(e.playsLive[e.game.visiting_team.team_id].yellow).length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(", ")],64)):t.createCommentVNode("",!0)]))),128))],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)],2)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.pcmobile)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.headerinfomobile)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.homeTeam),id:"container-home-team"},[t.createElementVNode("img",{class:t.normalizeClass(r.$style.image62Icon),alt:"",src:t.unref(Fp)(_.value.home_team.team_id,150)},null,10,rq),t.createElementVNode("img",{class:t.normalizeClass(r.$style.imgChivasIcon),alt:"",src:t.unref(Fp)(_.value.home_team.team_id)},null,10,aq),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.nameDesktop),id:"team-name"},t.toDisplayString(_.value.home_team.colloquial_name),3),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.nameMobile),id:"team-name"},t.toDisplayString(_.value.home_team.acronym),3)],2),_.value.game_status==4&&_.value.is_live==0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.matchInfo),id:"container-match-info"},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.sbado16De)},t.toDisplayString(h(_.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.sab16092023)},t.toDisplayString(h(_.value.date_time_utc,0)),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.hour)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.div)},t.toDisplayString(_.value.gameSchedule),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.cst)},"CST",2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.chivasTvCanal)},t.toDisplayString(_.value.tv_stations.join(", ")),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.matchInfo),id:"container-match-info"},[_.value.is_live?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(h(_.value.date_time_utc,1)),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",{class:t.normalizeClass([r.$style.sbado16De,r.$style.gameDate])},t.toDisplayString(h(_.value.date_time_utc,1)),3),t.createElementVNode("div",{class:t.normalizeClass([r.$style.sab16092023,r.$style.gameDate])},t.toDisplayString(h(_.value.date_time_utc,0)),3)],64)),_.value.is_live||_.value.game_status!=1&&_.value.game_status!=4?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(r.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.divscore)},t.toDisplayString(w.value),3)],2)):(t.openBlock(),t.createElementBlock("div",{key:3,class:t.normalizeClass(r.$style.score)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.divscore)},t.toDisplayString(_.value.score.join(" - ")),3)],2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.gameStatus)},[_.value.is_live?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.liveMinutes)},[iq,t.createTextVNode(" LIVE - "+t.toDisplayString(Y.value)+"' ",1)],2)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(" Finalizado "),_.value.penalties_score_home_team!=0||_.value.penalties_score_visiting_team!=0?(t.openBlock(),t.createElementBlock("span",oq," - Penales "+t.toDisplayString(_.value.penalties_score_home_team)+" - "+t.toDisplayString(_.value.penalties_score_visiting_team),1)):t.createCommentVNode("",!0)],64))],2)],2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.awayTeam),id:"container-away-team"},[t.createElementVNode("img",{class:t.normalizeClass(r.$style.image62Icon1),alt:"",src:t.unref(Fp)(_.value.visiting_team.team_id,150)},null,10,sq),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.name),id:"team-name"},t.toDisplayString(_.value.visiting_team.colloquial_name),3),t.createElementVNode("img",{class:t.normalizeClass(r.$style.imgAtlasIcon),alt:"",src:t.unref(Fp)(_.value.visiting_team.team_id)},null,10,lq),t.createElementVNode("h3",{class:t.normalizeClass(r.$style.name1),id:"team-name"},t.toDisplayString(_.value.visiting_team.acronym),3)],2)],2),_.value.game_status!=4||_.value.is_live==1?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.headereventsmobile)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.headereventsmobilecont)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.headereventsmobilecontlocal)},[_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.minutes.home_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.icongoalheader)},uq,2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.home_team.team_id]&&"goals"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive[e.game.home_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.icongoalheader)},hq,2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.goalscontainermobile),style:{"justify-content":"left !important"}},[_.value.game_status==1?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(_.value.minutes.home_goals_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass(r.$style.itemmobilgoal)},t.toDisplayString(n(y).replace("(AG)","")),3))),128)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.visiting_team.team_id]&&"goals"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(Object.keys(e.playsLive[e.game.home_team.team_id].goals),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass(r.$style.itemmobilgoal)},t.toDisplayString(e.playsLive[e.game.home_team.team_id].goals[y].event.map(o=>`${o}`).join(", ").replace("(AG)",""))+"' ",3))),128)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobile)},[_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobileyellow)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobileyellow)},fq,2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.txtmobileyellow)},t.toDisplayString(_.value.minutes.home_yellow_cards_minutes.length),3)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobilered)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobilered)},gq,2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.txtmobilered)},t.toDisplayString(_.value.minutes.home_red_cards_minutes.length),3)],2)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive).length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobileyellow)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobileyellow)},vq,2),e.playsLive[e.game.home_team.team_id]&&"yellow"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.txtmobileyellow)},t.toDisplayString(Object.keys(e.playsLive[e.game.home_team.team_id].yellow).length),3)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.txtmobileyellow)},"0",2))],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobilered)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobilered)},bq,2),e.playsLive[e.game.home_team.team_id]&&"red"in e.playsLive[e.game.home_team.team_id]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.txtmobilered)},t.toDisplayString(Object.keys(e.playsLive[e.game.home_team.team_id].red).length),3)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.txtmobilered)},"0",2))],2)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.headereventsmobileconttitle)},[e.is_captured==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.is_live==1||_.value.game_status==1||Object.keys(_.value.minutes).length>0?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(r.$style.viewButtomEventMobile),onClick:v[1]||(v[1]=y=>g(_.value))},[t.createTextVNode(" ver desglose "),xq],2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.headereventsmobilecontaway)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobile)},[_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobileyellow)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.txtmobileyellow)},t.toDisplayString(_.value.minutes.away_yellow_cards_minutes.length),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobileyellow)},kq,2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobilered)},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.txtmobilered)},t.toDisplayString(_.value.minutes.away_red_cards_minutes.length),3),t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobilered)},Cq,2)],2)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive).length>0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobileyellow)},[e.playsLive[e.game.visiting_team.team_id]&&"yellow"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.txtmobileyellow)},t.toDisplayString(Object.keys(e.playsLive[e.game.visiting_team.team_id].yellow).length),3)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.txtmobileyellow)},"0",2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobileyellow)},Eq,2)],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.conttarjetasmobilered)},[e.playsLive[e.game.visiting_team.team_id]&&"red"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.txtmobilered)},t.toDisplayString(Object.keys(e.playsLive[e.game.visiting_team.team_id].red).length),3)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(r.$style.txtmobilered)},"0",2)),t.createElementVNode("div",{class:t.normalizeClass(r.$style.iconmobilered)},Mq,2)],2)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2),t.createElementVNode("div",{class:t.normalizeClass(r.$style.goalscontainermobile),style:{"justify-content":"right !important"}},[_.value.game_status==1?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(_.value.minutes.visiting_goals_minutes,(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass(r.$style.itemmobilgoal)},t.toDisplayString(n(y).replace("(AG)","")),3))),128)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.visiting_team.team_id]&&"goals"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(Object.keys(e.playsLive[e.game.visiting_team.team_id].goals),(y,u)=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass(r.$style.itemmobilgoal)},t.toDisplayString(e.playsLive[e.game.visiting_team.team_id].goals[y].event.map(o=>`${o}`).join(", ").replace("(AG)",""))+"' ",3))),128)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2),_.value.game_status==1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[_.value.minutes.visiting_goals_minutes.length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.icongoalheader)},Pq,2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[_.value.is_live==1&&_.value.game_status!=1||_.value.game_status==0?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.playsLive[e.game.visiting_team.team_id]&&"goals"in e.playsLive[e.game.visiting_team.team_id]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[Object.keys(e.playsLive[e.game.visiting_team.team_id].goals).length>0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(r.$style.icongoalheader)},zq,2)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],64))],2)],2)],2)):t.createCommentVNode("",!0)],2)],2))}},Lq={$style:OW},Oq=Kh(Nq,[["__cssModules",Lq]]),Fq={class:"calendar-by-game__carousel"},Dq="https://al2nv2dmkc.execute-api.us-west-2.amazonaws.com/prod/mxm/",Rq={__name:"GSC-CalendarByGame",props:{showVideos:{type:Number,default:0},playsLive:{type:Object,default:()=>{}},infoLive:{type:Object,default:()=>{}},height:{type:String,default:"fit-content"},width:{type:String,default:"100%"},rowHeight:{type:String,default:"fit-content"},oddRowColor:{type:String,default:"#172531"},evenRowColor:{type:String,default:"#0D1D29"},isLandingMode:{type:Boolean,default:!1},isRoundMode:{type:Boolean,default:!1},isRoundPickerVisible:{type:Boolean,default:!0},isPaginationVisible:{type:Boolean,default:!0},awaitForSeasons:{type:Boolean,default:!1},seasons:{type:Array,default:()=>[]},isCup:{type:Boolean,default:!1},isCupLegacy:{type:Boolean,default:!1},token:{type:String,default:""},pagesWithGames:{type:Array,default:()=>[]},maxGamesToShow:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},areRoundsVisible:{type:Boolean,default:!0},is_captured:{type:Number,default:1},gamesPerMatchDay:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},itemsToShow:{type:Number,default:9},itemsToScroll:{type:Number,default:9},games:{type:Array,default:()=>null},teamId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},avoidTeamIdFilter:{type:Boolean,default:!1},areGamesCarouselType:{type:Boolean,default:!1},defaultGameId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},userTeamId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},sortCalendar:{type:Boolean,default:!0},isTeamGamePerPage:{type:Boolean,default:!1},onlyGamesTeamId:{type:Number,default:0,validator(e){return!Number.isNaN(e)&&e>=0}},tournamentType:{type:Number,default:0},checkLiveGamesIntervalMinutes:{type:Number,default:2},gamesEventsIntervalMinutes:{type:Number,default:2},checkStartedLiveGamesMinutes:{type:Number,default:5}},emits:["tournament-selected","change-teams","change-round","change-game-carousel","action","change-games-by-client-privileges","open-modal-event"],setup(e,{emit:p}){const f=e;let F=null,Y=null,w=null;const _=new Set,n=new Set,g=t.ref([]),h=t.ref({}),r=t.ref(0),v=t.ref(null),y=t.ref({}),u=t.ref(new Map),o=t.ref(!1),a=t.ref(null),i=t.ref(null),l=t.ref(null),s=t.ref([]),c=t.ref(new Map),d=t.ref(new Set),m=t.computed(()=>f.isCup),x=t.computed(()=>f.isCupLegacy),b=t.computed(()=>({height:f.height,width:f.width})),T=t.computed(()=>{if(f.games)return ne(f.games,f.isTeamGamePerPage);{const xe=u.value.get(y.value.key);return xe&&f.isTeamGamePerPage&&f.onlyGamesTeamId?[xe[0].filter(Ee=>Ee.home_team.team_id===f.onlyGamesTeamId||Ee.visiting_team.team_id===f.onlyGamesTeamId)]:xe||[]}}),k=t.computed(()=>f.areGamesCarouselType?T.value[0]:T.value),C=t.ref([]),S=t.ref(new Map),E=t.ref([]),A=t.ref(0),M=t.ref(0),P=t.computed(()=>{const xe=z(h.value),Ee=C.value.find(Ie=>Ie.key===xe);return Ee&&o.value&&(B(!1),de(Ee)),xe});t.watch(()=>f.seasons,xe=>{xe&&xe.length&&(B(!0),g.value=xe.map(Ee=>Ee.id),j(xe,!0))},{immediate:!0,deep:!0}),t.watch(u,xe=>{if(f.onlyGamesTeamId&&xe.size){const Ee=Array.from(xe.values()).reduce((Ie,Ve)=>(Ve.forEach(Se=>{const ke=Se.find(ye=>ye.home_team.team_id===f.onlyGamesTeamId||ye.visiting_team.team_id===f.onlyGamesTeamId);ke&&Ie.push(ke)}),Ie),[]);p("change-games-by-client-privileges",Ee)}},{immediate:!0});function B(xe){o.value=xe}function z(xe){const Ee=new Date().valueOf(),Ie=Object.entries(Object.entries(xe).reduce((Se,[ke,ye])=>(Se[ke]=null,ye.forEach(me=>{me.games.forEach(Me=>{if([1,0].includes(Me.game_status)||Me.is_live){const Ce=Ee-Me.dateTimeMillis;(Se[ke]===null||Ce<Se[ke])&&(Se[ke]=Ce)}})}),Se),{}));if(!Ie.length)return"1";const Ve=Ie.reduce((Se,[ke,ye])=>{if(ye!==null){const me=S.value.get(ke);(Se.shortestMillisToNow===null||ye<Se.shortestMillisToNow&&me.index>=Se.scheduleKey.index)&&(Se.shortestMillisToNow=ye,Se.round=ke,Se.scheduleKey=me)}return Se},{round:"",shortestMillisToNow:null,scheduleKey:null});return Ve.shortestMillisToNow!==null?Ve.round:Ie[Ie.length-1][0]}t.watch(()=>f.teamId,()=>{ce()},{immediate:!0});async function O(xe,Ee,Ie=""){let Ve=Ie;try{const Se={};f.token&&(Se.Authorization=f.token),Ve||(Ve="https://qyyibs1w0d.execute-api.us-west-2.amazonaws.com/prod/calendar/gamesBySeason?",xe.forEach((me,Me)=>{Ve+=`${Me===0?"":"&"}seasons=${me}`}));const{data:{data:ke,teams:ye}}=await U2.get(Ve,{headers:Se});return{seasonsAndGames:ke,seasonsAndTeams:ye}}catch(Se){if(Ee>0)return O(xe,Ee-1,Ve);throw new Error(Se)}}function D(xe){for(const Ee of xe)if(!g.value.includes(Ee.season_id))return!0;return!1}let R=0;async function j(xe,Ee){try{h.value={},M.value=0,A.value=0;const{seasonsAndGames:Ie,seasonsAndTeams:Ve}=await O(xe.map(ke=>ke.id),3);if(Ee&&D(Ie))return;R=0,Ie.forEach(ke=>{const{type:ye}=xe.find(me=>me.id===ke.season_id);ke.type=ye,ke.games.forEach(me=>{ye===0&&(R=ke.season_id),M.value++,([1,0].includes(me.game_status)||me.is_live)&&A.value++,me.season_id=ke.season_id})}),a.value={seasonsGames:Ie};const{teams:Se}=Ve.find(ke=>ke.season_id===R);i.value=Se,p("change-teams",Se),ce(),d.value.size?W():await $()}catch(Ie){throw new Error(Ie)}}async function $(){try{const xe=await se();n.clear(),s.value=xe.data.reduce((Ie,Ve)=>(Ve.games.forEach(Se=>{_.add(Se.game_id),n.add(Se.game_id),Ie.push(Se)}),Ie),[]);const Ee=[];if(_.forEach(Ie=>{n.has(Ie)||(Ee.push(Ie),le(Ie))}),Ee.forEach(Ie=>{_.delete(Ie)}),s.value.length){Y||await Z();const Ie=[];d.value.forEach(Ve=>{const Se=c.value.get(Ve);Se&&new Date().valueOf()>Se.dateTimeMillis&&Ie.push(Ve)}),Ie.length&&Ie.every(Ve=>c.value.get(Ve).isLiveTracked)&&X()}}catch(xe){throw new Error(xe)}}async function Z(){try{const xe=[];for(const Ie of s.value){const Ve=c.value.get(Ie.game_id);Ve&&(Ve.is_live=1,Ve.game_status=4,Ve.live_stats=1,Ve.scheduleKey&&Ve.scheduleKey.liveGamesIds.add(Ie.game_id)),Ve.isLiveTracked=!0,xe.push(oe(Ie.game_id))}const Ee=await Promise.all(xe);for(const Ie of Ee){const Ve=c.value.get(Ie.game_id);if(Ve){let Se=!1,ke=!1;for(const Ce of Ie.plays){if(Ce.category_id===0&&Ce.game_status_id===18){ke=!0;break}Ce.category_id===0&&Ce.game_status_id===17&&(Se=!0)}Ve.isMT=Se&&!ke;const ye=[Number(Ie.score[Ve.home_team.team_id.toString()])+Number(Ie.score[`own_${Ve.visiting_team.team_id.toString()}`]),Number(Ie.score[Ve.visiting_team.team_id.toString()])+Number(Ie.score[`own_${Ve.home_team.team_id.toString()}`])],me=ye[0],Me=ye[1];Ve.score=[Number.isNaN(me)?0:me,Number.isNaN(Me)?0:Me],ee(Ve,Ie.plays)}}Y||Q()}catch(xe){throw new Error(xe)}}function W(){d.value.size&&d.value.forEach(xe=>{const Ee=c.value.get(xe);if(Ee){const Ie=new Date().valueOf();if(60*1e3*30+Ee.dateTimeMillis-Ie>0){const Ve=Ee.dateTimeMillis-Ie-3e5;setTimeout(()=>{H()},Ve>0?Ve:0)}}})}function H(){X(),w||(w=setInterval(()=>{$()},f.checkLiveGamesIntervalMinutes*60*1e3))}function Q(){J(),Y=setInterval(()=>{Z()},f.gamesEventsIntervalMinutes*60*1e3)}function X(){clearInterval(w),w=null}function J(){clearInterval(Y),Y=null}function ee(xe,Ee){for(const Ie of Ee)if(Ie.category_id===0&&Ie.game_status_id===13){const Ve=c.value.get(Ie.game_id);s.value=s.value.filter(Se=>Se.game_id!==xe.game_id),Ve.is_live=0,Ve.game_status=0,Ve.scheduleKey&&Ve.scheduleKey.liveGamesIds.delete(xe.game_id)}}function le(xe){const Ee=c.value.get(xe);Ee&&(s.value=s.value.filter(Ie=>Ie.game_id!==xe),Ee.is_live=0,Ee.game_status=0,Ee.scheduleKey&&Ee.scheduleKey.liveGamesIds.delete(xe))}async function oe(xe){try{return(await U2.get(`${Dq}${xe}`,{headers:{Authorization:`${f.token}`}})).data}catch(Ee){throw new Error(Ee)}}async function se(){try{if(f.seasons.length===0)return[];const xe=f.seasons.reduce((Ve,Se)=>`${Ve}seasons=${Se.id}&`,""),Ee=U2.create({headers:{Authorization:`${f.token}`}}),{data:Ie}=await Ee.get(`https://qyyibs1w0d.execute-api.us-west-2.amazonaws.com/prod/calendar/gamesBySeason/lives?${xe}`);return Ie}catch(xe){throw new Error(xe)}}function ce(){if(X(),!i.value)return;c.value.clear(),d.value.clear(),E.value=[];const xe=a.value&&a.value.seasonsGames?a.value.seasonsGames.map(Ee=>{const Ie=Ee.games.reduce((Ve,Se)=>{if(f.onlyGamesTeamId&&f.onlyGamesTeamId!==Se.home_team&&f.onlyGamesTeamId!==Se.visiting_team)return Ve;const ke={...Se,regularSeasonId:R},ye=new Date,[me,Me,Ce]=ke.date.split("-"),[Ne,Oe,De]=ke.schedule.split(":"),Ue=new Date(Number(me),Number(Me)-1,Number(Ce),Number(Ne),Number(Oe),Number(De));return ke.dateTimeMillis=Ue.valueOf(),ke.home_team=i.value.find(ze=>ze.team_id===Se.home_team),ke.visiting_team=i.value.find(ze=>ze.team_id===Se.visiting_team),ke.game_status===4&&!ke.is_live&&ye.getFullYear()===Ue.getFullYear()&&ye.getMonth()===Ue.getMonth()&&ye.getDate()===Ue.getDate()&&d.value.add(ke.game_id),c.value.set(ke.game_id,ke),f.teamId&&ke.home_team.team_id!==f.teamId&&ke.visiting_team.team_id!==f.teamId||(Ve[Se.matchday_abbreviation]?Ve[Se.matchday_abbreviation][Se.game_status===3?"canceled":Se.date]?Ve[Se.matchday_abbreviation][Se.game_status===3?"canceled":Se.date].push(ke):Ve[Se.matchday_abbreviation][Se.game_status===3?"canceled":Se.date]=[ke]:Ve[Se.matchday_abbreviation]={[Se.game_status===3?"canceled":Se.date]:[ke]},f.userTeamId&&([1,0].includes(ke.game_status)||ke.is_live)&&(ke.home_team.team_id===f.userTeamId||ke.visiting_team.team_id===f.userTeamId)&&E.value.push(ke)),Ve},{});for(let[Ve,Se]of Object.entries(Ie))Ie[Ve]=Object.entries(Se).map(([ke,ye])=>({date:ke,games:ye.sort((me,Me)=>me.dateTimeMillis-Me.dateTimeMillis)})),Ie[Ve].sort((ke,ye)=>ke.date<ye.date?-1:ke.date>ye.date?1:0);return{type:Ee.type,weight:Ee.type===0?0:Ee.type===2?1:2,schedule:Ie}}):[];xe.sort((Ee,Ie)=>Ee.weight-Ie.weight),h.value=xe.reduce((Ee,Ie)=>{for(const[Ve,Se]of Object.entries(Ie.schedule))if(Ie.type===0)if([1,2].includes(f.tournamentType)){const ke=QU.get(f.tournamentType);if(ke){const ye=ke.get(Ve);ye&&(Ee[ye.matchDayAbbreviation]=Se)}}else if(m.value){const ke=Ve.replace("M",""),ye=ke;x.value?Ee[KU[ke]||ye]=Se:Ee[JU[Ve]||ye]=Se}else Ee[Number(Ve.replace("M","")).toString()]=Se;else Ie.type===2?Ve.charAt(1)=="I"?Ee[`PI${Number(Ve.replace("PI",""))}`]=Se:Ee[`R${Number(Ve.replace("PO",""))}`]=Se:Ie.type===1&&(Ee[ZU[Ve]]=Se);return Ee},{}),u.value=new Map,S.value.clear(),C.value=Array.from(Object.entries(h.value).reduce((Ee,[Ie,Ve],Se)=>{const ke=Number(Ie);let ye="";Number.isNaN(ke)?ye=Ie:ye=ke<10?`0${ke}`:Ie;const me={key:Ie,value:ke,valueText:ye,index:Se,liveGamesIds:new Set};S.value.set(Ie,me),Ee.set(Ie,me);const Me=Ve.reduce((Ne,Oe)=>(Oe.games.forEach(De=>{De.game_id===f.defaultGameId&&(l.value=Ie),De.roundAbbreviation=Number.isNaN(ke)?ke:`J ${ke}`,De.scheduleKey=me,De.is_live&&me.liveGamesIds.add(De.game_id)}),Ne=Ne.concat(Oe.games),Ne),[]),Ce=ne(Me);return u.value.set(Ie,Ce),Ee},new Map).values())}function ne(xe,Ee=!1){const Ie=[];if(f.gamesPerMatchDay>0){let Ve=[];xe.forEach((Se,ke)=>{Ve.push(Se),(ke+1)%f.gamesPerMatchDay===0&&(Ie.push([...Ve]),Ve=[])}),Ve.length&&Ie.push([...Ve])}else Ie.push(xe);return Ee&&f.isTeamGamePerPage&&f.defaultGameId?Ie.filter(Ve=>Ve.game_id===f.defaultGameId||Ve.gameId===f.defaultGameId):Ie}async function re(xe){try{const{data:Ee}=await U2.get("https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/tournaments");return Ee}catch(Ee){if(xe>0)return re(xe-1);throw new Error(Ee)}}function ie(){if(window.ResizeObserver)F=new ResizeObserver(()=>{r.value=v.value.clientWidth}),F.observe(v.value);else throw new Error("Resize observer not supported!")}function de(xe){y.value.value!==xe.value&&(y.value=xe,p("change-round",xe))}function fe(xe){f.areGamesCarouselType&&p("change-game-carousel",xe.selectedItem)}function pe(xe){p("action",xe),be(xe)}function ge(xe){p("open-modal-event",xe)}function be(xe){const Ee="PLAY_RESUME",Ie="PLAY_GOALS",Ve=[607,608,12,55,54,35,14,52,15,53,466,477],Se=[12,55,"35_r","54_r"],{game_id:ke,season_id:ye}=xe.game;let me={seasonId:ye,tournaments:[],isFeaturedPlayers:!1,mainSectionType:1,playListType:1,gameIdsToFilter:[ke],playerIds:[],goalkeeperIds:[],categoryIds:[],teamId:0,matchResult:[],categorySingleName:"",avoidCategorySingleName:!1,currentPlayIndex:0,playData:null,lastClashedGameId:null,tournamentsLastClashes:null,advancedFilter:{playListTitle:""},objectPlaySync:null};xe.action===Ee?(me.categoryIds=Ve,me.advancedFilter.playListTitle="Resumen",p("openmedia",me)):xe.action===Ie&&(me.categoryIds=Se,me.advancedFilter.playListTitle="Goles",p("openmedia",me))}async function we(){try{if(!f.awaitForSeasons&&!f.games){const xe=(await re(3)).find(Ve=>Ve._id===1),Ee=xe.seasons[0],Ie=[{id:Ee.id,type:Ee.type}];xe&&xe.tournament&&p("tournament-selected",xe.tournament),Ee.related_seasons&&Ee.related_seasons.length&&Ie.push(...Ee.related_seasons.map(Ve=>({id:Ve.id,type:Ve.type}))),await j(Ie,!1)}}catch(xe){throw new Error(xe)}}return t.onMounted(()=>{ie()}),we(),(xe,Ee)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"calendarByGame",ref:v,class:"calendar-by-game",style:t.normalizeStyle(b.value)},[e.teamId&&!e.avoidTeamIdFilter?(t.openBlock(),t.createBlock(RH,{key:0,"full-tournament-schedule":h.value,"team-id":e.teamId,"show-videos":e.showVideos,"is-landing-mode":!1,"row-height":e.rowHeight,"component-width":r.value,"games-pages":u.value,"is-pagination-visible":e.isPaginationVisible,"is-round-mode":e.isRoundMode,onAction:pe},null,8,["full-tournament-schedule","team-id","show-videos","row-height","component-width","games-pages","is-pagination-visible","is-round-mode"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.areRoundsVisible&&C.value?(t.openBlock(),t.createBlock(_G,{key:0,"match-days":C.value,"is-landing-mode":e.isLandingMode,height:"48px","items-to-show":e.itemsToShow,"items-to-scroll":e.itemsToScroll,"component-width":r.value,"default-match-day-key":l.value,"closest-match-day":e.sortCalendar?P.value:"",onChangeMatchDay:de},null,8,["match-days","is-landing-mode","items-to-show","items-to-scroll","component-width","default-match-day-key","closest-match-day"])):t.createCommentVNode("",!0),t.createElementVNode("div",Fq,[T.value?(t.openBlock(),t.createBlock(t.unref($S),{key:0,"is-pagination-visible":e.isPaginationVisible&&!e.areGamesCarouselType,items:k.value,"are-navigation-arrows-visible":e.areGamesCarouselType?!e.areGamesCarouselType:e.isPaginationVisible,"wrap-around":e.areGamesCarouselType&&!e.isTeamGamePerPage,"items-to-show":e.areGamesCarouselType&&!e.isTeamGamePerPage?1.2:1,"is-main-slide-priority":e.areGamesCarouselType,"are-slides-arrows-visible":e.areGamesCarouselType&&!e.isTeamGamePerPage,"slides-arrows-left-and-right":e.areGamesCarouselType?"30px":"0px","default-item-by-prop":e.areGamesCarouselType?{propName:"game_id",value:e.defaultGameId}:{},onInput:fe},{default:t.withCtx(({item:Ie})=>[e.areGamesCarouselType?(t.openBlock(),t.createBlock(Oq,{key:0,is_captured:e.is_captured,game:Ie,onOpenModalEvent:ge,"plays-live":e.playsLive,"info-live":e.infoLive},null,8,["is_captured","game","plays-live","info-live"])):(t.openBlock(),t.createBlock(NH,{key:1,"team-id":e.teamId,"show-videos":e.showVideos,"games-per-page":Ie,"is-landing-mode":e.isLandingMode,"row-height":e.rowHeight,"component-width":r.value,"is-round-mode":e.isRoundMode,onAction:pe},null,8,["team-id","show-videos","games-per-page","is-landing-mode","row-height","component-width","is-round-mode"]))]),_:1},8,["is-pagination-visible","items","are-navigation-arrows-visible","wrap-around","items-to-show","is-main-slide-priority","are-slides-arrows-visible","slides-arrows-left-and-right","default-item-by-prop"])):t.createCommentVNode("",!0)])],64))],4))}},Vq=Kh(Rq,[["__scopeId","data-v-d8d43e5f"]]);function jq(){return JS().__VUE_DEVTOOLS_GLOBAL_HOOK__}function JS(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const $q=typeof Proxy=="function",Uq="devtools-plugin:setup",Gq="plugin:settings:set";let T1,ww;function Hq(){var e;return T1!==void 0||(typeof window<"u"&&window.performance?(T1=!0,ww=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(T1=!0,ww=globalThis.perf_hooks.performance):T1=!1),T1}function Wq(){return Hq()?ww.now():Date.now()}class qq{constructor(p,f){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=p,this.hook=f;const F={};if(p.settings)for(const _ in p.settings){const n=p.settings[_];F[_]=n.defaultValue}const Y=`__vue-devtools-plugin-settings__${p.id}`;let w=Object.assign({},F);try{const _=localStorage.getItem(Y),n=JSON.parse(_);Object.assign(w,n)}catch{}this.fallbacks={getSettings(){return w},setSettings(_){try{localStorage.setItem(Y,JSON.stringify(_))}catch{}w=_},now(){return Wq()}},f&&f.on(Gq,(_,n)=>{_===this.plugin.id&&this.fallbacks.setSettings(n)}),this.proxiedOn=new Proxy({},{get:(_,n)=>this.target?this.target.on[n]:(...g)=>{this.onQueue.push({method:n,args:g})}}),this.proxiedTarget=new Proxy({},{get:(_,n)=>this.target?this.target[n]:n==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(n)?(...g)=>(this.targetQueue.push({method:n,args:g,resolve:()=>{}}),this.fallbacks[n](...g)):(...g)=>new Promise(h=>{this.targetQueue.push({method:n,args:g,resolve:h})})})}async setRealTarget(p){this.target=p;for(const f of this.onQueue)this.target.on[f.method](...f.args);for(const f of this.targetQueue)f.resolve(await this.target[f.method](...f.args))}}function Yq(e,p){const f=e,F=JS(),Y=jq(),w=$q&&f.enableEarlyProxy;if(Y&&(F.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!w))Y.emit(Uq,e,p);else{const _=w?new qq(f,Y):null;(F.__VUE_DEVTOOLS_PLUGINS__=F.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:f,setupFn:p,proxy:_}),_&&p(_.proxiedTarget)}}/*!
|
|
15
15
|
* vuex v4.0.2
|
|
16
16
|
* (c) 2021 Evan You
|
|
17
17
|
* @license MIT
|
|
@@ -6375,7 +6375,7 @@ const pH = { class: "game-info__teams" }, fH = { class: "game-info__teams__team_
|
|
|
6375
6375
|
), (g, c) => (Je(), nt("div", {
|
|
6376
6376
|
key: c,
|
|
6377
6377
|
class: ct(n.$style.itemmobilgoal)
|
|
6378
|
-
}, nn(e.playsLive[e.game.visiting_team.team_id].goals[g].event.map((i) => `${i}`).join(", ").replace("(AG)", "")) + "'
|
|
6378
|
+
}, nn(e.playsLive[e.game.visiting_team.team_id].goals[g].event.map((i) => `${i}`).join(", ").replace("(AG)", "")) + "' ", 3))), 128)) : Xt("", !0)
|
|
6379
6379
|
], 64)) : Xt("", !0)
|
|
6380
6380
|
], 64))
|
|
6381
6381
|
], 2),
|
|
@@ -67470,11 +67470,11 @@ const lXe = { class: "dropdown" }, cXe = { class: "selected-item" }, uXe = {
|
|
|
67470
67470
|
},
|
|
67471
67471
|
setup(e) {
|
|
67472
67472
|
const h = e, p = Lg(
|
|
67473
|
-
() => import("./FilterSubcategories-4bc20b72-
|
|
67473
|
+
() => import("./FilterSubcategories-4bc20b72-5a517629.js")
|
|
67474
67474
|
), D = Lg(
|
|
67475
|
-
() => import("./FilterConditions-8968e395-
|
|
67475
|
+
() => import("./FilterConditions-8968e395-341f0d02.js")
|
|
67476
67476
|
), q = Lg(
|
|
67477
|
-
() => import("./FilterField-ef44bc20-
|
|
67477
|
+
() => import("./FilterField-ef44bc20-73585be8.js")
|
|
67478
67478
|
), x = [
|
|
67479
67479
|
{
|
|
67480
67480
|
name: "Sub categorías",
|
|
@@ -203502,11 +203502,11 @@ const t3t = { class: "dropdown" }, n3t = { class: "selected-item" }, r3t = {
|
|
|
203502
203502
|
},
|
|
203503
203503
|
setup(e) {
|
|
203504
203504
|
const h = e, p = Lg(
|
|
203505
|
-
() => import("./FilterSubcategories-92dfe0dc-BxsguvYJ-
|
|
203505
|
+
() => import("./FilterSubcategories-92dfe0dc-BxsguvYJ-f44b03e8.js")
|
|
203506
203506
|
), D = Lg(
|
|
203507
|
-
() => import("./FilterConditions-67a56ee9-DBtqCSYy-
|
|
203507
|
+
() => import("./FilterConditions-67a56ee9-DBtqCSYy-4704ff9f.js")
|
|
203508
203508
|
), q = Lg(
|
|
203509
|
-
() => import("./FilterField-1d2345af-C2C9vdHz-
|
|
203509
|
+
() => import("./FilterField-1d2345af-C2C9vdHz-f16d529a.js")
|
|
203510
203510
|
), x = [
|
|
203511
203511
|
{
|
|
203512
203512
|
name: "Sub categorías",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golstats/gsc-game-data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.308",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"format": "prettier --write src/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@golstats/gsc-calendar-by-game": "^1.0.
|
|
24
|
+
"@golstats/gsc-calendar-by-game": "^1.0.77",
|
|
25
25
|
"@golstats/gsc-checkbox": "^1.0.12",
|
|
26
26
|
"@golstats/gsc-datagames": "^1.0.50",
|
|
27
27
|
"@golstats/gsc-dropdown": "^1.0.11",
|