!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]="1629e5c4-085e-461a-9fbc-dfca21559543",e._sentryDebugIdIdentifier="sentry-dbid-1629e5c4-085e-461a-9fbc-dfca21559543")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6640],{151:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});let r=e=>e.branding.config},831:(e,t,n)=>{var r=n(68988),s=n(22180);e.exports=function(e,t){return e&&e.length?s(e,r(t,2)):[]}},1440:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,q:()=>l});var r=n(6029),s=n(41249),a=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,m={initialInView:t,rootMargin:"".concat(l,"px 0px ").concat(l,"px 0px")},[x,h,p]=(0,i.Wx)(m),g=(0,a.useRef)(t),v=(0,a.useRef)(n);(0,a.useEffect)(()=>{h&&!0!==g.current&&(g.current=!0),h&&v.current!==n&&(v.current=(null==p?void 0:p.boundingClientRect.height)||n)},[h,p]);let f=d||(v.current?(0,r.jsx)(s.az,{h:v.current}):null),j=h||o&&g.current;return(0,r.jsx)(s.az,{ref:x,...u,children:j?c:f})},o=l},3881:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var r=n(64082),s=n(6029),a=n(41249),i=n(43451);function l(e){var{height:t=800,width:n="100%",rowHeight:l=45,wrapperStyle:o={},rows:d,animate:c=!1,rowGap:u=8,uniqueKey:m}=e,x=(0,r.T)(e,["height","width","rowHeight","wrapperStyle","rows","animate","rowGap","uniqueKey"]);return 0===t?null:(0,s.jsx)(a.az,Object.assign({maxW:"100%",bg:"surface.s1",overflow:"hidden"},x,{style:o},{children:(0,s.jsx)(i.D,Object.assign({animate:c,width:n,height:d&&l?d*(l+u):t,uniqueKey:m},{children:(0,s.jsx)(s.Fragment,{children:d?Array(d).fill(null).map((e,t)=>(0,s.jsx)("rect",{x:0,y:t*(l+u),width:"100%",height:l},t)):(0,s.jsx)("rect",{x:0,y:0,width:"100%",height:t})})}))}))}},6263:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(6029),s=n(21377),a=n(76356),i=n(65789),l=n(23727),o=n(64169),d=n(69559);let c={[s.QCR.Football]:540,[s.QCR.Basketball]:280};function u(){let e=(0,d.o)();return c[e]?(0,r.jsxs)(i.Zp,{children:[(0,r.jsx)(o.A,{titleId:"top_players"}),(0,r.jsx)(a.az,{style:{height:c[e]}}),(0,r.jsx)(i.Zp.Footer,{ctaParams:{messageId:"show_more",icon:l.X.Down,onClick:()=>{}}})]}):null}},7263:(e,t,n)=>{"use strict";n.d(t,{n:()=>r.n});var r=n(3959)},8960:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,d:()=>u});var r=n(21377),s=n(494),a=n(45860),i=n(19451),l=n(2294),o=n(10794),d=n(30479);let c=(e,t)=>{let[n]=(0,d.Ay)({routeKey:i.xW.Betting,params:{}}),s=(null==n?void 0:n.boostId)?+n.boostId:void 0,l=null==t?void 0:t.betBoosts.find(e=>e.event.id===s),{data:o}=(0,a.Ay)(s&&!l?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)(l.Zw)&&"IT"!==e}},11628:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});let r="search_entity_key"},12047:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i});var r=n(95083),s=n(21501),a=n(55729);function i(){let{isInMobileTabs:e=!0,isSportMenuVisible:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[n,i]=(0,a.useState)(0),l=(0,s.YU)(),{isMobile:o}=(0,r.$c)(),d=50*!!e,c=48+d+48*!!t;return(0,a.useEffect)(()=>{o&&i(l===s.Dh.Up?c:d)},[l,o]),n}},13731:(e,t,n)=>{var r=n(53325),s=n(25725),a=Object.prototype.hasOwnProperty;e.exports=s(function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])})},14165:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},16202:(e,t,n)=>{"use strict";n.d(t,{V:()=>x,q:()=>m});var r=n(6029),s=n(95083),a=n(76356),i=n(41249),l=n(90248),o=n(54409),d=n(70591),c=n(79041),u=n(76410);let m=e=>{let{children:t}=e;return(0,r.jsx)(a.az,{bgGradient:"to-b",gradientFrom:"[#374cf1]",gradientTo:"[#1729af]",p:"md",br:"lg",minH:"7xl",w:"100%",children:t})},x=e=>{let{location:t}=e;return(0,r.jsx)(d.N_,{routeKey:"user.weeklyChallenge",onClick:()=>{(0,u.Wk)({type:"weekly_challenge",location:t})},children:(0,r.jsx)(m,{children:(0,r.jsxs)(a.so,{gap:"md",align:"center",children:[(0,r.jsx)(i._V,{h:48,w:70,src:"/static/images/weekly-challenge/predictions-cta.svg",alt:"Weekly challenge trophies"}),(0,r.jsxs)(a.so,{direction:"column",justify:"center",rowGap:"xs",p:"xs",grow:1,children:[(0,r.jsx)(s.EY,{display:"block",textStyle:"display.medium",color:"onColor.primary",children:(0,r.jsx)(l.A,{id:"weekly_challenge"})}),(0,r.jsx)(s.EY,{display:"block",textStyle:"body.small",color:"onColor.primary",children:(0,r.jsx)(c.k,{})})]}),(0,r.jsx)(a.az,{bg:"onColor.highlight1",h:"2xl",w:"2xl",p:"xs",br:"sm",children:(0,r.jsx)(o.CCT,{w:24,h:24,fill:"onColor.primary"})})]})})})}},16419:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},18741:(e,t,n)=>{"use strict";n.d(t,{E5:()=>l,fz:()=>o,hE:()=>d});var r=n(6029),s=n(95083),a=n(90248),i=n(55803);function l(e){let{children:t,title:n,titleValues:l,titleHidden:o}=e;return t?(0,r.jsxs)(i.E,{"data-qa-id":"seo-about",children:[!o&&n&&(0,r.jsx)(s.H2,{textStyle:"display.medium",mb:"md",children:(0,r.jsx)(a.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,{H:()=>l});var r=n(21377),s=n(494),a=n(45860),i=n(2294);let l=(e,t)=>{var n;let l=(0,s.d4)(i.zV),{data:o,error:d,isLoading:c}=(0,a.Ay)(e&&t?r.npy.featuredSportEvents(t,e):null,{refreshInterval:6e4});return{featuredEvents:null==o||null==(n=o.featuredEvents)?void 0:n.filter(e=>!l||e.status.type!==r.XUj.InProgress),error:d,isLoading:c}}},19673:(e,t,n)=>{"use strict";function r(e){let t=(null==e?void 0:e.toLowerCase())||"",n=["hr","es","pt"].includes(t);return"https://corporate.sofascore.com".concat(n?"/".concat(t):"","/about/rating")}n.d(t,{y:()=>r})},21403:(e,t,n)=>{"use strict";n.d(t,{H:()=>p,T:()=>h});var r=n(6029),s=n(21377),a=n(95083),i=n(76356),l=n(55729),o=n(494),d=n(45860),c=n(65789),u=n(62859),m=n(10794);let x=e=>{let{isInverseDesktop:t}=e;return(0,r.jsx)(c.Zp,{isInverseDesktop:t,children:(0,r.jsxs)(i.az,{p:"md",children:[(0,r.jsx)(a.EY,{textStyle:"display.small",color:"neutrals.nLv1",children:"Juego Responsable"})," ",(0,r.jsx)(a.EY,{textStyle:"body.medium",color:"neutrals.nLv1",children:"- 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"})]})})},h=e=>{let{isInverseDesktop:t}=e;return"AR"===(0,o.d4)(m.LQ)?(0,r.jsx)(x,{isInverseDesktop:t}):null},p=e=>{let{isInverseDesktop:t}=e,n="AR"===(0,o.d4)(m.LQ),{event:a}=(0,l.useContext)(u.y$),{data:i}=(0,d.Ay)(n?s.bnp.featuredOdds(a.id,1):null);return i&&n?(0,r.jsx)(x,{isInverseDesktop:t}):null}},22180:(e,t,n)=>{var r=n(22926),s=n(68668),a=n(86152),i=n(82694),l=n(79860),o=n(48546);e.exports=function(e,t,n){var d=-1,c=s,u=e.length,m=!0,x=[],h=x;if(n)m=!1,c=a;else if(u>=200){var p=t?null:l(e);if(p)return o(p);m=!1,c=i,h=new r}else h=t?[]:x;e:for(;++d{var r=n(81648),s=n(78492),a=n(68988),i=n(91544);e.exports=function(e,t){return function(n,l){var o=i(n)?r:s,d=t?t():{};return o(n,e,a(l,2),d)}}},27869:(e,t,n)=>{e.exports=n(14165)({"&":"&","<":"<",">":">",""":'"',"'":"'"})},28171:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(95083),s=n(78383),a=n.n(s),i=n(76410);function l(){let{isMobile:e}=(0,r.$c)();return{logTabChange:e?i.yy:a()}}},28860:(e,t,n)=>{"use strict";n.d(t,{X:()=>j,r:()=>p});var r=n(6029),s=n(21377),a=n(95083),i=n(41249),l=n(55729),o=n(90248),d=n(54409),c=n(54053),u=n(26331),m=n(19168),x=n(71393);let h=(0,n(41735).default)(i.so).withConfig({componentId:"sc-8a28b6f4-0"})(["position:relative;::before{content:'';display:block;position:absolute;top:0;left:0;width:calc(100% - ","px);height:calc(50% - ","px);border-top:","px solid ",";border-left:","px solid ",";}::after{content:'';display:block;position:absolute;bottom:0;right:0;width:calc(100% - ","px);height:calc(50% - ","px);border-right:","px solid ",";border-bottom:","px solid ",";}"],e=>e.borderWidth,e=>e.borderWidth,e=>e.borderWidth,e=>e.borderColor,e=>e.borderWidth,e=>e.borderColor,e=>e.borderWidth,e=>e.borderWidth,e=>e.borderWidth,e=>e.borderColor,e=>e.borderWidth,e=>e.borderColor);function p(e){let{rating:t=10,fontSize:n,borderWidth:s,borderColor:a,backgroundColor:l="scoreRating.s90"}=e;return(0,r.jsx)(h,{w:"88",h:"88",bg:l,align:"center",justify:"center",borderWidth:s||5,borderColor:a||"white",children:(0,r.jsx)(i.EY,{font:"display.large",color:"onColor.primary",align:"center",fontSize:n,children:t})})}var g=n(62859),v=n(19673);let f="rating_intro_displayed";function j(){let[e,t]=(0,l.useState)(!1),{isDesktop:n}=(0,a.$c)(),h=(0,l.useContext)(g.Ws),j=(0,u.A)(),y=(0,v.y)(j);return(0,l.useEffect)(()=>{!((0,x.m)()||h!==s.QCR.Football||new Date>=new Date("2024-10-01"))&&((0,m.yN)(f)||(t(!0),(0,m.IO)(f,!0)))},[]),(0,r.jsxs)(c.A,{header:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.so,{position:"relative",align:"center",justify:"center",py:"36",bg:"#f0eedf",br:"lg lg 0 0",mt:[-34,0],mx:[-16,0],children:(0,r.jsx)(p,{rating:5.3,fontSize:42,borderWidth:2,borderColor:"black",backgroundColor:"#b53932"})}),(0,r.jsxs)(i.az,{py:"lg",px:"lg",maxW:["auto",312],children:[(0,r.jsx)(i.EY,{textTransform:"uppercase",font:"assistive.micro",children:(0,r.jsx)(o.A,{id:"whats_new"})}),(0,r.jsx)(i.EY,{m:"0",textTransform:"capitalize",as:"h3",font:["display.extraLarge","display.large"],children:(0,r.jsx)(o.A,{id:"rating_intro_modal_title"})})]})]}),isOpen:e,setIsOpen:t,children:[(0,r.jsxs)(i.az,{as:"ul",py:"sm",m:"0",px:"lg",maxW:["auto",312],children:[(0,r.jsxs)(i.so,{as:"li",align:"flex-start",mb:"lg",children:[(0,r.jsx)(i.az,{w:"32",h:"32",br:"50%",bg:"primary.highlight",flex:"0 0 32px",children:(0,r.jsx)(d.Abd,{m:"xs",w:"24",h:"24",fill:"primary.default"})}),(0,r.jsxs)(i.az,{ml:"lg",children:[(0,r.jsx)(i.EY,{as:"h4",m:"0",font:"display.small",children:(0,r.jsx)(o.A,{id:"rating_intro_modal_enhanced_algorithm"})}),(0,r.jsx)(i.EY,{as:"p",m:"0",pt:"xs",font:"body.mediumParagraph",c:"onSurface.nLv3",children:(0,r.jsx)(o.A,{id:"rating_intro_modal_enhanced_algorithm_text"})})]})]}),(0,r.jsxs)(i.so,{as:"li",align:"flex-start",mb:"lg",children:[(0,r.jsx)(i.az,{w:"32",h:"32",br:"50%",bg:"primary.highlight",flex:"0 0 32px",children:(0,r.jsx)(d.G_L,{m:"xs",w:"24",h:"24",fill:"primary.default"})}),(0,r.jsxs)(i.az,{ml:"lg",children:[(0,r.jsx)(i.EY,{as:"h4",m:"0",font:"display.small",children:(0,r.jsx)(o.A,{id:"rating_intro_modal_informative_insights"})}),(0,r.jsx)(i.EY,{as:"p",m:"0",pt:"xs",font:"body.mediumParagraph",c:"onSurface.nLv3",children:(0,r.jsx)(o.A,{id:"rating_intro_modal_informative_insights_text"})})]})]}),(0,r.jsxs)(i.so,{as:"li",align:"flex-start",mb:"lg",children:[(0,r.jsx)(i.az,{w:"32",h:"32",br:"50%",bg:"primary.highlight",flex:"0 0 32px",children:(0,r.jsxs)("svg",{style:{margin:4},width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M15.3599 7C16.962 7 18.5 8.07866 18.5 10.314V13.1471C18.5 15.4343 17.0773 16.5 15.3599 16.5C13.6297 16.5 12.207 15.5123 12.207 13.1471V10.314C12.207 8.14364 13.745 7 15.3599 7ZM16.8594 10.4829C16.8594 9.19631 16.2571 8.55951 15.3599 8.55951C14.4627 8.55951 13.8476 9.19631 13.8476 10.4829V13.0431C13.8476 14.3167 14.4627 14.9405 15.3599 14.9405C16.2571 14.9405 16.8594 14.3167 16.8594 13.0431V10.4829Z",fill:"var(--primary-default)"}),(0,r.jsx)("path",{d:"M5.5 16.2401V14.9405C5.5 14.8626 5.55127 14.8106 5.62817 14.8106H7.70445V9.9761H5.62817C5.55127 9.9761 5.5 9.92412 5.5 9.84614V8.54655C5.5 8.46858 5.55127 8.41659 5.62817 8.41659H7.14052C7.49938 8.41659 7.73008 8.23465 7.73008 7.81878V7.25996C7.73008 7.18198 7.78135 7.13 7.85825 7.13H9.2168C9.2937 7.13 9.34497 7.18198 9.34497 7.25996V14.8106H11.3956C11.4725 14.8106 11.5238 14.8626 11.5238 14.9405V16.2401C11.5238 16.3181 11.4725 16.3701 11.3956 16.3701H5.62817C5.55127 16.3701 5.5 16.3181 5.5 16.2401Z",fill:"var(--primary-default)"}),(0,r.jsx)("rect",{x:"2",y:"20",width:"20",height:"2",fill:"var(--primary-default)"}),(0,r.jsx)("rect",{x:"20",y:"15",width:"2",height:"7",fill:"var(--primary-default)"}),(0,r.jsx)("rect",{x:"2",y:"2",width:"2",height:"7",fill:"var(--primary-default)"}),(0,r.jsx)("rect",{x:"2",y:"2",width:"20",height:"2",fill:"var(--primary-default)"})]})}),(0,r.jsxs)(i.az,{ml:"lg",flex:"1 1 auto",children:[(0,r.jsx)(i.EY,{as:"h4",m:"0",font:"display.small",children:(0,r.jsx)(o.A,{id:"rating_intro_modal_visual_tweaks"})}),(0,r.jsx)(i.EY,{as:"p",m:"0",pt:"xs",font:"body.mediumParagraph",c:"onSurface.nLv3",children:(0,r.jsx)(o.A,{id:"rating_intro_modal_visual_tweaks_text"})})]})]})]}),n?(0,r.jsx)(i.az,{p:"lg",children:(0,r.jsxs)(i.EY,{block:!0,as:"a",color:"primary.default",font:"display.small",href:y,target:"_blank",onClick:()=>{t(!1)},children:[(0,r.jsx)(o.A,{id:"rating_learn_more_button"}),(0,r.jsx)(d.CCT,{ml:"xs",w:"16",h:"16",fill:"primary.default"})]})}):(0,r.jsx)(i.$n,{onClick:()=>{window.open(y,"_blank"),t(!1)},mx:"lg",mt:"lg",w:"calc(100% - 32px)",children:(0,r.jsx)(o.A,{id:"learn_more"})})]})}},29270:(e,t,n)=>{"use strict";n.d(t,{_:()=>h,a:()=>p});var r=n(6029),s=n(21377),a=n(55729),i=n(18741),l=n(55803),o=n(65789),d=n(70591),c=n(52951);let u=e=>{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()}},m=function(e,t,n){for(var a=arguments.length,i=Array(a>3?a-3:0),l=3;l{"use strict";n.d(t,{w:()=>a});var r=n(6029),s=n(76410);let a=e=>{let{children:t,branding:n,noLink:a,entityId:i,location:l,type:o}=e;return n.url&&!a?(0,r.jsx)("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",onClick:()=>{l&&i&&(0,s.md)({id:i,location:l,provider:n.brand.slug,type:o})},children:t}):(0,r.jsx)(r.Fragment,{children:t})}},31799:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,it:()=>l,uD:()=>o,w9:()=>a,wV:()=>i});var r=n(21377);let s={desktop:{width:360},mobile:{width:"100%",topSpace:0,adSpace:62,bottomNavSpace:56}},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"},i={default:"top_players"},l={[r.QCR.Motorsport]:"top_series",[r.QCR.MMA]:"top_organisations",default:"top_competitions"},o={[r.QCR.Motorsport]:"all_series",[r.QCR.MMA]:"all_organisations",default:"all_competitions"}},32523:(e,t,n)=>{"use strict";n.d(t,{E:()=>r.E});var r=n(3881)},32651:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,G:()=>o});var r=n(6029),s=n(21377),a=n(76356),i=n(65789),l=n(69559);let o=[s.QCR.Football,s.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)(a.az,{h:"6xl"}),(0,r.jsx)(a.az,{h:"[1px]",mx:"lg",my:"sm",bg:"neutrals.nLv4"}),(0,r.jsx)(a.az,{h:"6xl"}),(0,r.jsx)(i.Zp.Footer,{ctaParams:{messageId:"compare",variant:"filled",disabled:!0}})]}):null}},33144:(e,t,n)=>{"use strict";n.d(t,{p:()=>r.p});var r=n(91603)},34906:(e,t,n)=>{"use strict";n.d(t,{D:()=>d});var r=n(6029),s=n(76356),a=n(76868),i=n(51862),l=n(94910);let o=e=>{switch(e){case"teams":return"teams";case"player-team-persons":return"athletes";case"events":return"events";case"unique-tournaments":return"competitions";default:return"basic.all"}},d=e=>{let{entity:t,searchAll:n=!1,hasFavoriteTeams:d=!1}=e,c=t===i.R.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===i.R.Events?"add_items_to_favourites":"select_favourite_".concat(o(t)),descriptionMessageId:c?"no_upcoming_events_description":t===i.R.Events?"add_items_to_favourites_description":"select_favourite_".concat(o(t),"_description"),py:c?["sm","xl"]:"xl",px:c?[0,"xxl"]:"xl",children:!c&&(0,r.jsx)(s.az,{pt:"xl",children:(0,r.jsx)(l.M,{searchEntity:n?i.R.All:t})})})})}},37990:(e,t,n)=>{"use strict";n.d(t,{W:()=>h});var r=n(6029),s=n(21377),a=n(95083),i=n(76356),l=n(90248),o=n(65789),d=n(69559),c=n(54409),u=n(28860),m=n(19673),x=n(26331);function h(){let e=(0,x.A)();return(0,d.o)()!==s.QCR.Football?null:(0,r.jsx)(o.Zp,{children:(0,r.jsxs)(i.so,{align:"center",p:"lg",gap:"xl",children:[(0,r.jsx)(i.az,{children:(0,r.jsx)(u.r,{borderColor:"var(--on-surface-nLv1)",rating:10,fontSize:58,borderWidth:3})}),(0,r.jsxs)(i.az,{flexGrow:1,children:[(0,r.jsx)(a.H3,{textStyle:"display.large",children:(0,r.jsx)(l.A,{id:"sofascore_rating"})}),(0,r.jsx)(a.P,{my:"sm",textStyle:"body.mediumParagraph",children:(0,r.jsx)(l.A,{id:"rating_banner_text"})}),(0,r.jsxs)(a.Mz,{textAlign:"right",lineHeight:"16px",target:"_blank",href:(0,m.y)(e),textStyle:"display.small",color:"primary.default",display:"block",children:[(0,r.jsx)(l.A,{id:"learn_more_button"}),(0,r.jsx)(c.HW5,{w:"16",h:"16",ml:"xs",fill:"primary.default"})]})]})]})})}},38827:(e,t,n)=>{"use strict";n.d(t,{OR:()=>i,Jx:()=>r,iJ:()=>s,M_:()=>a,i6:()=>d,g2:()=>c,yS:()=>u,pg:()=>m,wt:()=>g,zx:()=>z,G_:()=>y,wA:()=>k,_3:()=>F,HD:()=>G.H,Xc:()=>I,dZ:()=>Y,_p:()=>U});var r=function(e){return e.BASE="eventList",e.DATE="eventList.date",e.CATEGORY="eventList.category",e}({}),s=function(e){return e.Regular="regular",e.Category="category",e.Live="live",e}({}),a=function(e){return e.Any="any",e.Live="live",e.Upcoming="upcoming",e.Finished="finished",e}({}),i=function(e){return e[e.Any=0]="Any",e[e.Professional=1]="Professional",e[e.Amateur=2]="Amateur",e}({}),l=n(21377),o=n(4967);let d=(e,t)=>{let n=e.crowdsourcingEnabled||e.isEditor;switch(t){case i.Professional:return!n;case i.Amateur:return n;default:return!0}},c=(e,t)=>{let n=e.homeTeam.gender===l.YT8.Female||e.gender===l.YT8.Female;switch(t){case l.YT8.Male:return!n;case l.YT8.Female:return n;default:return!0}},u=(e,t)=>{switch(t){case a.Any:return!0;case a.Live:return e.status.type===l.XUj.InProgress;case a.Upcoming:return e.status.type===l.XUj.NotStarted||e.status.type===l.XUj.WillContinue;case a.Finished:return[l.XUj.Finished,l.XUj.Suspended,l.XUj.Canceled].includes(e.status.type);default:return!1}},m=(e,t)=>e===l.QCR.Cricket?e=>(0,o._M)(t,1e3*e.startTimestamp,1e3*e.endTimestamp):e=>(0,o.yk)(e.startTimestamp,t);var x=n(494),h=n(45860),p=n(89489);function g(e,t,n){let r=(0,x.wA)(),s=(0,x.d4)(e=>{var n;return null==(n=e.uicontrols.showAllByDate)?void 0:n[t]}),{data:a,isLoading:i}=(0,h.Ay)(e===l.QCR.Football&&s?l.t3g.eventsByDate(e,t,"inverse"):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async e=>(await (0,l.TtD)(e)).events.filter(n),onSuccess:e=>{r((0,p.oU)(e))}});return{additionalEvents:a,isLoading:i}}var v=n(55729),f=n(25862),j=n(7067);let y=()=>{let e=(0,x.wA)(),{variant:t}=(0,j.Ay)("web_open_event_directly"),n=t===j.KT.Treatment;return(0,v.useCallback)((t,r,s)=>{n||s||(t.preventDefault(),e((0,f.VX)(r)))},[n])};var b=n(78383),C=n.n(b),A=n(2294),w=n(70351),_=n(82597);let T=e=>"list:".concat(e,":odds");function k(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[r,s]=(0,v.useState)(),a=(0,x.d4)(A.a5),[i]=(0,x.d4)((0,A.Pf)(n)),o=(0,x.d4)(e=>e.uicontrols.showListOdds),d=a?a.provider:null,{data:c}=(0,h.Ay)(d&&o&&i?l.t3g.oddsByDate(e,i,t):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0}),[u]=(0,w.A)();return(0,v.useEffect)(()=>{s(c?c.odds:void 0)},[c&&c.odds]),(0,v.useEffect)(()=>{if(o&&u){let t=u.Topic.odds.bySportAndMarket(e,1),n=(0,_.p)(T(e),t,e=>{if(!r||!u)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 a=e["choice2.fractionalValue"];if(a&&(r[n].choices[1].fractionalValue=a),3===r[n].choices.length){let t=e["choice3.fractionalValue"];t&&(r[n].choices[2].fractionalValue=t)}s({...r})}});u.subscribe(n)}},[r,u,o]),(0,v.useEffect)(()=>{if(!u||!o)return;let t=u.Topic.odds.bySportAndMarket(e,1),n=(0,_.p)(T(e),t,C()),r=u.subscribe(n);return()=>{r()}},[e,u,o]),r}var E=n(13731),R=n.n(E),L=n(831),M=n.n(L),S=n(10794);let F=(e,t,n)=>{let r=[...(0,x.d4)(e=>e.favorites.lists[l.bq7.Tournaments],x.bN),...(0,x.d4)(e=>e.favorites.lists[l.bq7.MutedTournaments],x.bN)],s=[...(0,x.d4)(e=>e.favorites.lists[l.bq7.Teams],x.bN),...(0,x.d4)(e=>e.favorites.lists[l.bq7.MutedTeams],x.bN)],a=(0,x.d4)(S.js),i=(0,x.d4)(e=>{var t;return null==(t=e.favorites._persist)?void 0:t.rehydrated}),o=(0,v.useMemo)(()=>null==n?void 0:n.reduce((e,t)=>{let n=t.tournament.id;return n&&!e.includes(n)&&e.push(n),e},[]),[n]),d=(0,v.useMemo)(()=>{let i=(null==n?void 0:n.filter(e=>e.tournament.uniqueTournament&&r.includes(e.tournament.uniqueTournament.id)||s.includes(e.homeTeam.id)||s.includes(e.awayTeam.id)))||[],l=Object.values(a).filter(n=>t(n)&&n.tournament.category.sport.slug===e),d=M()([...i,...l],e=>e.id),c=R()(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))},[a,n,o,t]);return{favoriteDateEvents:d.length?d:void 0,isLoading:!i}},D=(e,t,n,r)=>{switch(e){case s.Regular:return l.t3g.eventsByDate(t,n);case s.Category:return r?l.ZXN.scheduledEvents(r.id,n):null;case s.Live:return l.t3g.liveEvents(t);default:return null}};function I(e){let{listType:t,sport:n,date:r,category:a,eventsByDateFilter:i}=e,o=(0,x.wA)();(0,v.useEffect)(()=>{if(t===s.Category&&!a)return;let e="list:".concat(n,":").concat(t),d=D(t,n,r,a);if(d)return o((0,p.vB)({entities:n,refreshTaskId:e},{fetchFunction:c,interval:6e4})),()=>{o((0,p.tM)(e))};async function c(){try{let e=await (0,l.TtD)(d);return{events:t===s.Live?e.events:e.events.filter(i)}}catch(e){return console.error("Couldn't repo refresh sport list events"),{events:[]}}}},[n,t,a])}function z(e,t,n){let r=(0,x.d4)(S.LQ),s=(0,x.wA)(),{data:a,error:i}=(0,h.Ay)(r?[l.t3g.eventsByDate(e,t),r]:null,{refreshInterval:6e4,revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async t=>{let[r,s]=t,[a,i]=await Promise.allSettled([(0,l.TtD)(r),(0,l.TtD)(l.PTD.defaultUniqueTournaments(s,e))]);if("rejected"===a.status)throw a.reason;let o=a.value.events.filter(n);if("fulfilled"===i.status){let e=i.value.uniqueTournaments.filter(e=>e.category.alpha2===s).map(e=>e.id);return o.sort((t,n)=>{var r,s;return(null==(r=t.tournament.uniqueTournament)?void 0:r.id)===(null==(s=n.tournament.uniqueTournament)?void 0:s.id)?0:t.tournament.uniqueTournament&&e.includes(t.tournament.uniqueTournament.id)?-1:n.tournament.uniqueTournament&&e.includes(n.tournament.uniqueTournament.id)?1:0})}return o},onSuccess:e=>{s((0,p.oU)(e))}});return{events:a,isLoading:!a&&!i}}var Q=n(95083),P=n(81278),O=n(26331),B=n(70591),H=n(76410),N=n(19168);function Y(e){let{sport:t,date:n,listType:s,categorySlug:d}=e,[c,u]=(0,N.bL)("is-favorites-only",!1),[m,h]=(0,v.useState)(a.Any),[p,g]=(0,v.useState)(i.Any),[j,y]=(0,v.useState)(l.YT8.Mixed),[b,C]=(0,v.useState)(new Date(Date.parse("".concat(n,"T12:00")))),[w,_]=(0,v.useState)(!1),T=(0,x.wA)(),k=(0,P.useRouter)(),E=(0,O.A)(),{isMobile:R}=(0,Q.$c)(),L=(0,x.d4)(A.BF),M=(0,x.d4)(A.v_),S=(0,x.d4)(A.yB),F=(0,x.d4)(A.zV),D=m===a.Live,I=L||M||F&&D,z=S&&!I,Y=(0,o.UG)(new Date),U=(0,v.useCallback)(()=>{(0,H.XN)(!z),T((0,f._1)())},[z]),G=(0,v.useCallback)(()=>{h(a.Any),g(i.Any),y(l.YT8.Mixed),C(new Date(Date.parse("".concat(n,"T12:00"))))},[n]);(0,v.useEffect)(()=>{G()},[t,s,n]),(0,v.useEffect)(()=>{let e=()=>{w&&(h(a.Any),_(!1))};return k.events.on("routeChangeComplete",e),()=>{k.events.off("routeChangeComplete",e)}},[k,w]);let V=(0,v.useCallback)(e=>{if(!e)return;let i=(0,o.UG)(e),l=s===r.CATEGORY;if(i===n)return void h(a.Any);let c={sport:t,date:i,category:d};l||delete c.category,i===Y&&delete c.date,(0,B.zw)(E,l?r.CATEGORY:r.DATE,c),_(!0),(0,H.Vu)()},[k.asPath,m]);return(0,v.useEffect)(()=>{R&&u(!1)},[R]),{isFavoritesOnly:c,timeStatus:m,competitionLevel:p,gender:j,areOddsVisible:z,isOddsToggleDisabled:I,sport:t,date:b,onChange:e=>{switch(e.name){case"timeStatus":h(e.value);break;case"advanced":g(e.value.competitionLevel),y(e.value.gender);break;case"areOddsVisible":U();break;case"isFavoritesOnly":u(e.value),h(a.Any);break;case"date":V(e.value)}"areOddsVisible"!==e.name&&window.scrollTo(0,0)}}}function U(e,t){let{data:n}=(0,h.Ay)(l.t3g.eventCount(),{refreshInterval:2e4,revalidateOnFocus:!0}),[r,s]=(0,v.useState)(0),{live:a}=(null==n?void 0:n[e])||{live:0};return(0,v.useEffect)(()=>{t||s(a)},[a,t]),{liveCount:r,setLiveCount:s}}var G=n(19607)},39419:(e,t,n)=>{"use strict";n.d(t,{M:()=>d});var r=n(6029),s=n(4967),a=n(41249),i=n(55729),l=n(947),o=n(96470);let d=e=>{let{hasChallengeEnded:t,challengeEndTime:n,...d}=e,[c,u]=(0,i.useState)(new Date().getTime()),m=(0,l.A)();if((0,i.useEffect)(()=>{let e=setInterval(()=>u(new Date().getTime()),1e3);return()=>clearInterval(e)},[c]),!n)return null;let x=t?n+s.dp:n;return(0,r.jsx)(a.EY,{...d,children:x{"use strict";n.d(t,{r:()=>m,$:()=>p});var r=n(6029),s=n(21377),a=n(76356),i=n(55729),l=n(494),o=n(62859),d=n(76410),c=n(49821),u=n(2294);function m(e){let{selectedProvider:t,onClick:n,logClick:m=!0,size:x="56x28"}=e,h=(0,l.d4)(u.a5),p=t?t.provider:null==h?void 0:h.provider,g=t?null==t?void 0:t.branded:null==h?void 0:h.branded,v=t?t.provider.slug:null==h?void 0:h.provider.slug,{location:f}=(0,i.useContext)(o.y$),[j,y]=x.split("x");return p&&g?(0,r.jsx)(a.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:(t?t.defaultBetSlipLink:null==h?void 0:h.defaultBetSlipLink)||p.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==n||n(),m&&(0,d.Fe)({location:f,provider:v,position:c.ki.ProviderLogo})},"data-testid":"odds_provider_logo",style:{background:p.colors.primary,width:"".concat(j,"px"),height:"".concat(y,"px")},children:(0,r.jsx)(a.I4.img,{src:s.npy.providerImage(p.id),alt:p.name||"",style:{width:"".concat(j,"px"),height:"auto"}})}):null}var x=n(95083),h=n(90248);let p=()=>{let e=(0,l.d4)(u.a5);return(null==e?void 0:e.branded)?(0,r.jsxs)(a.so,{justify:"center",align:"center",ml:"lg","data-testid":"featured_logo",children:[(0,r.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,r.jsx)(h.A,{id:"featured_by"})}),(0,r.jsx)(m,{size:"48x24"})]}):null}},42621:(e,t,n)=>{"use strict";n.d(t,{q:()=>r.q});var r=n(1440)},44909:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(6029),s=n(76356),a=n(55729),i=n(494),l=n(65789),o=n(62859),d=n(45152),c=n(47229),u=n(16202),m=n(10794),x=n(29270),h=n(32651),p=n(80435),g=n(37990),v=n(38827),f=n(6263);function j(e){let{category:t,listType:n}=e,j=(0,a.useContext)(o.Ws),y=(0,i.d4)(m.LQ);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Zp,{children:(0,r.jsx)(s.az,{p:"sm",children:(0,r.jsx)(u.q,{})})}),(0,r.jsx)(d.S,{isLoading:!0,events:[],hideEventTitle:!0,children:(0,r.jsx)(c.t1,{})}),(0,r.jsx)(s.az,{display:{lgDown:"none"},children:(0,r.jsx)(l.Zp,{children:(0,r.jsx)(s.az,{h:"[294px]"})})}),(0,r.jsx)(h.A,{}),(0,r.jsx)(f.A,{}),(0,r.jsx)(g.W,{}),(0,r.jsx)(p.A,{}),(0,r.jsx)(l.Zp,{children:(0,r.jsx)(s.az,{h:"[616px]"})}),"HR"!==y&&(0,r.jsx)(s.az,{position:"sticky",top:"[120px]",children:(0,r.jsx)(l.Zp,{children:(0,r.jsx)(s.az,{h:"[294px]"})})}),t&&j?(0,r.jsx)(x._,{sport:j,category:t}):n===v.Jx.BASE?(0,r.jsx)(x.a,{}):null]})}},45152:(e,t,n)=>{"use strict";n.d(t,{S:()=>y});var r=n(6029),s=n(65789),a=n(73045),i=n(41249),l=n(90248),o=n(62859),d=n(54409),c=n(98449),u=n(40364),m=n(65078),x=n(70591),h=n(47530),p=n(10234);let g=e=>{let{event:t,hideTitle:n,hasCta:s=!1,onClick:o}=e;return(0,r.jsxs)(x.tj,{event:t,onClick:o,children:[(0,r.jsxs)(i.az,{br:["sm","lg"],bg:"surface.s2",hoverBg:"onSurface.nLv4",minH:102+32*!n,children:[!n&&(0,r.jsxs)(i.so,{pt:"sm",align:"center",px:"lg",children:[t.tournament.uniqueTournament?(0,r.jsx)(a.e,{id:t.tournament.uniqueTournament.id,size:24}):(0,r.jsx)(a.l,{id:t.tournament.id,size:24}),(0,r.jsxs)(i.EY,{as:"bdi",ml:"sm",block:!0,font:"assistive.default",color:"onSurface.nLv3",children:[(0,r.jsx)(c.m,{slug:t.tournament.category.slug,name:t.tournament.category.name,uniqueTournament:t.tournament.uniqueTournament}),", ",(0,r.jsx)(p.J,{tournament:t.tournament}),t.roundInfo&&(0,r.jsxs)(r.Fragment,{children:[", ",(0,r.jsx)(h.DT,{round:t.roundInfo})]})]})]}),(0,r.jsx)(u.g,{disableFollow:!0,hasCountdown:!0,hideIncidents:!0,hideTimeouts:!0})]}),s&&(0,r.jsxs)(i.so,{px:"lg",py:"lg",justify:"center",cursor:"pointer",children:[(0,r.jsx)(i.EY,{color:"primary.default",font:"display.small",children:(0,r.jsx)(l.A,{id:"see_all"})}),(0,r.jsx)(d.CCT,{fill:"primary.default",ml:"xs"})]})]})};function v(e){let{event:t,...n}=e,{event:s,leftTeam:a,rightTeam:i,leftScore:l,rightScore:d}=(0,m.mJ)(t.id,{shouldRefresh:!0,event:t});return t?(0,r.jsx)(o.y$.Provider,{value:{event:t,leftTeam:a,rightTeam:i,leftScore:l,rightScore:d},children:(0,r.jsx)(g,{event:{...t,...s},...n})}):null}var f=n(76356);let j=e=>(0,r.jsxs)(f.az,{br:"lg",bg:"surface.s2",minH:e.hideTitle?"[134px]":"11xl",children:[(0,r.jsx)(f.az,{h:"[134px]"}),e.showCta&&(0,r.jsx)(f.az,{h:"2xl"})]});function y(e){let{titleId:t="featured",titleValues:n,hideEventTitle:a,showCta:i,ignoreCardLayout:l,isLoading:o,events:d,onEventClick:c,children:u}=e,m=d.filter(e=>!!e);if(!m.length&&!o)return null;let x=(0,r.jsx)(r.Fragment,{children:m.length?m.map(e=>(0,r.jsx)(v,{hideTitle:a,hasCta:i,event:e,onClick:()=>null==c?void 0:c(e)},e.id)):(0,r.jsx)(j,{hideTitle:a,showCta:i})});return l?(0,r.jsxs)(r.Fragment,{children:[x,u]}):(0,r.jsxs)(s.Zp,{children:[(0,r.jsx)(s.Zp.Header,{titleId:t,values:n,as:"h3"}),(0,r.jsxs)(s.BU,{children:[x,u]})]})}},47530:(e,t,n)=>{"use strict";n.d(t,{DT:()=>c,Xl:()=>u,__:()=>o,rC:()=>d});var r=n(6029),s=n(21377),a=n(90248),i=n(947),l=n(20336);let o=e=>{let{name:t,sport:n}=e,s=(0,l.g)(t,n);return(0,r.jsx)(r.Fragment,{children:s})};function d(e){let{roundName:t,sport:n}=e,i=n===s.QCR.AmericanFootball;if(!isNaN(+t))return(0,r.jsx)(a.A,{id:i?"week_number":"matches.roundN",values:{n:t}});let l=t.match(/\d+/),c=t.match(/2nd leg/),u=t.match(/place/);if(l&&!c&&!u)return t.match(/qualification/i)?(0,r.jsx)(a.A,{id:"qualificationRoundN",values:{n:l[0]},defaultMessage:t}):t.match(/round of/i)||t.match(/\d+[/]\d+/i)||t.match(/R\d+/i)?(0,r.jsx)(o,{name:t,sport:n}):(0,r.jsx)(a.A,{id:i?"week_number":"matches.roundN",values:{n:l[0]},defaultMessage:t});if(c&&c.index){let e=t.slice(0,c.index-1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{roundName:e})," ",(0,r.jsx)(a.A,{id:"tournament.totw.secondLeg",defaultMessage:c[0]})]})}return(0,r.jsx)(o,{name:t,sport:n})}let c=e=>{let{round:t,sport:n}=e;return t?(0,r.jsxs)(r.Fragment,{children:[t.prefix&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{roundName:t.prefix}),"\xa0"]}),(0,r.jsx)(d,{roundName:(null==t?void 0:t.name)||t.round.toString(),sport:n})]}):null},u=(e,t,n)=>{let r=(0,i.A)(),a=(0,l.g)(e,t),o=t===s.QCR.AmericanFootball;if(!e)return;if(!isNaN(+e))return r.formatMessage({id:o?"week_number":"matches.roundN"},{n:e});let d=e.match(/\d+/),c=e.match(/2nd leg/),u=e.match(/place/);return!d||c||u?n?r.formatMessage({id:"winner"}):a:e.match(/qualification/i)?r.formatMessage({id:"qualificationRoundN",defaultMessage:e},{n:d[0]}):e.match(/round of/i)||e.match(/\d+[/]\d+/i)||e.match(/R\d+/i)?a:r.formatMessage({id:o?"week_number":"matches.roundN",defaultMessage:e},{n:d[0]})}},49367:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>e$});var r=n(6029),s=n(4967),a=n(21377),i=n(73088),l=n(70389),o=n(99736),d=n(25862),c=n(76297),u=n(38827);let m=[a.QCR.Football,a.QCR.Basketball,a.QCR.Baseball,a.QCR.Handball,a.QCR.IceHockey,a.QCR.TableTennis,a.QCR.Tennis,a.QCR.Volleyball],x=o.Ay.getInitialPageProps(e=>async t=>{let r,s=t.req?t.req._originalUrl:t.asPath,o=(0,c.a)(t,s),x=o||a.QCR.Football,h=(0,c.l)(t,"date"),p=(0,c.l)(t,"category"),g=u.Jx.BASE;h&&(g=u.Jx.DATE),p&&(g=u.Jx.CATEGORY);let v=i.z.getCurrentLocale(s);t.res&&s&&(g===u.Jx.BASE&&(null==o?void 0:o.toLowerCase())===a.QCR.Football&&(t.res.writeHead(301,{Location:i.z.getTranslatedRoute(v,"home").route}),t.res.end()),/[A-Z]/.test(x)&&(t.res.writeHead(301,{Location:s.toLowerCase()}),t.res.end()));let[f,j,y]=await Promise.allSettled([a.Tps.fetchSportCategories(x,!0),a.sdF.getEntityMeta(a.wNW.Sport,x,v),m.includes(x)?a.sdF.getSeoContent(a.wNW.Sport,x,v):Promise.reject()]);if(p&&t.res){if("rejected"===f.status||!f.value.categories.find(e=>e.slug===p))return t.res.statusCode=404,{error:Error("Category not found")};r=f.value.categories.find(e=>e.slug===p)}let b="fulfilled"===j.status?j.value.entityMeta:void 0,C="fulfilled"===y.status?y.value.content:void 0,A=(await n(23498)("./route.".concat(g,".json"))).default;return e.dispatch((0,l.Od)(A)),e.dispatch((0,d.Vy)(x)),{listType:g,sport:x,date:h,initialCategory:r,categorySlug:p,meta:b,seoContent:C}});var h=n(76356),p=n(71024),g=n.n(p),v=n(62859),f=n(29129),j=n(52951),y=n(21403),b=n(55729),C=n(90248),A=n(45860),w=n(33752),_=n(69559),T=n(70591),k=n(27289);function E(e){var t,n;let{category:s,listType:i}=e,{meta:l,seoContent:o}=(0,b.useContext)(j.xV),d=(0,_.o)(),{data:c}=(0,A.Ay)("string"==typeof s?a.t3g.categories(d,!0):null),m="object"==typeof s?s.name:null!=(n=null==c||null==(t=c.categories.find(e=>e.slug===s))?void 0:t.name)?n:s,x=(0,r.jsx)(w.B,{isHomePage:!0,children:(0,r.jsx)(w.B.Title,{children:(null==o?void 0:o.heading)||(null==l?void 0:l.h1)||(0,r.jsx)(C.A,{id:i===u.Jx.BASE||i===u.Jx.DATE?"headerTitle.main":"",values:{item:(0,r.jsx)(k.o,{sportSlug:d})}})})});if(s){let e="object"==typeof s?s.slug:s;x=(0,r.jsxs)(w.B,{isHomePage:!0,children:[(0,r.jsx)(w.B.Item,{children:(0,r.jsx)(T.di,{translatedParams:{sport:d},children:(0,r.jsx)(k.o,{sportSlug:d})})}),(0,r.jsx)(w.B.Item,{children:(0,r.jsx)(T.N_,{routeKey:"eventList.category",params:{sport:d,category:e},children:(0,r.jsx)(C.A,{id:e,defaultMessage:m})})}),(0,r.jsx)(w.B.Title,{children:(0,r.jsx)(C.A,{id:"headerTitle.main",values:{item:(0,r.jsx)(k.o,{sportSlug:d})}})})]})}return(0,r.jsx)(h.az,{px:{mdDown:"sm"},pt:{mdDown:"sm"},children:x})}var R=n(71507),L=n(494),M=n(65789),S=n(14861),F=n(59364),D=n(48702),I=n(10794),z=n(23727),Q=n(76868),P=n(1815),O=n(95083),B=n(41249),H=n(42621),N=n(151),Y=n(51372),U=n(41735);let G=e=>{let{branding:t,children:n,isLast:s,...a}=e,i=(0,U.useTheme)();return t?(0,r.jsx)(h.az,{borderLeft:"[2px solid]",borderRight:"[2px solid]",borderBottom:s?"[2px solid]":void 0,borderBottomRadius:s?"lg":void 0,style:{borderColor:t.brand.color[i.name]},...a,children:n}):(0,r.jsx)(r.Fragment,{children:n})};var V=n(59754),q=n(53486),Z=n(67553),W=n(2294),J=n(94604);let K={11:(0,r.jsx)(S.i,{id:"main.MOBILE_LIST"}),49:(0,r.jsx)(S.i,{id:"main.MOBILE_LIST_MID"})};var X=n(31254),$=n(65078),ee=n(8973);let et=e=>{let{event:t,height:n}=e,s=(0,$.g3)();return(0,r.jsx)(B.so,{h:n,align:"center",children:(0,r.jsxs)(B.az,{h:36,grow:1,borderLeft:"onSurface.nLv4",borderRight:"onSurface.nLv4",ml:"74px",mr:"50px",px:"sm",children:[(0,r.jsxs)(B.so,{align:"center",mb:"xxs",overflow:"hidden",maxW:"200",children:[t.homeTeam.type===a.YVh.Double?null:(0,r.jsx)(B._V,{width:"16",height:"16",mr:"sm",src:"/static/images/placeholders/team.svg",alt:"Team image placeholder"}),(0,r.jsx)(B.EY,{font:"body.medium",as:"bdi",ellipsis:!0,lineHeight:"16px",children:(0,r.jsx)(J.Rm,{team:s?t.awayTeam:t.homeTeam,short:!0})})]}),(0,r.jsxs)(B.so,{align:"center",overflow:"hidden",maxW:"200",children:[t.homeTeam.type===a.YVh.Double?null:(0,r.jsx)(B._V,{width:"16",height:"16",mr:"sm",src:"/static/images/placeholders/team.svg",alt:"Team image placeholder"}),(0,r.jsx)(B.EY,{font:"body.medium",as:"bdi",ellipsis:!0,lineHeight:"16px",children:(0,r.jsx)(J.Rm,{team:s?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 es(e){let{eventCell:t,header:n,onClick:s,events:i}=e,{mutate:l}=(0,A.iX)(),{isMobile:o}=(0,O.$c)(),{preferTournamentName:d,showAds:c,odds:u}=(0,b.useContext)(D.e),m=(0,L.d4)(W.v_),x=(0,L.d4)(W.yB)&&!m,h=(0,L.d4)(I.hT),p=(0,L.d4)(N.g),g=(0,b.useMemo)(()=>t||q.gY,[]),v=(0,b.useMemo)(()=>n||X.sm,[]);(0,b.useEffect)(()=>{l(a.t3g.eventCount())},[l,i.length]);let f=(0,b.useMemo)(()=>{let e=[];return i.forEach((t,n)=>{let r=(0,V.C)(t,"eventList",p),s=er(i[n],d),a=i[n-1]&&er(i[n-1],d),l=i[n+1]&&er(i[n+1],d),u=s!==a;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:s!==l}),l&&s!==l){let t=(0,V.C)(i[n+1],"eventList",p);if(r||t)return;e.push({type:"divider"})}}),e},[i,o,p]);return(0,r.jsx)(r.Fragment,{children:f.map((t,n)=>{var i,d,c,m,p,j;let y=e.isInCard?void 0:"sm";switch(t.type){case"header":let b=t.branding,C=f.find((e,t)=>t>n&&"event"===e.type);return(0,r.jsxs)(H.q,{initialVisible:n<30,defaultHeight:b?72:48,children:[b&&(null==(d=t.tournament)||null==(i=d.uniqueTournament)?void 0:i.id)&&(0,r.jsx)(Y.O,{entityId:t.tournament.uniqueTournament.id,branding:b,br:"[{spacing.lg} {spacing.lg} 0 0]",overflow:"hidden",mx:y,location:"main_list"}),(0,r.jsx)(G,{branding:b,mx:y,children:(0,r.jsx)(v,{tournament:t.tournament,seasonId:null==C||null==(m=C.event)||null==(c=m.season)?void 0:c.id})})]},t.type+(null==(p=t.tournament)?void 0:p.id));case"event":let A=t.event,w=null==(j=A.tournament)?void 0:j.category.sport.slug,_=w===a.QCR.Cricket,T=w===a.QCR.AmericanFootball&&A.status.type===a.XUj.InProgress,k=_||T?68:48,E=t.isLastTournamentEvent;return(0,r.jsx)(G,{branding:t.branding,isLast:E,pb:E?"sm":void 0,mx:y,children:(0,r.jsx)(H.q,{initialVisible:n<30,defaultHeight:k,loader:_?void 0:(0,r.jsx)(et,{event:A,height:k}),children:(0,r.jsx)(q.MC.Provider,{value:{invertedMenu:f.length-n<=2,showOdds:x,location:ee.y.MainMatches},children:(0,r.jsx)(g,{event:A,onClick:s,isMobile:o,mutate:()=>{h&&window.setTimeout(()=>{l(a.t3g.liveEvents(h))},Z.s.Total+200)},odds:u?u[A.id]||{loaded:!0}:void 0},A.id)})})},t.type+A.id);case"divider":return(0,r.jsx)(B.cG,{mt:"sm"},"divider-".concat(n));case"ad":return(0,r.jsx)(G,{branding:t.branding,mx:y,children:t.adUnit},"ad-unit-".concat(n));default:return null}})})}function ea(e){return(0,r.jsx)(es,{...e})}function ei(e){return void 0===e.events||null===e.events||0===e.events.length?null:(0,r.jsx)(ea,{...e,events:e.events})}var el=n(54686),eo=n(34906),ed=n(51862),ec=n(76410),eu=n(25745);function em(e){let{date:t,sport:n,isFavoritesOnly:i,gender:l,timeStatus:o,competitionLevel:c,setLiveCount:m}=e,x=(0,L.wA)(),p=(0,u.wA)(n,t),g=(0,b.useContext)(D.e),f=t===(0,s.UG)(new Date),j=(0,u.G_)(),y=(0,L.d4)(W.a5),C=(0,eu.s)(null==y?void 0:y.impressionCostEncrypted),A=(0,b.useCallback)((0,u.pg)(n,Date.parse("".concat(t,"T12:00"))),[n,t]),w=e=>(0,u.yS)(e,o)&&(0,u.g2)(e,l)&&(0,u.i6)(e,c),{events:_,isLoading:T}=(0,u.zx)(n,t,A),{favoriteDateEvents:k,isLoading:E}=(0,u._3)(n,A,_),R=null==k?void 0:k.filter(e=>(0,u.yS)(e,u.M_.Live));(0,b.useEffect)(()=>{i&&m((null==R?void 0:R.length)||0)},[null==R?void 0:R.length,i]);let S=((i?k:_)||[]).filter(w),{additionalEvents:F,isLoading:I}=(0,u.wt)(n,t,A),O=null==F?void 0:F.filter(w);(0,u.Xc)({listType:u.iJ.Regular,sport:n,date:t,eventsByDateFilter:A});let B=(0,b.useCallback)(()=>{x((0,d._D)(t))},[t]),H=(0,P.e)(async()=>{(0,ec.CH)({location:v.cb.MainList,provider:null==y?void 0:y.provider.slug,value:await C})},{deps:[n,t]}),N=o!==u.M_.Any||l!==a.YT8.Mixed||c!==u.OR.Any;return(T||E)&&!I?(0,r.jsx)(el.A,{sport:n}):S.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(D.e.Provider,{value:{...g,odds:p,date:i?void 0:t,showAds:!i},children:(0,r.jsx)("div",{ref:p&&Object.keys(p).length>0&&!i?H:void 0,children:(0,r.jsx)(ei,{divider:!0,events:S,header:X.kE,onClick:j})})}),!i&&!!(null==O?void 0:O.length)&&(0,r.jsxs)(D.e.Provider,{value:{...g,showAds:!1,odds:p,date:t},children:[(0,r.jsx)(h.cG,{color:"neutrals.nLv4",borderBlockEndStyle:"solid",pb:"sm"}),(0,r.jsx)(ei,{divider:!0,events:O,header:X.kE,onClick:j})]}),(0,r.jsx)(M.Zp.Footer,{ctaParams:!i&&!O&&n===a.QCR.Football&&{messageId:"show_all",icon:z.X.Down,onClick:B}})]}):i&&!k?(0,r.jsx)(eo.D,{entity:ed.R.Events,searchAll:!0}):(0,r.jsx)(Q.p,{graphic:"no-events-calendar",titleMessageId:N?"empty_filtered_events_title":f?"eventList.noEventsToday":"basic.noEvents",descriptionMessageId:N?"empty_filtered_events_text":"eventList.tryDifferentDate"})}var ex=n(98449),eh=n(89489);function ep(e){var t;let{categoryId:n}=e,{data:s,isLoading:i}=(0,A.Ay)(n?a.ZXN.uniqueTournaments(n):null);if(i)return(0,r.jsx)(h.az,{h:"[440px]"});if(!s)return null;let l=s.groups.filter(e=>{let{isActive:t}=e;return!s.activeUniqueTournamentIds||t}),o=null!=(t=s.activeUniqueTournamentIds)?t:[];return(0,r.jsx)(h.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)(C.A,{id:t})}),n.map(e=>(0,r.jsx)(T.tQ,{tournament:e,children:(0,r.jsx)(h.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,b.memo)(function(e){let t=(0,L.wA)(),n=(0,u.G_)(),i=(0,b.useContext)(D.e),{date:l,sport:o,initialCategory:d,categorySlug:c}=e,m=Date.parse("".concat(l,"T12:00")),x=(0,s.UG)(new Date)===l,{data:p,isLoading:g}=(0,A.Ay)(a.t3g.categories(o,!0)),f=g||!p?d:p.categories.find(e=>e.slug===c),j=o===a.QCR.Cricket?e=>(0,s._M)(m,1e3*e.startTimestamp,1e3*e.endTimestamp):e=>(0,s.yk)(e.startTimestamp,m),y=f?f.sport.slug===a.QCR.Tennis?"recentTournaments":"allTournaments":null,w=(0,u.wA)(o,l),_=(0,L.d4)(W.a5),T=(0,eu.s)(null==_?void 0:_.impressionCostEncrypted),E=(0,P.e)(async()=>{(0,ec.CH)({location:v.cb.MainList,provider:null==_?void 0:_.provider.slug,value:await T})},{deps:[o,l,c]}),{data:R,isLoading:M}=(0,A.Ay)(f?a.ZXN.scheduledEvents(f.id,l):null,{revalidateOnFocus:!0,revalidateOnReconnect:!0,fetcher:async e=>(await (0,a.TtD)(e)).events.filter(j),onSuccess:e=>{t((0,eh.oU)(e))}}),S=R&&!!R.length;return((0,u.Xc)({listType:u.iJ.Category,sport:o,date:l,category:f,eventsByDateFilter:j}),M||g)?(0,r.jsx)(h.az,{h:"[1024px]"}):(0,r.jsxs)(r.Fragment,{children:[S?(0,r.jsx)(D.e.Provider,{value:{...i,odds:w},children:(0,r.jsx)(h.az,{pt:"sm",ref:w&&Object.keys(w).length>0?E:void 0,children:(0,r.jsx)(ei,{events:R,header:X.kn,onClick:n})})}):(0,r.jsx)(Q.p,{graphic:"no-events-calendar",titleMessageId:x?"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)(C.A,{id:"eventList.category.".concat(y),values:{categoryName:(0,r.jsx)(ex.m,{...f}),sportName:(0,r.jsx)(k.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 ev=n(75751),ef=n(90510),ej=n(57545),ey=n(54409),eb=n(54053);let eC=e=>{let{date:t,onClick:n}=e;return(0,r.jsxs)(h.so,{align:"center",gap:"sm",cursor:"pointer",onClick:n,children:[(0,r.jsx)(ey.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(),...s.or.date})})]})};function eA(e){let{onChange:t,date:n,sport:s,asPopover:a}=e,[i,l]=(0,b.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(h.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)(ey.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)(ey.CCT,{})})]}),i?a?(0,r.jsxs)(h.az,{position:"absolute",width:"[318px]",zIndex:"popover",top:"0",right:"0",br:"lg",bg:"surface.sp",elevation:"3",children:[(0,r.jsx)(h.so,{justify:"flex-end",children:(0,r.jsx)(h.az,{cursor:"pointer",br:"sm",onClick:()=>l(!1),pt:"sm",px:"sm",children:(0,r.jsx)(ey.zQC,{icon:"close",fill:"primary.default"})})}),(0,r.jsx)(ej.A,{date:n,onChange:e=>{t(e),l(!1)},sport:s})]}):(0,r.jsx)(eb.A,{isOpen:!0,setIsOpen:l,width:360,children:(0,r.jsx)(ej.A,{date:n,onChange:e=>{t(e),l(!1)},sport:s})}):null]})}var ew=n(96913),e_=n(28132),eT=n(12047);let ek=e=>{let{isActive:t,isLive:n,labelId:s,count:a,onClick:i}=e;return(0,r.jsxs)(O.$n,{bg:n&&t?"status.live":n?"status.liveHighlight":t?"primary.default":"surface.s2",size:"secondary",color:t?"onColor.primary":n?"status.live":"neutrals.nLv1",textStyle:"assistive.default",textTransform:"capitalize",onClick:i,children:[(0,r.jsx)(C.A,{id:s}),!!a&&" (".concat(a,")")]})};function eE(e){let{timeStatus:t,areOddsVisible:n,isOddsToggleDisabled:a,date:i,sport:l,liveCount:o,onChange:d,listType:c}=e,m=(0,eT.Ay)({isInMobileTabs:!1}),x=(0,s.cK)(i);return(0,r.jsx)(ev.t,{tag:"HomePageMobileListHeader",children:(0,r.jsx)(B.PI,{top:m,display:["block","none"],children:(0,r.jsxs)(h.az,{bg:"surface.s1",pb:c===u.Jx.CATEGORY?"sm":void 0,elevation:"2",children:[(0,r.jsxs)(h.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}),!a&&(0,r.jsxs)(h.so,{maxW:"[158px]",align:"center",gap:"sm",children:[(0,r.jsx)(O.EY,{maxW:"[118px]",textStyle:"display.small",truncate:!0,children:(0,r.jsx)(C.A,{id:"odds"})}),(0,r.jsx)(B.lM,{checked:n,onChange:()=>d({name:"areOddsVisible",value:!n})})]})]}),c!==u.Jx.CATEGORY&&!x&&(0,r.jsx)(h.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.m.MainPageAll,type:e_.H.TodayMatches})},children:(0,r.jsx)(C.A,{id:"today"})})}),c!==u.Jx.CATEGORY&&x&&(0,r.jsx)(B.tR,{children:(0,r.jsxs)(h.so,{w:"fit",p:"sm",align:"center",gap:"xs",children:[(0,r.jsx)(ek,{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.m.MainPageAll,type:e_.H.All}))}}),(0,r.jsx)(ek,{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.m.MainPageAll,type:e_.H.Live}))}}),(0,r.jsx)(ek,{labelId:"finished",isActive:t===u.M_.Finished,onClick:()=>{t!==u.M_.Finished&&(d({name:"timeStatus",value:u.M_.Finished}),(0,ec.yy)({location:ew.m.MainPageAll,type:e_.H.Finished}))}}),(0,r.jsx)(ek,{labelId:"upcoming",isActive:t===u.M_.Upcoming,onClick:()=>{t!==u.M_.Upcoming&&(d({name:"timeStatus",value:u.M_.Upcoming}),(0,ec.yy)({location:ew.m.MainPageAll,type:e_.H.Upcoming}))}})]})})]})})})}function eR(e){var t;let{timeStatus:n,areOddsVisible:i,isOddsToggleDisabled:l,date:o,sport:d,liveCount:c,onChange:m,listType:x,categorySlug:p,initialCategoryName:g,isFavoritesOnly:v}=e,f=(0,s.cK)(o),{data:j,isLoading:y}=(0,A.Ay)(a.t3g.categories(d,!0)),b=y?g:null==j||null==(t=j.categories.find(e=>e.slug===p))?void 0:t.name;return(0,r.jsx)(ev.t,{tag:"HomePageDesktopListHeader",children:(0,r.jsxs)(h.az,{display:{mdDown:"none"},px:"sm",pt:"sm",pb:x===u.Jx.CATEGORY?void 0:"sm",children:[(0,r.jsxs)(h.so,{h:"4xl",align:"center",justify:"space-between",children:[x===u.Jx.CATEGORY?(0,r.jsx)(O.EY,{pl:"sm",textStyle:"display.large",textTransform:"capitalize",children:b}):(0,r.jsx)(B.tU,{variant:"primary",value:+!!v,initialValue:+!!v,onChange:()=>{},children:(0,r.jsxs)(B.tU.List,{underline:!0,children:[(0,r.jsx)(B.tU.Tab,{tabKey:0,onClick:e=>{(v||n!==u.M_.Any)&&(m({name:"isFavoritesOnly",value:!1}),e.nativeEvent.isTrusted&&(0,ec.yy)({location:ew.m.MainPageAll,type:e_.H.All}))},children:(0,r.jsx)(C.A,{id:"basic.all"})}),(0,r.jsx)(B.tU.Tab,{tabKey:1,onClick:e=>{(!v||n!==u.M_.Any)&&(m({name:"isFavoritesOnly",value:!0}),e.nativeEvent.isTrusted&&(0,ec.yy)({location:ew.m.MainPageFavorites,type:e_.H.All}))},children:(0,r.jsx)(C.A,{id:"eventList.favorites"})})]})}),(0,r.jsx)(h.so,{align:"center",gap:"lg",flexGrow:1,justify:"flex-end",children:(0,r.jsxs)(h.so,{align:"center",gap:"sm",children:[!l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(O.EY,{textStyle:"display.small",children:(0,r.jsx)(C.A,{id:"odds"})}),(0,r.jsx)(B.lM,{checked:i,onChange:()=>m({name:"areOddsVisible",value:!i})})]}),(0,r.jsx)(eA,{date:o,onChange:e=>m({name:"date",value:e}),sport:d,asPopover:!0})]})})]}),x!==u.Jx.CATEGORY&&!f&&(0,r.jsx)(h.so,{h:"4xl",align:"center",borderTop:"1px solid {colors.neutrals.nLv4}",children:(0,r.jsx)(O.$n,{size:"secondary",onClick:()=>{m({name:"date",value:new Date}),(0,ec.yy)({location:v?ew.m.MainPageFavorites:ew.m.MainPageAll,type:e_.H.TodayMatches})},children:(0,r.jsx)(C.A,{id:"today"})})}),x!==u.Jx.CATEGORY&&f&&(0,r.jsxs)(h.so,{h:"4xl",align:"flex-end",gap:"xs",borderTop:"1px solid {colors.neutrals.nLv4}",mt:"[-1px]",children:[(0,r.jsx)(ek,{labelId:"live",isActive:n===u.M_.Live,isLive:!0,count:c,onClick:()=>{m({name:"timeStatus",value:n===u.M_.Live?u.M_.Any:u.M_.Live}),(0,ec.yy)({location:v?ew.m.MainPageFavorites:ew.m.MainPageAll,type:n===u.M_.Live?e_.H.All:e_.H.Live})}}),(0,r.jsx)(ek,{labelId:"finished",isActive:n===u.M_.Finished,onClick:()=>{m({name:"timeStatus",value:n===u.M_.Finished?u.M_.Any:u.M_.Finished}),(0,ec.yy)({location:v?ew.m.MainPageFavorites:ew.m.MainPageAll,type:n===u.M_.Finished?e_.H.All:e_.H.Finished})}}),(0,r.jsx)(ek,{labelId:"upcoming",isActive:n===u.M_.Upcoming,onClick:()=>{m({name:"timeStatus",value:n===u.M_.Upcoming?u.M_.Any:u.M_.Upcoming}),(0,ec.yy)({location:v?ew.m.MainPageFavorites:ew.m.MainPageAll,type:n===u.M_.Upcoming?e_.H.All:e_.H.Upcoming})}})]})]})})}var eL=n(78383),eM=n.n(eL),eS=n(39196),eF=n(70351),eD=n(19168);let eI=[a.QCR.Football,a.QCR.ESports,a.QCR.Futsal,a.QCR.Minifootball],ez=(0,b.memo)(function(e){let{sport:t,onEmptyStateClick:n}=e,i=(0,L.wA)(),[l,o]=(0,b.useState)(!1),d=eI.includes(t),[c,m]=(0,eD.yR)("show-live-amateur-events",!0),x=(0,u.wA)(t,(0,s.UG)(new Date)),p=(0,b.useContext)(D.e),g=(0,u.G_)(),f=(0,L.d4)(W.a5),j=(0,eu.s)(null==f?void 0:f.impressionCostEncrypted),[y]=(0,eF.A)(),{data:w,mutate:_}=(0,A.Ay)(a.t3g.liveEvents(t),{revalidateOnFocus:!0,revalidateOnReconnect:!0,onSuccess:e=>{i((0,eh.oU)(e.events)),o(!1)},onError:()=>{o(!1)}}),T=null==w?void 0:w.events;(0,u.Xc)({listType:u.iJ.Live,sport:t,date:(0,s.UG)(new Date),eventsByDateFilter:()=>!0}),(0,b.useEffect)(()=>{if(!y)return eM();let e=y.Topic.events.bySport(t),n=(0,eS.p)("new-live-list-event-listener-".concat(t),e,eM());return y.subscribe(n)},[t,y]),(0,b.useEffect)(()=>{if(!y)return;let e=y.Topic.events.bySport(t),n=(0,eS.p)("new-live-list-event-listener-".concat(t),e,e=>{e["status.type"]===a.XUj.InProgress&&window.setTimeout(()=>{_()},500)});y.subscribe(n)},[T,y,_]);let E=(0,P.e)(async()=>{(0,ec.CH)({location:v.cb.MainList,provider:null==f?void 0:f.provider.slug,value:await j})},{deps:[t]}),R=(0,b.useCallback)(e=>(0,r.jsx)(X.pw,{...e}),[]);if(l||!T)return(0,r.jsx)(el.A,{sport:t});if(T&&!T.length)return(0,r.jsxs)(Q.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)(C.A,{id:"eventList.checkLater"})}),(0,r.jsx)(O.EY,{color:"neutrals.nLv3",textStyle:"body.mediumParagraph",textAlign:"center",children:(0,r.jsx)(C.A,{id:"eventList.meanwhileCheck",values:{link:(0,r.jsx)(O.Mz,{color:"primary.default",onClick:n,children:(0,r.jsx)(C.A,{id:"basic.here"})}),sportName:(0,r.jsx)(k.o,{sportSlug:t,children:e=>(0,r.jsx)("span",{style:{textTransform:"lowercase"},children:e})})}})})]});let M=T.filter(e=>c||!(e.crowdsourcingEnabled||e.isEditor));return(0,r.jsxs)(D.e.Provider,{value:{...p,odds:x},children:[d&&(0,r.jsx)(h.az,{pb:"xs",px:"sm",children:(0,r.jsxs)(h.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)(C.A,{id:"football_toggle_amateur_competitions"})}),(0,r.jsx)(B.lM,{checked:c,onChange:()=>m(e=>!e)})]})}),(0,r.jsx)("div",{ref:x&&Object.keys(x).length>0?E:void 0,children:(0,r.jsx)(ei,{divider:!0,events:M,header:R,onClick:g},t+M.length)})]})},(e,t)=>e.sport===t.sport);var eQ=n(29270);function eP(e){let{filters:t,listType:n,liveCount:s,setLiveCount:a,initialCategory:i,categorySlug:l,initialDate:o}=e,d=(0,_.o)(),c=(0,L.d4)(I.LQ),m={[u.Jx.BASE]:em,[u.Jx.DATE]:em,[u.Jx.CATEGORY]:eg}[n];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(D.e.Provider,{value:{preferTournamentName:!0,showAds:"HR"!==c},children:(0,r.jsxs)(h.so,{direction:"column",gap:{base:"sm",md:"md"},px:{mdDown:"sm"},pt:{mdDown:"sm"},children:[(0,r.jsxs)(M.Zp,{children:[(0,r.jsx)(eR,{...t,liveCount:s,listType:n,categorySlug:l,initialCategoryName:null==i?void 0:i.name}),(0,r.jsx)(h.az,{pt:{mdDown:"sm"},children:t.timeStatus!==u.M_.Live||t.isFavoritesOnly?(0,r.jsx)(m,{sport:d,date:o,initialCategory:i,categorySlug:l,timeStatus:t.timeStatus,gender:t.gender,isFavoritesOnly:t.isFavoritesOnly,setLiveCount:a,competitionLevel:t.competitionLevel}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ez,{sport:d,onEmptyStateClick:()=>{t.onChange({name:"date",value:new Date})},competitionLevel:t.competitionLevel}),(0,r.jsx)(M.Zp.Footer,{})]})})]}),n!==u.Jx.DATE&&(0,r.jsx)(h.az,{display:{base:"block",md:"none"},children:n===u.Jx.BASE?(0,r.jsx)(eQ.a,{}):(0,r.jsx)(eQ._,{category:l,sport:d})}),(0,r.jsx)(S.i,{id:"main.MOBILE_BOTTOM"})]})}),(0,r.jsx)(F.A,{slotId:"main.FLOAT_BANNER"})]})}var eO=n(55575),eB=n.n(eO),eH=n(95669),eN=n.n(eH),eY=n(947),eU=n(50417),eG=n(26331);function eV(e){let{listType:t,sport:n,year:l,date:o,categorySlug:d,currentCalendarDate:c}=e,m=(0,eY.A)(),{meta:x,seoContent:h}=(0,b.useContext)(j.xV),p=(0,eG.A)(),g=(0,b.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,i.z.getTranslatedCanonicalRoute(p,t,e).route},[n,o,d]),v=(0,r.jsx)("title",{children:m.formatMessage({id:m.messages["title.main.".concat(n)]?"title.main.".concat(n):"title.main"},{item:(0,eD.ZH)(m.formatMessage({id:"sport.".concat(n)})),year:l})}),f=(0,r.jsx)("meta",{name:"description",content:m.formatMessage({id:n===a.QCR.Football?"description.main":"description.main.".concat(n),defaultMessage:m.messages["description.main"]})},"description"),y=(0,r.jsx)("meta",{name:"keywords",content:m.formatMessage({id:"keywords.sport"},{item:m.formatMessage({id:"sport.".concat(n)})})});return[u.Jx.BASE,u.Jx.DATE].includes(t)&&(h?(h.title&&(v=(0,r.jsx)("title",{children:eB()(h.title)})),h.description&&(f=(0,r.jsx)("meta",{name:"description",content:h.description},"description"))):x&&(x.title&&(v=(0,r.jsx)("title",{children:eB()(x.title)})),x.description&&(f=(0,r.jsx)("meta",{name:"description",content:x.description},"description")),x.keywords&&(y=(0,r.jsx)("meta",{name:"keywords",content:x.keywords})))),(0,r.jsxs)(eN(),{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(g)}),(0,eU.v)(n,p)&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),v,f,y]})}var eq=n(44909);let eZ=g()(()=>Promise.all([n.e(8446),n.e(3170),n.e(3139),n.e(3329),n.e(5938),n.e(3338),n.e(2905),n.e(574),n.e(3231),n.e(9264),n.e(4985),n.e(1584),n.e(405),n.e(7937),n.e(1043),n.e(894)]).then(n.bind(n,50894)),{loadableGenerated:{webpack:()=>[50894]},loading:()=>(0,r.jsx)(eq.A,{})}),eW=g()(()=>n.e(1188).then(n.bind(n,21188)),{loadableGenerated:{webpack:()=>[21188]},loading:()=>(0,r.jsx)(R.A,{})});function eJ(e){let{listType:t,initialCategory:n,categorySlug:s,sport:a,date:i,meta:l,seoContent:o}=e,d=(0,u.dZ)(e),{liveCount:c,setLiveCount:m}=(0,u._p)(a,d.isFavoritesOnly);return(0,r.jsx)(j.an,{value:{meta:l,seoContent:o},children:(0,r.jsx)(v.Ws.Provider,{value:a,children:(0,r.jsxs)(f.Ay,{children:[(0,r.jsx)(eV,{listType:t,sport:a,year:new Date().getFullYear(),date:i,initialCategory:n,categorySlug:s,currentCalendarDate:d.date}),(0,r.jsx)(eE,{...d,liveCount:c,listType:t}),(0,r.jsx)(E,{category:null!=n?n:s,listType:t}),(0,r.jsxs)(f.xA,{pb:["sm","md"],children:[(0,r.jsx)(f.fv,{grow:3,display:["none","block"],children:(0,r.jsx)(eW,{date:d.date})}),(0,r.jsx)(f.fv,{grow:5,children:(0,r.jsx)(eP,{filters:d,listType:t,liveCount:c,setLiveCount:m,initialCategory:n,categorySlug:s,initialDate:i})}),(0,r.jsx)(f.fv,{grow:4,display:["none","block"],children:(0,r.jsx)(eZ,{date:d.date,listType:t,category:s})})]}),d.areOddsVisible&&(0,r.jsx)(h.az,{px:"sm",pb:"sm",hideBelow:"md",children:(0,r.jsx)(y.T,{})})]})})})}var eK=n(65097);let eX=e=>{let{error:t,...n}=e;return t?(0,r.jsx)(eK.default,{statusCode:t.code}):(0,r.jsx)(eJ,{...n,date:n.date||(0,s.UG)(new Date)})};eX.getInitialProps=x;let e$=eX},51372:(e,t,n)=>{"use strict";n.d(t,{O:()=>x});var r=n(6029),s=n(21377),a=n(76356),i=n(41249),l=n(90248),o=n(41735),d=n(26471),c=n(31112),u=n(26331),m=n(76410);let x=e=>{let{entityId:t,branding:n,children:x,bannerText:h,noLink:p,location:g,...v}=e,f=(0,u.A)(),j=(0,o.useTheme)(),y=(null==h?void 0:h[f.slice(0,2)])||(null==h?void 0:h.en),b=(0,d.A)(()=>{t&&g&&!p&&(0,m.N9)({id:t,location:g,provider:n.brand.slug,type:"stripe"})},{deps:[t,n.brand.slug,g]});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.w,{branding:n,noLink:p,type:"stripe",entityId:t,location:g,children:(0,r.jsxs)(a.so,{ref:b,h:"xl",justify:"center",align:"center",gap:"xs",style:{backgroundColor:n.brand.color[j.name]},...v,children:[(0,r.jsx)(a.so,{justify:"flex-end",flexGrow:1,flexShrink:1,flexBasis:"xl",children:(0,r.jsx)(a.az,{textStyle:"assistive.micro",whiteSpace:"nowrap",style:{color:n.brand.textColor[j.name]},children:(0,r.jsx)(l.A,{id:"powered_by"})})}),(0,r.jsx)(a.so,{justify:"flex-start",flexGrow:1,flexShrink:1,flexBasis:"xl",children:(0,r.jsx)(i._V,{h:16,alt:n.brand.name,src:s.UpI.brandLogo(n.brand.id)})})]})}),y&&(0,r.jsx)(a.az,{pt:"sm",textStyle:"assistive.default",textAlign:"center",color:"neutrals.nLv3",children:y})]})}},51862:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var r=function(e){return e.All="all",e.Teams="teams",e.PlayerTeamPersons="player-team-persons",e.Events="events",e.UniqueTournaments="unique-tournaments",e}({})},54686:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(6029),s=n(18612),a=n(21377),i=n(41249);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}=e;return(0,r.jsx)(i.az,{overflow:"hidden",children:(0,r.jsxs)(s.D,{height:t===a.QCR.Football?3500:1024,uniqueKey:"list-cl",children:[(0,r.jsx)(o,{start:0}),(0,r.jsx)(o,{start:99}),(0,r.jsx)(o,{start:198}),(0,r.jsx)(o,{start:297}),(0,r.jsx)(o,{start:396}),(0,r.jsx)(o,{start:495}),(0,r.jsx)(o,{start:594}),(0,r.jsx)(o,{start:693}),(0,r.jsx)(o,{start:792}),(0,r.jsx)(o,{start:891})]})})}},55575:(e,t,n)=>{var r=n(60567),s=n(27869),a=/&(?:amp|lt|gt|quot|#39);/g,i=RegExp(a.source);e.exports=function(e){return(e=r(e))&&i.test(e)?e.replace(a,s):e}},55803:(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:"- ",marginRight:"sm"},"& + li":{marginTop:"sm"}}}}})},59018:(e,t,n)=>{var r=n(22180);e.exports=function(e){return e&&e.length?r(e):[]}},59364:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(6029),s=n(76356),a=n(494),i=n(10794);let l=["DE","BE","NL","GB","BA","RS","HR","GR","ME","PH","SG","VN","BY","SK","CH","MY","PL","CL","CY","CD","CZ","ZM","MX","EG","RU","KR"];var o=n(14861);function d(e){let{slotId:t}=e,n=(0,a.d4)(i.LQ);return!n||l.includes(n)?null:(0,r.jsx)(s.az,{position:"fixed",overflowY:"visible",zIndex:"fixed",bottom:"0",style:{minHeight:82,width:540},children:(0,r.jsx)(o.i,{id:t,borderless:!0})})}},59754:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,Z:()=>i});var r=n(494),s=n(151);let a=(e,t,n)=>{var r,s,a;let i=null==(r=e.tournament.uniqueTournament)?void 0:r.id;if(i&&(null==n||null==(a=n.uniqueTournaments)||null==(s=a[i])?void 0:s[t]))return null==n?void 0:n.uniqueTournaments[i]},i=(e,t)=>a(e,t,(0,r.d4)(s.g))},65097:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(6029),s=n(14092),a=n(41249),i=n(95669),l=n.n(i),o=n(947),d=n(90248),c=n(54409),u=n(76868),m=n(29129),x=n(70591);function h(e){let{statusCode:t}=e;s.O({statusCode:t});let n=(0,o.A)().formatMessage({id:404===t?"error.pageNotFound":"error.anErrorOccurred"});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l(),{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.Ay,{children:(0,r.jsx)(m.xA,{children:(0,r.jsx)(m.fv,{textAlign:"center",my:"xxl",noDividers:!0,children:(0,r.jsxs)(u.p,{graphic:"no-connection",children:[(0,r.jsx)(a.EY,{font:"display.extraLarge",color:"onSurface.nLv3",align:"center",as:"h1",mt:"28px",mb:"xxs",children:t}),(0,r.jsx)(a.EY,{font:"display.medium",color:"onSurface.nLv3",align:"center",as:"h3",children:(0,r.jsx)(d.A,{id:"error.anErrorOccurred"})}),(0,r.jsx)(a.EY,{align:"center",mb:"xxl",as:"div",children:404===t?(0,r.jsx)(d.A,{id:"error.pageCannotBeFound"}):(0,r.jsx)(d.A,{id:"error.somethingWrongWithPage"})}),(0,r.jsx)(x.N_,{routeKey:"home",children:(0,r.jsxs)(a.$n,{children:[(0,r.jsx)(c.pa2,{mt:"-3px"})," ",(0,r.jsx)(d.A,{id:"error.backToSofascore"})]})})]})})})})})]})}h.getInitialProps=async e=>{await s.O(e);let{res:t,err:n}=e;return{statusCode:t?t.statusCode:n?n.statusCode:null}}},68385:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/eventList",function(){return n(49367)}])},70917:(e,t,n)=>{var r=n(74283),s=n(87567);e.exports=function(e){return null==e?[]:r(e,s(e))}},71507:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(6029),s=n(76356),a=n(65789),i=n(87590),l=n(21377),o=n(69559);let d={[l.QCR.Football]:2,[l.QCR.Tennis]:2,[l.QCR.Rugby]:1};function c(){let e=d[(0,o.o)()];return e?(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.Zp.Header,{titleId:"rankings"}),(0,r.jsx)(s.az,{pt:"sm",pb:"lg",children:(0,r.jsx)(s.az,{style:{height:32*e}})})]}):null}var u=n(97438);let m=()=>(0,r.jsx)(s.az,{hideBelow:"lg",children:(0,r.jsx)(a.Zp,{children:(0,r.jsx)(s.az,{h:"[644px]"})})});function x(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.A,{}),(0,r.jsx)(m,{}),(0,r.jsx)(c,{}),(0,r.jsx)(i.A,{})]})}},73045:(e,t,n)=>{"use strict";n.d(t,{e:()=>s.e,l:()=>r.l});var r=n(37721),s=n(33480)},74283:(e,t,n)=>{var r=n(88601);e.exports=function(e,t){return r(t,function(t){return e[t]})}},77988:(e,t,n)=>{"use strict";n.d(t,{A:()=>p,g:()=>h});var r=n(6029),s=n(41249),a=n(90248),i=n(494),l=n(2294),o=n(10794);let d={AU:"www.gamblinghelponline.org.au",BG:"nss-bg.org/hi-kodeks",GB:"www.begambleaware.org",NL:"hands24x7.nl"},c={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."},u={BE:21,GR:21,CA:19};function m(){let e=(0,i.d4)(l.a5);return(null==e?void 0:e.oddsMayDiffer)?(0,r.jsxs)("span",{children:[(0,r.jsx)("br",{}),(0,r.jsx)(a.A,{id:"disclaimer_odds_may_differ"})]}):null}function x(e){let{standalone:t}=e,n=(0,i.d4)(o.LQ),s=n&&d[n];return s?(0,r.jsxs)("span",{children:[t?"":", ",(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})]}):null}let h=e=>e&&u[e.toUpperCase()]?u[e.toUpperCase()]:18;function p(e){let t,n=(0,i.d4)(o.LQ),l=(0,i.d4)(o.zj);return n&&l?t=c["".concat(n,"-").concat(l)]||c[n]:n&&(t=c[n]),(0,r.jsxs)(s.EY,{font:"assistive.micro",color:"onSurface.nLv3",pr:"sm","data-qa-id":"gamble-responsibly",...e,children:[t?(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}):(0,r.jsx)(a.A,{id:"gamble_responsibly",values:{age:h(n)}}),(0,r.jsx)(x,{}),(0,r.jsx)(m,{})]})}},78492:(e,t,n)=>{var r=n(50956);e.exports=function(e,t,n,s){return r(e,function(e,r,a){t(s,e,n(e),a)}),s}},79041:(e,t,n)=>{"use strict";n.d(t,{k:()=>d});var r=n(6029),s=n(21377),a=n(90248),i=n(45860),l=n(39419);let o=()=>{var e;let{data:t}=(0,i.Ay)(s.rGM.activeLeagueDetails());if(!(null==t?void 0:t.meta))return;let n=new Date().getTime(),r=(null==(e=t.meta)?void 0:e.endDateTimestamp)*1e3;return{hasEnded:r{let{font:t,color:n}=e,s=o();return s?(0,r.jsxs)(r.Fragment,{children:[s.hasEnded?(0,r.jsx)(a.A,{id:"next_weekly_challenge"}):(0,r.jsx)(a.A,{id:"weekly_challenge_time_left"}),": ",(0,r.jsx)(l.M,{hasChallengeEnded:s.hasEnded,challengeEndTime:s.endTimestamp,font:t||"body.small",color:n||"onColor.primary"})]}):(0,r.jsx)(r.Fragment,{children:"\xa0"})}},79860:(e,t,n)=>{var r=n(31736),s=n(78383),a=n(48546);e.exports=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:s},80435:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6029),s=n(76356),a=n(494),i=n(65789),l=n(2294);function o(){return(0,a.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)(s.az,{h:"[320px]"})]})}},81648:e=>{e.exports=function(e,t,n,r){for(var s=-1,a=null==e?0:e.length;++s{"use strict";n.d(t,{A:()=>u});var r=n(6029),s=n(21377),a=n(76356),i=n(65789),l=n(23727),o=n(69559),d=n(31799);let c={[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 u(){let e=(0,o.o)(),t=c[e];return t?(0,r.jsxs)(i.Zp,{children:[(0,r.jsx)(i.Zp.Header,{titleId:d.uD[e]||d.uD.default}),t>20&&(0,r.jsx)(a.az,{h:"[58px]"}),(0,r.jsx)(a.az,{style:{height:32*Math.min(t,20)}}),(0,r.jsx)(i.Zp.Footer,{ctaParams:t>20&&{messageId:"show_more",icon:l.X.Down,onClick:()=>{}}})]}):null}},90510:(e,t,n)=>{"use strict";n.d(t,{XU:()=>u,Gr:()=>x,ib:()=>m});var r,s,a=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"}(s||(s={}));var o=function(e){var t=(0,l.A)(),n=e.value,r=e.children,s=(0,a.Tt)(e,["value","children"]);return r(t.formatNumberToParts(n,s))};function d(e){var t=function(t){var n=(0,l.A)(),r=t.value,s=t.children,i=(0,a.Tt)(t,["value","children"]),o="string"==typeof r?new Date(r||0):r;return s("formatDate"===e?n.formatDateToParts(o,i):n.formatTimeToParts(o,i))};return t.displayName=s[e],t}function c(e){var t=function(t){var n=(0,l.A)(),r=t.value,s=t.children,o=(0,a.Tt)(t,["value","children"]),d=n[e](r,o);if("function"==typeof s)return s(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"),m=c("formatTime"),x=c("formatNumber");c("formatList"),c("formatDisplayName"),d("formatDate"),d("formatTime")},94910:(e,t,n)=>{"use strict";n.d(t,{M:()=>c});var r=n(6029),s=n(95083),a=n(76356),i=n(90248),l=n(54409),o=n(76410),d=n(11628);let c=e=>{let{searchEntity:t,spread:n}=e,{isMobile:c}=(0,s.$c)();return(0,r.jsxs)(a.so,{direction:"column",onClick:()=>{if(sessionStorage.setItem(d.V,t),c){let e=document.getElementById("search-trigger-button");e&&e.click()}else{let e=document.getElementById("search-input");e&&e.focus()}(0,o.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)(l.xZp,{fill:"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)(i.A,{id:"add"})})]})}},96003:(e,t,n)=>{"use strict";n.d(t,{J:()=>r,x:()=>s});let r="bonus-odds-cta-seen",s="bet-boost-cta-seen"},96470:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s,j:()=>a});var r=n(4967);function s(e,t,n,r){let s=e>0?r.slice(0,e).map(e=>e.id):[],a=t>0?r.slice(e,e+t).map(e=>e.id):[];return{userIds:{promoted:s,demoted:r.length>e+t&&n>0?r.slice(-r.length+e+t).map(e=>e.id):[],neutral:a}}}function a(e,t,n){let{days:s,hours:a,minutes:i,seconds:l}=(0,r.DU)(e,t),o=s>0?s+n.formatMessage({id:"days_short"}):"",d=a>0?a+n.formatMessage({id:"hours_short"}):"";return[o,d,(a>0||i>0)&&!s?i+n.formatMessage({id:"minutes_short"}):"",(i>0||l>0)&&!s&&!a?l+n.formatMessage({id:"seconds_short"}):""].filter(Boolean).join(" ")}},96913:(e,t,n)=>{"use strict";n.d(t,{m:()=>h.m,A:()=>x});var r=n(6029),s=n(95083),a=n(41249),i=n(78383),l=n.n(i),o=n(55729),d=n(90248),c=n(12047),u=n(28171);let m=(e,t)=>{let n=(0,o.useState)(e);return t||n};function x(e){let{id:t,location:n,initialTabKey:i,onChange:x=l(),tabs:h,children:p,customControls:g,noSportMenu:v,eventStatusType:f,seasonId:j,isInWidget:y}=e,b=(0,o.useRef)(null),{isMobile:C}=(0,s.$c)(),[A,w]=m(i,g),{logTabChange:_}=(0,u.A)(),T=(0,c.Ay)({isSportMenuVisible:!v,isInMobileTabs:!1});return(0,o.useEffect)(()=>{A!==i&&w(i)},[t,n,j]),(0,r.jsx)(a.tU,{onChange:e=>{A!==e&&(w(e),x(e),y||window.scrollTo({left:0,top:0}))},initialValue:i||A,value:A,variant:"primary",fullWidthTabs:C||y,children:(0,r.jsxs)(a.az,{d:"inline",style:{verticalAlign:"top"},ref:b,children:[(0,r.jsx)(a.PI,{isStickingDisabled:y||!C,bg:["surface.s1","transparent"],borderBottom:["effect.elevation1",void 0],top:T,children:(0,r.jsx)(a.tU.List,{underline:!0,scroll:!0,children:h.filter(e=>!e.isHidden).map(e=>(0,r.jsx)(a.tU.Tab,{tabKey:e.tabKey,style:{marginLeft:0},as:"h2",onClick:r=>r.nativeEvent.isTrusted&&e.tabKey!==A?_({type:e.tabKey,id:t,location:n,status:f}):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)(d.A,{id:e.item,values:e.values}):e.item})},"".concat(t,"-").concat(e.tabKey)))})}),(0,r.jsx)(a.az,{children:p})]})},t)}var h=n(28132)},97438:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(6029),s=n(21377),a=n(76356),i=n(65789),l=n(23727),o=n(69559),d=n(31799);let c={[s.QCR.Football]:6,[s.QCR.Basketball]:6,[s.QCR.IceHockey]:6,[s.QCR.Handball]:6,[s.QCR.Volleyball]:6,[s.QCR.Baseball]:3,[s.QCR.Cricket]:6,[s.QCR.Rugby]:5,[s.QCR.Darts]:1,[s.QCR.Futsal]:4,[s.QCR.Waterpolo]:2};function u(){let e=(0,o.o)(),t=c[e];return t?(0,r.jsxs)(i.Zp,{children:[(0,r.jsx)(i.Zp.Header,{titleId:d.it[e]||d.it.default}),(0,r.jsx)(a.az,{py:"sm",children:(0,r.jsx)(a.az,{style:{height:40*Math.min(t,5)}})}),(0,r.jsx)(i.Zp.Footer,{ctaParams:t>5&&{messageId:"show_more",icon:l.X.Down,onClick:()=>{}}})]}):null}},98095:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(4967),s=n(45860);let a=e=>fetch(e,{method:"HEAD",cache:"no-store"});function i(){let{data:e,error:t,isLoading:n}=(0,s.Ay)("https://cdn.adapex.io/hb/aaw.sofascore.js",{fetcher:a,dedupingInterval:r.d_});return{isLoading:n,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}}},e=>{var t=t=>e(e.s=t);e.O(0,[4092,395,756,3797,2062,1105,3752,364,9347,1254,7545,7229,636,6593,8792],()=>t(68385)),_N_E=e.O()}]);