!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]="60d28e09-18ec-4a2c-adae-d7e7bd0acac3",e._sentryDebugIdIdentifier="sentry-dbid-60d28e09-18ec-4a2c-adae-d7e7bd0acac3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5853],{40237:(e,t,s)=>{"use strict";s.d(t,{G:()=>o.A,p:()=>a.p});var o=s(12605),a=s(91603)},43381:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/manager",function(){return s(75005)}])},50677:e=>{"use strict";e.exports=JSON.parse('{"football":{"totalContest":"football_dribble_attempts","goalAssist":"football_assists","Penalty won":"penaltyWon","Penalty miss":"football_penalties_missed","bigChanceMissed":"football_big_chances_missed","accuratePass":"football_accurate_passes","keyPass":"football_key_passes","assists":"football_assists","highClaims":"football_high_claims","redCards":"red_cards","rating":"sofascore_rating","totalCross":"football_total_crosses","hitWoodwork":"football_hit_woodwork","totalShots":"football_total_shots","shotsOnTarget":"football_shots_on_goal","offsides":"football_offsides","bigChancesMissed":"football_big_chances_missed","shotsOffTarget":"football_shots_off_target","blockedShots":"football_blocked_shots","tackles":"football_tackles","interceptions":"football_interceptions","clearances":"football_clearances","accuratePasses":"football_accurate_passes","yellowCards":"football_yellow_cards","fouls":"football_fouls","dispossessed":"football_dispossessed","bigChanceCreated":"bigChancesCreated","totalClearance":"football_clearances","outfielderBlock":"football_blocked_shots","interceptionWon":"football_interceptions","totalTackle":"football_total_tackles","errorLeadToAGoal":"errors_leading_to_goal","errorLeadToAShot":"errors_lead_to_shot","errorLeadToGoal":"errors_leading_to_goal","errorLeadToShot":"errors_lead_to_shot","penaltyCommited":"penaltyCommitted","challengeLost":"dribbledPast","Penalty save":"football_penalties_saved","totalKeeperSweeper":"football_runs_out","goodHighClaim":"football_high_claims","onTargetScoringAttempt":"football_shots_on_goal","shotOffTarget":"football_shots_off_target","blockedScoringAttempt":"football_shots_blocked","savedShotsFromInsideTheBox":"football_saves_inside_box","penaltyConceded":"penaltyCommitted","penaltySave":"football_penalties_saved","penaltyShootoutSave":"penaltyShootoutSave","totalOffside":"football_offsides","possessionLostCtrl":"football_possession_lost","totalPass":"football_total_passes","wonContest":"football_successful_dribbles","expectedGoals":"football_expected_goals","expectedAssists":"football_expected_assists","goalsPrevented":"football_goals_prevented","secondYellow":"secondYellow","attemptPenaltyMiss":"attemptPenaltyMiss","totalClearances":"totalClearances","wonTackles":"wonTackles","punchesAndGoodHighClaims":"punchesAndGoodHighClaims","minutesPlayed":"minutes_played","punches":"football_goalkeeper_punches","totalDuels":"football_total_duels_won_in_brackets","totalGroundDuels":"football_ground_duels_won_in_brackets","totalAerialDuels":"football_aerial_duels_won_in_brackets","totalDefensiveActions":"football_defensive_actions","notes":"stat_notes","scoringFrequency":"football_scoring_frequency_minutes","goalsAssistsSum":"goals_and_assists","penaltyGoals":"football_penalty_goals","freeKickGoal":"football_free_kick_goals","saves":"player_ability_saves","totalLongBalls":"football_total_long_balls","cleanSheet":"football_clean_sheets","penaltyMiss":"football_penalties_missed","accuratePassesPercentage":"accurate_passes_percent","goalsFromInsideTheBox":"goals_inside_box","goalsFromOutsideTheBox":"goals_outside_box","headedGoals":"headed_goals","leftFootGoals":"left_foot_goals","rightFootGoals":"right_foot_goals","successfulDribbles":"football_successful_dribbles","keyPasses":"football_key_passes","groundDuelsWon":"ground_duels_won","aerialDuelsWon":"aerial_duels_won","totalDuelsWon":"football_total_duels_won","touches":"football_touches","wasFouled":"football_was_fouled","possessionLost":"football_possession_lost","matchesStarted":"player_started_match","totalPasses":"football_total_passes","penaltyConversion":"football_penalty_conversion","longBalls":"football_long_balls","clearanceOffLine":"clearance_off_line","duels":"football_duels"},"basketball":{"threePt":"threePointers","twoPt":"twoPointers","pir":"pirStat","rating":"sofascore_rating","assists":"football_assists","minutesPlayed":"minutes_played"},"american-football":{"passingLongest":"longestPass","passingTouchdowns":"passing_touchdowns","passingSacked":"am_football_sack_yards_stat","passingRating":"am_football_passer_rating","passingAirYards":"am_football_air_yds","passingDroppedPasses":"am_football_drop_pass","passingFirstDowns":"am_football_pass_1st_downs","rushingLongest":"longestRush","rushingFumbles":"fumbles","rushingYardsAfterContact":"am_football_yacon_stat","rushingFirstDowns":"am_football_rushing_fd_stat","rushingRedZoneAttempts":"am_football_rz_attempts","fumbleFumbles":"fumbles","fumbleLost":"fumblesLost","fumbleSafety":"fumblesSafety","fumbleRecovery":"fumbleRecoveries","fumbleTeammateFumbleRecovery":"teammateFumbleRecoveries","fumbleTouchdownReturns":"fumbleReturnTouchdowns","fumbleOpponentFumbleRecovery":"am_football_recoveries_opposition","fumbleOwnFumbleRecovery":"am_football_recoveries_own","fumbleOutOfBounds":"am_football_out_of_bounds","receivingReceptions":"receptions","receivingTargets":"receiving_targets","receivingFirstDowns":"am_football_receiving_fd_stat","receivingLongest":"longestReception","receivingYardsPerReception":"yardsPerReception","receivingYardsAfterCatch":"am_football_yds_after_catch","receivingDroppedPasses":"am_football_drop_reception","receivingRedZoneTargets":"am_football_rz_targets","receivingYardsAfterContact":"am_football_yds_after_catch","defensiveCombineTackles":"combineTackles","defensiveTotalTackles":"amf_tackles","defensiveAssistTackles":"assistTackles","defensiveSacks":"sacks","defensiveForcedFumbles":"forcedFumbles","defensiveSafeties":"safeties","defensiveInterceptions":"football_interceptions","defensiveInterceptionsTouchdowns":"interceptionsTouchdowns","defensiveInterceptionsYards":"interceptionsYards","defensivePassesDefensed":"am_football_passes_def","defensiveBattedPasses":"am_football_batted_pass","defensiveDefensiveTargets":"am_football_def_targets","defensiveTacklesForLostYards":"am_football_tackles_loss","kickReturnsAverageYards":"kickReturnsAvgYards","kickReturnsLong":"longestKickReturns","puntingTotal":"punts","puntingLongest":"longestPunt","puntingBlocked":"puntsBlocked","puntingTouchbacks":"touchbacks","puntingYardsPerPuntAvg":"yardsPerPunt","puntingInside20":"puntsInside20","puntingAverageHangTime":"am_football_avg_hang_time","puntingHangTime":"am_football_hang_time","kickingFgAttempts":"fieldGoalAttempts","kickingFg":"fieldGoalsMade","kickingFgMade":"fieldGoalsMade","kickingFgBlocked":"fieldGoalsBlocked","kickingFgLong":"longestFieldGoalMade","kickingFgAttempts20to29":"attempts20","kickingFgMade20to29":"made20","kickingFgAttempts30to39":"attempts30","kickingFgMade30to39":"made30","kickingFgAttempts40to49":"attempts40","kickingFgMade40to49":"made40","kickingFgAttempts50plus":"attempts50","kickingFgMade50plus":"made50","kickingExtraPoints":"extraPointsMade","kickingExtraMade":"extraPointsMade","kickingExtraAttempts":"extraPointsAttempts","kickingTotalPoints":"totalPoints","kickReturnsFairCatches":"am_football_fair_catch_kick","kickoffEndZone":"am_football_touchback","kickoffOutOfBounds":"am_football_out_of_bounds","kickoffInside20":"am_football_inside_20","puntReturnsAverageYards":"puntReturnsAvgYards","puntReturnsLong":"longestPuntReturn","puntReturnsFairCatches":"am_football_fair_catch_punt","kickingFgMadeAttempts":"fieldGoalsMade","passingCompletionPercentage":"completionPercentage","interceptionReturnsAverageYards":"am_football_interception_return_avg_yds","interceptionReturnsLongest":"am_football_longest_interception_return"},"ice-hockey":{"shots":"hockey_shots_on_goal","minutesPlayed":"timeOnIce","secondsPlayed":"timeOnIce","timeOnIce":"ice_hockey_average_time_on_ice","powerPlayTimeOnIce":"powerplayTimeOnIce","shortHandedTimeOnIce":"shorthandedTimeOnIce","powerPlayGoals":"powerplayGoals","powerPlayAssists":"powerplayAssists","blocked":"hockey.blocks","faceOffTaken":"totalFaceoffs","shortHandedGoals":"hockey.shorthandedGoals","shortHandedAssists":"shorthandedAssists","goalkeeperEfficiencyPercentage":"savePercentage","shortHandedSaves":"shorthandedSaves","powerPlaySaves":"powerplaySaves","assists":"football_assists","saves":"player_ability_saves"},"handball":{"gkShots":"shotsReceived","gk7mSaves":"7mSaves","gk6mSaves":"6mSaves","gkPivotSaves":"pivotSaves","gk9mSaves":"9mSaves","gkBreakthroughSaves":"breakthroughSaves","gkFastbreakSaves":"fastbreakSaves","goalkeeperEfficiencyPercentage":"savePercentage","shotsTaken":"football_shots","goals7m":"7mGoals","goals6m":"6mGoals","goals9m":"9mGoals","twoMinutePenalties":"2minPenalty","gkGoalsConceded":"football_goals_conceded","goalkeepers":"stats.goalkeepers","assists":"football_assists","blockedShots":"football_blocked_shots","minutesPlayed":"minutes_played","saves":"player_ability_saves","yellowCards":"yellow_cards"},"baseball":{"battingFlyOuts":"flyOuts","battingGroundOuts":"groundOuts","battingRuns":"runs","battingDoubles":"doubles","battingTriples":"triples","battingHomeRuns":"homeRuns","battingStrikeOuts":"strikeOutsAsBatter","battingBaseOnBalls":"baseOnBalls","battingHits":"hits","battingHitByPitch":"hitByPitch","battingRbi":"runsBattedIn","battingCaughtStealing":"caughtStealing","battingStolenBases":"stolenBases","battingAtBats":"atBats","battingLeftOnBase":"leftOnBase","battingSacBunts":"sacrificeBunts","battingSacFlies":"sacrificeFly","fieldingAssists":"football_assists","fieldingPutOuts":"putOuts","fieldingErrors":"baseball.fieldingErrors","pitchingRuns":"runs","pitchingHomeRuns":"homeRuns","pitchingStrikeOuts":"strikeOutsAsPitcher","pitchingBaseOnBalls":"walks","pitchingHits":"hits","pitchingInningsPitched":"inningsPitched","pitchingEarnedRuns":"earnedRuns","pitchingBattersFaced":"battersFaced","pitchingOuts":"pitchOuts","pitchingPitchesThrown":"numberOfPitchesThrown","pitchingStrikes":"strikes","pitchingEarnedRunsAverage":"earnedRunsAverage"},"rugby":{"tackles":"rugby_tackles","carries":"rugby_carries","cleanBreaks":"rugby_clean_breaks","dropGoals":"rugby_drop_goals","metersRun":"rugby_meters_run","offloads":"rugby_offloads","tacklesMissed":"rugby_tackles_missed","tryAssists":"rugby_try_assists","turnoversWon":"rugby_turnovers_won"}}')},54917:(e,t,s)=>{"use strict";s.d(t,{F:()=>c});var o=s(6029),a=s(21377),r=s(55729),n=s(90248),i=s(62859);let l=JSON.parse('{"football":{"Dlong":"football_defender","DLlong":"defenderLeft","DClong":"defenderCenter","DRlong":"defenderRight","DMlong":"defensiveMidfielder","Mlong":"football_midfielder","MLlong":"midfielderLeft","MRlong":"midfielderRight","MClong":"midfielderCenter","AMlong":"attackingMidfielder","Flong":"football_forward","LWlong":"leftWinger","RWlong":"rightWinger","STlong":"striker","Glong":"goalkeeper","GKlong":"goalkeeper","Dshort":"position.defender.short","DLshort":"position.defenderLeft.short","DCshort":"position.defenderCenter.short","DRshort":"position.defenderRight.short","DMshort":"position.defensiveMidfielder.short","Mshort":"position.midfielder.short","MLshort":"position.midfielderLeft.short","MRshort":"position.midfielderRight.short","MCshort":"position.midfielderCenter.short","AMshort":"position.attackingMidfielder.short","Fshort":"position.forward.short","LWshort":"position.leftWinger.short","RWshort":"position.rightWinger.short","STshort":"position.striker.short","Gshort":"position.goalkeeper.short","GfantasyShort":"position.goalkeeper.fantasyShort","DfantasyShort":"position.defender.fantasyShort","MfantasyShort":"position.midfielder.fantasyShort","FfantasyShort":"position.forward.fantasyShort"},"basketball":{"Clong":"basketball.center","CFlong":"centerForward","Flong":"basketball.forward","FClong":"forwardCenter","FGlong":"forwardGuard","Glong":"guard","GFlong":"guardForward","Cshort":"position.basketball.center.short","CFshort":"position.centerForward.short","Fshort":"position.basketball.forward.short","FCshort":"position.forwardCenter.short","FGshort":"position.forwardGuard.short","Gshort":"position.guard.short","GFshort":"position.guardForward.short"},"ice-hockey":{"Dlong":"defenseman","Glong":"goalie","Clong":"hockey.center","Llong":"leftWing","Rlong":"rightWing","Flong":"football_forward","Dshort":"position.defenseman.short","Gshort":"position.goalie.short","Cshort":"position.hockey.short.center","Lshort":"position.leftWing.short","Rshort":"position.rightWing.short","Fshort":"position.forward.short"},"baseball":{"Plong":"pitcher","Clong":"catcher","1Blong":"1stBase","2Blong":"2ndBase","3Blong":"3rdBase","SSlong":"shortstop","LFlong":"leftField","CFlong":"centerField","RFlong":"rightField","DHlong":"designatedHitter","SPlong":"startingPitcher","CPlong":"closer","PHlong":"pinchHitter","PRlong":"pinchRunner","BRlong":"baseRunner","OFlong":"outfield","IFlong":"infield","RPlong":"reliefPitcher","UTlong":"util","UIlong":"utilInfielder","UOlong":"utilOutfielder","RHPlong":"rhPitcher","LHPlong":"lhPitcher","RHSlong":"rhStarted","LHSlong":"lhStarter","LHRlong":"lhReliever","RHRlong":"rhReliever","Blong":"batter","Pshort":"position.pitcher.short","Cshort":"position.catcher.short","1Bshort":"position.1stBase.short","2Bshort":"position.2ndBase.short","3Bshort":"position.3rdBase.short","SSshort":"position.shortstop.short","LFshort":"position.leftField.short","CFshort":"position.centerField.short","RFshort":"position.rightField.short","DHshort":"position.designatedHitter.short","SPshort":"position.startingPitcher.short","CPshort":"position.closer.short","PHshort":"position.pinchHitter.short","PRshort":"position.pinchRunner.short","BRshort":"position.baseRunner.short","OFshort":"position.outfield.short","IFshort":"position.infield.short","RPshort":"position.reliefPitcher.short","UTshort":"position.util.short","UIshort":"position.utilInfielder.short","UOshort":"position.utilOutfielder.short","RHPshort":"position.rhPitcher.short","LHPshort":"position.lhPitcher.short","RHSshort":"position.rhStarted.short","LHSshort":"position.lhStarter.short","LHRshort":"position.lhReliever.short","RHRshort":"position.rhReliever.short","Bshort":"position.batter.short"},"american-football":{"Plong":"punter","PRlong":"puntReturner","LSlong":"longSnapper","Klong":"kicker","Tlong":"tackle","OTlong":"offensiveTackle","OLlong":"offensiveLineman","OGlong":"offensiveGuard","Glong":"amf.guard","Clong":"amf.center","QBlong":"quarterback","RBlong":"runningBack","FBlong":"fullback","TElong":"tightEnd","WRlong":"wideReceiver","SSlong":"strongSafety","SAFlong":"safety","FSlong":"freeSafety","DLlong":"defensiveLineman","DBlong":"defensiveBack","CBlong":"cornerBack","NTlong":"noseTackle","DTlong":"defensiveTackle","DElong":"defensiveEnd","OLBlong":"outsideLinebacker","MLBlong":"middleLinebacker","LBlong":"linebacker","ILBlong":"insideLinebacker","Pshort":"position.punter.short","PRshort":"position.puntReturner.short","LSshort":"position.longSnapper.short","Kshort":"position.kicker.short","Tshort":"position.tackle.short","OTshort":"position.offensiveTackle.short","OLshort":"position.offensiveLineman.short","OGshort":"position.offensiveGuard.short","Gshort":"position.amf.guard.short","Cshort":"position.amf.center.short","QBshort":"position.quarterback.short","RBshort":"position.runningBack.short","FBshort":"position.fullback.short","TEshort":"position.tightEnd.short","WRshort":"position.wideReceiver.short","SSshort":"position.strongSafety.short","SAFshort":"position.safety.short","FSshort":"position.freeSafety.short","DLshort":"position.defensiveLineman.short","DBshort":"position.defensiveBack.short","CBshort":"position.cornerBack.short","NTshort":"position.noseTackle.short","DTshort":"position.defensiveTackle.short","DEshort":"position.defensiveEnd.short","OLBshort":"position.outsideLinebacker.short","MLBshort":"position.middleLinebacker.short","LBshort":"position.linebacker.short","ILBshort":"position.insideLinebacker.short"},"handball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","RWlong":"rightWing","RWshort":"position.rightWinger.short","LWlong":"leftWing","LWshort":"position.leftWinger.short","RBlong":"rightBack","RBshort":"position.rightBack.short","LBlong":"leftBack","LBshort":"position.leftBack.short","CBlong":"centralBack","CBshort":"position.centralBack.short","Plong":"pivot","Pshort":"position.pivot.short"},"cricket":{"BMlong":"position.batter","ARlong":"position.all.rounder","WKlong":"position.wicket.keeper","Blong":"position.bowler","BMshort":"position.batter","ARshort":"position.all.rounder","WKshort":"position.wicket.keeper","Bshort":"position.bowler"},"minifootball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","OFshort":"minifootball_outfield_player_short","OFlong":"minifootball_outfield_player","Fshort":"minifootball_outfield_player_short","Flong":"minifootball_outfield_player"}}');var d=s(27892);let c=e=>{let{id:t,fantasyShort:s,short:c,sport:g}=e,h=(0,r.useContext)(i.Ws),f=g||h,p=s&&f===a.QCR.Football?"fantasyShort":c||s?"short":"long",u=(0,d.O)(l,t+p,f,t);return(0,o.jsx)(n.A,{id:u})}},55803:(e,t,s)=>{"use strict";s.d(t,{E:()=>o});let o=(0,s(76356).I4)("div",{base:{bg:"surface.s1",border:"1px solid surface.s2",br:"lg",p:"lg",elevation:"2","& a":{color:"primary.default"},"& p":{margin:"0",paddingTop:"sm",paddingBottom:"md"},"& ul":{margin:"0",paddingBottom:"md",listStyleType:"none","& > li":{display:"flex","&:before":{content:"- ",mr:"sm"},"& + li":{marginTop:"sm"}}}}})},58775:(e,t,s)=>{"use strict";s.d(t,{d:()=>l});var o=s(6029),a=s(44194),r=s(76356),n=s(90248),i=s(54409);let l=e=>{let{isOpen:t,onClick:s}=e;return(0,o.jsx)(r.so,{align:"center",justify:"center",p:"lg",children:(0,o.jsx)(r.I4.button,{onClick:s,padding:"0",cursor:"pointer",children:(0,o.jsxs)(r.so,{align:"center",children:[(0,o.jsx)(a.EY,{textStyle:"display.small",color:"primary.default",children:(0,o.jsx)(n.A,{id:t?"show_less":"show_more"})}),t?(0,o.jsx)(i.t8v,{fill:"primary.default",ml:"xs"}):(0,o.jsx)(i.QtO,{fill:"primary.default",ml:"xs"})]})})})}},75005:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>ey});var o=s(6029),a=s(21377),r=s(95669),n=s.n(r),i=s(19451),l=s(50417),d=s(26331),c=s(73088),g=s(42678),h=s(62859),f=s(14861),p=s(29129),u=s(70010),m=s(53486),_=s(93471),b=s(8973),x=s(55729),y=s(55803),k=s(65789),v=s(84942),j=s(52951);function w(e){let{manager:t}=e,{seoContent:s}=(0,x.useContext)(j.xV),a=(0,v.z)(t);return(null==s?void 0:s.about)?(0,o.jsxs)(k.Zp,{children:[(0,o.jsx)(k.Zp.Header,{titleId:"about_manager",values:{manager:a}}),(0,o.jsx)(y.E,{p:"lg",children:(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:s.about},"data-qa-id":"seo-about"})})]}):null}var S=s(99064),P=s(90248),B=s(33752),R=s(27289),C=s(70591);function L(e){let{manager:t}=e,{seoContent:s}=(0,x.useContext)(j.xV);return(0,o.jsxs)(B.B,{children:[(0,o.jsx)(B.B.Item,{children:(0,o.jsx)(C.di,{translatedParams:{sport:t.sport.slug},children:(0,o.jsx)(R.o,{sportSlug:t.sport.slug})})}),(0,o.jsx)(B.B.Item,{children:(0,o.jsx)(S.EY,{color:"onSurface.nLv3",font:"assistive.default",fontWeight:"bold",children:(0,o.jsx)(P.A,{id:"manager"})})}),(0,o.jsx)(B.B.Title,{children:(null==s?void 0:s.heading)||"".concat(t.name," - Sofascore")})]})}var F=s(71024),T=s.n(F),A=s(75751),H=s(98516),O=s(33144),D=s(90510),M=s(58775),E=s(94604);let G=e=>{let{startTimestamp:t,endTimestamp:s}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(D.XU,{value:1e3*t,month:"numeric",year:"numeric"}),s&&s5?[...t.careerHistory].splice(0,5):t.careerHistory;return(0,o.jsxs)(S.az,{children:[(0,o.jsxs)(S.so,{p:"lg",pb:"sm",justify:"space-between",align:"center",children:[(0,o.jsx)(S.EY,{font:"assistive.default",color:"onSurface.nLv1",children:(0,o.jsx)(P.A,{id:"manager.career"})}),(0,o.jsx)(S.EY,{font:"body.small",color:"onSurface.nLv3",children:(0,o.jsx)(P.A,{id:"points_per_match"})})]}),r.map((e,t)=>(0,o.jsx)(I,{period:e,isLast:t===r.length-1},"".concat(e.startTimestamp,"-").concat(e.team&&e.team.id))),t.careerHistory.length>5&&(0,o.jsx)(M.d,{isOpen:s,onClick:()=>a(e=>!e)})]})}let Y=T()(()=>Promise.all([s.e(3170),s.e(7462),s.e(3307)]).then(s.bind(s,23307)),{loadableGenerated:{webpack:()=>[23307]},ssr:!1,loading:()=>(0,o.jsx)(S.az,{h:162})}),z=e=>{let{showCareerHistory:t,managerCareerHistory:s,managerDetails:a}=e;if(!t)return null;let r=function(e){let t=e.manager&&e.manager.performance;return t?(0,H.M)(t.totalPoints/t.total,2):""}(a);return(0,o.jsx)(A.t,{tag:"ManagerCareerHistory",children:(0,o.jsxs)(k.Zp,{children:[(0,o.jsx)(k.Zp.Header,{titleId:"career_history",as:"h3"}),(0,o.jsxs)(S.so,{direction:["column","row"],children:[(0,o.jsxs)(S.az,{w:["100%","50%"],pb:"lg",children:[(0,o.jsx)(Y,{managerDetails:a,managerCareerHistory:s}),(0,o.jsxs)(S.az,{children:[(0,o.jsxs)(S.so,{px:"lg",align:"center",children:[(0,o.jsx)(S.az,{h:4,w:24,bg:"secondary.default",mr:"sm"}),(0,o.jsx)(S.EY,{font:"assistive.default",color:"onSurface.nLv3",children:(0,o.jsx)(P.A,{id:"football_average_points_per_match"})})]}),(0,o.jsxs)(S.so,{align:"center",h:32,justify:"space-between",px:"lg",children:[(0,o.jsxs)(S.so,{align:"center",children:[(0,o.jsx)(S.az,{h:4,w:11,bg:"error.default",mr:2}),(0,o.jsx)(S.az,{h:4,w:11,bg:"error.default",mr:"sm"}),(0,o.jsx)(S.EY,{font:"assistive.default",color:"onSurface.nLv3",children:(0,o.jsx)(P.A,{id:"average_points_total"})})]}),(0,o.jsx)(S.EY,{font:"assistive.default",color:"onSurface.nLv3",children:r})]})]})]}),(0,o.jsx)(S.az,{w:["100%","50%"],pb:"sm",children:(0,o.jsx)(W,{managerCareerHistory:s})})]})]})})};var K=s(4967),N=s(44194),U=s(947),Z=s(55938);let Q=e=>{let{inLine:t,label:s,value:a,children:r}=e;return a||r?(0,o.jsxs)(S.az,{w:t?"auto":"33%",pt:"md",pb:10,px:"lg",children:[(0,o.jsx)(S.EY,{font:"assistive.micro",color:"onSurface.nLv3",align:"center",mb:"xxs",as:"div",textTransform:"uppercase",children:s}),(0,o.jsx)(S.EY,{font:"display.medium",color:"onSurface.nLv1",align:"center",as:"div",children:a||r})]}):null},X=e=>Number(e)>12?"".concat(e,"%"):"",q=e=>{var t,s;let{manager:r,inLine:n}=e,i=(0,U.A)(),l=(0,x.useContext)(h.Ws),d=r.dateOfBirthTimestamp?(0,o.jsx)(D.XU,{value:new Date(1e3*r.dateOfBirthTimestamp),...K.or.dateWithShortMonth,timeZone:"UTC"}):null;return(0,o.jsxs)(o.Fragment,{children:[r.teams&&r.teams.map(e=>(0,o.jsx)(C.gT,{sport:r.sport.slug,team:e,children:(0,o.jsxs)(S.so,{px:"lg",py:"sm",gap:"lg",align:"center",children:[(0,o.jsx)(O.p,{id:e.id,name:e.name,size:40,national:e.national}),(0,o.jsx)(S.EY,{font:"display.medium",color:"onSurface.nLv1",as:"div",children:(0,o.jsx)(E.Rm,{team:e})})]})},e.id)),!r.team&&!r.dateOfDeathTimestamp&&(0,o.jsxs)(S.so,{px:"lg",py:"sm",gap:"lg",align:"center",borderBottom:"onSurface.nLv4",children:[(0,o.jsx)(O.p,{id:-1,size:40}),(0,o.jsx)(S.EY,{font:"display.medium",color:"onSurface.nLv1",as:"div",children:(0,o.jsx)(P.A,{id:"player.noTeam"})})]}),(0,o.jsxs)(S.so,{wrap:"wrap",children:[(null==(t=r.country)?void 0:t.alpha2)&&(0,o.jsx)(Q,{label:(0,o.jsx)(P.A,{id:"nationality"}),inLine:n,children:(0,o.jsxs)(S.so,{align:"center",justify:"center",gap:"xs",children:[(0,o.jsx)(S._V,{src:(0,a.RHm)(r.country.alpha2),width:16,height:16,br:"50%",loading:"lazy",alt:r.country.alpha2}),(0,o.jsx)("span",{children:(0,Z.KH)(r.country.alpha2)})]})}),d&&r.dateOfDeathTimestamp&&(0,o.jsx)(Q,{inLine:n,label:d,value:(0,o.jsx)(P.A,{id:"deceasedYear",values:{year:(0,o.jsx)(D.XU,{value:1e3*r.dateOfDeathTimestamp,year:"numeric"})}})}),d&&r.dateOfBirthTimestamp&&!r.dateOfDeathTimestamp&&(0,o.jsx)(Q,{inLine:n,label:d,value:"".concat((0,K.KW)(r.dateOfBirthTimestamp)," ").concat(i.formatMessage({id:"years_short"}))}),r.preferredFormation&&(0,o.jsx)(Q,{inLine:n,label:(0,o.jsx)(P.A,{id:"preferred_formation"}),value:r.preferredFormation}),(null==(s=r.performance)?void 0:s.total)&&(0,o.jsx)(Q,{inLine:n,label:(0,o.jsx)(P.A,{id:"games",values:{sport:l}}),value:r.performance.total}),r.performance&&(0,o.jsx)(Q,{inLine:n,label:(0,o.jsx)(P.A,{id:"points_per_match_short"}),value:(0,H.M)(r.performance.totalPoints/r.performance.total,2)})]})]})},V=e=>{let{performance:t}=e,s=Math.round(t.wins/t.total*100),a=Math.round(t.losses/t.total*100),r=100-s-a,n=s.toString(),i=r.toString(),l=a.toString();return(0,o.jsxs)(k.Zp,{isInverseDesktop:!0,children:[(0,o.jsx)(k.Zp.Header,{titleId:"manager.performance",as:"h3"}),(0,o.jsxs)(S.az,{p:"sm",children:[(0,o.jsxs)(S.so,{justify:"space-between",mb:"xs",children:[(0,o.jsx)(S.EY,{font:"body.medium",color:"secondary.default",children:t.wins}),(0,o.jsx)(S.EY,{font:"body.medium",color:"onSurface.nLv3",children:t.draws}),(0,o.jsx)(S.EY,{font:"body.medium",color:"error.default",children:t.losses})]}),(0,o.jsxs)(S.so,{h:28,br:"sm",overflow:"hidden",children:[(0,o.jsx)(S.az,{w:"".concat(n,"%"),bg:"secondary.default",px:"0"!==n?"sm":0,children:(0,o.jsx)(S.EY,{lineHeight:"28px",font:"display.small",color:"surface.s1",children:X(n)})}),(0,o.jsx)(S.az,{w:"".concat(i,"%"),bg:"onSurface.nLv3",px:"0"!==i?"sm":0,textAlign:"center",children:(0,o.jsx)(S.EY,{lineHeight:"28px",font:"display.small",color:"surface.s1",children:X(i)})}),(0,o.jsx)(S.az,{w:"".concat(l,"%"),bg:"error.default",px:"0"!==l?"sm":0,textAlign:"end",children:(0,o.jsx)(S.EY,{lineHeight:"28px",font:"display.small",color:"surface.s1",children:X(l)})})]})]})]})},$=e=>{let{managerDetails:t}=e,{manager:s}=t,{isMobile:a}=(0,N.$c)();return(0,o.jsx)(k.HH,{isCard:!a,children:(0,o.jsxs)(S.so,{direction:["column","row"],gap:"sm",p:[0,"sm"],children:[(0,o.jsx)(S.az,{w:s.performance?["100%","50%"]:["100%","100%"],children:(0,o.jsx)(k.Zp,{isInverseDesktop:!0,children:(0,o.jsx)(q,{manager:s,inLine:!s.performance})})}),s.performance&&(0,o.jsx)(S.az,{w:["100%","50%"],children:(0,o.jsx)(V,{performance:s.performance})})]})})};var J=s(69435),ee=s(54409),et=s(42901);let es=e=>{let{id:t,slug:s}=e,{isMobile:a}=(0,N.$c)();return(0,o.jsx)(C.N_,{routeKey:"player",params:{id:t,slug:s},children:(0,o.jsxs)(S.so,{px:"md",py:"xs",bg:["primary.default","overlay.darken1"],align:"center",w:"fit-content",br:"lg",children:[(0,o.jsx)(S.EY,{lineHeight:"16px",font:"assistive.default",c:["surface.s1","onColor.primary"],mr:"xxs",children:(0,o.jsx)(P.A,{id:"player_profile"})}),(0,o.jsx)(ee.CCT,{fill:a?"surface.s1":"onColor.primary"})]})})};function eo(e){var t,s;let{manager:r,slug:n}=e,i=(0,v.z)(r),l=null==(s=r.country)||null==(t=s.alpha2)?void 0:t.toLowerCase(),d=l?(0,a.RHm)(l):void 0;return(0,o.jsx)(S.az,{bg:["surface.s1","transparent"],children:(0,o.jsxs)(et.z,{bgImageSrc:d,flexProps:{px:["lg","xl"],py:["lg","xl"],gap:["lg","xl"],align:"center"},children:[(0,o.jsx)(S.az,{h:[48,112],w:[48,112],border:"onSurface.nLv4",br:"50%",children:(0,o.jsx)(J.d,{id:r.id,name:i,w:"100%",h:"100%",grayscale:!!r.dateOfDeathTimestamp})}),(0,o.jsxs)(S.az,{children:[(0,o.jsxs)(S.so,{align:"baseline",mb:["xxs","sm"],children:[(0,o.jsx)(S.EY,{font:["display.large","display.extraLarge"],c:["onSurface.nLv1","onColor.primary"],m:0,as:"h2",children:i}),(0,o.jsx)(S.az,{display:["none","block"],ml:"sm",children:(0,o.jsx)(S.EY,{font:"display.medium",color:"onColor.secondary",children:(0,o.jsx)(P.A,{id:"manager"})})})]}),r.formerPlayerId&&(0,o.jsx)(es,{id:r.formerPlayerId,slug:n})]})]})})}function ea(e){let{managerDetails:t,managerCareerHistory:s,showCareerHistory:r,id:n,slug:i}=e;return(0,o.jsx)(h.Ws.Provider,{value:t.manager.sport.slug||a.QCR.Football,children:(0,o.jsxs)(p.YW,{pb:"md",children:[(0,o.jsx)(L,{manager:t.manager}),(0,o.jsxs)(u.xA,{children:[(0,o.jsxs)(u.fv,{flexGrow:2,children:[(0,o.jsx)(eo,{manager:t.manager,slug:i}),(0,o.jsx)($,{managerDetails:t}),(0,o.jsx)(z,{managerCareerHistory:s,managerDetails:t,showCareerHistory:r},t.manager.id),(0,o.jsx)(m.MC.Provider,{value:{isShort:!0,location:b.y.MatchesSection},children:(0,o.jsx)(_.A,{entity:a.wNW.Manager,id:n})})]}),(0,o.jsxs)(u.fv,{flexGrow:1,children:[(0,o.jsx)(f.i,{id:"manager.DESKTOP_SIDEBAR"}),(0,o.jsx)(w,{manager:t.manager})]})]})]})})}var er=s(96913),en=s(28132),ei=s(62827),el=s(30479);function ed(e){let{managerDetails:t,managerCareerHistory:s,showCareerHistory:a}=e;return(0,o.jsx)(S.tU.Panel,{tabKey:en.H.Details,children:(0,o.jsxs)(k.BU,{children:[(0,o.jsx)($,{managerDetails:t}),(0,o.jsx)(z,{managerCareerHistory:s,managerDetails:t,showCareerHistory:a},t.manager.id),(0,o.jsx)(w,{manager:t.manager})]})})}var ec=s(60988);let eg=T()(()=>s.e(5151).then(s.bind(s,45151)),{loadableGenerated:{webpack:()=>[45151]}});function eh(e){let{id:t}=e;return(0,o.jsx)(S.tU.Panel,{tabKey:en.H.Matches,children:(0,o.jsx)(ec.MC.Provider,{value:{isShort:!0,location:b.y.MatchesSection},children:(0,o.jsx)(eg,{entity:a.wNW.Manager,id:t})})})}function ef(e){let{managerDetails:t,managerCareerHistory:s,showCareerHistory:a,id:r,slug:n}=e,[l,d]=(0,el.Ay)({routeKey:i.xW.Manager,params:{slug:t.manager.slug,id:t.manager.id}}),c=[{tabKey:en.H.Details,item:"details"},{tabKey:en.H.Matches,item:"matches",values:{sport:(0,ei.ap)(t.manager.sport.slug)}}];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(L,{manager:t.manager}),(0,o.jsx)(eo,{manager:t.manager,slug:n}),(0,o.jsxs)(er.A,{id:t.manager.id,location:er.m.ManagerPage,initialTabKey:(null==l?void 0:l.tab)||en.H.Details,customControls:[(null==l?void 0:l.tab)||en.H.Details,e=>d("tab",e)],tabs:c,children:[(0,o.jsx)(ed,{managerDetails:t,managerCareerHistory:s,showCareerHistory:a}),(0,o.jsx)(eh,{id:r})]})]})}let ep=function(e){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g.$B,{children:(0,o.jsx)(ef,{...e})}),(0,o.jsx)(g.h6,{children:(0,o.jsx)(ea,{...e})})]})};var eu=s(6675),em=s(71937),e_=s(25862),eb=s(65097);function ex(e){var t,s;let{id:a,slug:r,managerDetails:i,managerCareerHistory:g,seoContent:h,error:f}=e,p=(0,d.A)();return f?(0,o.jsx)(eb.default,{statusCode:f.code}):(0,o.jsxs)(j.an,{value:{seoContent:h},children:[(0,o.jsxs)(n(),{children:[(0,o.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(c.z.getTranslatedCanonicalRoute(p,"manager",{id:a,slug:r}).route)}),(0,l.v)(i.manager.sport.slug,p)&&(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,o.jsx)(eu.T2,{manager:i.manager}),(0,o.jsx)(j.Ay,{metaKey:"manager",values:{manager:i.manager.name,team:null!=(s=null==(t=i.manager.team)?void 0:t.name)?s:""}}),(0,o.jsx)(ep,{id:+a,managerCareerHistory:g,managerDetails:i,showCareerHistory:g.careerHistory.length>0,slug:r})]})}ex.getInitialProps=em.A.getInitialPageProps(e=>async t=>{let{req:s,res:o,query:r,...n}=t,l=s?s._originalUrl:n.asPath,d=c.z.getCurrentLocale(l),g="",h="";s&&(g=s.params.id,h=s.params.slug),r&&r.id&&r.slug&&(g=r.id,h=r.slug);let[f,p,u]=await Promise.allSettled([a.QXc.fetchManagerDetails(+g),a.sdF.getSeoContent(a.wNW.Manager,g,d),a.QXc.fetchManagerCareerHistory(+g)]);try{if("rejected"===f.status)throw Error();let t=f.value,s="fulfilled"===u.status?u.value:{careerHistory:[]},a="fulfilled"===p.status?p.value.content:void 0,r=t.manager,n=r.sport.slug;if(-1===i.Hk.indexOf(n))throw Error("Unsupported sport");let l=r.id,m=r.slug;return o&&(m!==h||l!==Number(g))&&(o.writeHead(301,{Location:c.z.getTranslatedRoute(d,"manager",{id:l,slug:r.slug}).route}),o.end()),e.dispatch((0,e_.Vy)(n)),{id:g,managerDetails:t,managerCareerHistory:s,slug:h,seoContent:a}}catch(e){return o&&(o.statusCode=404),{error:{code:404}}}});let ey=ex},94446:(e,t,s)=>{"use strict";s.d(t,{p:()=>a.p,t:()=>o.t});var o=s(91407),a=s(91603)}},e=>{var t=t=>e(e.s=t);e.O(0,[4092,8446,6591,395,4632,6618,4316,3338,9915,988,4719,7347,574,5247,5907,3081,7256,3231,6356,7717,1830,1343,5905,6675,636,6593,8792],()=>t(43381)),_N_E=e.O()}]);