!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]="675c3f10-9201-4bf8-8621-66055e3dd9bf",e._sentryDebugIdIdentifier="sentry-dbid-675c3f10-9201-4bf8-8621-66055e3dd9bf")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[77380,86640],{173:(e,t,n)=>{"use strict";n.d(t,{z:()=>x,K:()=>m});var r=n(6029),s=n(76356),i=n(55729),o=n(494),l=n(18970),a=n(79375),d=n(10174);let c=e=>{let{}=e;return(0,r.jsx)(d.EY,{display:"block",px:"lg",py:"sm",textStyle:"body.small",color:"neutrals.nLv3",textAlign:"center",children:"Juego Responsable - BAP: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-444-4000 BAC: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-666-6006"})};var u=n(50526),h=n(37455),g=n(72753);let p=e=>{let{provider:t}=e;return(0,r.jsx)(s.az,{position:"relative",px:"lg",py:"sm",children:(0,r.jsx)(a.A,{provider:t})})},x=e=>{let{showTailingRegulation:t,provider:n}=e,i=(0,o.d4)(g.LQ);return(0,o.d4)(h.BF)?null:"GR"===i&&t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.so,{justify:"center",children:(0,r.jsx)(u.A,{})}),(0,r.jsx)(p,{provider:n})]}):"AR"===i?(0,r.jsxs)(s.BJ,{gap:"sm",children:[(0,r.jsx)(p,{provider:n}),(0,r.jsx)(c,{})]}):(0,r.jsx)(p,{provider:n})},m=e=>{let{showTailingRegulation:t,provider:n}=e,{event:s}=(0,i.useContext)(l.y$),a=(0,o.d4)((0,h.Ul)(s)),d=(0,o.d4)((0,h.bS)(s)),c=(0,o.d4)(h.BF);return a||d||c?(0,r.jsx)(x,{showTailingRegulation:t,provider:n}):null}},831:(e,t,n)=>{var r=n(68988),s=n(22180);e.exports=function(e,t){return e&&e.length?s(e,r(t,2)):[]}},5439:(e,t,n)=>{"use strict";n.d(t,{w:()=>x});var r=n(6029),s=n(8329),i=n(46787),o=n(76356),l=n(90248),a=n(74664);let d={[i.QCR.Football]:[{categorySlug:"fifa"},{categorySlug:"uefa"}],[i.QCR.Tennis]:[{categorySlug:"atp",categoryId:3},{categorySlug:"wta",categoryId:6},{categorySlug:"utr-men",categoryId:1843},{categorySlug:"utr-women",categoryId:1844}],[i.QCR.Rugby]:[{categorySlug:"rugby-union",categoryId:82}]};var c=n(90438),u=n(64006),h=n(33595),g=n(6057);let p=e=>{let{sport:t,categorySlug:n,categoryId:i}=e;return(0,r.jsx)(u.N_,{routeKey:"rankings",params:{sport:t,category:n},children:(0,r.jsx)(g.O,{ctaText:(0,r.jsx)(r.Fragment,{children:n.includes("utr")?(0,r.jsx)(l.A,{id:(0,h.Qu)(n)}):(0,r.jsx)(l.A,{id:"rankings.category",values:{category:(0,h.Qu)(n)}})}),children:(0,r.jsx)(s.w,{rankingSlug:"".concat(n,"-big"),name:n.replace("-","_"),categoryId:i,size:48})})})};function x(){let e=(0,a.o)();if(!c.sf.includes(e))return null;let t=d[e];return(0,r.jsx)(o.xA,{gridTemplateColumns:e===i.QCR.Rugby?"1fr":"1fr 1fr",gap:"md",children:t.map(t=>(0,r.jsx)(p,{sport:e,categorySlug:t.categorySlug,categoryId:t.categoryId},t.categorySlug))})}},6057:(e,t,n)=>{"use strict";n.d(t,{O:()=>d});var r=n(6029),s=n(10174),i=n(76356),o=n(90248),l=n(46222),a=n(52466);function d(e){let{ctaTextId:t,ctaText:n,children:d}=e;return t||n?(0,r.jsx)(l.Zp,{children:(0,r.jsxs)(i.so,{justify:"space-between",align:"center",px:"lg",py:"sm",br:"lg",_hover:{bg:"surface.s2"},children:[d,(0,r.jsxs)(i.so,{align:"center",gap:"xs",children:[(0,r.jsx)(s.EY,{textStyle:"display.small",color:"primary.default",children:t?(0,r.jsx)(o.A,{id:t}):n}),(0,r.jsx)(a.CCT,{fill:"primary.default"})]})]})}):null}},13731:(e,t,n)=>{var r=n(53325),s=n(25725),i=Object.prototype.hasOwnProperty;e.exports=s(function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])})},15538:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});var r=function(e){return e[e.SpecificRatingPlayer=0]="SpecificRatingPlayer",e[e.AverageRatingTeam=1]="AverageRatingTeam",e[e.AverageRating=2]="AverageRating",e[e.AverageRatingTeamLineups=3]="AverageRatingTeamLineups",e[e.AverageRatingPlayer=4]="AverageRatingPlayer",e}({})},17152:(e,t,n)=>{"use strict";n.d(t,{D:()=>R});var r=n(6029),s=n(87827),i=n(46787),o=n(10174),l=n(62042),a=n(76356),d=n(55729),c=n(947),u=n(90248),h=n(52466),g=n(82536),p=n(31830),x=n(18970),m=n(15538),v=n(19991),f=n(94565),y=n(28446),j=n(41735);let b=(0,j.default)(f.az).withConfig({componentId:"sc-12120f08-0"})(["animation:"," 660ms ease-in-out 1;animation-delay:330ms;animation-fill-mode:forwards;"],e=>{let t;return t=e.ratingPosition,(0,j.keyframes)(["from{left:0;}to{left:",";}"],t)}),C=["3.0","6.0","6.5","7.0","8.0","9.0"],_=(0,y.A)().domain([3,6,6.5,7,8,9,10]).range([0,16.66666,33.33333,50,66.66666,83.33333,100]);function A(e){let{rating:t,format:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(f.so,{id:"#container",position:"relative",mx:"sm",mb:"xs",children:[C.map((e,t)=>(0,r.jsx)(f.az,{flex:"1 1 1px",br:0===t?"xs 0 0 xs":5===t?"0 xs xs 0":void 0,bg:(0,v.Et)(e),h:"16"},e)),t&&(0,r.jsx)(b,{position:"absolute",top:"-2",ratingPosition:_(+t)+"%",w:"2",h:"20",bg:"neutral.variant"})]}),(0,r.jsx)(f.so,{justify:"space-between",children:[...C,"10"].map(e=>(0,r.jsxs)(f.EY,{color:(0,v.Et)(e),font:"tab.secondary",children:[e,"sideBox"===n&&"10"!==e?"0":""]},e))})]})}var w=n(96688);let T=(0,l.AH)({"& > div > div":{zoom:2.5},"& span":{zoom:2.5}});function R(e){let{type:t,rating:n=10,renderImage:l,children:v}=e,f=(0,c.A)(),[y,j]=(0,d.useState)(!1),{isDesktop:b}=(0,o.$c)(),C=(0,d.useContext)(x.Ws)===i.QCR.Football,_=(0,p.A)(),R=(0,w.y)(_),k="",S="box",L="sofascore_rating",E="";switch(t){case m.J.SpecificRatingPlayer:k="rating_general_text",E=[f.formatMessage({id:"rating_top_stats_general"}),f.formatMessage({id:"rating_top_stats_specific"})].join(" ");break;case m.J.AverageRatingTeam:k="average_team_rating_text",S="sideBox",E=[f.formatMessage({id:"rating_top_teams_general"}),f.formatMessage({id:"rating_top_teams_specific"})].join(" ");break;case m.J.AverageRating:k="average_team_rating_match",S="sideBox",L="average_sofascore_rating";break;case m.J.AverageRatingTeamLineups:k="average_team_rating_text",S="sideBox";break;case m.J.AverageRatingPlayer:k="average_player_rating_text",S="sideBox"}return(0,r.jsxs)(r.Fragment,{children:["function"==typeof v?(0,r.jsx)(r.Fragment,{children:v({isOpen:y,setIsOpen:j})}):null!=v?v:(0,r.jsx)(o.m_,{content:E,strategy:""!==E&&b?"hover":"controlled",isVisible:!1,children:(0,r.jsx)(o.K0,{mx:"xs",variant:"clear",onClick:()=>{j(!0)},children:(0,r.jsx)(h.G_L,{fill:"onSurface.nLv1"})})}),(0,r.jsxs)(g.A,{header:(0,r.jsx)(o.H3,{p:"lg",textStyle:"display.large",children:(0,r.jsx)(u.A,{id:L})}),isOpen:y,setIsOpen:j,footer:(0,r.jsx)(a.so,{justify:"flex-end",m:C?"[0 {spacing.lg} {spacing.lg} {spacing.lg}]":{base:"lg",mdDown:"[0 {spacing.lg} {spacing.lg} {spacing.lg}]"},children:(0,r.jsx)(o.$n,{w:{base:"auto",mdDown:"100%"},onClick:()=>{j(!1)},variant:b?"clear":void 0,children:(0,r.jsx)(u.A,{id:"ok_got_it_button"})})}),children:[(0,r.jsxs)(a.az,{maxW:{md:"[320px]"},px:"lg",mb:C?void 0:{mdDown:"2xl"},children:[k&&(0,r.jsx)(u.A,{id:k,values:{break:e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("br",{}),(0,r.jsx)("br",{})]})}}),(0,r.jsxs)(a.so,{justify:"center",align:"center",pt:"4xl",pb:"xl",children:[(0,r.jsx)(a.az,{className:"sideBox"===S?T:void 0,children:(0,r.jsx)(s.G,{size:"xl",rating:n,format:S})}),null==l?void 0:l({size:40,ml:"lg"})]}),(0,r.jsx)(A,{rating:n,format:S})]}),C&&(0,r.jsx)(a.az,{px:"lg",py:"4xl",pb:"2xl",children:(0,r.jsxs)(o.Mz,{display:"block",color:"primary.default",textStyle:"display.small",href:R,target:"_blank",onClick:()=>{j(!1)},children:[(0,r.jsx)(u.A,{id:"rating_learn_more_button"}),(0,r.jsx)(h.CCT,{ml:"xs",w:"16",h:"16",fill:"primary.default"})]})})]})]})}R.type=m.J},17554:(e,t,n)=>{"use strict";n.d(t,{E5:()=>l,fz:()=>a,hE:()=>d});var r=n(6029),s=n(10174),i=n(90248),o=n(49188);function l(e){let{children:t,title:n,titleValues:l,titleHidden:a}=e;return t?(0,r.jsxs)(o.E,{children:[!a&&n&&(0,r.jsx)(s.H2,{textStyle:"display.medium",mb:"md",children:(0,r.jsx)(i.A,{id:n,values:l})}),t]}):null}function a(e){let{id:t,values:n}=e,o={...n||{},bold:function(){for(var e=arguments.length,t=Array(e),n=0;n{var r=n(81648),s=n(78492),i=n(68988),o=n(91544);e.exports=function(e,t){return function(n,l){var a=o(n)?r:s,d=t?t():{};return a(n,e,i(l,2),d)}}},29347:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(6029),s=n(22375),i=n(76356),o=n(55729),l=n(46222),a=n(18970),d=n(40148),c=n(25479),u=n(54365),h=n(71689),g=n(61924),p=n(5439),x=n(45719),m=n(69704);function v(e){let{date:t,category:n,listType:v}=e,f=(0,o.useContext)(a.Ws),y=(0,c.SR)(f,(0,s.UG)(t)),j=m.h2.includes(f),b=m.xy.includes(f),C=m.jx.includes(f);return(0,r.jsxs)(r.Fragment,{children:[y.length>0?(0,r.jsx)(c.Or,{date:(0,s.UG)(t),tournaments:y}):(0,r.jsx)(d.d,{}),(0,r.jsx)(p.w,{}),j&&(0,r.jsx)(x.h,{}),b&&(0,r.jsx)(h.k,{entityType:"player"}),C&&(0,r.jsx)(h.k,{entityType:"team"}),(0,r.jsx)(g.A,{}),(0,r.jsx)(l.Zp,{children:(0,r.jsx)(i.az,{h:"[272px]"})}),n&&f?(0,r.jsx)(u._,{sport:f,category:n}):v===m.Jx.BASE?(0,r.jsx)(u.a,{}):null]})}},32019:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>o});var r=n(494),s=n(86522);let i=(e,t,n)=>{var r,s,i;let o=null==(r=e.tournament.uniqueTournament)?void 0:r.id;if(o&&(null==n||null==(i=n.uniqueTournaments)||null==(s=i[o])?void 0:s[t]))return null==n?void 0:n.uniqueTournaments[o]},o=(e,t)=>i(e,t,(0,r.d4)(s.g))},36503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ti});var r=n(6029),s=n(22375),i=n(46787),o=n(88715),l=n(97825),a=n(7763),d=n(18153),c=n(75040),u=n(69704);let h=[i.QCR.Football,i.QCR.Basketball,i.QCR.Baseball,i.QCR.Handball,i.QCR.IceHockey,i.QCR.TableTennis,i.QCR.Tennis,i.QCR.Volleyball],g=a.Ay.getInitialPageProps(e=>async t=>{let r,s=t.req?t.req._originalUrl:t.asPath,a=(0,c.a)(t,s),g=a||i.QCR.Football,p=(0,c.l)(t,"date"),x=(0,c.l)(t,"category"),m=u.Jx.BASE;p&&(m=u.Jx.DATE),x&&(m=u.Jx.CATEGORY);let v=o.z.getCurrentLocale(s);t.res&&s&&(m===u.Jx.BASE&&(null==a?void 0:a.toLowerCase())===i.QCR.Football&&(t.res.writeHead(301,{Location:o.z.getTranslatedRoute(v,"home").route}),t.res.end()),/[A-Z]/.test(g)&&(t.res.writeHead(301,{Location:s.toLowerCase()}),t.res.end()));let[f,y,j]=await Promise.allSettled([i.Tps.fetchSportCategories(g,!0),i.sdF.getEntityMeta(i.wNW.Sport,g,v),h.includes(g)?i.sdF.getSeoContent(i.wNW.Sport,g,v):Promise.reject()]);if(x&&t.res){if("rejected"===f.status||!f.value.categories.find(e=>e.slug===x))return t.res.statusCode=404,{error:Error("Category not found")};r=f.value.categories.find(e=>e.slug===x)}let b="fulfilled"===y.status?y.value.entityMeta:void 0,C="fulfilled"===j.status?j.value.content:void 0,_=(await n(23498)("./route.".concat(m,".json"))).default;return e.dispatch((0,l.Od)(_)),e.dispatch((0,d.Vy)(g)),{listType:m,sport:g,date:p,initialCategory:r,categorySlug:x,meta:b,seoContent:C}});var p=n(76356),x=n(18970),m=n(90438),v=n(52763),f=n(20945),y=n(4917),j=n(173),b=n(68789),C=n(55729),_=n(90248),A=n(45860),w=n(88658),T=n(74664),R=n(60475),k=n(64006),S=n(99306);function L(e){var t;let{category:n,listType:s}=e,{meta:o,seoContent:l}=(0,C.useContext)(y.x),a=(0,T.o)(),{data:d}=(0,A.Ay)("string"==typeof n?i.t3g.categories(a,!0):null),c="object"==typeof n?n:null!=(t=null==d?void 0:d.categories.find(e=>e.slug===n))?t:{slug:n||"",name:n||""},h=(0,r.jsx)(w.B,{noBg:!0,children:(0,r.jsx)(w.B.Title,{children:(null==l?void 0:l.heading)||(null==o?void 0:o.h1)||(0,r.jsx)(_.A,{id:s===u.Jx.BASE||s===u.Jx.DATE?"headerTitle.main":"",values:{item:(0,r.jsx)(S.o,{sportSlug:a})}})})});if(n){let e="object"==typeof n?n.slug:n;h=(0,r.jsxs)(w.B,{noBg:!0,children:[(0,r.jsx)(w.B.Item,{children:(0,r.jsx)(k.di,{translatedParams:{sport:a},children:(0,r.jsx)(S.o,{sportSlug:a})})}),(0,r.jsx)(w.B.Item,{children:(0,r.jsx)(k.N_,{routeKey:"eventList.category",params:{sport:a,category:e},children:(0,r.jsx)(R.md,{...c})})}),(0,r.jsx)(w.B.Title,{children:(0,r.jsx)(_.A,{id:"headerTitle.main",values:{item:(0,r.jsx)(S.o,{sportSlug:a})}})})]})}return(0,r.jsx)(p.az,{px:{mdDown:"sm"},pt:{mdDown:"sm"},children:h})}var E=n(494),M=n(46222),F=n(66735),B=n(72753),O=n(14868),Q=n(6813),D=n(16503),P=n(10174),I=n(79634),z=n(86522),H=n(53255),G=n(41735);let Y=e=>{let{branding:t,children:n,isLast:s,...i}=e,o=(0,G.useTheme)();return t?(0,r.jsx)(p.az,{borderStart:"{sizes.2xs} solid",borderEnd:"{sizes.2xs} solid",borderBottom:s?"{sizes.2xs} solid":void 0,borderBottomRadius:s?"lg":void 0,style:{borderColor:t.brand.color[o.name]},...i,children:n}):(0,r.jsx)(r.Fragment,{children:n})};var J=n(32019),U=n(36678),W=n(49988),N=n(37455),q=n(88505),V=n(96662),K=n(81813);let Z={11:(0,r.jsx)(V.i,{id:K.Rj.MOBILE_HOME_LIST_TOP}),49:(0,r.jsx)(V.i,{id:K.Rj.MOBILE_HOME_LIST_MID})};var X=n(3074),$=n(67087),ee=n(36882);let et=e=>{let{event:t,height:n}=e,s=(0,$.g3)();return(0,r.jsx)(p.so,{align:"center",style:{height:n},children:(0,r.jsxs)(p.az,{h:"[36px]",flexGrow:1,borderInline:"1px solid {colors.neutrals.nLv4}",ml:"[74px]",mr:"[50px]",px:"sm",children:[(0,r.jsxs)(p.so,{align:"center",maxW:"[200px]",mb:"2xs",overflow:"hidden",children:[t.homeTeam.type===i.YVh.Double?null:(0,r.jsx)(P._V,{width:"lg",height:"lg",mr:"sm",src:"/static/images/placeholders/team.svg",alt:"Team image placeholder"}),(0,r.jsx)(P.Ym,{truncate:!0,children:(0,r.jsx)(q.Rm,{team:s?t.awayTeam:t.homeTeam,short:!0})})]}),(0,r.jsxs)(p.so,{align:"center",maxW:"[200px]",overflow:"hidden",children:[t.homeTeam.type===i.YVh.Double?null:(0,r.jsx)(P._V,{width:"lg",height:"lg",mr:"sm",src:"/static/images/placeholders/team.svg",alt:"Team image placeholder"}),(0,r.jsx)(P.Ym,{truncate:!0,children:(0,r.jsx)(q.Rm,{team:s?t.homeTeam:t.awayTeam,short:!0})})]})]})})};var en=function(e){return e.header="header",e.groupHeader="groupHeader",e.event="event",e.divider="divider",e.ad="ad",e}(en||{});function er(e){let{eventCell:t,header:n,onClick:s,events:o}=e,{mutate:l}=(0,A.iX)(),{isMobile:a}=(0,P.$c)(),{showAds:d,odds:c}=(0,C.useContext)(F.e),u=(0,E.d4)(N.v_),h=(0,E.d4)(N.yB)&&!u,g=(0,E.d4)(B.hT),x=(0,E.d4)(z.g),m=(0,C.useMemo)(()=>t||U.gY,[]),v=(0,C.useMemo)(()=>n||X.sm,[]);(0,C.useEffect)(()=>{l(i.t3g.eventCount())},[l,o.length]);let f=(0,C.useMemo)(()=>{let e=[],t=new Map;o.forEach(e=>{var n;let r=(null==(n=e.tournament)?void 0:n.groupSign)&&e.tournament.uniqueTournament?e.tournament.uniqueTournament.id:e.tournament.id;t.has(r)||t.set(r,[]),t.get(r).push(e)});let n=Array.from(t.entries());return n.forEach((t,r)=>{let[s,i]=t,l=i[0],c=(0,J.C)(l,"eventList",x),u=i.some(e=>e.tournament.groupSign),h=u?i.reduce((e,t)=>{let n=t.tournament.groupSign||"Default";return e[n]||(e[n]=[]),e[n].push(t),e},{}):{All:i};if(!u||u&&l){var g,p;e.push({type:"header",tournament:{...l.tournament,name:u&&(null==(p=l.tournament)||null==(g=p.uniqueTournament)?void 0:g.name)||l.tournament.name},branding:c})}Object.entries(h).forEach(t=>{let[n,r]=t;"All"!==n&&e.push({type:"groupHeader",tournament:{...r[0].tournament,name:"Group ".concat(n)},branding:void 0}),r.forEach((t,n)=>{let s=n===r.length-1,i=(0,J.C)(t,"eventList",x),l=o.findIndex(e=>e.id===t.id);e.push({type:"event",event:t,branding:i,isLastTournamentEvent:s}),d&&a&&Z[l]&&e.push({type:"ad",adUnit:Z[l],branding:0===l?void 0:i})})}),r{var o,d,u,x,y,j,b,C;let A=e.isInCard?void 0:"sm";switch(t.type){case"header":let w=t.branding,T=f.find((e,t)=>t>n&&"event"===e.type);return(0,r.jsxs)(I.q,{initialVisible:n<30,defaultHeight:w?72:48,children:[w&&(null==(d=t.tournament)||null==(o=d.uniqueTournament)?void 0:o.id)&&(0,r.jsx)(H.O,{entityId:t.tournament.uniqueTournament.id,branding:w,br:"[{spacing.lg} {spacing.lg} 0 0]",overflow:"hidden",mx:A,location:"main_list"}),(0,r.jsx)(Y,{branding:w,mx:A,children:(0,r.jsx)(v,{tournament:t.tournament,seasonId:null==T||null==(x=T.event)||null==(u=x.season)?void 0:u.id})})]},t.type+(null==(y=t.tournament)?void 0:y.id));case"event":let R=t.event,k=null==(j=R.tournament)?void 0:j.category.sport.slug,S=k===i.QCR.Cricket,L=k===i.QCR.AmericanFootball&&R.status.type===i.XUj.InProgress,E=S||L?68:48,M=t.isLastTournamentEvent;return(0,r.jsx)(Y,{branding:t.branding,isLast:M,pb:M?"sm":void 0,mx:A,children:(0,r.jsx)(I.q,{initialVisible:n<30,defaultHeight:E,loader:S?void 0:(0,r.jsx)(et,{event:R,height:E}),children:(0,r.jsx)(U.MC,{value:{invertedMenu:f.length-n<=2,showOdds:h,location:ee.y.MainMatches},children:(0,r.jsx)(m,{event:R,onClick:s,isMobile:a,mutate:()=>{g&&window.setTimeout(()=>{l(i.t3g.liveEvents(g))},W.s.Total+200)},odds:c?c[R.id]||{loaded:!0}:void 0},R.id)})})},t.type+R.id);case"divider":return(0,r.jsx)(p.az,{h:"[1px]",bg:"neutrals.nLv4",mt:"sm"},"divider-".concat(n));case"ad":return(0,r.jsx)(Y,{branding:t.branding,mx:A,children:t.adUnit},"ad-unit-".concat(n));case"groupHeader":return(0,r.jsx)(p.az,{px:"lg",pt:"md",pb:"sm",children:(0,r.jsx)(P.EY,{textStyle:"display.micro",children:(0,r.jsx)(_.A,{id:"group_letter",values:{n:null==(b=t.tournament)?void 0:b.groupSign}})})},"group-".concat(n,"-").concat(null==(C=t.tournament)?void 0:C.name));default:return null}})})}function es(e){return(0,r.jsx)(er,{...e})}function ei(e){return void 0===e.events||null===e.events||0===e.events.length?null:(0,r.jsx)(es,{...e,events:e.events})}var eo=n(61321),el=n(20825),ea=n(56132),ed=n(95084),ec=n(4790);function eu(e){let{date:t,sport:n,isFavoritesOnly:o,gender:l,timeStatus:a,competitionLevel:c,areOddsDisplayed:h,setLiveCount:g}=e,m=(0,E.wA)(),v=(0,u.wA)(n,t),f=(0,C.useContext)(F.e),y=t===(0,s.UG)(new Date),j=(0,u.G_)(),_=(0,b.Ae)(),A=(0,ec.s)(null==_?void 0:_.impressionCostEncrypted),w=(0,C.useCallback)((0,u.pg)(n,Date.parse("".concat(t,"T12:00"))),[n,t]),T=e=>(0,u.yS)(e,a)&&(0,u.g2)(e,l)&&(0,u.i6)(e,c),{events:R,isLoading:k}=(0,u.zx)(n,t,w),{favoriteDateEvents:S,isLoading:L}=(0,u._3)(n,w,R),B=null==S?void 0:S.filter(e=>(0,u.yS)(e,u.M_.Live));(0,C.useEffect)(()=>{o&&g((null==B?void 0:B.length)||0)},[null==B?void 0:B.length,o]);let P=((o?S:R)||[]).filter(T),{additionalEvents:I,isLoading:z}=(0,u.wt)(n,t,w),H=null==I?void 0:I.filter(T);(0,u.Xc)({listType:u.iJ.Regular,sport:n,date:t,eventsByDateFilter:w});let G=(0,C.useCallback)(()=>{m((0,d._D)(t))},[t]),Y=(0,D.e)(async()=>{(0,ed.CH)({location:x.cb.MainList,provider:null==_?void 0:_.provider.slug,value:await A})},{deps:[n,t]}),J=a!==u.M_.Any||l!==i.YT8.Mixed||c!==u.OR.Any;return(k||L)&&!z?(0,r.jsx)(eo.A,{sport:n,isHomePage:!0}):P.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F.e,{value:{...f,odds:v,date:o?void 0:t,showAds:!o},children:(0,r.jsx)("div",{ref:h&&v&&Object.keys(v).length>0&&!o?Y:void 0,children:(0,r.jsx)(ei,{divider:!0,events:P,header:X.kE,onClick:j})})}),!o&&!!(null==H?void 0:H.length)&&(0,r.jsxs)(F.e,{value:{...f,showAds:!1,odds:v,date:t},children:[(0,r.jsx)(p.cG,{pb:"sm"}),(0,r.jsx)(ei,{divider:!0,events:H,header:X.kE,onClick:j})]}),(0,r.jsx)(M.Zp.Footer,{ctaParams:!o&&!H&&n===i.QCR.Football&&{messageId:"show_all",icon:O.X.Down,onClick:G}})]}):o&&!S?(0,r.jsx)(el.D,{entity:ea.x.Events,searchAll:!0}):(0,r.jsx)(Q.p,{graphic:"no-events-calendar",titleMessageId:J?"empty_filtered_events_title":y?"eventList.noEventsToday":"basic.noEvents",descriptionMessageId:J?"empty_filtered_events_text":"eventList.tryDifferentDate"})}var eh=n(96016);function eg(e){var t;let{categoryId:n}=e,{data:s,isLoading:o}=(0,A.Ay)(n?i.ZXN.uniqueTournaments(n):null);if(o)return(0,r.jsx)(p.az,{h:"[440px]"});if(!s)return null;let l=s.groups.filter(e=>{let{isActive:t}=e;return!s.activeUniqueTournamentIds||t}),a=null!=(t=s.activeUniqueTournamentIds)?t:[];return(0,r.jsx)(p.az,{p:{base:void 0,md:"sm"},children:l.map(e=>{let{name:t,uniqueTournaments:n}=e;return(0,r.jsxs)("div",{children:[t&&(0,r.jsx)(P.H4,{color:"neutrals.nLv4",pl:"lg",children:(0,r.jsx)(_.A,{id:t})}),n.map(e=>(0,r.jsx)(k.tQ,{tournament:e,children:(0,r.jsx)(p.az,{borderTop:"1px solid {colors.neutrals.nLv4}",p:"sm",children:(0,r.jsx)(P.H3,{textStyle:"display.medium",color:a.includes(e.id)?"secondary.default":"neutrals.nLv1",children:e.name})})},e.id))]},t)})})}let ep=(0,C.memo)(function(e){let t=(0,E.wA)(),n=(0,u.G_)(),o=(0,C.useContext)(F.e),{date:l,sport:a,initialCategory:d,categorySlug:c}=e,h=Date.parse("".concat(l,"T12:00")),g=(0,s.UG)(new Date)===l,{data:m,isLoading:v}=(0,A.Ay)(i.t3g.categories(a,!0)),f=v||!m?d:m.categories.find(e=>e.slug===c),y=a===i.QCR.Cricket?e=>(0,s._M)(h,1e3*e.startTimestamp,1e3*e.endTimestamp):e=>(0,s.yk)(e.startTimestamp,h),j=f?f.sport.slug===i.QCR.Tennis?"recentTournaments":"allTournaments":null,w=(0,u.wA)(a,l),T=(0,b.Ae)(),k=(0,ec.s)(null==T?void 0:T.impressionCostEncrypted),L=(0,D.e)(async()=>{(0,ed.CH)({location:x.cb.MainList,provider:null==T?void 0:T.provider.slug,value:await k})},{deps:[a,l,c]}),{data:M,isLoading:B}=(0,A.Ay)(f?i.ZXN.scheduledEvents(f.id,l):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async e=>(await (0,i.TtD)(e)).events.filter(y),onSuccess:e=>{t((0,eh.oU)(e))}}),O=M&&!!M.length;return((0,u.Xc)({listType:u.iJ.Category,sport:a,date:l,category:f,eventsByDateFilter:y}),B||v)?(0,r.jsx)(p.az,{h:"[1024px]"}):(0,r.jsxs)(r.Fragment,{children:[O?(0,r.jsx)(F.e,{value:{...o,odds:w},children:(0,r.jsx)(p.az,{pt:"sm",ref:w&&Object.keys(w).length>0?L:void 0,children:(0,r.jsx)(ei,{events:M,header:X.kn,onClick:n})})}):(0,r.jsx)(Q.p,{graphic:"no-events-calendar",titleMessageId:g?"eventList.noEventsToday":"basic.noEvents",descriptionMessageId:"eventList.tryDifferentDate"}),f&&(0,r.jsx)(P.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",pt:"xl",px:"md",children:(0,r.jsx)(_.A,{id:"eventList.category.".concat(j),values:{categoryName:(0,r.jsx)(R.md,{...f}),sportName:(0,r.jsx)(S.o,{sportSlug:f.sport.slug})}})}),(0,r.jsx)(eg,{categoryId:null==f?void 0:f.id})]})},(e,t)=>e.categorySlug===t.categorySlug&&e.sport===t.sport&&e.date===t.date);var ex=n(94565),em=n(52466),ev=n(74610),ef=n(90510),ey=n(65062),ej=n(82536);let eb=e=>{let{date:t,onClick:n}=e;return(0,r.jsx)(p.so,{align:"center",justify:"center",cursor:"pointer",onClick:n,flex:"1",py:"[9px]",_hover:{bg:"surface.s2"},br:"xs",children:(0,r.jsx)(P.EY,{children:(0,s.cK)(t)?(0,r.jsx)(P.EY,{color:"primary.default",textStyle:"assistive.default",lineHeight:1,children:(0,r.jsx)(_.A,{id:"today"})}):(0,s.PA)(t)?(0,r.jsx)(P.EY,{color:"primary.default",textStyle:"assistive.default",lineHeight:1,children:(0,r.jsx)(_.A,{id:"yesterday"})}):(0,s.ef)(t)?(0,r.jsx)(P.EY,{color:"primary.default",textStyle:"assistive.default",lineHeight:1,children:(0,r.jsx)(_.A,{id:"tomorrow"})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(P.EY,{textStyle:"assistive.default",lineHeight:1,children:[(0,r.jsx)(ef.XU,{value:t.getTime(),weekday:"short"})," "]}),(0,r.jsx)(P.EY,{color:"primary.default",textStyle:"assistive.default",lineHeight:1,children:(0,r.jsx)(ef.XU,{value:t.getTime(),day:"2-digit",month:"short"})})]})})})};function eC(e){let{onChange:t,date:n,sport:s,asPopover:i}=e,[o,l]=(0,C.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(p.so,{justify:"space-between",align:"center",bg:"surface.s1",br:"xl",border:"1px solid {colors.primary.highlight}",minW:"[180px]",h:"[36px]",overflow:"hidden",children:[(0,r.jsx)(P.K0,{variant:"clear",onClick:()=>{let e=new Date(n);e.setDate(n.getDate()-1),t(e),(0,ed.ke)({action:"click",location:"main_page",type:"calendar_left_arrow"})},elevation:"2",h:"[36px]",w:"2xl",children:(0,r.jsx)(em.pa2,{})}),(0,r.jsx)(eb,{date:n,onClick:()=>l(!0)}),(0,r.jsx)(P.K0,{variant:"clear",onClick:()=>{let e=new Date(n);e.setDate(n.getDate()+1),t(e),(0,ed.ke)({action:"click",location:"main_page",type:"calendar_right_arrow"})},elevation:"2",h:"[36px]",w:"2xl",children:(0,r.jsx)(em.CCT,{})})]}),o?i?(0,r.jsxs)(p.az,{position:"absolute",width:"[318px]",zIndex:"popover",top:"0",right:"0",br:"lg",bg:"surface.sp",elevation:"3",children:[(0,r.jsx)(p.so,{justify:"flex-end",children:(0,r.jsx)(p.az,{cursor:"pointer",br:"sm",onClick:()=>l(!1),pt:"sm",px:"sm",children:(0,r.jsx)(em.zQC,{icon:"close",fill:"primary.default"})})}),(0,r.jsx)(ey.A,{date:n,onChange:e=>{t(e),l(!1)},sport:s})]}):(0,r.jsx)(ej.A,{isOpen:!0,setIsOpen:l,width:360,children:(0,r.jsx)(ey.A,{date:n,onChange:e=>{t(e),l(!1)},sport:s})}):null]})}var e_=n(2920),eA=n(18858);let ew=e=>{let{isActive:t,isLive:n,labelId:s,count:i,onClick:o}=e;return(0,r.jsxs)(P.$n,{bg:n&&t?"status.live":n?"status.liveHighlight":t?"neutrals.nLv1":"surface.s2",size:"secondary",color:((e,t)=>t?e?"onColor.primary":"status.live":e?"surface.s1":"neutrals.nLv1")(!!t,!!n),textStyle:"assistive.default",textTransform:"capitalize",onClick:o,"aria-selected":t,children:[(0,r.jsx)(_.A,{id:s}),!!i&&" (".concat(i,")")]})};function eT(e){let{timeStatus:t,areOddsVisible:n,isOddsToggleDisabled:i,date:o,sport:l,liveCount:a,onChange:d,listType:c}=e,h=(0,eA.Ay)({isInMobileTabs:!1}),g=(0,s.cK)(o),x=(0,s.mG)(o.getTime()),m=(0,s.lg)(o.getTime());return(0,r.jsx)(ev.t,{tag:"HomePageMobileListHeader",children:(0,r.jsx)(ex.PI,{top:h,display:["block","none"],children:(0,r.jsxs)(p.az,{bg:"surface.s1",pb:c===u.Jx.CATEGORY?"sm":void 0,elevation:"2",children:[(0,r.jsxs)(p.so,{pb:"xs",pt:"md",px:"sm",align:"center",justify:"space-between",children:[(0,r.jsx)(eC,{date:o,onChange:e=>d({name:"date",value:e}),sport:l}),!i&&(0,r.jsxs)(p.so,{maxW:"[158px]",align:"center",gap:"sm",children:[(0,r.jsx)(P.EY,{maxW:"[118px]",textStyle:"display.small",truncate:!0,children:(0,r.jsx)(_.A,{id:"odds"})}),(0,r.jsx)(ex.lM,{checked:n,onChange:()=>d({name:"areOddsVisible",value:!n})})]})]}),c!==u.Jx.CATEGORY&&!g&&(0,r.jsx)(p.so,{h:"4xl",px:"sm",align:"center",children:(0,r.jsxs)(P.$n,{size:"secondary",onClick:()=>{d({name:"date",value:new Date}),(0,ed.yy)({location:e_.C.MainPageAll,type:ea.x.TodayMatches})},children:[x&&(0,r.jsx)(em.pa2,{}),(0,r.jsx)(_.A,{id:"today"}),m&&(0,r.jsx)(em.CCT,{})]})}),c!==u.Jx.CATEGORY&&g&&(0,r.jsx)(P.tR,{children:(0,r.jsxs)(p.so,{w:"fit",p:"sm",align:"center",gap:"xs",children:[(0,r.jsx)(ew,{labelId:"all",isActive:t===u.M_.Any,onClick:()=>{t!==u.M_.Any&&(d({name:"timeStatus",value:u.M_.Any}),(0,ed.yy)({location:e_.C.MainPageAll,type:ea.x.All}))}}),(0,r.jsx)(ew,{labelId:"live",isActive:t===u.M_.Live,isLive:!0,count:a,onClick:()=>{t!==u.M_.Live&&(d({name:"timeStatus",value:u.M_.Live}),(0,ed.yy)({location:e_.C.MainPageAll,type:ea.x.Live}))}}),(0,r.jsx)(ew,{labelId:"finished",isActive:t===u.M_.Finished,onClick:()=>{t!==u.M_.Finished&&(d({name:"timeStatus",value:u.M_.Finished}),(0,ed.yy)({location:e_.C.MainPageAll,type:ea.x.Finished}))}}),(0,r.jsx)(ew,{labelId:"upcoming",isActive:t===u.M_.Upcoming,onClick:()=>{t!==u.M_.Upcoming&&(d({name:"timeStatus",value:u.M_.Upcoming}),(0,ed.yy)({location:e_.C.MainPageAll,type:ea.x.Upcoming}))}})]})})]})})})}function eR(e){let{timeStatus:t,areOddsVisible:n,isOddsToggleDisabled:o,date:l,sport:a,liveCount:d,onChange:c,listType:h,categorySlug:g,initialCategory:x,activeTab:m}=e,v=(0,s.cK)(l),f=(0,s.mG)(l.getTime()),y=(0,s.lg)(l.getTime()),{data:j,isLoading:b}=(0,A.Ay)(i.t3g.categories(a,!0)),C=b?x:null==j?void 0:j.categories.find(e=>e.slug===g),w="favorites"===m?e_.C.MainPageFavorites:e_.C.MainPageAll;return(0,r.jsx)(ev.t,{tag:"HomePageDesktopListHeader",children:(0,r.jsxs)(p.az,{display:{mdDown:"none"},px:"sm",pt:"sm",pb:h===u.Jx.CATEGORY||"competitions"===m?void 0:"sm",children:[(0,r.jsxs)(p.so,{h:"4xl",align:"center",justify:"space-between",borderBottom:"1px solid {colors.neutrals.nLv4}",children:[h===u.Jx.CATEGORY?(0,r.jsx)(P.EY,{pl:"sm",textStyle:"display.large",textTransform:"capitalize",children:(0,r.jsx)(R.md,{...null!=C?C:{slug:g,name:g}})}):(0,r.jsx)(P.tU,{variant:"primary",initialValue:m,children:(0,r.jsxs)(P.tU.List,{children:[(0,r.jsx)(P.tU.Tab,{tabKey:"all",onClick:e=>{("all"!==m||t!==u.M_.Any)&&(c({name:"activeTab",value:"all"}),e.nativeEvent.isTrusted&&(0,ed.yy)({location:e_.C.MainPageAll,type:ea.x.All}))},children:(0,r.jsx)(_.A,{id:"all"})}),(0,r.jsx)(P.tU.Tab,{tabKey:"favorites",onClick:e=>{("favorites"!==m||t!==u.M_.Any)&&(c({name:"activeTab",value:"favorites"}),e.nativeEvent.isTrusted&&(0,ed.yy)({location:e_.C.MainPageFavorites,type:ea.x.All}))},children:(0,r.jsx)(_.A,{id:"eventList.favorites"})}),(0,r.jsx)(P.tU.Tab,{tabKey:"competitions",onClick:e=>{("competitions"!==m||t!==u.M_.Any)&&(c({name:"activeTab",value:"competitions"}),e.nativeEvent.isTrusted&&(0,ed.yy)({location:e_.C.MainPageCompetitions,type:ea.x.All}))},children:(0,r.jsx)(_.A,{id:"competitions"})})]})}),"competitions"!==m&&(0,r.jsx)(eC,{date:l,onChange:e=>c({name:"date",value:e}),sport:a,asPopover:!0})]}),"competitions"!==m&&h!==u.Jx.CATEGORY&&(0,r.jsxs)(p.so,{gap:"xs",borderTop:"1px solid {colors.neutrals.nLv4}",mt:"[-1px]",align:"flex-end",h:"4xl",justify:"space-between",children:[v?(0,r.jsxs)(p.so,{align:"flex-end",gap:"xs",children:[(0,r.jsx)(ew,{labelId:"live",isActive:t===u.M_.Live,isLive:!0,count:d,onClick:()=>{c({name:"timeStatus",value:t===u.M_.Live?u.M_.Any:u.M_.Live}),(0,ed.yy)({location:w,type:t===u.M_.Live?ea.x.All:ea.x.Live})}}),(0,r.jsx)(ew,{labelId:"finished",isActive:t===u.M_.Finished,onClick:()=>{c({name:"timeStatus",value:t===u.M_.Finished?u.M_.Any:u.M_.Finished}),(0,ed.yy)({location:w,type:t===u.M_.Finished?ea.x.All:ea.x.Finished})}}),(0,r.jsx)(ew,{labelId:"upcoming",isActive:t===u.M_.Upcoming,onClick:()=>{c({name:"timeStatus",value:t===u.M_.Upcoming?u.M_.Any:u.M_.Upcoming}),(0,ed.yy)({location:w,type:t===u.M_.Upcoming?ea.x.All:ea.x.Upcoming})}})]}):(0,r.jsxs)(P.$n,{size:"secondary",onClick:()=>{c({name:"date",value:new Date}),(0,ed.yy)({location:w,type:ea.x.TodayMatches})},children:[f&&(0,r.jsx)(em.pa2,{}),(0,r.jsx)(_.A,{id:"today"}),y&&(0,r.jsx)(em.CCT,{})]}),!o&&(0,r.jsxs)(p.so,{h:"2xl",align:"center",gap:"lg",flexGrow:1,justify:"flex-end",children:[(0,r.jsx)(P.EY,{textStyle:"display.small",children:(0,r.jsx)(_.A,{id:"odds"})}),(0,r.jsx)(ex.lM,{checked:n,onChange:()=>c({name:"areOddsVisible",value:!n})})]})]})]})})}var ek=n(55955),eS=n(78383),eL=n.n(eS),eE=n(15578),eM=n(15341);let eF=[i.QCR.Football,i.QCR.ESports,i.QCR.Futsal,i.QCR.Minifootball],eB=(0,C.memo)(function(e){let{sport:t,areOddsDisplayed:n,onEmptyStateClick:o}=e,l=(0,E.wA)(),[a,d]=(0,C.useState)(!1),c=eF.includes(t),[h,g,m]=(0,eM.A)("show-live-amateur-events",!0),v=(0,u.wA)(t,(0,s.UG)(new Date)),f=(0,C.useContext)(F.e),y=(0,u.G_)(),j=(0,b.Ae)(),w=(0,ec.s)(null==j?void 0:j.impressionCostEncrypted),[T]=(0,ek.vQ)(eE.z),{data:R,mutate:k}=(0,A.Ay)(i.t3g.liveEvents(t),{revalidateOnFocus:!0,revalidateOnReconnect:!0,onSuccess:e=>{l((0,eh.oU)(e.events)),d(!1)},onError:()=>{d(!1)}}),L=null==R?void 0:R.events;(0,u.Xc)({listType:u.iJ.Live,sport:t,date:(0,s.UG)(new Date),eventsByDateFilter:()=>!0}),(0,C.useEffect)(()=>{if(!T)return eL();let e=T.Topic.events.bySport(t),n=(0,ek.pO)("new-live-list-event-listener-".concat(t),e,eL());return T.subscribe(n)},[t,T]),(0,C.useEffect)(()=>{if(!T)return;let e=T.Topic.events.bySport(t),n=(0,ek.pO)("new-live-list-event-listener-".concat(t),e,e=>{e["status.type"]===i.XUj.InProgress&&window.setTimeout(()=>{k()},500)});T.subscribe(n)},[L,T,k]);let M=(0,D.e)(async()=>{(0,ed.CH)({location:x.cb.MainList,provider:null==j?void 0:j.provider.slug,value:await w})},{deps:[t]}),B=(0,C.useCallback)(e=>(0,r.jsx)(X.pw,{...e}),[]);if(a||!L)return(0,r.jsx)(eo.A,{sport:t,isHomePage:!0});if(L&&!L.length)return(0,r.jsxs)(Q.p,{graphic:"no-live-games",titleMessageId:"eventList.noLiveEvents",children:[(0,r.jsx)(P.EY,{color:"neutrals.nLv3",textStyle:"body.mediumParagraph",textAlign:"center",mt:"sm",children:(0,r.jsx)(_.A,{id:"eventList.checkLater"})}),(0,r.jsx)(P.EY,{color:"neutrals.nLv3",textStyle:"body.mediumParagraph",textAlign:"center",children:(0,r.jsx)(_.A,{id:"eventList.meanwhileCheck",values:{link:(0,r.jsx)(P.Mz,{color:"primary.default",onClick:o,children:(0,r.jsx)(_.A,{id:"basic.here"})}),sportName:(0,r.jsx)(S.o,{sportSlug:t,children:e=>(0,r.jsx)("span",{style:{textTransform:"lowercase"},children:e})})}})})]});let O=m?L.filter(e=>h||!(e.crowdsourcingEnabled||e.isEditor)):L;return(0,r.jsxs)(F.e,{value:{...f,odds:v},children:[c&&(0,r.jsx)(p.az,{pb:"xs",px:"sm",children:(0,r.jsxs)(p.so,{bg:"surface.s2",br:"md",h:"4xl",align:"center",justify:"space-between",px:"lg",children:[(0,r.jsx)(P.EY,{children:(0,r.jsx)(_.A,{id:"football_toggle_amateur_competitions"})}),m&&(0,r.jsx)(ex.lM,{checked:h,onChange:()=>g(e=>!e)})]})}),(0,r.jsx)("div",{ref:n&&v&&Object.keys(v).length>0?M:void 0,children:(0,r.jsx)(ei,{divider:!0,events:O,header:B,onClick:y},t+O.length)})]})},(e,t)=>e.sport===t.sport);var eO=n(947),eQ=n(31830),eD=n(5195),eP=n(70807),eI=n(54044),ez=n(59721),eH=n(15340),eG=n(91647);let eY=e=>{let{tournament:t}=e,n=(0,eG.N)(t),s=t.category.sport.slug===i.QCR.Tennis;return(0,r.jsx)(k.tQ,{routeKey:"uniqueTournament",tournament:t,children:(0,r.jsxs)(p.BJ,{px:"sm",py:"lg",gap:"lg",bg:"surface.s2",br:"sm",position:"relative",h:"100%",children:[(0,r.jsxs)(p.BJ,{align:"center",gap:"xs",overflow:"hidden",children:[(0,r.jsx)(ez.e,{id:t.id,name:n,size:32}),(0,r.jsx)(p.ov,{h:"[28px]",children:(0,r.jsxs)(P.EY,{textStyle:"display.micro",lineClamp:2,textAlign:"center",children:[n,s&&(0,r.jsxs)(P.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:["\xa0(",(0,r.jsx)(R.md,{...t.category}),")"]})]})})]}),(0,r.jsx)(p.az,{position:"absolute",top:"xs",right:"xs",children:(0,r.jsx)(eH.e,{id:t.id,entity:i.bq7.Tournaments,location:ee.y.MainLeagues,type:ee.b.UniqueTournament,hasNoBorder:!0})})]})})},eJ={[i.QCR.Football]:12,[i.QCR.Basketball]:12,[i.QCR.Tennis]:12,[i.QCR.IceHockey]:12,[i.QCR.Handball]:12,[i.QCR.Volleyball]:12,[i.QCR.Baseball]:3,[i.QCR.Cricket]:12,[i.QCR.Rugby]:5,[i.QCR.Darts]:1,[i.QCR.Futsal]:4,[i.QCR.Waterpolo]:2,[i.QCR.AmericanFootball]:1};function eU(){let e=(0,T.o)(),t=eJ[e];return t?(0,r.jsxs)(M.Zp,{children:[(0,r.jsx)(M.Zp.Header,{titleId:eI.it[e]||eI.it.default,variant:"left-aligned"}),(0,r.jsx)(p.az,{style:{height:122.5*Math.ceil(t/4)}})]}):null}function eW(){var e;let t=(0,T.o)(),n=(0,E.d4)(B.LQ),{data:s,error:o}=(0,A.Ay)(i.PTD.topUniqueTournaments(t,n||"00")),l=null==s||null==(e=s.uniqueTournaments)?void 0:e.slice(0,12);return void 0!==l||o?(null==l?void 0:l.length)?(0,r.jsxs)(M.Zp,{children:[(0,r.jsx)(M.Zp.Header,{titleId:eI.it[t]||eI.it.default,variant:"left-aligned"}),(0,r.jsx)(p.xA,{gap:"sm",gridTemplateColumns:"repeat(4, 1fr)",px:"lg",children:l.map(e=>(0,r.jsx)(eY,{tournament:e},e.id))}),(0,r.jsx)(M.Zp.Footer,{})]}):null:(0,r.jsx)(eU,{})}let eN={[i.QCR.Football]:21,[i.QCR.Basketball]:21,[i.QCR.Tennis]:14,[i.QCR.TableTennis]:3,[i.QCR.IceHockey]:21,[i.QCR.ESports]:3,[i.QCR.Handball]:21,[i.QCR.Volleyball]:21,[i.QCR.Baseball]:16,[i.QCR.AmericanFootball]:4,[i.QCR.Cricket]:16,[i.QCR.Rugby]:7,[i.QCR.Darts]:2,[i.QCR.Snooker]:1,[i.QCR.Futsal]:21,[i.QCR.Minifootball]:21,[i.QCR.Badminton]:1,[i.QCR.AussieRules]:1,[i.QCR.BeachVolley]:1,[i.QCR.Waterpolo]:9,[i.QCR.Floorball]:7,[i.QCR.Bandy]:5};function eq(){let e=eN[(0,T.o)()];return e?(0,r.jsxs)(p.az,{children:[(0,r.jsx)(eU,{}),(0,r.jsx)(p.az,{style:{height:48*Math.min(e,20)}})]}):null}function eV(e){let{date:t}=e,n=(0,eO.A)(),s=(0,eQ.A)(),o=(0,T.o)(),l=(0,E.d4)(B.LQ),{data:a,isLoading:d}=(0,A.Ay)(i.t3g.categories(o)),c=(0,C.useMemo)(()=>a?a.categories.map(e=>{let t=(0,R.xY)({...e,intl:n,locale:s});return{...e,name:t===e.slug?e.name:t,originalName:e.name}}):[],[a]),u=(0,C.useMemo)(()=>(0,eP.X)(c,s,l),[c,l]);return d?(0,r.jsx)(eq,{}):c.length?(0,r.jsxs)(M.WC,{variant:"square",children:[(0,r.jsx)(eW,{}),(0,r.jsx)(p.az,{px:"lg",_first:{display:"none"},children:(0,r.jsx)(P.H3,{children:(0,r.jsx)(_.A,{id:"leagues"})})}),(0,r.jsx)(p.az,{pt:"sm",children:(0,r.jsx)(eD.M,{sport:o,date:t,categories:u})})]}):null}var eK=n(54365);function eZ(e){let{filters:t,listType:n,liveCount:s,setLiveCount:i,initialCategory:o,categorySlug:l,initialDate:a}=e,d=(0,T.o)(),c=(0,E.d4)(B.LQ),h={[u.Jx.BASE]:eu,[u.Jx.DATE]:eu,[u.Jx.CATEGORY]:ep}[n],g=!t.isOddsToggleDisabled&&t.areOddsVisible;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(F.e,{value:{preferTournamentName:!0,showAds:"HR"!==c},children:(0,r.jsxs)(p.so,{direction:"column",gap:{base:"sm",md:"md"},px:{mdDown:"sm"},pt:{mdDown:"sm"},children:[(0,r.jsxs)(M.Zp,{children:[(0,r.jsx)(eR,{...t,liveCount:s,listType:n,categorySlug:l,initialCategory:o}),(0,r.jsx)(p.az,{pt:{mdDown:"sm"},children:"competitions"===t.activeTab&&"eventList.category"!==n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eV,{date:t.date}),(0,r.jsx)(M.Zp.Footer,{})]}):t.timeStatus===u.M_.Live&&"favorites"!==t.activeTab?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eB,{sport:d,onEmptyStateClick:()=>{t.onChange({name:"date",value:new Date})},areOddsDisplayed:g}),(0,r.jsx)(M.Zp.Footer,{})]}):(0,r.jsx)(h,{sport:d,date:a,initialCategory:o,categorySlug:l,timeStatus:t.timeStatus,gender:t.gender,isFavoritesOnly:"favorites"===t.activeTab,setLiveCount:i,competitionLevel:t.competitionLevel,areOddsDisplayed:g})})]}),n!==u.Jx.DATE&&(0,r.jsx)(p.az,{display:{base:"block",md:"none"},children:n===u.Jx.BASE?(0,r.jsx)(eK.a,{}):(0,r.jsx)(eK._,{category:l,sport:d})}),(0,r.jsx)(v.iN,{id:v.Rj.MOBILE_HOME_BOTTOM})]})})})}var eX=n(55575),e$=n.n(eX),e0=n(95669),e1=n.n(e0),e2=n(94164),e4=n(14831);function e6(e){let{listType:t,sport:n,year:l,date:a,categorySlug:d,currentCalendarDate:c}=e,h=(0,eO.A)(),{meta:g,seoContent:p}=(0,C.useContext)(y.x),x=(0,eQ.A)(),m=(0,C.useMemo)(()=>{let e={sport:n,date:a,category:d};return t!==u.Jx.CATEGORY&&delete e.category,(0,s.cK)(c)&&delete e.date,t===u.Jx.BASE&&e.sport===i.QCR.Football&&delete e.sport,o.z.getTranslatedCanonicalRoute(x,t,e).route},[n,a,d]),v=(0,r.jsx)("title",{children:h.formatMessage({id:h.messages["title.main.".concat(n)]?"title.main.".concat(n):"title.main"},{item:(0,e4.ZH)(h.formatMessage({id:"sport.".concat(n)})),year:l})}),f=(0,r.jsx)("meta",{name:"description",content:h.formatMessage({id:n===i.QCR.Football?"description.main":"description.main.".concat(n),defaultMessage:h.messages["description.main"]})},"description"),j=(0,r.jsx)("meta",{name:"keywords",content:h.formatMessage({id:"keywords.sport"},{item:h.formatMessage({id:"sport.".concat(n)})})});return[u.Jx.BASE,u.Jx.DATE].includes(t)&&(p?(p.title&&(v=(0,r.jsx)("title",{children:e$()(p.title)})),p.description&&(f=(0,r.jsx)("meta",{name:"description",content:p.description},"description"))):g&&(g.title&&(v=(0,r.jsx)("title",{children:e$()(g.title)})),g.description&&(f=(0,r.jsx)("meta",{name:"description",content:g.description},"description")),g.keywords&&(j=(0,r.jsx)("meta",{name:"keywords",content:g.keywords})))),(0,r.jsxs)(e1(),{children:[t===u.Jx.BASE&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'{\n "@context": "https://schema.org",\n "@type": "Organization",\n "name": "Sofascore",\n "url": "https://www.sofascore.com",\n "logo": "https://www.sofascore.com/static/images/apple-icon-180x180.png"\n }'}}),(0,r.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(m)}),(0,e2.v)(n,x)&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),v,f,j]})}var e3=n(71024),e5=n.n(e3),e8=n(29347);let e7=e5()(()=>Promise.all([n.e(54820),n.e(66022),n.e(2405)]).then(n.bind(n,2405)),{loadableGenerated:{webpack:()=>[2405]},loading:()=>(0,r.jsx)(te,{})}),e9=(0,C.createContext)({}),te=()=>{let e=(0,C.useContext)(e9);return(0,r.jsx)(e8.A,{...e})},tt=e=>(0,r.jsx)(e9,{value:e,children:(0,r.jsx)(e7,{...e})});function tn(e){let{listType:t,initialCategory:n,categorySlug:s,sport:i,date:o,meta:l,seoContent:a}=e,d=(0,u.dZ)(e),{liveCount:c,setLiveCount:h}=(0,u._p)(i,"favorites"===d.activeTab),g=(0,b.Ae)();return(0,r.jsx)(y.x,{value:{meta:l,seoContent:a},children:(0,r.jsx)(x.Ws,{value:i,children:(0,r.jsxs)(v.JR,{route:m.xW.EventList,children:[(0,r.jsx)(e6,{listType:t,sport:i,year:new Date().getFullYear(),date:o,initialCategory:n,categorySlug:s,currentCalendarDate:d.date}),(0,r.jsx)(eT,{...d,liveCount:c,listType:t}),(0,r.jsx)(L,{category:null!=n?n:s,listType:t}),(0,r.jsxs)(f.xA,{pb:{base:"sm",md:"md"},children:[(0,r.jsxs)(f.fv,{flexGrow:1,children:[(0,r.jsx)(eZ,{filters:d,listType:t,liveCount:c,setLiveCount:h,initialCategory:n,categorySlug:s,initialDate:o}),(0,r.jsx)(p.az,{hideBelow:d.areOddsVisible?void 0:"md",children:(0,r.jsx)(j.z,{provider:g})}),(0,r.jsx)(v.Aq,{route:m.xW.EventList})]}),(0,r.jsx)(f.fv,{flexGrow:1,hideBelow:"md",children:(0,r.jsx)(tt,{date:d.date,listType:t,category:s})})]})]})})})}var tr=n(45906);let ts=e=>{let{error:t,...n}=e;return t?(0,r.jsx)(tr.default,{statusCode:t.code}):(0,r.jsx)(tn,{...n,date:n.date||(0,s.UG)(new Date)})};ts.getInitialProps=g;let ti=ts},40148:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var r=n(6029),s=n(76356),i=n(46222),o=n(49938),l=n(82827);function a(){return(0,r.jsxs)(s.so,{direction:"column",children:[(0,r.jsx)(i.Zp,{children:(0,r.jsx)(i.BU,{children:(0,r.jsx)(i.WC,{variant:"square",children:(0,r.jsxs)(s.BJ,{gap:"lg",children:[(0,r.jsx)(s.az,{h:"2xl"}),(0,r.jsx)(o.o,{hideTitle:!0,showCta:!1}),(0,r.jsx)(s.az,{h:"11xl"}),(0,r.jsx)(s.az,{px:"xs",pb:"xs",children:(0,r.jsx)(l.t1,{hasCTA:!1,provider:void 0,hasBackground:!1,isNewOddsChoiceDesign:!0})})]})})})}),(0,r.jsx)(s.az,{h:"2xl"})]})}},44224:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var r=n(22375),s=n(45860),i=n(11276);let o=e=>fetch(e,{method:"HEAD",cache:"no-store"});function l(){let{data:e,error:t,isLoading:n}=(0,s.Ay)(i.sp,{fetcher:o,dedupingInterval:r.d_});return{isLoading:n,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}},45719:(e,t,n)=>{"use strict";n.d(t,{Q:()=>T,h:()=>w});var r=n(6029),s=n(10292),i=n(46787),o=n(45860),l=n(46222),a=n(74664),d=n(52466),c=n(17152),u=n(78259),h=n(10174),g=n(76356),p=n(55729),x=n(90248),m=n(14868),v=n(74610),f=n(67087),y=n(66331),j=n(96861),b=n(94156),C=n(57719);let _=e=>{let{player:t,index:n,onClick:s}=e,o=(0,a.o)(),[l,c]=(0,f.jr)(t.event,"homeTeam","awayTeam",t.event),[p,m]=(0,f.jr)(t.event,"homeScore","awayScore",t.event),v=t.event.winnerCode===i.Jfo.Left,y=t.event.winnerCode===i.Jfo.Right,{goals:j,goalAssist:_,rating:A,saves:w}=t,T=t.points;return(0,r.jsxs)(g.so,{align:"center",gap:"lg",py:"sm",px:"lg",cursor:"pointer",_hover:{bg:"surface.s2"},onClick:()=>s(t.event,t.player),children:[(0,r.jsxs)(g.so,{align:"center",gap:"sm",children:[(0,r.jsx)(h.EY,{textStyle:"body.small",textAlign:"center",w:"lg",children:n}),(0,r.jsxs)(g.az,{w:"3xl",h:"3xl",position:"relative",children:[(0,r.jsx)(u.tg,{id:t.player.id,name:t.player.name,size:40}),(0,r.jsx)(u.pY,{id:t.team.id,name:t.team.name,size:16,style:{position:"absolute",bottom:0,right:0}})]})]}),(0,r.jsxs)(g.so,{direction:"column",justify:"center",gap:"xs",grow:1,overflow:"hidden",children:[(0,r.jsx)(h.EY,{truncate:!0,children:(0,r.jsx)(b.c,{entity:t.player})}),t.player.position&&(0,r.jsx)(h.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",truncate:!0,children:(0,r.jsx)(C.F,{id:t.player.position,gender:t.player.gender})})]}),o===i.QCR.Football&&(0,r.jsxs)(r.Fragment,{children:[!!j&&(0,r.jsxs)(g.so,{align:"center",minW:j>1?"xl":"lg",position:"relative",children:[(0,r.jsx)(d.NcS,{icon:"football-ball",fill:"onSurface.nLv1"}),j>1&&(0,r.jsx)(h.EY,{textStyle:"display.micro",color:"surface.s1",w:"[14px]",h:"[14px]",textAlign:"center",lineHeight:1,border:"1px solid {colors.surface.s1}",br:"50%",bg:"neutrals.nLv1",position:"absolute",right:"0",children:j})]}),!!w&&(0,r.jsxs)(g.so,{align:"center",minW:w>1?"xl":"lg",position:"relative",children:[(0,r.jsx)(d.WV5,{fill:"onSurface.nLv1"}),w>1&&(0,r.jsx)(h.EY,{textStyle:"display.micro",color:"surface.s1",w:"[14px]",h:"[14px]",textAlign:"center",lineHeight:1,border:"1px solid {colors.surface.s1}",br:"50%",bg:"neutrals.nLv1",position:"absolute",right:"0",children:w})]}),!!_&&(0,r.jsx)(d.NcS,{minW:16,minH:16,icon:"football-assist",fill:"onSurface.nLv1"})]}),(0,r.jsxs)(g.so,{align:"center",gap:"sm",py:"2xs",px:"xs",bg:"surface.s2",br:"xs",children:[(0,r.jsx)(u.pY,{id:l.id,name:l.name,size:20}),(0,r.jsxs)(g.az,{textWrap:"nowrap",children:[(0,r.jsx)(h.EY,{textStyle:"display.micro",color:v?"neutrals.nLv1":"neutrals.nLv3",children:p.display}),(0,r.jsx)(h.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:" - "}),(0,r.jsx)(h.EY,{textStyle:"display.micro",color:y?"neutrals.nLv1":"neutrals.nLv3",children:m.display})]}),(0,r.jsx)(u.pY,{id:c.id,name:c.name,size:20})]}),o===i.QCR.Football&&(0,r.jsx)(u.GW,{rating:A,cursor:"pointer"}),o===i.QCR.Basketball&&!!T&&(0,r.jsxs)(g.so,{align:"center",gap:"2xs",children:[(0,r.jsx)(h.EY,{textStyle:"display.small",children:T}),(0,r.jsx)(h.EY,{color:"neutrals.nLv3",textTransform:"lowercase",children:(0,r.jsx)(x.A,{id:"points_short"})})]})]})};function A(e){let{topPlayers:t,sport:n}=e,{openEventPlayerStatistics:s}=(0,y.d)(),[i,o]=(0,p.useState)(!1),a=(0,p.useCallback)(()=>o(e=>!e),[]),d=(e,t)=>{s({event:e,player:t},j._l.TopPlayers)};(0,p.useEffect)(()=>{o(!1)},[n]);let c=t.length>3;return(0,r.jsx)(v.t,{tag:"TopPlayersList",children:(0,r.jsxs)(g.az,{children:[t.slice(0,3).map((e,t)=>(0,r.jsx)(_,{player:e,index:t+1,onClick:d},e.player.id)),i&&t.slice(3).map((e,t)=>(0,r.jsx)(_,{player:e,index:3+t+1,onClick:d},e.player.id)),(0,r.jsx)(l.Zp.Footer,{ctaParams:c?{messageId:i?"show_less":"show_more",icon:i?m.X.Up:m.X.Down,onClick:a}:void 0})]})})}function w(){return(0,r.jsxs)(l.Zp,{children:[(0,r.jsx)(l.Zp.Header,{titleId:"top_players",values:{gender:i.YT8.Male}}),(0,r.jsx)(g.az,{h:"[168px]"}),(0,r.jsx)(l.Zp.Footer,{ctaParams:{messageId:"show_more",icon:l.Xb.Down,onClick:()=>{}}})]})}function T(){var e,t,n;let u=(0,a.o)(),{data:h,isLoading:g,error:p}=(0,o.Ay)(i.t3g.trendingTopPlayers(u)),x=u===i.QCR.Football;return g?(0,r.jsx)(w,{}):p||!h||0===h.topPlayers.length?null:(0,r.jsxs)(l.Zp,{children:[(0,r.jsx)(l.Zp.Header,{titleId:"top_players",values:{gender:null!=(n=null==(e=h.topPlayers[0].player.team)?void 0:e.gender)?n:i.YT8.Male},actionComponent:x&&(0,r.jsx)(c.D,{type:c.D.type.SpecificRatingPlayer,rating:null==(t=h.topPlayers[0])?void 0:t.rating,renderImage:e=>{var t;return(0,r.jsx)(s.t,{id:null==(t=h.topPlayers[0])?void 0:t.player.id,...e})},children:e=>{let{setIsOpen:t}=e;return(0,r.jsx)(d.G_L,{fill:"onSurface.nLv1",onClick:()=>t(!0),cursor:"pointer"})}})}),(0,r.jsx)(A,{sport:u,topPlayers:h.topPlayers})]})}},45906:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(6029),s=n(14092),i=n(10174),o=n(76356),l=n(95669),a=n.n(l),d=n(947),c=n(90248),u=n(52466),h=n(6813),g=n(25246),p=n(20945),x=n(64006);function m(e){let{statusCode:t}=e;s.O({statusCode:t});let n=(0,d.A)().formatMessage({id:404===t?"error.pageNotFound":"error.anErrorOccurred"});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a(),{children:[(0,r.jsx)("title",{children:"".concat(t," | ").concat(n||"")}),(0,r.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,r.jsx)("div",{id:"errorPage",children:(0,r.jsx)(g.YW,{children:(0,r.jsx)(p.xA,{children:(0,r.jsx)(p.fv,{flexGrow:1,textAlign:"center",my:"2xl",children:(0,r.jsx)(h.p,{graphic:"no-connection",children:(0,r.jsxs)(o.BJ,{children:[(0,r.jsx)(i.H1,{textStyle:"display.extraLarge",color:"neutrals.nLv3",alignSelf:"center",mt:"[28px]",mb:"2xs",children:t}),(0,r.jsx)(i.H3,{display:"block",textStyle:"display.medium",color:"neutrals.nLv3",alignSelf:"center",children:(0,r.jsx)(c.A,{id:"error.anErrorOccurred"})}),(0,r.jsx)(i.EY,{alignSelf:"center",mb:"2xl",display:"block",children:404===t?(0,r.jsx)(c.A,{id:"error.pageCannotBeFound"}):(0,r.jsx)(c.A,{id:"error.somethingWrongWithPage"})}),(0,r.jsx)(x.N_,{routeKey:"home",children:(0,r.jsxs)(i.$n,{children:[(0,r.jsx)(u.pa2,{mt:"-3px"})," ",(0,r.jsx)(c.A,{id:"error.backToSofascore"})]})})]})})})})})})]})}m.getInitialProps=async e=>{await s.O(e);let{res:t,err:n}=e;return{statusCode:t?t.statusCode:n?n.statusCode:null}}},49188:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});let r=(0,n(76356).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"}}}}})},50526:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6029),s=n(494),i=n(72753),o=n(10174),l=n(76356),a=n(52466);function d(){return(0,r.jsx)("a",{href:"https://certifications.gamingcommission.gov.gr/publicRecordsOnline/SitePages/KatoxoiAdeiasOnline.aspx",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,r.jsxs)(l.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,r.jsx)(l.az,{h:"xl",w:"xl",children:(0,r.jsx)(a.OE_,{w:"24px",h:"24px",fill:"onSurface.nLv3",fillOpacity:1})}),(0,r.jsx)(o.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function c(){return"GR"===(0,s.d4)(i.LQ)?(0,r.jsx)(d,{}):null}},54365:(e,t,n)=>{"use strict";n.d(t,{_:()=>g,a:()=>p});var r=n(6029),s=n(46787),i=n(55729),o=n(17554),l=n(49188),a=n(46222),d=n(64006),c=n(4917);let u=function(e,t,n){for(var i=arguments.length,o=Array(i>3?i-3:0),l=3;l{switch(e){case"challenger":return"ATP Challenger Tour";case"itf-men":return"ITF Men";case"itf-women":return"ITF Women";case"grand-slam":return"Grand Slam";default:return e.toUpperCase()}})(t);switch(t){case"atp":case"wta":return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.hE,{children:n}),(0,r.jsx)(o.fz,{id:"".concat(t,".about.p1")}),(0,r.jsx)(o.hE,{id:"category.tour.tournaments",values:{category:n}}),(0,r.jsx)(o.fz,{id:"".concat(t,".about.p2"),values:{catlink:function(){for(var e=arguments.length,t=Array(e),n=0;n{"use strict";n.d(t,{F:()=>c});var r=n(6029),s=n(46787),i=n(55729),o=n(90248),l=n(18970);let a=JSON.parse('{"football":{"Dlong":"football_defender","DLlong":"football_left_defender","DClong":"football_centre_defender","DRlong":"football_right_defender","DMlong":"football_defensive_midfielder","Mlong":"football_midfielder","MLlong":"football_left_midfielder","MRlong":"football_right_midfielder","MClong":"football_centre_midfielder","AMlong":"football_attacking_midfielder","Flong":"football_forward","LWlong":"football_left_winger","RWlong":"football_right_winger","STlong":"football_striker","Glong":"goalkeeper","GKlong":"goalkeeper","Dshort":"position.defender.short","DLshort":"position.defenderLeft.short","DCshort":"position.defenderCenter.short","DRshort":"position.defenderRight.short","DMshort":"position.defensiveMidfielder","Mshort":"position.midfielder.short","MLshort":"position.midfielderLeft.short","MRshort":"position.midfielderRight.short","MCshort":"position.midfielderCenter.short","AMshort":"position.attackingMidfielder.short","Fshort":"position.forward.short","LWshort":"position.leftWinger.short","RWshort":"position.rightWinger.short","STshort":"position.striker.short","Gshort":"position.goalkeeper.short","GfantasyShort":"position.goalkeeper.fantasyShort","DfantasyShort":"position.defender.fantasyShort","MfantasyShort":"position.midfielder.fantasyShort","FfantasyShort":"position.forward.fantasyShort"},"basketball":{"Clong":"basketball.center","CFlong":"centerForward","Flong":"basketball.forward","FClong":"forwardCenter","FGlong":"forwardGuard","Glong":"guard","GFlong":"guardForward","Cshort":"position.basketball.center.short","CFshort":"position.centerForward.short","Fshort":"position.basketball.forward.short","FCshort":"position.forwardCenter.short","FGshort":"position.forwardGuard.short","Gshort":"position.guard.short","GFshort":"position.guardForward.short"},"ice-hockey":{"Dlong":"defenseman","Glong":"goalie","Clong":"hockey.center","Llong":"leftWing","Rlong":"rightWing","Flong":"football_forward","Dshort":"position.defenseman.short","Gshort":"position.goalie.short","Cshort":"position.hockey.short.center","Lshort":"position.leftWing.short","Rshort":"position.rightWing.short","Fshort":"position.forward.short"},"baseball":{"Plong":"pitcher","Clong":"catcher","1Blong":"1stBase","2Blong":"2ndBase","3Blong":"3rdBase","SSlong":"shortstop","LFlong":"leftField","CFlong":"centerField","RFlong":"rightField","DHlong":"designatedHitter","SPlong":"startingPitcher","CPlong":"closer","PHlong":"pinchHitter","PRlong":"pinchRunner","BRlong":"baseRunner","OFlong":"outfield","IFlong":"infield","RPlong":"reliefPitcher","UTlong":"util","UIlong":"utilInfielder","UOlong":"utilOutfielder","RHPlong":"rhPitcher","LHPlong":"lhPitcher","RHSlong":"rhStarted","LHSlong":"lhStarter","LHRlong":"lhReliever","RHRlong":"rhReliever","Blong":"batter","Pshort":"position.pitcher.short","Cshort":"position.catcher.short","1Bshort":"position.1stBase.short","2Bshort":"position.2ndBase.short","3Bshort":"position.3rdBase.short","SSshort":"position.shortstop.short","LFshort":"position.leftField.short","CFshort":"position.centerField.short","RFshort":"position.rightField.short","DHshort":"position.designatedHitter.short","SPshort":"position.startingPitcher.short","CPshort":"position.closer.short","PHshort":"position.pinchHitter.short","PRshort":"position.pinchRunner.short","BRshort":"position.baseRunner.short","OFshort":"position.outfield.short","IFshort":"position.infield.short","RPshort":"position.reliefPitcher.short","UTshort":"position.util.short","UIshort":"position.utilInfielder.short","UOshort":"position.utilOutfielder.short","RHPshort":"position.rhPitcher.short","LHPshort":"position.lhPitcher.short","RHSshort":"position.rhStarted.short","LHSshort":"position.lhStarter.short","LHRshort":"position.lhReliever.short","RHRshort":"position.rhReliever.short","Bshort":"position.batter.short"},"american-football":{"Plong":"punter","PRlong":"puntReturner","LSlong":"longSnapper","Klong":"kicker","Tlong":"tackle","OTlong":"offensiveTackle","OLlong":"offensiveLineman","OGlong":"offensiveGuard","Glong":"amf.guard","Clong":"amf.center","QBlong":"quarterback","RBlong":"runningBack","FBlong":"fullback","TElong":"tightEnd","WRlong":"wideReceiver","SSlong":"strongSafety","SAFlong":"safety","FSlong":"freeSafety","DLlong":"defensiveLineman","DBlong":"defensiveBack","CBlong":"cornerBack","NTlong":"noseTackle","DTlong":"defensiveTackle","DElong":"defensiveEnd","OLBlong":"outsideLinebacker","MLBlong":"middleLinebacker","LBlong":"linebacker","ILBlong":"insideLinebacker","Pshort":"position.punter.short","PRshort":"position.puntReturner.short","LSshort":"position.longSnapper.short","Kshort":"position.kicker.short","Tshort":"position.tackle.short","OTshort":"position.offensiveTackle.short","OLshort":"position.offensiveLineman.short","OGshort":"position.offensiveGuard.short","Gshort":"position.amf.guard.short","Cshort":"position.amf.center.short","QBshort":"position.quarterback.short","RBshort":"position.runningBack.short","FBshort":"position.fullback.short","TEshort":"position.tightEnd.short","WRshort":"position.wideReceiver.short","SSshort":"position.strongSafety.short","SAFshort":"position.safety.short","FSshort":"position.freeSafety.short","DLshort":"position.defensiveLineman.short","DBshort":"position.defensiveBack.short","CBshort":"position.cornerBack.short","NTshort":"position.noseTackle.short","DTshort":"position.defensiveTackle.short","DEshort":"position.defensiveEnd.short","OLBshort":"position.outsideLinebacker.short","MLBshort":"position.middleLinebacker.short","LBshort":"position.linebacker.short","ILBshort":"position.insideLinebacker.short"},"handball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","RWlong":"rightWing","RWshort":"position.rightWinger.short","LWlong":"leftWing","LWshort":"position.leftWinger.short","RBlong":"rightBack","RBshort":"position.rightBack.short","LBlong":"leftBack","LBshort":"position.leftBack.short","CBlong":"handball_position_centre_back","CBshort":"position.centralBack.short","Plong":"pivot","Pshort":"position.pivot.short"},"cricket":{"BMlong":"position.batter","ARlong":"position.all.rounder","WKlong":"position.wicket.keeper","Blong":"position.bowler","BMshort":"position.batter","ARshort":"position.all.rounder","WKshort":"position.wicket.keeper","Bshort":"position.bowler"},"minifootball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","OFshort":"minifootball_outfield_player_short","OFlong":"minifootball_outfield_player","Fshort":"minifootball_outfield_player_short","Flong":"minifootball_outfield_player"},"volleyball":{"OHshort":"volleyball_player_position_outside_hitter_short","MBshort":"volleyball_player_position_middle_blocker_short","Lshort":"volleyball_player_position_libero_short","Oshort":"volleyball_player_position_opposite_short","Sshort":"volleyball_player_position_setter_short","OHlong":"volleyball_player_position_outside_hitter","MBlong":"volleyball_player_position_middle_blocker","Llong":"volleyball_player_position_libero","Olong":"volleyball_player_position_opposite","Slong":"volleyball_player_position_setter"}}');var d=n(91113);let c=e=>{let{id:t,fantasyShort:n,short:c,sport:u,gender:h=s.YT8.Male}=e,g=(0,i.useContext)(l.Ws),p=u||g,x=n&&p===s.QCR.Football?"fantasyShort":c||n?"short":"long",m=(0,d.O)(a,t+x,p,t);return(0,r.jsx)(o.A,{id:m,values:{gender:h}})}},61321:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(6029),s=n(18612),i=n(46787),o=n(76356);let l=e=>{let{start:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("rect",{x:"16",y:t+12,width:"38",height:"10"}),(0,r.jsx)("rect",{x:"16",y:t+24,width:"38",height:"10"}),(0,r.jsx)("rect",{x:"68",y:t+8,width:"1",height:"28"}),(0,r.jsx)("rect",{x:"79",y:t+8,rx:"2",ry:"2",width:148,height:"12"}),(0,r.jsx)("rect",{x:"79",y:t+24,rx:"2",ry:"2",width:172,height:"12"})]})},a=e=>{let{start:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("circle",{cx:"34",cy:t+22,r:"16"}),(0,r.jsx)("rect",{x:"68",y:t+8,rx:"2",ry:"2",width:56,height:"12"}),(0,r.jsx)("rect",{x:"68",y:t+24,rx:"2",ry:"2",width:220,height:"12"}),(0,r.jsx)(l,{start:t+44}),(0,r.jsx)("rect",{x:0,y:t+88+4,height:1,width:991})]})};function d(e){let{sport:t,initialEventCount:n=9,isHomePage:l}=e;return(0,r.jsx)(o.az,{overflow:"hidden",children:(0,r.jsx)(s.D,{height:l?t===i.QCR.Football?3500:1024:96*n,uniqueKey:"list-cl",children:Array.from({length:n}).map((e,t)=>(0,r.jsx)(a,{start:99*t+0},t))})})}},61924:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6029),s=n(76356),i=n(494),o=n(46222),l=n(37455);function a(){return(0,i.d4)(l.BF)?null:(0,r.jsxs)(o.Zp,{children:[(0,r.jsx)(o.Zp.Header,{titleId:"featured_odds",variant:"left-aligned"}),(0,r.jsx)(s.az,{h:"[320px]"})]})}},68385:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/eventList",function(){return n(36503)}])},69704:(e,t,n)=>{"use strict";n.d(t,{OR:()=>l.OR,Vj:()=>a.Vj,Yt:()=>a.Yt,Jx:()=>l.Jx,iJ:()=>l.iJ,xy:()=>i,jx:()=>o,h2:()=>s,M_:()=>l.M_,i6:()=>a.i6,g2:()=>a.g2,yS:()=>a.yS,pg:()=>a.pg,wt:()=>h,zx:()=>M,G_:()=>x,wA:()=>_,_3:()=>S,HD:()=>Y,Xc:()=>L,dZ:()=>H,_p:()=>G});var r=n(46787);let s=[r.QCR.Football,r.QCR.Basketball],i=[r.QCR.Football,r.QCR.Basketball],o=[r.QCR.Football,r.QCR.Basketball,r.QCR.Tennis];var l=n(57771),a=n(42561),d=n(494),c=n(45860),u=n(96016);function h(e,t,n){let s=(0,d.wA)(),i=(0,d.d4)(e=>{var n;return null==(n=e.uicontrols.showAllByDate)?void 0:n[t]}),{data:o,isLoading:l}=(0,c.Ay)(e===r.QCR.Football&&i?r.t3g.eventsByDate(e,t,"inverse"):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async e=>(await (0,r.TtD)(e)).events.filter(n),onSuccess:e=>{s((0,u.oU)(e))}});return{additionalEvents:o,isLoading:l}}var g=n(55729),p=n(18153);let x=()=>{let e=(0,d.wA)();return(0,g.useCallback)((t,n,r)=>{r||(t.preventDefault(),e((0,p.VX)(n)))},[])};var m=n(55955),v=n(78383),f=n.n(v),y=n(68789),j=n(60682),b=n(15578);let C=e=>"list:".concat(e,":odds");function _(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[s,i]=(0,g.useState)(),o=(0,y.Ae)(),[l]=(0,j.Z)(o,n),a=(0,d.d4)(e=>e.uicontrols.showListOdds),u=o?o.provider:null,{data:h}=(0,c.Ay)(u&&a&&l?r.t3g.oddsByDate(e,l,t):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0}),[p]=(0,m.vQ)(b.z);return(0,g.useEffect)(()=>{i(h?h.odds:void 0)},[h&&h.odds]),(0,g.useEffect)(()=>{if(a&&p){let t=p.Topic.odds.bySportAndMarket(e,1),n=(0,m.pO)(C(e),t,e=>{if(!s||!p)return;let t=e.id,n=null;for(let e in s)if(s[e].id===t){n=e;break}if(n){let t=e["choice1.fractionalValue"];t&&(s[+n].choices[0].fractionalValue=t);let r=e["choice2.fractionalValue"];if(r&&(s[+n].choices[1].fractionalValue=r),3===s[+n].choices.length){let t=e["choice3.fractionalValue"];t&&(s[+n].choices[2].fractionalValue=t)}i({...s})}});p.subscribe(n)}},[s,p,a]),(0,g.useEffect)(()=>{if(!p||!a)return;let t=p.Topic.odds.bySportAndMarket(e,1),n=(0,m.pO)(C(e),t,f()),r=p.subscribe(n);return()=>{r()}},[e,p,a]),s}var A=n(13731),w=n.n(A),T=n(831),R=n.n(T),k=n(54521);let S=(e,t,n)=>{let s=[...(0,d.d4)(e=>e.favorites.lists[r.bq7.Tournaments],d.bN),...(0,d.d4)(e=>e.favorites.lists[r.bq7.MutedTournaments],d.bN)],i=[...(0,d.d4)(e=>e.favorites.lists[r.bq7.Teams],d.bN),...(0,d.d4)(e=>e.favorites.lists[r.bq7.MutedTeams],d.bN)],o=(0,k.C)(),l=(0,d.d4)(e=>{var t;return null==(t=e.favorites._persist)?void 0:t.rehydrated}),a=(0,g.useMemo)(()=>null==n?void 0:n.reduce((e,t)=>{let n=t.tournament.id;return n&&!e.includes(n)&&e.push(n),e},[]),[n]),c=(0,g.useMemo)(()=>{let r=(null==n?void 0:n.filter(e=>e.tournament.uniqueTournament&&s.includes(e.tournament.uniqueTournament.id)||i.includes(e.homeTeam.id)||i.includes(e.awayTeam.id)))||[],l=Object.values(o).filter(n=>t(n)&&n.tournament.category.sport.slug===e),d=R()([...r,...l],e=>e.id),c=w()(d,e=>e.tournament.id);return Object.keys(c).sort((e,t)=>{if(a){let n=a.findIndex(t=>String(t)===e),r=a.findIndex(e=>String(e)===t);return n<0&&r>-1?1:r<0&&n>-1?-1:n-r}return 0}).flatMap(e=>c[e].sort((e,t)=>e.startTimestamp-t.startTimestamp))},[o,n,a,t]);return{favoriteDateEvents:c.length?c:void 0,isLoading:!l}};function L(e){let{listType:t,sport:n,date:s,category:i,eventsByDateFilter:o}=e,a=(0,d.wA)();(0,g.useEffect)(()=>{if(t===l.iJ.Category&&!i)return;let e="list:".concat(n,":").concat(t),d=((e,t,n,s)=>{switch(e){case l.iJ.Regular:return r.t3g.eventsByDate(t,n);case l.iJ.Category:return s?r.ZXN.scheduledEvents(s.id,n):null;case l.iJ.Live:return r.t3g.liveEvents(t);default:return null}})(t,n,s,i);if(d)return a((0,u.vB)({entities:n,refreshTaskId:e},{fetchFunction:c,interval:6e4})),()=>{a((0,u.tM)(e))};async function c(){try{let e=await (0,r.TtD)(d);return{events:t===l.iJ.Live?e.events:e.events.filter(o)}}catch(e){return console.error("Couldn't repo refresh sport list events"),{events:[]}}}},[n,t,i])}var E=n(72753);function M(e,t,n){let s=(0,d.d4)(E.LQ),i=(0,d.wA)(),{data:o,error:l}=(0,c.Ay)(s?[r.t3g.eventsByDate(e,t),s]:null,{refreshInterval:6e4,revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async t=>{let[s,i]=t,[o,l]=await Promise.allSettled([(0,r.TtD)(s),(0,r.TtD)(r.PTD.defaultUniqueTournaments(i,e))]);if("rejected"===o.status)throw Error(o.reason);let a=o.value.events.filter(n);if("fulfilled"===l.status){let e=l.value.uniqueTournaments.filter(e=>e.category.alpha2===i).map(e=>e.id).reduce((e,t,n)=>(e[t]=n,e),{});return a.sort((t,n)=>{var r,s;let i=null==(r=t.tournament.uniqueTournament)?void 0:r.id,o=null==(s=n.tournament.uniqueTournament)?void 0:s.id;if(!i||!o||i===o)return 0;let l=i in e,a=o in e;return l&&a?e[i]-e[o]:l?-1:+!!a})}return a},onSuccess:e=>{i((0,u.oU)(e))}});return{events:o,isLoading:!o&&!l}}var F=n(22375),B=n(10174),O=n(81278),Q=n(31830),D=n(64006),P=n(37455),I=n(95084),z=n(14831);function H(e){let{sport:t,date:n,listType:s,categorySlug:i}=e,[o,a]=(0,z.bL)("main_page.active_tab","all"),[c,u]=(0,z.bL)("main_page.time_status_filter",l.M_.Any,!1),[h,x]=(0,g.useState)(l.OR.Any),[m,v]=(0,g.useState)(r.YT8.Mixed),[f,y]=(0,g.useState)(new Date(Date.parse("".concat(n,"T12:00")))),[j,b]=(0,g.useState)(!1),C=(0,d.wA)(),_=(0,O.useRouter)(),A=(0,Q.A)(),{isMobile:w}=(0,B.$c)(),T=(0,d.d4)(P.BF),R=(0,d.d4)(P.v_),k=(0,d.d4)(P.yB),S=(0,d.d4)(P.zV),L=c===l.M_.Live,E=T||R||S&&L,M=k&&!E,H=(0,F.UG)(new Date),G=(0,g.useCallback)(()=>{(0,I.o$)(!M),C((0,p._1)())},[M]),Y=(0,g.useCallback)(()=>{u(l.M_.Any),x(l.OR.Any),v(r.YT8.Mixed),y(new Date(Date.parse("".concat(n,"T12:00"))))},[n]);(0,g.useEffect)(()=>{Y()},[t,s,n]),(0,g.useEffect)(()=>{let e=()=>{j&&b(!1)};return _.events.on("routeChangeComplete",e),()=>{_.events.off("routeChangeComplete",e)}},[_,j]);let J=(0,g.useCallback)(e=>{if(!e)return;let r=(0,F.UG)(e),o=s===l.Jx.CATEGORY;if(r===n)return void u(l.M_.Any);let a={sport:t,date:r,category:i};o||delete a.category,r===H&&delete a.date,(0,D.zw)(A,o?l.Jx.CATEGORY:l.Jx.DATE,a),b(!0),(0,I.Vu)()},[_.asPath,c]);return(0,g.useEffect)(()=>{w&&a("all")},[w]),{activeTab:o,timeStatus:(0,F.cK)(f)?c:l.M_.Any,competitionLevel:h,gender:m,areOddsVisible:M,isOddsToggleDisabled:E,sport:t,date:f,onChange:e=>{switch(e.name){case"timeStatus":u(e.value);break;case"advanced":x(e.value.competitionLevel),v(e.value.gender);break;case"areOddsVisible":G();break;case"activeTab":a(e.value);break;case"date":J(e.value)}"areOddsVisible"!==e.name&&window.scrollTo(0,0)}}}function G(e,t){let{data:n}=(0,c.Ay)(r.t3g.eventCount(),{refreshInterval:2e4,revalidateOnFocus:!0}),[s,i]=(0,g.useState)(0),{live:o}=(null==n?void 0:n[e])||{live:0};return(0,g.useEffect)(()=>{t||i(o)},[o,t]),{liveCount:s,setLiveCount:i}}let Y=(e,t)=>{var n;let s=(0,d.d4)(P.zV),{data:i,error:o,isLoading:l}=(0,c.Ay)(e&&t?r.npy.featuredSportEvents(t,e):null,{refreshInterval:6e4});return{featuredEvents:null==i||null==(n=i.featuredEvents)?void 0:n.filter(e=>!s||e.status.type!==r.XUj.InProgress),error:o,isLoading:l}}},71689:(e,t,n)=>{"use strict";n.d(t,{k:()=>h});var r=n(6029),s=n(94446),i=n(46787),o=n(76356),l=n(74664),a=n(94008),d=n(67020),c=n(6057);let u={player:{[i.QCR.Football]:[826643,108579,839956,856714,991011],[i.QCR.Basketball]:[940794,1092929,861608,998725,817199]},team:{[i.QCR.Football]:[4698,4819,2829,2672,17],[i.QCR.Basketball]:[3417,3418,3427,3428,3422],[i.QCR.Tennis]:[206570,275923,14882,385485,192013]}};function h(e){let{entityType:t}=e,n=(0,l.o)(),h=u[t][n],g="player"===t?s.t:s.p;return(0,r.jsx)(a.A,{routeKey:"comparison",query:(0,d.k9)([]),params:{sport:n,entityType:t},children:(0,r.jsx)(c.O,{ctaTextId:"player"===t||n===i.QCR.Tennis?"compare_players":"compare_teams",children:(0,r.jsxs)(o.so,{gap:"sm",children:[(0,r.jsxs)(o.so,{gap:"sm",p:"sm",bg:"surface.s2",br:"xl",children:[(0,r.jsx)(g,{id:h[0],size:32}),(0,r.jsx)(g,{id:h[1],size:32}),"player"===t&&(0,r.jsx)(g,{id:h[2],size:32})]}),(0,r.jsxs)(o.so,{gap:"sm",p:"sm",bg:"surface.s2",br:"xl",children:["team"===t&&(0,r.jsx)(g,{id:h[2],size:32}),(0,r.jsx)(g,{id:h[3],size:32}),(0,r.jsx)(g,{id:h[4],size:32})]})]})})})}},78492:(e,t,n)=>{var r=n(50956);e.exports=function(e,t,n,s){return r(e,function(e,r,i){t(s,e,n(e),i)}),s}},81349:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,d:()=>u});var r=n(46787),s=n(494),i=n(45860),o=n(90438),l=n(37455),a=n(72753),d=n(79082);let c=(e,t)=>{let[n]=(0,d.Ay)({routeKey:o.xW.Betting,params:{}}),s=(null==n?void 0:n.boostId)?+n.boostId:void 0,l=null==t?void 0:t.betBoosts.find(e=>e.event.id===s),{data:a}=(0,i.Ay)(s&&!l?r.bnp.betBoost(s,e):null);return{selectedBoost:null==a?void 0:a.betBoost,selectedEventId:s}},u=()=>{let e=(0,s.d4)(a.LQ);return(0,s.d4)(l.Zw)&&"IT"!==e}},81648:e=>{e.exports=function(e,t,n,r){for(var s=-1,i=null==e?0:e.length;++s{"use strict";n.d(t,{g:()=>r});let r=e=>e.branding.config},91476:(e,t,n)=>{"use strict";n.d(t,{J:()=>r,x:()=>s});let r="bonus-odds-cta-seen",s="bet-boost-cta-seen"},96688:(e,t,n)=>{"use strict";function r(e){let t=(null==e?void 0:e.toLowerCase())||"",n=["hr","es","pt"].includes(t);return"https://corporate.sofascore.com".concat(n?"/".concat(t):"","/about/rating")}n.d(t,{y:()=>r})}},e=>{e.O(0,[14092,56591,28446,14632,83170,35597,52185,56587,17135,36678,20288,24649,36701,3074,83716,73240,32935,65062,19475,96175,85129,25479,10313,34494,90636,46593,38792],()=>e(e.s=68385)),_N_E=e.O()}]);