!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]="91a3f750-8258-4541-9512-2e742829ec6d",e._sentryDebugIdIdentifier="sentry-dbid-91a3f750-8258-4541-9512-2e742829ec6d")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[346],{5546:(e,t,o)=>{o.d(t,{Ae:()=>u,F0:()=>d,ks:()=>c,uZ:()=>h});var n=o(4967),i=o(494),l=o(79368),r=o(2294);let a=(e,t,o)=>{let a=(0,i.d4)(r.Bu),s=(0,l.SR)(e,(0,n.UG)(new Date));return a&&t&&s.find(e=>e.id===t)?a:o},s=(e,t)=>{var o;return a(e.tournament.category.sport.slug,null==(o=e.tournament.uniqueTournament)?void 0:o.id,t)},d=e=>s(e,(0,i.d4)(r.a5)),c=e=>s(e,(0,i.d4)(r.Zj)),u=()=>(0,i.d4)(r.a5),h=()=>(0,i.d4)(r.Bu)},7360:(e,t,o)=>{o.d(t,{g:()=>m});var n=o(6029),i=o(49519),l=o(21377),r=o(99064),a=o(55729),s=o(947),d=o(62859),c=o(54409),u=o(65078),h=o(94604),f=o(49031);function g(e){let{count:t}=e;return"number"!=typeof t||t<1?null:(0,n.jsxs)(r.az,{as:"bdi",children:[(0,n.jsx)(c.xK6,{width:"14",height:"14",fill:"error.default"}),t>1&&(0,n.jsxs)(r.EY,{color:"onSurface.nLv3",font:"body.small",style:{verticalAlign:"middle"},children:["x",t]})]})}function m(e){var t,o,c,m,p,x;let{isShort:v,style:w,entity:y}=e,j=(0,s.A)(),{event:b,leftTeam:S,rightTeam:C}=(0,a.useContext)(d.y$),[R,L]=(0,u.jr)(b,"homeRedCards","awayRedCards"),T=(0,u.gm)(b,"winnerCode"),F=b.status.type===l.XUj.Finished,_=T===l.Jfo.Left,k=T===l.Jfo.Right,A="onSurface.nLv1",N="onSurface.nLv1";(F||b.status.type===l.XUj.WillContinue)&&(A=_?"onSurface.nLv1":"onSurface.nLv3",N=k?"onSurface.nLv1":"onSurface.nLv3");let E=y===l.wNW.Manager||y===l.wNW.Player,I=(0,f.PZ)(b,j.formatMessage,j.locale),U=(0,n.jsx)(i.p,{size:16,id:S.id,name:S.name,isSmall:!0}),Y=(0,n.jsx)(i.p,{size:16,id:C.id,name:C.name,isSmall:!0});return S.type===l.YVh.Person?U=(0,n.jsx)(i.w,{size:16,alpha2:null==(t=S.country)?void 0:t.alpha2,fallback:(0,n.jsx)(r._V,{src:"/static/images/placeholders/team.svg",width:"16",height:"16",alt:null==(o=S.country)?void 0:o.name}),name:null==(c=S.country)?void 0:c.name}):S.type===l.YVh.Double&&(U=null),C.type===l.YVh.Person?Y=(0,n.jsx)(i.w,{size:16,alpha2:null==(m=C.country)?void 0:m.alpha2,fallback:(0,n.jsx)(r._V,{src:"/static/images/placeholders/team.svg",width:"16",height:"16",alt:null==(p=C.country)?void 0:p.name}),name:null==(x=C.country)?void 0:x.name}):C.type===l.YVh.Double&&(Y=null),(0,n.jsxs)(r.az,{flex:"1 1 ".concat(v?"100px":"140px"),title:I,overflow:"hidden",minW:"0",style:w,children:[(0,n.jsxs)(r.so,{align:"center",mb:"xxs",children:[U&&(0,n.jsx)(r.az,{h:"16px",w:"16px",mr:"sm",children:U}),(0,n.jsxs)(r.EY,{font:"body.medium",as:"bdi",ellipsis:!0,color:A,lineHeight:"16px",children:[(0,n.jsx)(h.Rm,{team:S,short:!0}),E?null:(0,n.jsx)(g,{count:R})]})]}),(0,n.jsxs)(r.so,{align:"center",children:[Y&&(0,n.jsx)(r.az,{h:"16px",w:"16px",mr:"sm",children:Y}),(0,n.jsxs)(r.EY,{font:"body.medium",as:"bdi",ellipsis:!0,color:N,lineHeight:"16px",children:[(0,n.jsx)(h.Rm,{team:C,short:!0}),E?null:(0,n.jsx)(g,{count:L})]})]})]})}},8703:(e,t,o)=>{o.d(t,{AD:()=>n.AD,Mh:()=>n.Mh,Sw:()=>n.Sw,c5:()=>n.c5,f2:()=>n.f2,jQ:()=>n.jQ,jY:()=>n.jY,rK:()=>n.rK,rf:()=>n.rf,vJ:()=>n.vJ});var n=o(71046)},18612:(e,t,o)=>{o.d(t,{D:()=>n.D});var n=o(43451)},25745:(e,t,o)=>{o.d(t,{s:()=>n});async function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Sofa365!Sofa365!",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"qC9sJnXgvT3C";if(!e)return;let n=new TextEncoder,i=n.encode(t),l={name:"AES-GCM",iv:n.encode(o)},r=await crypto.subtle.importKey("raw",i,l,!1,["decrypt"]),a=new Uint8Array(Array.from(window.atob(e)).map(e=>e.charCodeAt(0)));try{let e=await crypto.subtle.decrypt(l,r,a);return new TextDecoder().decode(e)}catch(e){throw Error("Decrypt failed")}}},27372:(e,t,o)=>{o.d(t,{W:()=>l,X:()=>i});var n=o(56869);function i(e){return!e||!n.Hs.includes(e)}function l(e){var t;return e&&(null==(t=window.navigator.connection)?void 0:t.effectiveType)?"4g"===window.navigator.connection.effectiveType:!e}},36937:(e,t,o)=>{o.d(t,{$:()=>n.$,g:()=>i.g});var n=o(87473),i=o(7360)},43451:(e,t,o)=>{o.d(t,{D:()=>r});var n=o(6029),i=o(36145),l=o(41735);let r=({width:e="100%",height:t,animate:o=!1,viewBox:r,style:a,children:s,uniqueKey:d})=>{let c=(0,l.useTheme)();return(0,n.jsx)(i.Ay,Object.assign({speed:2,animate:o,width:e,height:t,backgroundColor:o?c.colors.surface.s0:c.colors.surface.s2,foregroundColor:c.colors.surface.s2,viewBox:r,style:a,uniqueKey:d},{children:s}))}},49031:(e,t,o)=>{o.d(t,{J_:()=>x,PZ:()=>u,TF:()=>v,t3:()=>g});var n=o(6029),i=o(21377),l=o(99064),r=o(55729),a=o(54409),s=o(8703),d=o(27372),c=o(84942);function u(e,t,o){return t({id:"event.title"},{home:(0,c.s)(e.homeTeam,o),away:(0,c.s)(e.awayTeam,o)})}let h={[i.QCR.IceHockey]:{assists:e=>(0,n.jsx)(a.NcS,{icon:"ice-hockey",width:e.width,height:e.height,fill:"secondary.default"}),goals:e=>(0,n.jsx)(a.CvR,{icon:"hockey-pak",width:e.width,height:e.height,fill:"secondary.default"})},[i.QCR.Handball]:{goals:e=>(0,n.jsx)(a.NcS,{icon:"handball",width:e.width,height:e.height,fill:"secondary.default"})},[i.QCR.Football]:{redCards:e=>(0,n.jsx)(a.CvR,{icon:"card-red",width:e.width,height:e.height,fill:"error.default"}),yellowRedCards:e=>(0,n.jsx)(a.CvR,{icon:"card-double-yellow",width:e.width,height:e.height}),yellowCards:e=>(0,n.jsx)(a.CvR,{icon:"card-yellow",width:e.width,height:e.height,fill:"scoreRating.s65"}),ownGoals:e=>(0,n.jsx)(a.NcS,{icon:"football-own-goal",width:e.width,height:e.height,fill:"error.default"}),assists:e=>(0,n.jsx)(a.NcS,{icon:"football-assist",width:e.width,height:e.height,fill:"secondary.default"}),penaltyGoals:e=>(0,n.jsx)(a.NcS,{icon:"football-penalty",width:e.width,height:e.height,fill:"secondary.default"}),goals:e=>(0,n.jsx)(a.NcS,{icon:"football-ball",width:e.width,height:e.height,fill:"secondary.default"})},[i.QCR.AmericanFootball]:{kickingExtraMade:e=>(0,n.jsx)(a.CvR,{icon:"af-extra-point",width:e.width,height:e.height,fill:"secondary.default"}),kickingFgMade:e=>(0,n.jsx)(a.CvR,{icon:"af-field-goal",width:e.width,height:e.height,fill:"secondary.default"}),passingTouchdowns:e=>(0,n.jsx)(a.NcS,{icon:"af-passing-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),rushingTouchdowns:e=>(0,n.jsx)(a.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),receivingTouchdowns:e=>(0,n.jsx)(a.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),puntReturnsTouchdowns:e=>(0,n.jsx)(a.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),puntingReturnTouchdowns:e=>(0,n.jsx)(a.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),kickReturnsTouchdowns:e=>(0,n.jsx)(a.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),fumbleTouchdownReturns:e=>(0,n.jsx)(a.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),defensiveInterceptionsTouchdowns:e=>(0,n.jsx)(a.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"})},[i.QCR.Minifootball]:{redCards:e=>(0,n.jsx)(a.CvR,{icon:"card-red",width:e.width,height:e.height,fill:"error.default"}),yellowRedCards:e=>(0,n.jsx)(a.CvR,{icon:"card-double-yellow",width:e.width,height:e.height}),yellowCards:e=>(0,n.jsx)(a.CvR,{icon:"card-yellow",width:e.width,height:e.height,fill:"scoreRating.s65"}),ownGoals:e=>(0,n.jsx)(a.NcS,{icon:"football-own-goal",width:e.width,height:e.height,fill:"error.default"}),assists:e=>(0,n.jsx)(a.NcS,{icon:"football-assist",width:e.width,height:e.height,fill:"secondary.default"}),penaltyGoals:e=>(0,n.jsx)(a.NcS,{icon:"football-penalty",width:e.width,height:e.height,fill:"secondary.default"}),goals:e=>(0,n.jsx)(a.NcS,{icon:"football-ball",width:e.width,height:e.height,fill:"secondary.default"}),accumulatedPenaltyGoals:e=>(0,n.jsx)(a.CvR,{icon:"accumulated-penalty",width:e.width,height:e.height,fill:"secondary.default"})}},f={rushingTouchdowns:1,receivingTouchdowns:1,puntReturnsTouchdowns:1,puntingReturnTouchdowns:1,kickReturnsTouchdowns:1,fumbleTouchdownReturns:1,defensiveInterceptionsTouchdowns:1},g=(e,t)=>{let o=[],s=h[e]||{};if(Object.keys(s).map(a=>{let d=s[a],c=t&&t[a];if(!c||a in f)return;if(e===i.QCR.Football&&"goals"===a){var u;if(!(c-=null!=(u=null==t?void 0:t.penaltyGoals)?u:0))return}if("yellowCards"===a&&((null==t?void 0:t.redCards)||(null==t?void 0:t.yellowRedCards)))return;let h=16;"yellowRedCards"===a&&(h=20);let g=c>1?c:"";o.push((0,n.jsxs)(r.Fragment,{children:[(0,n.jsx)(l.EY,{color:"secondary.default",ml:"sm",fontWeight:500,children:g}),(0,n.jsx)(d,{width:h,height:h,viewBox:"0 0 16 16"},"".concat(c,"-").concat(a))]},"".concat(c,"-").concat(a)))}),e===i.QCR.AmericanFootball){let e=Object.keys(f).map(e=>t&&t[e]?t[e]:0).reduce((e,t)=>e+t,0);e&&o.push((0,n.jsxs)(r.Fragment,{children:[(0,n.jsx)(l.EY,{color:"secondary.default",ml:"sm",fontWeight:500,children:e>1&&e}),(0,n.jsx)(a.CvR,{icon:"af-touchdown",width:16,height:16,fill:"secondary.default"},"special")]},"".concat(e,"-af")))}return o},m=["sm","lg"],p=[i.QCR.IceHockey,i.QCR.Waterpolo,i.QCR.Floorball],x=(e,t,o)=>[i.sum.Penalties,i.sum.AP].includes(e.status.code)&&"number"==typeof t.penalties?m.includes(o)&&p.includes((0,s.c5)(e))?{score:t.display}:{score:t.display,penalties:t.penalties}:{score:t.display},v=(e,t)=>(e.status.type===i.XUj.NotStarted||e.status.type===i.XUj.InProgress)&&e.streamContentId&&!(0,d.X)(t)},49519:(e,t,o)=>{o.d(t,{p:()=>i.p,w:()=>n.w});var n=o(53192),i=o(91603)},49821:(e,t,o)=>{o.d(t,{fl:()=>d,jF:()=>s,kW:()=>u,ki:()=>c});var n=o(55729),i=o(62859),l=o(1815),r=o(61836),a=o(25745),s=function(e){return e.Featured="featured",e.Additional="additional",e.Streaks="streaks",e.Compliance="compliance",e}({}),d=function(e){return e.BetBoostButton="bet_boost_button",e.AffiliateButton="affiliate_button",e}({}),c=function(e){return e.ProviderLogo="provider_logo",e.OddsValue="odds_value",e.BookmakerButton="bookmaker_button",e.AffiliateButton="affiliate_button",e}({});function u(e){let{event:t,location:o}=(0,n.useContext)(i.y$),s=e.location||o,c=e.countryOddsProvider,u=(0,a.s)(null==c?void 0:c.impressionCostEncrypted),h="compliance"===e.type||c&&t.status.type&&(e.marketName||e.isComparison),f=Object.values(d).find(t=>{var o,n;return!!(null==(n=e.activeCTA)||null==(o=n[t])?void 0:o.isActive)}),g=async()=>{"compliance"===e.type?(0,r.D5)({id:t.id,provider:null==c?void 0:c.provider.slug,status:t.status.type,location:s,value:await u}):c&&t.status.type&&(e.marketName||e.isComparison)&&(0,r.CH)({id:t.id,provider:null==c?void 0:c.provider.slug,category:e.marketName,status:t.status.type,location:s,value:await u,is_active:!!f,type:f})},m=e.deps||[],p=(0,l.e)(g,{deps:[t.id,f,...m]});return{ref:h?p:void 0,makeOnClick:(0,n.useCallback)((o,n,i)=>{if(c&&o)return()=>{(0,r.Fe)({id:t.id,provider:i?i.provider.slug:c.provider.slug,category:o,type:e.type,location:s,position:n})}},[t.id,c,o])}}},50346:(e,t,o)=>{o.d(t,{Ay:()=>E,ZK:()=>_});var n=o(6029),i=o(18612),l=o(21377),r=o(4967),a=o(99064),s=o(78383),d=o.n(s),c=o(55729),u=o(90510),h=o(90248),f=o(494),g=o(62859),m=o(36937),p=o(65078),x=o(82707),v=o(75791),w=o(5546),y=o(49821),j=o(2294),b=o(4236),S=o(61836),C=o(98516);let R=e=>e<20?"sofaSingles.value":"error.default",L=e=>-1!==[l.QCR.Football,l.QCR.Handball].indexOf(e),T=e=>L(e.tournament.category.sport.slug),F=e=>{let{hasDraw:t}=e;return(0,n.jsx)(a.az,{minW:t?132:88,w:t?132:88,ml:"xs",children:(0,n.jsxs)(i.D,{height:"auto",viewBox:"0 0 ".concat(t?132:88," 36"),uniqueKey:"event-cell-odds-cl",children:[(0,n.jsx)("rect",{x:"19",y:"4",width:"7",height:"13",rx:"4",ry:"2"}),(0,n.jsx)("rect",{x:"63",y:"4",width:"7",height:"13",rx:"4",ry:"2"}),t&&(0,n.jsx)("rect",{x:"93",y:"20",width:"34",height:"16",rx:"4",ry:"4"}),(0,n.jsx)("rect",{x:"5",y:"20",width:"34",height:"16",rx:"4",ry:"4"}),(0,n.jsx)("rect",{x:"49",y:"20",width:"34",height:"16",rx:"4",ry:"4"}),t&&(0,n.jsx)("rect",{x:"107",y:"4",width:"7",height:"13",rx:"4",ry:"4"})]})})};function _(e){let{odds:t,sport:o,eventId:i,fallback:l}=e,r=(0,w.Ae)(),s=(0,f.d4)(j.$4),d=(0,p.g3)(),u=null==r?void 0:r.branded,h="fractional"===s,m=(0,c.useCallback)(e=>{e.stopPropagation(),(0,S.Fe)({id:i,provider:null==r?void 0:r.provider.slug,category:null==t?void 0:t.marketName,type:y.jF.Featured,location:g.cb.MainList,position:y.ki.OddsValue})},[i,r,t]),x=L(o);if(!t)return(0,n.jsx)(F,{hasDraw:x});if(t.loaded)return l||(0,n.jsx)("div",{style:{minWidth:x?132:88}});let C=(0,b.nu)(t.choices,d),R=h?v.Y:void 0;return(0,n.jsx)(n.Fragment,{children:C.map(e=>{let o=r&&u?(0,b.Iz)(e,t,r):null,i=(0,n.jsxs)(a.so,{direction:"column",align:"center",gap:"xs",children:[(0,n.jsx)(a.EY,{font:"assistive.default",color:"onSurface.nLv3",children:e.name}),(0,n.jsx)(a.so,{justify:"center",align:"center",w:h?48:40,h:h?20:16,border:e.winning?"primary.default":"onSurface.nLv4",br:"xs",bg:"surface.s1",hoverBg:"surface.s2",children:(0,n.jsx)(a.EY,{font:"display.micro",fontSize:h?14:void 0,letterSpacing:h?"-0.5px":void 0,color:t.isLive?"sofaSingles.value":"onSurface.nLv1",lineHeight:1,children:(0,n.jsx)(v.c,{fractionalValue:e.fractionalValue,children:R})})})]});return o?(0,n.jsx)(a.az,{as:"a",target:"_blank",href:o,rel:"nofollow noopener",onClick:m,zIndex:a.Py.Button,children:i},e.name):i})})}function k(e){let{startTimestamp:t,showDraw:o}=e;return(0,n.jsxs)(a.so,{justify:"space-between",px:"lg",pt:"xs",children:[(0,n.jsx)(a.EY,{font:"assistive.micro",color:"onSurface.nLv3",children:(0,n.jsx)(u.XU,{value:1e3*t,...r.or.dateTime})}),(0,n.jsxs)(a.so,{gap:"sm",children:[(0,n.jsx)(a.EY,{w:40,font:"assistive.micro",color:"onSurface.nLv3",align:"center",children:"1"}),o&&(0,n.jsx)(a.EY,{w:40,font:"assistive.micro",color:"onSurface.nLv3",align:"center",children:"X"}),(0,n.jsx)(a.EY,{w:40,font:"assistive.micro",color:"onSurface.nLv3",align:"center",children:"2"}),(0,n.jsx)(a.EY,{w:60,font:"assistive.micro",color:"onSurface.nLv3",align:"center",children:(0,n.jsx)(h.A,{id:"betting.drop"})})]})]})}function A(e){let{isChoice:t,choice:o,drop:i}=e;return(0,n.jsxs)(a.az,{children:[(0,n.jsx)(a.az,{w:40,border:"onSurface.nLv4",textAlign:"center",br:"sm",mb:"xs",children:(0,n.jsx)(a.EY,{font:"display.micro",lineHeight:"16px",color:"onSurface.nLv1",children:o.initialFractionalValue&&(0,n.jsx)(v.c,{fractionalValue:o.initialFractionalValue})})}),(0,n.jsx)(a.az,{w:40,border:"onSurface.nLv4",textAlign:"center",br:"sm",children:(0,n.jsx)(a.EY,{font:"display.micro",lineHeight:"16px",color:t?R(i):"onSurface.nLv1",children:(0,n.jsx)(v.c,{fractionalValue:o.fractionalValue})})})]})}function N(e){let{choices:t,choice:o,showDraw:i,drop:l}=e,r=t.length-1,[s,d]=(0,p.jr)(t,0,r);return(0,n.jsxs)(a.so,{gap:"sm",align:"center",children:[(0,n.jsx)(A,{choice:s,isChoice:s.name===o,drop:l},s.name),i&&(0,n.jsx)(A,{choice:t[1],isChoice:t[1].name===o,drop:l},t[1].name),(0,n.jsx)(A,{choice:d,isChoice:d.name===o,drop:l},d.name),(0,n.jsx)(a.EY,{font:"display.small",color:R(l),w:60,align:"center",children:"".concat((0,C.M)(l,1),"%")})]})}let E=function(e){let{event:t,choice:o,onClick:i=d(),isSelected:l,choices:r,drop:s,isMobile:c}=e,{event:u,...h}=(0,p.AR)(t),f=u.tournament.category.sport.slug,v=(T(u)||L(f)||null===f)&&3===r.length;return(0,n.jsx)(g.y$.Provider,{value:{event:u,...h},children:(0,n.jsx)(x.tj,{event:u,children:(0,n.jsxs)(a.az,{bg:[void 0,l?"surface.s2":"surface.s1"],onClick:e=>{i&&i(e,u.id,c)},cursor:"pointer",hoverBg:"surface.s2",children:[(0,n.jsx)(k,{startTimestamp:u.startTimestamp,showDraw:v}),(0,n.jsxs)(a.so,{justify:"space-between",align:"center",px:"lg",py:"sm",children:[(0,n.jsx)(m.g,{style:c?{flex:"1 1 auto"}:{}}),(0,n.jsx)(N,{choice:o,choices:r,drop:s,showDraw:v})]})]})})})}},56869:(e,t,o)=>{o.d(t,{Hs:()=>l,NR:()=>i,p4:()=>n});let n="/21866864457/preroll_video_app",i="https://pubads.g.doubleclick.net/gampad/live/ads?iu="+n+"&description_url=http%3A%2F%2Fsofascore.com&tfcd=0&npa=0&sz=1x1%7C400x300%7C640x480&ciu_szs=300x250%2C336x280%2C728x90&min_ad_duration=5000&max_ad_duration=30000&gdfp_req=1&unviewed_position_start=1&output=vast&env=vp&impl=s&correlator=",l=["BR","BG","JP","UK","KE","GB","NG","IT","NL","ES","MA","IR","BD","IN","TH","VN"]},69759:(e,t,o)=>{o.d(t,{I:()=>i,J:()=>l});var n=o(87357);let i=501;function l(e,t){return void 0!==t.point&&void 0!==e.bestOfSets&&e.bestOfSets>1?{topScore:Number(t.point)||i,bottomScore:t.display,bottomScoreExtra:(0,n.U)(t)}:void 0!==t.point&&void 0!==e.bestOfLegs&&e.bestOfLegs>0?{topScore:Number(t.point)||i,bottomScore:t.display,bottomScoreExtra:void 0}:(void 0===t.point||null===t.point)&&e.bestOfSets&&e.bestOfSets>1?{topScore:(0,n.U)(t)||0,bottomScore:t.display,bottomScoreExtra:void 0}:{topScore:t.display||0,bottomScore:void 0,bottomScoreExtra:void 0}}},75791:(e,t,o)=>{o.d(t,{Y:()=>s,c:()=>a});var n=o(6029),i=o(494),l=o(64274),r=o(2294);let a=e=>{let{fractionalValue:t,children:o}=e,a=(0,i.d4)(r.$4),s=(0,l.YB)(t,a);return(0,n.jsx)(n.Fragment,{children:o?o(s):s})},s=e=>{let[t,o]=e.split("/");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("sup",{children:t}),"/",(0,n.jsx)("sub",{children:o})]})}},79368:(e,t,o)=>{o.d(t,{LS:()=>f,SR:()=>h,zK:()=>d});var n=o(21377),i=o(4967),l=o(21501),r=o(494),a=o(10794),s=o(55938);let d={1:{id:1,slug:"euro-2024",bgImage:"euro-2024.webp",seasonId:56953,msgKey:"football_euro_2024_tournament",showCupTreeFrom:"2024-06-29",analyticsName:"euro",historyHighlightsEndYear:"1980",defaultHistoryHighlightsYearPerCountry:{BE:"1980",DE:"1996",IT:"2000",CZ:"1996",FR:"1984",PT:"2004",DK:"1992",ES:"2008",NL:"1988",IE:"1988",UK:"1996",RO:"2000",GR:"2004",SE:"1992",CH:"1996",BG:"1996",RU:"2008",HR:"1996",TR:"2008",NO:"2000",SI:"2000",LV:"2004",AT:"2008",PL:"2012",UA:"2012",SK:"2016",RS:"2000",HU:"2016",IS:"2016",AL:"2016",FI:"2020",MK:"2020",GB:"1996"},visibleFrom:"2024-06-03",visibleTo:"2024-07-21",defaultFrom:"2024-06-14"},133:{id:133,slug:"copa-2024",bgImage:"euro-2024.webp",seasonId:57114,msgKey:"football_copa_2024_tournament",analyticsName:"copa",showCupTreeFrom:"2024-07-04",visibleFrom:"2024-06-03",visibleTo:"2024-07-21",defaultFrom:"2024-06-14"},357:{id:357,slug:"club-world-cup",logo:"cwc-2025-logo.svg",bgImage:"cwc-2025.png",seasonId:69619,msgKey:"bottom_navigation_tab_club_world_cup_short",analyticsName:"fifa_club_world_cup",showCupTreeFrom:"2025-06-28",visibleFrom:"2025-05-30",visibleTo:"2025-07-16",defaultFrom:"2025-06-15"}},c=(e,t)=>(!t.visibleTo||!(e>=t.visibleTo))&&(!t.visibleFrom||!(e(()=>{try{let t=e?(0,s.BJ)(e):void 0;if((null==t?void 0:t.continent)==="South America"||(null==t?void 0:t.continent)==="North America")return[357,133,1]}catch(e){}return[357,1,133]})().map(e=>d[e]).filter(e=>void 0!==e&&c((0,i.UG)(new Date),e)),h=(e,t)=>{let o=(0,r.d4)(a.LQ);return e!==n.QCR.Football?[]:u(o).filter(e=>c(t,e))},f=()=>{let e=(0,l.hX)(),t=(0,r.d4)(a.LQ);return e?{tournament:void 0}:{tournament:u(t).find(e=>c((0,i.UG)(new Date),e))}}},87357:(e,t,o)=>{o.d(t,{U:()=>n});function n(e){let t=Object.keys(e).filter(e=>e.startsWith("period")).sort((e,t)=>Number(e.replace("period",""))-Number(t.replace("period",""))).pop();if(t)return e[t]}},87473:(e,t,o)=>{o.d(t,{$:()=>b});var n=o(6029),i=o(21377),l=o(89875),r=o(99064),a=o(55729),s=o(90248),d=o(62859),c=o(49031),u=o(8703),h=o(65078),f=o(82169);let g=(e,t)=>{let o=e.tournament.category.sport.slug===i.QCR.Tennis,n=e.status.type===i.XUj.InProgress,l=e.crowdsourcingDataDisplayEnabled;return n&&(0,u.c5)(e)===i.QCR.Darts&&void 0===e.bestOfSets?"sofaSingles.live":n&&!o&&t===i.Jfo.Left?"onSurface.nLv1":n&&l?"sofaSingles.crowdsourcingLive":"inherit"},m=(e,t,o,n)=>{let l=e===i.XUj.Finished,r=n===i.Jfo.Left,a=n===i.Jfo.Right,s="onSurface.nLv1",d="onSurface.nLv1",c="onSurface.nLv1",u="onSurface.nLv1";return(l||e===i.XUj.WillContinue)&&(s=r?"onSurface.nLv1":"onSurface.nLv3",d=a?"onSurface.nLv1":"onSurface.nLv3","number"==typeof t.penalties&&"number"==typeof o.penalties&&(c=t.penalties>o.penalties?"onSurface.nLv1":"onSurface.nLv3",u=o.penalties>t.penalties?"onSurface.nLv1":"onSurface.nLv3")),{leftColor:s,rightColor:d,leftPenaltyColor:c,rightPenaltyColor:u}};var p=o(54409),x=o(69759),v=function(e){return e[e.Home=1]="Home",e[e.Away=2]="Away",e}({}),w=o(87357);let y=e=>{let{event:t,leftScore:o,rightScore:i}=e,{mediaBreakpoint:a}=(0,l.$c)(),s=void 0!==t.bestOfSets&&t.bestOfSets>1,d=(0,w.U)(o)||0,u=(0,w.U)(i)||0;return(0,n.jsxs)(r.so,{direction:"column",pr:"sm",align:"flex-end",children:[(0,n.jsxs)(r.so,{align:"flex-end",children:[t.firstToServe===v.Home?(0,n.jsx)(p.v1,{fill:"secondary.default"}):(0,n.jsx)(r.az,{w:16}),void 0!==o.point&&(0,n.jsx)(r.EY,{color:"secondary.default",block:!0,ml:10,children:o.point||x.I}),s&&(0,n.jsx)(r.EY,{color:"sofaSingles.live",block:!0,ml:8,children:d}),(0,n.jsx)(f.cU,{eventId:t.id,changeKey:"leftScore.display",color:"sofaSingles.live",...(0,c.J_)(t,o,a),textAlign:"end"})]}),(0,n.jsxs)(r.so,{align:"flex-end",children:[t.firstToServe===v.Away?(0,n.jsx)(p.v1,{fill:"secondary.default"}):(0,n.jsx)(r.az,{w:16}),void 0!==i.point&&(0,n.jsx)(r.EY,{color:"secondary.default",block:!0,ml:10,children:i.point||x.I}),s&&(0,n.jsx)(r.EY,{color:"sofaSingles.live",block:!0,ml:8,children:u}),(0,n.jsx)(f.cU,{eventId:t.id,changeKey:"rightScore.display",color:"sofaSingles.live",...(0,c.J_)(t,i,a),textAlign:"end"})]})]})},j=()=>{let{event:e,leftScore:t,rightScore:o}=(0,a.useContext)(d.y$),{mediaBreakpoint:s}=(0,l.$c)(),u=(0,h.gm)(e,"winnerCode");if(e.status.type===i.XUj.NotStarted)return(0,n.jsx)(r.az,{w:38,flex:"0 0 38px",ml:"sm"});if(e.status.type===i.XUj.InProgress)return(0,n.jsx)(y,{event:e,leftScore:t,rightScore:o});let g=m(e.status.type,t,o,u);return(0,n.jsxs)(r.so,{direction:"column",pr:"sm",align:"flex-end",children:[(0,n.jsx)(r.so,{align:"flex-end",children:(0,n.jsx)(f.cU,{eventId:e.id,changeKey:"leftScore.display",color:g.leftColor||"onSurface.nLv3",...(0,c.J_)(e,t,s),textAlign:"end"})}),(0,n.jsx)(r.so,{align:"flex-end",children:(0,n.jsx)(f.cU,{eventId:e.id,changeKey:"rightScore.display",color:g.rightColor||"onSurface.nLv3",...(0,c.J_)(e,o,s),textAlign:"end"})})]})};function b(){let{event:e,leftScore:t,rightScore:o}=(0,a.useContext)(d.y$),s=(0,h.gm)(e,"aggregatedWinnerCode"),p=(0,u.c5)(e),x=(0,h.gm)(e,"winnerCode"),{mediaBreakpoint:v}=(0,l.$c)();if(p===i.QCR.Cricket)return null;if(p===i.QCR.MMA)return(0,n.jsx)(S,{winnerCode:e.winnerCode});if(p===i.QCR.Darts)return(0,n.jsx)(j,{});if(e.status.type===i.XUj.NotStarted)return(0,n.jsx)(r.az,{w:"38px",mr:"sm"});let w=e.status.type===i.XUj.InProgress,y=w?"sofaSingles.live":"onSurface.nLv3",b=w?g(e,x):y,C=w?{leftColor:"onSurface.nLv3",rightColor:"onSurface.nLv3",leftPenaltyColor:"onSurface.nLv3",rightPenaltyColor:"onSurface.nLv3"}:m(e.status.type,t,o,x),R=s===i.Jfo.Left,L=s===i.Jfo.Right;return(0,n.jsxs)(r.so,{position:"relative",direction:"column",justify:"flex-end",align:"flex-end",w:"38px",color:y,mr:"sm",children:[(0,n.jsx)(f.cU,{eventId:e.id,changeKey:"homeScore.display",color:w?b:C.leftColor,penaltiesColor:w?b:C.leftPenaltyColor,...(0,c.J_)(e,t,v),aggWin:R,textAlign:"end"}),(0,n.jsx)(f.cU,{eventId:e.id,changeKey:"awayScore.display",color:w?b:C.rightColor,penaltiesColor:w?b:C.rightPenaltyColor,...(0,c.J_)(e,o,v),aggWin:L,textAlign:"end"})]})}function S(e){let{winnerCode:t}=e;return t!==i.Jfo.Left&&t!==i.Jfo.Right?null:(0,n.jsxs)(r.so,{direction:t===i.Jfo.Left?"column":"column-reverse",gap:"xxs",mx:"sm",children:[(0,n.jsx)(r.EY,{as:"div",c:"secondary.default",align:"center",children:(0,n.jsx)(s.A,{id:"standings.label.wins"})}),(0,n.jsx)(r.EY,{as:"div",c:"error.default",align:"center",children:(0,n.jsx)(s.A,{id:"standings.label.losses"})})]})}},94604:(e,t,o)=>{o.d(t,{Rm:()=>f,lC:()=>u,s_:()=>h,ub:()=>g});var n=o(6029),i=o(21377),l=o(947),r=o(26331);let a=/(.*)(\s(U.\d+|Olympic Team|Universiade Team|[A-C]|7[Ss])$)/,s=e=>e.normalize("NFD").replace(/[\u0300-\u036f\']/g,"").toLowerCase().replace(/\s/g,"-").replace(/&/g,"and");function d(e){let{translation:t,suffixedTeam:o,showFemaleSuffix:n}=e,i=n?" (F)":"";return o?"".concat(t).concat(o[2]).concat(i):"".concat(t).concat(i)}function c(e){let{original:t,showFemaleSuffix:o}=e,n=a.exec(t),i=(0,l.A)(),r=s(n?n[1]:t),c=i.formatMessage({id:r});return c===r?d({translation:t,showFemaleSuffix:o}):d({translation:c,suffixedTeam:n,showFemaleSuffix:o})}let u=e=>{let{original:t,showFemaleSuffix:o}=e,i=c({original:t,showFemaleSuffix:o});return(0,n.jsx)(n.Fragment,{children:i})};function h(e){var t,o,n,i;let a=(0,r.A)(),s=(0,l.A)(),u=e.team.name;"full"in e&&e.full&&(e.team.fullName||e.team.name)&&(u=e.team.fullName||e.team.name),"short"in e&&e.short&&e.team.shortName&&(u=e.team.shortName);let h=c({original:u,showFemaleSuffix:e.showFemaleSuffix});return"short"in e&&e.short&&(null==(o=e.team.fieldTranslations)||null==(t=o.shortNameTranslation)?void 0:t[a])?d({translation:e.team.fieldTranslations.shortNameTranslation[a],showFemaleSuffix:e.showFemaleSuffix}):(null==(i=e.team.fieldTranslations)||null==(n=i.nameTranslation)?void 0:n[a])?d({translation:e.team.fieldTranslations.nameTranslation[a],showFemaleSuffix:e.showFemaleSuffix}):("No team"===u&&(u=s.formatMessage({id:"player.noTeam"})),e.team.national)?h:d({translation:u,showFemaleSuffix:e.showFemaleSuffix})}let f=e=>{let t=h(e);return(0,n.jsx)(n.Fragment,{children:t})},g=e=>e.gender===i.YT8.Female&&e.type===i.YVh.Regular}}]);