!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]="42ffc568-7c9c-4035-888b-665f440cce83",e._sentryDebugIdIdentifier="sentry-dbid-42ffc568-7c9c-4035-888b-665f440cce83")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29097],{1639:(e,t,n)=>{"use strict";n.d(t,{l:()=>u,W:()=>c});var s=n(6029),a=n(46787),i=n(51569),r=n(62042),l=n(20325),o=n(83359);let d=(0,r.Fj)({base:{display:"inline-block",borderRadius:"md",px:"sm"},variants:{groundType:{[a.QWe.HardcourtIndoor]:{bg:"tennis.terrain.hardcourtIndoor"},[a.QWe.HardcourtOutdoor]:{bg:"tennis.terrain.hardcourtOutdoor"},[a.QWe.Hard]:{bg:"tennis.terrain.hardcourtOutdoor"},[a.QWe.CarpetIndoor]:{bg:"tennis.terrain.default"},[a.QWe.Grass]:{bg:"tennis.terrain.grass"},[a.QWe.Clay]:{bg:"tennis.terrain.clay"},[a.QWe.RedClay]:{bg:"tennis.terrain.clay"},[a.QWe.SyntheticOutdoor]:{bg:"tennis.terrain.default"},default:{bg:"tennis.terrain.default"}}}}),u=(0,l.I4)("div",d),c=e=>{let{groundType:t}=e;return t?(0,s.jsx)(u,{groundType:t,children:(0,s.jsx)(i.EY,{display:"block",textStyle:"assistive.default",h:"lg",color:"surface.s1",children:(0,s.jsx)(o.n,{id:t})})}):null}},3483:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>R});var s=n(6029),a=n(98423),i=n(46787),r=n(51569),l=n(20325),o=n(94565),d=n(55729),u=n(947),c=n(90248),m=n(46222),p=n(18970),g=n(52736),x=n(51283),h=n(64178),j=n(63435),y=n(69096),v=n(91113),f=n(18858),b=n(33144),T=n(11219),_=n(26286),w=n(88505);function k(){return(0,s.jsx)(l.az,{children:Array.from({length:3}).map((e,t)=>(0,s.jsx)(l.az,{h:"5xl"},t))})}function C(e){let{teams:t,selectedStat:n,showFullListWithIndexes:a,sport:i,children:o}=e,d=a?t:t.slice(0,3);return(null==t?void 0:t.length)&&n?(0,s.jsxs)(l.az,{pb:"sm",children:[d.map((e,t)=>(0,s.jsx)(T.gT,{sport:i,team:e.team,children:(0,s.jsxs)(l.so,{h:"5xl",align:"center",gap:"sm",px:"lg",_hover:{bg:"surface.s2"},cursor:"pointer",children:[a&&(0,s.jsx)(r.EY,{textStyle:"body.small",w:"lg",textAlign:"center",display:"block",children:t+1}),(0,s.jsxs)(l.so,{grow:1,align:"center",children:[(0,s.jsx)(b.p,{id:e.team.id,size:40}),(0,s.jsx)(r.EY,{ml:"lg",display:"block",children:(0,s.jsx)(w.Rm,{team:e.team})})]}),(0,s.jsx)(l.so,{minW:"6xl",justify:"flex-end",children:(0,s.jsx)(r.EY,{children:(0,s.jsx)(_.A,{stat:e.statistics,selectedStat:n,sport:i})})})]})},e.team.id)),o]}):(0,s.jsx)(k,{})}var S=n(45860),I=n(33302),A=n(93785),P=n(30269),M=n(50865);let q="all-division",Y=e=>{let{options:t,sport:n}=e,a=(0,f.Ay)();return(0,s.jsx)(o.PI,{top:a,bg:"surface.s1",zIndex:o.Py.Sticky-1,children:e=>(0,s.jsx)(l.az,{borderBottom:e?void 0:"1px solid {colors.neutrals.nLv4}",elevation:e?"2":void 0,children:(0,s.jsx)(x.F,{items:t,sport:n})})})};function z(e){let{division:t,setDivision:n,divisions:o}=e,{uniqueTournamentId:u,uniqueTournamentName:c}=(0,d.useContext)(M.O),m={[q]:null!=c?c:"-",...i.Wb};return(0,s.jsx)(r.ms,{label:"Select division in top teams",items:[q,...o],renderItem:e=>(0,s.jsxs)(l.so,{align:"center",gap:"sm",children:[(0,s.jsx)(a.e,{id:u,size:"xl"}),(0,s.jsx)(r.EY,{lineHeight:1,children:m[e]})]}),selectedItem:null!=t?t:q,onSelectedItemChange:e=>{let{selectedItem:t}=e;return n(t===q?void 0:t)}})}let R=e=>{let{uniqueTournamentId:t,seasonId:n}=e,o=(0,u.A)(),x=(0,d.useContext)(p.Ws),[f,b]=(0,d.useState)(!1),[T,_]=(0,d.useState)(""),[w,k]=(0,d.useState)([]),{division:M,setDivision:q,divisions:R}=function(e,t){let[n,s]=(0,d.useState)(),{data:a,isLoading:r,error:l}=(0,S.Ay)(e&&t?i.V3t.divisions(e,t):null);if(r||l||!a)return{division:n,setDivision:s,divisions:[]};let o=function(e){let t=[],n=[];for(let{conference:s,divisions:a}of e.divisions)t.push(s),n.push(...a);return[...t,...n]}(a);return 35115===t&&(o=["central-division"]),{division:n,setDivision:s,divisions:o}}(t,n),E=(0,I.A)({uniqueTournamentId:t,seasonId:n,division:M}),F=x===i.QCR.Tennis,N=x?(0,h.f)(x):null,{topTeams:H,stats:D,types:L,activeType:W,setActiveType:O}=E,G=null==D?void 0:D.map(e=>({value:e,label:F?o.formatMessage({id:(0,v.OX)(i.QCR.Tennis,e)}):(0,j.b)(o,e,null==N?void 0:N.includes(e))}));return(0,s.jsxs)(s.Fragment,{children:[!!R.length&&(0,s.jsx)(l.so,{hideFrom:"md",bg:"surface.s1",p:"sm",elevation:"2",borderBottom:"1px solid {colors.neutrals.nLv4}",children:(0,s.jsx)(z,{division:M,setDivision:q,divisions:R})}),!!L&&L.length>1&&!!W&&(0,s.jsx)(l.az,{hideFrom:"md",bg:"surface.s1",p:"sm",elevation:"2",borderBottom:"1px solid {colors.neutrals.nLv4}",children:(0,s.jsx)(P.A,{selectedType:W,setSelectedType:O,types:L})}),(0,s.jsx)(Y,{options:G,sport:x}),(0,s.jsx)(m.BU,{children:!!(null==G?void 0:G.length)&&G.map(e=>{var t,n,i;let o=H&&e&&H[e.value]||[],d=(0,h.g)(x);return((null==d?void 0:d.includes(e.value))||!d)&&(0,s.jsx)(m.Zp,{children:(0,s.jsxs)(l.az,{id:null==(t=e.value)?void 0:t.toLowerCase(),children:[(0,s.jsxs)(l.so,{align:"center",justify:"space-between",p:"lg",pr:"xs",children:[(0,s.jsxs)(l.so,{align:"center",children:[(0,s.jsx)(r.EY,{textStyle:"display.small",children:(0,s.jsx)(A.A,{id:e.value})}),"avgRating"===e.value&&(0,s.jsx)(y.D,{type:y.D.type.AverageRatingTeam,rating:null==o||null==(i=o[0])||null==(n=i.statistics)?void 0:n.avgRating,renderImage:e=>{var t;return(0,s.jsx)(a.p,{id:null==o||null==(t=o[0])?void 0:t.team.id,...e.uiProps})}})]}),(0,s.jsx)(r.$n,{size:"tertiary",variant:"clear",onClick:()=>{var t;return t=e.value,void(b(!0),_(t),k(o))},children:(0,s.jsx)(r.EY,{textStyle:"display.small",color:"primary.default",children:(0,s.jsx)(c.A,{id:"see_all"})})})]}),(0,s.jsx)(C,{teams:o,selectedStat:e.value,sport:x,children:"avgRating"===e.value&&(0,s.jsx)(g.b,{mx:"sm",messageId:"rating_top_teams_general"})})]})},e.value)})}),(0,s.jsxs)(r.Xn,{isOpen:f,onClose:()=>{b(!1)},title:(0,s.jsx)(A.A,{id:T}),size:"contentFit",children:["avgRating"===T&&(0,s.jsx)(g.b,{mx:"sm",mb:"sm",messageId:"rating_top_teams_specific"}),(0,s.jsx)(C,{teams:w,selectedStat:T,showFullListWithIndexes:!0,sport:x})]})]})}},3881:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var s=n(64082),a=n(6029),i=n(94565),r=n(43451);function l(e){var{height:t=800,width:n="100%",rowHeight:l=45,wrapperStyle:o={},rows:d,animate:u=!1,rowGap:c=8,uniqueKey:m}=e,p=(0,s.T)(e,["height","width","rowHeight","wrapperStyle","rows","animate","rowGap","uniqueKey"]);return 0===t?null:(0,a.jsx)(i.az,Object.assign({maxW:"100%",bg:"surface.s1",overflow:"hidden"},p,{style:o,children:(0,a.jsx)(r.D,{animate:u,width:n,height:d&&l?d*(l+c):t,uniqueKey:m,children:(0,a.jsx)(a.Fragment,{children:d?Array(d).fill(null).map((e,t)=>(0,a.jsx)("rect",{x:0,y:t*(l+c),width:"100%",height:l},t)):(0,a.jsx)("rect",{x:0,y:0,width:"100%",height:t})})})}))}},4866:(e,t,n)=>{"use strict";n.d(t,{e:()=>a.e,w:()=>s.w});var s=n(53192),a=n(33480)},7078:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var s=n(6029),a=n(51569),i=n(20325),r=n(55729),l=n(90248),o=n(46222),d=n(14868),u=n(74610),c=n(9081),m=n(95798),p=n(41080),g=n(77474),x=n(56653);function h(e){let{isMobile:t}=(0,a.$c)(),[n,h]=(0,r.useState)(t),[j,y]=(0,r.useState)(),{rankings:v,rounds:f}=(0,m.Q)(e.uniqueTournamentId,e.seasonId,j);if((0,r.useEffect)(()=>f&&y(f[0].id),[f]),!(null==f?void 0:f.length))return null;let b=!t&&!!v&&v.length>5;return(0,s.jsx)(u.t,{tag:"PowerRankings",children:(0,s.jsxs)(o.Zp,{children:[(0,s.jsx)(o.Zp.Header,{title:(0,s.jsx)(l.A,{id:"sofascore_power_rankings"}),actionComponent:(0,s.jsx)(g.h,{})}),f&&j&&(0,s.jsx)(i.az,{mb:"sm",p:"sm",children:(0,s.jsx)(a.ms,{label:"Select round in power rankings",items:f,initialSelectedItem:f[0],onSelectedItemChange:e=>{let{selectedItem:t}=e;t&&y(t.id)},renderItem:e=>(0,s.jsx)(c.DT,{round:null==e?void 0:e.round})})}),(0,s.jsx)(x.i,{}),(0,s.jsx)(p.a,{rankings:null==v?void 0:v.slice(0,n?v.length:5)}),(0,s.jsx)(o.Zp.Footer,{ctaParams:b?{messageId:n?"show_less":"show_more",onClick:()=>h(e=>!e),icon:n?d.X.Up:d.X.Down}:void 0})]})})}},8041:(e,t,n)=>{"use strict";n.d(t,{D_:()=>s,Dj:()=>i,te:()=>a,bh:()=>r});var s=function(e){return e.MainScreen="main_screen",e.EventPage="event_page",e.EventMedia="event_media",e.PlayerPage="player_page",e.TeamPage="team_page",e.TournamentPage="league_screen",e.Widget="widget",e}({}),a=function(e){return e.Mobile="mobile",e.Desktop="desktop",e}({}),i=function(e){return e.All="all",e.Highlights="highlights",e.Clips="clips",e.Social="social",e}({});let r={all:"all",highlights:"event_highlights",clips:"video_clips",social:"social_media_feed"}},11061:(e,t,n)=>{var s=n(22479),a=1/0;e.exports=function(e){return e?(e=s(e))===a||e===-a?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},17554:(e,t,n)=>{"use strict";n.d(t,{E5:()=>l,fz:()=>o,hE:()=>d});var s=n(6029),a=n(51569),i=n(90248),r=n(49188);function l(e){let{children:t,title:n,titleValues:l,titleHidden:o}=e;return t?(0,s.jsxs)(r.E,{children:[!o&&n&&(0,s.jsx)(a.H2,{textStyle:"display.medium",mb:"md",children:(0,s.jsx)(i.A,{id:n,values:l})}),t]}):null}function o(e){let{id:t,values:n}=e,r={...n||{},bold:function(){for(var e=arguments.length,t=Array(e),n=0;n{"use strict";n.d(t,{A:()=>d});var s=n(6029),a=n(51569),i=n(71024),r=n.n(i),l=n(56132);let o=r()(()=>Promise.all([n.e(91381),n.e(33211)]).then(n.bind(n,55891)),{loadableGenerated:{webpack:()=>[55891]},ssr:!1});function d(e){let{uniqueTournament:t,seasonId:n,sport:i}=e;return(0,s.jsx)(a.tU.Panel,{tabKey:l.x.Knockout,children:(0,s.jsx)(o,{sport:i,uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:n})})}},26286:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var s=n(6029),a=n(87827),i=n(46787),r=n(89827),l=n(77285);let o=e=>Math.round((e+Number.EPSILON)*100)/100,d=function(e){let{stat:t,sport:n}=e,{selectedStat:d}=e;switch(d=d.split(l.I)[0],n){case i.QCR.Football:var u,c,m,p=d;switch(p){case"accuratePasses":case"accurateLongBalls":case"accurateCrosses":case"shots":case"shotsOnTarget":case"successfulDribbles":case"tackles":case"interceptions":case"clearances":case"corners":case"fouls":return t?(0,r.M)(t[p]/t.matches,1):0;case"avgRating":return t?(0,s.jsx)(a.G,{format:"sideBox",rating:o(t[p])}):0;case"averageBallPossession":return t?"".concat((0,r.M)(t.averageBallPossession,1),"%"):0;case"penaltyGoals":return t?t.penaltiesTaken?"".concat(t.penaltyGoals," / ").concat(t.penaltiesTaken):t.penaltyGoals:0;case"penaltyGoalsConceded":return t?"".concat(t.penaltyGoalsConceded," / ").concat(t.penaltiesCommited):0;case"kilometersCovered":return t?"".concat((0,r.M)(t.kilometersCovered/t.matches,1)," km"):0;case"numberOfSprints":return t?"".concat((0,r.M)(t.numberOfSprints/t.matches,1)):0;default:return t?o(t[p]):0}case i.QCR.Basketball:var g=d;switch(g){case"points":case"pointsAgainst":case"plusMinus":case"assists":case"rebounds":case"defensiveRebounds":case"offensiveRebounds":case"steals":case"turnovers":case"blocks":case"fastbreakPoints":return(0,r.M)(t[g]/t.matches,1);case"fieldGoalsPercentage":case"fieldGoalsPercentageAgainst":case"freeThrowsPercentage":case"threePointsPercentage":case"threePointsPercentageAgainst":case"effectiveFieldGoalPercentage":case"trueShootingPercentage":return"".concat((0,r.M)(t[g],1),"%");case"offensiveRating":case"defensiveRating":case"pace":case"netRating":return(0,r.M)(t[g],1);default:return o(t[g])}case i.QCR.Handball:return["goalsScored","goalsConceded","fastbreakGoals","steals","twoMinutePenalties","goalsInPowerplay","shorthandedGoals"].includes(u=d)?(0,r.M)(t[u]/t.matches,1):["shootingPercentage"].includes(u)?(0,r.M)(t[u],1)+"%":"sevenMetersScored"===u?"".concat(t.sevenMetersScored,"/").concat(t.sevenMetersTotal):o(t[u]);case i.QCR.IceHockey:return["powerPlayPercentage","faceOffPercentage","penaltyKillPercentage"].includes(c=d)?(0,r.M)(t[c],1)+"%":"sevenMetersScored"===c?"".concat(t.sevenMetersScored,"/").concat(t.sevenMetersTotal):(0,r.M)(t[c]/t.matches,1);case i.QCR.Tennis:var x=d;switch(x){case"firstServePercentage":case"firstServePointsWonPercentage":case"secondServePercentage":case"secondServePointsWonPercentage":return(0,r.M)(t[x],1)+"%";case"avgAces":case"avgDoubleFaults":return(0,r.M)(t[x],1);case"breakPointsSavedPercentage":if(isNaN(t.opponentBreakPointsTotal)||isNaN(t.opponentBreakPointsScored))return 0;let h=t.opponentBreakPointsTotal-t.opponentBreakPointsScored;return"".concat(h,"/").concat(t.opponentBreakPointsTotal," (").concat((0,r.M)(t[x],1),"%)");case"breakPointsSavedConvertedPercentage":if(isNaN(t.breakPointsScored)||isNaN(t.breakPointsTotal))return 0;return"".concat(t.breakPointsScored,"/").concat(t.breakPointsTotal," (").concat((0,r.M)(t[x],1),"%)");case"tiebreakWinPercentage":let{tiebreaksWon:j,tiebreakLosses:y}=t;if(isNaN(j)||isNaN(y))return 0;let v=j+y;if(v>0)return"".concat(j,"/").concat(v," (").concat((0,r.M)(t[x],1),"%)");return"".concat(j,"/").concat(v," (0%)");default:return o(t[x])}case i.QCR.Rugby:return m=d,t.matches&&["passesSuccessful","carries","cleanBreaks","defendersBeaten","metresMade","handlingError","carriesCrossedGainLine","carriesNotMadeGainLine","kickMetres","kickFromHand","postContactMetres","tackles","dominantTackles","rucksWon","ruckArrival","ruckArrivalAttack","ruckArrivalDefence","ruckSpeed03","ruckSpeed36","ruckSpeed6Plus"].includes(m)?(0,r.M)(t[m]/t.matches,1):(0,r.M)(t[m],0);default:return o(t[d])}}},28167:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/tournament",function(){return n(56538)}])},30269:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var s=n(6029),a=n(51569),i=n(90248);function r(e){let{types:t,selectedType:n,setSelectedType:r}=e;return(null==t?void 0:t.length)&&n?(0,s.jsx)(a.tU,{variant:"secondary",initialValue:n,onChange:e=>r?r(e):void 0,fullWidthTabs:!0,children:(0,s.jsx)(a.tU.List,{children:t.map(e=>(0,s.jsx)(a.tU.Tab,{tabKey:e,children:(0,s.jsx)(i.A,{id:e})},e))})}):null}},30566:(e,t,n)=>{"use strict";n.d(t,{Q:()=>s});var s=function(e){return e[e.MinimalAppearances=0]="MinimalAppearances",e[e.AllPlayers=1]="AllPlayers",e}({})},31139:(e,t,n)=>{"use strict";n.d(t,{i:()=>m});var s=n(6029),a=n(51569),i=n(20325),r=n(947),l=n(46222),o=n(73498),d=n(52466),u=n(11219),c=n(95084);function m(e){let{numberOfEditors:t,isOrganization:n,eventLocation:m,nickname:p,userId:g,hasStarted:x,isInLeagueHeader:h,onClick:j}=e,y=(0,r.A)(),{isDesktop:v}=(0,a.$c)(),f=p?y.formatMessage({id:x?"edited_by":"event.createdBy"},{nickname:p}):y.formatMessage({id:"edited_by_more_editors"},{number:t}),b=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.EY,{textStyle:"assistive.default",color:"primary.default",children:f}),(0,s.jsx)(d._jO,{ml:"sm",height:16,width:16,color:"primary.default"})]}),T=(0,s.jsx)(o.u,{onClick:j,label:f,children:(0,s.jsx)(d._jO,{})}),_=h&&v?T:b;return p||t?(0,s.jsx)(l.Zp,{variant:h?"never":"desktop-only",children:(0,s.jsx)(i.so,{justify:"flex-end",align:"center",md:h?void 0:{px:"lg",py:"sm"},children:j?_:n?(0,s.jsx)("a",{href:"https://torneo.sofascore.com/",target:"_blank",rel:"noreferrer",children:_}):(0,s.jsx)(u.N_,{routeKey:"user",params:{userId:g},onClick:()=>(0,c.Zs)(m),children:_})})}):null}},32523:(e,t,n)=>{"use strict";n.d(t,{E:()=>s.E});var s=n(3881)},33302:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var s=n(46787),a=n(55729),i=n(45860),r=n(18970),l=n(98076);let o=["points","tries","penaltyGoals","dropGoals","tackles","dominantTackles","carries","cleanBreaks","offloads","conversions","penaltyTries","yellowCards","redCards","scrumsWon","lineoutsWon","defendersBeaten","metresMade","handlingError","kickMetres","kickFromHand","postContactMetres","carriesCrossedGainLine","carriesNotMadeGainLine","penDefs","penOffs","rucksWon","ruckArrival","ruckArrivalAttack","ruckArrivalDefence","ruckSpeed03","ruckSpeed36","ruckSpeed6Plus","passesSuccessful"];function d(e){let{uniqueTournamentId:t,seasonId:n,division:d,overrideSeasonType:u}=e,c=(0,a.useContext)(r.Ws),{types:m,currentType:p,setCurrentType:g,isLoading:x,isError:h}=(0,l.A)(t,n,c,"team",u),j=c===s.QCR.Tennis?"mainDraw":p,y=t&&n&&!x?s.V3t.topTeams(t,n,j,d):null,{data:v,error:f}=(0,i.Ay)(y),b=null==v?void 0:v.topTeams,T=b?Object.keys(b).filter(e=>c!==s.QCR.Rugby||o.includes(e)):[],[_,w]=(0,a.useState)(""),k=b&&_&&b[_]?b[_].map(e=>({team:e.team,stats:e.statistics})):[];return(0,a.useEffect)(()=>{w("")},[t]),(0,a.useEffect)(()=>{T.length&&!_&&w(T[0])},[null==T?void 0:T.length]),{topTeams:b,stats:T,activeStat:_,setActiveStat:w,types:m,activeType:p,setActiveType:g,activeTeams:k,isError:!!f||h,isLoading:(!v||!_)&&!f}}},33618:(e,t,n)=>{"use strict";n.d(t,{UW:()=>i,b0:()=>s,jt:()=>a});let s=e=>{let t=[],n=e.match(/\d{4}/g)||e.match(/\d{2}/g);return null==n||n.forEach(e=>{let n=+e;2===e.length&&(n=70>+e?+"20".concat(e):+"19".concat(e)),t.push(isNaN(n)?0:n)}),t.length?t:[0]},a=(e,t)=>s(t.year)[0]-s(e.year)[0],i=e=>{let t=[];for(let n=0,s=e.tournamentSeasons.length;ne.id===a.id);if(!i){let e=t.push(a);i=t[e-1]}i.seasons=i.seasons||{},i.tournaments=i.tournaments||{},s.seasons.forEach(e=>{(null==i?void 0:i.seasons[e.id])?i.tournaments[e.id]=[...i.tournaments[e.id],s.tournament]:(i.seasons[e.id]=e,i.tournaments[e.id]=[s.tournament])})}return t}},41080:(e,t,n)=>{"use strict";n.d(t,{a:()=>m});var s=n(6029),a=n(32523),i=n(20325),r=n(33144),l=n(46787),o=n(51569),d=n(11219),u=n(88505);function c(e){return(0,s.jsx)(d.gT,{team:e.team,sport:l.QCR.Football,children:(0,s.jsxs)(i.so,{align:"center",px:"sm",py:"sm",_hover:{bg:"surface.s2"},children:[(0,s.jsx)(o.EY,{minW:"xl",textAlign:"center",textStyle:"display.small",children:e.rank}),(0,s.jsx)(r.p,{ml:"lg",mr:"sm",id:e.team.id,national:!0,size:32}),(0,s.jsx)(i.az,{flexGrow:"1",flexShrink:"1",children:(0,s.jsx)(o.EY,{textStyle:"table.medium",children:(0,s.jsx)(u.Rm,{team:e.team})})}),(0,s.jsx)(i.az,{children:(0,s.jsx)(o.EY,{textStyle:"table.medium",children:e.points})})]})})}let m=e=>{let{rankings:t}=e;return(0,s.jsx)(i.az,{minH:"[192px]",children:t?t.map(e=>(0,s.jsx)(c,{...e},e.rank)):(0,s.jsx)(a.E,{uniqueKey:"power-ranking-list-cl",pt:"xs",rows:4,rowHeight:44,rowGap:4,animate:!0})})}},48524:(e,t,n)=>{"use strict";n.d(t,{K:()=>f});var s=n(6029),a=n(51569),i=n(20325),r=n(88354),l=n(14107),o=n(12364),d=n.n(o),u=n(55729),c=n(90248),m=n(494),p=n(87919),g=n(52466),x=n(36882),h=n(15341),j=n(35152),y=n(15340);let v=(0,r.m)(i.az);function f(e){let{id:t,name:n,entity:r,children:o,threshold:f=144,type:b}=e,[T,_]=(0,u.useState)(0),[w,k]=(0,h.A)("sticky_follow_header_closed_".concat(r),!1),C=(0,j.Pz)(r),S=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,[n,s]=(0,u.useState)(e);return(0,u.useEffect)(()=>{let n=setTimeout(()=>{s(e)},t);return()=>clearTimeout(n)},[e]),n}((0,m.d4)(e=>e.favorites.lists[C[0]].includes(t)||2===C.length&&e.favorites.lists[C[1]].includes(t)));return(0,u.useEffect)(()=>{if(w)return;let e=d()(()=>{window.requestAnimationFrame(()=>{_(window.scrollY)})},300);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[T,w]),(0,s.jsx)(l.N,{children:T>f&&!S&&(0,s.jsx)(v,{position:"fixed",left:"0",right:"0",mt:"0 !important",h:"[168px]",bg:"surface.sp",textAlign:"center",initial:{top:-160,opacity:0},animate:{top:0,opacity:1},exit:{top:-160,opacity:0},transition:{type:"spring",bounce:.3,restDelta:.5},zIndex:"subheader",elevation:"3",children:(0,s.jsx)(i.az,{position:"absolute",bottom:"0",left:"0",right:"0",children:(0,s.jsx)(p.m,{h:"5xl",py:"sm",children:(0,s.jsxs)(i.so,{h:"[40px]",children:[(0,s.jsx)(i.so,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},justify:"flex-end",align:"center",flex:"[1 1 50%]",children:(0,s.jsxs)(i.so,{backgroundColor:"surface.s2",align:"center",px:"sm",py:"xs",br:"lg",cursor:"pointer",children:[o,(0,s.jsx)(y.e,{id:t,entity:r,type:b,location:x.y.FloatingHeader})]})}),(0,s.jsx)(i.so,{align:"center",flex:"[1 1 50%]",children:(0,s.jsx)(a.EY,{textStyle:"assistive.default",ml:"lg",children:(0,s.jsx)(c.A,{id:"add_to_favorites_text",values:{name:n}})})}),(0,s.jsx)(i.so,{align:"center",children:(0,s.jsx)(a.$n,{variant:"clear",p:"0",onClick:()=>{k(!0),_(0)},children:(0,s.jsx)(g.zQC,{icon:"close"})})})]})})})})})}},49188:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});let s=(0,n(20325).I4)("div",{base:{bg:"surface.s1",border:"1px solid surface.s2",br:"lg",p:"lg",elevation:"2","& a":{color:"primary.default"},"& p":{margin:"0",paddingTop:"sm",paddingBottom:"md"},"& ul":{margin:"0",paddingBottom:"md",listStyleType:"none","& > li":{display:"flex","&:before":{content:"- ",mr:"sm"},"& + li":{marginTop:"sm"}}}}})},51283:(e,t,n)=>{"use strict";n.d(t,{F:()=>s.A});var s=n(63435)},56538:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>nB});var s=n(6029),a=n(46787),i=n(95669),r=n.n(i),l=n(67086),o=n(94164),d=n(88715),u=n(4917),c=n(947),m=n(58771),p=n(31830),g=n(92208);function x(e){let{uniqueTournament:t}=e,n=(0,c.A)(),i=(0,p.A)(),l=t.category,o=l.sport,u={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:n.formatMessage({id:"sport.".concat(o.slug)}),item:"".concat(a.VTF).concat(d.z.getTranslatedRoute(i,"eventList",{sport:o.slug}).route)},{"@type":"ListItem",position:2,name:n.formatMessage({id:l.slug}),item:"".concat(a.VTF).concat(d.z.getTranslatedRoute(i,"eventList.category",{sport:o.slug,category:l.slug}).route)},{"@type":"ListItem",position:3,name:t.name}]},x={"@context":"https://schema.org","@type":"SportsOrganization",name:t.name,sport:o.name,logo:a.V3t.image(t.id),url:"https://www.sofascore.com/tournament/".concat(o.slug,"/").concat(l.slug,"/").concat(t.slug,"/").concat(t.id),sameAs:(0,g._z)(t.id,i)};return(0,s.jsxs)(r(),{children:[(0,s.jsx)("script",{...(0,m.QQ)(u)}),",",(0,s.jsx)("script",{...(0,m.QQ)(x)}),","]})}var h=n(17554),j=n(11219);function y(){return(0,s.jsx)(h.fz,{id:"about.table.tennis.1",values:{ttlink:function(){for(var e=arguments.length,t=Array(e),n=0;n{switch(e){case 14749:case 14751:case 14747:case 14750:case 14748:return"ITTF Challenge Plus Oman Open";case 14691:case 14693:case 14689:case 14692:case 14690:return"ITTF Challenge Plus Portugal Open";case 14754:case 14752:case 14755:case 14753:return"ITTF Challenge Polish Open";case 14668:case 14666:case 14669:case 14664:case 14667:case 14665:return"ITTF Challenge Spanish Open";default:return null}};function b(e){var t;let n=f(e.uniqueTournament.id);if(!n)return null;let i=(t=e.uniqueTournament.name).includes("Women")?a.YT8.Female:t.includes("Mixed")?a.YT8.Mixed:t.includes("Boys")?"B":t.includes("Girls")?"G":a.YT8.Male,r=e.uniqueTournament.name.includes("Doubles")?"D":"S";return(0,s.jsxs)(v.J,{children:[(0,s.jsx)(h.fz,{id:"about.tt.ittf.challenge.1",values:{gender:i,type:r,tournamentName:n}}),(0,s.jsx)(y,{})]})}var T=n(20325),_=n(55729),w=n(88658),k=n(18970),C=n(90438),S=n(52763),I=n(25246),A=n(78767),P=n(60475),M=n(36678),q=n(36882),Y=n(39979),z=n(56132),R=n(22772),E=n(95084),F=n(99306),N=n(11996),H=n(79082),D=n(90248),L=n(91647);let W={"davis-cup":"headerTitle.davis",challenger:"headerTitle.challenger",atp:"headerTitle.tennis.v1",wta:"headerTitle.tennis.v1","itf-men":"headerTitle.tennis.v1","itf-women":"headerTitle.tennis.v1"},O={1858:{id:"headerTitle.tt.bundesliga"},2122:{id:"headerTitle.tt.cl",values:{gender:a.YT8.Male}},9500:{id:"headerTitle.tt.cl",values:{gender:a.YT8.Female}},11457:{id:"headerTitle.tt.ec",values:{gender:a.YT8.Male,type:"D"}},11458:{id:"headerTitle.tt.ec",values:{gender:a.YT8.Female,type:"D"}},11459:{id:"headerTitle.tt.ec",values:{gender:a.YT8.Mixed,type:"D"}},11455:{id:"headerTitle.tt.ec",values:{gender:a.YT8.Male,type:"S"}},11456:{id:"headerTitle.tt.ec",values:{gender:a.YT8.Female,type:"S"}},9550:{id:"headerTitle.tt.ettu",values:{gender:a.YT8.Male}},9534:{id:"headerTitle.tt.ettu",values:{gender:a.YT8.Female}},564:{id:"headerTitle.tt.oly.wcships",values:{comp:"O",gender:a.YT8.Male,type:"S"}},565:{id:"headerTitle.tt.oly.wcships",values:{comp:"O",gender:a.YT8.Female,type:"S"}},1121:{id:"headerTitle.tt.oly.wcships",values:{comp:"O",gender:a.YT8.Male,type:"T"}},1123:{id:"headerTitle.tt.oly.wcships",values:{comp:"O",gender:a.YT8.Female,type:"T"}},11579:{id:"headerTitle.tt.oly.wcships",values:{comp:"WC",gender:a.YT8.Male,type:"S"}},11586:{id:"headerTitle.tt.oly.wcships",values:{comp:"WC",gender:a.YT8.Female,type:"S"}},11587:{id:"headerTitle.tt.oly.wcships",values:{comp:"WC",gender:a.YT8.Mixed,type:"D"}},11580:{id:"headerTitle.tt.oly.wcships",values:{comp:"WC",gender:a.YT8.Male,type:"D"}},11585:{id:"headerTitle.tt.oly.wcships",values:{comp:"WC",gender:a.YT8.Female,type:"D"}},1966:{id:"headerTitle.tt.wc",values:{gender:a.YT8.Male}},1964:{id:"headerTitle.tt.wc",values:{gender:a.YT8.Female}},11604:{id:"headerTitle.tt.junior.wc",values:{gender:a.YT8.Male,type:"S"}},10698:{id:"headerTitle.tt.junior.wc",values:{gender:a.YT8.Female,type:"S"}},10697:{id:"headerTitle.tt.junior.wc",values:{gender:a.YT8.Mixed,type:"D"}},10699:{id:"headerTitle.tt.junior.wc",values:{gender:a.YT8.Male,type:"D"}},10700:{id:"headerTitle.tt.junior.wc",values:{gender:a.YT8.Female,type:"D"}},15004:{id:"headerTitle.tt.setka.tt.uwc",values:{comp:"S",gender:a.YT8.Male}},15007:{id:"headerTitle.tt.setka.tt.uwc",values:{comp:"S",gender:a.YT8.Female}},15005:{id:"headerTitle.tt.setka.tt.uwc",values:{comp:"TT",gender:a.YT8.Male}},15009:{id:"headerTitle.tt.setka.tt.uwc",values:{comp:"TT",gender:a.YT8.Female}},15001:{id:"headerTitle.tt.setka.tt.uwc",values:{comp:"UWC",gender:a.YT8.Male}},15068:{id:"headerTitle.tt.setka.tt.uwc",values:{comp:"UWC",gender:a.YT8.Female}}};function G(e){let{uniqueTournament:t,year:n}=e,{meta:i,seoContent:r}=(0,_.useContext)(u.x),l=(0,c.A)(),o=(0,L.N)(t),d=(0,P.Hw)(t.category);if(null==r?void 0:r.heading)return(0,s.jsx)(s.Fragment,{children:r.heading});if(i&&i.h1)return(0,s.jsx)(s.Fragment,{children:i.h1});if(t.id===a.G6l.Euro&&n)return(0,s.jsx)(D.A,{id:"headerTitle.ut.euro",values:{year:n}});if(t.id===a.G6l.WorldCup)return(0,s.jsx)(D.A,{id:"headerTitle.ut.worldCup",values:{year:n}});let m=t.category.sport.slug;if(m===a.QCR.Tennis){let e=t.category.slug,n={categoryName:"itf-men"===e||"itf-women"===e?"ITF":d,tournamentName:t.name};if(0===n.tournamentName.indexOf(n.categoryName)&&(n.categoryName=""),2361===t.id||2600===t.id)return(0,s.jsx)(s.Fragment,{children:l.formatMessage({id:"headerTitle.tennis.v2"},n).trim()});if(W[e])return(0,s.jsx)(s.Fragment,{children:l.formatMessage({id:W[e]},n).trim()})}return m===a.QCR.TableTennis&&O[t.id]?(0,s.jsx)(D.A,{id:O[t.id].id,values:O[t.id].values}):(0,s.jsx)(D.A,{id:"headerTitle.standings",values:{item:o}})}var Q=n(50865);let B=(e,t)=>{var n,s,a,i,r,l,o;return!!(null==e?void 0:e.winner)||!!(null==e||null==(n=e.newcomersUpperDivision)?void 0:n.length)||!!(null==e||null==(s=e.newcomersLowerDivision)?void 0:s.length)||!!(null==e||null==(a=e.newcomersOther)?void 0:a.length)||!!(null==e||null==(i=e.hostCountries)?void 0:i.length)||!!(null==e?void 0:e.hostCity)||!!(null==e?void 0:e.tier)||!!(null==t||null==(r=t.lowerDivisions)?void 0:r.length)||!!(null==t||null==(l=t.upperDivisions)?void 0:l.length)||!!(null==t||null==(o=t.linkedUniqueTournaments)?void 0:o.length)};var U=n(78383),K=n.n(U),V=n(46222),Z=n(20945),X=n(2920),J=n(32523),$=n(71024),ee=n.n($),et=n(74610),en=n(17135),es=n(79634),ea=n(94822),ei=n(2061),er=n(61321),el=n(47151),eo=n(95404),ed=n(43738),eu=n(9e3),ec=n(75142),em=n(60067),ep=n(17423),eg=n(34903),ex=n(51569),eh=n(52466),ej=n(10240),ey=n(85339),ev=n(22932);let ef=e=>{let{page:t}=e,n=(0,c.A)(),i=(0,p.A)(),{isMobile:r}=(0,ex.$c)();if(!(0,ev._)(t,ey.e8))return null;let l=d.z.getTranslatedRoute(i,"fantasy").route;return(0,s.jsx)(ej.Q,{banner:{logo:(0,s.jsx)(eh.azT,{w:"100%",h:"100%",color:"onColor.primary"}),copy:{sectionTitle:n.formatMessage({id:"fantasy"}),description:n.formatMessage({id:"fantasy_ucl_banner_body"}),action:n.formatMessage({id:"fantasy_play_now_button"})},type:a.$pL.LogoBanner,background:a.jae.Image,campaignName:"promotion_ucl_fantasy",url:l,bgImageUrl:r?"/static/images/ucl-fantasy-promotion/ucl-fantasy-promotion-banner-mobile.png":"/static/images/ucl-fantasy-promotion/ucl-fantasy-promotion-banner-desktop.png"},isDismissible:r,location:t.location})};var eb=n(12157),eT=n(38185),e_=n(494),ew=n(45860),ek=n(54836),eC=n(88540),eS=n(96016);function eI(e){let{uniqueTournamentId:t}=e,n=(0,e_.wA)(),{data:i,isLoading:r}=(0,ew.Ay)(a.V3t.featuredEvents(t),{onSuccess:e=>n((0,eS.oU)(e.featuredEvents))}),l=(0,eT.b)(t,"anything");return r?(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(V.Zp.Header,{titleId:"tournament.featuredEvent"}),(0,s.jsx)(T.az,{h:"[154px]"})]}):(0,s.jsx)(s.Fragment,{children:null==i?void 0:i.featuredEvents.map(e=>(0,s.jsx)(ek.S,{isLoading:!1,events:[e],hideEventTitle:!0,children:(0,s.jsx)(eC.Y,{event:e,brandedOddsProviderId:null==l?void 0:l.oddsProviderId})},e.id))})}var eA=n(37615),eP=n(97659),eM=n(14868),eq=n(77015),eY=n(15340),ez=n(94156),eR=n(47815);let eE=e=>{let{player:t,team:n,popularityRanking:i}=e,r=a.USm.includes(n.sport.slug);return(0,s.jsx)(j.uc,{player:t,sportSlug:n.sport.slug,children:(0,s.jsxs)(T.so,{flexGrow:"1",align:"center",w:"100%",px:"lg",py:"sm",cursor:"pointer",_hover:{bg:"surface.s2"},direction:"row",justify:"space-between",children:[(0,s.jsxs)(T.so,{children:[(0,s.jsx)(T.so,{w:"lg",align:"center",justify:"center",children:(0,s.jsx)(ex.EY,{textStyle:"body.small",children:i})}),(0,s.jsxs)(T.az,{position:"relative",w:"3xl",h:"3xl",mx:"md",children:[(0,s.jsx)(eq.t,{id:t.id,name:t.name,size:"3xl"}),t.country&&(0,s.jsx)(T.so,{position:"absolute",bottom:"[0px]",right:"[0px]",children:(0,s.jsx)(eq.w,{alpha2:t.country.alpha2,h:"16px",w:"16px"})})]}),(0,s.jsxs)(T.so,{direction:"column",justify:"center",align:"flex-start",children:[(0,s.jsx)(ex.EY,{lineHeight:"md",children:(0,s.jsx)(ez.c,{entity:t})}),(0,s.jsx)(ex.EY,{display:"block",mt:"xs",textAlign:"end",textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:(0,s.jsx)(D.A,{id:"basic.followersWithCount",values:{n:(0,s.jsx)(ex.EY,{textStyle:"assistive.default",color:"primary.default",children:(0,eR.A)(t.userCount)})}})})]})]}),r&&(0,s.jsx)(eY.e,{entity:a.bq7.Players,id:t.id,location:q.y.PopularPlayers,type:q.b.Player})]})})};function eF(e){let{popularPlayers:t}=e,[n,a]=(0,_.useState)(!1),i=t.length>5,r=n?t:t.slice(0,5);return(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(V.Zp.Header,{titleId:"tournament.popularPlayers"}),r.map((e,t)=>(0,s.jsx)(eE,{team:e.team,player:e.player,popularityRanking:t+1},e.player.id)),(0,s.jsx)(V.Zp.Footer,{ctaParams:i?{messageId:n?"show_less":"show_more",onClick:()=>a(e=>!e),icon:n?eM.X.Up:eM.X.Down}:void 0})]})}var eN=n(59721),eH=n(82346);let eD=e=>{let{uniqueTournament:t}=e;return(0,s.jsxs)(T.so,{p:"lg",children:[(0,s.jsx)(T.so,{children:(0,s.jsx)(eN.e,{id:t.id})}),(0,s.jsxs)(T.so,{direction:"column",align:"flex-start",justify:"center",ml:"sm",children:[(0,s.jsx)(ex.H3,{textStyle:"display.large",children:(0,s.jsx)(eH.O,{uniqueTournament:t})}),(0,s.jsx)(ex.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(D.A,{id:"tournament.popularPlayers"})})]})]})};function eL(e){let{popularPlayers:t,uniqueTournament:n}=e,[a,i]=(0,_.useState)(!1),r=null==t?void 0:t.slice(0,3);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(V.Zp.Header,{titleId:"tournament.popularPlayers"}),r.map((e,t)=>(0,s.jsx)(eE,{team:e.team,player:e.player,popularityRanking:t+1},e.player.id)),(0,s.jsx)(V.Zp.Footer,{ctaParams:{messageId:"basic.seeAllPlayers",onClick:()=>i(e=>!e),icon:eM.X.Right}})]}),(0,s.jsx)(ex.Xn,{isOpen:a,onClose:()=>i(!1),header:(0,s.jsx)(eD,{uniqueTournament:n}),size:"contentFit",children:(0,s.jsx)(T.so,{h:"100%",w:"100%",direction:"column",children:t.map((e,t)=>(0,s.jsx)(eE,{team:e.team,player:e.player,popularityRanking:t+1},e.player.id))})})]})}function eW(e){let{uniqueTournament:t,seasonId:n}=e,i=56953===n&&t.id===a.G6l.Euro||57114===n&&t.id===a.G6l.CopaAmerica,{data:r}=(0,ew.Ay)(i?a.V3t.topFollowedPlayers(t.id,n):null);return r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(T.az,{hideBelow:"md",maxW:"[440px]",children:(0,s.jsx)(eF,{popularPlayers:null==r?void 0:r.topFollowedPlayers})}),(0,s.jsx)(T.az,{display:{md:"none"},children:(0,s.jsx)(eL,{popularPlayers:null==r?void 0:r.topFollowedPlayers,uniqueTournament:t})})]}):null}var eO=n(33144),eG=n(74664);let eQ=e=>{let{team:t,popularityRanking:n}=e,i=(0,eG.o)();return(0,s.jsx)(j.gT,{team:t,sport:i,children:(0,s.jsxs)(T.so,{flexGrow:"1",align:"center",w:"100%",px:"lg",py:"sm",cursor:"pointer",_hover:{bg:"surface.s2"},direction:"row",justify:"space-between",children:[(0,s.jsxs)(T.so,{children:[(0,s.jsx)(T.so,{w:"lg",align:"center",justify:"center",children:(0,s.jsx)(ex.EY,{textStyle:"body.small",color:"neutrals.nLv1",children:n})}),(0,s.jsx)(T.az,{position:"relative",w:"3xl",h:"3xl",mx:"md",children:(0,s.jsx)(eO.p,{id:t.id,name:t.name,size:40})}),(0,s.jsxs)(T.so,{direction:"column",justify:"center",align:"flex-start",children:[(0,s.jsx)(ex.EY,{lineHeight:"md",textStyle:"body.medium",color:"neutrals.nLv1",children:(0,s.jsx)(ez.c,{entity:t})}),(0,s.jsx)(ex.EY,{display:"block",mt:"xs",textAlign:"end",textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:(0,s.jsx)(D.A,{id:"basic.followersWithCount",values:{n:(0,s.jsx)(ex.EY,{textStyle:"assistive.default",color:"primary.default",children:(0,eR.A)(t.userCount)})}})})]})]}),(0,s.jsx)(eY.e,{entity:a.bq7.Teams,id:t.id,location:q.y.PopularTeams,type:q.b.Team})]})})},eB=e=>{let{uniqueTournament:t}=e;return(0,s.jsxs)(T.so,{p:"lg",children:[(0,s.jsx)(T.so,{children:(0,s.jsx)(eN.e,{id:t.id})}),(0,s.jsxs)(T.so,{direction:"column",align:"flex-start",justify:"center",ml:"sm",children:[(0,s.jsx)(ex.H3,{textStyle:"display.large",color:"neutrals.nLv1",children:(0,s.jsx)(eH.O,{uniqueTournament:t})}),(0,s.jsx)(ex.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(D.A,{id:"tournament.popularTeams"})})]})]})};function eU(e){let{uniqueTournament:t,seasonId:n}=e,i=74858===n&&t.id===a.G6l.SofascoreClubNXTU14,{data:r}=(0,ew.Ay)(i?a.V3t.topFollowedTeams(t.id,n):null),l=(null==r?void 0:r.topFollowedTeams)||[],{isMobile:o}=(0,ex.$c)(),[d,u]=(0,_.useState)(!1),c=[...l].slice(0,o?3:5);return l.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(V.Zp.Header,{titleId:"tournament.popularTeams"}),(!o&&d?l:c).map((e,t)=>(0,s.jsx)(eQ,{team:e,popularityRanking:t+1},e.id)),(0,s.jsx)(V.Zp.Footer,{ctaParams:c.lengthu(e=>!e),icon:o?eM.X.Right:d?eM.X.Up:eM.X.Down}})]}),o&&(0,s.jsx)(ex.Xn,{isOpen:d,onClose:()=>u(!1),header:(0,s.jsx)(eB,{uniqueTournament:t}),children:(0,s.jsx)(T.so,{h:"100%",w:"100%",direction:"column",pb:"xl",children:l.map((e,t)=>(0,s.jsx)(eQ,{team:e,popularityRanking:t+1},e.id))})})]}):null}var eK=n(7078),eV=n(17992),eZ=n(60235);let eX=[21559,21560,21561],eJ=()=>(0,s.jsx)("svg",{width:"9",height:"10",viewBox:"0 0 9 10",fill:"none",children:(0,s.jsx)("path",{d:"M0.0285624 8.37741C0.0285624 8.37741 -0.035703 8.22345 0.0285624 8.1593L5.07982 3.11725C5.07982 3.11725 5.23405 3.0531 5.29832 3.11725L6.36512 4.18211C6.44224 4.25909 6.44224 4.32324 6.36512 4.40021L1.32672 9.44227C1.2496 9.51924 1.17248 9.51924 1.09537 9.44227L0.0285624 8.37741ZM7.17487 2.32181H1.36528C1.26246 2.32181 1.19819 2.25766 1.19819 2.16785V0.653956C1.19819 0.564148 1.27531 0.5 1.35243 0.5H8.07458C8.16455 0.5 8.21596 0.5 8.29308 0.576978L8.93573 1.21846C8.93573 1.21846 9 1.29544 9 1.35959V8.12081C9 8.21062 8.92288 8.27477 8.84576 8.27477H7.3291C7.22628 8.27477 7.17487 8.21062 7.17487 8.10798V2.32181Z",fill:"white"})}),e$=()=>((0,_.useEffect)(()=>{(0,E.ke)({action:"impression",location:"league_details",type:"banner_kutija_sibica"})},[]),(0,s.jsx)("a",{href:"https://www.entrio.hr/event/mnt-kutija-sibica-2024-powered-by-powerade-zavrsnica-21625/?utm_source=sofascore&utm_medium=sof_web",target:"_blank",rel:"noopener noreferrer",onClick:()=>{(0,E.ke)({action:"click",location:"league_details",type:"banner_kutija_sibica"})},children:(0,s.jsx)("bdi",{children:(0,s.jsx)(V.Zp,{children:(0,s.jsxs)(T.so,{backgroundImage:"url(/static/images/kutija-sibica/kutija_bg.png)",backgroundSize:"cover",backgroundRepeat:"no-repeat",minH:{base:"[148px]",lg:"[162px]"},p:{base:"md",lg:"lg"},align:"center",justify:"space-between",br:{mdDown:"lg",md:"xl"},overflow:"hidden",children:[(0,s.jsxs)(T.so,{direction:"column",gap:"sm",flexGrow:1,flexShrink:1,flexBasis:"[150px]",maxW:"[214px]",children:[(0,s.jsx)(ex.EY,{display:"block",textStyle:"display.extraLarge",color:"onColor.primary",textAlign:"start",children:"Navijaj na Kutiji šibica i uživo! \uD83D\uDD25"}),(0,s.jsx)(ex.$n,{w:"100%",variant:"clear",size:"secondary",bg:"[#E82F34]",textTransform:"none",children:(0,s.jsxs)(T.so,{justify:"center",align:"center",gap:"sm",children:[(0,s.jsx)(ex.EY,{display:"block",textStyle:"display.small",color:"onColor.primary",children:"Kupi ulaznice"}),(0,s.jsx)(eJ,{})]})})]}),(0,s.jsx)(T.az,{backgroundImage:"url(/static/images/kutija-sibica/kutija_logo.svg)",backgroundSize:"cover",backgroundRepeat:"no-repeat",h:{base:"[128px]",lg:"[134px]"},w:{base:"[110px]",lg:"[114px]"}})]})})})})),e0=e=>{let{uniqueTournamentId:t}=e,n=(0,eZ.hX)();if(!eX.includes(t))return null;if(n)return(0,s.jsx)(V.Zp,{children:(0,s.jsx)(T.az,{h:{base:"[148px]",lg:"[162px]"}})});let a=new Date().getTime(),i=new Date("2024-12-15 12:00:00").getTime(),r=new Date("2024-12-28 12:00:00").getTime();return a>i&&an.e(32035).then(n.bind(n,32035)),{loadableGenerated:{webpack:()=>[32035]},ssr:!1,loading:()=>(0,s.jsx)(J.E,{uniqueKey:"unique-tournament-media-cl-2",br:"lg"})}),e5=ee()(()=>n.e(59007).then(n.bind(n,59007)),{loadableGenerated:{webpack:()=>[59007]},ssr:!1,loading:()=>(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(V.Zp.Header,{titleId:"matches",values:{sport:a.QCR.Football}}),(0,s.jsx)(er.A,{initialEventCount:12})]})});function e8(e){var t;let{uniqueTournament:n,seasons:i,activeSeasonId:r,hasEvents:l,hasPlayerOfTheSeason:o,hasMedia:d}=e,u=ed.g[n.id],c=u&&(null==u?void 0:u.historyHighlightsEndYear),m=n.category.sport.slug,p=m===a.QCR.Football,g=i[0],x=(null==g?void 0:g.id)===r,h=(0,eT.b)(n.id,"banner"),j=(null==(t=i[0])?void 0:t.id)===r,y=(0,eu.I)(n.id,{location:E.XN.LeagueScreen,entity:n});return(0,s.jsxs)(s.Fragment,{children:[x&&(0,s.jsx)(eI,{uniqueTournamentId:n.id}),(!j||l||!r)&&(0,s.jsx)(et.t,{tag:"UniqueTournamentEventList",children:(0,s.jsx)(en.MC,{value:{isNarrow:!0,isShort:a.HwS.includes(m),location:q.y.MatchesSection},children:r?(0,s.jsx)(e5,{uniqueTournamentId:n.id,seasonId:r,isGrouping:!0},"UniqueTournamentEventList-".concat(n.id,"-").concat(r)):(0,s.jsx)(el.A,{entity:a.wNW.UniqueTournament,id:n.id,isGrouping:!0})})}),(0,s.jsx)(e0,{uniqueTournamentId:n.id}),r&&(0,s.jsx)(eK.default,{uniqueTournamentId:n.id,seasonId:r}),p&&o&&(0,s.jsx)(eA.D,{uniqueTournamentId:n.id,seasonId:r,showLoader:!!(!x||n.endDateTimestamp&&(null==n?void 0:n.endDateTimestamp)n.e(69221).then(n.bind(n,69221)),{loadableGenerated:{webpack:()=>[69221]},ssr:!1,loading:()=>(0,s.jsx)(T.az,{h:"[500px]"})});function e3(e){let{uniqueTournamentId:t,seasonId:n}=e;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.Transactions,children:(0,s.jsx)(e2,{uniqueTournamentId:t,seasonId:n})})}var e6=n(88505);function e4(e){let{team:t}=e;return t?(0,s.jsx)(h.fz,{id:"about.title.holder",values:{teamlink:function(){for(var e=arguments.length,n=Array(e),i=0;i{let{name:t,image:n}=e;return(0,s.jsxs)(T.so,{_hover:{bg:"surface.s2"},px:{mdDown:"sm",md:"lg"},py:"xs",gap:"lg",align:"center",children:[n,(0,s.jsx)(ex.EY,{children:t})]})};function tw(e){let{title:t,tournaments:n,teams:a,sport:i}=e,r=[];(null==n?void 0:n.length)&&r.push(...n.map(e=>(0,s.jsx)(j.tQ,{tournament:e,children:(0,s.jsx)(t_,{image:(0,s.jsx)(tT.e,{size:"2xl",...e}),name:(0,s.jsx)(eH.O,{uniqueTournament:e})})},e.id)));let l=null==a?void 0:a.filter(Boolean);return((null==l?void 0:l.length)&&r.push(...l.map(e=>(0,s.jsx)(j.gT,{sport:i,team:e,children:(0,s.jsx)(t_,{image:(0,s.jsx)(tT.p,{size:32,...e}),name:(0,s.jsx)(e6.Rm,{team:e})})},e.id))),r.length)?(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(V.Zp.Header,{titleId:t}),r,(0,s.jsx)(V.Zp.Footer,{})]}):null}var tk=n(53960);let tC=JSON.parse('{"Division level":"divisionLevel","Number of rounds":"numberOfRounds","averageGoals":"football_avg_goals","homeTeamWins":"home_team_wins","Draws":"draws","awayTeamWins":"away_team_wins","Yellow cards":"yellow_cards","yellowCards":"football_yellow_cards","redCards":"red_cards","Total prize money":"totalPrizeMoney","Ground type":"surface","Start date":"startDate","End date":"endDate","Continent":"continent","Number of sets":"numberOfSets","Prize currency":"prizeCurrency","Number of competitors":"numberOfCompetitors"}');var tS=n(91113);let tI=e=>{let{id:t}=e;return(0,s.jsx)(D.A,{id:(0,tS.OX)(tC,t)})};function tA(e){let{facts:t,isCurrentSeason:n}=e;return Object.keys(t).some(e=>"winner"!==e&&"groundType"!==e&&void 0!==t[e]&&!("numberOfCompetitors"===e&&!n))?(0,s.jsxs)(T.az,{pb:"sm",children:[(0,s.jsx)(V.Zp.Header,{title:(0,s.jsx)(ex.EY,{textTransform:"capitalize",textStyle:"display.medium",lineHeight:"24px",children:(0,s.jsx)(D.A,{id:"tournament.facts"})})}),Object.keys(t).map(e=>"winner"!==e&&void 0!==t[e]&&("numberOfCompetitors"!==e||n)&&"groundType"!==e?(0,s.jsxs)(T.so,{py:"sm",px:{mdDown:"sm",md:"lg"},justify:"space-between",align:"center",children:[(0,s.jsx)(ex.EY,{children:(0,s.jsx)(tI,{id:e})}),(0,s.jsx)(ex.EY,{children:"totalPrizeMoney"===e&&t.totalPrizeMoney?(0,s.jsx)(tk.o,{parsedMoney:(0,a.oaz)(t.totalPrizeMoney)}):t[e]})]},e):null)]}):null}function tP(e){let{countries:t,city:n}=e,a=(null==t?void 0:t.length)?t.join(", "):null,i=((null==t?void 0:t.length)||0)>1,r=(n||"").split(",").length>1;return a||n?(0,s.jsxs)(T.az,{pb:"sm",children:[(0,s.jsx)(V.Zp.Header,{titleId:"tournament.host"}),a&&(0,s.jsxs)(T.so,{py:"sm",px:{mdDown:"sm",md:"lg"},justify:"space-between",gap:"lg",children:[(0,s.jsx)(ex.EY,{children:(0,s.jsx)(D.A,{id:i?"countries":"country"})}),(0,s.jsx)(ex.EY,{textAlign:"end",children:a})]}),n&&(0,s.jsxs)(T.so,{py:"sm",px:{mdDown:"sm",md:"lg"},justify:"space-between",gap:"lg",children:[(0,s.jsx)(ex.EY,{children:(0,s.jsx)(D.A,{id:r?"cities":"city"})}),(0,s.jsx)(ex.EY,{textAlign:"end",children:n})]})]}):null}function tM(e){let{team:t,sport:n,text:a}=e;return(0,s.jsx)(T.az,{children:(0,s.jsx)(j.gT,{team:t,sport:n,children:(0,s.jsxs)(T.so,{pt:"sm",direction:"column",align:"center",children:[(0,s.jsx)(eO.p,{size:40,id:t.id,name:t.name}),(0,s.jsx)(ex.Ym,{px:"sm",mt:"xs",textStyle:"display.small",textAlign:"center",children:(0,s.jsx)(e6.Rm,{team:t})}),(0,s.jsx)(ex.EY,{px:"sm",textStyle:"assistive.default",color:"neutrals.nLv3",mt:"xs",h:a?"2xl":"xs",textAlign:"center",children:a})]})})})}function tq(e){let{titleHolder:t,mostTitlesTeams:n,titleHolderTitles:a,mostTitles:i,sport:r}=e,l=(0,c.A)(),o=a?"".concat(l.formatMessage({id:"title_holder"})," (").concat(a,")"):l.formatMessage({id:"title_holder"}),d=i&&i>1?"".concat(l.formatMessage({id:"most_titles"})," (").concat(i,")"):"";return t||n?(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(T.az,{display:["none","block"],children:(0,s.jsx)(V.Zp.Header,{titleId:"titles"})}),(0,s.jsxs)(T.so,{wrap:"wrap",align:"center",p:"sm",justify:"space-around",children:[t&&(0,s.jsx)(tM,{team:t,sport:r,text:o}),n?n.map(e=>(0,s.jsx)(tM,{team:e,sport:r,text:d},e.id)):void 0]})]}):null}let tY=["id","newcomersUpperDivision","newcomersLowerDivision","newcomersOther","totalPrizeMoneyCurrency","totalPrizeMoney","hostCity","hostCities","hostCountries"],tz=(e,t)=>{let n=Math.round(100*e);return t?"".concat(n,"%"):n/100};function tR(e,t){if(void 0===e)return null;let n=Object.keys(e).filter(e=>-1===tY.indexOf(e)).reduce((t,n)=>(Array.isArray(e[n])?e[n].length&&(t[n]=e[n].join(", ")):"totalPrizeMoneyRaw"===n&&void 0!==e.totalPrizeMoneyRaw?t.totalPrizeMoney=e.totalPrizeMoneyRaw:t[n]=e[n],t),{}),s={};t&&(t.groundType&&(s.groundType=t.groundType),t.numberOfSets&&(s.numberOfSets=t.numberOfSets),t.tier&&(s.tier=t.tier));let a=(n.homeTeamWins||0)+(n.awayTeamWins||0)+(n.draws||0);if(a){let e={...n,...s};if(n.goals){let t=tz(n.goals/a);e={goals:e.goals,averageGoals:t,...e}}return n.yellowCards&&(e.yellowCards=tz(n.yellowCards/a)),n.redCards&&(e.redCards=tz(n.redCards/a)),n.homeTeamWins&&(e.homeTeamWins=tz(n.homeTeamWins/a,!0)),n.awayTeamWins&&(e.awayTeamWins=tz(n.awayTeamWins/a,!0)),n.draws&&(e.draws=tz(n.draws/a,!0)),e}return{...n,...s}}let tE=e=>{let{children:t}=e;return(0,s.jsx)(T.az,{_lastOfType:{h:"100%",bg:"surface.s1"},children:t})};function tF(e){var t,n,i;let{tournament:r,info:l,seasonId:o,isCurrentSeason:d}=e,u=r.category.sport.slug,c={sport:u,category:r.category.slug},m=null==(t=(0,ew.Ay)(o?a.V3t.info(r.id,o):null,{fallbackData:d&&l?{info:l}:void 0}).data)?void 0:t.info,p=(0,_.useMemo)(()=>tR(m,r),[o,m]),g={},x={};u===a.QCR.Tennis?((null==p?void 0:p.totalPrizeMoney)&&(g.totalPrizeMoney=tv()(p.totalPrizeMoney)),g.numberOfCompetitors=tv()(null==p?void 0:p.numberOfCompetitors),g.numberOfSets=tv()(null==p?void 0:p.numberOfSets),p&&(null==(x=tv()(p))||delete x.totalPrizeMoney,null==x||delete x.numberOfCompetitors,null==x||delete x.numberOfSets,null==x||delete x.groundType)):p&&(x={...p});let h=d?r.titleHolder||(null==m?void 0:m.winner):void 0,j=d?r.mostTitlesTeams:void 0,y=[...[{title:"tournament.upperDivision",tournaments:r.upperDivisions},{title:"newcomers_upper",teams:null==m?void 0:m.newcomersUpperDivision},{title:"lower_division",tournaments:r.lowerDivisions},{title:"newcomers_lower",teams:null==m?void 0:m.newcomersLowerDivision},{title:"tournament.newcomersOther",teams:null==m?void 0:m.newcomersOther}].map(e=>{var t,n;return(null==(t=e.tournaments)?void 0:t.length)||(null==(n=e.teams)?void 0:n.length)?(0,s.jsx)(tw,{...e,...c},e.title):null}),!tb()(x)&&Object.keys(x).some(e=>"winner"!==e&&"groundType"!==e&&void 0!==x[e]&&!("numberOfCompetitors"===e&&!d))?(0,s.jsx)(tA,{facts:x,isCurrentSeason:d},x.id):null,(null==m?void 0:m.hostCountries.length)||(null==m?void 0:m.hostCity)?(0,s.jsx)(tP,{countries:null==m?void 0:m.hostCountries,city:null==m?void 0:m.hostCity},m.id):null].filter(e=>!!e),v=!!h||!!(null==j?void 0:j.length)||!!(null==(n=r.linkedUniqueTournaments)?void 0:n.length),f=!!y.length;return v||f?(0,s.jsxs)(V.Zp,{variant:"mobile-only",children:[(0,s.jsx)(T.az,{hideFrom:"md",children:(0,s.jsx)(V.Zp.Header,{titleId:"tournament.leagueInfo"})}),(0,s.jsx)(V.WC,{variant:"inverse-mobile",children:(0,s.jsx)(V.WC,{variant:"square-desktop",children:(0,s.jsxs)(T.so,{mdDown:{p:"sm",gap:"sm",flexDirection:"column"},md:{gap:"[1px]",bg:"neutrals.nLv4",br:"lg",mt:"sm"},overflow:"hidden",children:[v&&(0,s.jsx)(T.so,{w:"100%",direction:"column",gap:{base:"sm",md:"[1px]"},children:(0,s.jsxs)(tE,{children:[(0,s.jsx)(tq,{titleHolder:h,titleHolderTitles:r.titleHolderTitles,mostTitlesTeams:j,mostTitles:r.mostTitles,sport:u}),r.linkedUniqueTournaments&&(null==(i=r.linkedUniqueTournaments)?void 0:i.length)>0&&(0,s.jsx)(V.Zp,{children:(0,s.jsx)(tw,{title:"tournament.sameDivision",tournaments:r.linkedUniqueTournaments,...c})})]})}),v&&f&&(0,s.jsx)(T.so,{direction:"column",gap:{base:"sm",md:"[1px]"},w:"100%",children:y.map(e=>(0,s.jsx)(tE,{children:(0,s.jsx)(V.Zp,{children:e})},null==e?void 0:e.key))}),!v&&f&&tj()(y,Math.ceil(y.length/2)).map((e,t)=>(0,s.jsx)(T.so,{w:"100%",gap:{base:"sm",md:"[1px]"},direction:"column",children:e.map((e,t)=>(0,s.jsx)(tE,{children:(0,s.jsx)(V.Zp,{children:e},"element-".concat(t))},null==e?void 0:e.key))},"group-".concat(t)))]})})})]}):null}var tN=n(49611);let tH=e=>{let{text:t,value:n}=e;return(0,s.jsxs)(T.so,{px:"lg",w:"100%",h:"2xl",justifyContent:"space-between",children:[(0,s.jsx)(ex.EY,{display:"block",children:t}),(0,s.jsx)(ex.EY,{display:"block",children:n})]})},tD=e=>{var t,n;let{info:i,tournament:r,seasonId:l,isCurrentSeason:o}=e,d=(0,c.A)(),u=null==(t=(0,ew.Ay)(l?a.V3t.info(r.id,l):null,{fallbackData:o&&i?{info:i}:void 0}).data)?void 0:t.info,m=(0,_.useMemo)(()=>tR(u,r),[l,u]),p=(null==u||null==(n=u.hostCountries)?void 0:n.length)?null==u?void 0:u.hostCountries.join(", "):null,g=null==u?void 0:u.hostCity;return m||p||g?(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(V.Zp.Header,{titleId:"info"}),(0,s.jsxs)(T.so,{direction:"column",py:"sm",gap:"xs",children:[o&&(null==m?void 0:m.numberOfSets)&&(0,s.jsx)(tH,{text:d.formatMessage({id:"sets"}),value:m.numberOfSets.toString()}),o&&(null==m?void 0:m.totalPrizeMoney)&&(0,s.jsx)(tH,{text:d.formatMessage({id:"totalPrizeMoney"}),value:"".concat((0,a.oaz)(m.totalPrizeMoney).parsedValue).concat((0,a.oaz)(m.totalPrizeMoney).measure," ").concat(m.totalPrizeMoney.currency)}),o&&(null==m?void 0:m.numberOfCompetitors)&&(0,s.jsx)(tH,{text:d.formatMessage({id:"competitors"}),value:m.numberOfCompetitors.toString()}),p&&(0,s.jsx)(tH,{text:d.formatMessage({id:"country"}),value:p}),g&&(0,s.jsx)(tH,{text:d.formatMessage({id:"city"}),value:g})]})]}):null};var tL=n(52736);let tW=e=>{let{teamId:t,team:n,year:i,description:r,highlightText:l}=e;return(0,s.jsx)(j.gT,{team:n,sport:a.QCR.Tennis,style:{width:"100%",display:"flex"},children:(0,s.jsxs)(T.so,{w:"100%",px:"lg",py:"sm",justifyContent:"space-between",align:"center",_hover:{bg:"neutrals.nLv5"},children:[(0,s.jsxs)(T.so,{gap:"lg",children:[(0,s.jsx)(eO.p,{id:t}),(0,s.jsxs)(T.so,{direction:"column",gap:"xs",minW:"[0px]",justify:"center",children:[(i||r)&&(0,s.jsx)(ex.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:i||r}),(0,s.jsx)(ex.EY,{textStyle:"body.medium",color:"neutrals.nLv1",maxW:"[169px]",truncate:!0,style:{whiteSpace:"nowrap",overflow:"hidden"},children:(0,s.jsx)(e6.Rm,{team:n})})]})]}),l&&(0,s.jsx)(T.so,{br:"md",bg:"primary.highlight",px:"sm",alignSelf:"center",children:(0,s.jsx)(ex.EY,{textStyle:"assistive.default",color:"primary.default",children:l})})]})})},tO=e=>{let{tournament:t,uniqueTournamentWinners:n,isCurrentSeason:a}=e,i=(0,c.A)();if(!(null==n?void 0:n.length))return null;let r=a?t.mostTitlesTeams:void 0,l=r&&r.length>0,o=l&&r.length>1,d=n.sort((e,t)=>t.year-e.year);return(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(V.Zp.Header,{titleId:"titles"}),(0,s.jsx)(T.so,{direction:"column",pb:"sm",children:(0,s.jsxs)(T.so,{direction:"column",width:"100%",align:"flex-start",children:[d.map((e,t)=>(0,s.jsx)(tW,{teamId:e.team.id,team:e.team,year:e.year,highlightText:0===t?i.formatMessage({id:"title_holder"}):void 0},t)),l&&(0,s.jsxs)(s.Fragment,{children:[o?(0,s.jsx)(T.so,{width:"100%",h:"xl",mt:"md",mb:"xs",justify:"center",align:"center",children:(0,s.jsx)(ex.EY,{textStyle:"display.medium",children:i.formatMessage({id:"most_titles"})})}):(0,s.jsx)(T.cG,{my:"sm"}),r.map(e=>(0,s.jsx)(tW,{teamId:e.id,team:e,description:o?void 0:i.formatMessage({id:"most_titles"}),highlightText:"".concat(t.mostTitles," ").concat(i.formatMessage({id:"titles"}))},e.id))]})]})}),(0,s.jsx)(tL.b,{m:"sm",mt:"0",messageId:"disclaimer_based_on_available_data"})]})},tG=e=>{let{uniqueTournamentWinners:t,info:n,tournament:a,isCurrentSeason:i,seasonId:r}=e;return(0,s.jsx)(V.Zp,{variant:"mobile-only",children:(0,s.jsx)(V.WC,{variant:"inverse-mobile",children:(0,s.jsx)(V.WC,{variant:"square-desktop",children:(0,s.jsxs)(tN.X,{children:[i&&(0,s.jsx)(tO,{tournament:a,uniqueTournamentWinners:t,isCurrentSeason:i}),(0,s.jsx)(tD,{info:n,tournament:a,seasonId:r,isCurrentSeason:i})]})})})})};function tQ(e){let{uniqueTournament:t,seasonId:n,info:i,isCurrentSeason:r,uniqueTournamentWinners:l}=e,o=t.category.sport.slug===a.QCR.Tennis;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.Details,children:o?(0,s.jsx)(tG,{uniqueTournamentWinners:l,info:i,tournament:t,seasonId:n,isCurrentSeason:r}):(0,s.jsx)(tF,{tournament:t,info:i,seasonId:n,isCurrentSeason:r})})}let tB=ee()(()=>Promise.all([n.e(14591),n.e(91381),n.e(99866)]).then(n.bind(n,99866)),{loadableGenerated:{webpack:()=>[99866]},loading:()=>(0,s.jsx)(T.az,{h:"[500px]"})});function tU(e){var t;let{uniqueTournament:n,seasonId:a}=e,i=n.category.sport.slug;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.Knockout,children:(0,s.jsx)(T.az,{overflow:"hidden",borderBottomRadius:"lg",children:(0,s.jsx)(V.WC,{variant:"square",children:(0,s.jsx)(tB,{uniqueTournamentId:null==n?void 0:n.id,uniqueTournamentSlug:null==n?void 0:n.slug,categorySlug:null==(t=n.category)?void 0:t.slug,seasonId:a,sport:i})})})})}let tK=ee()(()=>Promise.all([n.e(88620),n.e(82489),n.e(28105),n.e(14264),n.e(5141),n.e(70084)]).then(n.bind(n,54581)),{loadableGenerated:{webpack:()=>[54581]},ssr:!1,loading:()=>(0,s.jsx)(T.az,{h:"[500px]"})});function tV(e){let{uniqueTournament:t,seasonId:n}=e;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.Statistics,children:(0,s.jsx)(tK,{uniqueTournament:t,seasonId:n})})}var tZ=n(36041);let tX=e=>{let{uniqueTournamentId:t}=e,{data:n}=(0,ew.Ay)(a.V3t.featuredEvents(t));return n?(0,s.jsx)(tZ.w,{event:n.featuredEvents[0]}):null};var tJ=n(4866),t$=n(85658),t0=n(28377),t1=n(31139),t5=n(48524),t8=n(73559),t2=n(82536),t3=n(37578);function t6(e){let{isOpen:t,setIsOpen:n,editorData:a}=e;return(0,s.jsx)(t2.A,{isOpen:t,setIsOpen:n,header:"competition_editors_list_title",children:null==a?void 0:a.editors.map(e=>(0,s.jsx)(j.N_,{routeKey:"user",params:{userId:e.id},onClick:()=>(0,E.Zs)("editor_league_modal"),children:(0,s.jsxs)(T.so,{align:"center",justify:"space-between",h:"5xl",px:"lg",py:"md",_hover:{bg:"surface.s2"},children:[(0,s.jsxs)(T.so,{align:"center",gap:"lg",children:[(0,s.jsx)(t3.A,{src:e.imageURL,size:32}),(0,s.jsx)(ex.EY,{textStyle:"table.medium",truncate:!0,children:e.nickname})]}),(0,s.jsx)(eh.CCT,{color:"primary.default"})]})},e.id))})}var t4=n(9050),t9=n(68318),t7=n(1639),ne=n(33618);let nt=[8,a.G6l.WorldCup,17,23,34,35],nn=e=>{let{uniqueTournamentId:t,seasonYear:n}=e;return n&&nt.includes(t)?(0,s.jsxs)(s.Fragment,{children:[" ",(0,ne.b0)(n).join("/")]}):null};function ns(e){var t;let{uniqueTournament:n,seasons:i,seasonId:r,onSeasonChange:l}=e,o=(0,c.A)(),{wasFollowed:d}=(0,t8.e)({entity:a.bq7.Tournaments,id:n.id}),u=(0,L.N)(n),m=!!(i.length&&r&&r===i[0].id)&&!!(n.startDateTimestamp&&n.startDateTimestamp!==n.endDateTimestamp),{data:p}=(0,ew.Ay)(a.V3t.seasonEditors(n.id,r)),[g,x]=(0,_.useState)(!1),h=(0,_.useMemo)(()=>i.find(e=>e.id===r),[r,i]),j=null==p?void 0:p.editors,y={nickname:(null==p?void 0:p.organizations.length)?null==p?void 0:p.organizations[0].name:(null==j?void 0:j.length)===1?j[0].editorName:void 0,numberOfEditors:null==j?void 0:j.length,eventLocation:(null==j?void 0:j.length)===1?"editor_league":void 0,hasStarted:!0,isInLeagueHeader:!0,isOrganization:!!(null==p?void 0:p.organizations.length),userId:j&&j.length>1||null==j||null==(t=j[0])?void 0:t.id,onClick:j&&j.length>1&&!(null==p?void 0:p.organizations.length)?()=>x(!0):void 0};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t0.F,{image:(0,s.jsx)(tJ.e,{id:n.id,name:n.name,w:"100%",h:"100%"}),name:(0,s.jsxs)(s.Fragment,{children:[u," ",(0,s.jsx)(nn,{uniqueTournamentId:n.id,seasonYear:null==h?void 0:h.year})]}),titleLabel:(0,s.jsx)(t7.W,{groundType:n.groundType}),subtitleItems:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(T.so,{align:"center",gap:"sm",children:[(0,s.jsx)(tJ.w,{alpha2:n.category.alpha2,name:n.category.name,categoryId:n.category.id,w:32,h:32}),(0,s.jsx)(ex.EY,{textStyle:"display.medium",children:(0,s.jsx)(P.md,{slug:n.category.slug,name:n.category.name,fieldTranslations:n.category.fieldTranslations,uniqueTournament:n})})]}),r&&(0,s.jsx)(T.az,{position:"relative",children:(0,s.jsx)(t9.s,{seasonId:r,seasons:i,onSeasonChange:l},n.id)})]}),actions:[!!(null==p?void 0:p.editors.length)&&(0,s.jsx)(t1.i,{...y}),(0,s.jsx)(t$.P2,{children:e=>(0,s.jsx)(ex.m_,{content:o.formatMessage({id:d?"remove_from_favourites":"add_to_favourites"}),placement:"bottom",strategy:"hover",disabled:e&&!d,children:(0,s.jsx)(eY.e,{id:n.id,entity:a.bq7.Tournaments,location:q.y.Header,type:q.b.UniqueTournament,isNewButton:!0})})},"follow-button-".concat(n.id))],footer:m&&(0,s.jsx)(t4.G,{start:n.startDateTimestamp,end:n.endDateTimestamp})}),(0,s.jsxs)(t5.K,{id:n.id,name:u,entity:a.bq7.Tournaments,type:q.b.UniqueTournament,children:[(0,s.jsx)(tJ.e,{size:"2xl",mr:"lg",style:{verticalAlign:"top"},id:n.id,name:n.slug}),(0,s.jsx)(ex.EY,{textStyle:"display.medium",color:"primary.default",mr:"lg",children:u})]}),(0,s.jsx)(t6,{isOpen:g,setIsOpen:x,editorData:p})]})}var na=n(69382),ni=n(77812);let nr=ee()(()=>Promise.all([n.e(56591),n.e(14632),n.e(35597),n.e(32935),n.e(73240),n.e(53805)]).then(n.bind(n,53805)),{loadableGenerated:{webpack:()=>[53805]},ssr:!1,loading:()=>(0,s.jsx)(T.az,{h:"[500px]"})});function nl(e){let{uniqueTournament:t,seasonId:n,seasons:a}=e,i=a.find(e=>e.id===n);return n?(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.Standings,children:(0,s.jsx)(V.WC,{variant:"square",roundedBottom:"lg",overflow:"hidden",children:(0,s.jsx)(nr,{uniqueTournamentId:t.id,seasonId:n,selectedSeason:i,hasPerformanceGraphFeature:t.hasPerformanceGraphFeature})})}):(0,s.jsx)(T.az,{h:"[500px]"})}function no(e){var t;let{uniqueTournament:n,seasons:i,info:r,uniqueTournamentWinners:l,seo:o,activeSeasonId:d,setActiveSeasonId:u=K(),hasEvents:c,activeTab:m,setActiveTab:p,hasInitialStandings:g}=e,x=i[0],h=i[1]?i[1].name:"",j=(null==x?void 0:x.id)===d,y=n.category.sport.slug===a.QCR.Tennis,{hasStandingsTab:v,hasKnockoutTab:f,hasStatisticsTab:b,hasPlayerOfTheSeason:w,hasMedia:k,hasDetailsTab:I,isLoadingFlagsData:A,hasTransactionsTab:P}=function(e,t,n){var s,i;let{initialStandings:r}=(0,_.useContext)(Q.O),l=e.category.sport.slug,o=l===a.QCR.Tennis,d=o||!t||!ni.f.includes(l),{data:u}=(0,ew.Ay)(t&&ni.s.includes(l)?a.V3t.seasonTypes(e.id,t,"player"):null),{hasStandingsData:c,hasKnockoutTab:m,hasTopPlayersTab:p,hasTennisTopPlayers:g,hasTeamSeasonTypes:x,hasMedia:h,hasPlayerOfTheSeason:j}=(0,N.A)({hasStandingsData:{route:a.V3t.standings(e.id,t),skipCheck:!t},hasKnockoutTab:{route:a.V3t.cupTrees(e.id,t),skipCheck:!t},hasTopPlayersTab:{route:a.V3t.seasonTypes(e.id,t,o?"team":"player"),skipCheck:!t||!(0,na.w)(l)},hasTennisTopPlayers:{route:a.V3t.topTeams(e.id,t,"mainDraw"),skipCheck:!t||!(0,na.w)(l)},hasTeamSeasonTypes:{route:a.V3t.seasonTypes(e.id,t,"team"),skipCheck:d},hasMedia:{route:a.V3t.media(e.id)},hasPlayerOfTheSeason:{route:a.V3t.playerOfTheSeason(e.id,t),skipCheck:!t}},[t]),{hasTopStatsTab:y}=(0,N.A)({hasTopStatsTab:{route:a.V3t.topPlayersPerGame(e.id,t,"all",(null==u?void 0:u.types[0])||a.Vw_.overall),skipCheck:!t||!ni.s.includes(l)||!(null==u||null==(s=u.types)?void 0:s[0])}},[t,u]),{data:v}=(0,ew.Ay)(d||!x?null:a.V3t.seasonTypes(e.id,t,"team")),{hasTopTeamsTab:f}=(0,N.A)({hasTopTeamsTab:{route:a.V3t.topTeams(e.id,t,(null==v?void 0:v.types[0])||a.Vw_.overall),skipCheck:d||!(null==v?void 0:v.types.length)}},[v,t]),{data:b,isLoading:T}=(0,ew.Ay)(a.V3t.info(e.id,t)),w=null==b?void 0:b.info,k=tR(w,e),C=n&&(!!(null==e||null==(i=e.mostTitlesTeams)?void 0:i.length)||!!(null==e?void 0:e.titleHolder))||B(w,e)||l===a.QCR.Football&&!!k,S=!!(null==r?void 0:r.length)||c,I=y||f||p||g,A=void 0===S||void 0===m||void 0===I||void 0===h||void 0===j||T;return{hasStandingsTab:!!S,hasKnockoutTab:!!m,hasStatisticsTab:!!I,hasDetailsTab:!!C,hasMedia:!!h,hasPlayerOfTheSeason:!!j,isLoadingFlagsData:A,hasTransactionsTab:e.id===a.G6l.NBA&&!!n}}(n,d,j),M=[{tabKey:z.x.Standings,item:"app.standings",isHidden:!v},{tabKey:z.x.Knockout,item:y?"tennis_draw":"knockout",isHidden:!f},{tabKey:z.x.Statistics,item:"statistics",isHidden:!b},{tabKey:z.x.Details,item:"details",isHidden:!I},{tabKey:z.x.Transactions,item:"transactions",isHidden:!P}],q=M.some(e=>!e.isHidden&&e.tabKey===m)?m:null==(t=M.find(e=>!e.isHidden))?void 0:t.tabKey;return(0,s.jsxs)(T.BJ,{gap:"md",children:[(0,s.jsx)(ns,{uniqueTournament:n,seasons:i,seasonId:d,onSeasonChange:u}),(0,s.jsxs)(Z.xA,{gap:"md",children:[(0,s.jsxs)(Z.fv,{flexGrow:1,children:[(0,s.jsx)(e8,{hasEvents:c,hasMedia:k,hasPlayerOfTheSeason:w,activeSeasonId:d,uniqueTournament:n,seasons:i}),(0,s.jsx)(tX,{uniqueTournamentId:n.id}),(0,s.jsx)(S.Aq,{route:C.xW.UniqueTournament})]}),(0,s.jsxs)(Z.fv,{flexGrow:2,children:[(0,s.jsx)(V.Zp,{children:A?(0,s.jsx)(T.az,{h:"[1000px]"}):(0,s.jsx)(T.so,{w:"100%",overflow:"hidden",br:"lg",children:(0,s.jsxs)(X.A,{id:n.id,location:z.C.UniqueTournamentPage,initialTabKey:q,tabs:M,customControls:[q,p],children:[f&&(0,s.jsx)(tU,{uniqueTournament:n,seasonId:d}),(g||v)&&(0,s.jsx)(nl,{uniqueTournament:n,seasonId:d,seasons:i}),b&&(0,s.jsx)(tV,{seasonId:d,uniqueTournament:n}),I&&(0,s.jsx)(tQ,{info:r,isCurrentSeason:j,uniqueTournament:n,seasonId:d,uniqueTournamentWinners:l}),P&&x&&(0,s.jsx)(e3,{uniqueTournamentId:n.id,seasonId:x.id})]})})}),(0,s.jsx)(tx,{info:r,seo:o,details:n,season:x,lastSeason:h})]})]})]})}var nd=n(14831),nu=n(53255),nc=n(95798),nm=n(41080),np=n(77474),ng=n(56653);function nx(e){let{rankings:t,rounds:n}=(0,nc.Q)(e.uniqueTournamentId,e.seasonId);return(null==n?void 0:n.length)?(0,s.jsx)(et.t,{tag:"PowerRankingsCTA",children:(0,s.jsxs)(V.Zp,{children:[(0,s.jsx)(V.Zp.Header,{title:(0,s.jsx)(D.A,{id:"sofascore_power_rankings"}),actionComponent:(0,s.jsx)(np.h,{})}),(0,s.jsx)(ng.i,{}),(0,s.jsx)(nm.a,{rankings:null==t?void 0:t.slice(0,4)}),(0,s.jsx)(V.Zp.Footer,{ctaParams:{messageId:"power_rankings_cta",onClick:e.onClick,icon:eM.X.Right}})]})}):null}function nh(e){let{uniqueTournament:t,seasonId:n,info:i,seo:r,currentSeason:l,lastSeasonName:o,showAbout:d,onPowerRankingsClick:u,uniqueTournamentWinners:c}=e,m=(null==l?void 0:l.id)===n,p=t.category.sport.slug===a.QCR.Football,g=t.category.sport.slug===a.QCR.Tennis,x=(0,eT.b)(t.id,"header"),h=(0,eT.b)(t.id,"banner"),j=(0,eu.I)(t.id,{location:E.XN.LeagueScreen,entity:t});return(0,s.jsxs)(ex.tU.Panel,{tabKey:z.x.Details,children:[x&&(0,s.jsx)(nu.O,{entityId:t.id,branding:x,location:"league_details"}),(0,s.jsxs)(V.BU,{children:[(0,s.jsx)(e0,{uniqueTournamentId:t.id}),(0,s.jsx)(S.iN,{id:S.Rj.MOBILE_ENTITY_TOP}),p&&(0,s.jsx)(eA.D,{uniqueTournamentId:t.id,seasonId:n,showLoader:!!(!m||t.endDateTimestamp&&(null==t?void 0:t.endDateTimestamp)n.e(11946).then(n.bind(n,11946)),{loadableGenerated:{webpack:()=>[11946]}}),nv=ee()(()=>n.e(59007).then(n.bind(n,59007)),{loadableGenerated:{webpack:()=>[59007]},ssr:!1});function nf(e){let{uniqueTournament:t,seasonId:n}=e;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.Matches,children:(0,s.jsx)(et.t,{tag:"UniqueTournamentEventList",children:n?(0,s.jsx)(nv,{uniqueTournamentId:t.id,seasonId:n,isGrouping:!0},"UniqueTournamentEventList"):(0,s.jsx)(ny,{entity:a.wNW.UniqueTournament,id:t.id})})})}let nb=ee()(()=>n.e(32035).then(n.bind(n,32035)),{loadableGenerated:{webpack:()=>[32035]}});function nT(e){let{id:t}=e;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.Media,children:(0,s.jsx)(V.BU,{children:(0,s.jsx)(nb,{uniqueTournamentId:t,hideTitle:!0})})})}let n_=ee()(()=>Promise.resolve().then(n.bind(n,7078)),{loadableGenerated:{webpack:()=>[7078]}});function nw(e){let{id:t,seasonId:n}=e;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.PowerRankings,children:(0,s.jsx)(V.BU,{children:(0,s.jsx)(n_,{uniqueTournamentId:t,seasonId:n})})})}let nk=ee()(()=>Promise.all([n.e(56591),n.e(14632),n.e(35597),n.e(32935),n.e(73240),n.e(53805)]).then(n.bind(n,53805)),{loadableGenerated:{webpack:()=>[53805]}});function nC(e){let{uniqueTournament:t,seasonId:n,seo:a,lastSeasonName:i,info:r,currentSeason:l,selectedSeason:o}=e,d=(0,eT.b)(t.id,"standings");return(0,s.jsxs)(ex.tU.Panel,{tabKey:z.x.Standings,children:[d&&(0,s.jsx)(nu.O,{entityId:t.id,branding:d,bannerText:d.standingsText,location:"league_standings"}),(0,s.jsxs)(V.BU,{children:[(0,s.jsx)(nk,{uniqueTournamentId:t.id,seasonId:n,selectedSeason:o,hasPerformanceGraphFeature:t.hasPerformanceGraphFeature,isNarrowLayout:!0}),(0,s.jsx)(eo.pk,{utIds:[t.id]}),(0,s.jsx)(tx,{info:r,seo:a,details:t,season:l,lastSeason:i})]})]})}var nS=n(3483);let nI=ee()(()=>Promise.all([n.e(14264),n.e(24106)]).then(n.bind(n,69303)),{loadableGenerated:{webpack:()=>[69303]}});function nA(e){let{uniqueTournament:t,seasonId:n}=e,i=(0,_.useContext)(k.Ws)===a.QCR.Tennis;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.TopPlayers,children:i?(0,s.jsx)(nS.default,{uniqueTournamentId:t.id,seasonId:n}):(0,s.jsx)(nI,{uTournamentId:t.id,seasonId:n,gender:t.gender})})}let nP=ee()(()=>n.e(66569).then(n.bind(n,66569)),{loadableGenerated:{webpack:()=>[66569]}});function nM(e){let{uniqueTournament:t,seasonId:n,gender:i=a.YT8.Male}=e;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.TopStats,children:(0,s.jsx)(nP,{uniqueTournamentId:t.id,seasonId:n,gender:i})})}let nq=ee()(()=>Promise.resolve().then(n.bind(n,3483)),{loadableGenerated:{webpack:()=>[3483]}});function nY(e){let{uniqueTournament:t,seasonId:n}=e;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.TopTeams,children:(0,s.jsx)(nq,{uniqueTournamentId:t.id,seasonId:n})})}var nz=n(62042);function nR(e){var t;let{uniqueTournament:n,seasons:i,seasonId:r,onSeasonChange:l}=e,{isMobile:o}=(0,ex.$c)(),d=(0,eZ.hX)(),u=(0,L.N)(n),c=!!(i.length&&r&&r===i[0].id)&&!!(n.startDateTimestamp&&n.startDateTimestamp!==n.endDateTimestamp),m=!o&&!d,p=n.id===a.G6l.WorldCup,{data:g}=(0,ew.Ay)(a.V3t.seasonEditors(n.id,r)),[x,h]=(0,_.useState)(!1),j=(0,_.useMemo)(()=>i.find(e=>e.id===r),[r,i]),y=null==g?void 0:g.editors,v={nickname:(null==g?void 0:g.organizations.length)?null==g?void 0:g.organizations[0].name:(null==y?void 0:y.length)===1?y[0].editorName:void 0,numberOfEditors:null==y?void 0:y.length,eventLocation:(null==y?void 0:y.length)===1?"editor_league":void 0,hasStarted:!0,isInLeagueHeader:!0,isOrganization:!!(null==g?void 0:g.organizations.length),userId:y&&y.length>1||null==y||null==(t=y[0])?void 0:t.id,onClick:y&&y.length>1&&!(null==g?void 0:g.organizations.length)?()=>h(!0):void 0};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(T.az,{bg:"surface.s1",px:{base:"lg",md:"0"},md:{br:"xl",elevation:"3"},position:"relative",children:[(0,s.jsxs)(t0.z,{className:(0,nz.AH)({mdDown:{minH:"8xl"}}),children:[(0,s.jsx)(T.az,{br:"xs",w:{base:"4xl",md:"12xl"},h:{base:"4xl",md:"12xl"},md:{ml:"md",bg:"surface.s1",elevation:"2"},mr:{base:"md",md:"xl"},children:(0,s.jsx)(tJ.e,{id:n.id,name:n.name,width:{base:"4xl",md:"9xl"},height:{base:"4xl",md:"9xl"},my:{base:"0",md:"md"},ml:{base:"0",md:"md"},mr:{base:"xs",md:"md"},style:{verticalAlign:"top"}})}),(0,s.jsxs)(T.az,{flexGrow:"1",mr:{base:"0",md:"lg"},children:[(0,s.jsxs)(T.so,{align:"center",mt:{base:"xs",md:"sm"},wrap:"wrap",minH:"[36px]",w:"100%",justify:"space-between",children:[(0,s.jsxs)(T.az,{children:[(0,s.jsxs)(T.so,{align:"center",children:[(0,s.jsxs)(ex.EY,{m:"0",textStyle:{base:"display.large",md:"display.extraLarge"},color:{base:"neutrals.nLv1",md:"action.primary.default"},children:[u,(0,s.jsx)(nn,{uniqueTournamentId:n.id,seasonYear:null==j?void 0:j.year})]}),(0,s.jsx)(T.az,{hideBelow:"md",display:"inline-block",mx:"sm",verticalAlign:"middle",children:(0,s.jsx)(t7.W,{groundType:n.groundType})}),m&&(0,s.jsx)(eY.e,{id:n.id,entity:a.bq7.Tournaments,location:q.y.Header,type:q.b.UniqueTournament,isOnOverlay:!0})]}),(0,s.jsx)(T.so,{w:"100%",align:"center",justify:"space-between",children:(0,s.jsxs)(T.so,{align:"center",children:[(0,s.jsx)(tJ.w,{alpha2:n.category.alpha2,name:n.category.name,categoryId:n.category.id,w:[16,32],h:[16,32],mr:"sm"}),(0,s.jsxs)(ex.EY,{textStyle:{base:"body.medium",md:"display.medium"},color:{base:"neutrals.nLv1",md:"action.primary.default"},mr:"sm",children:[" ",p?(0,s.jsx)(ex.EY,{textStyle:{base:"body.medium",md:"display.medium"},color:{base:"neutrals.nLv1",md:"action.primary.default"},my:{base:"sm",md:"0"},children:(0,s.jsx)(D.A,{id:"wc.history.title"})}):(0,s.jsx)(P.md,{slug:n.category.slug,name:n.category.name,fieldTranslations:n.category.fieldTranslations,uniqueTournament:n})]}),r&&(0,s.jsx)(T.az,{position:"relative",zIndex:"fixed",children:(0,s.jsx)(t9.s,{seasonId:r,seasons:i,onSeasonChange:l},n.id)})]})})]}),!m&&(0,s.jsx)(eY.e,{id:n.id,entity:a.bq7.Tournaments,location:q.y.Header,type:q.b.UniqueTournament})]}),!m&&(0,s.jsx)(T.az,{hideFrom:"md",mt:"sm",children:(0,s.jsx)(t7.W,{groundType:n.groundType})}),c?(0,s.jsx)(T.az,{hideBelow:"md",children:(0,s.jsx)(t4.G,{start:n.startDateTimestamp,end:n.endDateTimestamp})}):null]}),m&&(0,s.jsxs)(t5.K,{id:n.id,name:u,entity:a.bq7.Tournaments,type:q.b.UniqueTournament,children:[(0,s.jsx)(tJ.e,{size:"2xl",mr:"lg",style:{verticalAlign:"top"},id:n.id,name:n.slug}),(0,s.jsx)(ex.EY,{textStyle:"display.medium",color:"action.primary.default",mr:"lg",children:u})]}),m&&!!(null==g?void 0:g.editors.length)&&(0,s.jsx)(T.az,{mt:"xs",children:(0,s.jsx)(t1.i,{...v})})]}),c&&(0,s.jsx)(T.az,{hideFrom:"md",px:"sm",pb:"xs",children:(0,s.jsx)(t4.G,{start:n.startDateTimestamp,end:n.endDateTimestamp})})]}),!m&&!!(null==g?void 0:g.editors.length)&&(0,s.jsx)(T.az,{bg:"surface.s1",borderTop:"1px solid",borderTopColor:"neutrals.nLv4",px:"sm",pt:"sm",children:(0,s.jsx)(t1.i,{...v})}),(0,s.jsx)(t6,{isOpen:x,setIsOpen:h,editorData:g})]})}let nE=ee()(()=>n.e(69221).then(n.bind(n,69221)),{loadableGenerated:{webpack:()=>[69221]},ssr:!1,loading:()=>(0,s.jsx)(T.az,{h:"[500px]"})});function nF(e){let{uniqueTournamentId:t,seasonId:n}=e;return(0,s.jsx)(ex.tU.Panel,{tabKey:z.x.Transactions,children:(0,s.jsx)(nE,{uniqueTournamentId:t,seasonId:n})})}function nN(e){var t,n,i;let{uniqueTournament:r,seasons:l,activeSeasonId:o,setActiveSeasonId:d=K(),info:u,uniqueTournamentWinners:c,seo:m,activeTab:p,setActiveTab:g,hasStandingsData:x,hasEvents:h}=e,j=r.category.sport.slug,y=j===a.QCR.Tennis,v=l[0],f=l.find(e=>e.id===o),b=l[1]?l[1].name:"",{initialStandings:w}=(0,_.useContext)(Q.O),k=y||!o||!ni.f.includes(j),{data:C}=(0,ew.Ay)(o&&ni.s.includes(j)?a.V3t.seasonTypes(r.id,o,"player"):null),{hasKnockoutTab:I,hasTopPlayersTab:A,hasTeamSeasonTypes:P,hasMediaTab:M,hasPowerRankings:q}=(0,N.A)({hasKnockoutTab:{route:a.V3t.cupTrees(r.id,o),skipCheck:!o},hasTopPlayersTab:{route:a.V3t.seasonTypes(r.id,o,y?"team":"player"),skipCheck:!o||!(0,na.w)(j)},hasTeamSeasonTypes:{route:a.V3t.seasonTypes(r.id,o,"team"),skipCheck:k},hasMediaTab:{route:a.V3t.media(r.id)},hasPowerRankings:{route:a.V3t.powerRankingRounds(r.id,o)}},[o]),{data:Y}=(0,ew.Ay)(k||!P?null:a.V3t.seasonTypes(r.id,o,"team")),{hasTopStatsTab:R}=(0,N.A)({hasTopStatsTab:{route:a.V3t.topPlayersPerGame(r.id,o,"all",(null==C?void 0:C.types[0])||a.Vw_.overall),skipCheck:!o||!ni.s.includes(j)||!(null==C||null==(t=C.types)?void 0:t[0])}},[C,o]),{hasTopTeamsTab:E}=(0,N.A)({hasTopTeamsTab:{route:a.V3t.topTeams(r.id,o,(null==Y?void 0:Y.types[0])||a.Vw_.overall),skipCheck:k||!(null==Y?void 0:Y.types.length)}},[Y,o]),F=!!(null==w?void 0:w.length)||x,H=(null==(n=l[0])?void 0:n.id)===o,D=!H||h||!o,L=r.id===a.G6l.NBA&&H,W=[{tabKey:z.x.Standings,item:"app.standings",isHidden:!F},{tabKey:z.x.Details,item:"details"},{tabKey:z.x.Matches,item:"matches",values:{sport:(0,nd.ap)(j)},isHidden:!D},{tabKey:z.x.Knockout,item:y?"tennis_draw":"knockout",isHidden:!I},{tabKey:z.x.TopPlayers,item:"top_players",values:{gender:null!=(i=r.gender)?i:"M"},isHidden:!A},{tabKey:z.x.TopStats,item:"top_stats",isHidden:!R},{tabKey:z.x.TopTeams,item:"top_teams",isHidden:!E},{tabKey:z.x.Media,item:"media",isHidden:!M},{tabKey:z.x.PowerRankings,item:"Power Rankings",isHidden:!q},{tabKey:z.x.Transactions,item:"transactions",isHidden:!L}];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(nR,{uniqueTournament:r,seasons:l,seasonId:o,onSeasonChange:d}),(0,s.jsxs)(X.A,{id:r.id,location:X.C.UniqueTournamentPage,seasonId:o,initialTabKey:p,customControls:[p,g],tabs:W,children:[F&&(0,s.jsx)(nC,{uniqueTournament:r,seasonId:o,seo:m,lastSeasonName:b,currentSeason:v,selectedSeason:f,info:u}),(0,s.jsx)(nh,{uniqueTournament:r,seasonId:o,currentSeason:v,lastSeasonName:b,info:u,uniqueTournamentWinners:c,seo:m,onPowerRankingsClick:()=>g(z.x.PowerRankings),showAbout:!F}),D&&(0,s.jsx)(nf,{uniqueTournament:r,seasonId:o}),I&&(0,s.jsx)(nj.A,{uniqueTournament:r,seasonId:o,sport:j}),A&&(0,s.jsx)(nA,{uniqueTournament:r,seasonId:o}),R&&(0,s.jsx)(nM,{uniqueTournament:r,seasonId:o,gender:r.gender}),E&&(0,s.jsx)(nY,{uniqueTournament:r,seasonId:o}),M&&(0,s.jsx)(nT,{id:r.id}),q&&(0,s.jsx)(nw,{id:r.id,seasonId:o}),L&&o&&(0,s.jsx)(nF,{uniqueTournamentId:r.id,seasonId:o})]}),(0,s.jsx)(T.az,{mb:"sm",children:(0,s.jsx)(S.iN,{id:S.Rj.MOBILE_ENTITY_BOTTOM})})]})}function nH(e){var t,n,i,r;let{uniqueTournament:l,seasons:o,initialStandings:d,initialHasHomeAway:u,hasEvents:c,hasCupTree:m,info:p,uniqueTournamentWinners:g}=e,x=!!(null==d?void 0:d.length),h=l.category.sport.slug,y=()=>B(p,l)?z.x.Details:x?z.x.Standings:m?z.x.Knockout:z.x.Details,[v,f]=(0,_.useState)(y()),b=(0,_.useMemo)(()=>{var e;return{id:null==(e=o[0])?void 0:e.id,tab:v}},[null==(t=o[0])?void 0:t.id]),[D,L]=(0,H.Ay)({routeKey:"uniqueTournament",params:{sport:h,category:l.category.slug,tournament:l.slug,id:l.id}},b),W=null==D?void 0:D.id,O=o.find(e=>e.id===W),U=e=>L("id",null==e?void 0:e.toString()),{hasStandingsData:K}=(0,N.A)({hasStandingsData:{route:a.V3t.standings(l.id,W),skipCheck:!W}},[W]);(0,_.useEffect)(()=>{void 0!==K&&f(K?z.x.Standings:y())},[K]),(0,_.useEffect)(()=>{if(!o.find(e=>e.id===Number(W))){var e;U(null==(e=o[0])?void 0:e.id)}},[l.id]),(0,_.useEffect)(()=>{o.length>0&&""===window.location.hash&&U(o[0].id)},[]);let V=(0,s.jsx)(T.az,{bg:{mdDown:"surface.s1"},children:(0,s.jsxs)(w.B,{children:[(0,s.jsx)(w.B.Item,{children:(0,s.jsx)(j.di,{translatedParams:{sport:h},children:(0,s.jsx)(F.o,{sportSlug:h})})}),(0,s.jsx)(w.B.Item,{children:(0,s.jsx)(j.Z6,{category:l.category,children:(0,s.jsx)(P.md,{...l.category,uniqueTournament:l})})}),(0,s.jsx)(w.B.Title,{children:(0,s.jsx)(G,{uniqueTournament:l,year:null==(n=o[0])?void 0:n.year})})]})});return(0,s.jsx)(I.YW,{children:(0,s.jsx)(Q.O,{value:{uniqueTournamentId:l.id,uniqueTournamentName:l.name,seasonId:null==O?void 0:O.id,editor:null==O?void 0:O.editor,initialStandings:W===(null==(i=o[0])?void 0:i.id)?d:void 0,initialHasHomeAway:W===(null==(r=o[0])?void 0:r.id)?u:void 0},children:(0,s.jsx)(M.MC,{value:{isShort:a.HwS.includes(h),location:q.y.MatchesSection},children:(0,s.jsxs)(k.Ws,{value:h,children:[(0,s.jsxs)(A.$B,{children:[V,(0,s.jsx)(nN,{...e,activeSeasonId:W?Number(W):void 0,setActiveSeasonId:U,activeTab:(null==D?void 0:D.tab)||v,setActiveTab:e=>L("tab",e),hasStandingsData:K,hasEvents:c,uniqueTournamentWinners:g})]}),(0,s.jsx)(A.h6,{children:(0,s.jsxs)(S.JR,{route:C.xW.UniqueTournament,children:[V,(0,s.jsx)(no,{...e,activeSeasonId:W?Number(W):void 0,setActiveSeasonId:U,hasEvents:c,hasInitialStandings:x,activeTab:(null==D?void 0:D.tab)||v,uniqueTournamentWinners:g,setActiveTab:e=>L("tab",e)})]})}),(0,s.jsx)(Y.A,{entity:a.bq7.MutedTournaments,entityGroup:"tournament",id:l.id}),(0,s.jsx)(R.N,{page:{location:E.XN.LeagueScreen,entity:l}})]})})})})}var nD=n(61306),nL=n(18153),nW=n(45906);let nO=[a.QCR.Football,a.QCR.Tennis],nG={2122:{competitionName:"Champions League",gender:a.YT8.Male,type:"none"},9500:{competitionName:"Champions League",gender:a.YT8.Female,type:"none"},11457:{competitionName:"European Championship",gender:a.YT8.Male,type:"D"},11458:{competitionName:"European Championship",gender:a.YT8.Female,type:"D"},11459:{competitionName:"European Championship",gender:a.YT8.Mixed,type:"D"},11455:{competitionName:"European Championship",gender:a.YT8.Male,type:"S"},11456:{competitionName:"European Championship",gender:a.YT8.Female,type:"S"},9550:{competitionName:"ETTU Cup",gender:a.YT8.Male,type:"none"},9534:{competitionName:"ETTU Cup",gender:a.YT8.Female,type:"none"},564:{competitionName:"Olympic games",gender:a.YT8.Male,type:"S"},565:{competitionName:"Olympic games",gender:a.YT8.Female,type:"S"},1121:{competitionName:"Olympic games",gender:a.YT8.Male,type:"T"},1123:{competitionName:"Olympic games",gender:a.YT8.Female,type:"T"},11579:{competitionName:"World Championships",gender:a.YT8.Male,type:"S"},11586:{competitionName:"World Championships",gender:a.YT8.Female,type:"S"},11587:{competitionName:"World Championships",gender:a.YT8.Mixed,type:"D"},11580:{competitionName:"World Championships",gender:a.YT8.Male,type:"D"},11585:{competitionName:"World Championships",gender:a.YT8.Female,type:"D"},1966:{competitionName:"World Cup",gender:a.YT8.Male,type:"none"},1964:{competitionName:"World Cup",gender:a.YT8.Female,type:"none"},11604:{competitionName:"World Junior Championship",gender:void 0,type:"none"},10698:{competitionName:"World Junior Championship",gender:void 0,type:"none"},10697:{competitionName:"World Junior Championship",gender:void 0,type:"none"},10699:{competitionName:"World Junior Championship",gender:void 0,type:"none"},10700:{competitionName:"World Junior Championship",gender:void 0,type:"none"},15004:{competitionName:"Setka Cup",gender:a.YT8.Male,type:"none"},15007:{competitionName:"Setka Cup",gender:a.YT8.Female,type:"none"},15005:{competitionName:"TT Cup",gender:a.YT8.Male,type:"none"},15009:{competitionName:"TT Cup",gender:a.YT8.Female,type:"none"},15001:{competitionName:"Ukraine Win Cup",gender:a.YT8.Male,type:"none"},15068:{competitionName:"Ukraine Win Cup",gender:a.YT8.Female,type:"none"}},nQ=[a.QCR.Football,a.QCR.Basketball,a.QCR.Cricket,a.QCR.Darts,a.QCR.IceHockey,a.QCR.Handball,a.QCR.Volleyball,a.QCR.Rugby,a.QCR.AmericanFootball,a.QCR.Baseball];function nB(e){var t;if("error"in e)return(0,s.jsx)(nW.default,{statusCode:404});let{uniqueTournament:n,seasons:i,seo:c,info:m,uniqueTournamentWinners:p,params:g,meta:h,seoContent:j,locale:y,standings:v,hasHomeAwayStandings:b,hasEvents:T,hasCupTree:_}=e;if(!n)return null;let w=n.category.sport.slug,k=n.id===a.G6l.Euro,C=n.id===a.G6l.WorldCup,S=k&&i.length?"Euro ".concat(i[0].year):n.name,I=k&&i.length?"European Championship ".concat(i[0].year):n.name,A=nG[n.id]||void 0,P=nO.includes(w)||!!j||A||f(n.id),M=(null==(t=n.category.alpha2)?void 0:t.toLowerCase())||"",q=!h&&(i.every(e=>e.editor)?!(0,l.N)(M,y):!P||(0,o.v)(w,y));return(0,s.jsxs)(u.x,{value:{meta:h,seoContent:j},children:[(0,s.jsxs)(r(),{children:[q&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,s.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(d.z.getTranslatedCanonicalRoute(y,"uniqueTournament",g).route)}),(0,s.jsx)("link",{rel:"alternate",href:"android-app://com.sofascore.results/https/www.sofascore.com/league/".concat(g.id)})]}),(0,s.jsx)(x,{uniqueTournament:n}),(0,s.jsx)(u.A,{metaKey:A?"standings.tabletennis":"standings",titleKey:C?"ut.worldCup":k?"ut.euro":void 0,descriptionKey:C?"ut.worldCup":k?"ut.euro":void 0,values:{item:S,fullItem:I,...A||{}}}),(0,s.jsx)(nH,{uniqueTournament:n,seasons:i,seo:c,info:m,uniqueTournamentWinners:p,initialStandings:v,initialHasHomeAway:b,hasEvents:T,hasCupTree:_})]})}nB.getInitialProps=nD.A.getInitialPageProps(e=>async t=>{let{query:n,req:s,res:i,...r}=t,l=s?s._originalUrl:r.asPath,o=d.z.getCurrentLocale(l),u=s&&s.params?s.params:n,c=Number(u.id),m=d.z.getSportKey(u.sport,o);try{let t,n,s,r,l,[p,g,x,h,j,y]=await Promise.allSettled([a.jFR.fetchUniqueTournamentDetails(c),a.jFR.fetchUniqueTournamentSeasons(c),a.jFR.fetchUniqueTournamentSeo(c),a.jFR.fetchUniqueTournamentWinners(c),a.sdF.getEntityMeta("uniquetournament",c,o),nQ.includes(m)?a.sdF.getSeoContent(a.wNW.UniqueTournament,c,o):Promise.reject()]);if("rejected"===p.status)throw Error("Unique tournament does not exist");let v=p.value.uniqueTournament,f="fulfilled"===g.status?g.value.seasons:[];i&&v.category.sport.slug===a.QCR.MMA&&(i.writeHead(301,{Location:d.z.getTranslatedRoute(o,"mma.organisation",{organisationId:v.id,slug:v.slug,sport:v.category.sport.slug}).route}),i.end()),i&&(v.slug!==u.tournament||v.category.slug!==u.category)&&(i.writeHead(301,{Location:d.z.getTranslatedRoute(o,"uniqueTournament",{...u,category:v.category.slug,tournament:v.slug}).route}),i.end());let b=f.length?f[0].id:void 0;if(b){let[e,i,o,d,u,m]=await Promise.allSettled([a.jFR.fetchUniqueTournamentInfo(c,b),a.jFR.fetchStandings(c,b),(0,a.m_X)(a.V3t.standings(c,b,a.lpv.Home)),(0,a.m_X)(a.V3t.events(c,b,!0)),(0,a.m_X)(a.V3t.events(c,b)),(0,a.m_X)(a.V3t.cupTrees(c,b))]);t="fulfilled"===e.status?e.value.info:void 0,n="fulfilled"===i.status?i.value.standings:void 0,s="fulfilled"===o.status&&o.value,r="fulfilled"===d.status&&"fulfilled"===u.status?d.value||u.value:void 0,l="fulfilled"===m.status}let T="fulfilled"===x.status?x.value.meta:void 0,_="fulfilled"===j.status?j.value.entityMeta:void 0,w="fulfilled"===y.status?y.value.content:void 0,k="fulfilled"===h.status?h.value.winners:void 0;return e.dispatch((0,nL.Vy)(v.category.sport.slug)),{uniqueTournament:v,seasons:f,seo:T,info:t,uniqueTournamentWinners:k,params:u,meta:_,seoContent:w,locale:o,standings:n,hasHomeAwayStandings:s,hasEvents:r,hasCupTree:l}}catch(e){return i&&(i.statusCode=404),{error:e}}})},56653:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var s=n(6029),a=n(51569),i=n(20325),r=n(90248);let l=()=>(0,s.jsxs)(i.so,{px:"sm",mt:"sm",h:"xl",children:[(0,s.jsx)(a.EY,{minW:"xl",textAlign:"center",textStyle:"display.small",color:"neutrals.nLv3",children:"#"}),(0,s.jsx)(i.az,{flexGrow:1,flexShrink:1,ml:"lg",children:(0,s.jsx)(a.EY,{textStyle:"table.medium",color:"neutrals.nLv3",children:(0,s.jsx)(r.A,{id:"team"})})}),(0,s.jsx)(a.EY,{textStyle:"table.medium",color:"neutrals.nLv3",textTransform:"uppercase",children:(0,s.jsx)(r.A,{id:"Pts"})})]})},63435:(e,t,n)=>{"use strict";n.d(t,{A:()=>m,b:()=>c});var s=n(6029),a=n(51569),i=n(20325),r=n(55729),l=n(90248),o=n(50677),d=n(91113),u=n(64178);function c(e,t,n,s,a){let i=a?(0,d.OX)(o,t,s):t,r=e.formatMessage({id:"".concat(i)});if(n){let t=e.formatMessage({id:"per_match"}).toLocaleLowerCase();r=r.concat(" ").concat(t)}return r}function m(e){let{items:t,sport:n}=e,[o,d]=(0,r.useState)(0),c=n?(0,u.g)(n):null,m=t.filter(e=>!c||c.includes(e.value)).sort((e,t)=>e.label.localeCompare(t.label));return(0,r.useEffect)(()=>{window.scrollTo({top:o,behavior:"smooth"})},[o]),(0,s.jsx)(i.az,{p:"sm",children:(0,s.jsx)(a.ms,{label:"Quick find statistic",items:m,renderItem:(e,t)=>t?(0,s.jsx)(l.A,{id:"quick_find"}):(null==e?void 0:e.label)||null,onSelectedItemChange:e=>{e.selectedItem&&(e=>{var t;let n=document.getElementById(null==(t=e.value)?void 0:t.toLowerCase());if(n){let e=document.body.getBoundingClientRect().top,t=n.getBoundingClientRect().top-e-105;o>t&&(t-=96),d(t)}})(e.selectedItem)},forceMenuBelow:!0})})}},64178:(e,t,n)=>{"use strict";n.d(t,{f:()=>i,g:()=>a});var s=n(46787);function a(e){return e===s.QCR.IceHockey?["powerPlayPercentage","penaltyKillPercentage","goals","goalsAgainst","shots","shotsAgainst","hits","blocks","faceOffPercentage","penaltyMinutes"]:null}function i(e){return e===s.QCR.IceHockey?["goals","goalsAgainst","shots","shotsAgainst","hits","blocks","penaltyMinutes"]:null}},64976:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var s=n(46787);let a=[s.Vw_.overall,s.Vw_.regularSeason,s.Vw_.playoffs];function i(e){if(!e)return[];let t=e.filter(e=>a.includes(e));return t.length>1||1===t.length&&t[0]!==s.Vw_.overall?t:[]}},68318:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var s=n(6029),a=n(51569),i=n(20325),r=n(13731),l=n.n(r),o=n(59018),d=n.n(o);function u(e){let{onSeasonChange:t,seasons:n,seasonId:r,alignRight:o}=e,u=l()(n,"year"),c=d()(n.map(e=>e.year)),m=n.find(e=>e.id===r)||n[0],p=m&&u[m.year],g=(null==p?void 0:p.length)>1;return(0,s.jsxs)(i.so,{wrap:"wrap",flex:{base:"[1 1 100%]",md:"auto"},mt:{base:"0",md:"sm",lg:"xs"},zIndex:"dropdown",children:[(0,s.jsx)(a.ms,{label:"Select season in unique tournament header",mr:"sm",items:c,selectedItem:(null==m?void 0:m.year)||c[0],onSelectedItemChange:e=>{let{selectedItem:n}=e;if(n&&u[n]){let e=u[n];e.length&&t(e[0].id)}},alignRight:o}),g&&(0,s.jsx)(a.ms,{label:"Select season in unique tournament header",items:p,selectedItem:m,onSelectedItemChange:e=>{let{selectedItem:n}=e;n&&t(n.id)},renderItem:(e,t)=>{if(e){let n=(null==e?void 0:e.name)||"";return(0,s.jsx)(a.EY,{textStyle:"body.small",color:"[inherit]",maxW:t?"10xl":void 0,truncate:!0,children:n.replace(m.year,"")})}return""},alignRight:!0},m.year)]})}},77015:(e,t,n)=>{"use strict";n.d(t,{t:()=>a.t,w:()=>s.w});var s=n(53192),a=n(91407)},77285:(e,t,n)=>{"use strict";n.d(t,{I:()=>o,k:()=>d});var s=n(46787),a=n(55729),i=n(947),r=n(97389),l=n(8900);let o="-playoffs";function d(e,t){var n;let[d,u]=(0,a.useState)({label:"",value:""}),[c,m]=(0,a.useState)(),p=(0,i.A)(),g=e.map(e=>((e,t,n)=>{let s=t.split(o),a=s[0],i=s.length>1;return{label:(0,l.y)(e,a,n,i),value:t}})(p,e,t)).filter(e=>{var n;return n=e.value,t!==s.QCR.Rugby||r.v8.includes(n)});return(0,a.useEffect)(()=>{var e,t;if((null==(e=g[0])?void 0:e.value)!==(null==c?void 0:c.value)||!d.value&&g.length&&g[0]){let e=g.find(e=>"rating"===e.value);u(null!=(t=null!=e?e:g[0])?t:{label:"",value:""}),m(null!=e?e:g[0])}},[g.length,null==(n=g[0])?void 0:n.value]),{selectedStat:d,setSelectedStat:u,statItems:g}}},77474:(e,t,n)=>{"use strict";n.d(t,{h:()=>d});var s=n(6029),a=n(51569),i=n(55729),r=n(90248),l=n(52466),o=n(82536);let d=()=>{let[e,t]=(0,i.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{onClick:()=>t(!0),children:(0,s.jsx)(l.G_L,{color:"neutrals.nLv1"})}),(0,s.jsx)(o.A,{isOpen:e,setIsOpen:t,header:"sofascore_power_rankings",children:(0,s.jsx)(a.EY,{display:"block",maxW:{md:"[312px]"},px:"lg",textStyle:"body.mediumParagraph",children:(0,s.jsx)(r.A,{id:"power_rankings_description"})})})]})}},77812:(e,t,n)=>{"use strict";n.d(t,{f:()=>i,s:()=>a});var s=n(46787);let a=[s.QCR.Football,s.QCR.Handball,s.QCR.Basketball,s.QCR.IceHockey,s.QCR.Volleyball],i=[s.QCR.Football,s.QCR.Handball,s.QCR.Basketball,s.QCR.IceHockey,s.QCR.Tennis,s.QCR.Volleyball,s.QCR.Rugby]},88165:e=>{e.exports=function(e,t,n){var s=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(a);++s{var s=n(88165),a=n(48877),i=n(98888),r=Math.ceil,l=Math.max;e.exports=function(e,t,n){t=(n?a(e,t,n):void 0===t)?1:l(i(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var d=0,u=0,c=Array(r(o/t));d{"use strict";n.d(t,{WG:()=>u,YL:()=>m,_z:()=>c,lE:()=>i,o_:()=>r});var s=n(46787);let a={EN:"GB",SX:"GB",WA:"GB",NX:"GB"},i=e=>e&&(a[e]||e),r=e=>{if(e)return e===s.YT8.Male?"Male":e===s.YT8.Female?"Female":void 0},l={en:{35:"https://en.wikipedia.org/wiki/Manchester_United_F.C.",38:"https://en.wikipedia.org/wiki/Chelsea_F.C.",1644:"https://en.wikipedia.org/wiki/Paris_Saint-Germain_F.C.",2351:"https://en.wikipedia.org/wiki/Rangers_F.C.",2687:"https://en.wikipedia.org/wiki/Juventus_F.C.",2817:"https://en.wikipedia.org/wiki/FC_Barcelona"},pt:{1963:"https://pt.wikipedia.org/wiki/Sociedade_Esportiva_Palmeiras",1966:"https://pt.wikipedia.org/wiki/Sport_Club_Internacional",5926:"https://pt.wikipedia.org/wiki/Gr%C3%AAmio_Foot-Ball_Porto_Alegrense",5981:"https://pt.wikipedia.org/wiki/Clube_de_Regatas_do_Flamengo"}},o={en:{7:"https://en.wikipedia.org/wiki/UEFA_Champions_League",8:"https://en.wikipedia.org/wiki/La_Liga",17:"https://en.wikipedia.org/wiki/Premier_League",19:"https://en.wikipedia.org/wiki/FA_Cup",23:"https://en.wikipedia.org/wiki/Serie_A",34:"https://en.wikipedia.org/wiki/Ligue_1",36:"https://en.wikipedia.org/wiki/Scottish_Premiership",328:"https://en.wikipedia.org/wiki/Coppa_Italia",329:"https://en.wikipedia.org/wiki/Copa_del_Rey",332:"https://en.wikipedia.org/wiki/Scottish_League_Cup",335:"https://en.wikipedia.org/wiki/Coupe_de_France",347:"https://en.wikipedia.org/wiki/Scottish_Cup"},pt:{325:"https://pt.wikipedia.org/wiki/Campeonato_Brasileiro_de_Futebol",373:"https://pt.wikipedia.org/wiki/Copa_do_Brasil_de_Futebol",384:"https://pt.wikipedia.org/wiki/Copa_Libertadores_da_Am%C3%A9rica"}},d={pt:{358554:"https://pt.wikipedia.org/wiki/Gabriel_Barbosa",32891:"https://pt.wikipedia.org/wiki/Mauricio_Isla",840219:"https://pt.wikipedia.org/wiki/Pedro_Guilherme_Abreu_dos_Santos",795291:"https://pt.wikipedia.org/wiki/Bruno_Henrique_Pinto",822526:"https://en.wikipedia.org/wiki/Gabriel_Batista",950454:"https://pt.wikipedia.org/wiki/Hugo_de_Souza_Nogueira",804703:"https://pt.wikipedia.org/wiki/Bruno_Viana_Willemen_da_Silva",333587:"https://pt.wikipedia.org/wiki/Giorgian_De_Arrascaeta",242213:"https://pt.wikipedia.org/wiki/Willian_Ar%C3%A3o"}},u=(e,t)=>{var n;return null==(n=l[t])?void 0:n[e]},c=(e,t)=>{var n;return null==(n=o[t])?void 0:n[e]},m=(e,t)=>{var n;return null==(n=d[t])?void 0:n[e]}},93785:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(6029),a=n(51569),i=n(55729),r=n(90248),l=n(18970),o=n(64178),d=n(91113);let u=JSON.parse('{"basketball":{"fastbreakPoints":"basketball_fast_break_points","offensiveRating":"basketball_offensive_rating","defensiveRating":"basketball_defensive_rating","possession":"basketball_possession","netRating":"basketball_net_rating","pace":"basketball_pace","effectiveFieldGoalPercentage":"basketball_effective_field_goal_pct","trueShootingPercentage":"basketball_true_shooting_pct"},"tennis":{"firstServePercentage":"tennis_first_serve","firstServePointsWonPercentage":"tennis_first_serve_points_won","secondServePercentage":"tennis_second_serve","secondServePointsWonPercentage":"tennis_second_serve_points","avgAces":"tennis_average_aces_per_match","avgDoubleFaults":"tennis_average_double_faults_per_match","breakPointsSavedPercentage":"break_points_saved","breakPointsSavedConvertedPercentage":"break_points_converted","tiebreakWinPercentage":"tennis_tiebreaks_won"},"volleyball":{"pointsTotal":"volleyball_points","aces":"volleyball_aces","serveEfficiency":"volleyball_serve_efficiency_percentage","blockPoints":"volleyball_block_points","attackPoints":"volleyball_attack_points","attacksEfficiency":"volleyball_attack_efficiency_percentage","attackErrors":"volleyball_attack_errors","serveErrors":"volleyball_serve_errors","receptionErrors":"volleyball_reception_errors","attacksBlocked":"volleyball_attacks_blocked"},"rugby":{"points":"rugby_points","tries":"rugby_tries","penaltyGoals":"rugby_penalty_goals","conversions":"rugby_conversions","dropGoals":"rugby_drop_goals","passesSuccessful":"rugby_passes_made_per_game","offloads":"rugby_offloads","carries":"rugby_carries_per_game","cleanBreaks":"rugby_clean_breaks_per_game","defendersBeaten":"rugby_defenders_beaten_per_game","metresMade":"rugby_metres_gained_per_game","handlingError":"rugby_handling_errors_per_game","carriesCrossedGainLine":"rugby_carries_crossed_gained_line_per_game","carriesNotMadeGainLine":"rugby_carries_not_made_gain_line_per_game","kickMetres":"rugby_kick_metres_per_game","kicksFromHand":"rugby_kicks_from_hand","kickFromHand":"rugby_kicks_from_hand_per_game","postContactMetres":"rugby_post_contact_metres_per_game","tryAssist":"rugby_try_assists","tackles":"rugby_tackles_made_per_game","dominantTackles":"rugby_dominant_tackles_per_game","penDefs":"rugby_defensive_penalties_conceded","penOffs":"rugby_offensive_penalties_conceded","lineoutsWon":"rugby_lineouts_won","lineoutWonSteal":"rugby_lineout_steals","ruckArrival":"rugby_ruck_arrivals_per_game","ruckArrivalAttack":"rugby_attacking_ruck_arrivals_per_game","ruckArrivalDefence":"rugby_defensive_ruck_arrivals_per_game","yellowCards":"rugby_yellow_cards","redCards":"rugby_red_cards","penaltyTries":"rugby_penalty_tries","scrumsWon":"rugby_scrums_won","rucksWon":"rugby_rucks_won_per_game","ruckSpeed03":"rugby_rucks_0_3_sec_per_game","ruckSpeed36":"rugby_rucks_3_6_sec_per_game","ruckSpeed6Plus":"rugby_rucks_over_6_sec_per_game","penaltyGoalsConceded":"rugby_penalty_conceded"},"avgRating":"average_sofascore_rating","goalsScored":"football_goals_scored","goalsConceded":"football_goals_conceded","bigChances":"football_big_chances","bigChancesMissed":"football_big_chances_missed","hitWoodwork":"football_hit_woodwork","yellowCards":"yellow_cards","redCards":"red_cards","averageBallPossession":"football_ball_possession","accuratePasses":"football_accurate_passes","shots":"football_shots","shotsOnTarget":"football_shots_on_goal","tackles":"football_tackles","interceptions":"football_interceptions","clearances":"football_clearances","fouls":"football_fouls","penaltyGoals":"football_penalty_goals","assists":"football_assists","cleanSheets":"football_clean_sheets","kilometersCovered":"football_running_distance_covered_per_match","numberOfSprints":"football_running_number_of_sprints_per_match","successfulDribbles":"football_successful_dribbles"}');function c(e){let{id:t}=e,n=(0,i.useContext)(l.Ws),c=n?(0,o.f)(n):null;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.A,{id:(0,d.OX)(u,t,n)}),(null==c?void 0:c.includes(t))&&(0,s.jsxs)(a.EY,{textStyle:"[inherit]",textTransform:"lowercase",children:[" ",(0,s.jsx)(r.A,{id:"per_match"})]})]})}},95798:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var s=n(46787),a=n(45860);function i(e,t,n){var i,r;let{data:l}=(0,a.Ay)(s.V3t.powerRankingRounds(e,t)),o=n||(null==l||null==(r=l.powerRankingRounds)||null==(i=r[0])?void 0:i.id),{data:d}=(0,a.Ay)(o?s.V3t.powerRankings(e,t,o):null);return{rankings:null==d?void 0:d.powerRankings,rounds:null==l?void 0:l.powerRankingRounds}}},97389:(e,t,n)=>{"use strict";n.d(t,{KH:()=>r,kh:()=>l,v8:()=>o,z$:()=>i});var s=n(46787),a=n(30566);let i=5,r=(e,t,n)=>{let i=t===s.G6l.NBA&&n===s.Vw_.regularSeason?70:50;return[{id:a.Q.MinimalAppearances,name:"".concat(i,"%"),description:e.formatMessage({id:"at_least_percent_appearances"},{numberPercent:i})},{id:a.Q.AllPlayers,name:"All",description:e.formatMessage({id:"all_players"})}]},l=[s.QCR.Volleyball,s.QCR.Rugby],o=["points","tries","penaltyGoals","dropGoals","conversions","tackles","dominantTackles","carries","cleanBreaks","offloads","yellowCards","redCards","passesSuccessful","defendersBeaten","metresMade","handlingError","carriesCrossedGainLine","carriesNotMadeGainLine","kicksFromHand","postContactMetres","penDefs","penOffs","lineoutsWon","ruckArrival","ruckArrivalAttack","ruckArrivalDefence"]},98076:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var s=n(46787),a=n(55729),i=n(45860),r=n(64976);let l=function(e,t,n,l,o){let d=e&&t&&l?s.V3t.seasonTypes(e,t,l):null,{data:u,error:c}=(0,i.Ay)(d),m=(0,r.o)(null==u?void 0:u.types),[p,g]=(0,a.useState)(o||m[0]);return(0,a.useEffect)(()=>{!p&&m.length&&g(m[0])},[null==m?void 0:m.length,n]),(0,a.useEffect)(()=>{o&&g(o)},[o]),{types:m,currentType:m.length?p:void 0,setCurrentType:g,isError:!!c||!d,isLoading:!!d&&!u&&!c}}},98423:(e,t,n)=>{"use strict";n.d(t,{e:()=>a.e,p:()=>s.p});var s=n(91603),a=n(33480)},98888:(e,t,n)=>{var s=n(11061);e.exports=function(e){var t=s(e),n=t%1;return t==t?n?t-n:t:0}}},e=>{e.O(0,[14092,28446,33854,23210,66430,56587,61392,31702,36678,54246,24649,93785,97672,54820,3074,79002,15361,10533,37978,23466,54946,68349,27455,32830,83245,90636,46593,38792],()=>e(e.s=28167)),_N_E=e.O()}]);