!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]="148be42d-aeff-4086-a28d-85798944cfc6",e._sentryDebugIdIdentifier="sentry-dbid-148be42d-aeff-4086-a28d-85798944cfc6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2405],{2405:(e,t,l)=>{l.r(t),l.d(t,{default:()=>eN});var i=l(6029),r=l(46787),n=l(22375),s=l(10174),a=l(19621),o=l(76356),d=l(71024),c=l.n(d),x=l(55729),u=l(494),h=l(46222),m=l(74664),f=l(55152),p=l(67087),j=l(41735),g=l(45860),v=l(69352);let y=Object.assign(e=>{let{activeIndex:t,setActiveIndex:l,children:r,showControls:n=!0,autoScrollDelay:a}=e,{textDirection:d}=(0,s.$c)(),c=x.Children.toArray(r),u=c.length,h=(0,x.useRef)(null),m=()=>{l(t{p(),a&&u>1&&(h.current=setTimeout(()=>{m()},a))};(0,x.useEffect)(()=>(f(),()=>{h.current&&clearTimeout(h.current)}),[t,a,u]),(0,x.useEffect)(()=>{void 0===a?p():f()},[a]);let p=()=>{h.current&&clearTimeout(h.current)};return 0===u?null:(0,i.jsxs)(o.az,{onMouseEnter:a?p:void 0,onMouseLeave:a?f:void 0,children:[(0,i.jsx)(o.az,{position:"relative",overflow:"hidden",w:"100%",boxSizing:"content-box",p:"xs",m:"-xs",children:(0,i.jsx)(o.so,{w:"100%",gap:"lg",transitionProperty:"transform",transitionDuration:"normal",transitionTimingFunction:"ease-in-out",style:{transform:"rtl"===d?"translateX(calc(".concat(100*t,"% + ").concat(16*t,"px))"):"translateX(calc(-".concat(100*t,"% - ").concat(16*t,"px))")},children:c})}),n&&(0,i.jsx)(v.M,{activeIndex:t,setActiveIndex:l,goToNext:m,goToPrevious:()=>{l(t>0?t-1:u-1),p()},slideCount:u,onPageClick:p})]})},{Slide:e=>{let{children:t}=e;return(0,i.jsx)(o.az,{w:"100%",minW:"100%",flexShrink:"0",children:t})}});var w=l(68789),b=l(37455),F=l(60682),A=l(72753),k=l(40148),C=l(73045),O=l(18970),S=l(83035),D=l(49938),T=l(64006),E=l(82827),I=l(54820),L=l(42625),W=l(30774),z=l(91647),_=l(95084);function B(e,t,l){try{let i=JSON.parse(sessionStorage.getItem(t)||"[]")||[];(null==i?void 0:i.includes(e))||(i.push(e),(0,_.ke)({action:l,location:"main_page",type:"featured_match"}),sessionStorage.setItem(t,JSON.stringify(i)))}catch(e){console.error(e)}}let M={popularityWeight:.5,teamLocaleWeight:1,tournamentLocaleWeight:.1,timeWeight:.2,timeWindowSeconds:259200};var V=l(13731),N=l.n(V);let Y=(e,t)=>e.startTimestamp-t.startTimestamp;function P(e,t){let l=e.reduce((e,t)=>{var l,i,r,n;return Math.max(e,(null!=(r=null==(l=t.homeTeam)?void 0:l.userCount)?r:0)+(null!=(n=null==(i=t.awayTeam)?void 0:i.userCount)?n:0))},0);return[...e].map(e=>({event:e,score:function(e,t){var l,i,r,n,s,a,o,d,c,x,u,h;let{config:m,locale:f,maxPopularity:p,nowTimestamp:j,enableLocale:g}=t,v=null!=j?j:Math.floor(Date.now()/1e3),y=(null!=(x=null==(l=e.homeTeam)?void 0:l.userCount)?x:0)+(null!=(u=null==(i=e.awayTeam)?void 0:i.userCount)?u:0),w=(null!=f?f:"").toUpperCase(),b=g?Number((null==(n=e.homeTeam)||null==(r=n.country)?void 0:r.alpha2)===w||(null==(a=e.awayTeam)||null==(s=a.country)?void 0:s.alpha2)===w):0,F=g?Number((null==(c=e.tournament)||null==(d=c.category)||null==(o=d.country)?void 0:o.alpha2)===w):0,A=(null!=(h=e.startTimestamp)?h:v)-v,k=Math.max(0,Math.min(1,1-A/m.timeWindowSeconds));return m.popularityWeight*(p>0?y/p:0)+m.teamLocaleWeight*b+m.tournamentLocaleWeight*F+m.timeWeight*(A<=0?1:k)}(e,{...t,maxPopularity:l})})).sort((e,t)=>t.score-e.score).map(e=>e.event)}var G=l(78383),R=l.n(G);let Z=(0,x.createContext)({isPaused:!1,setIsPaused:R()}),U=()=>(0,x.useContext)(Z);function X(e){let{children:t}=e,[l,r]=(0,x.useState)(!1);return(0,i.jsx)(Z,{value:{isPaused:l,setIsPaused:r},children:t})}function $(e){var t,l;let{event:r}=e,n=(0,W.w)(r.tournament),a=(0,z.N)(r.tournament.uniqueTournament);return(0,i.jsx)(T.Mq,{tournament:r.tournament,seasonId:null==(t=r.season)?void 0:t.id,className:"group",children:(0,i.jsxs)(o.so,{gap:"lg",align:"center",px:"sm",pt:"sm",children:[(0,i.jsx)(C.e,{id:null==(l=r.tournament.uniqueTournament)?void 0:l.id,alt:a,size:24,fallback:(0,i.jsx)(C.l,{id:r.tournament.id,alt:n,size:24})}),(0,i.jsx)(s.EY,{textStyle:"assistive.default",_groupHover:{color:"primary.default",textDecoration:"underline"},truncate:!0,children:null!=a?a:n})]})})}function Q(e){let{event:t,onEventClick:l,areAdditionalOddsExpanded:n,setAreAdditionalOddsExpanded:s}=e,{event:a,leftTeam:d,rightTeam:c,leftScore:x,rightScore:m}=(0,p.mJ)(t.id,{shouldRefresh:!0}),{setIsPaused:f}=U(),j={...t,...a},g=(0,u.d4)((0,b.Ul)(j)),v=(0,u.d4)(b.fq),y=(0,u.d4)(b.BF),w=j.status.type===r.XUj.InProgress;return(0,i.jsxs)(o.BJ,{gap:"lg",h:"100%",p:"sm",children:[(0,i.jsx)($,{event:j}),(0,i.jsxs)(O.y$,{value:{event:j,leftTeam:d,rightTeam:c,leftScore:x,rightScore:m,location:O.cb.FeaturedMatch},children:[a?(0,i.jsx)(h.WC,{variant:"square",children:(0,i.jsx)(S.A,{hideTitle:!0,hasCta:!1,event:j,onClick:()=>l(j)})}):(0,i.jsx)(D.o,{hideTitle:!0,showCta:!1}),(0,i.jsx)(L.ZB,{event:j,onChangeVoteModalOpen:()=>f(!0),onChangeVoteModalClose:()=>f(!1)}),!y&&(g||v)&&(0,i.jsx)(i.Fragment,{children:v?(0,i.jsx)(I.A,{eventId:j.id,isLive:w,isNewOddsComparisonPreview:!0}):(0,i.jsx)(E.jO,{eventId:j.id,isLive:w,areAdditionalOddsExpanded:n,setAreAdditionalOddsExpanded:s})})]})]})}let H=7*n.Z2,J=()=>{let{isPaused:e}=U(),t=(0,u.d4)(b.zV),l=(0,w.Ae)(),[n]=(0,F.Z)(l),s=(0,u.d4)(A.hT)||r.QCR.Football,[a,d]=(0,x.useState)(0),c=(0,u.d4)(A.LQ),[m,f]=(0,x.useState)(!1),{data:p,isLoading:j}=(0,g.Ay)(n?r.npy.featuredEventsByPopularity(n,s):null),v=(0,x.useMemo)(()=>{var e;return function(e,t,l){let i=P(e,{config:t,locale:l,enableLocale:!!l});return Object.values(N()(i.slice(0,5).sort(Y),e=>new Date(1e3*e.startTimestamp).toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"2-digit",timeZone:"UTC"}))).map(e=>P(e,{config:M,locale:l,enableLocale:!!l})).flat().sort(Y)}((null==p||null==(e=p.featuredEvents)?void 0:e.filter(e=>!t||e.status.type!==r.XUj.InProgress))||[],M,c)},[null==p?void 0:p.featuredEvents,t,c]);(0,x.useEffect)(()=>{d(0)},[s,c]),(0,x.useEffect)(()=>{v.forEach(e=>{B(e.id,"main.page.interacted.featured.events","impression")})},[v]);let C=e=>{B(e.id,"main.page.clicked.featured.events","click")};return j?(0,i.jsx)(k.d,{}):p&&0===v.length?null:(0,i.jsx)(o.az,{children:(0,i.jsx)(y,{autoScrollDelay:e?void 0:H,activeIndex:a,setActiveIndex:d,showControls:v.length>1,children:v.map(e=>(0,i.jsx)(y.Slide,{children:(0,i.jsx)(K,{direction:"column",h:"100%",children:(0,i.jsx)(h.Zp,{children:(0,i.jsx)(Q,{event:e,onEventClick:C,areAdditionalOddsExpanded:m,setAreAdditionalOddsExpanded:f})})})},e.id))})})};function q(){return(0,i.jsx)(X,{children:(0,i.jsx)(J,{})})}var K=(0,j.default)(o.so).withConfig({componentId:"sc-72ca9ff0-0"})({"& > div":{flex:"1"}}),ee=l(25479),et=l(18153),el=l(54365),ei=l(71689),er=l(69704),en=l(90248),es=l(90510),ea=l(41164),eo=l(88505);let ed=()=>{let{event:e,leftTeam:t,rightTeam:l}=(0,x.useContext)(O.y$),n=(0,ea.c5)(e),s=(0,p.g3)(),a=(0,i.jsx)(eo.Rm,{team:t,short:n===r.QCR.Tennis}),o=(0,i.jsx)(eo.Rm,{team:l,short:n===r.QCR.Tennis}),d="ar"===(0,u.d4)(A.JV);return(0,i.jsxs)(i.Fragment,{children:[d?o:a," ",n===r.QCR.MMA?"vs":d?"ضد":s?"@":"-"," ",d?a:o]})};var ec=l(88196),ex=l(79375),eu=l(73364),eh=l(21287),em=l(74207),ef=l(64046),ep=l(8785),ej=l(53148),eg=l(18862);let ev=e=>{let{choice:t,isLive:l,branded:r,betSlipLink:n,isComparison:a,onClick:d}=e,c=n&&r,x="fractional"===(0,u.d4)(b.$4),h=x?eg.Y:void 0,m=(0,i.jsxs)(o.so,{position:"relative",justify:"center",align:"center",bg:"surface.s2",br:"xs",border:a&&l?"1px solid {colors.status.val}":"1px solid {colors.neutrals.nLv4}",minW:a?"4xl":"[52px]",h:a?"xl":"[28px]",my:"xs",flexShrink:0,flexGrow:a?1:void 0,children:[(0,i.jsx)(s.EY,{textStyle:"display.micro",color:l?"status.val":"neutrals.nLv1",mr:0===t.change?void 0:"2xs",textAlign:"center",style:{fontSize:x?14:void 0,letterSpacing:x?"-1px":void 0},lineHeight:1,children:(0,i.jsx)(eg.c,{fractionalValue:t.fractionalValue,children:h})}),(0,i.jsx)(ej.I,{change:t.change})]});return c&&(m=(0,i.jsx)(s.Mz,{target:c?"_blank":void 0,rel:c?"nofollow noopener noreferrer":void 0,href:c?n:void 0,onClick:e=>{e.stopPropagation(),null==d||d()},flexGrow:a?1:void 0,flexBasis:a?"4xl":void 0,children:m})),m},ey=()=>(0,i.jsx)(o.az,{flexBasis:"4xl",minW:"4xl",h:"xl",flexGrow:1}),ew=e=>{let{event:t,cop:l,markets:r,choiceNames:n}=e,s=r.map(e=>e.choices).flat(),a=n.map(e=>s.find(t=>t.name===e));return(0,i.jsxs)(o.so,{p:"sm",gap:"xl",justify:"space-between",borderTop:"1px solid {colors.neutrals.nLv4}",align:"center",children:[(0,i.jsx)(em.r,{selectedProvider:l,size:"64x24"}),(0,i.jsx)(o.so,{justify:"space-between",align:"center",gap:"sm",flexGrow:1,children:n.map((e,n)=>{let s=a[n],o=r.find(t=>t.choices.find(t=>t.name===e));return s&&o?(0,i.jsx)(ev,{choice:s,betSlipLink:l&&(0,ep.Iz)(s,o,l),branded:null==l?void 0:l.branded,isLive:o.isLive,isComparison:!0,onClick:()=>(0,_.Fe)({id:t.id,category:o.marketName,location:O.cb.FeaturedOdds,provider:null==l?void 0:l.provider.slug,position:ef.ki.OddsValue,type:ef.jF.Featured})},"".concat(e,"-").concat(o.id)):(0,i.jsx)(ey,{},e)})})]})},eb=e=>{let{event:t}=e;return t.status.type===r.XUj.InProgress?(0,i.jsxs)(o.so,{h:"100%",align:"center",gap:"xs",children:[(0,i.jsx)(o.az,{h:"sm",w:"sm",br:"50%",bg:"status.live"}),(0,i.jsx)(s.EY,{h:"lg",lineHeight:"[16px]",textStyle:"body.small",color:"status.live",children:(0,i.jsx)(en.A,{id:"live"})})]}):(0,i.jsx)(s.EY,{h:"lg",textStyle:"body.small",children:(0,n.cK)(t.startTimestamp)?(0,i.jsx)(es.ib,{value:1e3*t.startTimestamp}):(0,i.jsx)(es.XU,{value:1e3*t.startTimestamp,...n.or.dateTime})})},eF=e=>{let{leftTeam:t,rightTeam:l,leftScore:n,rightScore:a}=(0,p.AR)(e.event),{event:d}=(0,p.mJ)(e.event.id),c=d||e.event,x=c.status.type===r.XUj.InProgress,h=(0,u.d4)(b.hB),{odds:m,markets:f,choiceNames:j,error:g}=(0,eu.B)(h||[],e.event.id,x);return!g&&(null==f?void 0:f.length)&&m&&(null==j?void 0:j.length)!==0?(0,i.jsxs)(O.y$,{value:{event:c,leftTeam:t,rightTeam:l,leftScore:n,rightScore:a,location:O.cb.FeaturedOdds},children:[(0,i.jsx)(ec.A,{event:c,children:(0,i.jsxs)(o.so,{pt:"lg",pb:"sm",px:"lg",justify:"space-between",children:[(0,i.jsx)(s.EY,{textStyle:"display.small",truncate:!0,children:(0,i.jsx)(ed,{})}),(0,i.jsx)(eb,{event:c})]})}),(0,i.jsxs)(o.so,{justify:"flex-end",gap:"xl",p:"sm",children:[(0,i.jsx)(o.az,{w:"6xl"}),(0,i.jsx)(o.so,{flexGrow:1,gap:"sm",children:j.map(e=>(0,i.jsx)(o.az,{minW:"4xl",flexGrow:1,textAlign:"center",color:"neutrals.nLv3",textStyle:"display.micro",children:e},e))})]}),null==h?void 0:h.map((e,t)=>{let l=m[t];return(null==l?void 0:l.length)?(0,i.jsx)(ew,{event:c,cop:e,choiceNames:j,markets:m[t]||[]},e.provider.id):null})]}):null},eA=()=>{let e=(0,u.d4)(b.hB),[t]=(0,F.Z)(null==e?void 0:e[0]),l=(0,u.d4)(A.hT),{featuredEvents:r,error:n}=(0,er.HD)(l,t);return!n&&(null==r?void 0:r.length)?(0,i.jsxs)(h.Zp,{children:[(0,i.jsx)(h.Zp.Header,{titleId:"featured_odds",actionComponent:(0,i.jsx)(eh.V,{}),variant:"left-aligned"}),r.slice(0,2).map(e=>(0,i.jsx)(eF,{event:e},e.id)),(0,i.jsx)(o.so,{borderTop:"1px solid {colors.neutrals.nLv4}",py:"lg",justify:"center",children:(0,i.jsx)(ex.A,{provider:null==e?void 0:e[0]})})]}):null};var ek=l(95816),eC=l.n(ek),eO=l(16503),eS=l(4790),eD=l(52466);let eT=e=>{let{countryOddsProvider:t}=e,l=null==t?void 0:t.branded,r=(0,u.d4)(A.LQ);return l?(0,i.jsx)(s.Mz,{target:"_blank",rel:"nofollow noreferrer",href:(null==t?void 0:t.defaultBetSlipLink)||(null==t?void 0:t.provider.defaultBetSlipLink),onClick:()=>(0,_.Fe)({location:O.cb.FeaturedOdds,provider:null==t?void 0:t.provider.slug,position:ef.ki.BookmakerButton}),children:(0,i.jsx)(s.$n,{variant:"clear",size:"tertiary",children:(0,i.jsxs)(o.so,{align:"center",gap:"xs",children:[(0,i.jsx)(s.EY,{textStyle:"display.small",color:"primary.default",textWrap:"nowrap",children:(0,i.jsx)(en.A,{id:"bet_now".concat("GR"===r?"_age":""),values:{age:21}})}),(0,i.jsx)(eD.CCT,{fill:"primary.default"})]})})}):null},eE=e=>{let{length:t=3}=e;return(0,i.jsx)(i.Fragment,{children:Array.from({length:t}).map((e,t)=>(0,i.jsx)(o.az,{w:"[52px]",flexGrow:0,flexShrink:0,flexBasis:"[52px]"},t))})},eI=e=>{var t;let{event:l,markets:n,marketChoiceNames:a,hasManyMarkets:d}=e,c=l.status.type===r.XUj.InProgress,u=(0,w.Ae)(),{leftTeam:h,rightTeam:m}=(0,p.AR)(l),f=(0,p.g3)(l),{mediaBreakpoint:j}=(0,s.$c)(),g=er.Yt[j]||er.Yt.default;if(!n)return null;let v=n.filter(e=>g.includes(e.marketId)),y=v.filter(e=>e.isLive===c),b=v.filter(e=>e.isLive===c||!y.find(t=>t.marketId===e.marketId));return(0,i.jsxs)(o.so,{align:"center",py:"xs",borderBottom:"1px solid {colors.neutrals.nLv4}",gap:"xs",children:[(0,i.jsx)(o.az,{flexGrow:1,flexShrink:1,flexBasis:"[100px]",overflow:"hidden",maxW:"100%",children:(0,i.jsx)(T.tj,{event:l,children:(0,i.jsxs)(o.so,{align:"center",gap:"xs",br:"xs",children:[(0,i.jsx)(o.az,{flexGrow:0,flexShrink:1,flexBasis:"[36px]",children:(0,i.jsx)(s.EY,{textStyle:"body.small",mr:"xs",w:"2xl",textAlign:"center",display:"block",color:c?"status.live":"neutrals.nLv1",children:c?(0,i.jsx)(en.A,{id:"live"}):(0,i.jsx)(es.ib,{value:1e3*l.startTimestamp})})}),(0,i.jsx)(o.az,{w:"[1px]",h:"[36px]",bg:"neutrals.nLv4"}),(0,i.jsxs)(o.so,{direction:"column",flexGrow:1,flexShrink:1,flexBasis:"6xl",overflow:"hidden",children:[(0,i.jsx)(s.Ym,{maxW:"100%",textStyle:"body.small",truncate:!0,children:d&&h.nameCode?h.nameCode:(0,i.jsx)(eo.Rm,{team:h,short:!0})}),(0,i.jsx)(s.Ym,{maxW:"100%",textStyle:"body.small",truncate:!0,children:d&&m.nameCode?m.nameCode:(0,i.jsx)(eo.Rm,{team:m,short:!0})})]})]})})}),b.map(e=>{if(g.includes(e.marketId)){let t=[...a[e.marketId]||[]],r=(0,ep.nu)(e.choices,f);return t.length?(0,i.jsx)(x.Fragment,{children:t.map(t=>{let n=r.find(e=>e.name===t);return n?(0,i.jsx)(ev,{choice:n,betSlipLink:u&&(0,ep.Iz)(n,e,u),branded:null==u?void 0:u.branded,isLive:e.isLive,onClick:()=>(0,_.Fe)({id:l.id,category:e.marketName,location:O.cb.FeaturedOdds,provider:null==u?void 0:u.provider.slug,position:ef.ki.OddsValue,type:ef.jF.Featured})},"".concat(t,"-").concat(e.id)):(0,i.jsx)(o.az,{w:"[52px]",flexGrow:0,flexShrink:0,flexBasis:"[52px]"},"".concat(t,"-").concat(e.id))})},e.id):(0,i.jsx)(eE,{},"empty")}return null}),-1===n.findIndex(e=>2===e.marketId)&&!!a[2]&&(0,i.jsx)(eE,{length:null==(t=a[2])?void 0:t.size})]})};var eL=l(61924);let eW=()=>{let e=(0,w.Ae)(),t=(0,eS.s)(null==e?void 0:e.impressionCostEncrypted),[l]=(0,F.Z)(e),n=(0,u.d4)(A.hT),{mediaBreakpoint:a}=(0,s.$c)(),d=(0,eO.e)(async()=>{(0,_.CH)({provider:null==e?void 0:e.provider.slug,location:O.cb.FeaturedOdds,value:await t})},{intersectionOptions:{rootMargin:"-20px"},deps:[n]}),{featuredEvents:c,error:x}=(0,er.HD)(n,l),{data:m,error:f}=(0,g.Ay)((null==c?void 0:c.length)&&l?[l,c.map(e=>e.id),"FEATURED_ODDS"]:null,{fetcher:e=>{let[t,l]=e;return Promise.all(l.map(e=>r.nk6.fetchAllEventOdds(e,t)))},refreshInterval:2e4}),p=er.Yt[a]||er.Yt.default,j=null==m?void 0:m.reduce((e,t)=>{var l;return null==(l=t.markets)||l.forEach(t=>{p.includes(t.marketId)&&t.choices.every(e=>er.Vj.includes(e.name))&&(e[t.marketId]?t.choices.forEach(l=>e[t.marketId].add(l.name)):e[t.marketId]=new Set(t.choices.map(e=>e.name)))}),e},{});if(x||f||!e||!(null==c?void 0:c.length))return null;if(!c||!m)return(0,i.jsx)(eL.A,{});if(eC()(j))return null;let v=0;return p.forEach(e=>j[e]&&[...j[e]].forEach(()=>v+=1)),(0,i.jsxs)(h.Zp,{children:[(0,i.jsx)(h.Zp.Header,{titleId:"featured_odds",actionComponent:(0,i.jsx)(eT,{countryOddsProvider:e}),variant:"left-aligned"}),(0,i.jsxs)(o.az,{position:"relative",children:[(0,i.jsxs)(o.az,{px:"sm",children:[(0,i.jsx)(o.so,{align:"flex-end",justify:"flex-end",borderBottom:"1px solid {colors.neutrals.nLv4}",pb:"xs",gap:"xs",h:"2xl",mt:"md",children:p.map(e=>j[e]&&[...j[e]].map(e=>(0,i.jsx)(s.EY,{display:"block",textStyle:"assistive.default",w:"[52px]",textAlign:"center",color:"neutrals.nLv3",style:{flex:"0 0 52px"},children:e},e)))}),(0,i.jsx)("div",{ref:d,children:c.map((e,t)=>(0,i.jsx)(eI,{event:e,markets:m[t].markets,marketChoiceNames:j,hasManyMarkets:v>5},e.id))})]}),(0,i.jsx)(O.y$,{value:{location:O.cb.FeaturedOdds},children:(0,i.jsxs)(o.so,{justify:"space-between",align:"center",px:"lg",pt:"sm",pb:"lg",children:[(0,i.jsx)(ex.A,{provider:e}),(0,i.jsx)(em.$,{provider:e})]})})]})]})},ez=()=>{let e=(0,u.d4)(b.BF),t=(0,u.d4)(b.fq);return e?null:t?(0,i.jsx)(eA,{}):(0,i.jsx)(eW,{})};var e_=l(5439),eB=l(29347),eM=l(45719);let eV=c()(()=>Promise.all([l.e(93785),l.e(46560),l.e(88620),l.e(81826),l.e(72889),l.e(54946),l.e(28105),l.e(86795),l.e(15102),l.e(19288),l.e(77262)]).then(l.bind(l,59625)),{loadableGenerated:{webpack:()=>[59625]},loading:()=>(0,i.jsx)(h.Zp,{children:(0,i.jsx)(o.az,{h:"[calc(100vh - 168px)]"})})});function eN(e){let{date:t,listType:l,category:d}=e,c=(0,u.wA)(),j=(0,u.d4)(e=>e.uicontrols.activeWidgetEvent),g=(0,a.hX)(),{isMobile:v}=(0,s.$c)(),y=(0,u.d4)(A.LQ),w=(0,m.o)(),{event:b}=(0,p.mJ)(null!=j?j:void 0),F=er.h2.includes(w),k=er.xy.includes(w),C=er.jx.includes(w),O=(0,x.useCallback)((e,t,l)=>{l||(e.preventDefault(),j===t?c((0,et.VX)(null)):c((0,et.VX)(t||null)))},[j]);(0,x.useEffect)(()=>{let e=document.getElementsByClassName("js-list-cell-target");for(let t=0;t{if(!b)return;let e=void 0===d||b.tournament.category.slug===d,l=b.tournament.category.sport.slug===w,i=(0,n.yk)(t.getTime(),b.startTimestamp),s=!!b.endTimestamp&&(0,n._M)(t.getTime(),1e3*b.startTimestamp,1e3*b.endTimestamp),a=b.status.type===r.XUj.InProgress;if(!e||!l||!(a||i||s))return void c((0,et.VX)(null))},[b,w,t,d]),g)?(0,i.jsx)(eB.A,{date:t,listType:l,category:d}):v?null:j?(0,i.jsx)(o.az,{position:"sticky",top:"[120px]",children:(0,i.jsx)(eV,{eventId:j,onClose:O,belowBreadcrumbs:!0})}):(0,i.jsxs)(i.Fragment,{children:[S.length>0?(0,i.jsx)(ee.Or,{date:(0,n.UG)(t),tournaments:S}):(0,i.jsx)(q,{}),(0,i.jsx)(e_.w,{}),F&&(0,i.jsx)(eM.Q,{}),k&&(0,i.jsx)(ei.k,{entityType:"player"}),C&&(0,i.jsx)(ei.k,{entityType:"team"}),(0,i.jsx)(ez,{}),"BR"!==y&&(0,i.jsx)(h.Zp,{children:(0,i.jsx)(f.s,{})}),d?(0,i.jsx)(el._,{sport:w,category:d}):l===er.Jx.BASE?(0,i.jsx)(el.a,{}):null]})}},42625:(e,t,l)=>{l.d(t,{_7:()=>x._7,ZB:()=>h,mt:()=>x.mt,Q3:()=>x.Q3,bZ:()=>x.bZ,wH:()=>x.wH}),l(66022),l(61394);var i=l(6029),r=l(46787),n=l(76356),s=l(55729),a=l(46222),o=l(52763),d=l(22244),c=l(67004),x=l(46558),u=l(26380);function h(e){let{event:t,onChangeVoteModalOpen:l,onChangeVoteModalClose:h}=e,[m,f]=(0,s.useState)(!1),[p,j]=(0,s.useState)(!1),g=(0,x.Nv)(x.o3),v=(0,x.Wi)(t,r.rjx.WhoWillWin),y=(0,x.E0)(t,v||p),{autoShowAd:w,canEditVote:b,grantReward:F,hasRevisitedChangeVote:A,setAutoShowAd:k}=(0,x.a8)(t,r.rjx.WhoWillWin,m,f,j),{isModalOpen:C,onChangeVote:O,onShowAd:S,setAdCanceled:D,setIsModalOpen:T,setShowLoader:E,showLoader:I}=(0,x.$d)(t.id,o.Mx.DesktopFeaturedMatch,w,A,r.rjx.WhoWillWin,()=>k(!1),()=>{F(),E(!1)},h,l);(0,s.useEffect)(()=>{C&&(null==l||l())},[C]);let L="change_vote"===y,W=L&&(b||A)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.A,{onChangeVote:O,onChangeVoteClose:()=>{null==h||h(),T(!1)},onChangeVoteContinue:S,isModalOpen:C,isLoaderOpen:I,onLoaderExit:()=>{E(!1),D(!0)}}),(0,i.jsx)(n.cG,{h:"[18px]",color:"neutrals.nLv4",orientation:"vertical",borderInlineEndStyle:"solid"})]}):null;return(0,i.jsx)(a.WC,{variant:"inverse-desktop",children:(0,i.jsx)(a.Zp,{children:(0,i.jsxs)(n.so,{direction:"column",gap:"lg",p:"lg",children:[(0,i.jsx)(u.B,{voteType:r.rjx.WhoWillWin,isVotingClosed:"voting_ended"===y,canUserVote:"vote"===y,canUserChangeVote:L,changeVoteButton:W,location:"featured_match"}),(0,i.jsx)(n.az,{children:(0,i.jsx)(c.A,{config:g,voteType:r.rjx.WhoWillWin,enableVoteChange:m,eventVoteLocation:"featured_match"})})]})})})}},55152:(e,t,l)=>{l.d(t,{s:()=>u});var i=l(6029),r=l(10174),n=l(76356),s=l(90248),a=l(41735),o=l(52466),d=l(95084);let c=e=>{let{fill:t}=e;return(0,i.jsxs)("svg",{width:"212",height:"165",viewBox:"0 0 212 165",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{x:"187.832",y:"164.831",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 164.831)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,i.jsx)("rect",{x:"164.296",y:"164.831",width:"23.5384",height:"23.5384",transform:"rotate(180 164.296 164.831)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"23.5386",y:"165",width:"23.5384",height:"23.5384",transform:"rotate(180 23.5386 165)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,i.jsx)("rect",{x:"211.372",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 211.372 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.6"}),(0,i.jsx)("rect",{x:"187.832",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.6"}),(0,i.jsx)("rect",{x:"164.296",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 164.296 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"70.1514",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 70.1514 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"46.6152",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 46.6152 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"211.372",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 211.372 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,i.jsx)("rect",{x:"187.832",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"117.225",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 117.225 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"93.687",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"70.1509",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 70.1509 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"211.372",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 211.372 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.1"}),(0,i.jsx)("rect",{x:"187.832",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"164.296",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 164.296 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"140.76",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 140.76 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.3"}),(0,i.jsx)("rect",{x:"117.225",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 117.225 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"93.687",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.1"}),(0,i.jsx)("rect",{x:"70.1509",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 70.1509 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.1"}),(0,i.jsx)("rect",{x:"47.5386",y:"94",width:"23.5384",height:"23.5384",transform:"rotate(180 47.5386 94)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"211.372",y:"70.6838",width:"23.5384",height:"23.5384",transform:"rotate(180 211.372 70.6838)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"140.76",y:"70.6838",width:"23.5384",height:"23.5384",transform:"rotate(180 140.76 70.6838)",fill:t||"#FF7DA8",fillOpacity:"0.3"}),(0,i.jsx)("rect",{x:"117.225",y:"70.6838",width:"23.5384",height:"23.5384",transform:"rotate(180 117.225 70.6838)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,i.jsx)("rect",{x:"93.687",y:"70.6838",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 70.6838)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"187.832",y:"47.1489",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 47.1489)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"117.225",y:"47.1489",width:"23.5384",height:"23.5384",transform:"rotate(180 117.225 47.1489)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,i.jsx)("rect",{x:"93.687",y:"47.1489",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 47.1489)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"70.1514",y:"47.1489",width:"23.5384",height:"23.5384",transform:"rotate(180 70.1514 47.1489)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"46.5386",y:"23.5386",width:"23.5384",height:"23.5384",transform:"rotate(180 46.5386 23.5386)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,i.jsx)("rect",{x:"140.76",y:"23.6128",width:"23.5384",height:"23.5384",transform:"rotate(180 140.76 23.6128)",fill:t||"#FF7DA8",fillOpacity:"0.1"}),(0,i.jsx)("rect",{x:"93.687",y:"23.6128",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 23.6128)",fill:t||"#FF7DA8",fillOpacity:"0.1"})]})},x=["editor_banner_bullet_1","editor_banner_bullet_2"];function u(){let e=(0,a.useTheme)();return(0,i.jsxs)(n.az,{p:"xl",h:"[272px]",pb:"0",position:"relative",br:"lg",overflowY:"hidden",children:[(0,i.jsx)(n.I4.a,{href:"https://torneo.sofascore.com",target:"_blank",rel:"noreferrer",onClick:d.ix,position:"absolute",cursor:"pointer",inset:"0",zIndex:"button"}),(0,i.jsxs)(n.so,{align:"center",justify:"space-between",children:[(0,i.jsx)(o.noo,{fill:"editor.pink"}),(0,i.jsxs)(n.so,{align:"center",gap:"xs",py:"xs",pl:"md",pr:"0",children:[(0,i.jsx)(r.EY,{textStyle:"display.small",color:"primary.default",children:(0,i.jsx)(s.A,{id:"learn_more_button"})}),(0,i.jsx)(o.CCT,{fill:"primary.default"})]})]}),(0,i.jsxs)(n.so,{justify:"space-between",mt:"2xl",children:[(0,i.jsxs)(n.az,{maxW:"[210px]",children:[(0,i.jsx)(r.EY,{display:"block",textStyle:"display.small",mb:"md",children:(0,i.jsx)(s.A,{id:"editor_banner_header"})}),x.map((e,t)=>(0,i.jsxs)(n.so,{align:"center",children:[(0,i.jsx)(n.az,{w:"xs",h:"xs",bg:"neutrals.nLv1",br:"50%",mr:"sm"}),(0,i.jsx)(r.EY,{display:"block",textStyle:"body.small",children:(0,i.jsx)(s.A,{id:e})})]},t)),(0,i.jsx)(n.az,{h:"7xl",w:"7xl",mt:"xl",children:(0,i.jsx)("img",{width:64,height:64,src:"/static/images/banner/torneo-banner-qr-".concat(e.name,".svg?v=1"),alt:"Torneo by Sofascore QR code"})})]}),(0,i.jsx)(n.I4.img,{zIndex:"button",src:"/static/images/editor-promo-image.png",srcSet:"/static/images/editor-promo-image@2x.png 2x, /static/images/editor-promo-image@3x.png 3x",alt:"Sofascore editor"})]}),(0,i.jsx)(n.az,{position:"absolute",bottom:"0",right:"0",children:(0,i.jsx)(c,{fill:e.colors.editor.pink})})]})}}}]);