!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="74007e8e-df1b-4330-9c9a-d844e7549542",e._sentryDebugIdIdentifier="sentry-dbid-74007e8e-df1b-4330-9c9a-d844e7549542")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5836],{2494:(e,t,s)=>{s.d(t,{$9:()=>u,WS:()=>x,eH:()=>f});var r=s(6029),a=s(21377),n=s(55729),i=s(494),d=s(45860);let l={RS:{providerSlug:"mozzart-serbia",impressionCost:0,featuredOddsType:"default",betSlipLink:"https://www.mozzartbet.com/sr/uzivo/sport/all?utm_source=sofascore&utm_campaign=sofascore_kvote&utm_term=livebet"},BA:{providerSlug:"mozzart-bih-new-2025",impressionCost:0,featuredOddsType:"default",betSlipLink:"https://www.mozzartbet.ba/bs?utm_source=sofascore&utm_campaign=sofascore_kvote&utm_term=livebet#/live/sport/all"},MD:{providerSlug:"1xbet-moldova",impressionCost:0,betSlipLink:"https://refpanpmjvhl.top/L?tag=s_798115m_4308c__[]general[]_d41963_l37372_odds&site=798115&ad=4308&r=registration/",featuredOddsType:"default"},TG:{providerSlug:"1xbet-togo",impressionCost:0,betSlipLink:"https://refpaikgai.top/L?tag=d_3048275m_59833c__[]general[]_d96028_l129390_odds&site=3048275&ad=59833",featuredOddsType:"default"},CM:{providerSlug:"1xbet-cameroon",impressionCost:0,betSlipLink:"https://affpa.top/L?tag=d_798087m_2896c__[]general[]_d41963_l37362_odds&site=798087&ad=2896",featuredOddsType:"default"},GA:{providerSlug:"1xbet-gabon",impressionCost:0,betSlipLink:"https://affpa.top/L?tag=d_1102929m_22633c__[]general[]_d41963_l52652_odds&site=1102929&ad=22633",featuredOddsType:"default"},BF:{providerSlug:"1xbet-burkina-faso",impressionCost:0,betSlipLink:"https://affpa.top/L?tag=d_798083m_16307c__[]general[]_d41963_l37360_odds&site=798083&ad=16307",featuredOddsType:"default"},BJ:{providerSlug:"1xbet-benin",impressionCost:0,betSlipLink:"https://affpa.top/L?tag=d_798081m_16305c__[]general[]_d41963_l37359_odds&site=798081&ad=16305",featuredOddsType:"default"},UZ:{providerSlug:"parimatch-uzbekistan",impressionCost:0,betSlipLink:"https://z.cdn.protected.bet/go?z=1213741636",featuredOddsType:"default"},KZ:{providerSlug:"pin-up-kazakhstan",impressionCost:0,betSlipLink:"https://track-us.follow-new-insights.com/banner/c?content_type=html&auth=791sqn&plid=582621153&c=c097ebcf007b49a1c6af279e2b4395fd358f64ab133cdedadb133ebe2fe5b6f9464134a4abdb0d9e02d45cf994c6d935916e1bea026fbcfa45375ff3a81e8e9427aa2b11772915e5924ecc2188f145aff2128f74b4a0c1f7c75f21e31c7aaa4de65733b1f84948dc63dee6bc10ee30858e5efe5046876a54b940d04e2551d94e2f77077eeaa4d1476933c5b6a979f988080ce9b67134cd3738a295ceaede912e944696487446ef73443326de542bb7ecf16d582cf7a87d1738afa56ad5dfbd8a69207fd482b3cdf0eb0fa39d9230066707a7f64e25e0999a6bf7ed09d97b2193b35efd53aa49c0fec8f5c34640a9a94ff8d430f8f4150ddb951f44b002a923e62bbc0e93e6cc9ebd0d65f4fd3eaba2c2f2b76afc9d3e1a0112cdd263ccdad35fae6bae35b6f097c8adcf948dec5e5fff3ff1119bdf15541f13b78222ec457292fcee40899c2594ea5699ea0aba3698ef7fa4c2a94bb62088e723a3d9e5c9578fa724e215dfb6e3cc82b1ec48f4769d15c42a27a86c0eb2e047d290f790b6dc691f81bf0075ead4b4b407cf6d98fc38b90342d37a3a9345c8d228e61f9b9f3891a919eb750c961b2e95d2ad5831a54a944e361a528797627eacdfc2ccd87c82dcbf7c62d22a2772a4211fa44cd193dea40dc72d8a17441cc28e66303f192ec68c197aa3536bef4dd7f53e1008821e10908631640f589b55aebcccf9f5b0c3f351&p1=&p2=&p3=&p4=&p5=",featuredOddsType:"default"},NL:{providerSlug:"toto-sports",impressionCost:0,betSlipLink:"https://sport.toto.nl?utm_source=tot-sb-wv-refinery-pr-directe-deal-sofascore-odd-integratie&utm_medium=bac&utm_campaign=tot-sb-wv&utm_content=toto-sofascore-refinery-odd-integratie&utm_id=google_cm_397075075",featuredOddsType:"default"},CY:{providerSlug:"copybet-cyprus",impressionCost:0,betSlipLink:"https://copybet.com.cy/affiliates/?btag=2306667_l354241",featuredOddsType:"default"},VN:{providerSlug:"viet85",impressionCost:0,betSlipLink:"https://tinyviet.com/sofascors",featuredOddsType:"default"},DE:{providerSlug:"neobet",impressionCost:0,betSlipLink:"https://neobet.de/de/Sportwetten?a=sofascore-odds-match",featuredOddsType:"default"},NO:{providerSlug:"betovo-norway",impressionCost:0,betSlipLink:"https://btvo.fynkelto.com/?mid=271675_1590484",featuredOddsType:"default"},HU:{providerSlug:"betmatch-adwise-hungary",impressionCost:0,betSlipLink:"https://z.cdn.secured-ad.com/go?z=1745324153",featuredOddsType:"default"},MY:{providerSlug:"gembet-malaysia",impressionCost:0,betSlipLink:"https://gem333.com/SofaScoreMY",featuredOddsType:"default"},SG:{providerSlug:"gembet-singapore",impressionCost:0,betSlipLink:"https://gem333.com/SofaScore",featuredOddsType:"default"},IS:{providerSlug:"boomerangbet",impressionCost:0,betSlipLink:"https://boomertraff.com/g677814ba",featuredOddsType:"default"},PL:{providerSlug:"betclic-poland",impressionCost:0,betSlipLink:"https://wlbetclic.adsrv.eacdn.com/C.ashx?btag=a_30951b_18341c_&affid=18606&siteid=30951&adid=18341&c=odds",featuredOddsType:"default"}};var o=s(10794),c=s(62827);let u=(0,n.createContext)(void 0),p=(e,t)=>{var s;return(null==(s=e.match("{.+}"))?void 0:s.length)?t:e},x=e=>{let{children:t}=e,s=l[(0,i.d4)(o.LQ)||""],[x,f]=(0,n.useState)(void 0),[m,h]=(0,c.yR)("EURO_COPA_PROVIDER",void 0),g=m||x;(0,n.useEffect)(()=>{if(s&&!g)if(Array.isArray(s)){let e=Math.random(),t=0;for(let r of s)if(e<=(t+=r.weight)){h(r);break}}else f(s)},[s,g]);let{data:b}=(0,d.Ay)(g?a.npy.providerBySlug(g.providerSlug):null),v=g&&(null==b?void 0:b.oddsProvider)?{featuredOddsType:g.featuredOddsType,defaultBetSlipLink:p(g.betSlipLink,b.oddsProvider.defaultBetSlipLink),provider:b.oddsProvider,branded:!0,weight:100,betSlipLink:g.betSlipLink,impressionCostEncrypted:""}:void 0;if(g&&(null==b?void 0:b.oddsProvider)){var j,y,S,_;let e=b.oddsProvider;return(0,r.jsx)(u.Provider,{value:{...g,id:e.id,oddsFromId:null!=(_=null==(j=e.oddsFrom)?void 0:j.id)?_:e.id,liveOddsFromId:(null==(y=e.liveOddsFrom)?void 0:y.id)||(null==(S=e.oddsFrom)?void 0:S.id)||e.id,cop:v},children:t})}return(0,r.jsx)(u.Provider,{value:void 0,children:t})},f=()=>(0,n.useContext)(u)},21075:(e,t,s)=>{s.d(t,{n:()=>M});var r=s(6029),a=s(33144),n=s(21377),i=s(44194),d=s(76356),l=s(55729),o=s(90510),c=s(62859),u=s(84719),p=s(65078),x=s(8973),f=s(2494),m=s(39969),h=s(70591),g=s(47530),b=s(87763),v=s(94604),j=s(62827),y=s(4967),S=s(494),_=s(45860),k=s(8703),T=s(41618),w=s(62213),C=s(49821),I=s(4236),L=s(61836),z=s(10794),O=s(62042),A=s(75791),E=s(28600),B=s(31253);let D=(e,t,s)=>(0,O.AH)({display:"flex",justifyContent:"space-evenly",alignItems:"center",flex:"1",minW:"[0px]",minH:"[20px]",border:t?"1px solid":void 0,borderColor:t?"primary.default":s?"neutrals.nLv4":void 0,borderRadius:"xs",backgroundColor:"surface.s1",overflow:"hidden",_hover:{backgroundColor:e?"surface.s2":void 0}}),P=e=>{let{betSlipLink:t,onClick:s,title:a,clickable:n,winning:i,children:l,isOddsBranded:o}=e;return n&&t?(0,r.jsx)(d.I4.a,{href:t,target:"_blank",rel:"nofollow noopener noreferrer",onClick:s,title:a,className:D(n,i,o),children:l}):(0,r.jsx)(d.I4.div,{className:D(n,i),onClick:s,children:l})};function H(e){let{choice:t,isLive:s,betSlipLink:a,branded:n,onClick:l,isOddsBranded:o}=e,c=!!(a&&n);return(0,r.jsxs)(P,{clickable:c,title:t.name,betSlipLink:a,onClick:l,winning:t.winning,isOddsBranded:o,children:[(0,r.jsx)(i.EY,{display:"block",minW:"lg",textStyle:"assistive.default",color:"neutrals.nLv3",textAlign:"center",truncate:!0,children:(0,r.jsx)(E.G,{id:t.name})}),(0,r.jsxs)(d.so,{minW:"2xl",justify:"center",align:"center",gap:"2xs",children:[(0,r.jsx)(d.az,{mt:1===t.change?"2xs":void 0,children:(0,r.jsx)(B.A,{change:t.change})}),(0,r.jsx)(i.EY,{display:"block",textStyle:"display.micro",color:s?"status.val":"neutrals.nLv1",children:(0,r.jsx)(A.c,{fractionalValue:t.fractionalValue})})]})]})}let U=e=>{var t;let{provider:s,setHasSelectedDayOdds:a,isOddsBranded:i}=e,{event:o}=(0,l.useContext)(c.y$),u=o.status.type===n.XUj.InProgress?s.liveOddsFromId:s.oddsFromId,{data:p,isLoading:x}=(0,_.Ay)(u?n.bnp.featuredOdds(o.id,u):null,(0,k.rf)(o));if((0,l.useEffect)(()=>{(null==p?void 0:p.featured)&&a(!0)},[null==p?void 0:p.featured]),x)return o.startTimestamp*y.Z2-4*y.d_(0,L.Sj)({position:e,provider:s.providerSlug});return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(d.so,{py:"sm",gap:"lg",children:[(0,r.jsx)(d.so,{gap:"sm",grow:1,overflow:"hidden",children:f.choices.map(e=>{var t;return(0,r.jsx)(H,{choice:e,isLive:f.isLive,betSlipLink:s.cop&&(0,I.Iz)(e,f,s.cop),branded:null==(t=s.cop)?void 0:t.branded,onClick:()=>m(C.ki.OddsValue),isOddsBranded:i},e.name)})}),(0,r.jsx)(d.az,{h:"[20px]",w:"4xl",children:(0,r.jsx)(T.r,{size:"48x20",selectedProvider:s.cop,onClick:()=>m(C.ki.ProviderLogo),logClick:!1})})]})})},F=e=>{let{event:t}=(0,l.useContext)(c.y$),s=(0,S.d4)(z.LQ),a=(0,S.d4)(z.dg);return s&&w.aZ.includes(s)&&w.S1.includes(t.status.type)||s&&w.ZN.includes(s)&&!a||t.homeTeam.disabled||t.awayTeam.disabled?null:(0,r.jsx)(U,{...e})},Y=e=>{let{preferDate:t}=e,{event:s,leftTeam:a,rightTeam:n}=(0,l.useContext)(c.y$);return(0,r.jsxs)(d.so,{h:"3xl",justify:"space-between",align:"center",children:[(0,r.jsx)(i.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",truncate:!0,children:t?(0,r.jsx)(o.XU,{value:1e3*s.startTimestamp}):(0,r.jsxs)(r.Fragment,{children:[s.tournament.isGroup&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.__,{name:s.tournament.groupName||s.tournament.name}),",\xa0"]}),(0,r.jsx)(g.DT,{round:s.roundInfo})]})}),(0,r.jsx)(d.az,{onClick:e=>{e.preventDefault(),e.stopPropagation()},position:"relative",children:(0,r.jsx)(m.h,{id:s.id,type:x.b.Event,location:x.y.Header,tournament:s.tournament,leftTeam:a,rightTeam:n})})]})},R=e=>{let{event:t}=e;return(0,r.jsx)(d.so,{justify:"center",align:"center",children:(0,r.jsx)(d.az,{bg:"status.error.default",px:"sm",br:"sm",h:"[16px]",mb:"sm",children:(0,r.jsx)(i.EY,{display:"block",color:"surface.s1",textStyle:"assistive.default",children:(0,r.jsx)(b.fP,{id:t.status.description})})})})},q=()=>{let{isDesktop:e}=(0,i.$c)(),{event:t,leftTeam:s,rightTeam:p}=(0,l.useContext)(c.y$),x=t.status.type===n.XUj.NotStarted||(0,j.sw)(t);return(0,r.jsxs)(d.so,{justify:"space-between",py:"sm",children:[(0,r.jsxs)(d.so,{gap:"lg",w:"5xl",flexGrow:1,align:"center",justify:"flex-end",overflow:"hidden",children:[(0,r.jsx)(i.EY,{display:"block",textStyle:"display.micro",truncate:!0,children:e?(0,r.jsx)(v.Rm,{team:s,short:!0}):s.nameCode}),(0,r.jsx)(a.p,{id:s.id,name:s.name,size:32})]}),(0,r.jsxs)(d.so,{maxW:"[100px]",minW:"fit",px:"lg",grow:1,overflow:"hidden",justify:"center",align:"center",children:[!x&&(0,r.jsx)(u.A,{isSmall:!0,shortStatus:!0}),x&&(0,r.jsx)(i.EY,{display:"block",textAlign:"center",textStyle:"display.medium",color:"neutrals.nLv3",children:(0,r.jsx)(o.ib,{value:1e3*t.startTimestamp})})]}),(0,r.jsxs)(d.so,{gap:"lg",w:"5xl",grow:1,align:"center",overflow:"hidden",children:[(0,r.jsx)(a.p,{id:p.id,name:p.name,size:32}),(0,r.jsx)(i.EY,{display:"block",textStyle:"display.micro",truncate:!0,children:e?(0,r.jsx)(v.Rm,{team:p,short:!0}):p.nameCode})]})]})},M=e=>{let{event:t,setHasSelectedDayOdds:s,preferDateInHeader:a,isOddsBranded:n}=e,{event:i,...l}=(0,p.mJ)(t.id,{event:t,shouldRefresh:!0}),o=(0,f.eH)(),u=i||t,x=(0,j.sw)(u);return(0,r.jsx)(c.y$.Provider,{value:{event:u,...l,location:c.cb.SpecialEventWidget},children:(0,r.jsxs)(d.az,{minH:"10xl",px:"lg",pb:"sm",bg:"surface.s2",br:"md",children:[(0,r.jsxs)(h.tj,{event:u,children:[(0,r.jsx)(Y,{preferDate:a}),x&&(0,r.jsx)(R,{event:u}),(0,r.jsx)(q,{})]}),o&&(0,r.jsx)(F,{provider:o,setHasSelectedDayOdds:s,isOddsBranded:n})]})})}},21319:(e,t,s)=>{s.d(t,{H:()=>u});var r=s(6029),a=s(44194),n=s(76356),i=s(90248),d=s(85986),l=s(25022),o=s(53214);function c(e){var t,s;let{block:d,placementBlock:l,inCard:c}=e,u=null==(t=d.participants[0])?void 0:t.winner,p=null==(s=d.participants[1])?void 0:s.winner;return(0,r.jsxs)(n.so,{align:"center",justify:"center",position:"relative",children:[(0,r.jsx)(o.b8,{block:d,inCard:c}),(u||p)&&(0,r.jsx)(n.az,{position:"absolute",right:p?"[calc(50% - 90px)]":void 0,left:p?void 0:"[calc(50% - 90px)]",children:(0,r.jsx)(o.Xs,{})}),l&&(0,r.jsxs)(n.az,{position:"absolute",right:p?void 0:"[calc(50% - 130px)]",left:p?"[calc(50% - 130px)]":void 0,children:[(0,r.jsx)(o.b8,{block:l,hideTopConnector:!0,hideBottomConnector:!0,inCard:c}),(0,r.jsx)(a.EY,{display:"block",textAlign:"center",textStyle:"assistive.micro",color:"neutrals.nLv3",mt:"-md",children:(0,r.jsx)(i.A,{id:"3rdPlace"})})]})]})}function u(e){let{cupTree:t,inCard:s}=e,{sport:a}=(0,d.B)(),i=(0,l.TI)(t,a,null);return(0,r.jsxs)(n.az,{overflow:s?"hidden":"scroll",children:[(0,r.jsx)(o.Bg,{tree:i.left,inCard:s}),(0,r.jsx)(c,{block:i,placementBlock:i.thirdPlaceBlock,inCard:s}),(0,r.jsx)(o.Bg,{tree:i.right,initialOrientation:"bottom",inCard:s})]})}},25836:(e,t,s)=>{s.d(t,{Bd:()=>em,Or:()=>ev,SR:()=>ej.SR,LS:()=>ej.LS});var r=s(6029),a=s(21377),n=s(76356),i=s(55729),d=s(90248),l=s(33752),o=s(65789),c=s(49249),u=s(14861),p=s(44194),x=s(75751),f=s(85986),m=s(95195),h=s(62221),g=s(21319),b=s(25022),v=s(47530);let j=e=>{var t;let{uniqueTournamentId:s,seasonId:a,sport:i,cupTrees:l}=e,{knockoutPartCupTree:c,selectedCupTree:u,enableCompactView:m,renderKnockout:j}=(0,h.C)(l);if(!c||!m||!j)return null;let y=null==(t=u.rounds.find(e=>e.order===u.currentRound))?void 0:t.description;return(0,r.jsx)(x.t,{tag:"MobileCupTree",children:(0,r.jsx)(f.J,{sport:i,tournamentId:s,seasonId:a,sourceTreeId:u.id,sourceTreeName:u.name,showSingleParticipantByeBlocks:u.showSingleParticipantByeBlocks,rounds:u.rounds,entrantsPerRound:u.showSingleParticipantByeBlocks?[]:(0,b.BE)(u.rounds),children:(0,r.jsxs)(o.Zp,{children:[(0,r.jsxs)(n.az,{pt:"lg",children:[(0,r.jsx)(p.EY,{display:"block",textStyle:"display.medium",textAlign:"center",children:(0,r.jsx)(d.A,{id:"knockout"})}),y&&(0,r.jsx)(p.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",textAlign:"center",children:(0,r.jsx)(v.__,{name:y,sport:i})})]}),(0,r.jsx)(g.H,{cupTree:c,inCard:!0})]})})})},y=e=>{let{featured:t,uniqueTournament:s}=e,[i,d]=(0,m.Q)(t.id,t.seasonId);return d?(0,r.jsx)(n.az,{h:"[500px]"}):i?(0,r.jsx)(j,{cupTrees:i,seasonId:t.seasonId,uniqueTournamentId:t.id,sport:a.QCR.Football,categorySlug:s.category.slug,uniqueTournamentSlug:s.slug}):null};var S=s(947),_=s(25540),k=s(84677),T=s(12153);let w=()=>{let e=(0,S.A)(),{isFantasyEnabled:t}=(0,k.t)();return t?(0,r.jsx)(T.A,{routeKey:"fantasy",children:(0,r.jsx)(_.Q,{banner:{copy:{sectionTitle:e.formatMessage({id:"fantasy_banner_entry_point_title"}),description:e.formatMessage({id:"fantasy_banner_entry_point_text"}),action:e.formatMessage({id:"fantasy_play_now_button"})},type:a.$pL.CreativeBanner,background:a.jae.Surface,detailImageUrl:{ltr:"/static/images/featured-tournament/fantasy_entry_ltr.png",rtl:"/static/images/featured-tournament/fantasy_entry_ltr.png"},campaignName:"fantasy"},location:"featured_tournament_tab"})}):null};var C=s(75436),I=s(59721),L=s(46009),z=s(8973),O=s(41248),A=s(4967),E=s(21501),B=s(3167);let D=e=>{let{value:t,messageId:s}=e;return(0,r.jsxs)(n.az,{w:"1/4",px:"[1px]",children:[(0,r.jsx)(p.EY,{display:"block",textStyle:"display.small",color:"onColor.primary",textAlign:"center",children:t}),(0,r.jsx)(p.EY,{display:"block",textStyle:"assistive.default",color:"onColor.primary",textAlign:"center",truncate:!0,children:(0,r.jsx)(d.A,{id:s})})]})},P=()=>(0,r.jsx)(n.az,{h:"2xl",w:"[1px]",backgroundColor:"onColor.secondary"}),H=e=>{let{now:t,start:s}=e,{days:a,hours:i,minutes:d,seconds:l}=(0,A.DU)(t,s);return(0,r.jsxs)(n.so,{w:"100%",justify:"space-between",bg:"[linear-gradient(0deg, {colors.onColor.highlight2} 0%, {colors.onColor.highlight2} 100%), {colors.graphics.dark}]",h:"4xl",br:"sm",p:"sm",mt:"sm",children:[(0,r.jsx)(D,{value:a,messageId:"days"}),(0,r.jsx)(P,{}),(0,r.jsx)(D,{value:i,messageId:"hours"}),(0,r.jsx)(P,{}),(0,r.jsx)(D,{value:d,messageId:"minutes"}),(0,r.jsx)(P,{}),(0,r.jsx)(D,{value:l,messageId:"seconds_left"})]})},U=e=>{let{start:t,end:s}=e,[a,d]=(0,i.useState)(new Date().getTime()),l=(0,E.hX)();if((0,i.useEffect)(()=>{let e=setInterval(()=>d(new Date().getTime()),1e3);return()=>clearInterval(e)},[]),!t||l)return(0,r.jsx)(n.az,{h:"5xl"});let o=1e3*t;return o>=a?(0,r.jsx)(H,{now:a,start:o}):(0,r.jsx)(B.G,{c:"onColor.primary",bg:"onColor.highlight.nLv2",datesProps:{mt:"xxs"},start:t,end:s,mt:"0",mb:"0",pt:"lg"})};var F=s(52695);let Y=e=>{let{uniqueTournament:t,featuredType:s}=e;return(0,r.jsxs)(n.az,{position:"relative",children:[(0,r.jsx)(O.W,{tournament:s}),(0,r.jsxs)(n.az,{px:"lg",position:"relative",children:[(0,r.jsxs)(n.so,{py:"lg",gap:"lg",align:"center",children:[(0,r.jsx)(n.az,{w:"2xl",h:"2xl",children:(0,r.jsx)(I.e,{id:s.id,name:null==t?void 0:t.name,size:32})}),(0,r.jsx)(n.az,{overflow:"hidden",flexGrow:1,children:(0,r.jsx)(p.EY,{display:"block",textStyle:"display.medium",color:"onColor.primary",truncate:!0,children:t&&(0,r.jsx)(F.O,{uniqueTournament:t})})}),(0,r.jsx)(L.e,{id:s.id,entity:a.bq7.Tournaments,location:z.y.Header,type:z.b.UniqueTournament,isOnOverlay:!0})]}),(0,r.jsx)(n.az,{pb:"lg",children:(0,r.jsx)(U,{start:null==t?void 0:t.startDateTimestamp,end:null==t?void 0:t.endDateTimestamp})})]})]})};var R=s(2494),q=s(61836);let M=60*A.Z2,N=(e,t)=>{let[s,r]=(0,i.useState)({}),[a,n]=(0,i.useState)({}),[d,l]=(0,i.useState)(Math.random()),o=(0,R.eH)(),c=!!t&&!!s[t];return(0,i.useEffect)(()=>{if(!t||!c||!(null==o?void 0:o.providerSlug))return;let e=Date.now();if(a[t]){let s=e-a[t];if(sl(Math.random()),s);return()=>clearTimeout(e)}}let s=()=>{(0,q.Zb)({provider:o.providerSlug,value:o.impressionCost||0})};n({...a,[t]:new Date().getTime()}),s();let r=setInterval(()=>s(),M);return()=>clearInterval(r)},[c,o,t,d]),{hasSelectedDayOdds:c,setHasSelectedDayOdds:e=>{r(s=>t?{...s,[t]:e}:s)},resetOddsTracking:()=>{r({}),n({})}}};var W=s(77988),Z=s(19944),$=s(12047),V=s(54409),G=s(21075),K=s(28132);let X=(e,t,s,r)=>{let a=(null==t?void 0:t.count)||r;if(e&&a)return a*(96+36*!!s)+8*(a-1)},Q=e=>{let{day:t,events:s,isLoading:a,uniqueTournament:i,seasonId:l,setHasSelectedDayOdds:c}=e,u=(0,R.eH)();if(!a&&0===s.length)return null;let x=X(a,t,u,1);return(0,r.jsxs)(o.Zp,{children:[(0,r.jsx)(n.az,{style:{height:x?"".concat(x,"px"):void 0},children:(0,r.jsx)(o.BU,{children:s.sort((e,t)=>e.startTimestamp-t.startTimestamp).map(e=>(0,r.jsx)(G.n,{event:e,setHasSelectedDayOdds:c},e.id))})}),(0,r.jsx)(C.S,{uniqueTournament:i,seasonId:l,tab:K.H.Matches,children:(0,r.jsxs)(n.so,{pb:"lg",pt:"sm",br:"md",bg:"surface.s1",justify:"center",align:"center",gap:"xs",children:[(0,r.jsx)(p.EY,{display:"block",textStyle:"display.small",color:"primary.default",children:(0,r.jsx)(d.A,{id:"see_all_matches_button"})}),(0,r.jsx)(V.CCT,{fill:"primary.default"})]})})]})};var J=s(10778),ee=s(90510);let et=e=>{let{dateString:t,isSelected:s,onClick:a}=e,[i,l]=(0,E.c9)([]);(0,p.rF)(i,[s],()=>!!s);let o=new Date(t);return(0,r.jsxs)(n.az,{ref:l,h:"4xl",minW:"5xl",bg:"surface.s1",onClick:s?void 0:a,cursor:s?void 0:"pointer",borderBottom:"[2px solid]",borderBottomColor:s?"primary.default":"[transparent]",style:{userSelect:"none"},flexShrink:0,pt:"xs",py:"xs",children:[(0,r.jsx)(p.EY,{display:"block",textStyle:"assistive.micro",textAlign:"center",whiteSpace:"nowrap",color:s?"primary.default":"neutrals.nLv3",mt:"xs",children:(0,A.cK)(o)?(0,r.jsx)(d.A,{id:"today"}):(0,r.jsx)(ee.XU,{value:o,weekday:"short"})}),(0,r.jsx)(p.EY,{display:"block",textStyle:"display.micro",textAlign:"center",whiteSpace:"nowrap",mt:"2xs",children:(0,r.jsx)(ee.XU,{value:o,day:"numeric",month:"short"})})]})},es=e=>{let{selectedDate:t,setSelectedDate:s,dates:a}=e;return(0,r.jsx)(p.tR,{showButtons:"never",children:(0,r.jsx)(n.so,{bg:"surface.s1",minW:"fit",h:"4xl",justify:"space-between",children:a.length>0&&a.map(e=>(0,r.jsx)(et,{dateString:e.date,isSelected:(null==t?void 0:t.date)===e.date,onClick:()=>s(e)},e.date))})})};var er=s(45860),ea=s(86679);let en=e=>{let{data:t}=(0,er.Ay)(a.tI9.seasonDatesWithEvents(e.seasonId,3600*(0,A.UW)())),{hasCupTree:s}=(0,ea.A)({hasCupTree:{route:a.V3t.cupTrees(e.id,e.seasonId)}},[e.id,e.seasonId]),[r,n]=(0,i.useState)(),d=(null==t?void 0:t.dailySeasonEvents)||[];(0,i.useEffect)(()=>{if(d.length){let e=new Date().getTime(),t=d[0],s=Number.MAX_VALUE;d.forEach(r=>{let a=new Date(r.date),n=Math.abs(e-a.getTime());(0,A.cK)(a)&&(t=r,s=0),n{let{tournament:t,uniqueTournament:s}=e,p=(0,$.Ay)({isInMobileTabs:!1,isSportMenuVisible:!1}),{selectedDate:x,setSelectedDate:f,dates:m,showCupTree:h}=en(t),{events:g,isLoading:b}=(0,Z.Y)(t.id,null==x?void 0:x.date),{hasSelectedDayOdds:v,setHasSelectedDayOdds:j}=N(t.id,null==x?void 0:x.date),S=(0,ex.h)(g);return(0,i.useEffect)(()=>{window.scrollTo({left:0,top:0})},[t.id]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.az,{position:"relative",children:[(0,r.jsx)(C.S,{uniqueTournament:s,seasonId:t.seasonId,children:(0,r.jsx)(Y,{featuredType:t,uniqueTournament:s})}),(0,r.jsx)(l.B,{children:(0,r.jsx)(l.B.Title,{children:(0,r.jsx)(d.A,{id:"meta."+t.slug,defaultMessage:s.name})})}),(0,r.jsx)(n.az,{bg:"surface.s1",position:"sticky",zIndex:"sticky",elevation:"2",style:{top:p},children:(0,r.jsx)(es,{selectedDate:x,setSelectedDate:f,dates:m})}),(0,r.jsx)(n.az,{bg:"surface.s0",children:(0,r.jsxs)(o.BU,{children:[(0,r.jsx)(Q,{day:x,events:g,isLoading:b||!x,uniqueTournament:s,seasonId:t.seasonId,setHasSelectedDayOdds:j}),(0,r.jsx)(u.i,{id:"eurocopa.EURO_FEATURED"}),(0,r.jsx)(w,{}),h?(0,r.jsx)(y,{featured:t,uniqueTournament:s}):(0,r.jsx)(ep,{uniqueTournamentId:t.id,seasonId:t.seasonId,selectedTournamentId:S}),(0,r.jsx)(c.Z,{entity:"unique-tournament",entityId:t.id,bgImageUrl:a.V3t.image(t.id,!0),location:"featured_tournament_tab"})]})})]}),t.historyHighlightsEndYear&&(0,r.jsx)(J.j,{uniqueTournament:s,tournament:t}),(0,r.jsx)(n.so,{justify:"center",align:"center",pt:t.historyHighlightsEndYear?"lg":"sm",pb:"4xl",px:"lg",gap:"sm",bg:"surface.s0",children:v&&(0,r.jsx)(W.A,{})}),(0,r.jsx)(n.az,{position:"fixed",right:"0",left:"0",zIndex:"bottomNavigation",style:{bottom:"calc(env(safe-area-inset-bottom) + ".concat(ei.E,"px)")},children:(0,r.jsx)(u.i,{id:"eurocopa.EUROCOPA_BOTTOM",borderless:!0})})]})},em=e=>(0,r.jsx)(R.WS,{children:(0,r.jsx)(ef,{...e})});var eh=s(13030);let eg=(e,t)=>{let s=e.localeCompare(t.defaultFrom);return s<0?0:0===s?1:e.localeCompare(t.showCupTreeFrom||t.visibleTo)>=0?2:4},eb=e=>{let{selectedDate:t,tournament:s}=e,{data:i}=(0,er.Ay)(a.V3t.details(s.id)),{data:d}=(0,er.Ay)(a.tI9.seasonDatesWithEvents(s.seasonId,3600*(0,A.UW)()),{dedupingInterval:A.dp}),{events:l,isLoading:c}=(0,Z.Y)(s.id,t),u=(0,R.eH)(),{setHasSelectedDayOdds:p}=N(s.id,t),x=eg(t,s),f=X(c,null==d?void 0:d.dailySeasonEvents.find(e=>e.date===t),u,x);return(0,r.jsx)(eh.A,{children:(0,r.jsxs)(o.BU,{children:[(0,r.jsx)(C.S,{uniqueTournament:null==i?void 0:i.uniqueTournament,seasonId:s.seasonId,onClick:()=>(0,q.ke)({action:"click",location:"main_page",type:s.analyticsName}),children:(0,r.jsx)(n.az,{br:"lg",overflow:"hidden",children:(0,r.jsx)(Y,{featuredType:s,uniqueTournament:null==i?void 0:i.uniqueTournament})})}),c&&Number(f)>0&&(0,r.jsx)(n.az,{style:{height:f?"".concat(f,"px"):void 0}}),l.sort((e,t)=>e.startTimestamp-t.startTimestamp).map(e=>(0,r.jsx)(G.n,{event:e,setHasSelectedDayOdds:p},e.id))]})})},ev=e=>{let{date:t,tournaments:s}=e;return(0,r.jsx)(R.WS,{children:s.map(e=>(0,r.jsx)(eb,{tournament:e,selectedDate:t},e.id))})};var ej=s(79368)},41618:(e,t,s)=>{s.d(t,{r:()=>p,$:()=>m});var r=s(6029),a=s(21377),n=s(76356),i=s(55729),d=s(494),l=s(62859),o=s(61836),c=s(49821),u=s(2294);function p(e){let{selectedProvider:t,location:s,onClick:p,logClick:x=!0,size:f="56x28"}=e,m=(0,d.d4)(u.a5),h=t?t.provider:null==m?void 0:m.provider,g=t?null==t?void 0:t.branded:null==m?void 0:m.branded,b=t?t.provider.slug:null==m?void 0:m.provider.slug,{location:v}=(0,i.useContext)(l.y$),[j,y]=f.split("x"),S=s||v;return h&&g?(0,r.jsx)(n.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:(t?t.defaultBetSlipLink:null==m?void 0:m.defaultBetSlipLink)||h.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==p||p(),x&&(0,o.Fe)({location:S,provider:b,position:c.ki.ProviderLogo})},style:{background:h.colors.primary,width:"".concat(j,"px"),height:"".concat(y,"px")},children:(0,r.jsx)(n.I4.img,{src:a.npy.providerImage(h.id),alt:h.name||"",style:{width:"".concat(j,"px"),height:"auto"}})}):null}var x=s(44194),f=s(90248);let m=()=>{let e=(0,d.d4)(u.a5);return(null==e?void 0:e.branded)?(0,r.jsxs)(n.so,{justify:"center",align:"center",ml:"lg",children:[(0,r.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,r.jsx)(f.A,{id:"featured_by"})}),(0,r.jsx)(p,{size:"48x24"})]}):null}},42078:(e,t,s)=>{s.d(t,{d:()=>p});var r=s(6029),a=s(76356),n=s(99064),i=s(55729),d=s(90248),l=s(65789),o=s(62859),c=s(85568),u=s(66757);let p=e=>{var t;let{noSeasonPicker:s,isNarrowLayout:p,branding:x,numberOfRows:f=20}=e,{event:m}=(0,i.useContext)(o.y$),h=null==m||null==(t=m.tournament.uniqueTournament)?void 0:t.hasPerformanceGraphFeature;return(0,r.jsxs)(a.so,{direction:"column",gap:["sm","md"],children:[(0,r.jsxs)(l.Zp,{isInverseDesktop:p,children:[!p&&(0,r.jsx)(c.U,{titleId:"app.standings",branding:x}),(0,r.jsxs)(a.az,{children:[!s&&(0,r.jsx)(a.az,{h:"4xl"}),(0,r.jsx)(n.tU,{variant:"secondary",children:(0,r.jsx)(a.so,{h:"[53px]",p:"sm",justify:"space-between",children:(0,r.jsxs)(a.az,{children:[(0,r.jsx)(n.tU.Tab,{tabKey:1,children:(0,r.jsx)(d.A,{id:"basic.all"})}),(0,r.jsx)(n.tU.Tab,{tabKey:2,children:(0,r.jsx)(d.A,{id:"home"})}),(0,r.jsx)(n.tU.Tab,{tabKey:3,children:(0,r.jsx)(d.A,{id:"away"})})]})})}),(0,r.jsx)(a.az,{h:"2xl"}),(0,r.jsx)(u.e,{rows:f}),(0,r.jsx)(a.az,{h:"[92px]"}),(0,r.jsx)(a.az,{p:"sm",children:(0,r.jsx)(a.az,{h:"4xl",bg:"surface.s2",br:"lg"})})]})]}),h&&(0,r.jsxs)(l.Zp,{children:[(0,r.jsx)(l.Zp.Header,{titleId:"standings_tracker_title"}),(0,r.jsx)(a.az,{h:"[542px]"})]})]})}},59721:(e,t,s)=>{s.d(t,{e:()=>r.e});var r=s(33480)},62221:(e,t,s)=>{s.d(t,{C:()=>n});var r=s(55729),a=s(25022);let n=e=>{var t;let[s,n]=(0,r.useState)(0),[i,d]=(0,r.useState)(!0),[l,o]=(0,r.useState)(0);(0,r.useEffect)(()=>{let t=null==e?void 0:e[s];t&&("number"==typeof t.currentRound?o(t.currentRound-1):t.rounds.length>=1&&o(t.rounds.length-1))},[s]);let c=e[s],u=c.rounds.filter(a.bs),p={...c,rounds:u},x=u.length>0&&(0,a.P4)(p,null==(t=e[s])?void 0:t.rounds);return{cupTrees:e,knockoutPartCupTree:p,selectedCupTree:c,enableCompactView:x,renderKnockout:i,setRenderKnockout:d,selectedRoundIndex:l,setSelectedRoundIndex:o,selectedTreeIndex:s,setSelectedTreeIndex:n}}},66757:(e,t,s)=>{s.d(t,{e:()=>l});var r=s(6029),a=s(18612),n=s(76356),i=s(55729);function d(e){let{rows:t,rowHeight:s}=e;return(0,r.jsx)(a.D,{animate:!0,height:t*s,uniqueKey:"generic-table-cl",children:Array(t).fill(null).map((e,t)=>{let a=t*s;return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)("circle",{cx:20,cy:a+s/2,r:12}),(0,r.jsx)("rect",{x:40,y:a+8,width:"calc(100% - 48px)",height:s-16})]},a)})})}function l(e){let{rows:t=12}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.az,{hideBelow:"md",children:(0,r.jsx)(d,{rowHeight:32,rows:t})}),(0,r.jsx)(n.az,{hideFrom:"md",children:(0,r.jsx)(d,{rowHeight:48,rows:t})})]})}},85568:(e,t,s)=>{s.d(t,{U:()=>d});var r=s(6029),a=s(44194),n=s(13030),i=s(51372);let d=e=>{let{branding:t,location:s,entityId:d,...l}=e,{isDesktop:o}=(0,a.$c)();return o&&t?(0,r.jsx)(n.A.Header,{...l,variant:"left-aligned",actionComponent:(0,r.jsx)(i.O,{minW:"[140px]",px:"sm",br:"xs",branding:t,location:s,entityId:d})}):(0,r.jsx)(n.A.Header,{...l})}}}]);