!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]="2a699a9f-cf4d-4875-94cd-b8ff13f6b63b",e._sentryDebugIdIdentifier="sentry-dbid-2a699a9f-cf4d-4875-94cd-b8ff13f6b63b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8056,35729,87887],{1139:(e,t,r)=>{var s=r(68988),a=r(20648);e.exports=function(e,t){return a(e,s(t,2))}},1689:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var s=r(6029),a=r(36729),n=r(56591);r(14632);var l=r(55729),i=r(41735),o=r(77552),d=r(72555);let c=[100,100,100,100,100],u=(e,t)=>{switch(e){case d.eM.AVG:return{fill:t.colors.surface.s2,stroke:t.colors.sofaSingles.value};case d.eM.BASE:return{fill:t.colors.secondary.highlight,stroke:t.colors.secondary.default};case d.eM.COMPARE:return{fill:t.colors.primary.highlight,stroke:t.colors.primary.default};case d.eM.COMPARE_SELF:return{fill:t.colors.surface.s2,stroke:t.colors.neutral.default};default:return{fill:"transparent",stroke:"transparent"}}},p=(e,t,r)=>{let s=e.selectAll("polygon").data(t,(e,t)=>t.toString());s.enter().append("polygon").merge(s).transition("Pentagon transition").ease(a.wq).duration(400).attr("points",e=>{let t=e?(0,d.mc)(e).map(e=>e.value):c;return(0,d.cS)((0,d.tO)(t))}).attr("opacity",e=>+(null!==e)).attr("fill",e=>r.getColorFromVar(u(null==e?void 0:e.__type,r).fill)).attr("stroke",e=>r.getColorFromVar(u(null==e?void 0:e.__type,r).stroke))};function x(e){let{data:t,onGraphClick:r}=e,a=(0,l.useContext)(i.ThemeContext),[d,c]=(0,l.useState)(),u=(0,l.useRef)(null);return(0,l.useEffect)(()=>{if(d)p(d,t,a);else{let e=u.current;c((0,n.A)(e).append("g").on("click",r))}},[d,t]),(0,s.jsx)(o.A,{ref:u})}},3518:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d,i:()=>i.i});var s=r(6029),a=r(90510),n=r(494),l=r(5339),i=r(5921),o=r(52905);function d(e){let{value:t,fromUnit:r}=e,d=(0,n.d4)(o.Y);if(!t)return null;if((0,l.C)(t,r).to("m")>=1e3)return(0,s.jsx)(c,{value:t,fromUnit:r});if(d===i.i.Imperial){let e=function(e,t){let r=(0,l.C)(e,t).to("feet"),s=Math.floor(r),a=Math.round((0,l.C)(r-Math.floor(r),"ft").to("in"));return 12===a&&(s+=1,a=0),{ft:s,in:a}}(t,r);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.Gr,{value:e.ft,style:"unit",unit:"foot",unitDisplay:"narrow"}),"\xa0",(0,s.jsx)(a.Gr,{value:e.in,style:"unit",unit:"inch",unitDisplay:"narrow"})]})}return(0,s.jsx)(a.Gr,{value:(0,l.C)(t,r).to("cm"),style:"unit",unit:"centimeter",unitDisplay:"short"})}function c(e){let{value:t,fromUnit:r}=e,d=(0,n.d4)(o.Y);return t?d===i.i.Imperial?(0,s.jsx)(a.Gr,{value:(0,l.C)(t,r).to("mile"),style:"unit",unit:"mile",maximumFractionDigits:1,unitDisplay:"short"}):(0,s.jsx)(a.Gr,{value:(0,l.C)(t,r).to("km"),style:"unit",unit:"kilometer",maximumFractionDigits:1,unitDisplay:"short"}):null}},3898:(e,t,r)=>{"use strict";r.d(t,{dq:()=>s.default,OE:()=>o,mw:()=>c.TeamMedia,in:()=>d});var s=r(5884),a=r(6029),n=r(21377),l=r(45860),i=r(17239);function o(e){let{playerId:t}=e,{data:r}=(0,l.Ay)(n.qvj.media(t));return r?(0,a.jsx)(i.$,{highlights:r.media}):null}function d(e){let{tournamentId:t}=e,{data:r}=(0,l.Ay)(n.yKR.media(t));return r&&r.media.length?(0,a.jsx)(i.$,{highlights:r.media}):null}r(55342),r(8056);var c=r(35729)},5884:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r(6029),a=r(21377),n=r(45860),l=r(42621),i=r(17239);function o(e){let{eventId:t,hideTitle:r,eventHighlightId:o}=e,{data:d}=(0,n.Ay)(a.bnp.eventHighlights(t));return d?(0,s.jsx)(l.q,{persist:!0,children:(0,s.jsx)(i.$,{highlights:d.highlights,hideTitle:r,eventHighlightId:o})}):null}},7263:(e,t,r)=>{"use strict";r.d(t,{n:()=>s.n});var s=r(3959)},8056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UniqueTournamentMedia:()=>i,default:()=>o});var s=r(6029),a=r(21377),n=r(45860),l=r(17239);function i(e){let{uniqueTournamentId:t,hideTitle:r}=e,{data:i}=(0,n.Ay)(a.V3t.media(t));return i&&i.media.length?(0,s.jsx)(l.$,{highlights:i.media,hideTitle:r}):null}let o=i},11998:(e,t,r)=>{"use strict";r.d(t,{n:()=>l});var s=r(6029),a=r(76356),n=r(48683);function l(){return(0,s.jsxs)(n.Zp,{children:[(0,s.jsx)(n.Zp.Header,{titleId:"media"}),(0,s.jsx)(a.az,{h:"[800px]"})]})}},13062:(e,t,r)=>{"use strict";r.d(t,{W:()=>g});var s=r(6029),a=r(21501),n=r(71024),l=r.n(n),i=r(48683),o=r(80932),d=r(28349),c=r(76356),u=r(90248),p=r(54409);r(93024);var x=r(77552);r(1689);var m=r(47430);function h(){return(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"player.info.attributeOverview",actionComponent:(0,s.jsx)(m.A,{attributes:[]})}),(0,s.jsxs)(c.so,{direction:"column",gap:"lg",pt:"md",pb:"lg",px:"sm",children:[(0,s.jsx)(c.az,{maxW:"[360px]",w:"fit",pt:"xl",mb:"sm",mx:"auto",children:(0,s.jsx)(c.az,{mx:{base:"[78px]",lg:"[86px]"},children:(0,s.jsx)(x.A,{})})}),(0,s.jsx)(c.so,{justify:"center",py:"sm",children:(0,s.jsx)(c.az,{w:"[360px]",h:"[36px]",bg:"surface.s2",br:"lg"})}),(0,s.jsx)(c.az,{h:"6xl",bg:"surface.s2",br:"md"}),(0,s.jsxs)(c.so,{align:"center",gap:"sm",px:"sm",children:[(0,s.jsx)(p.G_L,{minW:24,fill:"onSurface.nLv1"}),(0,s.jsx)(d.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(u.A,{id:"click_for_average_values"})})]})]})]})}let y=l()(()=>r.e(55571).then(r.bind(r,55571)),{loadableGenerated:{webpack:()=>[55571]},ssr:!1,loading:()=>(0,s.jsx)(h,{})});function g(e){let{player:t}=e,{pentagons:r,isPentagonDataLoading:n,isError:l}=(0,o.s)(t.id),d=(0,a.hX)(),c=(null==r?void 0:r.playerPentagons.length)&&0!==r.playerPentagons[0].yearShift?null:r;return l||null===c&&!n?null:(0,s.jsxs)(i.Zp,{children:[(d||n)&&(0,s.jsx)(h,{}),!d&&!n&&!!c&&(0,s.jsx)(y,{basePlayer:t,basePentagons:c})]})}},14196:(e,t,r)=>{"use strict";r.d(t,{G:()=>a,v:()=>n});var s=r(21377);let a=[s.QCR.AmericanFootball,s.QCR.Basketball],n=[s.QCR.AmericanFootball,s.QCR.Basketball,s.QCR.Football]},17239:(e,t,r)=>{"use strict";r.d(t,{$:()=>E});var s=r(6029),a=r(4967),n=r(28349),l=r(76356),i=r(93338),o=r(99064),d=r(55729),c=r(90248),u=r(494),p=r(48683),x=r(62859),m=r(54409),h=r(75751),y=r(47146),g=r(61836),j=r(10794);let f=(0,l.I4)("div",{base:{display:"grid",w:"[144px]",h:"8xl",position:"absolute",top:"0",left:"0",bg:"overlay.darken1","& svg":{margin:"auto"}}}),v=(0,l.I4)("div",{base:{"& a:visited":{"& .media-component-seen-notice":{color:"neutral.default !important"}},"& img":{display:"block",br:"2xs"}}});var b=r(21377);let _=/sofascore.com\/news\//g,w=[b.zut.MEDIA_VIDEO,b.zut.MEDIA_NEWS_VIDEO,b.zut.MEDIA_YOUTUBE_VIDEO],C=e=>_.test(e),A=e=>-1!==w.indexOf(e),k=e=>{let t=document.createElement("a");return t.href=e,t.host},S=e=>{if(e){let r=k(e);if("www.youtube.com"===r){let t=new URL(e).searchParams.get("v");return"https://img.youtube.com/vi/".concat(t,"/0.jpg")}if("youtu.be"===r){var t;let r=null==(t=new URL(e).pathname)?void 0:t.slice(1);return"https://img.youtube.com/vi/".concat(r,"/0.jpg")}}},T=e=>{let{highlight:t}=e;return(0,s.jsx)(l.I4.a,{href:t.url,target:"_blank",rel:t.doFollow||C(t.url)?void 0:"nofollow",onClick:()=>(0,g.Xy)(t.title),children:(0,s.jsxs)(l.so,{gap:"lg",children:[(0,s.jsxs)(l.az,{position:"relative",children:[(0,s.jsx)(o._V,{src:t.thumbnailUrl||S(t.url),width:"144",height:"80",fallback:(0,s.jsx)(l.az,{w:"[144px]",h:"8xl",bg:"neutrals.nLv4",display:"grid",br:"2xs",children:(0,s.jsx)(m.dwH,{m:"auto",fill:i.S.var("colors.neutrals.nLv4")})}),alt:"thumbnail"}),A(t.mediaType)&&(0,s.jsx)(f,{children:(0,s.jsx)(m.reY,{fill:"white"})})]}),(0,s.jsxs)(l.so,{direction:"column",justify:"space-between",grow:1,style:{maxWidth:"calc(100% - 144px)"},children:[(0,s.jsxs)(l.so,{direction:"column",align:"start",gap:"xs",children:[(0,s.jsx)(n.Ym,{textStyle:"display.small",display:"block",lineClamp:2,children:t.title}),(0,s.jsx)(n.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",w:"100%",lineClamp:1,children:t.subtitle})]}),(0,s.jsxs)(l.so,{justify:"space-between",pt:"xs",children:[(0,s.jsx)(n.Ym,{textStyle:"body.small",color:"neutrals.nLv3",w:"100%",_firstLetter:{textTransform:"capitalize"},truncate:!0,children:(0,s.jsx)(y.v,{timestamp:(0,a.pp)(t.createdAtTimestamp).getTime()})}),(0,s.jsx)(n.EY,{"aria-hidden":"true",userSelect:"none",textStyle:"body.small",color:"[transparent]",className:"media-component-seen-notice",w:"100%",textAlign:"end",truncate:!0,children:(0,s.jsx)(c.A,{id:"basic.seen"})})]})]})]})})},E=e=>{let{highlights:t,hideTitle:r,eventHighlightId:a}=e,[i,o]=(0,d.useState)(!1),c=(0,u.d4)(j.JV),m=(0,u.d4)(j.LQ),{location:y}=(0,d.useContext)(x.y$),g=y===x.cb.Widget,{isDesktop:f}=(0,n.$c)(),b=!f||g,_=(function(e){let{media:t,selectedLocale:r,geoIPAlpha2:s,n:a=10}=e;return t.sort((e,t)=>t.createdAtTimestamp-e.createdAtTimestamp).filter(e=>!e.forCountries||!e.forCountries.length||-1!==e.forCountries.indexOf(r.toUpperCase())||-1!==e.forCountries.indexOf(s.toUpperCase())).slice(0,a)})({media:[...t],selectedLocale:c,geoIPAlpha2:m||""}).filter(e=>e.id!==a),w=_.length>3,C=i||b?_:_.slice(0,3);return C.length?(0,s.jsx)(h.t,{tag:"Media",children:(0,s.jsxs)(p.Zp,{children:[!r&&(0,s.jsx)(p.Zp.Header,{titleId:"media",as:"h4"}),(0,s.jsx)(l.az,{py:b?"sm":void 0,children:(0,s.jsx)(v,{children:(0,s.jsx)(p.BU,{children:C.map(e=>(0,s.jsx)(T,{highlight:e},e.id))})})}),!b&&(0,s.jsx)(p.Zp.Footer,{ctaParams:w?{messageId:i?"show_less":"show_more",onClick:()=>o(e=>!e),icon:i?p.Xb.Up:p.Xb.Down}:void 0})]})}):null}},18040:(e,t,r)=>{"use strict";r.d(t,{O:()=>p});var s=r(6029),a=r(21377),n=r(28349),l=r(947),i=r(90248),o=r(12153),d=r(14444),c=r(68228),u=r(54409);let p=e=>{let{id:t,type:r,sport:p,secondId:x}=e,{formatMessage:m}=(0,l.A)(),{isMobile:h}=(0,n.$c)(),y="player"===r||p===a.QCR.Tennis?u.cSg:u.l3$;return(0,s.jsx)(o.A,{routeKey:"comparison",query:(0,d.k9)(x?[t,x]:[t]),params:{sport:p,entityType:r},"aria-label":m({id:"compare"}),children:h?(0,s.jsxs)(n.$n,{size:"tertiary",children:[(0,s.jsx)(y,{}),(0,s.jsx)(i.A,{id:"compare"})]}):(0,s.jsx)(c.u,{label:m({id:"compare"}),children:(0,s.jsx)(y,{})})})}},18916:(e,t,r)=>{"use strict";r.d(t,{F0:()=>a,N8:()=>l,qT:()=>n});var s=r(21377);let a=[s.QCR.Football,s.QCR.Futsal,s.QCR.Handball,s.QCR.Basketball,s.QCR.AmericanFootball,s.QCR.IceHockey,s.QCR.Tennis,s.QCR.Volleyball],n=[s.QCR.AmericanFootball,s.QCR.Handball,s.QCR.Baseball],l=["overall","playoffs","regularSeason","top16"]},20339:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var s=r(6029),a=r(33144),n=r(21377),l=r(4967),i=r(28349),o=r(76356),d=r(90248),c=r(90510),u=r(45860),p=r(48683),x=r(13266),m=r(94604);function h(e){let{id:t,children:r}=e;return(0,s.jsxs)(o.so,{direction:"column",align:"center",children:[(0,s.jsx)(i.EY,{textStyle:"assistive.micro",textTransform:"uppercase",color:"neutrals.nLv3",children:(0,s.jsx)(d.A,{id:t})}),(0,s.jsx)(i.EY,{textStyle:"display.medium",children:r})]})}let y=function(e){var t;let{playerId:r}=e,{data:y}=(0,u.Ay)(n.qvj.nationalTeamStatistics(r));return(null==y||null==(t=y.statistics)?void 0:t.length)?(0,s.jsxs)(p.Zp,{children:[(0,s.jsx)(p.Zp.Header,{titleId:"national_team"}),y.statistics.map(e=>{let{team:t,appearances:r,goals:u,debutTimestamp:p}=e;return(0,s.jsxs)(o.BJ,{gap:"lg",px:"lg",py:"sm",children:[(0,s.jsx)(x.gT,{team:t,sport:t.sport.slug,children:(0,s.jsxs)(o.so,{align:"center",gap:"lg",children:[(0,s.jsx)(a.p,{national:!0,size:40,id:t.id}),(0,s.jsxs)(o.BJ,{gap:"0",children:[(0,s.jsx)(i.EY,{textStyle:"display.medium",children:(0,s.jsx)(m.Rm,{team:t,showFemaleSuffix:t.gender===n.YT8.Female})}),(0,s.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(d.A,{id:"national_team"})})]})]})}),(0,s.jsxs)(o.so,{align:"center",justify:"space-between",children:[(0,s.jsx)(h,{id:"national_team_debut",children:(0,s.jsx)(c.XU,{value:new Date(1e3*p),timeZone:"UTC",...l.or.dateWithShortMonth})}),(0,s.jsx)(h,{id:"match_appearances",children:r}),(0,s.jsx)(h,{id:"goals",children:u})]})]},"".concat(t.id,"-").concat(p))}),(0,s.jsx)(p.Zp.Footer,{defaultHeight:"sm"})]}):null}},20648:(e,t,r)=>{var s=r(57760),a=0/0;e.exports=function(e,t){var r=null==e?0:e.length;return r?s(e,t)/r:a}},23685:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c});var s=r(6029),a=r(21377),n=r(947),l=r(494),i=r(7786),o=r(49254),d=r(10794);let c=e=>{let{utId:t,location:r,bgImageUrl:c}=e,u=(0,l.d4)(d.LQ),p=(0,n.A)();return u&&o.p.includes(u)&&t===a.G6l.NBA?(0,s.jsx)(i.Q,{banner:{copy:{action:p.formatMessage({id:"link_visit_nba"}),description:p.formatMessage({id:"banner_nba_league_pass_description"}),sectionTitle:p.formatMessage({id:"banner_nba_league_pass_title"})},type:a.$pL.LogoBanner,background:a.jae.EntityHeader,detailImageUrl:{ltr:"/static/images/nba-league-pass/league-pass-logo.svg",rtl:"/static/images/nba-league-pass/league-pass-logo.svg"},campaignName:"nba_league_pass",url:"https://nba.sjv.io/c/5441787/2176796/16284"},bgImageUrl:c,location:r}):null}},26194:(e,t,r)=>{var s=r(83965),a=r(37390),n=r(45895),l=r(48877);e.exports=n(function(e,t){if(null==e)return[];var r=t.length;return r>1&&l(e,t[0],t[1])?t=[]:r>2&&l(t[0],t[1],t[2])&&(t=[t[0]]),a(e,s(t,1),[])})},32097:(e,t,r)=>{"use strict";r.d(t,{H:()=>p,a:()=>x});var s=r(21377),a=r(66062),n=r(61836),l=r(83151),i=r(89606);let o=(e,t)=>{var r;return t.id===l.v.Courtside1891&&e.team.sport.slug===s.QCR.Basketball&&(null==(r=e.country)?void 0:r.alpha2)&&a.bx.includes(e.country.alpha2)},d=(e,t)=>{switch(t.id){case l.v.Courtside1891:return e.id===a.MS;case l.v.Utr:var r;return(null==(r=e.category)?void 0:r.sport.slug)===s.QCR.Tennis;default:return!1}},c=(e,t)=>{var r,n;switch(t.id){case l.v.Courtside1891:return(null==(r=e.tournament.uniqueTournament)?void 0:r.id)===a.MS;case l.v.Utr:return(null==(n=e.tournament.category)?void 0:n.sport.slug)===s.QCR.Tennis;default:return!1}},u=(e,t)=>{switch(t.id){case l.v.Courtside1891:var r;return e.sport.slug===s.QCR.Basketball&&(null==(r=e.country)?void 0:r.alpha2)&&a.bx.includes(e.country.alpha2);case l.v.Utr:return e.sport.slug===s.QCR.Tennis;default:return!1}},p=(e,t)=>{switch(e.location){case n.XN.PlayerScreen:return o(e.entity,t);case n.XN.LeagueScreen:return d(e.entity,t);case n.XN.EventScreen:return c(e.entity,t);case n.XN.TeamScreen:return u(e.entity,t);default:return!1}},x=(e,t)=>!!(0,i.v)(t)&&p(e,t)},34264:(e,t,r)=>{"use strict";r.d(t,{HU:()=>d.HU,KG:()=>o,Sz:()=>d.Sz,Bg:()=>d.Bg});var s=r(6029),a=r(78383),n=r.n(a),l=r(93024),i=r(1689);function o(e){let{attributes:t,pentagonLayers:r,isAnotherPlayerCompare:a,onGraphClick:o=n()}=e;return(0,s.jsx)(l.A,{data:t,isAnotherPlayerCompare:a,children:(0,s.jsx)(i.A,{data:r,onGraphClick:o})})}var d=r(72555)},35729:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TeamMedia:()=>o,default:()=>d});var s=r(6029),a=r(21377),n=r(45860),l=r(17239),i=r(11998);function o(e){let{teamId:t,hideTitle:r}=e,{data:o,isLoading:d,error:c}=(0,n.Ay)(a.cWY.media(t));return d?(0,s.jsx)(i.n,{}):!o||c?null:(0,s.jsx)(l.$,{highlights:o.media,hideTitle:r})}let d=o},45384:(e,t,r)=>{"use strict";r.d(t,{A:()=>B});var s=r(6029),a=r(21377),n=r(76356),l=r(95816),i=r.n(l),o=r(48683),d=r(75751),c=r(90536),u=r(54075),p=r(28349),x=r(93338),m=r(97481),h=r.n(m),y=r(55729),g=r(90248),j=r(947),f=r(54409),v=r(28446);let b=(0,v.A)().domain([5,9]).range([0,108]);var _=r(21501),w=r(56591),C=r(41735);let A=C.default.svg.withConfig({componentId:"sc-d652293c-0"})(["position:absolute;top:44px;left:",";height:","px;pointer-events:none;"],e=>e.theme.spacing.sm,()=>108);function k(e){let{injuries:t,transfers:r,yearAvgRating:a,containerId:n,graphId:l}=e,i=(0,y.useContext)(C.ThemeContext);return(0,_.st)(()=>{let e=(0,w.A)("#".concat(n));e.append("defs").attr("id","mainDefs");let s=document.getElementById(l);if(!s)return;let o=s.clientWidth-20;e.style("width","".concat(o,"px")).style("overflow","visible"),"rtl"===i.settings.textDirection&&e.style("transform","scaleX(-1)"),function(e,t,r,s){let{formattedRating:a,ratingColorKey:n}=(0,u.M)(r,"sideBox"),l=b(Number(a)),[i,o]=n.split("."),d=s.colors[i][o],c=e.selectAll("line.avg-line").data([{x1:0,x2:t,y1:l,y2:l}]);c.enter().append("line").merge(c).attr("stroke",d).classed("avg-line",!0).style("stroke-dasharray","3, 4").style("stroke-width",2).attr("y1",e=>108-e.y1).attr("y2",e=>108-e.y2).attr("x1",e=>e.x1).attr("x2",e=>e.x2)}(e,o,a,i),(null==t?void 0:t.length)&&function(e,t,r,s,a){let n=s.colors.error.default,l=(0,v.A)().domain(c.aQ()).range([0,t]).clamp(!0),i=r.map(e=>{let t=l(1e3*e.timestamp),r=l((e.timestamp+Number(e.value))*1e3);return{y:0,x:t<0?0:t,width:t<0?r:r-t,height:108}}),o=(0,w.A)("#".concat(a,"-defs")).selectAll("clipPath").data(i);o.exit().remove(),o.enter().append("clipPath").attr("id",(e,t)=>"round-corner-".concat(t)).append("rect").merge(o).each(function(e){("rect"===this.nodeName?(0,w.A)(this):(0,w.A)(this).selectChild("rect")).attr("width",e.width).attr("height",e.height+2).attr("rx",2).attr("ry",2).attr("x",e.x).attr("y",e.y)});let d=e.selectAll("rect.bar").data(i);d.exit().remove(),d.enter().append("rect").classed("bar",!0).merge(d).attr("y",e=>e.y).attr("x",e=>e.x).attr("width",e=>e.width).attr("height",e=>e.height).attr("fill",n).attr("opacity",.15).attr("clip-path",(e,t)=>"url(#round-corner-".concat(t,")"));let u=e.selectAll("svg.injury").data(i);u.exit().remove(),u.enter().append("svg").attr("width",24).attr("height",24).attr("viewBox","0 0 24 24").merge(u).attr("y",0).attr("x",e=>e.x+e.width/2-12).classed("injury",!0).append("path").attr("d","M15 4.5V9h4.5v6h-4.501L15 19.5H9L8.999 15H4.5V9H9V4.5h6z").attr("fill",n)}(e,o,t,i,l),(null==r?void 0:r.length)&&function(e,t,r,s){let a=s.colors.primary.default,n=(0,v.A)().domain(c.aQ()).range([0,t]),l=e.selectAll("line.transfer-date").data(r),i=e.selectAll("svg.transfer").data(r);l.exit().remove(),i.exit().remove(),l.enter().append("line").merge(l).attr("stroke",a).classed("transfer-date",!0).style("stroke-width",2).attr("y1",22).attr("y2",108).attr("x1",e=>n(1e3*e.timestamp)).attr("x2",e=>n(1e3*e.timestamp)),i.enter().append("svg").attr("width",24).attr("height",24).attr("viewBox","0 0 24 24").merge(i).attr("y",0).attr("x",e=>n(1e3*e.timestamp)-12).classed("transfer",!0).append("path").attr("d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 16h-1v-4.5H5v-3h7V6h1l7 6-7 6z").attr("fill",a)}(e,o,r,i)},100,[a]),(0,s.jsx)(A,{id:n})}function S(){return(0,s.jsxs)(n.az,{pb:"[18px]",pt:"2xl",ml:"xs",children:[(0,s.jsxs)(n.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(n.az,{h:"[18px]",w:"[6px]",bg:"rating.s80",borderTopRadius:"2xs"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s80",children:"8"})]}),(0,s.jsxs)(n.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(n.az,{h:"[36px]",w:"[6px]",bg:"rating.s70"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s70",children:"7"})]}),(0,s.jsx)(n.az,{h:"[18px]",w:"[6px]",bg:"rating.s65"}),(0,s.jsxs)(n.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(n.az,{h:"[18px]",w:"[6px]",bg:"rating.s60"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s60",children:"6"})]}),(0,s.jsx)(n.az,{h:"[18px]",w:"[6px]",bg:"rating.s10"})]})}function T(e){let{showInjury:t,showTransfer:r}=e,{isMobile:a}=(0,p.$c)();return(0,s.jsxs)(n.zt,{gap:"2xl",px:"lg",py:"xs",children:[(0,s.jsxs)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",children:[(0,s.jsx)(f.wjs,{mr:"sm",fill:"secondary.default"}),(0,s.jsx)(g.A,{id:"click_image_to_swap",values:{isMobile:a}})]}),(0,s.jsxs)(n.so,{gap:"2xl",children:[t&&(0,s.jsxs)(n.so,{children:[(0,s.jsxs)(n.az,{position:"relative",w:"xl",h:"xl",mr:"sm",children:[(0,s.jsx)(n.az,{position:"absolute",w:"xl",h:"xl",bg:"status.error.default",style:{opacity:.15},br:"2xs"}),(0,s.jsx)(f.p5Z,{position:"absolute",fill:"error.default",width:24,height:24})]}),(0,s.jsx)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(g.A,{id:"player_injured"})})]}),r&&(0,s.jsxs)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:[(0,s.jsx)(f.G4W,{fill:"primary.default",mr:"sm",width:24,height:24}),(0,s.jsx)(g.A,{id:"player.transferLoan"})]})]})]})}function E(e){let{month:t,avgRating:r,appearances:a,showAppearances:l,showMonth:i}=e,o=(0,j.A)(),[d,m]=t.split("-").map(Number),h=new Date(d,m,0).getTime(),{formattedRating:y,ratingColorKey:g}=(0,u.M)(r),f=x.S.var(c.Et(g)),v=b(Number(y));return(0,s.jsxs)(n.so,{direction:"column",justify:"space-between",px:"xs",grow:"1",children:[(0,s.jsx)(p.EY,{h:"lg",textAlign:"center",textStyle:"assistive.default",color:"neutrals.nLv3",display:"block",mb:"lg",children:i&&o.formatDate(h,{month:"short"}).slice(0,3)}),(0,s.jsx)(n.so,{direction:"column",justify:"flex-end",mb:"xs",style:{height:108},children:(0,s.jsx)(n.az,{borderTopRadius:"2xs",style:{backgroundColor:f,height:"".concat(v,"%")}})}),r&&(!l||a)?l?(0,s.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:a}):(0,s.jsx)(p.EY,{textStyle:"table.small",textAlign:"center",lineClamp:1,display:"block",style:{color:f},children:y}):(0,s.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:"-"})]})}let L=function(e){var t,r;let[l,i]=(0,y.useState)(!1),o=(0,y.useMemo)(()=>{let t=c.o5(),r=c.mR(e.summary);return h()(t,r)},[e.summary]),d=Object.keys(o).sort(),u=d.map(e=>{let t=o[e];return(null==t?void 0:t.length)?c.AG(t.map(e=>e.value)):0}),x=(0,y.useCallback)(()=>i(e=>!e),[]),m=null==(t=e.summary)?void 0:t.filter(e=>e.type===a.XFZ.Injury),j=null==(r=e.summary)?void 0:r.filter(e=>e.type===a.XFZ.Transfer);return(0,s.jsxs)(n.BJ,{gap:"sm",children:[(0,s.jsxs)(n.az,{id:"LYS-graph-root",cursor:"pointer",onClick:x,children:[(0,s.jsxs)(n.so,{id:e.graphId,py:"md",px:"xs",position:"relative",children:[d.map((e,t)=>{var r;return(0,s.jsx)(n.az,{style:{width:"".concat(100/d.length,"%")},children:(0,s.jsx)(E,{month:e,avgRating:u[t],appearances:(null==(r=o[e])?void 0:r.length)||0,showAppearances:l,showMonth:t%2!=0})},e)}),(0,s.jsx)(S,{}),(0,s.jsx)(k,{injuries:m,transfers:j,yearAvgRating:e.yearAvgRating,containerId:e.containerId,graphId:e.graphId})]}),(0,s.jsx)(p.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",px:"sm",pb:"lg",children:(0,s.jsx)(g.A,{id:l?"season_rating_graph_description_matches":"season_rating_graph_description_ratings"})})]}),(0,s.jsx)(T,{showInjury:!!(null==m?void 0:m.length),showTransfer:!!(null==j?void 0:j.length)})]})};var P=r(53684),M=r(13731),I=r.n(M),z=r(1139),R=r.n(z),H=r(26194),D=r.n(H),U=r(80734),Y=r(42621),F=r(13266),N=r(52695);function O(e){let{uniqueTournamentsMap:t,summary:r}=e,a=Object.values(t),l=r.filter(e=>e.uniqueTournamentId),i=I()(l,"uniqueTournamentId");a=D()(a,e=>-1*i[e.id].length);let o=Object.keys(t).reduce((e,t)=>{let r=R()(i[t],e=>Number(e.value));return e[t]=r,e},{}),d=e=>i[e].length;return(0,s.jsx)(U.n,{children:a.map((e,t)=>(0,s.jsx)(F.tQ,{tournament:e,children:(0,s.jsxs)(n.so,{px:"lg",cursor:"pointer",gap:"lg",align:"center",_hover:{bg:"surface.s2"},children:[(0,s.jsx)(P.e,{id:e.id,size:40}),(0,s.jsxs)(n.so,{grow:1,borderTopColor:"neutrals.nLv4",borderTop:t?"1px solid":void 0,gap:"lg",align:"center",children:[(0,s.jsxs)(n.az,{py:"sm",children:[(0,s.jsx)(p.EY,{textStyle:"body.medium",color:"neutrals.nLv1",mb:"xs",display:"block",children:(0,s.jsx)(N.O,{uniqueTournament:e})}),(0,s.jsx)(p.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:(0,s.jsx)(g.A,{id:"player.tournamentAppearances",values:{number:d(e.id)}})})]}),(0,s.jsx)(Y.q,{persist:!0,children:(0,s.jsx)(P.G,{rating:o[e.id],format:"sideBox"})})]})]})},e.id))})}function B(e){let{lastYearSummary:t,uniqueTournamentsMap:r,containerId:l,graphId:u}=e;if(!(null==t?void 0:t.length))return null;let p=(0,c.AG)(t.filter(e=>e.type===a.XFZ.Event).map(e=>e.value));return(0,s.jsx)(d.t,{tag:"LastYearSummary",children:(0,s.jsxs)(o.Zp,{children:[(0,s.jsx)(o.Zp.Header,{titleId:"season_rating_graph_title"}),(0,s.jsx)(n.az,{w:"100%",px:"sm",children:(0,s.jsx)(L,{summary:t,yearAvgRating:p,containerId:l,graphId:u})}),i()(r)?(0,s.jsx)(o.Zp.Footer,{}):(0,s.jsx)(n.az,{pt:"xs",children:(0,s.jsx)(O,{summary:t,uniqueTournamentsMap:r})})]})})}},45547:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>tl});var s=r(6029),a=r(21377),n=r(19451),l=r(73088),i=r(52951),o=r(55729),d=r(62859),c=r(39676),u=r(42678),p=r(21295),x=r(41896),m=r(61836),h=r(95669),y=r.n(h),g=r(19643),j=r(50417),f=r(26331),v=r(6675),b=r(84942);function _(e){var t,r;let{player:a}=e,n=(0,f.A)(),o=a.team.sport.slug,d=l.z.getTranslatedCanonicalRoute(n,"player",{id:a.id,slug:a.slug,sport:o}).route,c=null!=(r=null==(t=a.country.alpha2)?void 0:t.toLowerCase())?r:"",u=a.createdByEditor?!(0,g.N)(c,n):(0,j.v)(o,n);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(y(),{children:[(0,s.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(d)}),u&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,s.jsx)(v.N9,{player:a}),(0,s.jsx)(i.Ay,{metaKey:"player",values:{player:(0,b.s)(a,n),team:(0,b.s)(a.team,n)}})]})}var w=r(28349),C=r(76356),A=r(81278),k=r(90248),S=r(48683),T=r(76868),E=r(70010),L=r(97944),P=r(84677),M=r(38296),I=r(58047),z=r(14196),R=r(86679),H=r(30479),D=r(33752),U=r(98449),Y=r(13266),F=r(27289),N=r(52695);function O(e){var t;let{player:r,sport:a,uniqueTournament:n}=e,{seoContent:l}=(0,o.useContext)(i.xV);return(0,s.jsxs)(D.B,{children:[(0,s.jsx)(D.B.Item,{children:(0,s.jsx)(Y.di,{translatedParams:{sport:a.slug},children:(0,s.jsx)(F.o,{sportSlug:a.slug})})}),n?(0,s.jsx)(D.B.Item,{children:(0,s.jsx)(Y.Z6,{category:n.category,children:(0,s.jsx)(U.m,{slug:null==n?void 0:n.category.slug,name:(null==n?void 0:n.category.name)||(null==(t=r.team.country)?void 0:t.name)||"N/A"})})}):null,n?(0,s.jsx)(D.B.Item,{children:(0,s.jsx)(Y.tQ,{tournament:n,children:(0,s.jsx)(N.O,{uniqueTournament:n})})}):null,(0,s.jsx)(D.B.Title,{children:(null==l?void 0:l.heading)||"".concat(r.name," - Sofascore")})]})}var B=r(15070),W=r(18916),Q=r(75751),G=r(42621),q=r(91294),K=r(3898),Z=r(60908),V=r(23685);let X=(0,o.memo)(function(e){var t;let{player:r}=e,{isFantasyEnabled:n}=(0,P.t)(),{showFantasyStatistics:l}=(0,R.A)({showFantasyStatistics:{route:a.lVT.playerCompetitions(r.id),skipCheck:!n}},[r.id,n]);return(0,s.jsxs)(Q.t,{tag:"PlayerSidebar",children:[(0,s.jsx)(Z._,{page:{location:m.XN.PlayerScreen,entity:r}}),(0,s.jsx)(V.Y,{utId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id,location:m.XN.PlayerScreen,bgImageUrl:a.cWY.image(r.team.id)}),l&&(0,s.jsx)(q.pk,{utIds:null}),(0,s.jsx)(G.q,{persist:!0,children:(0,s.jsx)(K.OE,{playerId:r.id})})]})},function(e,t){return e.player.id===t.player.id});var $=r(56566),J=r(99064),ee=r(71024),et=r.n(ee),er=r(69964);let es=et()(()=>r.e(67658).then(r.bind(r,67658)),{loadableGenerated:{webpack:()=>[67658]},loading:()=>(0,s.jsx)(C.az,{pb:"lg",children:(0,s.jsx)(er.A,{})})});function ea(e){let{player:t}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:I.x.Career,children:(0,s.jsx)(es,{player:t})})}var en=r(69559);let el=et()(()=>Promise.all([r.e(50612),r.e(24484)]).then(r.bind(r,24484)),{loadableGenerated:{webpack:()=>[24484]},ssr:!1,loading:()=>(0,s.jsx)(C.az,{h:"[1100px]"})}),ei=et()(()=>Promise.all([r.e(50612),r.e(8904)]).then(r.bind(r,8904)),{loadableGenerated:{webpack:()=>[8904]},ssr:!1,loading:()=>(0,s.jsx)(C.az,{h:"[496px]"})});function eo(e){let t=(0,en.o)();return z.G.includes(t)?(0,s.jsx)(ec,{player:e.player,transfers:e.transfers}):(0,s.jsx)(ed,{...e})}function ed(e){return(0,s.jsx)(J.tU.Panel,{tabKey:I.x.Details,children:(0,s.jsx)(el,{...e})})}function ec(e){return(0,s.jsx)(J.tU.Panel,{tabKey:I.x.Info,children:(0,s.jsx)(ei,{...e})})}let eu=et()(()=>Promise.all([r.e(29561),r.e(91944)]).then(r.bind(r,91944)),{loadableGenerated:{webpack:()=>[91944]},ssr:!1,loading:()=>(0,s.jsx)(C.az,{h:"[1000px]"})});function ep(e){let{playerId:t}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:I.x.PlayerFantasy,children:(0,s.jsx)(eu,{playerId:t})})}let ex=et()(()=>Promise.all([r.e(43139),r.e(21632),r.e(87120),r.e(60688),r.e(23296)]).then(r.bind(r,23296)),{loadableGenerated:{webpack:()=>[23296]},loading:()=>(0,s.jsx)(C.az,{h:"[1000px]"})});function em(e){let{player:t,sport:r}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:z.G.includes(r)?I.x.Season:I.x.Statistics,children:(0,s.jsx)(ex,{player:t,sport:t.team.sport.slug})})}var eh=r(62827);function ey(e,t){return e===a.QCR.Volleyball?I.x.Statistics:z.G.includes(e)?t.find(e=>e.tabKey===I.x.Season&&!1===e.isHidden)?I.x.Season:I.x.Info:I.x.Details}function eg(e){let t=function(e){e.startsWith("#")&&(e=e.slice(1));let t={};return e.split(",").forEach(e=>{let[r,s]=e.split(":");r&&(t[r]=s)}),t}(window.location.hash);delete t[e],window.location.hash=Object.entries(t).map(e=>{let[t,r]=e;return"".concat(t,":").concat(r)}).join(",")}var ej=r(76735);function ef(e){var t;let{player:r,...i}=e,{isFantasyEnabled:o,showFantasyEntry:d}=(0,P.t)(),u=(0,f.A)(),p=(0,A.useRouter)(),x=r.team.sport,[m,h]=(0,H.Ay)({routeKey:n.xW.Player,params:{slug:r.slug,id:r.id,sport:x.slug}}),{isEmpty:y}=(0,ej.z)({player:r,...i}),{hasStatisticsTab:g,hasFantasyData:j,hasCareerData:v}=(0,R.A)({hasStatisticsTab:{route:a.qvj.uniqueTournamentSeasons(r.id),skipCheck:!W.F0.includes(x.slug)},hasFantasyData:{route:a.lVT.playerCompetitions(r.id),skipCheck:!o},hasCareerData:{route:a.qvj.uniqueTournamentSeasonsStatistics(r.id),skipCheck:!z.v.includes(x.slug)}},[r.id,o]),b=r.team.primaryUniqueTournament,_=!1===y,D=d&&j,U=v&&g,Y=(t=x.slug,z.G.includes(t)?[{tabKey:I.x.Season,item:"season",isHidden:!g},{tabKey:I.x.Career,item:"am_football_career_tab",isHidden:!U},{tabKey:I.x.Info,item:"info",isHidden:!_},{tabKey:I.x.PlayerFantasy,item:"fantasy_game",isHidden:!D}]:[{tabKey:I.x.Details,item:"details",isHidden:!_},{tabKey:I.x.Statistics,item:"statistics",isHidden:!g},{tabKey:I.x.Career,item:"am_football_career_tab",isHidden:!U},{tabKey:I.x.PlayerFantasy,item:"fantasy_game",isHidden:!D}]),F=(null==m?void 0:m.tab)||ey(x.slug,Y),N=[_,g,U,D].every(e=>!1===e);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(O,{player:r,sport:x,uniqueTournament:b}),(0,s.jsx)(B.A,{player:r}),(0,s.jsxs)(E.xA,{py:"md",children:[(0,s.jsxs)(E.fv,{flexGrow:1,children:[(0,s.jsx)(C.az,{className:"player-matches-section",children:(0,s.jsx)(L.S,{id:r.id,entity:a.wNW.Player,player:r,transfers:i.transfers})}),(0,s.jsx)(X,{player:r}),(0,s.jsx)(c.Aq,{route:n.xW.Player})]}),(0,s.jsxs)(E.fv,{flexGrow:2,children:[(0,s.jsx)(S.Zp,{children:N?(0,s.jsxs)(C.BJ,{gap:"0",align:"center",mb:"4xl",children:[(0,s.jsx)(T.p,{titleMessageId:"player_empty_state_header",descriptionMessageId:"player_empty_state_body",graphic:"add-item"}),(0,s.jsx)(w.$n,{variant:"outline",onClick:()=>{var e;(null==(e=window.history)?void 0:e.length)>1?p.back():p.push(l.z.getTranslatedRoute(u,"eventList",{sport:x.slug}).route)},children:(0,s.jsx)(k.A,{id:"button_go_back"})})]}):(0,s.jsx)(S.WC,{variant:"square-desktop",children:(0,s.jsxs)(M.A,{id:r.id,location:I.C.PlayerPage,initialTabKey:F,customControls:[F,e=>{h("tab",e),eg("defaultUniqueTournamentId"),eg("defaultSeasonId"),eg("defaultSeasonType")}],tabs:Y,children:[_&&(0,s.jsx)(eo,{player:r,...i}),g&&(0,s.jsx)(em,{player:r,sport:x.slug}),U&&(0,s.jsx)(ea,{player:r}),D&&(0,s.jsx)(ep,{playerId:r.id})]})})}),(0,s.jsx)($.A,{player:r})]})]})]})}var ev=r(8329),eb=r(4967),e_=r(947),ew=r(90510),eC=r(54409),eA=r(3518),ek=r(54917),eS=r(55938);let eT=e=>{let{label:t,value:r,inLine:a,children:n,onClick:l}=e;return r||n?(0,s.jsxs)(J.az,{w:a?"auto":"33%",pt:"md",pb:10,px:"lg",onClick:l,cursor:l?"pointer":void 0,children:[(0,s.jsx)(J.EY,{font:"assistive.micro",color:"onSurface.nLv3",align:"center",mb:"xxs",as:"div",textTransform:"uppercase",children:t}),(0,s.jsx)(J.EY,{font:"display.medium",color:"onSurface.nLv1",align:"center",as:"div",children:r||n})]}):null},eE=e=>{var t,r;let{player:n,inLine:l}=e,i=(0,e_.A)(),c=(0,o.useContext)(d.Ws),[u,p]=(0,o.useState)(!1),x=(0,s.jsx)(ew.XU,{value:new Date(1e3*n.dateOfBirthTimestamp),...eb.or.dateWithShortMonth,timeZone:"UTC"}),m=[a.QCR.Handball,a.QCR.Football,a.QCR.Basketball,a.QCR.IceHockey,a.QCR.Baseball,a.QCR.AmericanFootball].includes(c),h=async()=>{u||(p(!0),setTimeout(()=>{p(!1)},3e3),await (0,eh.MZ)((0,s.jsxs)(J.so,{align:"center",children:[(0,s.jsx)(eC.G_L,{fill:"onColor.primary",mr:"lg"}),(0,s.jsx)(J.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,s.jsx)(ek.F,{id:n.position,sport:c})})]})))};return(0,s.jsxs)(J.so,{justify:l?"space-around":void 0,wrap:"wrap",children:[(null==(t=n.country)?void 0:t.alpha2)&&(0,s.jsx)(eT,{label:(0,s.jsx)(k.A,{id:"nationality"}),inLine:l,children:(0,s.jsxs)(J.so,{align:"center",justify:"center",gap:"xs",children:[(0,s.jsx)(ev.w,{alpha2:n.country.alpha2,name:n.country.alpha2,size:16,national:!0}),(0,s.jsx)("span",{children:(0,eS.KH)(n.country.alpha2)})]})}),n.deceased&&n.dateOfBirthTimestamp&&(0,s.jsx)(eT,{label:x,value:(0,s.jsx)(k.A,{id:"deceasedYear",values:{year:n.dateOfDeathTimestamp?(0,s.jsx)(ew.XU,{value:1e3*n.dateOfDeathTimestamp,year:"numeric"}):void 0}}),inLine:l}),n.dateOfBirthTimestamp&&!n.deceased&&(0,s.jsx)(eT,{label:x,value:"".concat((0,eb.KW)(n.dateOfBirthTimestamp)," ").concat(i.formatMessage({id:"years_short"},{n:(0,eb.KW)(n.dateOfBirthTimestamp)})),inLine:l}),n.height&&(0,s.jsx)(eT,{label:(0,s.jsx)(k.A,{id:"player_height"}),value:(0,s.jsx)(eA.Z,{value:n.height,fromUnit:"cm"}),inLine:l}),n.preferredFoot&&(0,s.jsx)(eT,{label:(0,s.jsx)(k.A,{id:"player_preferred_foot"}),value:i.formatMessage({id:"foot.".concat(n.preferredFoot.toLowerCase()),defaultMessage:n.preferredFoot}),inLine:l}),n.position&&(0,s.jsx)(eT,{label:(0,s.jsx)(k.A,{id:"position"}),value:(0,s.jsx)(ek.F,{id:n.position,short:!0,gender:null==(r=n.team)?void 0:r.gender}),inLine:l,onClick:m?h:void 0}),n.cricketPlayerInfo&&Object.keys(n.cricketPlayerInfo).filter(e=>!e.startsWith("is")).map(e=>{let t=n.cricketPlayerInfo[e];return(0,s.jsx)(eT,{label:(0,s.jsx)(k.A,{id:e}),value:(0,s.jsx)(k.A,{id:t}),inLine:l},e)}),(0,s.jsx)(eT,{label:(0,s.jsx)(k.A,{id:"player_shirt_number"}),value:n.jerseyNumber,inLine:l})]})};var eL=r(70862);function eP(e){let{player:t}=e;return(0,s.jsx)(J.az,{w:["100%","50%"],p:[0,"sm"],children:(0,s.jsx)(S.Zp,{children:(0,s.jsxs)(J.so,{direction:"column",gap:"lg",pt:"md",px:"lg",pb:"lg",br:"sm",children:[(0,s.jsxs)(J.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsxs)(J.so,{align:"center",children:[(0,s.jsx)(eC.p5Z,{fill:"error.default"}),(0,s.jsx)(J.EY,{font:"display.medium",color:"error.default",pl:"sm",children:(0,s.jsx)(eL.o,{id:t.injury.status})})]}),(0,s.jsxs)(J.so,{direction:"column",align:"flex-end",children:[(0,s.jsx)(J.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,s.jsx)(k.A,{id:"lastUpdated"})}),(0,s.jsx)(J.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,s.jsx)(ew.XU,{value:new Date(1e3*t.injury.updateDateTimestamp),...eb.or.dateWithShortMonth,timeZone:"UTC"})})]})]}),(0,s.jsxs)(J.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsx)(J.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,s.jsx)(k.A,{id:"details"})}),(0,s.jsx)(J.EY,{font:"body.medium",children:(0,s.jsx)(eL.o,{id:t.injury.reason})})]}),(0,s.jsxs)(J.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsx)(J.EY,{font:"body.medium",children:(0,s.jsx)(k.A,{id:"startDate"})}),(0,s.jsx)(J.EY,{font:"body.medium",children:(0,s.jsx)(ew.XU,{value:new Date(1e3*t.injury.startDateTimestamp),...eb.or.dateWithShortMonth,timeZone:"UTC"})})]})]})})})}var eM=r(33144),eI=r(94604);let ez=e=>{let{player:t,expectedTransfer:r}=e,a=t.team.disabled?null:{sport:t.team.sport.slug,team:t.team},n=a?Y.gT:o.Fragment,l=(0,o.useContext)(d.Ws),i=t.retired||"no-team"===t.team.slug;return(0,s.jsxs)(J.so,{justify:"space-between",children:[(0,s.jsx)(J.az,{display:["block","none"],children:(0,s.jsx)(n,{sport:null==a?void 0:a.sport,team:null==a?void 0:a.team,children:(0,s.jsxs)(J.so,{py:"sm",px:["sm","lg"],align:"center",cursor:i?"default":"pointer",children:[(0,s.jsx)(J.az,{w:"40",h:"40",children:(0,s.jsx)(eM.p,{id:t.retired?-1:t.team.id,name:t.retired?void 0:t.team.slug,size:40})}),(0,s.jsxs)(J.az,{ml:"lg",children:[(0,s.jsx)(J.EY,{font:"display.medium",color:"onSurface.nLv1",hover:!i,as:"div",children:t.retired?(0,s.jsx)(k.A,{id:"career_retired"}):(0,s.jsx)(eI.Rm,{team:t.team})}),t.contractUntilTimestamp&&(0,s.jsxs)(J.EY,{lineHeight:"16px",font:"assistive.default",color:"onSurface.nLv3",as:"div",children:[(0,s.jsx)(k.A,{id:"contract_until"})," ",(0,s.jsx)(ew.XU,{value:1e3*t.contractUntilTimestamp,...eb.or.dateWithShortMonth,timeZone:"UTC"})]})]})]})})}),r&&!t.retired&&(0,s.jsxs)(J.az,{p:"sm",pr:"lg",children:[(0,s.jsxs)(J.so,{mb:"xxs",gap:"xxs",align:"center",children:[r.transferFrom&&(0,s.jsx)(Y.gT,{team:r.transferFrom,sport:l,children:(0,s.jsx)(eM.p,{id:r.transferFrom.id,name:r.transferFrom.name,size:20})}),(0,s.jsx)(eC.ZmP,{fill:"onSurface.nLv1"}),r.transferTo&&(0,s.jsx)(Y.gT,{team:r.transferTo,sport:l,children:(0,s.jsx)(eM.p,{id:r.transferTo.id,name:r.transferTo.name,size:20})})]}),(0,s.jsx)(J.EY,{font:"assistive.default",color:"onSurface.nLv3",align:"right",as:"div",children:(0,s.jsx)(ew.XU,{value:new Date(1e3*r.transferDateTimestamp),...eb.or.dateWithShortMonth})})]})]})};var eR=r(13062),eH=r(82798),eD=r(45384),eU=r(73674);function eY(e){let{player:t,lastYearSummary:r,expectedTransfer:n,hasPentagon:l,uniqueTournamentsMap:i}=e,{slug:o}=t.team.sport,d=o===a.QCR.Football,c=o===a.QCR.Cricket,u=o===a.QCR.IceHockey,p=o===a.QCR.Basketball,x=!!(t.injury&&(u||p)),m=t.team.primaryUniqueTournament&&t.proposedMarketValueRaw;return(0,s.jsx)(Q.t,{tag:"PlayerDetailsMobile",children:(0,s.jsxs)(J.so,{direction:"column",gap:"sm",children:[!t.deceased&&(0,s.jsx)(S.Zp,{children:(0,s.jsx)(ez,{player:t,expectedTransfer:n})}),(0,s.jsxs)(S.Zp,{children:[(0,s.jsx)(eE,{player:t,inLine:!d&&!c&&!u||u&&!t.injury}),m&&(0,s.jsx)(C.az,{p:"sm",children:(0,s.jsx)(S.WC,{variant:"inverse",children:(0,s.jsx)(eU.A,{playerId:t.id,proposedMarketValueRaw:t.proposedMarketValueRaw})})})]}),!!r&&(0,s.jsx)(eD.A,{lastYearSummary:r,uniqueTournamentsMap:i,containerId:"LYS-incidents-mobile",graphId:"js-LYS-ref-graph-mobile"}),l&&(0,s.jsx)(eR.W,{player:t}),d&&(0,s.jsx)(eH.A,{player:t}),x&&(0,s.jsx)(eP,{player:t})]})})}var eF=r(20339);let eN=()=>(0,s.jsxs)(S.Zp,{children:[(0,s.jsx)(S.Zp.Header,{titleId:"transfer_history"}),(0,s.jsxs)(C.so,{direction:{base:"column",md:"row"},children:[(0,s.jsx)(C.az,{w:{base:"100%",md:"1/2"},h:{base:"[278px]",md:"[328px]"},p:"sm",children:(0,s.jsx)(C.az,{h:"[174px]",bg:"surface.s2",br:"lg"})}),(0,s.jsx)(C.az,{w:{base:"100%",md:"1/2"},mdDown:{mt:"sm",pt:"sm",borderTop:"1px solid",borderTopColor:"neutrals.nLv4"},pb:"lg",h:{base:"[337px]",md:"[328px]"}})]})]}),eO=et()(()=>r.e(50612).then(r.bind(r,50612)),{loadableGenerated:{webpack:()=>[50612]},ssr:!1,loading:()=>(0,s.jsx)(eN,{})});function eB(e){var t;let{player:r,transfers:n,...l}=e,i=r.team.sport.slug===a.QCR.Football,o=r.team.sport.slug===a.QCR.Basketball,d=r.team.sport.slug===a.QCR.AmericanFootball,c=n?n.sort((e,t)=>t.transferDateTimestamp-e.transferDateTimestamp):null,u=c&&1e3*c[0].transferDateTimestamp>Date.now()?c[0]:null;return(0,s.jsx)(J.tU.Panel,{tabKey:o||d?I.x.Info:I.x.Details,children:(0,s.jsxs)(S.BU,{children:[(0,s.jsx)(eY,{player:r,expectedTransfer:u,...l}),(i||o)&&(0,s.jsx)(eO,{playerId:r.id,transfers:n,sport:r.team.sport.slug,proposedMarketValueRaw:r.proposedMarketValueRaw}),(0,s.jsx)(Z._,{page:{location:m.XN.PlayerScreen,entity:r}}),(0,s.jsx)(V.Y,{utId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id,location:m.XN.PlayerScreen,bgImageUrl:a.cWY.image(r.team.id)}),(0,s.jsx)(eF.A,{playerId:r.id}),(0,s.jsx)($.A,{player:r})]})})}let eW=et()(()=>Promise.all([r.e(29561),r.e(91944)]).then(r.bind(r,91944)),{loadableGenerated:{webpack:()=>[91944]},ssr:!1,loading:()=>(0,s.jsx)(C.az,{h:"[1000px]"})});function eQ(e){let{playerId:t}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:I.x.PlayerFantasy,children:(0,s.jsx)(eW,{playerId:t})})}var eG=r(45860),eq=r(31653);let eK=e=>{let t=(0,en.o)(),[r,s]=(0,o.useState)(void 0),[n,l]=(0,o.useState)((0,eq.Ci)(t)),{data:i,isLoading:d}=(0,eG.Ay)(a.qvj.uniqueTournaments(e));return{selectedTournament:r,setSelectedTournament:s,uniqueTournaments:(null==i?void 0:i.uniqueTournaments)||[],isFetching:d,statisticFilter:n,setStatisticFilter:l}},eZ=et()(()=>r.e(93572).then(r.bind(r,93572)),{loadableGenerated:{webpack:()=>[93572]}});function eV(e){let{player:t,transfers:r}=e,{hasMatches:n}=(0,R.A)({hasMatches:{route:a.qvj.events(t.id)}}),l=eK(t.id);return(0,s.jsx)(J.tU.Panel,{tabKey:I.x.Matches,children:n?(0,s.jsx)(eZ,{id:t.id,entity:a.wNW.Player,player:t,transfers:r,playerFilters:l}):(0,s.jsx)(J.az,{p:"sm",children:(0,s.jsx)(S.Zp,{children:(0,s.jsx)(T.p,{graphic:"no-events",titleMessageId:"basic.noEvents",descriptionMessageId:"eventList.noAvailableEvents"})})})})}let eX=et()(()=>Promise.all([r.e(43139),r.e(21632),r.e(87120),r.e(60688),r.e(23296)]).then(r.bind(r,23296)),{loadableGenerated:{webpack:()=>[23296]}});function e$(e){let{player:t,sport:r}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:[a.QCR.AmericanFootball,a.QCR.Basketball].includes(r)?I.x.Season:I.x.Statistics,children:(0,s.jsx)(eX,{player:t,sport:t.team.sport.slug})})}var eJ=r(94446),e0=r(18040),e1=r(14419),e2=r(46009),e4=r(8973),e6=r(7263),e9=r(24159);let e5=e=>{let{id:t,slug:r}=e,{isMobile:a}=(0,w.$c)();return(0,s.jsx)(Y.N_,{routeKey:"manager",params:{id:t,slug:r},children:(0,s.jsxs)(J.so,{px:"md",py:"xs",bg:["primary.default","overlay.darken1"],align:"center",br:"lg",children:[(0,s.jsx)(J.EY,{lineHeight:"16px",font:"assistive.default",c:["surface.s1","onColor.primary"],mr:"xxs",children:(0,s.jsx)(k.A,{id:"manager_profile"})}),(0,s.jsx)(eC.CCT,{fill:a?"surface.s1":"onColor.primary"})]})})},e3=e=>{let{id:t,sport:r}=e,{data:n}=(0,eG.Ay)([a.qvj.uniqueTournamentSeasons(t),"HEAD"],{fetcher:e6.n});return n?(0,s.jsx)(e0.O,{type:"player",id:t,sport:r}):null},e8=function(e){var t,r;let{player:l}=e,i=a.USm.includes(l.team.sport.slug),o=null==(r=l.country)||null==(t=r.alpha2)?void 0:t.toLowerCase(),d=o?(0,a.RHm)(o):void 0,c=l.team.id&&!(l.retired||"no-team"===l.team.slug)?a.cWY.image(l.team.id):d,u=l.team.sport.slug,p=l.deceased,x=l.retired,m=n.mz.includes(u);return(0,s.jsx)(e1.z4,{bgImageSrc:c,flexProps:{px:0,py:0},elevation:[void 0,2],children:(0,s.jsxs)(J.so,{w:"100%",justify:"space-between",align:"center",p:["lg","xl"],pr:["lg","sm"],children:[(0,s.jsxs)(J.so,{grow:2,w:"100%",align:"center",children:[(0,s.jsx)(eJ.t,{id:l.id,name:l.slug,size:112,mr:["lg","xl"],grayscale:l.deceased}),(0,s.jsxs)(J.so,{align:"flex-start",direction:"column",children:[(0,s.jsx)(J.so,{gap:"sm",align:"center",mb:["xxs","sm"],children:(0,s.jsx)(J.EY,{font:["display.large","display.extraLarge"],c:["onSurface.nLv1","onColor.primary"],m:0,as:"h2",ellipsis:!0,whiteSpace:"nowrap",overflow:"hidden",maxW:"400px",children:(0,s.jsx)(e9.c,{entity:l})})}),(0,s.jsxs)(J.so,{wrap:"wrap",align:"center",gap:"md",children:[l.deceased&&(0,s.jsxs)(J.so,{align:"center",children:[(0,s.jsx)(eJ.p,{id:l.team.id,name:l.team.name,national:l.team.national,size:16,mr:"xs"}),(0,s.jsx)(J.EY,{font:["assistive.default","display.medium"],c:["onSurface.nLv3","onColor.primary"],children:(0,s.jsx)(k.A,{id:"deceasedYear",values:{year:void 0}})})]}),m&&(0,s.jsx)(e3,{id:l.id,sport:u}),l.managerId&&(0,s.jsx)(e5,{id:l.managerId,slug:u})]})]})]}),(0,s.jsx)(J.az,{children:i&&!p&&!x&&(0,s.jsx)(e2.e,{id:l.id,entity:a.bq7.Players,location:e4.y.Header,type:e4.b.Player})})]})})},e7=et()(()=>r.e(67658).then(r.bind(r,67658)),{loadableGenerated:{webpack:()=>[67658]}});function te(e){let{player:t}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:I.x.Career,children:(0,s.jsx)(e7,{player:t})})}function tt(e){var t;let{player:r,transfers:l,...i}=e,o=r.team.sport,d=r.team.primaryUniqueTournament,{isFantasyEnabled:c,showFantasyEntry:u}=(0,P.t)(),[p,x]=(0,H.Ay)({routeKey:n.xW.Player,params:{slug:r.slug,id:r.id,sport:o.slug}}),{hasStatisticsTab:m,hasFantasyData:h,hasCareerData:y}=(0,R.A)({hasStatisticsTab:{route:a.qvj.uniqueTournamentSeasons(r.id),skipCheck:!W.F0.includes(o.slug)},hasFantasyData:{route:a.lVT.playerCompetitions(r.id),skipCheck:!c},hasCareerData:{route:a.qvj.uniqueTournamentSeasonsStatistics(r.id),skipCheck:!z.v.includes(o.slug)}},[r.id,c]),g=u&&h,j=y&&m,f=(t=o.slug,z.G.includes(t)?[{tabKey:I.x.Season,item:"season",isHidden:!m},{tabKey:I.x.Matches,item:"games",values:{sport:(0,eh.ap)(t)}},{tabKey:I.x.Career,item:"am_football_career_tab",isHidden:!j},{tabKey:I.x.Info,item:"info"},{tabKey:I.x.PlayerFantasy,item:"fantasy_game",isHidden:!g}]:[{tabKey:I.x.Details,item:"details"},{tabKey:I.x.Statistics,item:"statistics",isHidden:!m},{tabKey:I.x.Matches,item:"matches",values:{sport:(0,eh.ap)(t)}},{tabKey:I.x.Career,item:"am_football_career_tab",isHidden:!j},{tabKey:I.x.PlayerFantasy,item:"fantasy_game",isHidden:!g}]),v=(null==p?void 0:p.tab)||ey(o.slug,f);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(C.az,{bg:"surface.s1",children:[(0,s.jsx)(O,{player:r,sport:o,uniqueTournament:d}),(0,s.jsx)(e8,{player:r})]}),(0,s.jsx)(M.A,{id:r.id,location:M.C.PlayerPage,initialTabKey:v,customControls:[v,e=>{x("tab",e),eg("defaultUniqueTournamentId"),eg("defaultSeasonId"),eg("defaultSeasonType")}],tabs:f,children:(0,s.jsxs)(C.az,{bg:"surface.s0",children:[(0,s.jsx)(eB,{player:r,transfers:l,...i}),m&&(0,s.jsx)(e$,{player:r,sport:o.slug}),j&&(0,s.jsx)(te,{player:r}),(0,s.jsx)(eV,{player:r,transfers:l}),g&&(0,s.jsx)(eQ,{playerId:r.id})]})})]})}let tr=(0,o.memo)(function(e){var t;let{player:r}=e,l=null==r?void 0:r.deceased,i=null==r?void 0:r.retired;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_,{player:r}),(0,s.jsxs)(d.Ws.Provider,{value:r.team.sport.slug,children:[(0,s.jsx)(u.$B,{children:(0,s.jsx)(tt,{...e})}),(0,s.jsx)(u.h6,{children:(0,s.jsx)(c.JR,{route:n.xW.Player,children:(0,s.jsx)(ef,{...e})})}),!0!==l&&!0!==i&&(0,s.jsx)(p.A,{entity:a.bq7.MutedPlayers,entityGroup:"player",id:r.id,entityTournamentId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id}),(0,s.jsx)(x.N,{page:{location:m.XN.PlayerScreen,entity:r}})]})]})},function(e,t){return e.player.id===t.player.id});var ts=r(71937),ta=r(25862),tn=r(65097);function tl(e){return"error"in e?(0,s.jsx)(tn.default,{statusCode:e.error.code||404}):(0,s.jsx)(i.an,{value:{seoContent:e.seoContent},children:(0,s.jsx)(tr,{...e})})}tl.getInitialProps=ts.A.getInitialPageProps(e=>async function(t){let{req:r,res:s,query:i,...o}=t,d=r?r._originalUrl:o.asPath,c=l.z.getCurrentLocale(d),u=r&&r.params?r.params:i,p=Number(u.id),x=u.slug,[m,h,y,g,j]=await Promise.allSettled([a.uuS.fetchPlayerDetails(p),a.uuS.fetchPlayerTransferHistory(p),a.uuS.hasPlayerPentagon(p),a.uuS.fetchPlayerLastYearSummary(p),a.sdF.getSeoContent(a.wNW.Player,p,c)]);try{let t,r;if("rejected"===m.status)throw Error(m.reason);"fulfilled"===g.status&&g.value.summary.length&&(t=g.value.summary,r=g.value.uniqueTournamentsMap);let a=m.value.player,i="fulfilled"===h.status?h.value.transferHistory:void 0,o="fulfilled"===j.status?j.value.content:void 0,d="fulfilled"===y.status&&y.value,f=u.sport||a.team.sport.slug;if(!n.Hk.includes(f))throw Error("Unsupported sport");return s&&(a.slug!==x||a.id!==p)&&(s.writeHead(301,{Location:l.z.getTranslatedRoute(c,"player",{id:a.id,slug:a.slug,sport:f}).route}),s.end()),e.dispatch((0,ta.Vy)(f)),{player:a,transfers:i,seoContent:o,lastYearSummary:t,uniqueTournamentsMap:r,hasPentagon:d}}catch(e){return{error:{code:404}}}})},47430:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(6029),a=r(28349),n=r(76356),l=r(55729),i=r(90248),o=r(54409),d=r(54053),c=r(34264),u=r(72555);let p=e=>{let{attributes:t}=e,[r,p]=(0,l.useState)(!1);return t?(0,s.jsxs)(n.az,{position:"relative",children:[(0,s.jsx)(o.G_L,{fill:"onSurface.nLv1",cursor:"pointer",onClick:()=>p(!0)}),(0,s.jsx)(d.A,{isOpen:r,setIsOpen:p,header:"player.info.attributeOverview",children:(0,s.jsxs)(n.az,{px:"lg",maxW:{md:"[280px]"},children:[(0,s.jsx)(a.EY,{textStyle:"body.mediumParagraph",mb:"lg",display:"block",children:(0,s.jsx)(i.A,{id:"player.info.attributeOverviewDescription"})}),t.sort().map(e=>{var t;return(0,s.jsxs)(n.az,{py:"sm",children:[(0,s.jsx)(a.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",mr:"lg",children:c.HU[e]}),(0,s.jsx)(a.EY,{textStyle:"body.small",children:(0,s.jsx)(i.A,{id:null!=(t=u.Q1[e])?t:e})})]},e)})]})})]}):null}},50284:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/player",function(){return r(45547)}])},53684:(e,t,r)=>{"use strict";r.d(t,{G:()=>s.A,e:()=>a.e});var s=r(94400),a=r(33480)},54075:(e,t,r)=>{"use strict";r.d(t,{M:()=>s.MR});var s=r(19991)},55342:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(6029),a=r(21377),n=r(45860),l=r(48683),i=r(17239);function o(e){let{id:t}=e,{data:r}=(0,n.Ay)(a.dVR.highlights(t));return r&&r.highlights.length?(0,s.jsx)(l.WC,{variant:"inverse-desktop",children:(0,s.jsx)(l.BU,{children:(0,s.jsx)(i.$,{highlights:r.highlights,hideTitle:!0})})}):null}},56566:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,y:()=>d});var s=r(6029),a=r(76356),n=r(55729),l=r(48683),i=r(52951),o=r(24159);let d=(0,a.I4)("div",{base:{"& span":{color:"neutrals.nLv1 !important"},"& ins, & a":{color:"primary.default",textDecoration:"none",_hover:{opacity:.7}},"& h2, & h3, & h4":{textStyle:"display.medium"},"& p":{textStyle:"body.mediumParagraph"}}}),c=function(e){let{player:t}=e,{seoContent:r}=(0,n.useContext)(i.xV);return!t.deceased&&(null==r?void 0:r.about)?(0,s.jsxs)(l.Zp,{children:[(0,s.jsx)(l.Zp.Header,{title:(0,s.jsx)(o.c,{entity:t}),as:"h3"}),(0,s.jsx)(a.az,{px:"lg",pb:"lg",children:(0,s.jsx)(d,{dangerouslySetInnerHTML:{__html:r.about}})})]}):null}},57760:e=>{e.exports=function(e,t){for(var r,s=-1,a=e.length;++s{"use strict";r.d(t,{d:()=>o});var s=r(6029),a=r(28349),n=r(76356),l=r(90248),i=r(54409);let o=e=>{let{isOpen:t,onClick:r}=e;return(0,s.jsx)(n.so,{align:"center",justify:"center",p:"lg",children:(0,s.jsx)(n.I4.button,{onClick:r,padding:"0",cursor:"pointer",children:(0,s.jsxs)(n.so,{align:"center",children:[(0,s.jsx)(a.EY,{textStyle:"display.small",color:"primary.default",children:(0,s.jsx)(l.A,{id:t?"show_less":"show_more"})}),t?(0,s.jsx)(i.t8v,{fill:"primary.default",ml:"xs"}):(0,s.jsx)(i.QtO,{fill:"primary.default",ml:"xs"})]})})})}},60908:(e,t,r)=>{"use strict";r.d(t,{_:()=>d});var s=r(6029),a=r(21377),n=r(947),l=r(7786),i=r(66062),o=r(32097);let d=e=>{let{page:t}=e,r=(0,o.a)(t,i.d),d=(0,n.A)();return r?(0,s.jsx)(l.Q,{banner:{copy:{action:d.formatMessage({id:"claim_offer"}),description:d.formatMessage({id:"euro_basket_promo_body"}),sectionTitle:d.formatMessage({id:"euro_basket_promo_header"})},type:a.$pL.LogoBanner,background:a.jae.Image,detailImageUrl:{ltr:"/static/images/courtside-1891/logo.png",rtl:"/static/images/courtside-1891/logo.png"},campaignName:i.d.promotionName,url:i.d.url},bgImageUrl:"/static/images/courtside-1891/banner-bg.png",location:t.location}):null}},66062:(e,t,r)=>{"use strict";r.d(t,{MS:()=>l,bx:()=>n,d:()=>i,jI:()=>d,nE:()=>o});var s=r(4967),a=r(83151);let n=["AL","AD","AT","BY","BE","BA","BG","HR","CY","CZ","DK","EE","FI","FR","GE","GR","VA","HU","IS","IE","IL","IT","XK","LV","LI","LT","LU","MK","MT","MD","MC","ME","NL","NO","PL","PT","RO","RU","SM","RS","SK","SI","ES","SE","CH","TR","UA","GB","DE"],l=285,i={excludedCountries:["DE"],id:a.v.Courtside1891,promotionName:"courtside_1891",url:"https://www.courtside1891.basketball/competitions/eurobasket-2025?utm_source=sofascore&utm_medium=affiliate&utm_campaign=eurobasket2025",start:"2025-08-21 00:00:00",end:"2025-09-15 00:00:00",hasModal:!0,modalCooldown:10*s.d_},o={id:a.v.Utr,promotionName:"promotion_utr",url:"https://www.utrsports.net/pages/how-utr-works?utm_source=partner&utm_medium=referral&utm_campaign=sofascore&utm_content=pop-ups",start:"2025-08-27 00:00:00",end:"2026-08-27 00:00:00",hasModal:!0,modalCooldown:15*s.d_},d=[i,o]},69964:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var s=r(6029),a=r(21377),n=r(28349),l=r(76356),i=r(90248),o=r(48683),d=r(69559);function c(){let e=(0,d.o)(),{isDesktop:t}=(0,n.$c)();return(0,s.jsxs)(o.Zp,{children:[(0,s.jsxs)(l.so,{direction:"column",gap:"md",p:"md",borderBottom:{md:"1px solid {colors.neutrals.nLv4}"},children:[e===a.QCR.Football&&t&&(0,s.jsx)(l.az,{h:"4xl",bg:"surface.s2",br:"md"}),(0,s.jsx)(l.az,{h:"2xl",bg:"surface.s2",br:"md"}),(0,s.jsxs)(l.so,{align:"center",gap:"lg",children:[(0,s.jsx)(n.EY,{textStyle:"display.micro",display:"block",children:(0,s.jsx)(i.A,{id:"team"})}),(0,s.jsx)(l.az,{h:"2xl",bg:"surface.s2",br:"md",flexGrow:1})]})]}),(0,s.jsx)(l.az,{h:"[600px]"})]})}},70862:(e,t,r)=>{"use strict";r.d(t,{o:()=>i});var s=r(6029),a=r(90248);let n=JSON.parse('{"out":"injury_status_out","dayToDay":"injury_day_to_day","outForSeason":"injury_season","outIndefinitely":"injury_indefinitely","unknown":"injury_unknown","injuredReserve":"injury_reserve","Undisclosed":"injury_undisclosed","Abdominal":"injury_abdominal","Knee":"injury_knee","Leg":"injury_leg","Blood Clotting":"injury_blood_clotting","Lower Body":"injury_lower_body","Lower-Body":"injury_lower_body","Foot":"injury_foot","Illness":"injury_illness","Neck":"injury_neck","Wrist":"injury_wrist","Concussion":"injury_concussion","Personal":"injury_personal","Pectoral Muscle":"injury_pectoral_muscle","Shoulder":"injury_shoulder","Shouler":"injury_shoulder","Clavicle Fracture":"injury_clavicle_fracture","Back":"injury_back","Achilles":"injury_achilles","Concussion Protocol":"injury_concussion_protocol","Hand":"injury_hand","Groin":"injury_groin","Pectoral":"injury_pectoral","Jaw":"injury_jaw","Head":"injury_head","Upper body":"injury_upper_body","Upper-Body":"injury_upper_body","Upper Body":"injury_upper_body","Hip":"injury_hip","Ankle":"injury_ankle","Mid-Body":"injury_mid_body","Finger":"injury_finger","Nose":"injury_nose"}');var l=r(27892);let i=e=>{let{id:t}=e;return(0,s.jsx)(a.A,{id:(0,l.O)(n,t)})}},72555:(e,t,r)=>{"use strict";r.d(t,{Bg:()=>m,HU:()=>n,Q1:()=>a,Sz:()=>x,TC:()=>p,W6:()=>u,cS:()=>c,eM:()=>l,mc:()=>o,tO:()=>d});let s=[["attacking","saves"],["runsOut","technical","anticipation","runs-out"],["tactical"],["defending","ballDistribution","ball-distribution"],["creativity","aerial"]],a={attacking:"attacking",creativity:"player_ability_creativity",defending:"defending",tactical:"player_ability_tactical",technical:"player_ability_technical",aerial:"player_ability_aerial_reach",anticipation:"player_ability_anticipation",ballDistribution:"player_ability_ball_distribution",saves:"player_ability_saves"},n={saves:"SAV",anticipation:"ANT",tactical:"TAC",ballDistribution:"BAL",aerial:"AER",attacking:"ATT",technical:"TEC",defending:"DEF",creativity:"CRE"},l={AVG:Symbol("AVG"),BASE:Symbol("BASE"),COMPARE:Symbol("COMPARE"),COMPARE_SELF:Symbol("COMPARE_SELF")};function i(e){return Math.PI/180*e}function o(e){let t=[];return s.forEach((r,s)=>{r.forEach(r=>{r in e&&(t[s]={value:e[r],name:r})})}),t}function d(e){return e.map((e,t)=>(function(e,t){let r=-(100*Math.cos(i(72*t)));return[100*Math.sin(i(72*t)),r].map(t=>t*e/100+100)})(Number(e),t))}function c(e){return e.reduce((e,t)=>"".concat(e).concat(t[0],",").concat(t[1]," "),"").trim()}function u(e){return e>=90?"colors.rating.s90":e>=80?"colors.rating.s80":e>=70?"colors.rating.s70":e>=65?"colors.rating.s65":e>=60?"colors.rating.s60":e>=10?"colors.rating.s10":"colors.rating.s00"}function p(e){return e?{playerPentagons:e.playerAttributeOverviews,averagePentagons:e.averageAttributeOverviews}:null}function x(e,t){return e.find(e=>e.yearShift===t)||null}function m(e,t,r,s){let a=[],n=[],{playerPentagons:i,averagePentagons:d}={...e};if(null==i?void 0:i.length){let e=x(i,t?r:0);if(e&&(e.__type=l.BASE),a.push(e?o(e):null),n.push(e),s)n.push(null);else{let e=null,s=null;t?t&&(e=x(t.playerPentagons,r))&&(e.__type=l.COMPARE,s=o(e)):r?(e=x(i,r))&&(e.__type=l.COMPARE_SELF,s=o(e)):(null==d?void 0:d.length)&&((e=d[0]).__type=l.AVG),a.push(s),n.push(e)}n.reverse()}return{attributes:a,pentagonLayers:n}}},73674:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var s=r(6029),a=r(21377),n=r(21501),l=r(99064),i=r(78383),o=r.n(i),d=r(90248),c=r(48683),u=r(54409),p=r(85685),x=r(62827),m=r(83260),h=function(e){return e.HIGHER="UP",e.LOWER="DOWN",e}(h||{});let y=e=>"".concat(e.vote).concat(":").concat(e.proposedMarketValue),g=e=>{let[t,r]=e.split(":");return{proposedMarketValue:Number(r),vote:t}};function j(e){let{currencySign:t,selected:r,inverted:a,voted:n,vote:i}=e;return(0,s.jsxs)(l.so,{bg:"surface.s1",br:"50%",align:"center",justify:"center",w:48,h:48,elevation:2,onClick:()=>{r||n||(i(),(0,x.MZ)((0,s.jsxs)(l.so,{align:"center",children:[(0,s.jsx)(u.G_L,{fill:"onColor.primary",mr:"lg"}),(0,s.jsx)(l.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,s.jsx)(d.A,{id:"thank_you_contribution"})})]}),{autoClose:3e3,closeButton:!1,className:"sofa-toast--info",position:"bottom-center"}))},direction:a?"column-reverse":"column",cursor:n?"default":"pointer",p:6,border:r?"primary.default":void 0,children:[(0,s.jsx)(u.tSt,{fill:a?"error.default":"success.default",style:{transform:"rotate(".concat(180*!!a,"deg)")}}),(0,s.jsx)(l.az,{my:"xs",br:"50%",bg:"neutral.default",h:16,w:16,children:(0,s.jsx)(l.EY,{lineHeight:"16px",font:"assistive.default",color:"surface.s1",align:"center",as:"div",children:t})})]})}function f(e){let{playerId:t,proposedMarketValueRaw:r}=e,n=(0,a.oaz)(r),{canUserVote:i,voteRecord:o,voteHigher:d,voteLower:c,isRehydrated:u}=function(e,t){let[r,s,a]=(0,m.A)("pv_".concat(e),null),n=r?g(r):null,l=(null==n?void 0:n.proposedMarketValue)!==t.value,i=e=>{l&&t&&s(y({vote:e,proposedMarketValue:t.value}))};return{canUserVote:l,voteRecord:n,voteHigher:()=>i("UP"),voteLower:()=>i("DOWN"),isRehydrated:a}}(t,r),p=!!u&&!i&&(null==o?void 0:o.vote)==="DOWN",x=!!u&&!i&&(null==o?void 0:o.vote)==="UP";return(0,s.jsxs)(l.so,{gap:"sm",children:[(0,s.jsx)(j,{vote:d,currencySign:n.currencySign,selected:x,voted:!i}),(0,s.jsx)(j,{vote:c,currencySign:n.currencySign,selected:p,voted:!i,inverted:!0})]})}let v=function(e){let t=(0,n.hX)(),r=(0,a.oaz)(e.proposedMarketValueRaw);return(0,s.jsxs)(c.Zp,{children:[(0,s.jsx)(c.Zp.Header,{titleId:"player.value",visibility:"desktop-only"}),(0,s.jsxs)(l.so,{gap:"sm",align:"center",px:"lg",py:"sm",children:[(0,s.jsxs)(l.so,{gap:"sm",align:"center",justify:"space-between",children:[(0,s.jsxs)(l.az,{children:[(0,s.jsx)(l.EY,{font:"assistive.micro",color:"onSurface.nLv3",mb:"xxs",align:"center",as:"div",textTransform:"uppercase",whiteSpace:"nowrap",children:(0,s.jsx)(d.A,{id:"market_value"})}),(0,s.jsx)(l.EY,{font:"display.medium",color:"sofaSingles.value",align:"center",as:"div",children:(0,s.jsx)(p.o,{parsedMoney:r})})]}),(0,s.jsx)(l.cG,{vertical:!0}),(0,s.jsx)(l.EY,{font:"assistive.default",color:"onSurface.nLv1",children:(0,s.jsx)(d.A,{id:"is_market_value_higher_or_lower"})})]}),t?(0,s.jsxs)(l.so,{gap:"sm",children:[(0,s.jsx)(j,{vote:o(),currencySign:r.currencySign,selected:!1,voted:!1}),(0,s.jsx)(j,{vote:o(),currencySign:r.currencySign,selected:!1,voted:!1,inverted:!0})]}):(0,s.jsx)(f,{...e})]}),(0,s.jsx)(c.Zp.Footer,{defaultHeight:"sm"})]})}},76735:(e,t,r)=>{"use strict";r.d(t,{z:()=>i});var s=r(21377),a=r(45860),n=r(69559),l=r(14196);function i(e){var t;let{player:r,lastYearSummary:i,hasPentagon:o,transfers:d}=e,c=(0,n.o)(),u=l.G.includes(c),{data:p}=(0,a.Ay)(u?null:s.qvj.nationalTeamStatistics(r.id));if(u)return{isEmpty:!(null==d?void 0:d.length),hasLastYearSummary:!1,showPlayerValue:!1};let x=void 0!==i,m=!!(r.team.primaryUniqueTournament&&r.proposedMarketValueRaw);return{isEmpty:!(null==p||null==(t=p.statistics)?void 0:t.length)&&!x&&!m&&!o&&!(null==d?void 0:d.length),hasLastYearSummary:x,showPlayerValue:m}}},77552:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(6029),a=r(55729),n=r(41735);let l=(0,a.forwardRef)((e,t)=>{let{children:r,...l}=e,{colors:i}=(0,a.useContext)(n.ThemeContext);return(0,s.jsxs)("svg",{height:l.height||"100%",width:l.width||"100%",viewBox:"0 0 200 200",strokeWidth:"2",...l,ref:t,children:[(0,s.jsx)("polygon",{fill:l.fill||i.surface.s2,points:"100,0 195.10565162951534,69.09830056250526 158.77852522924732, 180.90169943749473 41.2214747707527,180.90169943749476 4.894348370484636,69.09830056250527"}),r]})})},80734:(e,t,r)=>{"use strict";r.d(t,{n:()=>o});var s=r(6029),a=r(21501),n=r(76356),l=r(55729),i=r(58775);function o(e){let t=1===l.Children.count(e.children),r=(0,a.hX)()&&e.openOnServer,[o,d]=(0,l.useState)(r||!1);return(0,s.jsxs)(n.az,{children:[(0,s.jsx)(n.az,{children:e.children[0]}),(0,s.jsx)(n.az,{display:o?"initial":"none",children:e.children.slice(1)}),!t&&(0,s.jsx)(i.d,{isOpen:o,onClick:()=>d(e=>!e)})]})}},80932:(e,t,r)=>{"use strict";r.d(t,{s:()=>o});var s=r(21377),a=r(55729),n=r(45860),l=r(62859),i=r(72555);function o(e){let t=(0,a.useContext)(l.Ws)===s.QCR.Football,{data:r,isLoading:o,error:d}=(0,n.Ay)(t&&e?s.qvj.pentagon(e):null);return{pentagons:!d&&r?(0,i.TC)(r):null,isPentagonDataLoading:o,isError:d}}},82798:(e,t,r)=>{"use strict";r.d(t,{A:()=>T});var s=r(6029),a=r(21377),n=r(28349),l=r(21501),i=r(76356),o=r(93338),d=r(99064),c=r(55729),u=r(45860),p=r(48683),x=r(75751),m=r(79392),h=r(54917),y=r(90248),g=function(e){return e.strengths="strengths",e.weaknesses="weaknesses",e}(g||{});function j(e){let{characteristics:t,type:r}=e;return t.length?(0,s.jsx)(i.az,{children:t.map(e=>(0,s.jsx)(n.EY,{display:"block",mb:"xs",children:(0,s.jsx)(y.A,{id:e})},e))}):(0,s.jsx)(n.EY,{display:"block",children:(0,s.jsx)(y.A,{id:"strengths"===r?"no_strengths":"no_weaknesses"})})}let f=(0,c.memo)(e=>{let{strengths:t,weaknesses:r}=e;return(0,s.jsxs)(i.so,{minH:"[172px]",direction:"column",justify:"space-between",border:"1",children:[(0,s.jsxs)(i.az,{pb:"xl",children:[(0,s.jsx)(n.EY,{textStyle:"display.small",color:"status.success.default",mb:"sm",display:"block",children:(0,s.jsx)(y.A,{id:"player_strengths"})}),(0,s.jsx)(j,{characteristics:t,type:"strengths"})]}),(0,s.jsxs)(i.az,{pb:"xl",children:[(0,s.jsx)(n.EY,{textStyle:"display.small",color:"status.error.default",mb:"sm",display:"block",children:(0,s.jsx)(y.A,{id:"player_weaknesses"})}),(0,s.jsx)(j,{characteristics:r,type:"weaknesses"})]})]})},function(e,t){return e.player.id===t.player.id}),v={1:"football_anchor_play",2:"football_penalty_taking",3:"directFreeKicks",4:"longShots",5:"football_finishing",6:"passing",7:"football_playmaking",9:"football_tackling",10:"ballInterception",11:"football_consistency",12:"crossing",13:"football_long_balls",14:"football_ball_control",15:"football_ground_duels",16:"football_aerial_duels",17:"errorProneness",18:"football_discipline",19:"penaltySaving",20:"football_reflexes",21:"runsOut",22:"highClaims",23:"football_ball_handling",24:"longShotsSaving",25:"football_positioning",26:"football_high_pressing"},b={[a.dl9.Striker]:"colors.playerPosition.forward",[a.dl9.LeftWinger]:"colors.playerPosition.forward",[a.dl9.RightWinger]:"colors.playerPosition.forward",[a.dl9.AttackingMidfielder]:"colors.playerPosition.midfield",[a.dl9.MidfielderLeft]:"colors.playerPosition.midfield",[a.dl9.MidfielderCenter]:"colors.playerPosition.midfield",[a.dl9.MidfielderRight]:"colors.playerPosition.midfield",[a.dl9.DefensiveMidfielder]:"colors.playerPosition.midfield",[a.dl9.DefenderLeft]:"colors.playerPosition.defender",[a.dl9.DefenderCenter]:"colors.playerPosition.defender",[a.dl9.DefenderRight]:"colors.playerPosition.defender",[a.dl9.Goalkeeper]:"colors.playerPosition.goalkeeper"};var _=r(62042);let w=function(e){let{children:t}=e;return(0,s.jsxs)("svg",{width:"120",height:"180",viewBox:"0 0 120 180",children:[(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,s.jsx)("rect",{className:(0,_.AH)({fill:"graphics.terrain.football"}),width:"120",height:"180",rx:"4"}),(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M4 4h112v86H4z"}),(0,s.jsx)("path",{d:"M72 90c0-6.627-5.373-12-12-12s-12 5.373-12 12M31 4h58v26H31zM50 30c.156.28.322.555.499.82 2.084 3.13 5.562 5.18 9.5 5.18 3.942 0 7.422-2.052 9.505-5.184.176-.264.34-.537.496-.816",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M46 4h28v8H46z"}),(0,s.jsx)("circle",{cx:"1",cy:"1",r:"1",transform:"translate(59 22)",className:(0,_.AH)({fill:"surface.s1"})}),(0,s.jsx)("path",{d:"M4 8a4 4 0 0 0 4-4M112 4a4 4 0 0 0 4 4",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M4 176h112V90H4z"}),(0,s.jsx)("path",{d:"M72 90c0 6.627-5.373 12-12 12s-12-5.373-12-12M31 176h58v-26H31zM50 150c.156-.28.322-.555.499-.82 2.084-3.13 5.562-5.18 9.5-5.18 3.942 0 7.422 2.052 9.505 5.184.176.264.34.537.496.816",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M46 176h28v-8H46z"}),(0,s.jsx)("circle",{cx:"1",cy:"1",r:"1",transform:"matrix(1 0 0 -1 59 158)",className:(0,_.AH)({fill:"surface.s1"})}),(0,s.jsx)("path",{d:"M4 172a4 4 0 0 1 4 4M112 176a4 4 0 0 1 4-4",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"})]})]}),(0,s.jsx)("g",{style:{top:0,left:0,background:"red"},width:"100%",height:"100%",children:t})]})},C={[a.dl9.Goalkeeper]:{x:60,y:164},[a.dl9.DefenderLeft]:{x:25,y:146},[a.dl9.DefenderCenter]:{x:60,y:146},[a.dl9.DefenderRight]:{x:95,y:146},[a.dl9.DefensiveMidfielder]:{x:60,y:118},[a.dl9.MidfielderLeft]:{x:25,y:90},[a.dl9.MidfielderCenter]:{x:60,y:90},[a.dl9.MidfielderRight]:{x:95,y:90},[a.dl9.AttackingMidfielder]:{x:60,y:62},[a.dl9.LeftWinger]:{x:25,y:34},[a.dl9.RightWinger]:{x:95,y:34},[a.dl9.Striker]:{x:60,y:20}};function A(e){let{position:t,attr:r}=e;return(0,s.jsxs)("g",{children:[(0,s.jsx)("circle",{cx:r.x,cy:r.y,r:"12",className:(0,_.AH)({fill:"surface.s1"})}),(0,s.jsx)("text",{className:(0,_.AH)({textStyle:"assistive.default"}),style:{fill:o.S.var(b[t.toLowerCase()])},y:r.y,x:r.x,dy:"4",textAnchor:"middle",children:t.toUpperCase()})]})}let k=function(e){let{positions:t}=e;return(0,s.jsx)(w,{children:t&&t.map(e=>(0,s.jsx)(A,{position:e,attr:C[e.toLowerCase()]},e))})},S=e=>v[e.type];function T(e){let t,{player:r}=e,y=r.team.sport.slug===a.QCR.Football,g=(0,l.hX)(),[j,v]=(0,c.useState)(!1),{data:_,error:w,isLoading:C}=(0,u.Ay)(a.qvj.characteristics(r.id)),A=!_&&!w;if(g||C)return(0,s.jsx)(p.Zp,{children:(0,s.jsx)(i.az,{style:{height:"212px"}})});if(w)return null;let T=!A&&!_||_&&0===_.positions.length||!y,E=r.retired||r.deceased;return E&&T?null:(0,s.jsxs)(x.t,{tag:"CharacteristicsContainer",children:[(0,s.jsxs)(p.Zp,{children:[(0,s.jsx)(p.Zp.Header,{titleId:"player_positions"}),(0,s.jsxs)(i.so,{p:"lg",gap:"sm",align:"center",justify:E?"center":"space-between",children:[!E&&(0,s.jsx)(f,{player:r,weaknesses:_.negative.map(S),strengths:_.positive.map(S)}),!T&&(0,s.jsx)(i.az,{onClick:()=>v(!0),cursor:"pointer",children:(0,s.jsx)(k,{positions:_.positions})})]})]}),(0,s.jsx)(m.A,{isOpen:j,setIsOpen:v,header:"playerPositions",children:Object.keys(b).map((e,l)=>{let u=b[e],p=0!==l&&u!==t;return t=u,(0,s.jsxs)(c.Fragment,{children:[p&&(0,s.jsx)(d.cG,{my:"md"}),(0,s.jsxs)(i.so,{mb:"sm",justify:"space-between",px:"md",children:[(0,s.jsx)(n.EY,{fontWeight:"bold",style:{color:o.S.var(b[e])},children:e.toUpperCase()}),(0,s.jsx)(n.EY,{color:"neutrals.nLv2",textStyle:"body.medium",children:(0,s.jsx)(h.F,{id:e.toUpperCase(),sport:a.QCR.Football,gender:r.team.gender})})]})]},e)})})]})}},83151:(e,t,r)=>{"use strict";r.d(t,{v:()=>s});var s=function(e){return e[e.Courtside1891=1]="Courtside1891",e[e.Utr=2]="Utr",e}({})},86454:(e,t,r)=>{"use strict";r.d(t,{K:()=>v});var s=r(6029),a=r(28349),n=r(76356),l=r(9127),i=r(90112),o=r(12364),d=r.n(o),c=r(55729),u=r(90248),p=r(494),x=r(83201),m=r(54409),h=r(8973),y=r(83260),g=r(12759),j=r(46009);let f=(0,l.m)(n.az);function v(e){let{id:t,name:r,entity:l,children:o,threshold:v=144,type:b}=e,[_,w]=(0,c.useState)(0),[C,A]=(0,y.A)("sticky_follow_header_closed_".concat(l),!1),k=(0,g.Pz)(l),S=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,[r,s]=(0,c.useState)(e);return(0,c.useEffect)(()=>{let r=setTimeout(()=>{s(e)},t);return()=>clearTimeout(r)},[e]),r}((0,p.d4)(e=>e.favorites.lists[k[0]].includes(t)||2===k.length&&e.favorites.lists[k[1]].includes(t)));return(0,c.useEffect)(()=>{if(C)return;let e=d()(()=>{window.requestAnimationFrame(()=>{w(window.scrollY)})},300);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[_,C]),(0,s.jsx)(i.N,{children:_>v&&!S&&(0,s.jsx)(f,{position:"fixed",left:"0",right:"0",mt:"0 !important",h:"[168px]",bg:"surface.sp",textAlign:"center",initial:{top:-160,opacity:0},animate:{top:0,opacity:1},exit:{top:-160,opacity:0},transition:{type:"spring",bounce:.3,restDelta:.5},zIndex:"subheader",elevation:"3",children:(0,s.jsx)(n.az,{position:"absolute",bottom:"0",left:"0",right:"0",children:(0,s.jsx)(x.m,{h:"5xl",py:"sm",children:(0,s.jsxs)(n.so,{h:"[40px]",children:[(0,s.jsx)(n.so,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},justify:"flex-end",align:"center",flex:"[1 1 50%]",children:(0,s.jsxs)(n.so,{backgroundColor:"surface.s2",align:"center",px:"sm",py:"xs",br:"lg",cursor:"pointer",children:[o,(0,s.jsx)(j.e,{id:t,entity:l,type:b,location:h.y.FloatingHeader})]})}),(0,s.jsx)(n.so,{align:"center",flex:"[1 1 50%]",children:(0,s.jsx)(a.EY,{textStyle:"assistive.default",ml:"lg",children:(0,s.jsx)(u.A,{id:"add_to_favorites_text",values:{name:r}})})}),(0,s.jsx)(n.so,{align:"center",children:(0,s.jsx)(a.$n,{variant:"clear",p:"0",onClick:()=>{A(!0),w(0)},children:(0,s.jsx)(m.zQC,{icon:"close"})})})]})})})})})}},86679:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(4967),a=r(59018),n=r.n(a),l=r(55729),i=r(7263);let o=s.pY,d={},c=async(e,t)=>{let r=new Date().getTime();if(!d[e]||d[e].time{let r=e.map(e=>{var r;return e.skipCheck||!e.route?new Promise(e=>e(!1)):c(e.route,null!=(r=e.deduplicationInterval)?r:t)});return(await Promise.allSettled(r)).map(e=>"fulfilled"===e.status&&e.value)};function p(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2?arguments[2]:void 0,a=Object.keys(e),i=Object.values(e),[d,c]=(0,l.useState)(a.reduce((e,t)=>({...e,[t]:void 0}),{})),p=null==s?void 0:s.refreshInterval,x=null!=(t=null==s?void 0:s.deduplicationInterval)?t:o;return(0,l.useEffect)(()=>{let e=async()=>{let e=await u(i,x),t={};a.forEach((r,s)=>{t[r]=e[s]}),c(e=>{for(let r of n()([...Object.keys(t),...Object.keys(e)]))if(e[r]!==t[r])return t;return e})};if(e(),!p)return;let t=setInterval(e,p);return()=>clearInterval(t)},[...r,p]),d}},89606:(e,t,r)=>{"use strict";r.d(t,{v:()=>d,y:()=>o});var s=r(4967),a=r(21501),n=r(494),l=r(10794);let i=(e,t)=>t?!(e.excludedCountries&&e.excludedCountries.includes(t))&&(void 0===e.includedCountries||e.includedCountries.includes(t)):void 0===e.includedCountries&&void 0===e.excludedCountries,o=(e,t,r)=>{let a=new Date().getTime(),n=new Date(e.start).getTime(),l=new Date(e.end).getTime();return!t&&i(e,r)&&(0,s._M)(a,n,l)},d=e=>o(e,(0,a.hX)(),(0,n.d4)(l.LQ))},91811:(e,t,r)=>{"use strict";r.d(t,{T:()=>n,n:()=>a});var s=r(21377);function a(e){return e.fullName?e.fullName.split(",").reverse().map(e=>e.trim()).join(" "):e.name}function n(e,t){return e.slug===s.QCR.Football?t.players.length>10:t.players.length>4}},93024:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(6029),a=r(28349),n=r(76356),l=r(93338),i=r(99064),o=r(41735),d=r(72555);let c=(0,o.default)(i.az).withConfig({componentId:"sc-c4ed9fbb-0"})([".attacking,.saves{top:0;left:48px;transform:translate(10px,-100%);padding-bottom:",";}.creativity,.aerial{top:34%;left:0;transform:translate(-100%,-50%);}.runsOut,.technical,.anticipation,.runs-out{top:34.5%;right:0;transform:translate(100%,-50%);}.defending,.ballDistribution,.ball.distribution{bottom:-8px;right:80%;transform:translate(10px,0);}.tactical{bottom:-8px;left:80%;transform:translate(-10px,0);}.runsOut,.technical,.anticipation,.runs-out,.tactical{flex-direction:"," !important;> *{margin-left:0;&:first-child{margin-right:0;}}}.defending,.ballDistribution,.ball.distribution{@media screen and (max-width:335px){transform:translate(10px,3px);}}.tactical{@media screen and (max-width:335px){transform:translate(-10px,3px);}}"],e=>e.theme.spacing.xs,e=>e.isRTL?"row":"row-reverse"),u=e=>{let{value:t,isAnotherPlayerCompare:r,main:i,isComparing:o}=e;return(0,s.jsx)(n.az,{w:"[20px]",h:"[20px]",br:"xs",style:{background:r?l.S.var("colors.surface.s2"):o?i?l.S.var("colors.secondary.default"):l.S.var("colors.neutral.default"):l.S.var((0,d.W6)(t))},children:(0,s.jsx)(a.EY,{lineHeight:"20px",textStyle:"table.small",color:r?i?"secondary.default":"primary.default":"surface.s1",display:"block",textAlign:"center",children:t})})},p=function(e){let{data:t,isAnotherPlayerCompare:r,children:l}=e,[i,p]=t,{settings:x}=(0,o.useTheme)(),m="rtl"===x.textDirection;return i?(0,s.jsx)(n.az,{maxW:"[360px]",w:"fit",style:{paddingTop:28},mx:"auto",mb:"sm",children:(0,s.jsxs)(c,{position:"relative",style:{margin:"0 ".concat(86,"px")},isRTL:m,children:[l,i.map((e,t)=>(0,s.jsxs)(n.so,{direction:{_ltr:"row",_rtl:"row-reverse"},position:"absolute",className:e.name,gap:"xs",children:[(0,s.jsx)(a.EY,{lineHeight:"".concat(20,"px"),textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",children:d.HU[e.name]}),(0,s.jsxs)(n.so,{gap:"xs",children:[(0,s.jsx)(u,{isAnotherPlayerCompare:r,value:e.value,isComparing:!!(p&&p[t]),main:!0}),p&&p[t]&&(0,s.jsx)(u,{isAnotherPlayerCompare:r,value:p[t].value,isComparing:!0})]})]},e.name))]})}):null}}},e=>{var t=t=>e(e.s=t);e.O(0,[14092,19888,56591,10395,14632,58621,84977,50346,60988,4283,31844,90431,39462,31254,31218,61876,57632,6675,5563,29565,90636,46593,38792],()=>t(50284)),_N_E=e.O()}]);