!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]="b307a4ff-449a-4d67-b8a5-64c47b3715e3",e._sentryDebugIdIdentifier="sentry-dbid-b307a4ff-449a-4d67-b8a5-64c47b3715e3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[66735,86640],{173:(e,t,n)=>{"use strict";n.d(t,{z:()=>h,K:()=>v});var r=n(6029),a=n(76356),s=n(55729),i=n(494),l=n(46222),o=n(18970),d=n(79375),c=n(73914);let u=e=>{let{}=e;return(0,r.jsx)(c.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 x=n(50526),m=n(37455),p=n(72753);let g=e=>{let{provider:t}=e;return(0,r.jsx)(a.az,{position:"relative",px:"lg",py:"sm",children:(0,r.jsx)(d.A,{provider:t})})},h=e=>{let{showTailingRegulation:t,provider:n}=e,s=(0,i.d4)(p.LQ);return(0,i.d4)(m.BF)?null:"GR"===s&&t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.so,{justify:"center",children:(0,r.jsx)(x.A,{})}),(0,r.jsx)(g,{provider:n})]}):"AR"===s?(0,r.jsxs)(a.BJ,{gap:"sm",children:[(0,r.jsx)(g,{provider:n}),(0,r.jsx)(u,{})]}):(0,r.jsx)(g,{provider:n})},v=e=>{let{showTailingRegulation:t,provider:n}=e,{event:d}=(0,s.useContext)(o.y$),c=(0,i.d4)((0,m.Ul)(d)),u=(0,i.d4)((0,m.bS)(d)),x=(0,i.d4)(m.BF);return c||u||x?(0,r.jsx)(l.Zp,{children:(0,r.jsx)(a.az,{p:"xs",children:(0,r.jsx)(h,{showTailingRegulation:t,provider:n})})}):null}},831:(e,t,n)=>{var r=n(68988),a=n(22180);e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},5195:(e,t,n)=>{"use strict";n.d(t,{M:()=>k});var r=n(6029),a=n(94565),s=n(64006),i=n(55729),l=n(19501),o=n(45860),d=n(59721),c=n(73914),u=n(76356),x=n(90248),m=n(15340),p=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 f=e=>{let{ut:t,totalCount:n,liveCount:a}=e;return(0,r.jsx)(s.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:24}),(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&&a&&(0,r.jsx)(h,{all:null==n?void 0:n[t.id],live:null==a?void 0:a[t.id]}),(0,r.jsx)(m.e,{id:t.id,entity:l.bq7.Tournaments,location:p.y.MainLeagues,type:p.b.UniqueTournament})]})]},t.id)})},y=e=>{let{category:t,utGroups:n,date:a}=e,{totalCount:i,liveCount:d}=((e,t)=>{let{data:n}=(0,o.Ay)(l.ZXN.countByUniqueTournaments(e,(0,v.UG)(t),3600*(0,v.UW)())),{data:r}=(0,o.Ay)((0,v.cK)(t)?l.ZXN.liveCountByUniqueTournaments(e):null);return{totalCount:null==n?void 0:n.uniqueTournamentEventCount,liveCount:null==r?void 0:r.liveUniqueTournaments}})(t.id,a),m=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:[m.map(e=>(0,r.jsx)(f,{ut:e,totalCount:i,liveCount:d},e.id)),(0,r.jsx)(s.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:"basic.all"})})})})]})},j=e=>{let{category:t,onAsyncComplete:n,date:a,updateContentHeight:s}=e,{data:d}=(0,o.Ay)(l.ZXN.uniqueTournaments(t.id),{onSuccess:e=>n(e.groups)});return((0,i.useEffect)(()=>{null==s||s()},[d]),d)?(0,r.jsx)(y,{category:t,date:a,utGroups:d.groups}):null},b=(0,i.memo)(e=>{let{opened:t,category:n,date:a,updateContentHeight:s}=e,l=(0,i.useRef)(void 0);return l.current?(0,r.jsx)(y,{category:n,utGroups:l.current,date:a}):t?(0,r.jsx)(j,{category:n,date:a,updateContentHeight:s,onAsyncComplete:e=>{l.current=e}}):null},(e,t)=>e.opened===t.opened);var C=n(8329),A=n(52466),w=n(60475);let T=e=>{let{opened:t,category:n,eventsCount:a,toggleAccordion:s}=e;return(0,r.jsxs)(u.so,{cursor:"pointer",w:"100%",align:"center",justify:"space-between",gap:"md",border:"none",onClick:s,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)(w.md,{slug:n.slug,name:n.name,fieldTranslations:n.fieldTranslations})})]}),(0,r.jsx)(h,{all:null==a?void 0:a.all,live:null==a?void 0:a.live})]}),(0,r.jsx)(u.az,{w:"xl",h:"xl",flexShrink:0,children:(0,r.jsx)(A.zQC,{icon:"chevron-down",fill:t?"primary.default":"onSurface.nLv3",style:{transition:"0.2s all",transform:"rotate(".concat(180*!!t,"deg)")}})})]})},_=e=>{1!==e.button&&e.preventDefault()},R=e=>{let{category:t,date:n,eventsCount:i}=e;return(0,r.jsxs)(a.nD.Item,{br:["sm",0],bg:["surface.s1",void 0],elevation:[2,void 0],children:[(0,r.jsx)(s.Z6,{category:t,onClick:_,children:(0,r.jsx)(a.nD.Trigger,{children:e=>{let{opened:n,toggleAccordion:a}=e;return(0,r.jsx)(T,{opened:n,category:t,eventsCount:i,toggleAccordion:a})}})}),(0,r.jsx)(a.nD.Content,{children:e=>{let{opened:a,updateContentHeight:s}=e;return(0,r.jsx)(b,{opened:a||!1,category:t,date:n,updateContentHeight:s})}})]})},k=e=>{let{sport:t,date:n,categories:s}=e,i=((e,t)=>{let{data:n}=(0,o.Ay)(l.t3g.categoriesByDate(e,(0,v.UG)(t))),{data:r}=(0,o.Ay)((0,v.cK)(t)?l.t3g.liveCategoryEvents(e):null);return function(e,t){if(!e)return;let n=e.categories,r=null==t?void 0:t.liveCategories,a={};return n.forEach(e=>{let t=e.category.id;a[t]={all:e.totalEvents,live:r?r[t]:void 0}}),a}(n,r)})(t,n);return(0,r.jsx)(a.nD,{children:s.map(e=>(0,r.jsx)(R,{category:e,date:n,eventsCount:null==i?void 0:i[e.id]},e.id))})}},13731:(e,t,n)=>{var r=n(53325),a=n(25725),s=Object.prototype.hasOwnProperty;e.exports=a(function(e,t,n){s.call(e,n)?e[n].push(t):r(e,n,[t])})},16007:(e,t,n)=>{"use strict";n.d(t,{UA:()=>u,UG:()=>s,UH:()=>o,fH:()=>d,fi:()=>c,rC:()=>l});var r=n(41735),a=n(19991);let s=330,i=(0,r.keyframes)` from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } `,l=(0,r.keyframes)` from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } `,o=(0,r.keyframes)` 0% { clip-path: inset(0 15px 0 0); transform: matrix(1, 0, 0, 0.01, 0, 11.5); } 50% { clip-path: inset(0 15px 0 0); transform: matrix(1, 0, 0, 1, 0, 0); } 100% { clip-path: inset(0 0 0 0); transform: matrix(1, 0, 0, 1, 0, 0); } `,d=(0,r.keyframes)` 0% { clip-path: inset(0 0 0 15px); transform: matrix(1, 0, 0, 0.01, 0, -11.5); } 50% { clip-path: inset(0 0 0 15px); transform: matrix(1, 0, 0, 1, 0, 0); } 100% { clip-path: inset(0 0 0 0); transform: matrix(1, 0, 0, 1, 0, 0); } `,c=(0,r.css)` ${i} ease-in ${s}ms 1 `,u=(0,r.css)` ${e=>((e,t)=>{let n=(0,a.q2)(e);return e&&t&&e>t?(0,r.keyframes)` 0% { background-position: 0 -100%; } 100% { background-position: 0 0; background-image: ${n}; } `:(0,r.keyframes)` 0% { background-position: 0 100%; } 100% { background-position: 0 0; background-image: ${n}; } `})(e.rating,e.previousRating)} ${s}ms ease-in 1 `},16419:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},17390:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,G:()=>o});var r=n(6029),a=n(19501),s=n(76356),i=n(46222),l=n(74664);let o=[a.QCR.Football,a.QCR.Basketball];function d(){let e=(0,l.o)();return o.includes(e)?(0,r.jsxs)(i.Zp,{children:[(0,r.jsx)(i.Zp.Header,{titleId:"compare_stats"}),(0,r.jsx)(s.az,{h:"6xl"}),(0,r.jsx)(s.az,{h:"[1px]",mx:"lg",my:"sm",bg:"neutrals.nLv4"}),(0,r.jsx)(s.az,{h:"6xl"}),(0,r.jsx)(i.Zp.Footer,{ctaParams:{messageId:"compare",variant:"filled",disabled:!0}})]}):null}},17554:(e,t,n)=>{"use strict";n.d(t,{E5:()=>l,fz:()=>o,hE:()=>d});var r=n(6029),a=n(73914),s=n(90248),i=n(49188);function l(e){let{children:t,title:n,titleValues:l,titleHidden:o}=e;return t?(0,r.jsxs)(i.E,{children:[!o&&n&&(0,r.jsx)(a.H2,{textStyle:"display.medium",mb:"md",children:(0,r.jsx)(s.A,{id:n,values:l})}),t]}):null}function o(e){let{id:t,values:n}=e,i={...n||{},bold:function(){for(var e=arguments.length,t=Array(e),n=0;n{"use strict";n.d(t,{Et:()=>s,MR:()=>i,q2:()=>l});var r=n(94565),a=n(98914);let s=e=>{let t=Number(e),n="scoreRating.s00";return t>=9?n="scoreRating.s90":t>=8?n="scoreRating.s80":t>=7?n="scoreRating.s70":t>=6.5?n="scoreRating.s65":t>=6?n="scoreRating.s60":t>0&&(n="scoreRating.s10"),n},i=(e,t,n)=>{let r=Number(e);if(!r||isNaN(r))return{formattedRating:"-",ratingColorKey:"scoreRating.s00"};let i=(0,a.M)(r,"sideBox"===t||2===n?2:1);return Number(i)>=10?{formattedRating:"10",ratingColorKey:"scoreRating.s90"}:{formattedRating:i,ratingColorKey:s(i)}},l=(e,t)=>{if(e&&t)return`linear-gradient(to bottom, ${(0,r.$5)(s(e))} 50%, ${(0,r.$5)(s(t))} 50%)`;let n=(0,r.$5)(s(e));return`linear-gradient(to bottom, ${n}, ${n})`}},20825:(e,t,n)=>{"use strict";n.d(t,{D:()=>d});var r=n(6029),a=n(76356),s=n(6813),i=n(56132),l=n(85974);let o=e=>{switch(e){case i.x.Teams:return"teams";case i.x.Athletes:return"athletes";case i.x.Events:return"events";case i.x.Competitions:return"competitions";default:return"basic.all"}},d=e=>{let{entity:t,searchAll:n=!1,hasFavoriteTeams:d=!1}=e,c=t===i.x.Events&&d;return(0,r.jsx)(a.az,{pt:{base:"sm",md:"[0px]"},px:{base:"sm",md:"[0px]"},children:(0,r.jsx)(s.p,{graphic:c?"no-events-calendar":void 0,titleMessageId:c?"no_upcoming_events":t===i.x.Events?"add_items_to_favourites":"select_favourite_".concat(o(t)),descriptionMessageId:c?"no_upcoming_events_description":t===i.x.Events?"add_items_to_favourites_description":"select_favourite_".concat(o(t),"_description"),children:!c&&(0,r.jsx)(a.az,{pt:"xl",children:(0,r.jsx)(l.M,{searchEntity:n?i.x.All:t})})})})}},22180:(e,t,n)=>{var r=n(22926),a=n(68668),s=n(86152),i=n(82694),l=n(79860),o=n(48546);e.exports=function(e,t,n){var d=-1,c=a,u=e.length,x=!0,m=[],p=m;if(n)x=!1,c=s;else if(u>=200){var g=t?null:l(e);if(g)return o(g);x=!1,c=i,p=new r}else p=t?[]:m;e:for(;++d{"use strict";n.d(t,{A:()=>c});var r=n(6029),a=n(19501),s=n(76356),i=n(46222),l=n(68354),o=n(74664);let d={[a.QCR.Football]:540,[a.QCR.Basketball]:280};function c(){let e=(0,o.o)();return d[e]?(0,r.jsxs)(i.Zp,{children:[(0,r.jsx)(l.A,{titleId:"top_players",values:{gender:a.YT8.Male}}),(0,r.jsx)(s.az,{style:{height:d[e]}}),(0,r.jsx)(i.Zp.Footer,{ctaParams:{messageId:"show_more",icon:i.Xb.Down,onClick:()=>{}}})]}):null}},25725:(e,t,n)=>{var r=n(81648),a=n(78492),s=n(68988),i=n(91544);e.exports=function(e,t){return function(n,l){var o=i(n)?r:a,d=t?t():{};return o(n,e,s(l,2),d)}}},27869:(e,t,n)=>{e.exports=n(14165)({"&":"&","<":"<",">":">",""":'"',"'":"'"})},29347:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(6029),a=n(22375),s=n(76356),i=n(55729),l=n(494),o=n(46222),d=n(18970),c=n(40148),u=n(25479),x=n(72753),m=n(54365),p=n(17390),g=n(61924),h=n(45586),v=n(47161),f=n(25262);function y(e){let{date:t,category:n,listType:y}=e,j=(0,i.useContext)(d.Ws),b=(0,l.d4)(x.LQ),C=(0,u.SR)(j,(0,a.UG)(t));return(0,r.jsxs)(r.Fragment,{children:[C.length>0?(0,r.jsx)(u.Or,{date:(0,a.UG)(t),tournaments:C}):(0,r.jsx)(c.d,{}),(0,r.jsx)(h.w,{}),(0,r.jsx)(f.A,{}),(0,r.jsx)(p.A,{}),(0,r.jsx)(g.A,{}),(0,r.jsx)(o.Zp,{children:(0,r.jsx)(s.az,{h:"7xl"})}),(0,r.jsx)(o.Zp,{children:(0,r.jsx)(s.az,{h:"[616px]"})}),"HR"!==b&&(0,r.jsx)(s.az,{position:"sticky",top:"[120px]",children:(0,r.jsx)(o.Zp,{children:(0,r.jsx)(s.az,{h:"[294px]"})})}),n&&j?(0,r.jsx)(m._,{sport:j,category:n}):y===v.Jx.BASE?(0,r.jsx)(m.a,{}):null]})}},32019:(e,t,n)=>{"use strict";n.d(t,{C:()=>s,Z:()=>i});var r=n(494),a=n(86522);let s=(e,t,n)=>{var r,a,s;let i=null==(r=e.tournament.uniqueTournament)?void 0:r.id;if(i&&(null==n||null==(s=n.uniqueTournaments)||null==(a=s[i])?void 0:a[t]))return null==n?void 0:n.uniqueTournaments[i]},i=(e,t)=>s(e,t,(0,r.d4)(a.g))},36503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ti});var r=n(6029),a=n(22375),s=n(19501),i=n(88715),l=n(97825),o=n(7763),d=n(18153),c=n(75040),u=n(47161);let x=[s.QCR.Football,s.QCR.Basketball,s.QCR.Baseball,s.QCR.Handball,s.QCR.IceHockey,s.QCR.TableTennis,s.QCR.Tennis,s.QCR.Volleyball],m=o.Ay.getInitialPageProps(e=>async t=>{let r,a=t.req?t.req._originalUrl:t.asPath,o=(0,c.a)(t,a),m=o||s.QCR.Football,p=(0,c.l)(t,"date"),g=(0,c.l)(t,"category"),h=u.Jx.BASE;p&&(h=u.Jx.DATE),g&&(h=u.Jx.CATEGORY);let v=i.z.getCurrentLocale(a);t.res&&a&&(h===u.Jx.BASE&&(null==o?void 0:o.toLowerCase())===s.QCR.Football&&(t.res.writeHead(301,{Location:i.z.getTranslatedRoute(v,"home").route}),t.res.end()),/[A-Z]/.test(m)&&(t.res.writeHead(301,{Location:a.toLowerCase()}),t.res.end()));let[f,y,j]=await Promise.allSettled([s.Tps.fetchSportCategories(m,!0),s.sdF.getEntityMeta(s.wNW.Sport,m,v),x.includes(m)?s.sdF.getSeoContent(s.wNW.Sport,m,v):Promise.reject()]);if(g&&t.res){if("rejected"===f.status||!f.value.categories.find(e=>e.slug===g))return t.res.statusCode=404,{error:Error("Category not found")};r=f.value.categories.find(e=>e.slug===g)}let b="fulfilled"===y.status?y.value.entityMeta:void 0,C="fulfilled"===j.status?j.value.content:void 0,A=(await n(23498)("./route.".concat(h,".json"))).default;return e.dispatch((0,l.Od)(A)),e.dispatch((0,d.Vy)(m)),{listType:h,sport:m,date:p,initialCategory:r,categorySlug:g,meta:b,seoContent:C}});var p=n(76356),g=n(18970),h=n(90438),v=n(52763),f=n(20945),y=n(4917),j=n(173),b=n(68789),C=n(55729),A=n(90248),w=n(45860),T=n(88658),_=n(74664),R=n(60475),k=n(64006),E=n(99306);function S(e){var t;let{category:n,listType:a}=e,{meta:i,seoContent:l}=(0,C.useContext)(y.x),o=(0,_.o)(),{data:d}=(0,w.Ay)("string"==typeof n?s.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)(T.B,{noBg:!0,children:(0,r.jsx)(T.B.Title,{children:(null==l?void 0:l.heading)||(null==i?void 0:i.h1)||(0,r.jsx)(A.A,{id:a===u.Jx.BASE||a===u.Jx.DATE?"headerTitle.main":"",values:{item:(0,r.jsx)(E.o,{sportSlug:o})}})})});if(n){let e="object"==typeof n?n.slug:n;x=(0,r.jsxs)(T.B,{noBg:!0,children:[(0,r.jsx)(T.B.Item,{children:(0,r.jsx)(k.di,{translatedParams:{sport:o},children:(0,r.jsx)(E.o,{sportSlug:o})})}),(0,r.jsx)(T.B.Item,{children:(0,r.jsx)(k.N_,{routeKey:"eventList.category",params:{sport:o,category:e},children:(0,r.jsx)(R.md,{...c})})}),(0,r.jsx)(T.B.Title,{children:(0,r.jsx)(A.A,{id:"headerTitle.main",values:{item:(0,r.jsx)(E.o,{sportSlug:o})}})})]})}return(0,r.jsx)(p.az,{px:{mdDown:"sm"},pt:{mdDown:"sm"},children:x})}var M=n(494),L=n(46222),Q=n(66735),z=n(72753),D=n(14868),F=n(6813),I=n(16503),O=n(73914),B=n(79634),P=n(86522),N=n(53255),U=n(41735);let H=e=>{let{branding:t,children:n,isLast:a,...s}=e,i=(0,U.useTheme)();return t?(0,r.jsx)(p.az,{borderStart:"{sizes.2xs} solid",borderEnd:"{sizes.2xs} solid",borderBottom:a?"{sizes.2xs} solid":void 0,borderBottomRadius:a?"lg":void 0,style:{borderColor:t.brand.color[i.name]},...s,children:n}):(0,r.jsx)(r.Fragment,{children:n})};var G=n(32019),Y=n(36678),$=n(49988),q=n(37455),J=n(88505),Z=n(96662),V=n(81813);let K={11:(0,r.jsx)(Z.i,{id:V.Rj.MOBILE_HOME_LIST_TOP}),49:(0,r.jsx)(Z.i,{id:V.Rj.MOBILE_HOME_LIST_MID})};var X=n(3074),W=n(67087),ee=n(36882);let et=e=>{let{event:t,height:n}=e,a=(0,W.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===s.YVh.Double?null:(0,r.jsx)(O._V,{width:"lg",height:"lg",mr:"sm",src:"/static/images/placeholders/team.svg",alt:"Team image placeholder"}),(0,r.jsx)(O.Ym,{truncate:!0,children:(0,r.jsx)(J.Rm,{team:a?t.awayTeam:t.homeTeam,short:!0})})]}),(0,r.jsxs)(p.so,{align:"center",maxW:"[200px]",overflow:"hidden",children:[t.homeTeam.type===s.YVh.Double?null:(0,r.jsx)(O._V,{width:"lg",height:"lg",mr:"sm",src:"/static/images/placeholders/team.svg",alt:"Team image placeholder"}),(0,r.jsx)(O.Ym,{truncate:!0,children:(0,r.jsx)(J.Rm,{team:a?t.homeTeam:t.awayTeam,short:!0})})]})]})})};var en=function(e){return e.header="header",e.event="event",e.divider="divider",e.ad="ad",e}(en||{});let er=(e,t)=>t||!e.tournament.uniqueTournament?e.tournament.id:e.tournament.uniqueTournament.id;function ea(e){let{eventCell:t,header:n,onClick:a,events:i}=e,{mutate:l}=(0,w.iX)(),{isMobile:o}=(0,O.$c)(),{preferTournamentName:d,showAds:c,odds:u}=(0,C.useContext)(Q.e),x=(0,M.d4)(q.v_),m=(0,M.d4)(q.yB)&&!x,g=(0,M.d4)(z.hT),h=(0,M.d4)(P.g),v=(0,C.useMemo)(()=>t||Y.gY,[]),f=(0,C.useMemo)(()=>n||X.sm,[]);(0,C.useEffect)(()=>{l(s.t3g.eventCount())},[l,i.length]);let y=(0,C.useMemo)(()=>{let e=[];return i.forEach((t,n)=>{let r=(0,G.C)(t,"eventList",h),a=er(i[n],d),s=i[n-1]&&er(i[n-1],d),l=i[n+1]&&er(i[n+1],d),u=a!==s;if(c&&o&&K[n]&&e.push({type:"ad",adUnit:K[n],branding:u?void 0:r}),u&&e.push({type:"header",tournament:t.tournament,branding:r}),e.push({type:"event",event:t,branding:r,isLastTournamentEvent:a!==l}),l&&a!==l){let t=(0,G.C)(i[n+1],"eventList",h);if(r||t)return;e.push({type:"divider"})}}),e},[i,o,h]);return(0,r.jsx)(r.Fragment,{children:y.map((t,n)=>{var i,d,c,x,h,j;let b=e.isInCard?void 0:"sm";switch(t.type){case"header":let C=t.branding,A=y.find((e,t)=>t>n&&"event"===e.type);return(0,r.jsxs)(B.q,{initialVisible:n<30,defaultHeight:C?72:48,children:[C&&(null==(d=t.tournament)||null==(i=d.uniqueTournament)?void 0:i.id)&&(0,r.jsx)(N.O,{entityId:t.tournament.uniqueTournament.id,branding:C,br:"[{spacing.lg} {spacing.lg} 0 0]",overflow:"hidden",mx:b,location:"main_list"}),(0,r.jsx)(H,{branding:C,mx:b,children:(0,r.jsx)(f,{tournament:t.tournament,seasonId:null==A||null==(x=A.event)||null==(c=x.season)?void 0:c.id})})]},t.type+(null==(h=t.tournament)?void 0:h.id));case"event":let w=t.event,T=null==(j=w.tournament)?void 0:j.category.sport.slug,_=T===s.QCR.Cricket,R=T===s.QCR.AmericanFootball&&w.status.type===s.XUj.InProgress,k=_||R?68:48,E=t.isLastTournamentEvent;return(0,r.jsx)(H,{branding:t.branding,isLast:E,pb:E?"sm":void 0,mx:b,children:(0,r.jsx)(B.q,{initialVisible:n<30,defaultHeight:k,loader:_?void 0:(0,r.jsx)(et,{event:w,height:k}),children:(0,r.jsx)(Y.MC,{value:{invertedMenu:y.length-n<=2,showOdds:m,location:ee.y.MainMatches},children:(0,r.jsx)(v,{event:w,onClick:a,isMobile:o,mutate:()=>{g&&window.setTimeout(()=>{l(s.t3g.liveEvents(g))},$.s.Total+200)},odds:u?u[w.id]||{loaded:!0}:void 0},w.id)})})},t.type+w.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)(H,{branding:t.branding,mx:b,children:t.adUnit},"ad-unit-".concat(n));default:return null}})})}function es(e){return(0,r.jsx)(ea,{...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 el=n(61321),eo=n(20825),ed=n(56132),ec=n(95084),eu=n(4790);function ex(e){let{date:t,sport:n,isFavoritesOnly:i,gender:l,timeStatus:o,competitionLevel:c,areOddsDisplayed:x,setLiveCount:m}=e,h=(0,M.wA)(),v=(0,u.wA)(n,t),f=(0,C.useContext)(Q.e),y=t===(0,a.UG)(new Date),j=(0,u.G_)(),A=(0,b.Ae)(),w=(0,eu.s)(null==A?void 0:A.impressionCostEncrypted),T=(0,C.useCallback)((0,u.pg)(n,Date.parse("".concat(t,"T12:00"))),[n,t]),_=e=>(0,u.yS)(e,o)&&(0,u.g2)(e,l)&&(0,u.i6)(e,c),{events:R,isLoading:k}=(0,u.zx)(n,t,T),{favoriteDateEvents:E,isLoading:S}=(0,u._3)(n,T,R),z=null==E?void 0:E.filter(e=>(0,u.yS)(e,u.M_.Live));(0,C.useEffect)(()=>{i&&m((null==z?void 0:z.length)||0)},[null==z?void 0:z.length,i]);let O=((i?E:R)||[]).filter(_),{additionalEvents:B,isLoading:P}=(0,u.wt)(n,t,T),N=null==B?void 0:B.filter(_);(0,u.Xc)({listType:u.iJ.Regular,sport:n,date:t,eventsByDateFilter:T});let U=(0,C.useCallback)(()=>{h((0,d._D)(t))},[t]),H=(0,I.e)(async()=>{(0,ec.CH)({location:g.cb.MainList,provider:null==A?void 0:A.provider.slug,value:await w})},{deps:[n,t]}),G=o!==u.M_.Any||l!==s.YT8.Mixed||c!==u.OR.Any;return(k||S)&&!P?(0,r.jsx)(el.A,{sport:n,isHomePage:!0}):O.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Q.e,{value:{...f,odds:v,date:i?void 0:t,showAds:!i},children:(0,r.jsx)("div",{ref:x&&v&&Object.keys(v).length>0&&!i?H:void 0,children:(0,r.jsx)(ei,{divider:!0,events:O,header:X.kE,onClick:j})})}),!i&&!!(null==N?void 0:N.length)&&(0,r.jsxs)(Q.e,{value:{...f,showAds:!1,odds:v,date:t},children:[(0,r.jsx)(p.cG,{color:"neutrals.nLv4",borderBlockEndStyle:"solid",pb:"sm"}),(0,r.jsx)(ei,{divider:!0,events:N,header:X.kE,onClick:j})]}),(0,r.jsx)(L.Zp.Footer,{ctaParams:!i&&!N&&n===s.QCR.Football&&{messageId:"show_all",icon:D.X.Down,onClick:U}})]}):i&&!E?(0,r.jsx)(eo.D,{entity:ed.x.Events,searchAll:!0}):(0,r.jsx)(F.p,{graphic:"no-events-calendar",titleMessageId:G?"empty_filtered_events_title":y?"eventList.noEventsToday":"basic.noEvents",descriptionMessageId:G?"empty_filtered_events_text":"eventList.tryDifferentDate"})}var em=n(96016);function ep(e){var t;let{categoryId:n}=e,{data:a,isLoading:i}=(0,w.Ay)(n?s.ZXN.uniqueTournaments(n):null);if(i)return(0,r.jsx)(p.az,{h:"[440px]"});if(!a)return null;let l=a.groups.filter(e=>{let{isActive:t}=e;return!a.activeUniqueTournamentIds||t}),o=null!=(t=a.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)(O.H4,{color:"neutrals.nLv4",pl:"lg",children:(0,r.jsx)(A.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)(O.H3,{textStyle:"display.medium",color:o.includes(e.id)?"secondary.default":"neutrals.nLv1",children:e.name})})},e.id))]},t)})})}let eg=(0,C.memo)(function(e){let t=(0,M.wA)(),n=(0,u.G_)(),i=(0,C.useContext)(Q.e),{date:l,sport:o,initialCategory:d,categorySlug:c}=e,x=Date.parse("".concat(l,"T12:00")),m=(0,a.UG)(new Date)===l,{data:h,isLoading:v}=(0,w.Ay)(s.t3g.categories(o,!0)),f=v||!h?d:h.categories.find(e=>e.slug===c),y=o===s.QCR.Cricket?e=>(0,a._M)(x,1e3*e.startTimestamp,1e3*e.endTimestamp):e=>(0,a.yk)(e.startTimestamp,x),j=f?f.sport.slug===s.QCR.Tennis?"recentTournaments":"allTournaments":null,T=(0,u.wA)(o,l),_=(0,b.Ae)(),k=(0,eu.s)(null==_?void 0:_.impressionCostEncrypted),S=(0,I.e)(async()=>{(0,ec.CH)({location:g.cb.MainList,provider:null==_?void 0:_.provider.slug,value:await k})},{deps:[o,l,c]}),{data:L,isLoading:z}=(0,w.Ay)(f?s.ZXN.scheduledEvents(f.id,l):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async e=>(await (0,s.TtD)(e)).events.filter(y),onSuccess:e=>{t((0,em.oU)(e))}}),D=L&&!!L.length;return((0,u.Xc)({listType:u.iJ.Category,sport:o,date:l,category:f,eventsByDateFilter:y}),z||v)?(0,r.jsx)(p.az,{h:"[1024px]"}):(0,r.jsxs)(r.Fragment,{children:[D?(0,r.jsx)(Q.e,{value:{...i,odds:T},children:(0,r.jsx)(p.az,{pt:"sm",ref:T&&Object.keys(T).length>0?S:void 0,children:(0,r.jsx)(ei,{events:L,header:X.kn,onClick:n})})}):(0,r.jsx)(F.p,{graphic:"no-events-calendar",titleMessageId:m?"eventList.noEventsToday":"basic.noEvents",descriptionMessageId:"eventList.tryDifferentDate"}),f&&(0,r.jsx)(O.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",pt:"xl",px:"md",children:(0,r.jsx)(A.A,{id:"eventList.category.".concat(j),values:{categoryName:(0,r.jsx)(R.md,{...f}),sportName:(0,r.jsx)(E.o,{sportSlug:f.sport.slug})}})}),(0,r.jsx)(ep,{categoryId:null==f?void 0:f.id})]})},(e,t)=>e.categorySlug===t.categorySlug&&e.sport===t.sport&&e.date===t.date);var eh=n(94565),ev=n(74610),ef=n(90510),ey=n(65062),ej=n(52466),eb=n(82536);let eC=e=>{let{date:t,onClick:n}=e;return(0,r.jsxs)(p.so,{align:"center",gap:"sm",cursor:"pointer",onClick:n,children:[(0,r.jsx)(ej.zQC,{icon:"calendar-empty",fill:"primary.default"}),(0,r.jsx)(O.EY,{textStyle:"display.small",lineHeight:1,children:(0,r.jsx)(ef.XU,{value:t.getTime(),...a.or.date})})]})};function eA(e){let{onChange:t,date:n,sport:a,asPopover:s}=e,[i,l]=(0,C.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(p.so,{justify:"space-between",align:"center",gap:"xs",p:"xs",bg:"surface.s1",br:"sm",border:"2px solid {colors.neutrals.nLv4}",children:[(0,r.jsx)(O.K0,{variant:"clear",onClick:()=>{let e=new Date(n);e.setDate(n.getDate()-1),t(e),(0,ec.ke)({action:"click",location:"main_page",type:"calendar_left_arrow"})},children:(0,r.jsx)(ej.pa2,{})}),(0,r.jsx)(eC,{date:n,onClick:()=>l(!0)}),(0,r.jsx)(O.K0,{variant:"clear",onClick:()=>{let e=new Date(n);e.setDate(n.getDate()+1),t(e),(0,ec.ke)({action:"click",location:"main_page",type:"calendar_right_arrow"})},children:(0,r.jsx)(ej.CCT,{})})]}),i?s?(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)(ej.zQC,{icon:"close",fill:"primary.default"})})}),(0,r.jsx)(ey.A,{date:n,onChange:e=>{t(e),l(!1)},sport:a})]}):(0,r.jsx)(eb.A,{isOpen:!0,setIsOpen:l,width:360,children:(0,r.jsx)(ey.A,{date:n,onChange:e=>{t(e),l(!1)},sport:a})}):null]})}var ew=n(2920),eT=n(18858);let e_=e=>{let{isActive:t,isLive:n,labelId:a,count:s,onClick:i}=e;return(0,r.jsxs)(O.$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:i,"aria-selected":t,children:[(0,r.jsx)(A.A,{id:a}),!!s&&" (".concat(s,")")]})};function eR(e){let{timeStatus:t,areOddsVisible:n,isOddsToggleDisabled:s,date:i,sport:l,liveCount:o,onChange:d,listType:c}=e,x=(0,eT.Ay)({isInMobileTabs:!1}),m=(0,a.cK)(i);return(0,r.jsx)(ev.t,{tag:"HomePageMobileListHeader",children:(0,r.jsx)(eh.PI,{top:x,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)(eA,{date:i,onChange:e=>d({name:"date",value:e}),sport:l}),!s&&(0,r.jsxs)(p.so,{maxW:"[158px]",align:"center",gap:"sm",children:[(0,r.jsx)(O.EY,{maxW:"[118px]",textStyle:"display.small",truncate:!0,children:(0,r.jsx)(A.A,{id:"odds"})}),(0,r.jsx)(eh.lM,{checked:n,onChange:()=>d({name:"areOddsVisible",value:!n})})]})]}),c!==u.Jx.CATEGORY&&!m&&(0,r.jsx)(p.so,{h:"4xl",px:"sm",align:"center",children:(0,r.jsx)(O.$n,{size:"secondary",onClick:()=>{d({name:"date",value:new Date}),(0,ec.yy)({location:ew.C.MainPageAll,type:ed.x.TodayMatches})},children:(0,r.jsx)(A.A,{id:"today"})})}),c!==u.Jx.CATEGORY&&m&&(0,r.jsx)(O.tR,{children:(0,r.jsxs)(p.so,{w:"fit",p:"sm",align:"center",gap:"xs",children:[(0,r.jsx)(e_,{labelId:"basic.all",isActive:t===u.M_.Any,onClick:()=>{t!==u.M_.Any&&(d({name:"timeStatus",value:u.M_.Any}),(0,ec.yy)({location:ew.C.MainPageAll,type:ed.x.All}))}}),(0,r.jsx)(e_,{labelId:"live",isActive:t===u.M_.Live,isLive:!0,count:o,onClick:()=>{t!==u.M_.Live&&(d({name:"timeStatus",value:u.M_.Live}),(0,ec.yy)({location:ew.C.MainPageAll,type:ed.x.Live}))}}),(0,r.jsx)(e_,{labelId:"finished",isActive:t===u.M_.Finished,onClick:()=>{t!==u.M_.Finished&&(d({name:"timeStatus",value:u.M_.Finished}),(0,ec.yy)({location:ew.C.MainPageAll,type:ed.x.Finished}))}}),(0,r.jsx)(e_,{labelId:"upcoming",isActive:t===u.M_.Upcoming,onClick:()=>{t!==u.M_.Upcoming&&(d({name:"timeStatus",value:u.M_.Upcoming}),(0,ec.yy)({location:ew.C.MainPageAll,type:ed.x.Upcoming}))}})]})})]})})})}function ek(e){let{timeStatus:t,areOddsVisible:n,isOddsToggleDisabled:i,date:l,sport:o,liveCount:d,onChange:c,listType:x,categorySlug:m,initialCategory:g,activeTab:h}=e,v=(0,a.cK)(l),{data:f,isLoading:y}=(0,w.Ay)(s.t3g.categories(o,!0)),j=y?g:null==f?void 0:f.categories.find(e=>e.slug===m),b="favorites"===h?ew.C.MainPageFavorites:ew.C.MainPageAll;return(0,r.jsx)(ev.t,{tag:"HomePageDesktopListHeader",children:(0,r.jsxs)(p.az,{display:{mdDown:"none"},px:"sm",pt:"sm",pb:x===u.Jx.CATEGORY||"competitions"===h?void 0:"sm",children:[(0,r.jsxs)(p.so,{h:"4xl",align:"center",justify:"space-between",borderBottom:"1px solid {colors.neutrals.nLv4}",children:[x===u.Jx.CATEGORY?(0,r.jsx)(O.EY,{pl:"sm",textStyle:"display.large",textTransform:"capitalize",children:(0,r.jsx)(R.md,{...null!=j?j:{slug:m,name:m}})}):(0,r.jsx)(O.tU,{variant:"primary",initialValue:h,children:(0,r.jsxs)(O.tU.List,{children:[(0,r.jsx)(O.tU.Tab,{tabKey:"all",onClick:e=>{("all"!==h||t!==u.M_.Any)&&(c({name:"activeTab",value:"all"}),e.nativeEvent.isTrusted&&(0,ec.yy)({location:ew.C.MainPageAll,type:ed.x.All}))},children:(0,r.jsx)(A.A,{id:"basic.all"})}),(0,r.jsx)(O.tU.Tab,{tabKey:"favorites",onClick:e=>{("favorites"!==h||t!==u.M_.Any)&&(c({name:"activeTab",value:"favorites"}),e.nativeEvent.isTrusted&&(0,ec.yy)({location:ew.C.MainPageFavorites,type:ed.x.All}))},children:(0,r.jsx)(A.A,{id:"eventList.favorites"})}),(0,r.jsx)(O.tU.Tab,{tabKey:"competitions",onClick:e=>{("competitions"!==h||t!==u.M_.Any)&&(c({name:"activeTab",value:"competitions"}),e.nativeEvent.isTrusted&&(0,ec.yy)({location:ew.C.MainPageCompetitions,type:ed.x.All}))},children:(0,r.jsx)(A.A,{id:"competitions"})})]})}),"competitions"!==h&&(0,r.jsx)(eA,{date:l,onChange:e=>c({name:"date",value:e}),sport:o,asPopover:!0})]}),"competitions"!==h&&x!==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)(e_,{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,ec.yy)({location:b,type:t===u.M_.Live?ed.x.All:ed.x.Live})}}),(0,r.jsx)(e_,{labelId:"finished",isActive:t===u.M_.Finished,onClick:()=>{c({name:"timeStatus",value:t===u.M_.Finished?u.M_.Any:u.M_.Finished}),(0,ec.yy)({location:b,type:t===u.M_.Finished?ed.x.All:ed.x.Finished})}}),(0,r.jsx)(e_,{labelId:"upcoming",isActive:t===u.M_.Upcoming,onClick:()=>{c({name:"timeStatus",value:t===u.M_.Upcoming?u.M_.Any:u.M_.Upcoming}),(0,ec.yy)({location:b,type:t===u.M_.Upcoming?ed.x.All:ed.x.Upcoming})}})]}):(0,r.jsx)(O.$n,{size:"secondary",onClick:()=>{c({name:"date",value:new Date}),(0,ec.yy)({location:b,type:ed.x.TodayMatches})},children:(0,r.jsx)(A.A,{id:"today"})}),!i&&(0,r.jsxs)(p.so,{h:"2xl",align:"center",gap:"lg",flexGrow:1,justify:"flex-end",children:[(0,r.jsx)(O.EY,{textStyle:"display.small",children:(0,r.jsx)(A.A,{id:"odds"})}),(0,r.jsx)(eh.lM,{checked:n,onChange:()=>c({name:"areOddsVisible",value:!n})})]})]})]})})}var eE=n(55955),eS=n(78383),eM=n.n(eS),eL=n(15578),eQ=n(15341);let ez=[s.QCR.Football,s.QCR.ESports,s.QCR.Futsal,s.QCR.Minifootball],eD=(0,C.memo)(function(e){let{sport:t,areOddsDisplayed:n,onEmptyStateClick:i}=e,l=(0,M.wA)(),[o,d]=(0,C.useState)(!1),c=ez.includes(t),[x,m,h]=(0,eQ.A)("show-live-amateur-events",!0),v=(0,u.wA)(t,(0,a.UG)(new Date)),f=(0,C.useContext)(Q.e),y=(0,u.G_)(),j=(0,b.Ae)(),T=(0,eu.s)(null==j?void 0:j.impressionCostEncrypted),[_]=(0,eE.vQ)(eL.z),{data:R,mutate:k}=(0,w.Ay)(s.t3g.liveEvents(t),{revalidateOnFocus:!0,revalidateOnReconnect:!0,onSuccess:e=>{l((0,em.oU)(e.events)),d(!1)},onError:()=>{d(!1)}}),S=null==R?void 0:R.events;(0,u.Xc)({listType:u.iJ.Live,sport:t,date:(0,a.UG)(new Date),eventsByDateFilter:()=>!0}),(0,C.useEffect)(()=>{if(!_)return eM();let e=_.Topic.events.bySport(t),n=(0,eE.pO)("new-live-list-event-listener-".concat(t),e,eM());return _.subscribe(n)},[t,_]),(0,C.useEffect)(()=>{if(!_)return;let e=_.Topic.events.bySport(t),n=(0,eE.pO)("new-live-list-event-listener-".concat(t),e,e=>{e["status.type"]===s.XUj.InProgress&&window.setTimeout(()=>{k()},500)});_.subscribe(n)},[S,_,k]);let L=(0,I.e)(async()=>{(0,ec.CH)({location:g.cb.MainList,provider:null==j?void 0:j.provider.slug,value:await T})},{deps:[t]}),z=(0,C.useCallback)(e=>(0,r.jsx)(X.pw,{...e}),[]);if(o||!S)return(0,r.jsx)(el.A,{sport:t,isHomePage:!0});if(S&&!S.length)return(0,r.jsxs)(F.p,{graphic:"no-live-games",titleMessageId:"eventList.noLiveEvents",children:[(0,r.jsx)(O.EY,{color:"neutrals.nLv3",textStyle:"body.mediumParagraph",textAlign:"center",mt:"sm",children:(0,r.jsx)(A.A,{id:"eventList.checkLater"})}),(0,r.jsx)(O.EY,{color:"neutrals.nLv3",textStyle:"body.mediumParagraph",textAlign:"center",children:(0,r.jsx)(A.A,{id:"eventList.meanwhileCheck",values:{link:(0,r.jsx)(O.Mz,{color:"primary.default",onClick:i,children:(0,r.jsx)(A.A,{id:"basic.here"})}),sportName:(0,r.jsx)(E.o,{sportSlug:t,children:e=>(0,r.jsx)("span",{style:{textTransform:"lowercase"},children:e})})}})})]});let D=h?S.filter(e=>x||!(e.crowdsourcingEnabled||e.isEditor)):S;return(0,r.jsxs)(Q.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)(O.EY,{children:(0,r.jsx)(A.A,{id:"football_toggle_amateur_competitions"})}),h&&(0,r.jsx)(eh.lM,{checked:x,onChange:()=>m(e=>!e)})]})}),(0,r.jsx)("div",{ref:n&&v&&Object.keys(v).length>0?L:void 0,children:(0,r.jsx)(ei,{divider:!0,events:D,header:z,onClick:y},t+D.length)})]})},(e,t)=>e.sport===t.sport);var eF=n(947),eI=n(31830),eO=n(5195),eB=n(70807),eP=n(54044),eN=n(59721),eU=n(15340),eH=n(91647);let eG=e=>{let{tournament:t}=e,n=(0,eH.N)(t),a=t.category.sport.slug===s.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)(eN.e,{id:t.id,name:n,size:32}),(0,r.jsx)(p.ov,{h:"[28px]",children:(0,r.jsxs)(O.EY,{textStyle:"display.micro",lineClamp:2,textAlign:"center",children:[n,a&&(0,r.jsxs)(O.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)(eU.e,{id:t.id,entity:s.bq7.Tournaments,location:ee.y.MainLeagues,type:ee.b.UniqueTournament,hasNoBorder:!0})})]})})},eY={[s.QCR.Football]:12,[s.QCR.Basketball]:12,[s.QCR.Tennis]:12,[s.QCR.IceHockey]:12,[s.QCR.Handball]:12,[s.QCR.Volleyball]:12,[s.QCR.Baseball]:3,[s.QCR.Cricket]:12,[s.QCR.Rugby]:5,[s.QCR.Darts]:1,[s.QCR.Futsal]:4,[s.QCR.Waterpolo]:2,[s.QCR.AmericanFootball]:1};function e$(){let e=(0,_.o)(),t=eY[e];return t?(0,r.jsxs)(L.Zp,{children:[(0,r.jsx)(L.Zp.Header,{titleId:eP.it[e]||eP.it.default,variant:"left-aligned"}),(0,r.jsx)(p.az,{style:{height:122.5*Math.ceil(t/4)}})]}):null}function eq(){var e;let t=(0,_.o)(),n=(0,M.d4)(z.LQ),{data:a,error:i}=(0,w.Ay)(s.PTD.topUniqueTournaments(t,n||"00")),l=null==a||null==(e=a.uniqueTournaments)?void 0:e.slice(0,12);return void 0!==l||i?(null==l?void 0:l.length)?(0,r.jsxs)(L.Zp,{children:[(0,r.jsx)(L.Zp.Header,{titleId:eP.it[t]||eP.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)(eG,{tournament:e},e.id))}),(0,r.jsx)(L.Zp.Footer,{})]}):null:(0,r.jsx)(e$,{})}let eJ={[s.QCR.Football]:21,[s.QCR.Basketball]:21,[s.QCR.Tennis]:14,[s.QCR.TableTennis]:3,[s.QCR.IceHockey]:21,[s.QCR.ESports]:3,[s.QCR.Handball]:21,[s.QCR.Volleyball]:21,[s.QCR.Baseball]:16,[s.QCR.AmericanFootball]:4,[s.QCR.Cricket]:16,[s.QCR.Rugby]:7,[s.QCR.Darts]:2,[s.QCR.Snooker]:1,[s.QCR.Futsal]:21,[s.QCR.Minifootball]:21,[s.QCR.Badminton]:1,[s.QCR.AussieRules]:1,[s.QCR.BeachVolley]:1,[s.QCR.Waterpolo]:9,[s.QCR.Floorball]:7,[s.QCR.Bandy]:5};function eZ(){let e=eJ[(0,_.o)()];return e?(0,r.jsxs)(p.az,{children:[(0,r.jsx)(e$,{}),(0,r.jsx)(p.az,{style:{height:48*Math.min(e,20)}})]}):null}function eV(e){let{date:t}=e,n=(0,eF.A)(),a=(0,eI.A)(),i=(0,_.o)(),l=(0,M.d4)(z.LQ),{data:o,isLoading:d}=(0,w.Ay)(s.t3g.categories(i)),c=(0,C.useMemo)(()=>o?o.categories.map(e=>{let t=(0,R.xY)({...e,intl:n,locale:a});return{...e,name:t===e.slug?e.name:t,originalName:e.name}}):[],[o]),u=(0,C.useMemo)(()=>(0,eB.X)(c,a,l),[c,l]);return d?(0,r.jsx)(eZ,{}):c.length?(0,r.jsxs)(L.WC,{variant:"square",children:[(0,r.jsx)(eq,{}),(0,r.jsx)(p.az,{px:"lg",_first:{display:"none"},children:(0,r.jsx)(O.H3,{children:(0,r.jsx)(A.A,{id:"leagues"})})}),(0,r.jsx)(p.az,{pt:"sm",children:(0,r.jsx)(eO.M,{sport:i,date:t,categories:u})})]}):null}var eK=n(54365);function eX(e){let{filters:t,listType:n,liveCount:a,setLiveCount:s,initialCategory:i,categorySlug:l,initialDate:o}=e,d=(0,_.o)(),c=(0,M.d4)(z.LQ),x={[u.Jx.BASE]:ex,[u.Jx.DATE]:ex,[u.Jx.CATEGORY]:eg}[n],m=!t.isOddsToggleDisabled&&t.areOddsVisible;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(Q.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)(L.Zp,{children:[(0,r.jsx)(ek,{...t,liveCount:a,listType:n,categorySlug:l,initialCategory:i}),(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)(L.Zp.Footer,{})]}):t.timeStatus===u.M_.Live&&"favorites"!==t.activeTab?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eD,{sport:d,onEmptyStateClick:()=>{t.onChange({name:"date",value:new Date})},areOddsDisplayed:m}),(0,r.jsx)(L.Zp.Footer,{})]}):(0,r.jsx)(x,{sport:d,date:o,initialCategory:i,categorySlug:l,timeStatus:t.timeStatus,gender:t.gender,isFavoritesOnly:"favorites"===t.activeTab,setLiveCount:s,competitionLevel:t.competitionLevel,areOddsDisplayed:m})})]}),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 eW=n(55575),e0=n.n(eW),e1=n(95669),e2=n.n(e1),e4=n(94164),e6=n(14831);function e5(e){let{listType:t,sport:n,year:l,date:o,categorySlug:d,currentCalendarDate:c}=e,x=(0,eF.A)(),{meta:m,seoContent:p}=(0,C.useContext)(y.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,a.cK)(c)&&delete e.date,t===u.Jx.BASE&&e.sport===s.QCR.Football&&delete e.sport,i.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,e6.ZH)(x.formatMessage({id:"sport.".concat(n)})),year:l})}),f=(0,r.jsx)("meta",{name:"description",content:x.formatMessage({id:n===s.QCR.Football?"description.main":"description.main.".concat(n),defaultMessage:x.messages["description.main"]})},"description"),j=(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)&&(p?(p.title&&(v=(0,r.jsx)("title",{children:e0()(p.title)})),p.description&&(f=(0,r.jsx)("meta",{name:"description",content:p.description},"description"))):m&&(m.title&&(v=(0,r.jsx)("title",{children:e0()(m.title)})),m.description&&(f=(0,r.jsx)("meta",{name:"description",content:m.description},"description")),m.keywords&&(j=(0,r.jsx)("meta",{name:"keywords",content:m.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,e4.v)(n,g)&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),v,f,j]})}var e3=n(71024),e9=n.n(e3),e7=n(29347);let e8=e9()(()=>Promise.all([n.e(54820),n.e(15361),n.e(61305),n.e(82565),n.e(47995),n.e(38633)]).then(n.bind(n,38633)),{loadableGenerated:{webpack:()=>[38633]},loading:()=>(0,r.jsx)(tt,{})}),te=(0,C.createContext)({}),tt=()=>{let e=(0,C.useContext)(te);return(0,r.jsx)(e7.A,{...e})},tn=e=>(0,r.jsx)(te,{value:e,children:(0,r.jsx)(e8,{...e})});function tr(e){let{listType:t,initialCategory:n,categorySlug:a,sport:s,date:i,meta:l,seoContent:o}=e,d=(0,u.dZ)(e),{liveCount:c,setLiveCount:x}=(0,u._p)(s,"favorites"===d.activeTab),m=(0,b.Ae)();return(0,r.jsx)(y.x,{value:{meta:l,seoContent:o},children:(0,r.jsx)(g.Ws,{value:s,children:(0,r.jsxs)(v.JR,{route:h.xW.EventList,children:[(0,r.jsx)(e5,{listType:t,sport:s,year:new Date().getFullYear(),date:i,initialCategory:n,categorySlug:a,currentCalendarDate:d.date}),(0,r.jsx)(eR,{...d,liveCount:c,listType:t}),(0,r.jsx)(S,{category:null!=n?n:a,listType:t}),(0,r.jsxs)(f.xA,{pb:{base:"sm",md:"md"},children:[(0,r.jsxs)(f.fv,{flexGrow:1,children:[(0,r.jsx)(eX,{filters:d,listType:t,liveCount:c,setLiveCount:x,initialCategory:n,categorySlug:a,initialDate:i}),(0,r.jsx)(p.az,{hideBelow:d.areOddsVisible?void 0:"md",children:(0,r.jsx)(j.z,{provider:m})}),(0,r.jsx)(v.Aq,{route:h.xW.EventList})]}),(0,r.jsx)(f.fv,{flexGrow:1,hideBelow:"md",children:(0,r.jsx)(tn,{date:d.date,listType:t,category:a})})]})]})})})}var ta=n(45906);let ts=e=>{let{error:t,...n}=e;return t?(0,r.jsx)(ta.default,{statusCode:t.code}):(0,r.jsx)(tr,{...n,date:n.date||(0,a.UG)(new Date)})};ts.getInitialProps=m;let ti=ts},39975:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,q:()=>l});var r=n(6029),a=n(94565),s=n(55729),i=n(43072);let l=e=>{let{initialVisible:t=!1,defaultHeight:n=0,visibleOffset:l=1e3,persist:o=!1,loader:d,children:c,...u}=e,x={initialInView:t,rootMargin:"".concat(l,"px 0px ").concat(l,"px 0px")},[m,p,g]=(0,i.Wx)(x),h=(0,s.useRef)(t),v=(0,s.useRef)(n);(0,s.useEffect)(()=>{p&&!0!==h.current&&(h.current=!0),p&&v.current!==n&&(v.current=(null==g?void 0:g.boundingClientRect.height)||n)},[p,g]);let f=d||(v.current?(0,r.jsx)(a.az,{h:v.current}):null),y=p||o&&h.current;return(0,r.jsx)(a.az,{ref:m,...u,children:y?c:f})},o=l},40148:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(6029),a=n(76356),s=n(46222),i=n(49938),l=n(82827);function o(){return(0,r.jsxs)(a.so,{direction:"column",children:[(0,r.jsx)(s.Zp,{children:(0,r.jsx)(s.BU,{children:(0,r.jsx)(s.WC,{variant:"square",children:(0,r.jsxs)(a.BJ,{gap:"lg",children:[(0,r.jsx)(a.az,{h:"2xl"}),(0,r.jsx)(i.o,{hideTitle:!0,showCta:!1}),(0,r.jsx)(a.az,{h:"11xl"}),(0,r.jsx)(a.az,{px:"xs",pb:"xs",children:(0,r.jsx)(l.t1,{hasCTA:!1,provider:void 0,hasBackground:!1,isNewOddsChoiceDesign:!0})})]})})})}),(0,r.jsx)(a.az,{h:"2xl"})]})}},44224:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var r=n(22375),a=n(45860),s=n(11276);let i=e=>fetch(e,{method:"HEAD",cache:"no-store"});function l(){let{data:e,error:t,isLoading:n}=(0,a.Ay)(s.sp,{fetcher:i,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:()=>h});var r=n(6029),a=n(8329),s=n(19501),i=n(73914),l=n(76356),o=n(55729),d=n(90248),c=n(46222),u=n(74664),x=n(64006),m=n(7540);let p=e=>{let{sport:t,categorySlug:n,categoryId:s}=e;return(0,r.jsx)(x.N_,{routeKey:"rankings",params:{sport:t,category:n},children:(0,r.jsxs)(l.BJ,{align:"center",bg:"surface.s2",_hover:{bg:"neutrals.nLv4"},br:"sm",p:"md",gap:"sm",children:[(0,r.jsx)(a.w,{rankingSlug:"".concat(n,"-big"),name:"utr-men"===n?"utr_men":"utr_women",categoryId:s,size:56}),(0,r.jsx)(i.EY,{textAlign:"center",textStyle:"display.small",children:n.includes("utr")?(0,r.jsx)(d.A,{id:(0,m.Ul)(n)}):(0,r.jsx)(d.A,{id:"rankings.category",values:{category:(0,m.Ul)(n)}})})]})})},g=(0,o.memo)(e=>{let{sport:t}=e;switch(t){case s.QCR.Football:return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{sport:t,categorySlug:"fifa"}),(0,r.jsx)(p,{sport:t,categorySlug:"uefa"})]});case s.QCR.Tennis:return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{sport:t,categorySlug:"atp",categoryId:3}),(0,r.jsx)(p,{sport:t,categorySlug:"wta",categoryId:6}),(0,r.jsx)(p,{sport:t,categorySlug:"utr-men",categoryId:1843}),(0,r.jsx)(p,{sport:t,categorySlug:"utr-women",categoryId:1844})]});case s.QCR.Rugby:return(0,r.jsx)(p,{sport:t,categorySlug:"rugby-union",categoryId:82});default:return null}});function h(){let e=(0,u.o)();return[s.QCR.Football,s.QCR.Tennis,s.QCR.Rugby].includes(e)?(0,r.jsxs)(c.Zp,{children:[(0,r.jsx)(c.Zp.Header,{titleId:"rankings"}),(0,r.jsx)(l.xA,{pt:"xs",px:"sm",pb:"sm",gap:"sm",gridTemplateColumns:e===s.QCR.Rugby?"1fr":"1fr 1fr",children:(0,r.jsx)(g,{sport:e})})]}):null}},45906:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(6029),a=n(14092),s=n(73914),i=n(76356),l=n(95669),o=n.n(l),d=n(947),c=n(90248),u=n(52466),x=n(6813),m=n(25246),p=n(20945),g=n(64006);function h(e){let{statusCode:t}=e;a.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)(o(),{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)(m.YW,{children:(0,r.jsx)(p.xA,{children:(0,r.jsx)(p.fv,{flexGrow:1,textAlign:"center",my:"2xl",children:(0,r.jsx)(x.p,{graphic:"no-connection",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(s.H1,{textStyle:"display.extraLarge",color:"neutrals.nLv3",alignSelf:"center",mt:"[28px]",mb:"2xs",children:t}),(0,r.jsx)(s.H3,{display:"block",textStyle:"display.medium",color:"neutrals.nLv3",alignSelf:"center",children:(0,r.jsx)(c.A,{id:"error.anErrorOccurred"})}),(0,r.jsx)(s.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)(g.N_,{routeKey:"home",children:(0,r.jsxs)(s.$n,{children:[(0,r.jsx)(u.pa2,{mt:"-3px"})," ",(0,r.jsx)(c.A,{id:"error.backToSofascore"})]})})]})})})})})})]})}h.getInitialProps=async e=>{await a.O(e);let{res:t,err:n}=e;return{statusCode:t?t.statusCode:n?n.statusCode:null}}},47161:(e,t,n)=>{"use strict";n.d(t,{OR:()=>r.OR,Vj:()=>a.Vj,Yt:()=>a.Yt,Jx:()=>r.Jx,iJ:()=>r.iJ,M_:()=>r.M_,i6:()=>a.i6,g2:()=>a.g2,yS:()=>a.yS,pg:()=>a.pg,wt:()=>d,zx:()=>S,G_:()=>m,wA:()=>b,_3:()=>R,HD:()=>N,Xc:()=>k,dZ:()=>B,_p:()=>P});var r=n(57771),a=n(42561),s=n(19501),i=n(494),l=n(45860),o=n(96016);function d(e,t,n){let r=(0,i.wA)(),a=(0,i.d4)(e=>{var n;return null==(n=e.uicontrols.showAllByDate)?void 0:n[t]}),{data:d,isLoading:c}=(0,l.Ay)(e===s.QCR.Football&&a?s.t3g.eventsByDate(e,t,"inverse"):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async e=>(await (0,s.TtD)(e)).events.filter(n),onSuccess:e=>{r((0,o.oU)(e))}});return{additionalEvents:d,isLoading:c}}var c=n(55729),u=n(18153),x=n(85386);let m=()=>{let e=(0,i.wA)(),{variant:t}=(0,x.Ay)("web_open_event_directly"),n=t===x.KT.Treatment;return(0,c.useCallback)((t,r,a)=>{n||a||(t.preventDefault(),e((0,u.VX)(r)))},[n])};var p=n(55955),g=n(78383),h=n.n(g),v=n(68789),f=n(60682),y=n(15578);let j=e=>"list:".concat(e,":odds");function b(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[r,a]=(0,c.useState)(),o=(0,v.Ae)(),[d]=(0,f.Z)(o,n),u=(0,i.d4)(e=>e.uicontrols.showListOdds),x=o?o.provider:null,{data:m}=(0,l.Ay)(x&&u&&d?s.t3g.oddsByDate(e,d,t):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0}),[g]=(0,p.vQ)(y.z);return(0,c.useEffect)(()=>{a(m?m.odds:void 0)},[m&&m.odds]),(0,c.useEffect)(()=>{if(u&&g){let t=g.Topic.odds.bySportAndMarket(e,1),n=(0,p.pO)(j(e),t,e=>{if(!r||!g)return;let t=e.id,n=null;for(let e in r)if(r[e].id===t){n=e;break}if(n){let t=e["choice1.fractionalValue"];t&&(r[+n].choices[0].fractionalValue=t);let s=e["choice2.fractionalValue"];if(s&&(r[+n].choices[1].fractionalValue=s),3===r[+n].choices.length){let t=e["choice3.fractionalValue"];t&&(r[+n].choices[2].fractionalValue=t)}a({...r})}});g.subscribe(n)}},[r,g,u]),(0,c.useEffect)(()=>{if(!g||!u)return;let t=g.Topic.odds.bySportAndMarket(e,1),n=(0,p.pO)(j(e),t,h()),r=g.subscribe(n);return()=>{r()}},[e,g,u]),r}var C=n(13731),A=n.n(C),w=n(831),T=n.n(w),_=n(54521);let R=(e,t,n)=>{let r=[...(0,i.d4)(e=>e.favorites.lists[s.bq7.Tournaments],i.bN),...(0,i.d4)(e=>e.favorites.lists[s.bq7.MutedTournaments],i.bN)],a=[...(0,i.d4)(e=>e.favorites.lists[s.bq7.Teams],i.bN),...(0,i.d4)(e=>e.favorites.lists[s.bq7.MutedTeams],i.bN)],l=(0,_.C)(),o=(0,i.d4)(e=>{var t;return null==(t=e.favorites._persist)?void 0:t.rehydrated}),d=(0,c.useMemo)(()=>null==n?void 0:n.reduce((e,t)=>{let n=t.tournament.id;return n&&!e.includes(n)&&e.push(n),e},[]),[n]),u=(0,c.useMemo)(()=>{let s=(null==n?void 0:n.filter(e=>e.tournament.uniqueTournament&&r.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),o=T()([...s,...i],e=>e.id),c=A()(o,e=>e.tournament.id);return Object.keys(c).sort((e,t)=>{if(d){let n=d.findIndex(t=>String(t)===e),r=d.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,d,t]);return{favoriteDateEvents:u.length?u:void 0,isLoading:!o}};function k(e){let{listType:t,sport:n,date:a,category:l,eventsByDateFilter:d}=e,u=(0,i.wA)();(0,c.useEffect)(()=>{if(t===r.iJ.Category&&!l)return;let e="list:".concat(n,":").concat(t),i=((e,t,n,a)=>{switch(e){case r.iJ.Regular:return s.t3g.eventsByDate(t,n);case r.iJ.Category:return a?s.ZXN.scheduledEvents(a.id,n):null;case r.iJ.Live:return s.t3g.liveEvents(t);default:return null}})(t,n,a,l);if(i)return u((0,o.vB)({entities:n,refreshTaskId:e},{fetchFunction:c,interval:6e4})),()=>{u((0,o.tM)(e))};async function c(){try{let e=await (0,s.TtD)(i);return{events:t===r.iJ.Live?e.events:e.events.filter(d)}}catch(e){return console.error("Couldn't repo refresh sport list events"),{events:[]}}}},[n,t,l])}var E=n(72753);function S(e,t,n){let r=(0,i.d4)(E.LQ),a=(0,i.wA)(),{data:d,error:c}=(0,l.Ay)(r?[s.t3g.eventsByDate(e,t),r]:null,{refreshInterval:6e4,revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async t=>{let[r,a]=t,[i,l]=await Promise.allSettled([(0,s.TtD)(r),(0,s.TtD)(s.PTD.defaultUniqueTournaments(a,e))]);if("rejected"===i.status)throw i.reason;let o=i.value.events.filter(n);if("fulfilled"===l.status){let e=l.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,a;let s=null==(r=t.tournament.uniqueTournament)?void 0:r.id,i=null==(a=n.tournament.uniqueTournament)?void 0:a.id;if(!s||!i||s===i)return 0;let l=s in e,o=i in e;return l&&o?e[s]-e[i]:l?-1:+!!o})}return o},onSuccess:e=>{a((0,o.oU)(e))}});return{events:d,isLoading:!d&&!c}}var M=n(22375),L=n(73914),Q=n(81278),z=n(31830),D=n(64006),F=n(37455),I=n(95084),O=n(14831);function B(e){let{sport:t,date:n,listType:a,categorySlug:l}=e,[o,d]=(0,O.bL)("main_page.active_tab","all"),[x,m]=(0,O.bL)("main_page.time_status_filter",r.M_.Any,!1),[p,g]=(0,c.useState)(r.OR.Any),[h,v]=(0,c.useState)(s.YT8.Mixed),[f,y]=(0,c.useState)(new Date(Date.parse("".concat(n,"T12:00")))),[j,b]=(0,c.useState)(!1),C=(0,i.wA)(),A=(0,Q.useRouter)(),w=(0,z.A)(),{isMobile:T}=(0,L.$c)(),_=(0,i.d4)(F.BF),R=(0,i.d4)(F.v_),k=(0,i.d4)(F.yB),E=(0,i.d4)(F.zV),S=x===r.M_.Live,B=_||R||E&&S,P=k&&!B,N=(0,M.UG)(new Date),U=(0,c.useCallback)(()=>{(0,I.o$)(!P),C((0,u._1)())},[P]),H=(0,c.useCallback)(()=>{g(r.OR.Any),v(s.YT8.Mixed),y(new Date(Date.parse("".concat(n,"T12:00"))))},[n]);(0,c.useEffect)(()=>{H()},[t,a,n]),(0,c.useEffect)(()=>{let e=()=>{j&&b(!1)};return A.events.on("routeChangeComplete",e),()=>{A.events.off("routeChangeComplete",e)}},[A,j]);let G=(0,c.useCallback)(e=>{if(!e)return;let s=(0,M.UG)(e),i=a===r.Jx.CATEGORY;if(s===n)return void m(r.M_.Any);let o={sport:t,date:s,category:l};i||delete o.category,s===N&&delete o.date,(0,D.zw)(w,i?r.Jx.CATEGORY:r.Jx.DATE,o),b(!0),(0,I.Vu)()},[A.asPath,x]);return(0,c.useEffect)(()=>{T&&d("all")},[T]),{activeTab:o,timeStatus:(0,M.cK)(f)?x:r.M_.Any,competitionLevel:p,gender:h,areOddsVisible:P,isOddsToggleDisabled:B,sport:t,date:f,onChange:e=>{switch(e.name){case"timeStatus":m(e.value);break;case"advanced":g(e.value.competitionLevel),v(e.value.gender);break;case"areOddsVisible":U();break;case"activeTab":d(e.value);break;case"date":G(e.value)}"areOddsVisible"!==e.name&&window.scrollTo(0,0)}}}function P(e,t){let{data:n}=(0,l.Ay)(s.t3g.eventCount(),{refreshInterval:2e4,revalidateOnFocus:!0}),[r,a]=(0,c.useState)(0),{live:i}=(null==n?void 0:n[e])||{live:0};return(0,c.useEffect)(()=>{t||a(i)},[i,t]),{liveCount:r,setLiveCount:a}}let N=(e,t)=>{var n;let r=(0,i.d4)(F.zV),{data:a,error:o,isLoading:d}=(0,l.Ay)(e&&t?s.npy.featuredSportEvents(t,e):null,{refreshInterval:6e4});return{featuredEvents:null==a||null==(n=a.featuredEvents)?void 0:n.filter(e=>!r||e.status.type!==s.XUj.InProgress),error:o,isLoading:d}}},47177:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(94565),a=n(41735),s=n(16007),i=n(19991);let l=(0,a.default)(r.az)` width: 16px; height: 16px; position: relative; &.animate { > .sideBox-inner { position: relative; width: 16px; height: 16px; background-size: 100% 200%; background-image: ${e=>(0,i.q2)(e.rating,e.previousRating)}; clip-path: inset(50% 0 50% 0); animation: ${s.rC} ease-in-out ${s.UG}ms 1, ${s.UA}; animation-delay: ${s.UG}ms, 0ms; animation-fill-mode: forwards; transform: translate3d(0, 0, 0); z-index: ${r.Py.Backdrop}; } ::before { content: ''; display: block; position: absolute; top: 0; left: 0; width: calc(100% - 1px); height: 50%; border-top: 1px solid; border-left: 1px solid; transform: translate3d(0, 0, 0); animation: ${s.UH} ease-in-out ${2*s.UG}ms 1; z-index: ${r.Py.Button}; } ::after { content: ''; display: block; position: absolute; bottom: 0; right: 0; width: calc(100% - 1px); height: 50%; border-right: 1px solid; border-bottom: 1px solid; transform: translate3d(0, 0, 0); animation: ${s.fH} ease-in-out ${2*s.UG}ms 1; z-index: ${r.Py.Button}; } } // change width for textual part of rating in a transition + span { transition: width ${s.UG}ms ease-in; transition-delay: ${e=>"10"===e.rating?s.UG:0}ms; } `},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"}}}}})},49938:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var r=n(6029),a=n(76356);let s=e=>(0,r.jsxs)(a.az,{br:"sm",bg:"surface.s2",children:[(0,r.jsx)(a.az,{h:e.hideTitle?"[102px]":"[134px]"}),e.showCta&&(0,r.jsx)(a.az,{h:"2xl"})]})},50526:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6029),a=n(494),s=n(72753),i=n(73914),l=n(76356),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)(l.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,r.jsx)(l.az,{h:"xl",w:"xl",children:(0,r.jsx)(o.OE_,{w:"24px",h:"24px",fill:"onSurface.nLv3",fillOpacity:1})}),(0,r.jsx)(i.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function c(){return"GR"===(0,a.d4)(s.LQ)?(0,r.jsx)(d,{}):null}},54044:(e,t,n)=>{"use strict";n.d(t,{it:()=>i,uD:()=>l,w9:()=>a,wV:()=>s});var r=n(19501);let 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"},s={default:"top_players"},i={[r.QCR.Motorsport]:"top_series",[r.QCR.MMA]:"top_organisations",default:"top_leagues"},l={[r.QCR.Motorsport]:"all_series",[r.QCR.MMA]:"all_organisations",default:"all_competitions"}},54365:(e,t,n)=>{"use strict";n.d(t,{_:()=>p,a:()=>g});var r=n(6029),a=n(19501),s=n(55729),i=n(17554),l=n(49188),o=n(46222),d=n(90438),c=n(64006),u=n(4917);let x=function(e,t,n){for(var s=arguments.length,i=Array(s>3?s-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)(i.hE,{children:n}),(0,r.jsx)(i.fz,{id:"".concat(t,".about.p1")}),(0,r.jsx)(i.hE,{id:"category.tour.tournaments",values:{category:n}}),(0,r.jsx)(i.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:()=>i});var r=n(55729),a=n(494),s=n(72753);function i(e){let t=(0,r.useMemo)(()=>(0,s.vt)(),[]);return(0,a.d4)(t,e)}},55575:(e,t,n)=>{var r=n(60567),a=n(27869),s=/&(?:amp|lt|gt|quot|#39);/g,i=RegExp(s.source);e.exports=function(e){return(e=r(e))&&i.test(e)?e.replace(s,a):e}},59018:(e,t,n)=>{var r=n(22180);e.exports=function(e){return e&&e.length?r(e):[]}},60682:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});let r=(e,t)=>{let n=null==e?void 0:e.provider,r=null==e?void 0:e.fallbackProvider;return t&&(null==n?void 0:n.liveOddsFrom)?[null==n?void 0:n.liveOddsFrom.id,null==r?void 0:r.id]:(null==n?void 0:n.oddsFrom)?[null==n?void 0:n.oddsFrom.id,null==r?void 0:r.id]:[null==n?void 0:n.id,null==r?void 0:r.id]}},61321:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(6029),a=n(18612),s=n(19501),i=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"})]})},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)(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)(i.az,{overflow:"hidden",children:(0,r.jsx)(a.D,{height:l?t===s.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),a=n(76356),s=n(494),i=n(46222),l=n(37455);function o(){return(0,s.d4)(l.BF)?null:(0,r.jsxs)(i.Zp,{children:[(0,r.jsx)(i.Zp.Header,{titleId:"featured_odds",variant:"left-aligned"}),(0,r.jsx)(a.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)}])},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 a,s;return(null!=(a=r.priority)?a:0)-(null!=(s=e.priority)?s:0)}try{return e.name.localeCompare(r.name,t)}catch(t){return e.name.localeCompare(r.name)}}),r}n.d(t,{X:()=>r})},70917:(e,t,n)=>{var r=n(74283),a=n(87567);e.exports=function(e){return null==e?[]:r(e,a(e))}},74207:(e,t,n)=>{"use strict";n.d(t,{r:()=>u,$:()=>m});var r=n(6029),a=n(19501),s=n(73914),i=n(76356),l=n(55729),o=n(18970),d=n(95084),c=n(64046);function u(e){let{selectedProvider:t,location:n,onClick:u,logClick:x=!0,size:m="56x28"}=e,p=null==t?void 0:t.provider,g=null==t?void 0:t.branded,h=null==t?void 0:t.provider.slug,{location:v}=(0,l.useContext)(o.y$),[f,y]=m.split("x"),j=n||v;return p&&g?(0,r.jsx)(i.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:t.defaultBetSlipLink||p.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==u||u(),x&&(0,d.Fe)({location:j,provider:h,position:c.ki.ProviderLogo})},style:{background:p.colors.primary,width:"".concat(f,"px"),height:"".concat(y,"px")},children:(0,r.jsx)(s._V,{src:a.npy.providerImage(p.id),alt:p.name||"",style:{width:"".concat(f,"px"),height:"auto"}})}):null}var x=n(90248);let m=e=>{let{provider:t}=e;return(null==t?void 0:t.branded)?(0,r.jsxs)(i.so,{justify:"center",align:"center",ml:"lg",children:[(0,r.jsx)(s.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,r.jsx)(x.A,{id:"featured_by"})}),(0,r.jsx)(u,{selectedProvider:t,size:"48x24"})]}):null}},74283:(e,t,n)=>{var r=n(88601);e.exports=function(e,t){return r(t,function(t){return e[t]})}},78492:(e,t,n)=>{var r=n(50956);e.exports=function(e,t,n,a){return r(e,function(e,r,s){t(a,e,n(e),s)}),a}},79375:(e,t,n)=>{"use strict";n.d(t,{A:()=>p,g:()=>m});var r=n(6029),a=n(73914),s=n(90248),i=n(494),l=n(72753);let o={AU:"www.gamblinghelponline.org.au",BG:"nss-bg.org/hi-kodeks",GB:"www.begambleaware.org",NL:"hands24x7.nl"},d={DE:"18+ | Erlaubt (Whitelist) | Suchtrisiko | www.buwei.de",NL:"Wat kost gokken jou? Stop op tijd. 18+",CA:"19+. Gambling can be addictive, please play responsibly.
Eligible iGames conducted and managed by iGO are only available to those physically present in the Province of Ontario.",US:"21+. Gambling Problem?
Call 1-800-GAMBLER",SE:"18+. st\xf6dlinjen.se. Spela ansvarsfullt.",DK:"18+ | Regler og vilk\xe5r g\xe6lder | Spil ansvarligt | Selvudeluk via ROFUS.nu | StopSpillet.dk",TR:"İddaa oranları anlık olarak değişiklik g\xf6sterebilmektedir."},c={BE:21,GR:21,CA:19};function u(e){let{countryOddsProvider:t}=e;return(null==t?void 0:t.oddsMayDiffer)?(0,r.jsxs)("span",{children:[(0,r.jsx)("br",{}),(0,r.jsx)(s.A,{id:"disclaimer_odds_may_differ"})]}):null}function x(){let e=(0,i.d4)(l.LQ),t=e&&o[e];return t?(0,r.jsxs)("span",{children:[", ",(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]}):null}let m=e=>e&&c[e.toUpperCase()]?c[e.toUpperCase()]:18;function p(e){let t,{provider:n}=e,o=(0,i.d4)(l.LQ),c=(0,i.d4)(l.zj);return o&&c?t=d["".concat(o,"-").concat(c)]||d[o]:o&&(t=d[o]),(0,r.jsxs)(a.EY,{display:"block",textStyle:"body.small",textAlign:"center",color:"neutrals.nLv3",pr:"sm",children:[t?(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}):(0,r.jsx)(s.A,{id:"gamble_responsibly",values:{age:m(o)}}),(0,r.jsx)(x,{}),(0,r.jsx)(u,{countryOddsProvider:n})]})}},79634:(e,t,n)=>{"use strict";n.d(t,{q:()=>r.q});var r=n(39975)},79860:(e,t,n)=>{var r=n(31736),a=n(78383),s=n(48546);e.exports=r&&1/s(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a},81349:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,d:()=>u});var r=n(19501),a=n(494),s=n(45860),i=n(90438),l=n(37455),o=n(72753),d=n(79082);let c=(e,t)=>{let[n]=(0,d.Ay)({routeKey:i.xW.Betting,params:{}}),a=(null==n?void 0:n.boostId)?+n.boostId:void 0,l=null==t?void 0:t.betBoosts.find(e=>e.event.id===a),{data:o}=(0,s.Ay)(a&&!l?r.bnp.betBoost(a,e):null);return{selectedBoost:null==o?void 0:o.betBoost,selectedEventId:a}},u=()=>{let e=(0,a.d4)(o.LQ);return(0,a.d4)(l.Zw)&&"IT"!==e}},81648:e=>{e.exports=function(e,t,n,r){for(var a=-1,s=null==e?0:e.length;++a{"use strict";n.d(t,{T:()=>d});var r=n(6029),a=n(94565),s=n(55729),i=n(41735),l=n(52462);let o=(0,i.default)(a.az)` cursor: inherit; > span { display: none; } &.animate { --rating: ${e=>e.rating}; --temp: calc(var(--rating)); --v1: max(var(--temp) - 0.5, 0); --v2: max( (var(--temp) - var(--v1)) * ${e=>2===e.decimalPoints?99:10} - ${e=>2===e.decimalPoints?.05:.5}, 0 ); animation: ${e=>((e,t)=>(0,i.keyframes)` from { --rating: ${t||(e?e-1.5:0)}; } to { --rating: ${e}; } `)(e.rating,e.previousRating)} 660ms ease-in; counter-reset: v1 var(--v1) v2 var(--v2); &::after { content: ${e=>!e.rating||"-"===e.rating||isNaN(+e.rating)?"-":2===e.decimalPoints?"counter(v1) '.' counter(v2, decimal-leading-zero)":"counter(v1) '.' counter(v2)"}; } } &.animation-complete { &::after { content: ${e=>`"${e.rating}"`}; } } `;function d({rating:e,previousRating:t,decimalPoints:n,animate:a}){let{isCountUpSupported:i}=(0,s.useContext)(l.N_),d=(0,s.useRef)(null);return((0,s.useEffect)(()=>{var e;null==(e=d.current)||e.classList.remove("animation-complete"),setTimeout(()=>{requestAnimationFrame(()=>{d.current&&d.current.classList.replace("animate","animation-complete")})},660)},[e,a]),i&&"10"!==e&&"-"!==e)?(0,r.jsx)(o,{ref:d,className:a?"animate":"",rating:e,previousRating:e===t?void 0:t,decimalPoints:n,children:(0,r.jsx)("span",{children:e})}):(0,r.jsx)(r.Fragment,{children:e})}},83359:(e,t,n)=>{"use strict";n.d(t,{n:()=>l});var r=n(6029),a=n(90248),s=n(74620),i=n(91113);let l=e=>{let{id:t}=e;return(0,r.jsx)(a.A,{id:(0,i.O)(s,t)})}},85974:(e,t,n)=>{"use strict";n.d(t,{M:()=>u});var r=n(6029),a=n(73914),s=n(76356),i=n(90248),l=n(52466),o=n(56132),d=n(95084),c=n(61497);let u=e=>{let{searchEntity:t,spread:n}=e,{isMobile:u}=(0,a.$c)();return(0,r.jsxs)(s.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)(s.so,{w:"[40px]",h:"[40px]",br:"50%",border:"2px solid {colors.primary.default}",justify:"center",align:"center",bg:"surface.s1",children:(0,r.jsx)(l.xZp,{fill:"primary.default"})}),(0,r.jsx)(a.EY,{textStyle:"display.small",w:"100%",py:"sm",textAlign:"center",color:"primary.default",textTransform:"capitalize",children:(0,r.jsx)(i.A,{id:"add"})})]})}},86522:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});let r=e=>e.branding.config},87827:(e,t,n)=>{"use strict";n.d(t,{G:()=>r.A});var r=n(94400)},90510:(e,t,n)=>{"use strict";n.d(t,{XU:()=>u,Gr:()=>m,ib:()=>x});var r,a,s=n(13829),i=n(55729),l=n(947);!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(r||(r={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(a||(a={}));var o=function(e){var t=(0,l.A)(),n=e.value,r=e.children,a=(0,s.Tt)(e,["value","children"]);return r(t.formatNumberToParts(n,a))};function d(e){var t=function(t){var n=(0,l.A)(),r=t.value,a=t.children,i=(0,s.Tt)(t,["value","children"]),o="string"==typeof r?new Date(r||0):r;return a("formatDate"===e?n.formatDateToParts(o,i):n.formatTimeToParts(o,i))};return t.displayName=a[e],t}function c(e){var t=function(t){var n=(0,l.A)(),r=t.value,a=t.children,o=(0,s.Tt)(t,["value","children"]),d=n[e](r,o);if("function"==typeof a)return a(d);var c=n.textComponent||i.Fragment;return i.createElement(c,null,d)};return t.displayName=r[e],t}o.displayName="FormattedNumberParts",o.displayName="FormattedNumberParts";var u=c("formatDate"),x=c("formatTime"),m=c("formatNumber");c("formatList"),c("formatDisplayName"),d("formatDate"),d("formatTime")},91476:(e,t,n)=>{"use strict";n.d(t,{J:()=>r,x:()=>a});let r="bonus-odds-cta-seen",a="bet-boost-cta-seen"},94400:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(64082),a=n(6029),s=n(19621),i=n(94565),l=n(43072),o=n(19501),d=n(55729),c=n(16007);function u({duration:e="330ms",repeatCount:t=1,delay:n=c.UG,width:r=24,height:s=24,animate:l}){let[u,x]=(0,d.useState)(!1);return((0,d.useLayoutEffect)(()=>{let e;return l||(0,o.NuQ)()?e=window.setTimeout(()=>{requestAnimationFrame(()=>{x(!0)})},n):x(!1),()=>{window.clearTimeout(e)}},[l]),u)?(0,a.jsx)(i.az,{position:"absolute",top:"1",left:"1",h:s-2,w:r-2,zIndex:i.Py.Sticky,overflow:"hidden",children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32",width:r,height:s,style:{width:"100%",height:"100%",transform:"translate3d(0px, 0px, 0px)",display:"block",overflow:"hidden"},preserveAspectRatio:"xMidYMid meet",children:[(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{fill:"white",d:"M -64 0 H -32 L 0 32 H -32 Z",fillOpacity:".6",children:(0,a.jsx)("animate",{attributeName:"d",values:"M -64 0 H -32 L 0 32 H -32 Z;M 32 0 H 36 L 72 32 H 68 Z",dur:e,repeatCount:t,keySplines:"0.86 0.12 0.92 0.79"})}),(0,a.jsx)("animateTransform",{attributeName:"transform",type:"translate",from:"-32 0",to:"32 0",dur:e,repeatCount:t})]}),(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{fill:"white",d:"M -36 0 H -32 L 0 32 H -4 Z",fillOpacity:"1.0",children:(0,a.jsx)("animate",{attributeName:"d",values:"M -36 0 H -32 L 0 32 H -4 Z;M 0 0 H 4 L 36 32 H 32 Z;M 32 0 H 48 L 80 32 H 64 Z",dur:e,repeatCount:t,keySplines:"1 0 1 0.1"})}),(0,a.jsx)("animateTransform",{attributeName:"transform",type:"translate",from:"-128 0",to:"0 0",dur:e,repeatCount:t})]})]})}):null}var x=n(47177),m=n(97824),p=n(83204),g=n(19991);let h={sm:[16,12],md:[24,14],lg:[32,16],xl:[40,24]};function v(e){var{rating:t,format:n,cursor:o="default",isOnColor:d}=e,c=(0,r.T)(e,["rating","format","cursor","isOnColor"]);let{formattedRating:v}=(0,g.MR)(t,n,c.decimalPoints),[f,y]=(0,l.Wx)({triggerOnce:!0}),j=(0,s.ZC)(v);if("sideBox"===n)return(0,a.jsxs)(i.so,{position:"relative",children:[(0,a.jsxs)(x.s,{ref:f,className:y?"animate":"",rating:v,previousRating:j,c:d?"onColor.primary":"onSurface.nLv1",mr:"xs",cursor:o,children:[(0,a.jsx)(i.az,{className:"sideBox-inner"}),"10"===v&&(0,a.jsx)(u,{width:16,height:16,delay:660,animate:y})]}),(0,a.jsx)(i.EY,{role:"meter","aria-valuemin":3,"aria-valuemax":10,"aria-valuenow":v,userSelect:"none",cursor:"inherit",font:"display.large",color:d?"onColor.primary":"onSurface.nLv1",w:"10"===v?24:36,h:"16",lineHeight:"16px",letterSpacing:"-0.5px",fontVariant:"tabular-nums",children:(0,a.jsx)(p.T,{rating:v,previousRating:j,decimalPoints:2,animate:y})})]});let b=c.size||"md",C=c.decimalPoints||1,[A,w]=h[b];return(0,a.jsx)(i.az,{ref:f,children:(0,a.jsxs)(m.v,{cursor:o,className:y?2===C?"animate border":"animate":"",align:"center",justify:"center",h:A,w:2===C&&"10"!==v?A+8:A,textAlign:"center",rating:v,previousRating:j,shrink:0,grow:0,fontSize:w,c:d?"onColor.primary":"onSurface.nLv1",children:["10"===v&&(0,a.jsx)(u,{height:A,width:A,animate:y}),(0,a.jsx)(i.EY,{role:"meter","aria-valuemin":3,"aria-valuemax":10,"aria-valuenow":v,userSelect:"none",cursor:"inherit",align:"center",font:"table.lineupsRating",letterSpacing:"-0.5px",fontSize:w,fontVariant:"tabular-nums",color:"white",lineHeight:1,children:(0,a.jsx)(p.T,{rating:v,previousRating:j,decimalPoints:C,animate:y})})]})})}},97824:(e,t,n)=>{"use strict";n.d(t,{v:()=>l});var r=n(94565),a=n(41735),s=n(16007),i=n(19991);let l=(0,a.default)(r.so)` position: relative; transform: translate3d(0, 0, 0); opacity: 0; background-size: 100% 200%; background-image: ${e=>(0,i.q2)(e.rating,e.previousRating)}; &.animate { opacity: 1; animation: ${s.fi}, ${s.UA}; } &.border { ::before { content: ''; display: block; position: absolute; top: 0; left: 0; width: 50%; height: 50%; border-top: 1px solid; border-left: 1px solid; transform: translate3d(0, 0, 0); animation: ${s.UH} ease-in-out ${2*s.UG}ms 1; z-index: ${r.Py.Button}; } ::after { content: ''; display: block; position: absolute; bottom: 0; right: 0; width: 50%; height: 50%; border-right: 1px solid; border-bottom: 1px solid; transform: translate3d(0, 0, 0); animation: ${s.fH} ease-in-out ${2*s.UG}ms 1; z-index: ${r.Py.Button}; } } `},98914:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});let r=function(e,t=0){var n,r,a;return(n="round",r=e,0==+(a=-t)?Math[n](+r):(a*=1,isNaN(r*=1)||"number"!=typeof a||a%1!=0)?NaN:+((r=(r=Math[n](+((r=r.toString().split("e"))[0]+"e"+(r[1]?r[1]-a:-a)))).toString().split("e"))[0]+"e"+(r[1]?+r[1]+a:a))).toFixed(t)}}},e=>{e.O(0,[14092,56591,28446,14632,10395,83170,35597,80187,12155,17135,97917,20288,85606,97672,56621,94610,3074,14617,73240,9748,65062,96175,59637,80893,90636,46593,38792],()=>e(e.s=68385)),_N_E=e.O()}]);