PageSourceSearch

https://acb.com/_next/static/chunks/1kquxk90lgoef.js

js acb.com collected 2026-10-02 05:09:17 UTC 26,569 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="e9344c6d-7904-b016-193c-ff01283b53d6")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,796289,e=>{"use strict";var t=e.i(389163);let a="/next/images/components/brackets",s={src:`${a}/playoffs/trophy.webp`,alt:"Trofeo Liga Endesa",width:78,height:179},c={src:`${a}/copa-del-rey/trophy.webp`,alt:"Trofeo Copa del Rey",width:78,height:117},l={src:`${a}/supercopa/trophy.webp`,alt:"Trofeo Supercopa",width:50,height:117},o={src:`${a}/copa-del-rey/trophy.webp`,alt:"Trofeo Minicopa",width:50,height:117};e.s(["PLAYOFFS_TROPHY",0,s,"SUPERCOPA_TROPHY",0,l,"getBracketTrophy",0,function(e){switch(e){case t.COMPETITION_IDS.COPA_DEL_REY:return c;case t.COMPETITION_IDS.SUPER_CUP:return l;case t.COMPETITION_IDS.MINI_CUP:return o;case t.COMPETITION_IDS.LIGA_ENDESA:default:return s}}])},440071,e=>{e.v({match:"CopaBracketMatch-module-scss-module__pmsAyG__match",match__awayColor:"CopaBracketMatch-module-scss-module__pmsAyG__match__awayColor",match__awayLogo:"CopaBracketMatch-module-scss-module__pmsAyG__match__awayLogo",match__awayLogoContainer:"CopaBracketMatch-module-scss-module__pmsAyG__match__awayLogoContainer",match__center:"CopaBracketMatch-module-scss-module__pmsAyG__match__center",match__content:"CopaBracketMatch-module-scss-module__pmsAyG__match__content",match__emptyLogo:"CopaBracketMatch-module-scss-module__pmsAyG__match__emptyLogo",match__homeColor:"CopaBracketMatch-module-scss-module__pmsAyG__match__homeColor",match__homeLogo:"CopaBracketMatch-module-scss-module__pmsAyG__match__homeLogo",match__homeLogoContainer:"CopaBracketMatch-module-scss-module__pmsAyG__match__homeLogoContainer",match__link:"CopaBracketMatch-module-scss-module__pmsAyG__match__link",match__loserLogo:"CopaBracketMatch-module-scss-module__pmsAyG__match__loserLogo",match__score:"CopaBracketMatch-module-scss-module__pmsAyG__match__score","match__score--loser":"CopaBracketMatch-module-scss-module__pmsAyG__match__score--loser",match__scores:"CopaBracketMatch-module-scss-module__pmsAyG__match__scores",match__status:"CopaBracketMatch-module-scss-module__pmsAyG__match__status",match__time:"CopaBracketMatch-module-scss-module__pmsAyG__match__time"})},297968,e=>{"use strict";var t=e.i(843476),a=e.i(343794),s=e.i(657688),c=e.i(522016);e.i(869413);var l=e.i(138523);e.i(922720);var o=e.i(199308),_=e.i(389163),i=e.i(980681),r=e.i(559956),n=e.i(375017),d=e.i(271645);e.i(91706);var m=e.i(431657),u=e.i(440071);function h({matchDate:e}){let a,s,c,_,i,[r,n]=(0,d.useState)(!1);return((0,d.useEffect)(()=>{n(!0)},[]),r)?!e||Number.isNaN(new Date(e).getTime())?null:(0,t.jsxs)("div",{className:u.default.match__status,children:[(0,t.jsx)(m.Text,{as:"p",variant:"body-1",children:(a=new Date(e),s=new Intl.DateTimeFormat("es-ES",{weekday:"long"}).format(a),c=a.getDate(),_=s.charAt(0).toUpperCase()+s.slice(1),`${_} ${c}`)}),(0,t.jsx)(o.Heading,{as:"p",variant:"display-4",className:u.default.match__time,children:(i=new Date(e).toLocaleTimeString("es-ES",{hour:"2-digit",minute:"2-digit",hour12:!1}),`${i}`)})]}):(0,t.jsxs)("div",{className:u.default.match__status,children:[(0,t.jsx)(l.Skeleton,{width:"80px",height:"16px"}),(0,t.jsx)(l.Skeleton,{width:"50px",height:"20px"})]})}e.s(["default",0,function({series:e,className:d,children:m}){if(!e)return(0,t.jsxs)("div",{className:(0,a.default)([u.default.match,d]),children:[m,(0,t.jsx)("div",{className:u.default.match__content,children:(0,t.jsx)(l.Skeleton,{width:"100%",height:"100%"})})]});let{homeTeam:f,awayTeam:p}=e,S=e.matches[0],y=S?.status===_.MatchStatus.FINISHED,N=S&&f&&p?(0,r.getLiveUrl)({matchId:S.id,homeTeam:f,awayTeam:p,tab:y?n.TAB_SLUGS.OVERVIEW:n.TAB_SLUGS.PREVIEW}):null,A=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:u.default.match__homeColor,style:{backgroundColor:f?.primaryColorHex||"black"}}),(0,t.jsx)("div",{className:u.default.match__homeLogoContainer,children:f?(0,t.jsx)(s.default,{src:f.logo||i.TEAM_PLACEHOLDER_IMAGE,alt:f.shortName,width:50,height:50,className:(0,a.default)(u.default.match__homeLogo,{[u.default.match__loserLogo]:y&&(S?.awayScore??0)>(S?.homeScore??0)})}):(0,t.jsx)("div",{className:u.default.match__emptyLogo,children:(0,t.jsx)(o.Heading,{as:"p",variant:"display-4",children:"?"})})}),(0,t.jsxs)("div",{className:u.default.match__center,children:[!y&&(0,t.jsx)(h,{matchDate:S?.startDateTime??null}),y&&S&&null!==S.homeScore&&null!==S.awayScore&&(0,t.jsxs)("div",{className:u.default.match__scores,children:[(0,t.jsx)(o.Heading,{as:"p",variant:"display-4",className:(0,a.default)(u.default.match__score,{[u.default["match__score--loser"]]:S.awayScore>S.homeScore}),children:S.homeScore}),(0,t.jsx)(o.Heading,{as:"p",variant:"highlight",className:u.default.match__scoreSplit,children:"-"}),(0,t.jsx)(o.Heading,{as:"p",variant:"display-4",className:(0,a.default)(u.default.match__score,{[u.default["match__score--loser"]]:S.homeScore>S.awayScore}),children:S.awayScore})]})]}),(0,t.jsx)("div",{className:u.default.match__awayLogoContainer,children:p?(0,t.jsx)(s.default,{src:p.logo||i.TEAM_PLACEHOLDER_IMAGE,alt:p.shortName,width:50,height:50,className:(0,a.default)(u.default.match__awayLogo,{[u.default.match__loserLogo]:y&&(S?.homeScore??0)>(S?.awayScore??0)})}):(0,t.jsx)("div",{className:u.default.match__emptyLogo,children:(0,t.jsx)(o.Heading,{as:"p",variant:"display-4",children:"?"})})}),(0,t.jsx)("div",{className:u.default.match__awayColor,style:{backgroundColor:p?.primaryColorHex||"black"}})]});return(0,t.jsxs)("div",{className:(0,a.default)(u.default.match,d),children:[m,N?(0,t.jsx)(c.default,{href:N,target:"_blank",className:(0,a.default)(u.default.match__content,u.default.match__link),children:A}):(0,t.jsx)("div",{className:u.default.match__content,children:A})]})}],297968)},996954,e=>{e.v({match:"PlayoffMatchCard-module-scss-module__9F5iqG__match",match__colorBar:"PlayoffMatchCard-module-scss-module__9F5iqG__match__colorBar","match__colorBar--empty":"PlayoffMatchCard-module-scss-module__9F5iqG__match__colorBar--empty","match__colorBar--loser":"PlayoffMatchCard-module-scss-module__9F5iqG__match__colorBar--loser",match__content:"PlayoffMatchCard-module-scss-module__9F5iqG__match__content",match__detailsButton:"PlayoffMatchCard-module-scss-module__9F5iqG__match__detailsButton",match__logo:"PlayoffMatchCard-module-scss-module__9F5iqG__match__logo","match__logo--loser":"PlayoffMatchCard-module-scss-module__9F5iqG__match__logo--loser",match__logoContainer:"PlayoffMatchCard-module-scss-module__9F5iqG__match__logoContainer",match__score:"PlayoffMatchCard-module-scss-module__9F5iqG__match__score",match__seriesBar:"PlayoffMatchCard-module-scss-module__9F5iqG__match__seriesBar",match__seriesBarPlaceholder:"PlayoffMatchCard-module-scss-module__9F5iqG__match__seriesBarPlaceholder",match__seriesBestOf:"PlayoffMatchCard-module-scss-module__9F5iqG__match__seriesBestOf",match__seriesInfo:"PlayoffMatchCard-module-scss-module__9F5iqG__match__seriesInfo",match__seriesScore:"PlayoffMatchCard-module-scss-module__9F5iqG__match__seriesScore",match__seriesSeparator:"PlayoffMatchCard-module-scss-module__9F5iqG__match__seriesSeparator",match__skeletonName:"PlayoffMatchCard-module-scss-module__9F5iqG__match__skeletonName",match__teamContent:"PlayoffMatchCard-module-scss-module__9F5iqG__match__teamContent",match__teamName:"PlayoffMatchCard-module-scss-module__9F5iqG__match__teamName","match__teamName--loser":"PlayoffMatchCard-module-scss-module__9F5iqG__match__teamName--loser",match__teamRow:"PlayoffMatchCard-module-scss-module__9F5iqG__match__teamRow","match__teamRow--away":"PlayoffMatchCard-module-scss-module__9F5iqG__match__teamRow--away"})},642256,e=>{e.v({selector:"PlayoffPhaseSelector-module-scss-module__qf_8jW__selector",selector__title:"PlayoffPhaseSelector-module-scss-module__qf_8jW__selector__title"})},211107,e=>{e.v({section:"PlayoffBracket-module-scss-module__TYcnpq__section","section--snapped":"PlayoffBracket-module-scss-module__TYcnpq__section--snapped","section--withPadding":"PlayoffBracket-module-scss-module__TYcnpq__section--withPadding",section__bracket:"PlayoffBracket-module-scss-module__TYcnpq__section__bracket",section__container:"PlayoffBracket-module-scss-module__TYcnpq__section__container",section__lineADown:"PlayoffBracket-module-scss-module__TYcnpq__section__lineADown",section__lineAUp:"PlayoffBracket-module-scss-module__TYcnpq__section__lineAUp",section__lineAfter:"PlayoffBracket-module-scss-module__TYcnpq__section__lineAfter",section__lineBDown:"PlayoffBracket-module-scss-module__TYcnpq__section__lineBDown",section__lineBUp:"PlayoffBracket-module-scss-module__TYcnpq__section__lineBUp",section__lineBefore:"PlayoffBracket-module-scss-module__TYcnpq__section__lineBefore",section__matchA1:"PlayoffBracket-module-scss-module__TYcnpq__section__matchA1",section__matchA2:"PlayoffBracket-module-scss-module__TYcnpq__section__matchA2",section__matchA3:"PlayoffBracket-module-scss-module__TYcnpq__section__matchA3",section__matchA4:"PlayoffBracket-module-scss-module__TYcnpq__section__matchA4",section__matchB1:"PlayoffBracket-module-scss-module__TYcnpq__section__matchB1",section__matchB2:"PlayoffBracket-module-scss-module__TYcnpq__section__matchB2",section__matchC1:"PlayoffBracket-module-scss-module__TYcnpq__section__matchC1",section__mobileSelector:"PlayoffBracket-module-scss-module__TYcnpq__section__mobileSelector",section__scroll:"PlayoffBracket-module-scss-module__TYcnpq__section__scroll",section__step:"PlayoffBracket-module-scss-module__TYcnpq__section__step",section__stepTitle:"PlayoffBracket-module-scss-module__TYcnpq__section__stepTitle",section__title:"PlayoffBracket-module-scss-module__TYcnpq__section__title",section__trophy:"PlayoffBracket-module-scss-module__TYcnpq__section__trophy"})},953711,e=>{"use strict";
2var t=e.i(843476),a=e.i(343794),s=e.i(657688),c=e.i(271645);e.i(922720);var l=e.i(199308);e.i(82654);var o=e.i(65882),_=e.i(389163),i=e.i(588706),r=e.i(796289);e.i(869413);var n=e.i(138523);e.i(91706);var d=e.i(431657),m=e.i(980681),u=e.i(552786),h=e.i(996954);let f=e=>(0,t.jsxs)("div",{className:(0,a.default)(h.default.match__teamRow,h.default[`match__teamRow--${e}`]),children:[(0,t.jsx)("div",{className:h.default["match__colorBar--empty"]}),(0,t.jsxs)("div",{className:h.default.match__teamContent,children:[(0,t.jsx)("div",{className:h.default.match__logoContainer,children:(0,t.jsx)(n.Skeleton,{width:"100%",height:"100%",type:"circle"})}),(0,t.jsx)("div",{className:h.default.match__skeletonName,children:(0,t.jsx)(n.Skeleton,{width:"8rem",height:"1.25rem"})})]})]}),p=(e,c,o,_,i,r)=>{let n=(0,a.default)(h.default.match__teamName,{[h.default["match__teamName--winner"]]:c,[h.default["match__teamName--loser"]]:o});return(0,t.jsxs)("div",{className:(0,a.default)(h.default.match__teamRow,h.default[`match__teamRow--${_}`]),children:[(0,t.jsx)("div",{className:(0,a.default)(h.default.match__colorBar,{[h.default["match__colorBar--loser"]]:o}),style:{backgroundColor:e.primaryColorHex||"var(--base-black-color)"}}),(0,t.jsxs)("div",{className:h.default.match__teamContent,children:[(0,t.jsx)("div",{className:h.default.match__logoContainer,children:(0,t.jsx)(s.default,{src:e.logo||m.TEAM_PLACEHOLDER_IMAGE,alt:e.shortName,width:40,height:40,className:(0,a.default)(h.default.match__logo,{[h.default["match__logo--loser"]]:o})})}),(0,t.jsx)(d.Text,{as:"p",variant:"body-1",className:n,children:e.shortName}),null!==i&&(0,t.jsx)(l.Heading,{as:"p",variant:r?"display-4":"highlight",className:(0,a.default)(h.default.match__score,{[h.default["match__score--winner"]]:r,[h.default["match__score--loser"]]:!r}),children:i})]})]})};function S({series:e,phaseId:s,onDetailsClick:c,className:o,children:_}){if(!e)return(0,t.jsxs)("div",{className:(0,a.default)(h.default.match,o),children:[_,(0,t.jsxs)("div",{className:h.default.match__content,children:[f("home"),f("away"),(0,t.jsx)("div",{className:h.default.match__seriesBarPlaceholder})]})]});let{homeTeam:i,awayTeam:r,homeScore:n,awayScore:m,finished:y}=e,N=null!==i&&null!==r,A=(0,u.getSeriesStatus)(e,s),g=y&&n>m,x=y&&m>n,v=N?(0,u.getLastFinishedMatch)(e.matches):null,B=null!==v&&null!==i&&v.homeTeamId===i.id,j=v?B?v.homeScore:v.awayScore:null,T=v?B?v.awayScore:v.homeScore:null;return(0,t.jsxs)("div",{className:(0,a.default)(h.default.match,o),children:[_,(0,t.jsxs)("div",{className:h.default.match__content,children:[i?p(i,g,x,"home",j,null!==j&&null!==T&&j>T):f("home"),r?p(r,x,g,"away",T,null!==j&&null!==T&&T>j):f("away"),(0,t.jsxs)("div",{className:h.default.match__seriesBar,children:[(0,t.jsxs)("div",{className:h.default.match__seriesInfo,children:[(0,t.jsxs)(l.Heading,{as:"p",variant:"subhead",className:h.default.match__seriesScore,children:["SERIE ",n," - ",m]}),(0,t.jsx)(d.Text,{as:"span",variant:"body-2","aria-hidden":"true",className:h.default.match__seriesSeparator,children:"·"}),(0,t.jsx)(d.Text,{as:"span",variant:"body-2",className:h.default.match__seriesBestOf,children:A.label})]}),N&&(0,t.jsx)("button",{type:"button",className:h.default.match__detailsButton,onClick:()=>{c&&void 0!==s&&c(e,s)},children:(0,t.jsx)(l.Heading,{as:"p",variant:"subhead",children:"Detalles"})})]})]})]})}var y=e.i(948148);e.i(911717);var N=e.i(422539),A=e.i(302386);e.i(236794);var g=e.i(818132),x=e.i(404467),v=e.i(642256);function B({phases:e,currentIndex:s,onChange:c,className:o}){let _=(0,y.useTranslations)("phases"),i=e[s],r=0===s,n=s===e.length-1;if(!i)return null;let d=(0,x.getPhaseTranslation)(_,i.subphaseId,null,!1);return(0,t.jsxs)("div",{className:(0,a.default)(v.default.selector,o),children:[(0,t.jsx)(g.Button,{variant:"outline",color:"secondary",onClick:()=>{r||c(s-1)},disabled:r,"aria-label":"Fase anterior",isOnlyIcon:!0,children:(0,t.jsx)(N.AngleLeftIcon,{width:16,height:16})}),(0,t.jsx)(l.Heading,{as:"p",variant:"heading-1",className:v.default.selector__title,children:d}),(0,t.jsx)(g.Button,{variant:"outline",color:"secondary",onClick:()=>{n||c(s+1)},disabled:n,"aria-label":"Fase siguiente",isOnlyIcon:!0,children:(0,t.jsx)(A.AngleRightIcon,{width:16,height:16})})]})}var j=e.i(626340),T=e.i(211107);let I=[{id:0,subphaseId:_.SUBPHASE_IDS.QUARTER_FINALS},{id:1,subphaseId:_.SUBPHASE_IDS.SEMI_FINALS},{id:2,subphaseId:_.SUBPHASE_IDS.FINAL}];e.s(["default",0,function({bracketData:e,withPadding:n=!1,videoUrlByMatchId:d,className:m,renderMatchCard:h,stepTitleVariant:f="heading-1",focusPhase:p=null,autoScrollToCurrentPhase:y=!0,trophy:N=r.PLAYOFFS_TROPHY}){let A=(0,c.useRef)(null),g=(0,c.useRef)(null),x=(0,c.useRef)([null,null,null]),[v,P]=(0,c.useState)(0),[w,k]=(0,c.useState)(!0),[C,b]=(0,c.useState)(!1),[E,L]=(0,c.useState)(null),[M,F]=(0,c.useState)(null),{isOpen:D,openModal:H,closeModal:R}=(0,o.useModal)(),U=(0,c.useRef)(!1),q=(0,c.useRef)(!1),G=(0,c.useRef)(null),O=(0,c.useRef)(w),{quarterFinals:Y,semifinals:$,final:Q}=e,W=Y?.series??[],V=$?.series??[],z=Q?.series??[],K=(0,c.useCallback)((e,t)=>{L(e),F(t),H()},[H]),X=(e,a,s,c,l)=>h?h({series:e,phaseId:a,index:s,className:c,children:l}):(0,t.jsx)(S,{series:e,phaseId:a,onDetailsClick:K,className:c,children:l},e?`${e.homeTeam?.id??"tbd"}
2-${e.awayTeam?.id??"tbd"}-${s}`:`empty-${s}`),J=(0,c.useCallback)(e=>{let t=x.current[e],a=g.current;t&&a&&(U.current=!0,P(e),a.scrollTo({left:t.offsetLeft,behavior:"smooth"}),window.setTimeout(()=>{U.current=!1},600))},[]);return(0,c.useEffect)(()=>{p&&J(p.index)},[p]),(0,c.useEffect)(()=>{let e=g.current;if(!e)return;let t=new IntersectionObserver(e=>{if(U.current)return;let t=e.filter(e=>e.isIntersecting).sort((e,t)=>t.intersectionRatio-e.intersectionRatio)[0];if(!t)return;let a=x.current.findIndex(e=>e===t.target);-1!==a&&P(a)},{root:e,threshold:[.5,.75]});return x.current.forEach(e=>{e&&t.observe(e)}),()=>t.disconnect()},[]),(0,c.useEffect)(()=>{let e,t=g.current;if(!t)return;let a=()=>{let e=t.scrollLeft;k(x.current.some(t=>t&&5>Math.abs(t.offsetLeft-e)))},s=()=>{k(!1),e&&window.clearTimeout(e),e=window.setTimeout(a,150)};return t.addEventListener("scroll",s,{passive:!0}),()=>{t.removeEventListener("scroll",s),e&&window.clearTimeout(e)}},[]),(0,c.useEffect)(()=>{let e=O.current;if(O.current=w,!w||e)return;let t=window.setTimeout(()=>{let e=G.current,t=g.current;if(!e||null===e.offsetParent||!t)return;let a=x.current.find(e=>e&&5>Math.abs(e.offsetLeft-t.scrollLeft));if(!a)return;let s=e.getBoundingClientRect().bottom,c=a.getBoundingClientRect().top;c<s&&window.scrollTo({top:window.scrollY+c-s-8,behavior:"smooth"})},350);return()=>window.clearTimeout(t)},[w]),(0,c.useEffect)(()=>{let e=A.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&b(!0)},{threshold:.6});return t.observe(e),()=>t.disconnect()},[]),(0,c.useEffect)(()=>{if(!y||!C||q.current)return;let e=G.current,t=g.current;if(!e||null===e.offsetParent||!t)return;let a=(0,u.getActivePlayoffPhaseIndex)([W,V,z]),s=x.current[a];0!==a&&s&&(q.current=!0,window.setTimeout(()=>{U.current=!0,P(a),t.scrollTo({left:s.offsetLeft,behavior:"smooth"}),window.setTimeout(()=>{U.current=!1},600)},1e3))},[C]),(0,t.jsxs)("section",{ref:A,className:(0,a.default)(T.default.section,m,{[T.default["section--withPadding"]]:n,[T.default["section--snapped"]]:w}),children:[(0,t.jsxs)(i.default,{className:T.default.section__container,children:[(0,t.jsx)("div",{ref:G,className:T.default.section__mobileSelector,children:(0,t.jsx)(B,{phases:I,currentIndex:v,onChange:J})}),(0,t.jsx)("div",{ref:g,className:T.default.section__scroll,children:(0,t.jsxs)("div",{className:T.default.section__bracket,children:[(0,t.jsxs)("div",{ref:e=>{x.current[0]=e},className:T.default.section__step,children:[(0,t.jsx)(l.Heading,{as:"p",variant:f,className:T.default.section__stepTitle,children:"Cuartos de final"}),X(W[0],_.SUBPHASE_IDS.QUARTER_FINALS,0,T.default.section__matchA1,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:T.default.section__lineAfter}),(0,t.jsx)("div",{className:T.default.section__lineADown})]})),X(W[1],_.SUBPHASE_IDS.QUARTER_FINALS,1,T.default.section__matchA2,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:T.default.section__lineAfter}),(0,t.jsx)("div",{className:T.default.section__lineAUp})]})),X(W[2],_.SUBPHASE_IDS.QUARTER_FINALS,2,T.default.section__matchA3,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:T.default.section__lineAfter}),(0,t.jsx)("div",{className:T.default.section__lineADown})]})),X(W[3],_.SUBPHASE_IDS.QUARTER_FINALS,3,T.default.section__matchA4,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:T.default.section__lineAfter}),(0,t.jsx)("div",{className:T.default.section__lineAUp})]}))]}),(0,t.jsxs)("div",{ref:e=>{x.current[1]=e},className:T.default.section__step,children:[(0,t.jsx)(l.Heading,{as:"p",variant:f,className:T.default.section__stepTitle,children:"Semifinales"}),X(V[0],_.SUBPHASE_IDS.SEMI_FINALS,0,T.default.section__matchB1,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:T.default.section__lineBefore}),(0,t.jsx)("div",{className:T.default.section__lineAfter}),(0,t.jsx)("div",{className:T.default.section__lineBDown})]})),X(V[1],_.SUBPHASE_IDS.SEMI_FINALS,1,T.default.section__matchB2,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:T.default.section__lineBefore}),(0,t.jsx)("div",{className:T.default.section__lineAfter}),(0,t.jsx)("div",{className:T.default.section__lineBUp})]}))]}),(0,t.jsxs)("div",{ref:e=>{x.current[2]=e},className:T.default.section__step,children:[(0,t.jsx)(l.Heading,{as:"p",variant:f,className:T.default.section__stepTitle,children:"Final"}),X(z[0],_.SUBPHASE_IDS.FINAL,0,T.default.section__matchC1,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:T.default.section__lineBefore}),(0,t.jsx)(s.default,{src:N.src,alt:N.alt,width:N.width,height:N.height,className:T.default.section__trophy})]}))]})]})})]}),(0,t.jsx)(j.default,{series:E,phaseId:M,isOpen:D,onClose:R,videoUrlByMatchId:d})]})}],953711)},393594,e=>{e.v({section:"SupercopaBracket-module-scss-module__oLieba__section","section--withPadding":"SupercopaBracket-module-scss-module__oLieba__section--withPadding",section__bracket:"SupercopaBracket-module-scss-module__oLieba__section__bracket",section__container:"SupercopaBracket-module-scss-module__oLieba__section__container",section__empty:"SupercopaBracket-module-scss-module__oLieba__section__empty",section__lineADown:"SupercopaBracket-module-scss-module__oLieba__section__lineADown",section__lineAUp:"SupercopaBracket-module-scss-module__oLieba__section__lineAUp",section__lineAfter:"SupercopaBracket-module-scss-module__oLieba__section__lineAfter",section__lineBefore:"SupercopaBracket-module-scss-module__oLieba__section__lineBefore",section__matchA1:"SupercopaBracket-module-scss-module__oLieba__section__matchA1",section__matchA2:"SupercopaBracket-module-scss-module__oLieba__section__matchA2",section__matchB1:"SupercopaBracket-module-scss-module__oLieba__section__matchB1",section__scroll:"SupercopaBracket-module-scss-module__oLieba__section__scroll","section__scroll--noSnap":"SupercopaBracket-module-scss-module__oLieba__section__scroll--noSnap",section__step:"SupercopaBracket-module-scss-module__oLieba__section__step",section__stepTitle:"SupercopaBracket-module-scss-module__oLieba__section__stepTitle",section__title:"SupercopaBracket-module-scss-module__oLieba__section__title",section__trophy:"SupercopaBracket-module-scss-module__oLieba__section__trophy"})},709844,e=>{"use strict";
2var t=e.i(843476),a=e.i(343794),s=e.i(657688),c=e.i(271645);e.i(922720);var l=e.i(199308),o=e.i(389163),_=e.i(588706),i=e.i(796289),r=e.i(297968),n=e.i(393594);e.s(["default",0,function({bracketData:e,withPadding:d=!1,className:m,renderMatchCard:u,focusPhase:h=null,autoScrollToCurrentPhase:f=!0,trophy:p=i.SUPERCOPA_TROPHY}){let S=(0,c.useRef)(null),y=(0,c.useRef)(null),N=(0,c.useRef)(null),A=(0,c.useRef)(null),[g,x]=(0,c.useState)(!1),[v,B]=(0,c.useState)(!1),[j,T]=(0,c.useState)(!1),{semifinals:I,final:P}=e,w=(0,c.useMemo)(()=>I?.series??[],[I]),k=P?.series??[],C=(e,a,s,c,l)=>u?u({series:e,phaseId:a,index:s,className:c,children:l}):(0,t.jsx)(r.default,{series:e,className:c,children:l});(0,c.useEffect)(()=>{let e=S.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&T(!0)},{threshold:.6});return t.observe(e),()=>{t.disconnect()}},[]);let b=()=>{setTimeout(()=>{x(!1)},500)};return((0,c.useEffect)(()=>{if(!h)return;let e=(1===h.index?A:N).current,t=y.current;e&&t&&t.scrollTo({left:e.offsetLeft,behavior:"smooth"})},[h]),(0,c.useEffect)(()=>{let e=y.current;if(f&&e&&j&&!v&&window.innerWidth<768){if(B(!0),x(!0),w.every(e=>e?.matches[0]?.status===o.MatchStatus.FINISHED)){let e=A.current;if(!e)return;setTimeout(()=>{y.current?.scrollTo({left:e.offsetLeft,behavior:"smooth"}),b()},1e3);return}setTimeout(()=>{y.current?.scrollTo({left:100,behavior:"smooth"}),setTimeout(()=>{y.current?.scrollTo({left:0,behavior:"smooth"}),b()},800)},1e3)}},[j,w,v,f]),I||P)?(0,t.jsx)("section",{ref:S,className:(0,a.default)(n.default.section,m,{[n.default["section--withPadding"]]:d}),children:(0,t.jsx)(_.default,{className:n.default.section__container,children:(0,t.jsx)("div",{ref:y,className:(0,a.default)(n.default.section__scroll,{[n.default["section__scroll--noSnap"]]:g}),children:(0,t.jsxs)("div",{className:n.default.section__bracket,children:[(0,t.jsxs)("div",{ref:N,className:n.default.section__step,children:[(0,t.jsx)(l.Heading,{as:"p",variant:"heading-1",className:n.default.section__stepTitle,children:"Semifinales"}),C(w[0],o.SUBPHASE_IDS.SEMI_FINALS,0,n.default.section__matchA1,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:n.default.section__lineAfter}),(0,t.jsx)("div",{className:n.default.section__lineADown})]})),C(w[1],o.SUBPHASE_IDS.SEMI_FINALS,1,n.default.section__matchA2,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:n.default.section__lineAfter}),(0,t.jsx)("div",{className:n.default.section__lineAUp})]}))]}),(0,t.jsxs)("div",{ref:A,className:n.default.section__step,children:[(0,t.jsx)(l.Heading,{as:"p",variant:"heading-1",className:n.default.section__stepTitle,children:"Final"}),C(k[0],o.SUBPHASE_IDS.FINAL,0,n.default.section__matchB1,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:n.default.section__lineBefore}),(0,t.jsx)(s.default,{src:p.src,alt:p.alt,width:p.width,height:p.height,className:n.default.section__trophy})]}))]})]})})})}):(0,t.jsx)("section",{className:(0,a.default)(n.default.section,{[n.default["section--withPadding"]]:d}),children:(0,t.jsx)(_.default,{className:n.default.section__container,children:(0,t.jsx)("div",{className:n.default.section__empty,children:(0,t.jsx)(l.Heading,{as:"p",variant:"heading-1",children:"Bracket no disponible"})})})})}])},552786,e=>{"use strict";var t=e.i(389163);t.SUBPHASE_IDS.FIRST_ELIMINATION_PHASE,t.SUBPHASE_IDS.SECOND_ELIMINATION_PHASE,t.SUBPHASE_IDS.THIRD_ELIMINATION_PHASE,t.SUBPHASE_IDS.FINAL,t.SUBPHASE_IDS.SEMI_FINALS,t.SUBPHASE_IDS.QUARTER_FINALS,t.SUBPHASE_IDS.OCTAVOS_FINALS,t.SUBPHASE_IDS.SIXTEENTHS_FINALS,t.SUBPHASE_IDS.THIRTY_TWO_FINALS;function a(e){let a=e.filter(e=>e.status===t.MatchStatus.FINISHED&&null!==e.homeScore&&null!==e.awayScore);return 0===a.length?null:a.reduce((e,t)=>{let a=e.startDateTime?new Date(e.startDateTime).getTime():-1/0,s=t.startDateTime?new Date(t.startDateTime).getTime():-1/0;return s>a?t:s<a?e:t.id>e.id?t:e})}let s=e=>{let t=Math.floor(e.bestOf/2)+1;return e.finished||e.homeScore>=t||e.awayScore>=t},c=e=>e.length>0&&e.every(s);e.s(["getActivePlayoffPhaseIndex",0,e=>{let t=0;for(let a=0;a<e.length-1;a++)if(c(e[a])&&e[a+1].length>0)t=a+1;else break;return t},"getLastFinishedMatch",0,a,"getSeriesStatus",0,function(e,c){let{homeTeam:l,awayTeam:o,homeScore:_,awayScore:i,bestOf:r}=e,n={kind:"pending",team:null,label:`Al mejor de ${r}`};if(!l||!o)return n;let d=_>i?l:o;if(s(e)){let e=c===t.SUBPHASE_IDS.FINAL?"campeón":"avanza";
2return{kind:"avanza",team:d,label:`${d.abbreviatedName} ${e}`}}if(0===_&&0===i)return n;if(_===i){let t=function(e){if(!e.homeTeam||!e.awayTeam)return null;let t=a(e.matches);if(!t||null===t.homeScore||null===t.awayScore)return null;let s=t.homeTeamId===e.homeTeam.id;return(s?t.homeScore:t.awayScore)>(s?t.awayScore:t.homeScore)?e.homeTeam:e.awayTeam}(e);return t?{kind:"empata",team:t,label:`${t.abbreviatedName} empata`}:n}return{kind:"gana",team:d,label:`${d.abbreviatedName} gana`}}])}]);
3
4//# debugId=e9344c6d-7904-b016-193c-ff01283b53d6

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.