!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]="da3a4952-38eb-4eb5-acae-0e17d771b845",e._sentryDebugIdIdentifier="sentry-dbid-da3a4952-38eb-4eb5-acae-0e17d771b845")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[66735,86640],{173:(e,t,n)=>{"use strict";n.d(t,{z:()=>g,K:()=>h});var r=n(6029),s=n(20325),a=n(55729),l=n(494),i=n(18970),o=n(79375),d=n(51569);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),x=n(37455),p=n(72753);let m=e=>{let{provider:t}=e;return(0,r.jsx)(s.az,{position:"relative",px:"lg",py:"sm",children:(0,r.jsx)(o.A,{provider:t})})},g=e=>{let{showTailingRegulation:t,provider:n}=e,a=(0,l.d4)(p.LQ);return(0,l.d4)(x.BF)?null:"GR"===a&&t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.so,{justify:"center",children:(0,r.jsx)(u.A,{})}),(0,r.jsx)(m,{provider:n})]}):"AR"===a?(0,r.jsxs)(s.BJ,{gap:"sm",children:[(0,r.jsx)(m,{provider:n}),(0,r.jsx)(c,{})]}):(0,r.jsx)(m,{provider:n})},h=e=>{let{showTailingRegulation:t,provider:n}=e,{event:s}=(0,a.useContext)(i.y$),o=(0,l.d4)((0,x.Ul)(s)),d=(0,l.d4)((0,x.bS)(s)),c=(0,l.d4)(x.BF);return o||d||c?(0,r.jsx)(g,{showTailingRegulation:t,provider:n}):null}},2920:(e,t,n)=>{"use strict";n.d(t,{C:()=>x.C,A:()=>u});var r=n(6029),s=n(51569),a=n(78383),l=n.n(a),i=n(55729),o=n(90248),d=n(95084),c=n(18858);function u(e){let{id:t,location:n,initialTabKey:a,onChange:u=l(),tabs:x,children:p,customControls:m,noSportMenu:g,eventStatusType:h,seasonId:v,disableAnalytics:y}=e,{isMobile:j}=(0,s.$c)(),[f,b]=((e,t)=>{let n=(0,i.useState)(e);return t||n})(a,m),C=(0,c.Ay)({isSportMenuVisible:!g,isInMobileTabs:!1});return(0,i.useEffect)(()=>{f!==a&&b(a)},[t,n,v]),(0,r.jsxs)(s.tU,{variant:"primary",onChange:e=>{f!==e&&(b(e),u(e),j&&window.scrollTo({left:0,top:0}))},initialValue:f,value:f,fullWidthTabs:!0,children:[(0,r.jsx)(s.PI,{top:C,isStickingDisabled:!j,verticalAlign:"top",mdDown:{bg:"surface.s1",borderBottom:"1px solid",borderColor:"elevation.elevation1"},children:(0,r.jsx)(s.tU.List,{children:x.filter(e=>!e.isHidden).map(e=>(0,r.jsx)(s.tU.Tab,{tabKey:e.tabKey,onClick:r=>r.nativeEvent.isTrusted&&!y&&e.tabKey!==f?(0,d.yy)({type:e.tabKey,id:t,location:n,status:h}):void 0,children:(0,r.jsx)("a",{href:"#tab:".concat(e.tabKey),onClick:e=>e.preventDefault(),style:{color:"inherit"},children:"string"==typeof e.item?(0,r.jsx)(o.A,{id:e.item,values:e.values}):e.item})},"".concat(t,"-").concat(e.tabKey)))})}),p]},t)}var x=n(56132)},5195:(e,t,n)=>{"use strict";n.d(t,{M:()=>E});var r=n(6029),s=n(94565),a=n(11219),l=n(55729),i=n(46787),o=n(45860),d=n(59721),c=n(51569),u=n(20325),x=n(90248),p=n(15340),m=n(36882),g=n(82346);let h=e=>{let{all:t,live:n}=e;return(0,r.jsxs)(u.so,{shrink:0,children:[n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.EY,{textStyle:"body.small",color:"status.live",children:n}),(0,r.jsx)(c.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:"/"})]}),void 0!==t&&(0,r.jsx)(c.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:t})]})};var v=n(22375);let y=e=>{let{ut:t,totalCount:n,liveCount:s}=e;return(0,r.jsx)(a.tQ,{tournament:t,children:(0,r.jsxs)(u.so,{justify:"space-between",align:"center",cursor:"pointer",px:{base:"xl",md:"lg"},py:{base:"md",md:"sm"},_hover:{bg:"surface.s2"},gap:"sm",children:[(0,r.jsxs)(u.so,{gap:"lg",align:"center",style:{width:"calc(100% - 90px)"},children:[(0,r.jsx)(d.e,{id:t.id,name:t.name,size:"xl"}),(0,r.jsx)(c.EY,{textStyle:"body.large",truncate:!0,children:(0,r.jsx)(g.O,{uniqueTournament:t})})]}),(0,r.jsxs)(u.so,{gap:"md",align:"center",children:[n&&s&&(0,r.jsx)(h,{all:null==n?void 0:n[t.id],live:null==s?void 0:s[t.id]}),(0,r.jsx)(p.e,{id:t.id,entity:i.bq7.Tournaments,location:m.y.MainLeagues,type:m.b.UniqueTournament})]})]},t.id)})},j=e=>{let{category:t,utGroups:n,date:s}=e,{totalCount:l,liveCount:d}=((e,t)=>{let{data:n}=(0,o.Ay)(i.ZXN.countByUniqueTournaments(e,(0,v.UG)(t),3600*(0,v.UW)())),{data:r}=(0,o.Ay)((0,v.cK)(t)?i.ZXN.liveCountByUniqueTournaments(e):null);return{totalCount:null==n?void 0:n.uniqueTournamentEventCount,liveCount:null==r?void 0:r.liveUniqueTournaments}})(t.id,s),p=Array.from(new Map(n.flatMap(e=>e.uniqueTournaments).map(e=>[e.id,e])).values());return(0,r.jsxs)(u.so,{direction:"column",bg:"surface.s2",children:[p.map(e=>(0,r.jsx)(y,{ut:e,totalCount:l,liveCount:d},e.id)),(0,r.jsx)(a.Z6,{category:t,children:(0,r.jsx)(u.az,{px:{base:"[64px]",sm:"[56px]"},py:{base:"md",md:"md"},_hover:{bg:"surface.s2"},children:(0,r.jsx)(c.EY,{textStyle:"body.large",children:(0,r.jsx)(x.A,{id:"all"})})})})]})},f=e=>{let{category:t,onAsyncComplete:n,date:s,updateContentHeight:a}=e,{data:d}=(0,o.Ay)(i.ZXN.uniqueTournaments(t.id),{onSuccess:e=>n(e.groups)});return((0,l.useEffect)(()=>{null==a||a()},[d]),d)?(0,r.jsx)(j,{category:t,date:s,utGroups:d.groups}):null},b=(0,l.memo)(e=>{let{opened:t,category:n,date:s,updateContentHeight:a}=e,i=(0,l.useRef)(void 0);return i.current?(0,r.jsx)(j,{category:n,utGroups:i.current,date:s}):t?(0,r.jsx)(f,{category:n,date:s,updateContentHeight:a,onAsyncComplete:e=>{i.current=e}}):null},(e,t)=>e.opened===t.opened);var C=n(8329),A=n(52466),T=n(60475);let w=e=>{let{opened:t,category:n,eventsCount:s,toggleAccordion:a}=e;return(0,r.jsxs)(u.so,{cursor:"pointer",w:"100%",align:"center",justify:"space-between",gap:"md",border:"none",onClick:a,py:"md",px:{base:"xl",md:"lg"},bg:{md:t?"primary.highlight":"surface.s1",_hover:t?"primary.highlight":"surface.s2"},br:{mdDown:"sm"},children:[(0,r.jsxs)(u.so,{justify:"space-between",align:"center",gap:"sm",grow:1,children:[(0,r.jsxs)(u.so,{gap:"lg",align:"center",children:[(0,r.jsx)(C.w,{alpha2:n.alpha2,name:n.name,categoryId:n.id,size:24,loading:"lazy"}),(0,r.jsx)(c.EY,{textStyle:"body.large",children:(0,r.jsx)(T.md,{slug:n.slug,name:n.name,fieldTranslations:n.fieldTranslations})})]}),(0,r.jsx)(h,{all:null==s?void 0:s.all,live:null==s?void 0:s.live})]}),(0,r.jsx)(u.az,{w:"xl",h:"xl",flexShrink:0,children:(0,r.jsx)(A.zQC,{icon:"chevron-down",color:t?"primary.default":"neutrals.nLv3",style:{transition:"0.2s all",transform:"rotate(".concat(180*!!t,"deg)")}})})]})},R=e=>{1!==e.button&&e.preventDefault()},_=e=>{let{category:t,date:n,eventsCount:l}=e;return(0,r.jsxs)(s.nD.Item,{br:["sm",0],bg:["surface.s1",void 0],elevation:[2,void 0],children:[(0,r.jsx)(a.Z6,{category:t,onClick:R,children:(0,r.jsx)(s.nD.Trigger,{children:e=>{let{opened:n,toggleAccordion:s}=e;return(0,r.jsx)(w,{opened:n,category:t,eventsCount:l,toggleAccordion:s})}})}),(0,r.jsx)(s.nD.Content,{children:e=>{let{opened:s,updateContentHeight:a}=e;return(0,r.jsx)(b,{opened:s||!1,category:t,date:n,updateContentHeight:a})}})]})},E=e=>{let{sport:t,date:n,categories:a}=e,l=((e,t)=>{let{data:n}=(0,o.Ay)(i.t3g.categoriesByDate(e,(0,v.UG)(t))),{data:r}=(0,o.Ay)((0,v.cK)(t)?i.t3g.liveCategoryEvents(e):null);return function(e,t){if(!e)return;let n=e.categories,r=null==t?void 0:t.liveCategories,s={};return n.forEach(e=>{let t=e.category.id;s[t]={all:e.totalEvents,live:r?r[t]:void 0}}),s}(n,r)})(t,n);return(0,r.jsx)(s.nD,{children:a.map(e=>(0,r.jsx)(_,{category:e,date:n,eventsCount:null==l?void 0:l[e.id]},e.id))})}},6057:(e,t,n)=>{"use strict";n.d(t,{O:()=>d});var r=n(6029),s=n(51569),a=n(20325),l=n(90248),i=n(46222),o=n(52466);function d(e){let{ctaTextId:t,ctaText:n,children:d}=e;return t||n?(0,r.jsx)(i.Zp,{children:(0,r.jsxs)(a.so,{justify:"space-between",align:"center",px:"lg",py:"sm",br:"lg",_hover:{bg:"surface.s2"},children:[d,(0,r.jsxs)(a.so,{align:"center",gap:"xs",children:[(0,r.jsx)(s.EY,{textStyle:"display.small",color:"primary.default",children:t?(0,r.jsx)(l.A,{id:t}):n}),(0,r.jsx)(o.CCT,{color:"primary.default"})]})]})}):null}},17554:(e,t,n)=>{"use strict";n.d(t,{E5:()=>i,fz:()=>o,hE:()=>d});var r=n(6029),s=n(51569),a=n(90248),l=n(49188);function i(e){let{children:t,title:n,titleValues:i,titleHidden:o}=e;return t?(0,r.jsxs)(l.E,{children:[!o&&n&&(0,r.jsx)(s.H2,{textStyle:"display.medium",mb:"md",children:(0,r.jsx)(a.A,{id:n,values:i})}),t]}):null}function o(e){let{id:t,values:n}=e,l={...n||{},bold:function(){for(var e=arguments.length,t=Array(e),n=0;n{"use strict";n.d(t,{D:()=>d});var r=n(6029),s=n(20325),a=n(6813),l=n(56132),i=n(85974);let o=e=>{switch(e){case l.x.Teams:return"teams";case l.x.Athletes:return"athletes";case l.x.Events:return"events";case l.x.Competitions:return"competitions";default:return"all"}},d=e=>{let{entity:t,searchAll:n=!1,hasFavoriteTeams:d=!1}=e,c=t===l.x.Events&&d;return(0,r.jsx)(s.az,{pt:{base:"sm",md:"[0px]"},px:{base:"sm",md:"[0px]"},children:(0,r.jsx)(a.p,{graphic:c?"no-events-calendar":void 0,titleMessageId:c?"no_upcoming_events":t===l.x.Events?"add_items_to_favourites":"select_favourite_".concat(o(t)),descriptionMessageId:c?"no_upcoming_events_description":t===l.x.Events?"add_items_to_favourites_description":"select_favourite_".concat(o(t),"_description"),children:!c&&(0,r.jsx)(s.az,{pt:"xl",children:(0,r.jsx)(i.M,{searchEntity:n?l.x.All:t})})})})}},29347:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(6029),s=n(22375),a=n(20325),l=n(55729),i=n(46222),o=n(18970),d=n(40148),c=n(64250),u=n(54365),x=n(71689),p=n(61924),m=n(45586),g=n(45719),h=n(69704);function v(e){let{date:t,category:n,listType:v}=e,y=(0,l.useContext)(o.Ws),j=(0,c.SR)(y,(0,s.UG)(t)),f=h.h2.includes(y),b=h.xy.includes(y),C=h.jx.includes(y);return(0,r.jsxs)(r.Fragment,{children:[j.length>0?(0,r.jsx)(c.Or,{date:(0,s.UG)(t),tournaments:j}):(0,r.jsx)(d.d,{}),(0,r.jsx)(m.w,{}),f&&(0,r.jsx)(g.h,{}),b&&(0,r.jsx)(x.k,{entityType:"player"}),C&&(0,r.jsx)(x.k,{entityType:"team"}),(0,r.jsx)(p.A,{}),(0,r.jsx)(i.Zp,{children:(0,r.jsx)(a.az,{h:"[272px]"})}),n&&y?(0,r.jsx)(u._,{sport:y,category:n}):v===h.Jx.BASE?(0,r.jsx)(u.a,{}):null]})}},30774:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(947),s=n(80055),a=n(97431),l=n(79154);let i={};function o(e){let t=(0,r.A)();if(i[e.id])return i[e.id];let n=(0,s.s)(e,t.locale,{skipFallback:!0});if(n)return i[e.id]=n,n;let o=(0,a.t)(e.name,e.category.sport.slug,t);if(!e.uniqueTournament)return i[e.id]=o,o;let d=l[e.uniqueTournament.id.toString()];if(d){let n=e.uniqueTournament.name,r=t.formatMessage({id:d});o=o.replace(new RegExp("\\b".concat(n,"\\b")),r)}return i[e.id]=o,o}},32019:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,Z:()=>l});var r=n(494),s=n(86522);let a=(e,t,n)=>{var r,s,a;let l=null==(r=e.tournament.uniqueTournament)?void 0:r.id;if(l&&(null==n||null==(a=n.uniqueTournaments)||null==(s=a[l])?void 0:s[t]))return null==n?void 0:n.uniqueTournaments[l]},l=(e,t)=>a(e,t,(0,r.d4)(s.g))},36503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ta});var r=n(6029),s=n(22375),a=n(46787),l=n(88715),i=n(97825),o=n(7763),d=n(18153),c=n(75040),u=n(69704);let x=[a.QCR.Football,a.QCR.Basketball,a.QCR.Baseball,a.QCR.Handball,a.QCR.IceHockey,a.QCR.TableTennis,a.QCR.Tennis,a.QCR.Volleyball],p=o.Ay.getInitialPageProps(e=>async t=>{let r,s=t.req?t.req._originalUrl:t.asPath,o=(0,c.a)(t,s),p=o||a.QCR.Football,m=(0,c.l)(t,"date"),g=(0,c.l)(t,"category"),h=u.Jx.BASE;m&&(h=u.Jx.DATE),g&&(h=u.Jx.CATEGORY);let v=l.z.getCurrentLocale(s);t.res&&s&&(h===u.Jx.BASE&&(null==o?void 0:o.toLowerCase())===a.QCR.Football&&(t.res.writeHead(301,{Location:l.z.getTranslatedRoute(v,"home").route}),t.res.end()),/[A-Z]/.test(p)&&(t.res.writeHead(301,{Location:s.toLowerCase()}),t.res.end()));let[y,j,f]=await Promise.allSettled([a.Tps.fetchSportCategories(p,!0),a.sdF.getEntityMeta(a.wNW.Sport,p,v),x.includes(p)?a.sdF.getSeoContent(a.wNW.Sport,p,v):Promise.reject()]);if(g&&t.res){if("rejected"===y.status||!y.value.categories.find(e=>e.slug===g))return t.res.statusCode=404,{error:Error("Category not found")};r=y.value.categories.find(e=>e.slug===g)}let b="fulfilled"===j.status?j.value.entityMeta:void 0,C="fulfilled"===f.status?f.value.content:void 0,A=(await n(23498)("./route.".concat(h,".json"))).default;return e.dispatch((0,i.Od)(A)),e.dispatch((0,d.Vy)(p)),{listType:h,sport:p,date:m,initialCategory:r,categorySlug:g,meta:b,seoContent:C}});var m=n(20325),g=n(18970),h=n(90438),v=n(52763),y=n(20945),j=n(4917),f=n(173),b=n(68789),C=n(55729),A=n(90248),T=n(45860),w=n(88658),R=n(74664),_=n(60475),E=n(11219),Q=n(99306);function k(e){var t;let{category:n,listType:s}=e,{meta:l,seoContent:i}=(0,C.useContext)(j.x),o=(0,R.o)(),{data:d}=(0,T.Ay)("string"==typeof n?a.t3g.categories(o,!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||""},x=(0,r.jsx)(w.B,{noBg:!0,children:(0,r.jsx)(w.B.Title,{children:(null==i?void 0:i.heading)||(null==l?void 0:l.h1)||(0,r.jsx)(A.A,{id:s===u.Jx.BASE||s===u.Jx.DATE?"headerTitle.main":"",values:{item:(0,r.jsx)(Q.o,{sportSlug:o})}})})});if(n){let e="object"==typeof n?n.slug:n;x=(0,r.jsxs)(w.B,{noBg:!0,children:[(0,r.jsx)(w.B.Item,{children:(0,r.jsx)(E.di,{translatedParams:{sport:o},children:(0,r.jsx)(Q.o,{sportSlug:o})})}),(0,r.jsx)(w.B.Item,{children:(0,r.jsx)(E.N_,{routeKey:"eventList.category",params:{sport:o,category:e},children:(0,r.jsx)(_.md,{...c})})}),(0,r.jsx)(w.B.Title,{children:(0,r.jsx)(A.A,{id:"headerTitle.main",values:{item:(0,r.jsx)(Q.o,{sportSlug:o})}})})]})}return(0,r.jsx)(m.az,{px:{mdDown:"sm"},pt:{mdDown:"sm"},children:x})}var S=n(494),M=n(46222),L=n(66735),F=n(72753),D=n(14868),I=n(6813),z=n(16503),B=n(51569),O=n(79634),Y=n(86522),P=n(53255),H=n(41735);let U=e=>{let{branding:t,children:n,isLast:s,...a}=e,l=(0,H.useTheme)();return t?(0,r.jsx)(m.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[l.name]},...a,children:n}):(0,r.jsx)(r.Fragment,{children:n})};var q=n(32019),J=n(36678),N=n(49988),G=n(37455),V=n(88505),K=n(96662),Z=n(81813);let W={11:(0,r.jsx)(K.i,{id:Z.Rj.MOBILE_HOME_LIST_TOP}),49:(0,r.jsx)(K.i,{id:Z.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)(m.so,{align:"center",style:{height:n},children:(0,r.jsxs)(m.az,{h:"[36px]",flexGrow:1,borderInline:"1px solid {colors.neutrals.nLv4}",ml:"[74px]",mr:"[50px]",px:"sm",children:[(0,r.jsxs)(m.so,{align:"center",maxW:"[200px]",mb:"2xs",overflow:"hidden",children:[t.homeTeam.type===a.YVh.Double?null:(0,r.jsx)(B._V,{width:"lg",height:"lg",mr:"sm",src:"/static/images/placeholders/team.svg",alt:"Team image placeholder"}),(0,r.jsx)(B.Ym,{truncate:!0,children:(0,r.jsx)(V.Rm,{team:s?t.awayTeam:t.homeTeam,short:!0})})]}),(0,r.jsxs)(m.so,{align:"center",maxW:"[200px]",overflow:"hidden",children:[t.homeTeam.type===a.YVh.Double?null:(0,r.jsx)(B._V,{width:"lg",height:"lg",mr:"sm",src:"/static/images/placeholders/team.svg",alt:"Team image placeholder"}),(0,r.jsx)(B.Ym,{truncate:!0,children:(0,r.jsx)(V.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:l}=e,{mutate:i}=(0,T.iX)(),{isMobile:o}=(0,B.$c)(),{showAds:d,odds:c}=(0,C.useContext)(L.e),u=(0,S.d4)(G.v_),x=(0,S.d4)(G.yB)&&!u,p=(0,S.d4)(F.hT),g=(0,S.d4)(Y.g),h=(0,C.useMemo)(()=>t||J.gY,[]),v=(0,C.useMemo)(()=>n||X.sm,[]);(0,C.useEffect)(()=>{i(a.t3g.eventCount())},[i,l.length]);let y=(0,C.useMemo)(()=>{let e=[],t=new Map;l.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,a]=t,i=a[0],c=(0,q.C)(i,"eventList",g),u=a.some(e=>e.tournament.groupSign),x=u?a.reduce((e,t)=>{let n=t.tournament.groupSign||"Default";return e[n]||(e[n]=[]),e[n].push(t),e},{}):{All:a};if(!u||u&&i){var p,m;e.push({type:"header",tournament:{...i.tournament,name:u&&(null==(m=i.tournament)||null==(p=m.uniqueTournament)?void 0:p.name)||i.tournament.name},branding:c})}let h=Object.entries(x);h.forEach((t,n)=>{let[r,s]=t;"All"!==r&&e.push({type:"groupHeader",tournament:{...s[0].tournament,name:"Group ".concat(r)},branding:c}),s.forEach((t,a)=>{let i=a===s.length-1,c="All"===r?i:i&&n===h.length-1,u=(0,q.C)(t,"eventList",g),x=l.findIndex(e=>e.id===t.id);e.push({type:"event",event:t,branding:u,isLastBrandedSectionEvent:c}),d&&o&&W[x]&&e.push({type:"ad",adUnit:W[x],branding:0===x?void 0:u})})}),r{var l,d,u,g,j,f,b,C;let T=e.isInCard?void 0:"sm";switch(t.type){case"header":let w=t.branding,R=y.find((e,t)=>t>n&&"event"===e.type);return(0,r.jsxs)(O.q,{initialVisible:n<30,defaultHeight:w?72:48,children:[w&&(null==(d=t.tournament)||null==(l=d.uniqueTournament)?void 0:l.id)&&(0,r.jsx)(P.O,{entityId:t.tournament.uniqueTournament.id,branding:w,br:"[{spacing.lg} {spacing.lg} 0 0]",overflow:"hidden",mx:T,location:"main_list"}),(0,r.jsx)(U,{branding:w,mx:T,children:(0,r.jsx)(v,{tournament:t.tournament,seasonId:null==R||null==(g=R.event)||null==(u=g.season)?void 0:u.id})})]},t.type+(null==(j=t.tournament)?void 0:j.id));case"event":let _=t.event,E=null==(f=_.tournament)?void 0:f.category.sport.slug,Q=E===a.QCR.Cricket,k=E===a.QCR.AmericanFootball&&_.status.type===a.XUj.InProgress,S=Q||k?68:48,M=t.isLastBrandedSectionEvent;return(0,r.jsx)(U,{branding:t.branding,isLast:M,pb:M?"sm":void 0,mx:T,children:(0,r.jsx)(O.q,{initialVisible:n<30,defaultHeight:S,loader:Q?void 0:(0,r.jsx)(et,{event:_,height:S}),children:(0,r.jsx)(J.MC,{value:{invertedMenu:y.length-n<=2,showOdds:x,location:ee.y.MainMatches},children:(0,r.jsx)(h,{event:_,onClick:s,isMobile:o,mutate:()=>{p&&window.setTimeout(()=>{i(a.t3g.liveEvents(p))},N.s.Total+200)},odds:c?c[_.id]||{loaded:!0}:void 0},_.id)})})},t.type+_.id);case"divider":return(0,r.jsx)(m.az,{h:"[1px]",bg:"neutrals.nLv4",mt:"sm"},"divider-".concat(n));case"ad":return(0,r.jsx)(U,{branding:t.branding,mx:T,children:t.adUnit},"ad-unit-".concat(n));case"groupHeader":return(0,r.jsx)(U,{branding:t.branding,mx:T,children:(0,r.jsx)(m.az,{px:"lg",pt:"md",pb:"sm",children:(0,r.jsx)(B.EY,{textStyle:"display.micro",children:(0,r.jsx)(A.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 ea(e){return void 0===e.events||null===e.events||0===e.events.length?null:(0,r.jsx)(es,{...e,events:e.events})}var el=n(61321),ei=n(20825),eo=n(56132),ed=n(95084),ec=n(4790);function eu(e){let{date:t,sport:n,isFavoritesOnly:l,gender:i,timeStatus:o,competitionLevel:c,areOddsDisplayed:x,setLiveCount:p}=e,h=(0,S.wA)(),v=(0,u.wA)(n,t),y=(0,C.useContext)(L.e),j=t===(0,s.UG)(new Date),f=(0,u.G_)(),A=(0,b.Ae)(),T=(0,ec.s)(null==A?void 0:A.impressionCostEncrypted),w=(0,C.useCallback)((0,u.pg)(n,Date.parse("".concat(t,"T12:00"))),[n,t]),R=e=>(0,u.yS)(e,o)&&(0,u.g2)(e,i)&&(0,u.i6)(e,c),{events:_,isLoading:E}=(0,u.zx)(n,t,w),{favoriteDateEvents:Q,isLoading:k}=(0,u._3)(n,w,_),F=null==Q?void 0:Q.filter(e=>(0,u.yS)(e,u.M_.Live));(0,C.useEffect)(()=>{l&&p((null==F?void 0:F.length)||0)},[null==F?void 0:F.length,l]);let B=((l?Q:_)||[]).filter(R),{additionalEvents:O,isLoading:Y}=(0,u.wt)(n,t,w),P=null==O?void 0:O.filter(R);(0,u.Xc)({listType:u.iJ.Regular,sport:n,date:t,eventsByDateFilter:w});let H=(0,C.useCallback)(()=>{h((0,d._D)(t))},[t]),U=(0,z.e)(async()=>{(0,ed.CH)({location:g.cb.MainList,provider:null==A?void 0:A.provider.slug,providerType:null==A?void 0:A.type,value:await T})},{deps:[n,t]}),q=o!==u.M_.Any||i!==a.YT8.Mixed||c!==u.OR.Any;return(E||k)&&!Y?(0,r.jsx)(el.A,{sport:n,isHomePage:!0}):B.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(L.e,{value:{...y,odds:v,date:l?void 0:t,showAds:!l},children:(0,r.jsx)("div",{ref:x&&v&&Object.keys(v).length>0&&!l?U:void 0,children:(0,r.jsx)(ea,{divider:!0,events:B,header:X.kE,onClick:f})})}),!l&&!!(null==P?void 0:P.length)&&(0,r.jsxs)(L.e,{value:{...y,showAds:!1,odds:v,date:t},children:[(0,r.jsx)(m.cG,{pb:"sm"}),(0,r.jsx)(ea,{divider:!0,events:P,header:X.kE,onClick:f})]}),(0,r.jsx)(M.Zp.Footer,{ctaParams:!l&&!P&&n===a.QCR.Football&&{messageId:"show_all",icon:D.X.Down,onClick:H}})]}):l&&!Q?(0,r.jsx)(ei.D,{entity:eo.x.Events,searchAll:!0}):(0,r.jsx)(I.p,{graphic:"no-events-calendar",titleMessageId:q?"empty_filtered_events_title":j?"eventList.noEventsToday":"basic.noEvents",descriptionMessageId:q?"empty_filtered_events_text":"eventList.tryDifferentDate"})}var ex=n(96016);function ep(e){var t;let{categoryId:n}=e,{data:s,isLoading:l}=(0,T.Ay)(n?a.ZXN.uniqueTournaments(n):null);if(l)return(0,r.jsx)(m.az,{h:"[440px]"});if(!s)return null;let i=s.groups.filter(e=>{let{isActive:t}=e;return!s.activeUniqueTournamentIds||t}),o=null!=(t=s.activeUniqueTournamentIds)?t:[];return(0,r.jsx)(m.az,{p:{base:void 0,md:"sm"},children:i.map(e=>{let{name:t,uniqueTournaments:n}=e;return(0,r.jsxs)("div",{children:[t&&(0,r.jsx)(B.H4,{color:"neutrals.nLv4",pl:"lg",children:(0,r.jsx)(A.A,{id:t})}),n.map(e=>(0,r.jsx)(E.tQ,{tournament:e,children:(0,r.jsx)(m.az,{borderTop:"1px solid {colors.neutrals.nLv4}",p:"sm",children:(0,r.jsx)(B.H3,{textStyle:"display.medium",color:o.includes(e.id)?"secondary.default":"neutrals.nLv1",children:e.name})})},e.id))]},t)})})}let em=(0,C.memo)(function(e){let t=(0,S.wA)(),n=(0,u.G_)(),l=(0,C.useContext)(L.e),{date:i,sport:o,initialCategory:d,categorySlug:c}=e,x=Date.parse("".concat(i,"T12:00")),p=(0,s.UG)(new Date)===i,{data:h,isLoading:v}=(0,T.Ay)(a.t3g.categories(o,!0)),y=v||!h?d:h.categories.find(e=>e.slug===c),j=o===a.QCR.Cricket?e=>(0,s._M)(x,1e3*e.startTimestamp,1e3*e.endTimestamp):e=>(0,s.yk)(e.startTimestamp,x),f=y?y.sport.slug===a.QCR.Tennis?"recentTournaments":"allTournaments":null,w=(0,u.wA)(o,i),R=(0,b.Ae)(),E=(0,ec.s)(null==R?void 0:R.impressionCostEncrypted),k=(0,z.e)(async()=>{(0,ed.CH)({location:g.cb.MainList,provider:null==R?void 0:R.provider.slug,providerType:null==R?void 0:R.type,value:await E})},{deps:[o,i,c]}),{data:M,isLoading:F}=(0,T.Ay)(y?a.ZXN.scheduledEvents(y.id,i):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async e=>(await (0,a.TtD)(e)).events.filter(j),onSuccess:e=>{t((0,ex.oU)(e))}}),D=M&&!!M.length;return((0,u.Xc)({listType:u.iJ.Category,sport:o,date:i,category:y,eventsByDateFilter:j}),F||v)?(0,r.jsx)(m.az,{h:"[1024px]"}):(0,r.jsxs)(r.Fragment,{children:[D?(0,r.jsx)(L.e,{value:{...l,odds:w},children:(0,r.jsx)(m.az,{pt:"sm",ref:w&&Object.keys(w).length>0?k:void 0,children:(0,r.jsx)(ea,{events:M,header:X.kn,onClick:n})})}):(0,r.jsx)(I.p,{graphic:"no-events-calendar",titleMessageId:p?"eventList.noEventsToday":"basic.noEvents",descriptionMessageId:"eventList.tryDifferentDate"}),y&&(0,r.jsx)(B.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",pt:"xl",px:"md",children:(0,r.jsx)(A.A,{id:"eventList.category.".concat(f),values:{categoryName:(0,r.jsx)(_.md,{...y}),sportName:(0,r.jsx)(Q.o,{sportSlug:y.sport.slug})}})}),(0,r.jsx)(ep,{categoryId:null==y?void 0:y.id})]})},(e,t)=>e.categorySlug===t.categorySlug&&e.sport===t.sport&&e.date===t.date);var eg=n(94565),eh=n(52466),ev=n(74610),ey=n(90510),ej=n(65062),ef=n(82536);let eb=e=>{let{date:t,onClick:n}=e;return(0,r.jsx)(m.so,{align:"center",justify:"center",cursor:"pointer",onClick:n,flex:"1",py:"[9px]",_hover:{bg:"surface.s2"},br:"xs",children:(0,r.jsx)(B.EY,{children:(0,s.cK)(t)?(0,r.jsx)(B.EY,{color:"primary.default",textStyle:"assistive.default",lineHeight:1,children:(0,r.jsx)(A.A,{id:"today"})}):(0,s.PA)(t)?(0,r.jsx)(B.EY,{color:"primary.default",textStyle:"assistive.default",lineHeight:1,children:(0,r.jsx)(A.A,{id:"yesterday"})}):(0,s.ef)(t)?(0,r.jsx)(B.EY,{color:"primary.default",textStyle:"assistive.default",lineHeight:1,children:(0,r.jsx)(A.A,{id:"tomorrow"})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(B.EY,{textStyle:"assistive.default",lineHeight:1,children:[(0,r.jsx)(ey.XU,{value:t.getTime(),weekday:"short"})," "]}),(0,r.jsx)(B.EY,{color:"primary.default",textStyle:"assistive.default",lineHeight:1,children:(0,r.jsx)(ey.XU,{value:t.getTime(),day:"2-digit",month:"short"})})]})})})};function eC(e){let{onChange:t,date:n,sport:s,asPopover:a}=e,[l,i]=(0,C.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(m.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)(B.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)(eh.pa2,{})}),(0,r.jsx)(eb,{date:n,onClick:()=>i(!0)}),(0,r.jsx)(B.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)(eh.CCT,{})})]}),l?a?(0,r.jsxs)(m.az,{position:"absolute",width:"[318px]",zIndex:"popover",top:"0",right:"0",br:"lg",bg:"surface.sp",elevation:"3",children:[(0,r.jsx)(m.so,{justify:"flex-end",children:(0,r.jsx)(m.az,{cursor:"pointer",br:"sm",onClick:()=>i(!1),pt:"sm",px:"sm",children:(0,r.jsx)(eh.zQC,{icon:"close",color:"primary.default"})})}),(0,r.jsx)(ej.A,{date:n,onChange:e=>{t(e),i(!1)},sport:s})]}):(0,r.jsx)(ef.A,{isOpen:!0,setIsOpen:i,width:360,children:(0,r.jsx)(ej.A,{date:n,onChange:e=>{t(e),i(!1)},sport:s})}):null]})}var eA=n(2920),eT=n(18858);let ew=e=>{let{isActive:t,isLive:n,labelId:s,count:a,onClick:l}=e;return(0,r.jsxs)(B.$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:l,"aria-selected":t,children:[(0,r.jsx)(A.A,{id:s}),!!a&&" (".concat(a,")")]})};function eR(e){let{timeStatus:t,areOddsVisible:n,isOddsToggleDisabled:a,date:l,sport:i,liveCount:o,onChange:d,listType:c}=e,x=(0,eT.Ay)({isInMobileTabs:!1}),p=(0,s.cK)(l),g=(0,s.mG)(l.getTime()),h=(0,s.lg)(l.getTime());return(0,r.jsx)(ev.t,{tag:"HomePageMobileListHeader",children:(0,r.jsx)(eg.PI,{top:x,display:["block","none"],children:(0,r.jsxs)(m.az,{bg:"surface.s1",pb:c===u.Jx.CATEGORY?"sm":void 0,elevation:"2",children:[(0,r.jsxs)(m.so,{pb:"xs",pt:"md",px:"sm",align:"center",justify:"space-between",children:[(0,r.jsx)(eC,{date:l,onChange:e=>d({name:"date",value:e}),sport:i}),!a&&(0,r.jsxs)(m.so,{maxW:"[158px]",align:"center",gap:"sm",children:[(0,r.jsx)(B.EY,{maxW:"[118px]",textStyle:"display.small",truncate:!0,children:(0,r.jsx)(A.A,{id:"odds"})}),(0,r.jsx)(eg.lM,{checked:n,onChange:()=>d({name:"areOddsVisible",value:!n})})]})]}),c!==u.Jx.CATEGORY&&!p&&(0,r.jsx)(m.so,{h:"4xl",px:"sm",align:"center",children:(0,r.jsxs)(B.$n,{size:"secondary",onClick:()=>{d({name:"date",value:new Date}),(0,ed.yy)({location:eA.C.MainPageAll,type:eo.x.TodayMatches})},children:[g&&(0,r.jsx)(eh.pa2,{}),(0,r.jsx)(A.A,{id:"today"}),h&&(0,r.jsx)(eh.CCT,{})]})}),c!==u.Jx.CATEGORY&&p&&(0,r.jsx)(B.tR,{children:(0,r.jsxs)(m.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:eA.C.MainPageAll,type:eo.x.All}))}}),(0,r.jsx)(ew,{labelId:"live",isActive:t===u.M_.Live,isLive:!0,count:o,onClick:()=>{t!==u.M_.Live&&(d({name:"timeStatus",value:u.M_.Live}),(0,ed.yy)({location:eA.C.MainPageAll,type:eo.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:eA.C.MainPageAll,type:eo.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:eA.C.MainPageAll,type:eo.x.Upcoming}))}})]})})]})})})}function e_(e){let{timeStatus:t,areOddsVisible:n,isOddsToggleDisabled:l,date:i,sport:o,liveCount:d,onChange:c,listType:x,categorySlug:p,initialCategory:g,activeTab:h}=e,v=(0,s.cK)(i),y=(0,s.mG)(i.getTime()),j=(0,s.lg)(i.getTime()),{data:f,isLoading:b}=(0,T.Ay)(a.t3g.categories(o,!0)),C=b?g:null==f?void 0:f.categories.find(e=>e.slug===p),w="favorites"===h?eA.C.MainPageFavorites:eA.C.MainPageAll;return(0,r.jsx)(ev.t,{tag:"HomePageDesktopListHeader",children:(0,r.jsxs)(m.az,{display:{mdDown:"none"},px:"sm",pt:"sm",pb:x===u.Jx.CATEGORY||"competitions"===h?void 0:"sm",children:[(0,r.jsxs)(m.so,{h:"4xl",align:"center",justify:"space-between",borderBottom:"1px solid {colors.neutrals.nLv4}",children:[x===u.Jx.CATEGORY?(0,r.jsx)(B.EY,{pl:"sm",textStyle:"display.large",textTransform:"capitalize",children:(0,r.jsx)(_.md,{...null!=C?C:{slug:p,name:p}})}):(0,r.jsx)(B.tU,{variant:"primary",initialValue:h,children:(0,r.jsxs)(B.tU.List,{children:[(0,r.jsx)(B.tU.Tab,{tabKey:"all",onClick:e=>{("all"!==h||t!==u.M_.Any)&&(c({name:"activeTab",value:"all"}),e.nativeEvent.isTrusted&&(0,ed.yy)({location:eA.C.MainPageAll,type:eo.x.All}))},children:(0,r.jsx)(A.A,{id:"all"})}),(0,r.jsx)(B.tU.Tab,{tabKey:"favorites",onClick:e=>{("favorites"!==h||t!==u.M_.Any)&&(c({name:"activeTab",value:"favorites"}),e.nativeEvent.isTrusted&&(0,ed.yy)({location:eA.C.MainPageFavorites,type:eo.x.All}))},children:(0,r.jsx)(A.A,{id:"eventList.favorites"})}),(0,r.jsx)(B.tU.Tab,{tabKey:"competitions",onClick:e=>{("competitions"!==h||t!==u.M_.Any)&&(c({name:"activeTab",value:"competitions"}),e.nativeEvent.isTrusted&&(0,ed.yy)({location:eA.C.MainPageCompetitions,type:eo.x.All}))},children:(0,r.jsx)(A.A,{id:"competitions"})})]})}),"competitions"!==h&&(0,r.jsx)(eC,{date:i,onChange:e=>c({name:"date",value:e}),sport:o,asPopover:!0})]}),"competitions"!==h&&x!==u.Jx.CATEGORY&&(0,r.jsxs)(m.so,{gap:"xs",borderTop:"1px solid {colors.neutrals.nLv4}",mt:"[-1px]",align:"flex-end",h:"4xl",justify:"space-between",children:[v?(0,r.jsxs)(m.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?eo.x.All:eo.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?eo.x.All:eo.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?eo.x.All:eo.x.Upcoming})}})]}):(0,r.jsxs)(B.$n,{size:"secondary",onClick:()=>{c({name:"date",value:new Date}),(0,ed.yy)({location:w,type:eo.x.TodayMatches})},children:[y&&(0,r.jsx)(eh.pa2,{}),(0,r.jsx)(A.A,{id:"today"}),j&&(0,r.jsx)(eh.CCT,{})]}),!l&&(0,r.jsxs)(m.so,{h:"2xl",align:"center",gap:"lg",flexGrow:1,justify:"flex-end",children:[(0,r.jsx)(B.EY,{textStyle:"display.small",children:(0,r.jsx)(A.A,{id:"odds"})}),(0,r.jsx)(eg.lM,{checked:n,onChange:()=>c({name:"areOddsVisible",value:!n})})]})]})]})})}var eE=n(55955),eQ=n(78383),ek=n.n(eQ),eS=n(15578),eM=n(15341);let eL=[a.QCR.Football,a.QCR.ESports,a.QCR.Futsal,a.QCR.Minifootball],eF=(0,C.memo)(function(e){let{sport:t,areOddsDisplayed:n,onEmptyStateClick:l}=e,i=(0,S.wA)(),[o,d]=(0,C.useState)(!1),c=eL.includes(t),[x,p,h]=(0,eM.A)("show-live-amateur-events",!0),v=(0,u.wA)(t,(0,s.UG)(new Date)),y=(0,C.useContext)(L.e),j=(0,u.G_)(),f=(0,b.Ae)(),w=(0,ec.s)(null==f?void 0:f.impressionCostEncrypted),[R]=(0,eE.vQ)(eS.z),{data:_,mutate:E}=(0,T.Ay)(a.t3g.liveEvents(t),{revalidateOnFocus:!0,revalidateOnReconnect:!0,onSuccess:e=>{i((0,ex.oU)(e.events)),d(!1)},onError:()=>{d(!1)}}),k=null==_?void 0:_.events;(0,u.Xc)({listType:u.iJ.Live,sport:t,date:(0,s.UG)(new Date),eventsByDateFilter:()=>!0}),(0,C.useEffect)(()=>{if(!R)return ek();let e=R.Topic.events.bySport(t),n=(0,eE.pO)("new-live-list-event-listener-".concat(t),e,ek());return R.subscribe(n)},[t,R]),(0,C.useEffect)(()=>{if(!R)return;let e=R.Topic.events.bySport(t),n=(0,eE.pO)("new-live-list-event-listener-".concat(t),e,e=>{e["status.type"]===a.XUj.InProgress&&window.setTimeout(()=>{E()},500)});R.subscribe(n)},[k,R,E]);let M=(0,z.e)(async()=>{(0,ed.CH)({location:g.cb.MainList,provider:null==f?void 0:f.provider.slug,providerType:null==f?void 0:f.type,value:await w})},{deps:[t]}),F=(0,C.useCallback)(e=>(0,r.jsx)(X.pw,{...e}),[]);if(o||!k)return(0,r.jsx)(el.A,{sport:t,isHomePage:!0});if(k&&!k.length)return(0,r.jsxs)(I.p,{graphic:"no-live-games",titleMessageId:"eventList.noLiveEvents",children:[(0,r.jsx)(B.EY,{color:"neutrals.nLv3",textStyle:"body.mediumParagraph",textAlign:"center",mt:"sm",children:(0,r.jsx)(A.A,{id:"eventList.checkLater"})}),(0,r.jsx)(B.EY,{color:"neutrals.nLv3",textStyle:"body.mediumParagraph",textAlign:"center",children:(0,r.jsx)(A.A,{id:"eventList.meanwhileCheck",values:{link:(0,r.jsx)(B.Mz,{color:"primary.default",onClick:l,children:(0,r.jsx)(A.A,{id:"basic.here"})}),sportName:(0,r.jsx)(Q.o,{sportSlug:t,children:e=>(0,r.jsx)("span",{style:{textTransform:"lowercase"},children:e})})}})})]});let D=h?k.filter(e=>x||!(e.crowdsourcingEnabled||e.isEditor)):k;return(0,r.jsxs)(L.e,{value:{...y,odds:v},children:[c&&(0,r.jsx)(m.az,{pb:"xs",px:"sm",children:(0,r.jsxs)(m.so,{bg:"surface.s2",br:"md",h:"4xl",align:"center",justify:"space-between",px:"lg",children:[(0,r.jsx)(B.EY,{children:(0,r.jsx)(A.A,{id:"football_toggle_amateur_competitions"})}),h&&(0,r.jsx)(eg.lM,{checked:x,onChange:()=>p(e=>!e)})]})}),(0,r.jsx)("div",{ref:n&&v&&Object.keys(v).length>0?M:void 0,children:(0,r.jsx)(ea,{divider:!0,events:D,header:F,onClick:j},t+D.length)})]})},(e,t)=>e.sport===t.sport);var eD=n(947),eI=n(31830),ez=n(5195),eB=n(70807),eO=n(71314),eY=n(59721),eP=n(15340),eH=n(91647);let eU=e=>{let{tournament:t}=e,n=(0,eH.N)(t),s=t.category.sport.slug===a.QCR.Tennis;return(0,r.jsx)(E.tQ,{routeKey:"uniqueTournament",tournament:t,children:(0,r.jsxs)(m.BJ,{px:"sm",py:"lg",gap:"lg",bg:"surface.s2",br:"sm",position:"relative",h:"100%",children:[(0,r.jsxs)(m.BJ,{align:"center",gap:"xs",overflow:"hidden",children:[(0,r.jsx)(eY.e,{id:t.id,name:n,size:"2xl"}),(0,r.jsx)(m.ov,{h:"[28px]",children:(0,r.jsxs)(B.EY,{textStyle:"display.micro",lineClamp:2,textAlign:"center",children:[n,s&&(0,r.jsxs)(B.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:["\xa0(",(0,r.jsx)(_.md,{...t.category}),")"]})]})})]}),(0,r.jsx)(m.az,{position:"absolute",top:"xs",right:"xs",children:(0,r.jsx)(eP.e,{id:t.id,entity:a.bq7.Tournaments,location:ee.y.MainLeagues,type:ee.b.UniqueTournament,hasNoBorder:!0})})]})})},eq={[a.QCR.Football]:12,[a.QCR.Basketball]:12,[a.QCR.Tennis]:12,[a.QCR.IceHockey]:12,[a.QCR.Handball]:12,[a.QCR.Volleyball]:12,[a.QCR.Baseball]:3,[a.QCR.Cricket]:12,[a.QCR.Rugby]:5,[a.QCR.Darts]:1,[a.QCR.Futsal]:4,[a.QCR.Waterpolo]:2,[a.QCR.AmericanFootball]:1};function eJ(){let e=(0,R.o)(),t=eq[e];return t?(0,r.jsxs)(M.Zp,{children:[(0,r.jsx)(M.Zp.Header,{titleId:eO.it[e]||eO.it.default,variant:"left-aligned"}),(0,r.jsx)(m.az,{style:{height:122.5*Math.ceil(t/4)}})]}):null}function eN(){var e;let t=(0,R.o)(),n=(0,S.d4)(F.LQ),{data:s,error:l}=(0,T.Ay)(a.PTD.topUniqueTournaments(t,n||"00")),i=null==s||null==(e=s.uniqueTournaments)?void 0:e.slice(0,12);return void 0!==i||l?(null==i?void 0:i.length)?(0,r.jsxs)(M.Zp,{children:[(0,r.jsx)(M.Zp.Header,{titleId:eO.it[t]||eO.it.default,variant:"left-aligned"}),(0,r.jsx)(m.xA,{gap:"sm",gridTemplateColumns:"repeat(4, 1fr)",px:"lg",children:i.map(e=>(0,r.jsx)(eU,{tournament:e},e.id))}),(0,r.jsx)(M.Zp.Footer,{})]}):null:(0,r.jsx)(eJ,{})}let eG={[a.QCR.Football]:21,[a.QCR.Basketball]:21,[a.QCR.Tennis]:14,[a.QCR.TableTennis]:3,[a.QCR.IceHockey]:21,[a.QCR.ESports]:3,[a.QCR.Handball]:21,[a.QCR.Volleyball]:21,[a.QCR.Baseball]:16,[a.QCR.AmericanFootball]:4,[a.QCR.Cricket]:16,[a.QCR.Rugby]:7,[a.QCR.Darts]:2,[a.QCR.Snooker]:1,[a.QCR.Futsal]:21,[a.QCR.Minifootball]:21,[a.QCR.Badminton]:1,[a.QCR.AussieRules]:1,[a.QCR.BeachVolley]:1,[a.QCR.Waterpolo]:9,[a.QCR.Floorball]:7,[a.QCR.Bandy]:5};function eV(){let e=eG[(0,R.o)()];return e?(0,r.jsxs)(m.az,{children:[(0,r.jsx)(eJ,{}),(0,r.jsx)(m.az,{style:{height:48*Math.min(e,20)}})]}):null}function eK(e){let{date:t}=e,n=(0,eD.A)(),s=(0,eI.A)(),l=(0,R.o)(),i=(0,S.d4)(F.LQ),{data:o,isLoading:d}=(0,T.Ay)(a.t3g.categories(l)),c=(0,C.useMemo)(()=>o?o.categories.map(e=>{let t=(0,_.xY)({...e,intl:n,locale:s});return{...e,name:t===e.slug?e.name:t,originalName:e.name}}):[],[o]),u=(0,C.useMemo)(()=>(0,eB.X)(c,s,i),[c,i]);return d?(0,r.jsx)(eV,{}):c.length?(0,r.jsxs)(M.WC,{variant:"square",children:[(0,r.jsx)(eN,{}),(0,r.jsx)(m.az,{px:"lg",_first:{display:"none"},children:(0,r.jsx)(B.H3,{children:(0,r.jsx)(A.A,{id:"leagues"})})}),(0,r.jsx)(m.az,{pt:"sm",children:(0,r.jsx)(ez.M,{sport:l,date:t,categories:u})})]}):null}var eZ=n(54365);function eW(e){let{filters:t,listType:n,liveCount:s,setLiveCount:a,initialCategory:l,categorySlug:i,initialDate:o}=e,d=(0,R.o)(),c=(0,S.d4)(F.LQ),x={[u.Jx.BASE]:eu,[u.Jx.DATE]:eu,[u.Jx.CATEGORY]:em}[n],p=!t.isOddsToggleDisabled&&t.areOddsVisible;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(L.e,{value:{preferTournamentName:!0,showAds:"HR"!==c},children:(0,r.jsxs)(m.so,{direction:"column",gap:{base:"sm",md:"md"},px:{mdDown:"sm"},pt:{mdDown:"sm"},children:[(0,r.jsxs)(M.Zp,{children:[(0,r.jsx)(e_,{...t,liveCount:s,listType:n,categorySlug:i,initialCategory:l}),(0,r.jsx)(m.az,{pt:{mdDown:"sm"},children:"competitions"===t.activeTab&&"eventList.category"!==n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eK,{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)(eF,{sport:d,onEmptyStateClick:()=>{t.onChange({name:"date",value:new Date})},areOddsDisplayed:p}),(0,r.jsx)(M.Zp.Footer,{})]}):(0,r.jsx)(x,{sport:d,date:o,initialCategory:l,categorySlug:i,timeStatus:t.timeStatus,gender:t.gender,isFavoritesOnly:"favorites"===t.activeTab,setLiveCount:a,competitionLevel:t.competitionLevel,areOddsDisplayed:p})})]}),n!==u.Jx.DATE&&(0,r.jsx)(m.az,{display:{base:"block",md:"none"},children:n===u.Jx.BASE?(0,r.jsx)(eZ.a,{}):(0,r.jsx)(eZ._,{category:i,sport:d})}),(0,r.jsx)(v.iN,{id:v.Rj.MOBILE_HOME_BOTTOM})]})})})}var eX=n(55575),e$=n.n(eX),e0=n(95669),e2=n.n(e0),e1=n(94164),e4=n(14831);function e5(e){let{listType:t,sport:n,year:i,date:o,categorySlug:d,currentCalendarDate:c}=e,x=(0,eD.A)(),{meta:p,seoContent:m}=(0,C.useContext)(j.x),g=(0,eI.A)(),h=(0,C.useMemo)(()=>{let e={sport:n,date:o,category:d};return t!==u.Jx.CATEGORY&&delete e.category,(0,s.cK)(c)&&delete e.date,t===u.Jx.BASE&&e.sport===a.QCR.Football&&delete e.sport,l.z.getTranslatedCanonicalRoute(g,t,e).route},[n,o,d]),v=(0,r.jsx)("title",{children:x.formatMessage({id:x.messages["title.main.".concat(n)]?"title.main.".concat(n):"title.main"},{item:(0,e4.ZH)(x.formatMessage({id:"sport.".concat(n)})),year:i})}),y=(0,r.jsx)("meta",{name:"description",content:x.formatMessage({id:n===a.QCR.Football?"description.main":"description.main.".concat(n),defaultMessage:x.messages["description.main"]})},"description"),f=(0,r.jsx)("meta",{name:"keywords",content:x.formatMessage({id:"keywords.sport"},{item:x.formatMessage({id:"sport.".concat(n)})})});return[u.Jx.BASE,u.Jx.DATE].includes(t)&&(m?(m.title&&(v=(0,r.jsx)("title",{children:e$()(m.title)})),m.description&&(y=(0,r.jsx)("meta",{name:"description",content:m.description},"description"))):p&&(p.title&&(v=(0,r.jsx)("title",{children:e$()(p.title)})),p.description&&(y=(0,r.jsx)("meta",{name:"description",content:p.description},"description")),p.keywords&&(f=(0,r.jsx)("meta",{name:"keywords",content:p.keywords})))),(0,r.jsxs)(e2(),{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(h)}),(0,e1.v)(n,g)&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),v,y,f]})}var e6=n(71024),e3=n.n(e6),e9=n(29347);let e8=e3()(()=>Promise.all([n.e(74232),n.e(56022),n.e(81826),n.e(54820),n.e(86795),n.e(51624),n.e(66022),n.e(98908),n.e(66995)]).then(n.bind(n,26874)),{loadableGenerated:{webpack:()=>[26874]},loading:()=>(0,r.jsx)(te,{})}),e7=(0,C.createContext)({}),te=()=>{let e=(0,C.useContext)(e7);return(0,r.jsx)(e9.A,{...e})},tt=e=>(0,r.jsx)(e7,{value:e,children:(0,r.jsx)(e8,{...e})});function tn(e){let{listType:t,initialCategory:n,categorySlug:s,sport:a,date:l,meta:i,seoContent:o}=e,d=(0,u.dZ)(e),{liveCount:c,setLiveCount:x}=(0,u._p)(a,"favorites"===d.activeTab),p=(0,b.Ae)();return(0,r.jsxs)(j.x,{value:{meta:i,seoContent:o},children:[(0,r.jsx)(e5,{listType:t,sport:a,year:new Date().getFullYear(),date:l,initialCategory:n,categorySlug:s,currentCalendarDate:d.date}),(0,r.jsx)(y.YW,{children:(0,r.jsx)(g.Ws,{value:a,children:(0,r.jsxs)(v.JR,{route:h.xW.EventList,children:[(0,r.jsx)(eR,{...d,liveCount:c,listType:t}),(0,r.jsx)(k,{category:null!=n?n:s,listType:t}),(0,r.jsxs)(y.xA,{children:[(0,r.jsxs)(y.fv,{flexGrow:1,children:[(0,r.jsx)(eW,{filters:d,listType:t,liveCount:c,setLiveCount:x,initialCategory:n,categorySlug:s,initialDate:l}),(0,r.jsx)(m.az,{hideBelow:d.areOddsVisible?void 0:"md",children:(0,r.jsx)(f.z,{provider:p})}),(0,r.jsx)(v.Aq,{route:h.xW.EventList})]}),(0,r.jsx)(y.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=p;let ta=ts},39975:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,q:()=>i});var r=n(6029),s=n(94565),a=n(55729),l=n(43072);let i=e=>{let{initialVisible:t=!1,defaultHeight:n=0,visibleOffset:i=1e3,persist:o=!1,loader:d,children:c,...u}=e,x={initialInView:t,rootMargin:"".concat(i,"px 0px ").concat(i,"px 0px")},[p,m,g]=(0,l.Wx)(x),h=(0,a.useRef)(t),v=(0,a.useRef)(n);(0,a.useEffect)(()=>{m&&!0!==h.current&&(h.current=!0),m&&v.current!==n&&(v.current=(null==g?void 0:g.boundingClientRect.height)||n)},[m,g]);let y=d||(v.current?(0,r.jsx)(s.az,{h:v.current}):null),j=m||o&&h.current;return(0,r.jsx)(s.az,{ref:p,...u,children:j?c:y})},o=i},40148:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(6029),s=n(20325),a=n(46222),l=n(49938),i=n(82827);function o(){return(0,r.jsxs)(s.so,{direction:"column",children:[(0,r.jsx)(a.Zp,{children:(0,r.jsx)(a.BU,{children:(0,r.jsx)(a.WC,{variant:"square",children:(0,r.jsxs)(s.BJ,{gap:"lg",children:[(0,r.jsx)(s.az,{h:"2xl"}),(0,r.jsx)(l.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)(i.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:()=>i});var r=n(22375),s=n(45860),a=n(11276);let l=e=>fetch(e,{method:"HEAD",cache:"no-store"});function i(){let{data:e,error:t,isLoading:n}=(0,s.Ay)(a.sp,{fetcher:l,dedupingInterval:r.d_});return{isLoading:n,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}},45586:(e,t,n)=>{"use strict";n.d(t,{w:()=>p});var r=n(6029),s=n(8329),a=n(46787),l=n(20325),i=n(90248),o=n(74664),d=n(76381),c=n(11219),u=n(6057);let x=e=>{let{sport:t,categorySlug:n,categoryId:a}=e;return(0,r.jsx)(c.N_,{routeKey:"rankings",params:{sport:t,category:n},children:(0,r.jsx)(u.O,{ctaText:(0,r.jsx)(r.Fragment,{children:n.includes("utr")?(0,r.jsx)(i.A,{id:(0,d.Qu)(n)}):(0,r.jsx)(i.A,{id:"rankings.category",values:{category:(0,d.Qu)(n)}})}),children:(0,r.jsx)(s.w,{rankingSlug:"".concat(n,"-big"),name:n.replace("-","_"),categoryId:a,size:48})})})};function p(){let e=(0,o.o)();if(!(0,d.AM)(e))return null;let t=d.tU[e];return(0,r.jsx)(l.xA,{gridTemplateColumns:e===a.QCR.Rugby?"1fr":"1fr 1fr",gap:"md",children:t.map(t=>(0,r.jsx)(x,{sport:e,categorySlug:t.categorySlug,categoryId:t.categoryId},t.categorySlug))})}},45719:(e,t,n)=>{"use strict";n.d(t,{Q:()=>R,h:()=>w});var r=n(6029),s=n(10292),a=n(46787),l=n(45860),i=n(46222),o=n(74664),d=n(52466),c=n(69096),u=n(78259),x=n(51569),p=n(20325),m=n(55729),g=n(90248),h=n(14868),v=n(74610),y=n(67087),j=n(66331),f=n(96861),b=n(94156),C=n(57719);let A=e=>{let{player:t,index:n,onClick:s}=e,l=(0,o.o)(),[i,c]=(0,y.jr)(t.event,"homeTeam","awayTeam",t.event),[m,h]=(0,y.jr)(t.event,"homeScore","awayScore",t.event),v=t.event.winnerCode===a.Jfo.Left,j=t.event.winnerCode===a.Jfo.Right,{goals:f,goalAssist:A,rating:T,saves:w}=t,R=t.points;return(0,r.jsxs)(p.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)(p.so,{align:"center",gap:"sm",children:[(0,r.jsx)(x.EY,{textStyle:"body.small",textAlign:"center",w:"lg",children:n}),(0,r.jsxs)(p.az,{w:"3xl",h:"3xl",position:"relative",children:[(0,r.jsx)(u.tg,{id:t.player.id,name:t.player.name,size:"3xl"}),(0,r.jsx)(u.pY,{id:t.team.id,name:t.team.name,size:"lg",style:{position:"absolute",bottom:0,right:0}})]})]}),(0,r.jsxs)(p.so,{direction:"column",justify:"center",gap:"xs",grow:1,overflow:"hidden",children:[(0,r.jsx)(x.EY,{truncate:!0,children:(0,r.jsx)(b.c,{entity:t.player})}),t.player.position&&(0,r.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",truncate:!0,children:(0,r.jsx)(C.F,{id:t.player.position,gender:t.player.gender})})]}),l===a.QCR.Football&&(0,r.jsxs)(r.Fragment,{children:[!!f&&(0,r.jsxs)(p.so,{align:"center",minW:f>1?"xl":"lg",position:"relative",children:[(0,r.jsx)(d.NcS,{icon:"football-ball",color:"neutrals.nLv1"}),f>1&&(0,r.jsx)(x.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:f})]}),!!w&&(0,r.jsxs)(p.so,{align:"center",minW:w>1?"xl":"lg",position:"relative",children:[(0,r.jsx)(d.WV5,{color:"neutrals.nLv1"}),w>1&&(0,r.jsx)(x.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})]}),!!A&&(0,r.jsx)(d.NcS,{minW:"lg",minH:"lg",icon:"football-assist",color:"neutrals.nLv1"})]}),(0,r.jsxs)(p.so,{align:"center",gap:"sm",py:"2xs",px:"xs",bg:"surface.s2",br:"xs",children:[(0,r.jsx)(u.pY,{id:i.id,name:i.name,w:"[20px]",h:"[20px]"}),(0,r.jsxs)(p.az,{textWrap:"nowrap",children:[(0,r.jsx)(x.EY,{textStyle:"display.micro",color:v?"neutrals.nLv1":"neutrals.nLv3",children:m.display}),(0,r.jsx)(x.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:" - "}),(0,r.jsx)(x.EY,{textStyle:"display.micro",color:j?"neutrals.nLv1":"neutrals.nLv3",children:h.display})]}),(0,r.jsx)(u.pY,{id:c.id,name:c.name,w:"[20px]",h:"[20px]"})]}),l===a.QCR.Football&&(0,r.jsx)(u.GW,{rating:T,cursor:"pointer"}),l===a.QCR.Basketball&&!!R&&(0,r.jsxs)(p.so,{align:"center",gap:"2xs",children:[(0,r.jsx)(x.EY,{textStyle:"display.small",children:R}),(0,r.jsx)(x.EY,{color:"neutrals.nLv3",textTransform:"lowercase",children:(0,r.jsx)(g.A,{id:"points_short"})})]})]})};function T(e){let{topPlayers:t,sport:n}=e,{openEventPlayerStatistics:s}=(0,j.d)(),[a,l]=(0,m.useState)(!1),o=(0,m.useCallback)(()=>l(e=>!e),[]),d=(e,t)=>{s({event:e,player:t},f._l.TopPlayers)};(0,m.useEffect)(()=>{l(!1)},[n]);let c=t.length>3;return(0,r.jsx)(v.t,{tag:"TopPlayersList",children:(0,r.jsxs)(p.az,{children:[t.slice(0,3).map((e,t)=>(0,r.jsx)(A,{player:e,index:t+1,onClick:d},e.player.id)),a&&t.slice(3).map((e,t)=>(0,r.jsx)(A,{player:e,index:3+t+1,onClick:d},e.player.id)),(0,r.jsx)(i.Zp.Footer,{ctaParams:c?{messageId:a?"show_less":"show_more",icon:a?h.X.Up:h.X.Down,onClick:o}:void 0})]})})}function w(){return(0,r.jsxs)(i.Zp,{children:[(0,r.jsx)(i.Zp.Header,{titleId:"top_players",values:{gender:a.YT8.Male}}),(0,r.jsx)(p.az,{h:"[168px]"}),(0,r.jsx)(i.Zp.Footer,{ctaParams:{messageId:"show_more",icon:i.Xb.Down,onClick:()=>{}}})]})}function R(){var e,t,n;let u=(0,o.o)(),{data:x,isLoading:p,error:m}=(0,l.Ay)(a.t3g.trendingTopPlayers(u)),g=u===a.QCR.Football;return p?(0,r.jsx)(w,{}):m||!x||0===x.topPlayers.length?null:(0,r.jsxs)(i.Zp,{children:[(0,r.jsx)(i.Zp.Header,{titleId:"top_players",values:{gender:null!=(n=null==(e=x.topPlayers[0].player.team)?void 0:e.gender)?n:a.YT8.Male},actionComponent:g&&(0,r.jsx)(c.D,{type:c.D.type.SpecificRatingPlayer,rating:null==(t=x.topPlayers[0])?void 0:t.rating,renderImage:e=>{var t;return(0,r.jsx)(s.t,{id:null==(t=x.topPlayers[0])?void 0:t.player.id,...e.dsProps})},children:e=>{let{setIsOpen:t}=e;return(0,r.jsx)(d.G_L,{color:"neutrals.nLv1",onClick:()=>t(!0),cursor:"pointer"})}})}),(0,r.jsx)(T,{sport:u,topPlayers:x.topPlayers})]})}},45906:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(6029),s=n(14092),a=n(51569),l=n(20325),i=n(95669),o=n.n(i),d=n(81278),c=n(947),u=n(90248),x=n(52466),p=n(6813),m=n(25246),g=n(20945),h=n(11219),v=n(27214);function y(e){let{statusCode:t}=e;s.O({statusCode:t});let n=(0,c.A)(),{route:i}=(0,d.useRouter)(),y=n.formatMessage({id:404===t?"error.pageNotFound":"error.anErrorOccurred"});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:"".concat(t," | ").concat(y||"")}),(0,r.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,r.jsx)("div",{id:"errorPage",children:(0,r.jsx)(m.YW,{children:(0,r.jsx)(g.xA,{children:(0,r.jsx)(g.fv,{flexGrow:1,textAlign:"center",my:"2xl",children:(0,r.jsx)(p.p,{graphic:"no-connection",children:(0,r.jsxs)(l.BJ,{children:[(0,r.jsx)(a.H1,{textStyle:"display.extraLarge",color:"neutrals.nLv3",alignSelf:"center",mt:"[28px]",mb:"2xs",children:t}),(0,r.jsx)(a.H3,{display:"block",textStyle:"display.medium",color:"neutrals.nLv3",alignSelf:"center",children:(0,r.jsx)(u.A,{id:"error.anErrorOccurred"})}),(0,r.jsx)(a.EY,{alignSelf:"center",mb:"2xl",display:"block",children:404===t?(0,r.jsx)(u.A,{id:"error.pageCannotBeFound"}):(0,r.jsx)(u.A,{id:"error.somethingWrongWithPage"})}),(0,r.jsx)(h.N_,{routeKey:(0,v.N5)(i)?"news":"home",children:(0,r.jsxs)(a.$n,{children:[(0,r.jsx)(x.pa2,{})," ",(0,r.jsx)(u.A,{id:"error.backToSofascore"})]})})]})})})})})})]})}y.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(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"}}}}})},49938:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(6029),s=n(20325);let a=e=>(0,r.jsxs)(s.az,{br:"sm",bg:"surface.s2",children:[(0,r.jsx)(s.az,{h:e.hideTitle?"[102px]":"[134px]"}),e.showCta&&(0,r.jsx)(s.az,{h:"2xl"})]})},50526:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6029),s=n(494),a=n(72753),l=n(51569),i=n(20325),o=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)(i.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,r.jsx)(i.az,{h:"xl",w:"xl",children:(0,r.jsx)(o.OE_,{w:"24px",h:"24px",color:"neutrals.nLv3",fillOpacity:1})}),(0,r.jsx)(l.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function c(){return"GR"===(0,s.d4)(a.LQ)?(0,r.jsx)(d,{}):null}},54365:(e,t,n)=>{"use strict";n.d(t,{_:()=>x,a:()=>p});var r=n(6029),s=n(46787),a=n(55729),l=n(17554),i=n(49188),o=n(11219),d=n(4917);let c=function(e,t,n){for(var a=arguments.length,l=Array(a>3?a-3:0),i=3;i{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)(l.hE,{children:n}),(0,r.jsx)(l.fz,{id:"".concat(t,".about.p1")}),(0,r.jsx)(l.hE,{id:"category.tour.tournaments",values:{category:n}}),(0,r.jsx)(l.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,{C:()=>l});var r=n(55729),s=n(494),a=n(72753);function l(e){let t=(0,r.useMemo)(()=>(0,a.vt)(),[]);return(0,s.d4)(t,e)}},61321:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(6029),s=n(18612),a=n(46787),l=n(20325);let i=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"})]})},o=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)(i,{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:i}=e;return(0,r.jsx)(l.az,{overflow:"hidden",children:(0,r.jsx)(s.D,{height:i?t===a.QCR.Football?3500:1024:96*n,uniqueKey:"list-cl",children:Array.from({length:n}).map((e,t)=>(0,r.jsx)(o,{start:99*t+0},t))})})}},61497:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});let r="search_entity_key"},61924:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6029),s=n(20325),a=n(494),l=n(46222),i=n(37455);function o(){return(0,a.d4)(i.BF)?null:(0,r.jsxs)(l.Zp,{children:[(0,r.jsx)(l.Zp.Header,{titleId:"featured_odds",variant:"left-aligned"}),(0,r.jsx)(s.az,{h:"[320px]"})]})}},66735:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});let r=(0,n(55729).createContext)({})},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:()=>i.OR,Vj:()=>o.Vj,Yt:()=>o.Yt,Jx:()=>i.Jx,iJ:()=>i.iJ,xy:()=>a,jx:()=>l,h2:()=>s,M_:()=>i.M_,i6:()=>o.i6,g2:()=>o.g2,yS:()=>o.yS,pg:()=>o.pg,wt:()=>x,zx:()=>M,G_:()=>g,wA:()=>A,_3:()=>Q,HD:()=>U,Xc:()=>k,dZ:()=>P,_p:()=>H});var r=n(46787);let s=[r.QCR.Football,r.QCR.Basketball],a=[r.QCR.Football,r.QCR.Basketball],l=[r.QCR.Football,r.QCR.Basketball,r.QCR.Tennis];var i=n(57771),o=n(42561),d=n(494),c=n(45860),u=n(96016);function x(e,t,n){let s=(0,d.wA)(),a=(0,d.d4)(e=>{var n;return null==(n=e.uicontrols.showAllByDate)?void 0:n[t]}),{data:l,isLoading:i}=(0,c.Ay)(e===r.QCR.Football&&a?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:l,isLoading:i}}var p=n(55729),m=n(18153);let g=()=>{let e=(0,d.wA)();return(0,p.useCallback)((t,n,r)=>{r||(t.preventDefault(),e((0,m.VX)(n)))},[])};var h=n(55955),v=n(78383),y=n.n(v),j=n(68789),f=n(60682),b=n(15578);let C=e=>"list:".concat(e,":odds");function A(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[s,a]=(0,p.useState)(),l=(0,j.Ae)(),[i]=(0,f.Z)(l,n),o=(0,d.d4)(e=>e.uicontrols.showListOdds),u=l?l.provider:null,{data:x}=(0,c.Ay)(u&&o&&i?r.t3g.oddsByDate(e,i,t):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0}),[m]=(0,h.vQ)(b.z);return(0,p.useEffect)(()=>{a(x?x.odds:void 0)},[x&&x.odds]),(0,p.useEffect)(()=>{if(o&&m){let t=m.Topic.odds.bySportAndMarket(e,1),n=(0,h.pO)(C(e),t,e=>{if(!s||!m)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)}a({...s})}});m.subscribe(n)}},[s,m,o]),(0,p.useEffect)(()=>{if(!m||!o)return;let t=m.Topic.odds.bySportAndMarket(e,1),n=(0,h.pO)(C(e),t,y()),r=m.subscribe(n);return()=>{r()}},[e,m,o]),s}var T=n(13731),w=n.n(T),R=n(831),_=n.n(R),E=n(54521);let Q=(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)],a=[...(0,d.d4)(e=>e.favorites.lists[r.bq7.Teams],d.bN),...(0,d.d4)(e=>e.favorites.lists[r.bq7.MutedTeams],d.bN)],l=(0,E.C)(),i=(0,d.d4)(e=>{var t;return null==(t=e.favorites._persist)?void 0:t.rehydrated}),o=(0,p.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,p.useMemo)(()=>{let r=(null==n?void 0:n.filter(e=>e.tournament.uniqueTournament&&s.includes(e.tournament.uniqueTournament.id)||a.includes(e.homeTeam.id)||a.includes(e.awayTeam.id)))||[],i=Object.values(l).filter(n=>t(n)&&n.tournament.category.sport.slug===e),d=_()([...r,...i],e=>e.id),c=w()(d,e=>e.tournament.id);return Object.keys(c).sort((e,t)=>{if(o){let n=o.findIndex(t=>String(t)===e),r=o.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))},[l,n,o,t]);return{favoriteDateEvents:c.length?c:void 0,isLoading:!i}};function k(e){let{listType:t,sport:n,date:s,category:a,eventsByDateFilter:l}=e,o=(0,d.wA)();(0,p.useEffect)(()=>{if(t===i.iJ.Category&&!a)return;let e="list:".concat(n,":").concat(t),d=((e,t,n,s)=>{switch(e){case i.iJ.Regular:return r.t3g.eventsByDate(t,n);case i.iJ.Category:return s?r.ZXN.scheduledEvents(s.id,n):null;case i.iJ.Live:return r.t3g.liveEvents(t);default:return null}})(t,n,s,a);if(d)return o((0,u.vB)({entities:n,refreshTaskId:e},{fetchFunction:c,interval:6e4})),()=>{o((0,u.tM)(e))};async function c(){try{let e=await (0,r.TtD)(d);return{events:t===i.iJ.Live?e.events:e.events.filter(l)}}catch(e){return console.error("Couldn't repo refresh sport list events"),{events:[]}}}},[n,t,a])}var S=n(72753);function M(e,t,n){let s=(0,d.d4)(S.LQ),a=(0,d.wA)(),{data:l,error:i}=(0,c.Ay)(s?[r.t3g.eventsByDate(e,t),s]:null,{refreshInterval:6e4,revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async t=>{let[s,a]=t,[l,i]=await Promise.allSettled([(0,r.TtD)(s),(0,r.TtD)(r.PTD.defaultUniqueTournaments(a,e))]);if("rejected"===l.status)throw Error(l.reason);let o=l.value.events.filter(n);if("fulfilled"===i.status){let e=i.value.uniqueTournaments.filter(e=>e.category.alpha2===a).map(e=>e.id).reduce((e,t,n)=>(e[t]=n,e),{});return o.sort((t,n)=>{var r,s;let a=null==(r=t.tournament.uniqueTournament)?void 0:r.id,l=null==(s=n.tournament.uniqueTournament)?void 0:s.id;if(!a||!l||a===l)return 0;let i=a in e,o=l in e;return i&&o?e[a]-e[l]:i?-1:+!!o})}return o},onSuccess:e=>{a((0,u.oU)(e))}});return{events:l,isLoading:!l&&!i}}var L=n(22375),F=n(51569),D=n(81278),I=n(31830),z=n(11219),B=n(37455),O=n(95084),Y=n(14831);function P(e){let{sport:t,date:n,listType:s,categorySlug:a}=e,[l,o]=(0,Y.bL)("main_page.active_tab","all"),[c,u]=(0,Y.bL)("main_page.time_status_filter",i.M_.Any,!1),[x,g]=(0,p.useState)(i.OR.Any),[h,v]=(0,p.useState)(r.YT8.Mixed),[y,j]=(0,p.useState)(new Date(Date.parse("".concat(n,"T12:00")))),[f,b]=(0,p.useState)(!1),C=(0,d.wA)(),A=(0,D.useRouter)(),T=(0,I.A)(),{isMobile:w}=(0,F.$c)(),R=(0,d.d4)(B.BF),_=(0,d.d4)(B.v_),E=(0,d.d4)(B.yB),Q=(0,d.d4)(B.zV),k=c===i.M_.Live,S=R||_||Q&&k,M=E&&!S,P=(0,L.UG)(new Date),H=(0,p.useCallback)(()=>{(0,O.o$)(!M),C((0,m._1)())},[M]),U=(0,p.useCallback)(()=>{u(i.M_.Any),g(i.OR.Any),v(r.YT8.Mixed),j(new Date(Date.parse("".concat(n,"T12:00"))))},[n]);(0,p.useEffect)(()=>{U()},[t,s,n]),(0,p.useEffect)(()=>{let e=()=>{f&&b(!1)};return A.events.on("routeChangeComplete",e),()=>{A.events.off("routeChangeComplete",e)}},[A,f]);let q=(0,p.useCallback)(e=>{if(!e)return;let l=(0,L.UG)(e),o=s===i.Jx.CATEGORY;if(l===n)return void u(i.M_.Any);let d={sport:t,date:l,category:a};o||delete d.category,l===P&&delete d.date,l===P&&t===r.QCR.Football&&delete d.sport,(0,z.zw)(T,o?i.Jx.CATEGORY:i.Jx.DATE,d),b(!0),(0,O.Vu)()},[A.asPath,c]);return(0,p.useEffect)(()=>{w&&o("all")},[w]),{activeTab:l,timeStatus:(0,L.cK)(y)?c:i.M_.Any,competitionLevel:x,gender:h,areOddsVisible:M,isOddsToggleDisabled:S,sport:t,date:y,onChange:e=>{switch(e.name){case"timeStatus":u(e.value);break;case"advanced":g(e.value.competitionLevel),v(e.value.gender);break;case"areOddsVisible":H();break;case"activeTab":o(e.value);break;case"date":q(e.value)}"areOddsVisible"!==e.name&&window.scrollTo(0,0)}}}function H(e,t){let{data:n}=(0,c.Ay)(r.t3g.eventCount(),{refreshInterval:2e4,revalidateOnFocus:!0}),[s,a]=(0,p.useState)(0),{live:l}=(null==n?void 0:n[e])||{live:0};return(0,p.useEffect)(()=>{t||a(l)},[l,t]),{liveCount:s,setLiveCount:a}}let U=(e,t)=>{var n;let s=(0,d.d4)(B.zV),{data:a,error:l,isLoading:i}=(0,c.Ay)(e&&t?r.npy.featuredSportEvents(t,e):null,{refreshInterval:6e4});return{featuredEvents:null==a||null==(n=a.featuredEvents)?void 0:n.filter(e=>!s||e.status.type!==r.XUj.InProgress),error:l,isLoading:i}}},70807:(e,t,n)=>{"use strict";function r(e,t,n){let r=[...e];return r.sort((e,r)=>{if(n&&(e.alpha2===n||r.alpha2===n)&&e.alpha2!==r.alpha2){if(e.alpha2===n)return -1;if(r.alpha2===n)return 1}if((e.priority||r.priority)&&e.priority!==r.priority){var s,a;return(null!=(s=r.priority)?s:0)-(null!=(a=e.priority)?a:0)}try{return e.name.localeCompare(r.name,t)}catch(t){return e.name.localeCompare(r.name)}}),r}n.d(t,{X:()=>r})},71314:(e,t,n)=>{"use strict";n.d(t,{gk:()=>s,it:()=>i,sm:()=>d,uD:()=>o,w9:()=>a,wV:()=>l});var r=n(46787);let s={uniqueTournaments:[r.QCR.Football,r.QCR.Tennis,r.QCR.Basketball,r.QCR.Baseball,r.QCR.AmericanFootball,r.QCR.Handball,r.QCR.Waterpolo,r.QCR.IceHockey,r.QCR.Volleyball,r.QCR.Darts,r.QCR.Rugby,r.QCR.Futsal,r.QCR.Cricket],teams:[r.QCR.Football,r.QCR.Tennis,r.QCR.Basketball,r.QCR.Baseball,r.QCR.TableTennis,r.QCR.AmericanFootball,r.QCR.Handball,r.QCR.Waterpolo,r.QCR.IceHockey,r.QCR.Volleyball,r.QCR.Darts,r.QCR.ESports,r.QCR.Motorsport,r.QCR.Cycling,r.QCR.MMA,r.QCR.Rugby,r.QCR.Futsal,r.QCR.Cricket,r.QCR.Badminton,r.QCR.Snooker,r.QCR.AussieRules,r.QCR.BeachVolley,r.QCR.Minifootball,r.QCR.Floorball,r.QCR.Bandy],players:[r.QCR.Football,r.QCR.Basketball,r.QCR.Baseball,r.QCR.AmericanFootball,r.QCR.Handball,r.QCR.IceHockey,r.QCR.Volleyball,r.QCR.ESports,r.QCR.Rugby,r.QCR.Futsal,r.QCR.Cricket,r.QCR.Minifootball]},a={[r.QCR.Tennis]:"top_players",[r.QCR.TableTennis]:"top_players",[r.QCR.Darts]:"top_players",[r.QCR.Badminton]:"top_players",[r.QCR.Motorsport]:"top_drivers",[r.QCR.MMA]:"top_fighters",[r.QCR.Cycling]:"top_riders",default:"top_teams"},l={default:"top_players"},i={[r.QCR.Motorsport]:"top_series",[r.QCR.MMA]:"top_organisations",default:"top_leagues"},o={[r.QCR.Motorsport]:"all_series",[r.QCR.MMA]:"all_organisations",default:"all_competitions"},d=[r.QCR.Waterpolo,r.QCR.AussieRules]},71689:(e,t,n)=>{"use strict";n.d(t,{k:()=>x});var r=n(6029),s=n(94446),a=n(46787),l=n(20325),i=n(74664),o=n(94008),d=n(67020),c=n(6057);let u={player:{[a.QCR.Football]:[826643,108579,839956,856714,991011],[a.QCR.Basketball]:[940794,1092929,861608,998725,817199]},team:{[a.QCR.Football]:[4698,4819,2829,2672,17],[a.QCR.Basketball]:[3417,3418,3427,3428,3422],[a.QCR.Tennis]:[206570,275923,14882,385485,192013]}};function x(e){let{entityType:t}=e,n=(0,i.o)(),x=u[t][n],p="player"===t,m=e=>{let{id:t}=e;return p?(0,r.jsx)(s.t,{id:t,size:"2xl"}):(0,r.jsx)(s.p,{id:t,size:"2xl"})};return(0,r.jsx)(o.A,{routeKey:"comparison",query:(0,d.k9)([]),params:{sport:n,entityType:t},children:(0,r.jsx)(c.O,{ctaTextId:p||n===a.QCR.Tennis?"compare_players":"compare_teams",children:(0,r.jsxs)(l.so,{gap:"sm",children:[(0,r.jsxs)(l.so,{gap:"sm",p:"sm",bg:"surface.s2",br:"xl",children:[(0,r.jsx)(m,{id:x[0]}),(0,r.jsx)(m,{id:x[1]}),p&&(0,r.jsx)(m,{id:x[2]})]}),(0,r.jsxs)(l.so,{gap:"sm",p:"sm",bg:"surface.s2",br:"xl",children:[!p&&(0,r.jsx)(m,{id:x[2]}),(0,r.jsx)(m,{id:x[3]}),(0,r.jsx)(m,{id:x[4]})]})]})})})}},76155:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var r=n(6029),s=n(30774);let a=e=>{let{tournament:t}=e,n=(0,s.w)(t);return(0,r.jsx)(r.Fragment,{children:n})}},79634:(e,t,n)=>{"use strict";n.d(t,{q:()=>r.q});var r=n(39975)},81349:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,d:()=>u});var r=n(46787),s=n(494),a=n(45860),l=n(90438),i=n(37455),o=n(72753),d=n(79082);let c=(e,t)=>{let[n]=(0,d.Ay)({routeKey:l.xW.Betting,params:{}}),s=(null==n?void 0:n.boostId)?+n.boostId:void 0,i=null==t?void 0:t.betBoosts.find(e=>e.event.id===s),{data:o}=(0,a.Ay)(s&&!i?r.bnp.betBoost(s,e):null);return{selectedBoost:null==o?void 0:o.betBoost,selectedEventId:s}},u=()=>{let e=(0,s.d4)(o.LQ);return(0,s.d4)(i.Zw)&&"IT"!==e}},85974:(e,t,n)=>{"use strict";n.d(t,{M:()=>u});var r=n(6029),s=n(51569),a=n(20325),l=n(90248),i=n(52466),o=n(56132),d=n(95084),c=n(61497);let u=e=>{let{searchEntity:t,spread:n}=e,{isMobile:u}=(0,s.$c)();return(0,r.jsxs)(a.so,{direction:"column",onClick:()=>{let e=t===o.x.Competitions?"unique-tournaments":t===o.x.Athletes?"player-team-persons":t;if(sessionStorage.setItem(c.V,e),u){let e=document.getElementById("search-trigger-button");e&&e.click()}else{let e=document.getElementById("search-input");e&&e.focus()}(0,d.ke)({action:"click",location:"favorite_tab",type:"add_button"})},cursor:"pointer",w:n?"100%":"[144px]",h:"[96px]",p:"sm",br:"sm",bg:"primary.highlight",maxW:n?"100%":"[144px]",justify:"space-between",align:"center",children:[(0,r.jsx)(a.so,{w:"[40px]",h:"[40px]",br:"50%",border:"2px solid {colors.primary.default}",justify:"center",align:"center",bg:"surface.s1",children:(0,r.jsx)(i.xZp,{color:"primary.default"})}),(0,r.jsx)(s.EY,{textStyle:"display.small",w:"100%",py:"sm",textAlign:"center",color:"primary.default",textTransform:"capitalize",children:(0,r.jsx)(l.A,{id:"controls.add"})})]})}},91476:(e,t,n)=>{"use strict";n.d(t,{J:()=>r,x:()=>s});let r="bonus-odds-cta-seen",s="bet-boost-cta-seen"}},e=>{e.O(0,[14092,56591,28446,14632,33854,35597,10537,63561,31702,19268,61392,36678,54246,78061,24649,36701,3074,49191,51390,10533,32935,54119,73240,91381,27455,11245,57670,90636,46593,38792],()=>e(e.s=68385)),_N_E=e.O()}]);