!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]="b836c8b0-dbe5-45f8-9d8e-7b6193a491d8",e._sentryDebugIdIdentifier="sentry-dbid-b836c8b0-dbe5-45f8-9d8e-7b6193a491d8")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25479,53805],{18205:(e,t,s)=>{s.d(t,{e:()=>d});var n=s(6029),r=s(18612),i=s(76356),l=s(55729);function a(e){let{rows:t,rowHeight:s}=e;return(0,n.jsx)(r.D,{animate:!0,height:t*s,uniqueKey:"generic-table-cl",children:Array(t).fill(null).map((e,t)=>{let r=t*s;return(0,n.jsxs)(l.Fragment,{children:[(0,n.jsx)("circle",{cx:20,cy:r+s/2,r:12}),(0,n.jsx)("rect",{x:40,y:r+8,width:"calc(100% - 48px)",height:s-16})]},r)})})}function d(e){let{rows:t=12}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.az,{hideBelow:"md",children:(0,n.jsx)(a,{rowHeight:32,rows:t})}),(0,n.jsx)(i.az,{hideFrom:"md",children:(0,n.jsx)(a,{rowHeight:48,rows:t})})]})}},25479:(e,t,s)=>{s.d(t,{Bd:()=>ed,Or:()=>eu,SR:()=>ec.SR,LS:()=>ec.LS});var n=s(6029),r=s(46787),i=s(19621),l=s(76356),a=s(55729),d=s(90248),o=s(88658),u=s(46222),c=s(94822),x=s(52763),m=s(10174),p=s(74610),h=s(38809),j=s(3022),g=s(83576),v=s(39216),y=s(45254),f=s(9081);let b=e=>{var t;let{uniqueTournamentId:s,seasonId:r,sport:i,cupTrees:a}=e,{knockoutPartCupTree:o,selectedCupTree:c,enableCompactView:x,renderKnockout:j}=(0,g.C)(a);if(!o||!x||!j)return null;let b=null==(t=c.rounds.find(e=>e.order===c.currentRound))?void 0:t.description;return(0,n.jsx)(p.t,{tag:"MobileCupTree",children:(0,n.jsx)(h.W,{value:{sport:i,tournamentId:s,seasonId:r,sourceTreeId:c.id,sourceTreeName:c.name,showSingleParticipantByeBlocks:c.showSingleParticipantByeBlocks,rounds:c.rounds,entrantsPerRound:c.showSingleParticipantByeBlocks?[]:(0,y.BE)(c.rounds)},children:(0,n.jsxs)(u.Zp,{children:[(0,n.jsxs)(l.az,{pt:"lg",children:[(0,n.jsx)(m.EY,{display:"block",textStyle:"display.medium",textAlign:"center",children:(0,n.jsx)(d.A,{id:"knockout"})}),b&&(0,n.jsx)(m.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",textAlign:"center",children:(0,n.jsx)(f.__,{name:b,sport:i})})]}),(0,n.jsx)(v.H,{cupTree:o,inCard:!0})]})})})},T=e=>{let{featured:t,uniqueTournament:s}=e,[i,a]=(0,j.Q)(t.id,t.seasonId);return a?(0,n.jsx)(l.az,{h:"[500px]"}):i?(0,n.jsx)(b,{cupTrees:i,seasonId:t.seasonId,uniqueTournamentId:t.id,sport:r.QCR.Football,categorySlug:s.category.slug,uniqueTournamentSlug:s.slug}):null};var w=s(69939),S=s(59721),I=s(15340),k=s(36882),C=s(33939),E=s(22375),z=s(9050);let D=e=>{let{value:t,messageId:s}=e;return(0,n.jsxs)(l.az,{w:"1/4",px:"[1px]",children:[(0,n.jsx)(m.EY,{display:"block",textStyle:"display.small",color:"onColor.primary",textAlign:"center",children:t}),(0,n.jsx)(m.EY,{display:"block",textStyle:"assistive.default",color:"onColor.primary",textAlign:"center",truncate:!0,children:(0,n.jsx)(d.A,{id:s})})]})},A=()=>(0,n.jsx)(l.az,{h:"2xl",w:"[1px]",backgroundColor:"onColor.secondary"}),B=e=>{let{now:t,start:s}=e,{days:r,hours:i,minutes:a,seconds:d}=(0,E.DU)(t,s);return(0,n.jsxs)(l.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,n.jsx)(D,{value:r,messageId:"days"}),(0,n.jsx)(A,{}),(0,n.jsx)(D,{value:i,messageId:"hours"}),(0,n.jsx)(A,{}),(0,n.jsx)(D,{value:a,messageId:"minutes"}),(0,n.jsx)(A,{}),(0,n.jsx)(D,{value:d,messageId:"seconds_left"})]})},O=e=>{let{start:t,end:s}=e,[r,d]=(0,a.useState)(new Date().getTime()),o=(0,i.hX)();if((0,a.useEffect)(()=>{let e=setInterval(()=>d(new Date().getTime()),1e3);return()=>clearInterval(e)},[]),!t||o)return(0,n.jsx)(l.az,{h:"5xl"});let u=1e3*t;return u>=r?(0,n.jsx)(B,{now:r,start:u}):(0,n.jsx)(z.G,{c:"onColor.primary",bg:"onColor.highlight.nLv2",datesProps:{mt:"xxs"},start:t,end:s,mt:"0",mb:"0",pt:"lg"})};var _=s(82346);let L=e=>{let{uniqueTournament:t,featuredType:s}=e;return(0,n.jsxs)(l.az,{position:"relative",children:[(0,n.jsx)(C.W,{tournament:s}),(0,n.jsxs)(l.az,{px:"lg",position:"relative",children:[(0,n.jsxs)(l.so,{py:"lg",gap:"lg",align:"center",children:[(0,n.jsx)(l.az,{w:"2xl",h:"2xl",children:(0,n.jsx)(S.e,{id:s.id,name:null==t?void 0:t.name,size:32})}),(0,n.jsx)(l.az,{overflow:"hidden",flexGrow:1,children:(0,n.jsx)(m.EY,{display:"block",textStyle:"display.medium",color:"onColor.primary",truncate:!0,children:t&&(0,n.jsx)(_.O,{uniqueTournament:t})})}),(0,n.jsx)(I.e,{id:s.id,entity:r.bq7.Tournaments,location:k.y.Header,type:k.b.UniqueTournament,isOnOverlay:!0})]}),(0,n.jsx)(l.az,{pb:"lg",children:(0,n.jsx)(O,{start:null==t?void 0:t.startDateTimestamp,end:null==t?void 0:t.endDateTimestamp})})]})]})};var P=s(68789),Y=s(95084),N=s(4790);let U=60*E.Z2,q=(e,t)=>{var s;let[n,r]=(0,a.useState)({}),[i,l]=(0,a.useState)({}),[d,o]=(0,a.useState)(Math.random()),u=(0,P.uZ)(),c=(0,N.s)(null==u?void 0:u.impressionCostEncrypted),x=!!t&&!!n[t];return(0,a.useEffect)(()=>{if(!t||!x||!u)return;let e=Date.now();if(i[t]){let s=e-i[t];if(so(Math.random()),s);return()=>clearTimeout(e)}}let s=async()=>{(0,Y.Zb)({provider:u.provider.slug,value:await c})};l({...i,[t]:new Date().getTime()}),s();let n=setInterval(()=>s(),U);return()=>clearInterval(n)},[x,null==u||null==(s=u.provider)?void 0:s.id,t,d]),{hasSelectedDayOdds:x,setHasSelectedDayOdds:e=>{r(s=>t?{...s,[t]:e}:s)},resetOddsTracking:()=>{r({}),l({})}}};var H=s(66243),F=s(79375),R=s(50177),M=s(18858),Z=s(81813),W=s(95404),G=s(43189),X=s(52466),V=s(86170),$=s(56132);let Q=(e,t,s,n)=>{let r=(null==t?void 0:t.count)||n;if(e&&r)return r*(96+36*!!s)+8*(r-1)},K=e=>{let{day:t,events:s,isLoading:r,uniqueTournament:i,seasonId:a,setHasSelectedDayOdds:o}=e,c=(0,P.uZ)();if(!r&&0===s.length)return null;let x=Q(r,t,c,1);return(0,n.jsxs)(u.Zp,{children:[(0,n.jsx)(l.az,{style:{height:x?"".concat(x,"px"):void 0},children:(0,n.jsx)(u.BU,{children:s.sort((e,t)=>e.startTimestamp-t.startTimestamp).map(e=>(0,n.jsx)(V.n,{countryOddsProvider:c,event:e,setHasSelectedDayOdds:o},e.id))})}),(0,n.jsx)(w.S,{uniqueTournament:i,seasonId:a,tab:$.x.Matches,children:(0,n.jsxs)(l.so,{pb:"lg",pt:"sm",br:"md",bg:"surface.s1",justify:"center",align:"center",gap:"xs",children:[(0,n.jsx)(m.EY,{display:"block",textStyle:"display.small",color:"primary.default",children:(0,n.jsx)(d.A,{id:"see_all_matches_button"})}),(0,n.jsx)(X.CCT,{fill:"primary.default"})]})})]})};var J=s(78952),ee=s(90510);let et=e=>{let{dateString:t,isSelected:s,onClick:r}=e,[a,o]=(0,i.c9)([]);(0,m.rF)(a,[s],()=>!!s);let u=t.split("-").map(Number),c=new Date(u[0],u[1]-1,u[2]);return(0,n.jsxs)(l.az,{ref:o,h:"4xl",minW:"5xl",bg:"surface.s1",onClick:s?void 0:r,cursor:s?void 0:"pointer",borderBottom:"[2px solid]",borderBottomColor:s?"primary.default":"[transparent]",style:{userSelect:"none"},flexShrink:0,pt:"xs",py:"xs",children:[(0,n.jsx)(m.EY,{display:"block",textStyle:"assistive.micro",textAlign:"center",whiteSpace:"nowrap",color:s?"primary.default":"neutrals.nLv3",mt:"xs",children:(0,E.cK)(c)?(0,n.jsx)(d.A,{id:"today"}):(0,n.jsx)(ee.XU,{value:c,weekday:"short"})}),(0,n.jsx)(m.EY,{display:"block",textStyle:"display.micro",textAlign:"center",whiteSpace:"nowrap",mt:"2xs",children:(0,n.jsx)(ee.XU,{value:c,day:"numeric",month:"short"})})]})},es=e=>{let{selectedDate:t,setSelectedDate:s,dates:r}=e;return(0,n.jsx)(m.tR,{showButtons:"never",children:(0,n.jsx)(l.so,{bg:"surface.s1",minW:"fit",h:"4xl",justify:"space-between",children:r.length>0&&r.map(e=>(0,n.jsx)(et,{dateString:e.date,isSelected:(null==t?void 0:t.date)===e.date,onClick:()=>s(e)},e.date))})})};var en=s(45860),er=s(11996),ei=s(53805),el=s(50865);let ea=e=>{let{tournament:t,uniqueTournament:s}=e,m=(0,M.Ay)({isInMobileTabs:!1,isSportMenuVisible:!1}),{selectedDate:p,setSelectedDate:h,dates:j,showCupTree:g}=(e=>{let{data:t}=(0,en.Ay)(r.tI9.seasonDatesWithEvents(e.seasonId,3600*(0,E.UW)())),{hasCupTree:s}=(0,er.A)({hasCupTree:{route:r.V3t.cupTrees(e.id,e.seasonId)}},[e.id,e.seasonId]),[n,i]=(0,a.useState)(),l=(null==t?void 0:t.dailySeasonEvents)||[];(0,a.useEffect)(()=>{if(l.length){let e=new Date().getTime(),t=l[0],s=Number.MAX_VALUE;l.forEach(n=>{let r=new Date(n.date),i=Math.abs(e-r.getTime());(0,E.cK)(r)&&(t=n,s=0),i{window.scrollTo({left:0,top:0})},[t.id]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.az,{position:"relative",children:[(0,n.jsx)(w.S,{uniqueTournament:s,seasonId:t.seasonId,children:(0,n.jsx)(L,{featuredType:t,uniqueTournament:s})}),(0,n.jsx)(o.B,{children:(0,n.jsx)(o.B.Title,{children:(0,n.jsx)(d.A,{id:"meta."+t.slug,defaultMessage:s.name})})}),(0,n.jsx)(l.az,{bg:"surface.s1",position:"sticky",zIndex:"sticky",elevation:"2",style:{top:m},children:(0,n.jsx)(es,{selectedDate:p,setSelectedDate:h,dates:j})}),(0,n.jsx)(l.az,{bg:"surface.s0",children:(0,n.jsxs)(u.BU,{children:[(0,n.jsx)(K,{day:p,events:v,isLoading:y||!p,uniqueTournament:s,seasonId:t.seasonId,setHasSelectedDayOdds:b}),(0,n.jsx)(x.iN,{id:Z.Rj.MOBILE_FEATURED_TOURNAMENT_TOP}),(0,n.jsx)(W.pk,{utIds:null,logData:{type:"banner",name:"fantasy",location:Y.XN.FeaturedTournamentTab}}),g?(0,n.jsx)(T,{featured:t,uniqueTournament:s}):(0,n.jsx)(el.O.Provider,{value:{initialStandings:void 0,initialHasHomeAway:void 0},children:(0,n.jsx)(ei.default,{uniqueTournamentId:t.id,seasonId:t.seasonId,selectedDate:null==p?void 0:p.date,isNarrowLayout:!0,noBranding:!0})}),(0,n.jsx)(c.Z,{entity:"unique-tournament",entityId:t.id,entityBackgroundImageUrl:r.V3t.image(t.id,!0),location:Y.XN.FeaturedTournamentTab})]})})]}),t.historyHighlightsEndYear&&(0,n.jsx)(J.j,{uniqueTournament:s,tournament:t}),(0,n.jsx)(l.so,{justify:"center",align:"center",pt:t.historyHighlightsEndYear?"lg":"sm",pb:"4xl",px:"lg",gap:"sm",bg:"surface.s0",children:f&&(0,n.jsx)(F.A,{provider:S})}),(0,n.jsx)(l.az,{position:"fixed",right:"0",left:"0",bottom:"0",zIndex:"bottomNavigation",style:{transition:"transform ".concat(H.x,"ms ease-out"),transform:"translateY(".concat(I===i.Dh.Down?0:-1*G.E,"px)")},children:(0,n.jsx)(x.iN,{id:Z.Rj.MOBILE_FEATURED_TOURNAMENT_BOTTOM})})]})},ed=e=>(0,n.jsx)(ea,{...e}),eo=e=>{let{selectedDate:t,tournament:s}=e,{data:i}=(0,en.Ay)(r.V3t.details(s.id)),{data:a}=(0,en.Ay)(r.tI9.seasonDatesWithEvents(s.seasonId,3600*(0,E.UW)()),{dedupingInterval:E.dp}),{events:d,isLoading:o}=(0,R.Y)(s.id,t),c=(0,P.uZ)(),{setHasSelectedDayOdds:x}=q(s.id,t),m=((e,t)=>{let s=e.localeCompare(t.defaultFrom);return s<0?0:0===s?1:e.localeCompare(t.showCupTreeFrom||t.visibleTo)>=0?2:4})(t,s),p=Q(o,null==a?void 0:a.dailySeasonEvents.find(e=>e.date===t),c,m);return(0,n.jsx)(u.Zp,{children:(0,n.jsxs)(u.BU,{children:[(0,n.jsx)(w.S,{uniqueTournament:null==i?void 0:i.uniqueTournament,seasonId:s.seasonId,onClick:()=>(0,Y.ke)({action:"click",location:"main_page",type:s.analyticsName}),children:(0,n.jsx)(l.az,{br:"lg",overflow:"hidden",children:(0,n.jsx)(L,{featuredType:s,uniqueTournament:null==i?void 0:i.uniqueTournament})})}),o&&Number(p)>0&&(0,n.jsx)(l.az,{style:{height:p?"".concat(p,"px"):void 0}}),d.sort((e,t)=>e.startTimestamp-t.startTimestamp).map(e=>(0,n.jsx)(V.n,{countryOddsProvider:c,event:e,setHasSelectedDayOdds:x},e.id))]})})},eu=e=>{let{date:t,tournaments:s}=e;return(0,n.jsx)(n.Fragment,{children:s.map(e=>(0,n.jsx)(eo,{tournament:e,selectedDate:t},e.id))})};var ec=s(71587)},39216:(e,t,s)=>{s.d(t,{H:()=>x});var n=s(6029),r=s(46787),i=s(10174),l=s(76356),a=s(90248),d=s(38809),o=s(45254),u=s(57766);function c(e){var t,s;let{block:r,placementBlock:d,inCard:o}=e,c=null==(t=r.participants[0])?void 0:t.winner,x=null==(s=r.participants[1])?void 0:s.winner;return(0,n.jsxs)(l.so,{align:"center",justify:"center",position:"relative",children:[(0,n.jsx)(u.b8,{block:r,inCard:o}),(c||x)&&(0,n.jsx)(l.az,{position:"absolute",right:x?"[calc(50% - 90px)]":void 0,left:x?void 0:"[calc(50% - 90px)]",children:(0,n.jsx)(u.Xs,{})}),d&&(0,n.jsxs)(l.az,{position:"absolute",right:x?void 0:"[calc(50% - 130px)]",left:x?"[calc(50% - 130px)]":void 0,children:[(0,n.jsx)(u.b8,{block:d,hideTopConnector:!0,hideBottomConnector:!0,inCard:o}),(0,n.jsx)(i.EY,{display:"block",textAlign:"center",textStyle:"assistive.micro",color:"neutrals.nLv3",mt:"-md",children:(0,n.jsx)(a.A,{id:"3rdPlace"})})]})]})}function x(e){let{cupTree:t,inCard:s}=e,{sport:i}=(0,d.B)(),a=(0,o.TI)(t,null),x=i===r.QCR.Tennis;return(0,n.jsxs)(l.az,{overflow:s?"hidden":"scroll",children:[x&&(0,n.jsx)(l.so,{w:"100%",justify:"flex-end",px:"lg",py:"sm",children:(0,n.jsx)(u.WR,{})}),(0,n.jsx)(u.Bg,{tree:a.left,inCard:s}),(0,n.jsx)(c,{block:a,placementBlock:a.thirdPlaceBlock,inCard:s}),(0,n.jsx)(u.Bg,{tree:a.right,initialOrientation:"bottom",inCard:s})]})}},50177:(e,t,s)=>{s.d(t,{Y:()=>l});var n=s(46787),r=s(22375),i=s(45860);let l=function(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2],l=s&&void 0!==t,{data:a,error:d,isLoading:o}=(0,i.Ay)(l?n.V3t.scheduledEvents(e,t):null);return{events:(null==a?void 0:a.events.filter(e=>(0,r.yk)(e.startTimestamp,Date.parse("".concat(t,"T12:00")))))||[],error:d,isLoading:o}}},50865:(e,t,s)=>{s.d(t,{O:()=>n});let n=(0,s(55729).createContext)({})},53805:(e,t,s)=>{s.r(t),s.d(t,{default:()=>y});var n=s(6029),r=s(46787),i=s(74610),l=s(64327),a=s(69909),d=s(76356),o=s(46222),u=s(54123);function c(e){let{standings:t,branding:s}=e;return(0,n.jsx)(o.WC,{variant:"square-desktop",children:(0,n.jsx)(d.so,{direction:"column",gap:{base:"sm",md:"md"},children:t.map(e=>(0,n.jsx)(d.az,{md:{borderBottom:"1px solid {colors.neutrals.nLv4}",_last:{borderBottom:"none"}},children:(0,n.jsx)(u.A,{entityType:"unique-tournament",tableId:e.id,branding:s})},e.id))})})}var x=s(22375),m=s(55729),p=s(50865),h=s(38185),j=s(50177),g=s(53853);let v=[r.G6l.Euro,r.G6l.CopaAmerica,r.G6l.ClubWorldCup];function y(e){let{uniqueTournamentId:t,seasonId:s,selectedSeason:d,isNarrowLayout:o,selectedDate:y,hasPerformanceGraphFeature:f,noBranding:b}=e,{relevantStandings:T,standingsErr:w,tournamentId:S,selectedStandingsTable:I,setSelectedStandingsTable:k,displayType:C,setDisplayType:E,isStandingsTableEmpty:z,setIsStandingsTableEmpty:D,hasGroups:A,hasDropdown:B,showHorizontalStandings:O,hasHomeAwayStandings:_,branding:L}=function(e,t,s,n){let{initialStandings:i,initialHasHomeAway:l}=(0,m.useContext)(p.O),a=v.includes(e),{events:d,isLoading:o}=(0,j.Y)(e,null!=s?s:(0,x.UG)(new Date),a),u=a?function(e){let t=null==e?void 0:e.filter(e=>e.status.type===r.XUj.InProgress),s=null==e?void 0:e.filter(e=>e.status.type===r.XUj.NotStarted&&e.hasEventPlayerStatistics);return[...((null==t?void 0:t.length)>0?t:s.length>0?s:e).map(e=>e.tournament.id).reduce((e,t)=>{var s;return e.set(t,(null!=(s=e.get(t))?s:0)+1),e},new Map)].reduce((e,t)=>t[1]>e[1]?t:e,[void 0,0])[0]}(d):void 0,{relevantStandings:c,standingsErr:y,selectedStandingsTable:f,setSelectedStandingsTable:b,displayType:T,setDisplayType:w,isStandingsTableEmpty:S,setIsStandingsTableEmpty:I,hasHomeAwayStandings:k,hasGroupsData:C}=(0,g.M)({entityType:"unique-tournament",entityId:e,seasonId:t,isLoadingTournamentIdData:o,selectedTournamentId:u,initialStandings:i,swrOptions:{keepPreviousData:!0}}),[E,z]=(0,m.useMemo)(()=>{if(a)return[!1,!1];{let e,t=!1;for(let s=0,n=c.length;s1;return[t&&C,s]}},[c,a,C]);return{relevantStandings:c,standingsErr:y,tournamentId:u,selectedStandingsTable:f,setSelectedStandingsTable:b,displayType:T,setDisplayType:w,isStandingsTableEmpty:S,setIsStandingsTableEmpty:I,hasGroups:E,hasDropdown:z,showHorizontalStandings:a,hasHomeAwayStandings:null!=k?k:l,branding:(0,h.b)(n?void 0:e,"standings")}}(t,s,y,b);return w?null:(null==T?void 0:T.length)&&void 0!==I&&void 0!==_?(0,n.jsx)(i.t,{tag:"StandingsContainer",children:(0,n.jsx)(l.P,{value:{standings:T,tournament:void 0,tournamentId:S,uniqueTournamentId:t,seasonId:s,selectedSeason:d,selectedStandingsTable:I,setSelectedStandingsTable:k,selectedTeamId:void 0,homeTeamId:void 0,awayTeamId:void 0,title:{hideTitleLogo:void 0,isMobileOnlyTitle:void 0},display:{displayType:C,setDisplayType:E,displayTypeOptions:[...r.ur4],isNarrowLayout:!!o},hasHomeAwayStandings:_,hasPerformanceGraphFeature:!!f,isStandingsTableEmpty:z,setIsStandingsTableEmpty:D},children:A?(0,n.jsx)(c,{standings:T,branding:L}):(0,n.jsx)(u.A,{entityType:"unique-tournament",tableId:I.id,branding:L,showHorizontalStandings:O,hasTablePicker:B,hideTitle:!0})})}):(0,n.jsx)(a.d,{hideTitle:!0,isNarrowLayout:o,branding:L})}},69909:(e,t,s)=>{s.d(t,{d:()=>c});var n=s(6029),r=s(10174),i=s(76356),l=s(55729),a=s(46222),d=s(18970),o=s(89721),u=s(18205);let c=e=>{var t;let{isTeamStandings:s,hideTitle:c,isNarrowLayout:x,numberOfRows:m=20,branding:p}=e,{event:h}=(0,l.useContext)(d.y$),j=null==h||null==(t=h.tournament.uniqueTournament)?void 0:t.hasPerformanceGraphFeature;return(0,n.jsxs)(i.az,{children:[!x&&(0,n.jsx)(o.U,{branding:p}),s&&(0,n.jsxs)(i.so,{hideBelow:"md",gap:"lg",bg:"surface.s1",p:"sm",elevation:{mdDown:"2"},children:[(0,n.jsx)(i.az,{w:"[200px]",h:"[34px]",bg:"surface.s2",br:"sm"}),(0,n.jsx)(i.az,{w:"[84px]",h:"[34px]",bg:"surface.s2",br:"sm"})]}),(0,n.jsxs)(i.so,{direction:"column",gap:"sm",children:[(0,n.jsxs)(a.Zp,{children:[(0,n.jsxs)(i.so,{direction:"column",gap:"sm",px:"sm",pt:s?void 0:"sm",pb:"sm",children:[(0,n.jsx)(i.az,{h:"[34px]",pt:s?void 0:"sm"}),!c&&(0,n.jsxs)(i.so,{align:"center",gap:"lg",children:[(0,n.jsx)(r._V,{width:"3xl",height:"3xl",src:"/static/images/placeholders/tournament.svg",alt:"Tournament placeholder"}),(0,n.jsx)(i.az,{w:"[150px]",h:"xl",bg:"surface.s2",br:"sm"})]})]}),(0,n.jsx)(i.az,{pt:"sm",children:(0,n.jsx)(u.e,{rows:m})}),(0,n.jsx)(i.az,{p:"sm",children:(0,n.jsx)(i.az,{h:"[150px]",bg:"surface.s2",br:"lg"})})]}),j&&(0,n.jsxs)(a.Zp,{children:[(0,n.jsx)(a.Zp.Header,{titleId:"standings_tracker_title"}),(0,n.jsx)(i.az,{h:"[542px]"})]})]})]})}},83576:(e,t,s)=>{s.d(t,{C:()=>i});var n=s(55729),r=s(45254);let i=e=>{var t;let[s,i]=(0,n.useState)(0),[l,a]=(0,n.useState)(!0),[d,o]=(0,n.useState)(0);(0,n.useEffect)(()=>{let t=null==e?void 0:e[s];t&&("number"==typeof t.currentRound&&t.currentRound=1&&o(t.rounds.length-1))},[s]);let u=e[s],c=u.rounds.filter(r.bs),x={...u,rounds:c},m=c.length>0&&(0,r.P4)(x,null==(t=e[s])?void 0:t.rounds);return{cupTrees:e,knockoutPartCupTree:x,selectedCupTree:u,enableCompactView:m,renderKnockout:l,setRenderKnockout:a,selectedRoundIndex:d,setSelectedRoundIndex:o,selectedTreeIndex:s,setSelectedTreeIndex:i}}},86170:(e,t,s)=>{s.d(t,{n:()=>Y});var n=s(6029),r=s(33144),i=s(46787),l=s(10174),a=s(76356),d=s(55729),o=s(90510),u=s(18970),c=s(34781),x=s(67087),m=s(36882),p=s(70251),h=s(64006),j=s(9081),g=s(81484),v=s(88505),y=s(14831),f=s(22375),b=s(90248),T=s(494),w=s(74207),S=s(94122),I=s(6920),k=s(64046),C=s(8785),E=s(95084),z=s(72753),D=s(97340),A=s(63831);let B=e=>{let{countryOddsProvider:t,setHasSelectedDayOdds:s,isOddsBranded:r}=e,{event:o}=(0,d.useContext)(u.y$),{featuredOdds:c,error:x}=(0,I.A)(t,o.id,o.status.type===i.XUj.InProgress,t.featuredOddsType);if((0,d.useEffect)(()=>{c&&s(!0)},[c]),!c&&!x)return o.startTimestamp*f.Z2-4*f.d_(0,E.Sj)({position:e,provider:t.provider.slug});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.so,{gap:"xs",pt:"md",pb:"xs",align:"center",children:[(0,n.jsx)(l.EY,{textStyle:"display.micro",children:(0,n.jsx)(D.f,{id:c.marketName})}),c.choiceGroup&&(0,n.jsx)(l.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(D.f,{id:c.choiceGroup})}),c.isLive&&(0,n.jsx)(l.EY,{textStyle:"assistive.default",color:"status.val",children:(0,n.jsx)(b.A,{id:"live"})})]}),(0,n.jsxs)(a.so,{pb:"sm",pt:"xs",gap:"lg",children:[(0,n.jsx)(a.so,{gap:"sm",grow:1,overflow:"hidden",children:c.choices.map(e=>(0,n.jsx)(A.G,{choice:e,isLive:c.isLive,betSlipLink:t&&(0,C.Iz)(e,c,t),branded:null==t?void 0:t.branded,onClick:()=>m(k.ki.OddsValue),isOddsBranded:r},e.name))}),(0,n.jsx)(a.az,{h:"[20px]",w:"4xl",children:(0,n.jsx)(w.r,{size:"48x20",selectedProvider:t,onClick:()=>m(k.ki.ProviderLogo),logClick:!1})})]})]})},O=e=>{let{event:t}=(0,d.useContext)(u.y$),s=(0,T.d4)(z.LQ),r=(0,T.d4)(z.dg);return s&&S.aZ.includes(s)&&S.S1.includes(t.status.type)||s&&S.ZN.includes(s)&&!r||t.homeTeam.disabled||t.awayTeam.disabled?null:(0,n.jsx)(B,{...e})},_=e=>{let{preferDate:t}=e,{event:s,leftTeam:r,rightTeam:i}=(0,d.useContext)(u.y$);return(0,n.jsxs)(a.so,{h:"3xl",justify:"space-between",align:"center",children:[(0,n.jsx)(l.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",truncate:!0,children:t?(0,n.jsx)(o.XU,{value:1e3*s.startTimestamp}):(0,n.jsxs)(n.Fragment,{children:[s.tournament.isGroup&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j.__,{name:s.tournament.groupName||s.tournament.name}),",\xa0"]}),(0,n.jsx)(j.DT,{round:s.roundInfo})]})}),(0,n.jsx)(a.az,{onClick:e=>{e.preventDefault(),e.stopPropagation()},position:"relative",children:(0,n.jsx)(p.h,{id:s.id,type:m.b.Event,location:m.y.Header,tournament:s.tournament,leftTeam:r,rightTeam:i})})]})},L=e=>{let{event:t}=e;return(0,n.jsx)(a.so,{justify:"center",align:"center",children:(0,n.jsx)(a.az,{bg:"status.error.default",px:"sm",br:"sm",h:"[16px]",mb:"sm",children:(0,n.jsx)(l.EY,{display:"block",color:"surface.s1",textStyle:"assistive.default",children:(0,n.jsx)(g.fP,{id:t.status.description})})})})},P=()=>{let{event:e,leftTeam:t,rightTeam:s}=(0,d.useContext)(u.y$),x=e.status.type===i.XUj.NotStarted||(0,y.sw)(e);return(0,n.jsxs)(a.so,{justify:"space-between",py:"sm",children:[(0,n.jsxs)(a.so,{gap:"lg",w:"5xl",flexGrow:1,align:"center",justify:"flex-end",overflow:"hidden",children:[(0,n.jsx)(l.EY,{display:"block",textStyle:"display.micro",truncate:!0,children:(0,n.jsx)(v.Rm,{team:t,short:!0})}),(0,n.jsx)(r.p,{id:t.id,name:t.name,size:32})]}),(0,n.jsxs)(a.so,{maxW:"[100px]",minW:"fit",px:"lg",grow:1,overflow:"hidden",justify:"center",align:"center",children:[!x&&(0,n.jsx)(c.A,{isSmall:!0,shortStatus:!0}),x&&(0,n.jsx)(l.EY,{display:"block",textAlign:"center",textStyle:"display.medium",color:"neutrals.nLv3",children:(0,n.jsx)(o.ib,{value:1e3*e.startTimestamp})})]}),(0,n.jsxs)(a.so,{gap:"lg",w:"5xl",grow:1,align:"center",overflow:"hidden",children:[(0,n.jsx)(r.p,{id:s.id,name:s.name,size:32}),(0,n.jsx)(l.EY,{display:"block",textStyle:"display.micro",truncate:!0,children:(0,n.jsx)(v.Rm,{team:s,short:!0})})]})]})},Y=e=>{let{event:t,countryOddsProvider:s,setHasSelectedDayOdds:r,preferDateInHeader:i,isOddsBranded:l}=e,{event:d,...o}=(0,x.mJ)(t.id,{event:t,shouldRefresh:!0}),c=d||t,m=(0,y.sw)(c);return(0,n.jsx)(u.y$,{value:{event:c,...o,location:u.cb.SpecialEventWidget},children:(0,n.jsxs)(a.az,{minH:"10xl",px:"lg",pb:"sm",bg:"surface.s2",br:"sm",children:[(0,n.jsxs)(h.tj,{event:c,children:[(0,n.jsx)(_,{preferDate:i}),m&&(0,n.jsx)(L,{event:c}),(0,n.jsx)(P,{})]}),s&&(0,n.jsx)(O,{countryOddsProvider:s,setHasSelectedDayOdds:r,isOddsBranded:l})]})})}},89721:(e,t,s)=>{s.d(t,{U:()=>a});var n=s(6029),r=s(10174),i=s(37549),l=s(53255);let a=e=>{let{branding:t,location:s,entityId:a,...d}=e,{isDesktop:o}=(0,r.$c)();return o&&t?(0,n.jsx)(i.A.Header,{...d,variant:"left-aligned",actionComponent:(0,n.jsx)(l.O,{minW:"[140px]",px:"sm",br:"xs",branding:t,location:s,entityId:a})}):(0,n.jsx)(i.A.Header,{...d})}}}]);