!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]="67b21f09-6a0c-4ce6-a184-559536919c75",e._sentryDebugIdIdentifier="sentry-dbid-67b21f09-6a0c-4ce6-a184-559536919c75")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7229],{2496:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(6029),s=n(76356),a=n(55729),i=n(494),l=n(41735),o=n(2294);let d=(0,a.forwardRef)((e,t)=>{var n;let{children:a,onClick:d}=e,c=(0,i.d4)(o.a5),u=null==c?void 0:c.provider,{colors:m}=(0,l.useTheme)(),h=null==u||null==(n=u.colors)?void 0:n.primary,x=h?"linear-gradient(90deg, ".concat(h,", ").concat(m.overlay.darken1,", ").concat(h,")"):void 0,f=u?{background:x}:{};return(0,r.jsxs)(s.az,{position:"relative",bg:u?void 0:"surface.s2",br:"lg",ref:t,onClick:d,cursor:d?"pointer":void 0,style:f,children:[u&&(0,r.jsx)(s.az,{w:"100%",h:"100%",position:"absolute",bg:"surface.s1",style:{opacity:.8},br:"lg"}),(0,r.jsx)(s.az,{position:"relative",p:"md",children:a})]})})},16214:(e,t,n)=>{n.d(t,{O:()=>m});var r=n(6029),s=n(494),a=n(62859),i=n(17693),l=n(46430),o=n(49821),d=n(2294),c=n(2496),u=n(85304);let m=e=>{var t;let{eventId:n,isLive:m}=e,{allEventOdds:h,error:x}=(0,l.A)(n,m),f=(0,s.d4)(d.y$),{ref:v,makeOnClick:_}=(0,o.kW)({type:o.jF.Additional,marketName:null==h||null==(t=h[0])?void 0:t.marketName,location:a.cb.AdditionalOddsTab});return x?null:h?(0,r.jsx)(c.A,{ref:v,children:h.map((e,t,n)=>{var s;return(0,r.jsx)(u.A,{market:e,hideMarketName:(null==(s=n[t-1])?void 0:s.marketId)===e.marketId,onClick:_(e.marketName,o.ki.OddsValue),first:0===t,showRegulationImages:f},e.id)})}):(0,r.jsx)(i.t,{})}},17693:(e,t,n)=>{n.d(t,{t:()=>i});var r=n(6029),s=n(18612),a=n(2496);function i(e){let{hasCTA:t=!0,hideGambleResponsibly:n}=e,i=!t&&n;return(0,r.jsx)(a.A,{children:(0,r.jsxs)(s.D,{height:i?66:84,style:{display:"block",margin:"auto"},uniqueKey:"odds-cl",children:[(0,r.jsx)("rect",{x:0,y:0,width:46,height:15}),(0,r.jsx)("rect",{x:0,y:23,width:"32%",height:36}),(0,r.jsx)("rect",{x:"34%",y:23,width:"32%",height:36}),(0,r.jsx)("rect",{x:"68%",y:23,width:"32%",height:36}),t&&(0,r.jsx)("rect",{x:"calc(100% - 60px)",y:"calc(100% - 14px)",width:60,height:14})]})})}},28600:(e,t,n)=>{n.d(t,{G:()=>o,f:()=>l});var r=n(6029),s=n(90248);let a=JSON.parse('{"Full time":"odds_full_time","Double chance":"double_chance","1st half":{"id":"ordinalHalf","values":{"n":1}},"Draw no bet":"draw_no_bet","Both teams to score":"both_teams_to_score","First team to score":"firstTeamToScore","Handicap":"handicap","Match goals":"match_goals","First set winner":"firstSetWinner","Total games won":"totalGamesWon","Tie break in match":"tieBreakInMatch","Next game winner":"nextGameWinner","Next goal":"nextGoal","Current set winner":"currentSetWinner","Point spread":"pointSpread","Asian handicap":"asianHandicap","Game total":"gameTotal","Extra time":"extraTime","Cards in match":"cards_in_match_market","Cards":"cards","Corners 2-Way":"corners_2_way","1st quarter winner":"first_quarter_winner_market","1st period goals":"first_period_goals_market","Total points":"totalPoints","To win shootout":"shootout_win_market","Highest 1st 6 overs score":"highest_1_6_overs_market","Total match fours":"match_fours_market","Total match sixes":"match_sixes_market","A hundred to be scored in match":"hundred_scored_market","Most match sixes":"most_match_sixes_market","A fifty to be scored in the match":"fifty_scored_market","1st over total runs":"first_over_total_runs_market","To go to super over?":"super_over_market","Total runs in match":"total_runs_match_market","Highest individual score":"highest_ind_score_market","To score most runs":"most_runs_market","Next over runs":"runs_next_over_market","Wicket in next over":"wicket_next_over_market","Current innings runs":"current_innings_runs_market","Current innings sixes":"current_innings_sixes_market","Runs at fall of next wicket":"runs_fall_wicket_market","To go the distance":"go_the_distance_market","Total rounds":"total_rounds_market","To win in round":"win_in_round_market","1st half double chance":"first_half_double_chance","1st half goals":"first_half_goals_market","Both teams to score in 1st half":"both_score_half_time_market","Home team match goals":"home_team_goals","Away team match goals":"away_team_goals","Goal number":"goal_number_market","Goal number half time":"goal_number_halftime_market","Toss winner":"toss_win_market","Full time (including overtime)":"market_full_time_including_overtime","1X2":"betting_market_one_x_two","Home/away":"betting_market_home_away","European Handicap":"betting_market_european_handicap","Over/under":"betting_market_over_under","1X2 and score sum":"betting_market_one_x_and_two_score_sum","Odd":"odd_market","Even":"even_market","Yes":"yes","No":"no","Over":"over","Under":"under","No goal":"noGoal"}');var i=n(27892);let l=e=>{let{id:t}=e;return(0,r.jsx)(s.A,{id:(0,i.O)(a,t),values:(0,i.B)(a,t)})},o=l},31253:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6029),s=n(76356);let a=e=>{let{change:t}=e;return t?(0,r.jsx)("div",{children:1===t?(0,r.jsx)(s.I4.svg,{display:"block",mr:"2xs",width:"sm",height:"sm",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fill:"#15B168",d:"m4.27 0 4 6h-8z",fillRule:"evenodd"})}):(0,r.jsx)(s.I4.svg,{display:"block",mr:"2xs",width:"sm",height:"sm",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fill:"#C7361F",d:"m4 8 4-6H0z",fillRule:"evenodd"})})}):null}},34965:(e,t,n)=>{n.d(t,{A:()=>w});var r=n(6029),s=n(4967),a=n(55729),i=n(494),l=n(19168),o=n(21377),d=n(95083),c=n(90248),u=n(45860),m=n(54409),h=n(8960),x=n(70591),f=n(49821),v=n(76410),_=n(30479),g=n(76356);function p(e){let{children:t}=e;return(0,r.jsx)(g.so,{justify:"space-between",align:"center",border:"1px solid {colors.neutrals.nLv4}",borderRadius:"md",p:"md",mt:"sm",bg:"neutral.highlight",children:t})}var k=n(96003);function j(e){let{eventId:t,providerId:n,location:i,setCtaType:g}=e,{data:j}=(0,u.Ay)(o.bnp.betBoost(t,n)),[b,y]=(0,l.yR)(k.x,{}),[w,A]=(0,a.useState)(!1),C={boostId:t.toString()},I=(0,h.d)();return((0,a.useEffect)(()=>{j&&j.betBoost.betBoosts.length>0&&I?(A(!0),b[n]||y({...b,[n]:(0,s.ZV)()})):A(!1)},[n,j,I]),(0,a.useEffect)(()=>{g(e=>({...e,[f.fl.BetBoostButton]:{isActive:!!w}}))},[w]),w)?(0,r.jsxs)(p,{children:[(0,r.jsx)(c.A,{id:"check_available_boosts",values:{boosts:"Boosts"}}),(0,r.jsx)(x.N_,{routeKey:"betting",hash:(0,_.HL)(C),children:(0,r.jsxs)(d.$n,{size:"tertiary",onClick:()=>{y({...b,[n]:(0,s.ZV)()}),(0,v.ke)({action:"click",location:i,type:"bet_boost_button"})},children:["Bet Boost",(0,r.jsx)(m.CCT,{})]})})]}):null}function b(e){let{providerId:t,signUpLink:n,onClick:i,setCtaType:o}=e,[u,m]=(0,l.yR)(k.J,{});return((0,a.useEffect)(()=>{o(e=>({...e,[f.fl.AffiliateButton]:{isActive:!!n}}))},[!!n]),(0,a.useEffect)(()=>{!u[t]&&n&&m({...u,[t]:(0,s.ZV)()})},[t]),n)?(0,r.jsxs)(p,{children:[(0,r.jsx)(c.A,{id:"odds_cta_text"}),(0,r.jsx)(d.$n,{size:"tertiary",onClick:i,children:(0,r.jsx)(d.Mz,{color:"surface.s1",display:"block",textAlign:"center",target:"_blank",rel:"nofollow noopener noreferrer",href:n,children:(0,r.jsx)(c.A,{id:"claim_your_bonus_button"})})})]}):null}var y=n(2294);function w(e){let{eventId:t,location:n,setCtaType:o,onSignUpClick:d}=e,c=(0,i.d4)(y.a5),u=null==c?void 0:c.provider.id,m=null==c?void 0:c.signupLink,h=null==c?void 0:c.branded,[x]=(0,l.yR)(k.J,{}),[f]=(0,l.yR)(k.x,{}),[v,_]=(0,a.useState)(!0);if((0,a.useEffect)(()=>{u&&h&&_(!!x[u]&&1e3*x[u]+10*s.d_<=1e3*(0,s.ZV)())},[u]),!u||!h)return null;let g=!!f[u]&&1e3*f[u]+30*s.d_<=1e3*(0,s.ZV)();return!v&&m?(0,r.jsx)(b,{signUpLink:m,providerId:u,setCtaType:o,onClick:d}):g?null:(0,r.jsx)(j,{eventId:t,providerId:u,location:n,setCtaType:o})}},38136:(e,t,n)=>{n.d(t,{V:()=>o});var r=n(6029),s=n(76356),a=n(41249),i=n(494),l=n(10794);let o=()=>{switch((0,i.d4)(l.LQ)){case"CA":return(0,r.jsxs)(s.so,{children:[(0,r.jsx)("img",{src:"/static/images/odds/igaming-eng-dark.png",height:21,alt:""}),(0,r.jsx)(s.az,{mx:"sm",w:"[1px]",bg:"neutrals.nLv4"}),(0,r.jsx)("img",{src:"/static/images/odds/igaming-fra-dark.png",height:21,alt:""})]});case"IT":return(0,r.jsx)(a._V,{src:"/static/images/odds/aams-logo.png",alt:""});default:return null}}},44450:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(6029),s=n(494),a=n(10794),i=n(95083),l=n(76356),o=n(54409);function d(e){let{variant:t}=e,n="no-spacing"===t;return(0,r.jsx)("a",{href:"https://certifications.gamingcommission.gov.gr/publicRecordsOnline/SitePages/KatoxoiAdeiasOnline.aspx",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,r.jsxs)(l.so,{minH:"4xl",align:"center",gap:"md",px:n?"0":"md",mx:n?"0":"sm",mt:n?"0":"-sm",children:[(0,r.jsx)(l.az,{h:"xl",w:"xl",children:(0,r.jsx)(o.OE_,{w:"24px",h:"24px",fill:"onSurface.nLv3",fillOpacity:1})}),(0,r.jsx)(i.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function c(e){let{variant:t}=e;return"GR"===(0,s.d4)(a.LQ)?(0,r.jsx)(d,{variant:t}):null}},46430:(e,t,n)=>{n.d(t,{A:()=>v});var r=n(21377),s=n(932),a=n.n(s),i=n(78383),l=n.n(i),o=n(84285),d=n.n(o),c=n(55729),u=n(494),m=n(45860),h=n(39196),x=n(70351),f=n(2294);let v=function(e,t){let[n,s]=(0,u.d4)((0,f.Pf)(t)),[i]=(0,x.A)(),o={refreshInterval:6e4,fetcher:r.nk6.fetchOddsWithFallback},{data:v,error:_,mutate:g}=(0,m.Ay)(e&&(n||s)?[e,n,s]:null,o);(0,c.useEffect)(()=>{g()},[t]);let p=null==v?void 0:v.markets,k=null==p?void 0:p.map(e=>e.id);return(0,c.useEffect)(()=>{let e=[];return i&&(null==k||k.forEach(t=>{let n=i.Topic.odds.byId(t),r=(0,h.p)("odds:".concat(t),n,l());e.push(i.subscribe(r))})),()=>{e.forEach(e=>e())}},[i,null==v?void 0:v.eventId]),(0,c.useEffect)(()=>{let e=e=>{let t=a()(v);if(!(null==t?void 0:t.markets))return;let n=t.markets.findIndex(t=>t.id===e.id);n>-1&&[1,2,3].forEach(r=>{let s=e["choice".concat(r,".fractionalValue")];s&&d()(t,"markets[".concat(n,"].choices[").concat(r-1,"].fractionalValue"),s,a())}),g(t,!1)};i&&"boolean"!=typeof i&&(null==k||k.forEach(t=>{let n=i.Topic.odds.byId(t),r=(0,h.p)("odds:".concat(t),n,e);i.subscribe(r)}))},[i,v,g]),{allEventOdds:p,error:_}}},47229:(e,t,n)=>{n.d(t,{f9:()=>I,J7:()=>N,t1:()=>A.t}),n(16214);var r=n(6029),s=n(95083),a=n(76356),i=n(90112),l=n(9127),o=n(55729),d=n(90248),c=n(494),u=n(62859),m=n(22648),h=n(62213),x=n(76410),f=n(10794),v=n(98095),_=n(46430),g=n(85517),p=n(49821),k=n(2294),j=n(34965),b=n(77988),y=n(2496),w=n(85304),A=n(17693),C=n(44450);let I=e=>{var t;let{eventId:n,isLive:I,hideGambleResponsibly:E}=e,T=(0,c.d4)(f.LQ),[S,N]=(0,o.useState)({}),[O,L]=(0,o.useState)(!1),[F,V]=(0,o.useState)(null),B=(0,c.d4)(k.y$),R=(0,c.d4)(k.a5),{hasAdBlock:z}=(0,v.j)(),{location:M}=(0,o.useContext)(u.y$);n!==F&&(L(!1),V(n));let{featuredOdds:H,hasMoreOdds:W,error:G}=(0,g.A)(n,I),{allEventOdds:Y}=(0,_.A)(O?n:void 0,I),D=W&&(M!==u.cb.Widget||T&&h.fe.includes(T)),{ref:P,makeOnClick:$}=(0,p.kW)({type:p.jF.Featured,marketName:null==H?void 0:H.marketName,activeCTA:S}),{makeOnClick:X}=(0,p.kW)({type:p.jF.Additional,location:u.cb.AdditionalOdds});return G?null:H?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(y.A,{"data-testid":"odds_container",children:[(0,r.jsx)(w.A,{ref:P,market:H,onClick:$(H.marketName,p.ki.OddsValue),first:!0,showRegulationImages:B,showLiveLabel:!0}),(0,r.jsx)(i.N,{initial:!1,children:O&&(Y?(0,r.jsx)(l.m.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},style:{overflow:"hidden"},transition:{duration:.3,ease:"easeInOut"},children:Y.filter(e=>e.id!==H.id).map((e,t,n)=>{var s;let a=H.marketId===e.marketId&&0===t;return(0,r.jsx)(o.Fragment,{children:(0,r.jsx)(w.A,{market:e,hideMarketName:(null==(s=n[t-1])?void 0:s.marketId)===e.marketId||a,onClick:X(e.marketName,p.ki.OddsValue)})},e.id)})}):(0,r.jsx)(m.a,{delay:300}))}),(0,r.jsxs)(a.so,{justify:E?"flex-end":"space-between",align:"center",children:[!E&&(0,r.jsx)(b.A,{}),D&&(0,r.jsx)(a.az,{onClick:()=>{L(!O)},cursor:"pointer",children:(0,r.jsx)(s.EY,{textStyle:"assistive.default",color:"primary.default",truncate:!0,children:(0,r.jsx)(d.A,{id:O?"show_less":"odds.additionalOdds"})})})]}),!z&&(null==R||null==(t=R.provider)?void 0:t.id)&&(0,r.jsx)(j.A,{eventId:n,location:M,setCtaType:N,onSignUpClick:()=>(0,x.Fe)({id:n,category:H.marketName,location:M,provider:null==R?void 0:R.provider.slug,position:p.ki.AffiliateButton,type:p.jF.Featured})})]}),(0,r.jsx)(C.A,{})]}):(0,r.jsx)(A.t,{hideGambleResponsibly:E,hasCTA:!!D})};var E=n(41249),T=n(41618);let S=e=>{let{eventId:t,isLive:n,isOpen:i,title:l,isCompliance:h,onClose:x}=e,[v,g]=(0,o.useState)(!1),k=(0,c.d4)(f.LQ),{allEventOdds:j,error:y}=(0,_.A)(t,n),{makeOnClick:A}=(0,p.kW)({type:p.jF.Additional,location:u.cb.AdditionalOdds});return((0,o.useEffect)(()=>{let e=setTimeout(()=>g(!0),300);return j&&(clearTimeout(e),g(!0)),()=>clearTimeout(e)},[!!j]),y)?null:v?(0,r.jsxs)(E.Xn,{isOpen:i,onClose:x,blurBackground:h,children:[(0,r.jsx)(E.Xn.Header,{children:(0,r.jsxs)(a.so,{justify:"space-between",align:"center",children:[(0,r.jsx)(s.EY,{textStyle:"display.large",color:"neutrals.nLv1",children:l||(0,r.jsx)(d.A,{id:"odds.additionalOdds"})}),(0,r.jsx)(T.r,{size:"48x24"})]})}),(0,r.jsx)(E.Xn.Content,{children:(0,r.jsx)(a.az,{p:"lg",children:j?j.map((e,t)=>{var n;return(0,r.jsx)(w.A,{onClick:A(e.marketName,p.ki.OddsValue),market:e,secondary:!0,centerMarketName:!0,hideMarketName:(null==(n=j[t-1])?void 0:n.marketId)===e.marketId},e.id)}):(0,r.jsx)(m.a,{})})}),(h||"DE"===k)&&(0,r.jsx)(E.Xn.Footer,{children:(0,r.jsx)(s.EY,{display:"block",textAlign:"center",w:"100%",px:"lg",py:"sm",children:(0,r.jsx)(b.A,{})})})]}):null},N=e=>{let{eventId:t,isLive:n,hideGambleResponsibly:i}=e,l=(0,c.d4)(f.LQ),{location:m}=(0,o.useContext)(u.y$),{hasAdBlock:_}=(0,v.j)(),[I,E]=(0,o.useState)(!1),[T,N]=(0,o.useState)({}),O=(0,c.d4)(k.a5),{featuredOdds:L,hasMoreOdds:F,error:V}=(0,g.A)(t,n),{ref:B,makeOnClick:R}=(0,p.kW)({type:p.jF.Featured,marketName:null==L?void 0:L.marketName,activeCTA:T}),z=F&&l&&h.fe.includes(l);return V||!O?null:L?(0,r.jsxs)(a.az,{bg:"surface.s1",br:"lg",elevation:"2",children:[(0,r.jsxs)(y.A,{children:[(0,r.jsx)(w.A,{market:L,onClick:R(L.marketName,p.ki.OddsValue),ref:B,first:!0}),(0,r.jsxs)(a.so,{justify:i?"flex-end":"space-between",align:"center",children:[!i&&(0,r.jsx)(b.A,{}),z&&(0,r.jsx)(a.az,{onClick:()=>{E(!0)},cursor:"pointer",children:(0,r.jsx)(s.EY,{textStyle:"assistive.default",color:"primary.default",children:(0,r.jsx)(d.A,{id:"odds.additionalOdds"})})})]}),!_&&(0,r.jsx)(j.A,{eventId:t,location:m,setCtaType:N,onSignUpClick:()=>(0,x.Fe)({id:t,category:L.marketName,location:u.cb.EventPage,provider:null==O?void 0:O.provider.slug,position:p.ki.AffiliateButton,type:p.jF.Featured})})]}),(0,r.jsx)(C.A,{}),(0,r.jsx)(S,{eventId:t,isLive:n,isOpen:I,onClose:()=>E(!1),isCompliance:!0})]}):(0,r.jsx)(A.t,{hideGambleResponsibly:i,hasCTA:!!z})}},52210:(e,t,n)=>{n.d(t,{I:()=>d.A,i:()=>h});var r=n(6029),s=n(95083),a=n(62042),i=n(76356),l=n(947),o=n(28600),d=n(31253),c=n(75791);let u=(e,t,n)=>(0,a.AH)({pt:"2xs",pb:"xs",px:"xs",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:"1",minW:"[0px]",minH:"2xl",border:"1px solid",borderColor:n?"primary.default":"neutrals.nLv4",borderRadius:"xs",backgroundColor:t?"surface.s2":"surface.s1",_hover:{backgroundColor:e?t?"neutrals.nLv4":"surface.s2":void 0}}),m=e=>{let{betSlipLink:t,onClick:n,title:s,clickable:a,secondary:l,winning:o,children:d}=e;return a&&t?(0,r.jsx)(i.I4.a,{href:t,target:"_blank",rel:"nofollow noopener noreferrer",onClick:n,title:s,className:u(a,l,o),children:d}):(0,r.jsx)(i.I4.div,{className:u(a,l,o),onClick:n,children:d})},h=e=>{let{choice:t,isLive:n,betSlipLink:a,hideChoiceName:u,secondary:h,countryOddsProvider:x,onClick:f}=e,v=(0,l.A)(),_=!!((null==x?void 0:x.branded)&&a),g=_?v.formatMessage({id:"odds.provider"},{provider:x.provider.name}):void 0;return(0,r.jsxs)(m,{clickable:_,title:g,betSlipLink:a,secondary:h,onClick:f,winning:t.winning,"data-testid":"odds_choice",children:[!u&&(0,r.jsx)(s.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",w:"100%",textAlign:"center",truncate:!0,children:(0,r.jsx)(o.G,{id:t.name})}),(0,r.jsxs)(i.so,{align:"center",children:[(0,r.jsx)(d.A,{change:t.change}),(0,r.jsx)(s.EY,{textStyle:"display.micro",color:n?"status.val":"neutrals.nLv1",children:(0,r.jsx)(c.c,{fractionalValue:t.fractionalValue})})]})]})}},70351:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(55729),s=n(39196),a=n(4372);let i=function(){let[e,t]=(0,r.useState)(),[n,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{(0,s.e)().then(e=>t(e)).catch(()=>t(null))},[]),(0,r.useEffect)(()=>{if(!e)return void i(!1);e.ConnectionManager.isClosed()||i(!0);let t=()=>i(!1),n=()=>i(!0);return e.ConnectionManager.subscribe(t,a.sV.Disconnect),e.ConnectionManager.subscribe(n,a.sV.Reconnect),()=>{e.ConnectionManager.unsubscribe(t,a.sV.Disconnect),e.ConnectionManager.unsubscribe(n,a.sV.Reconnect)}},[e]),[e,n]}},85304:(e,t,n)=>{n.d(t,{A:()=>_});var r=n(6029),s=n(21377),a=n(95083),i=n(76356),l=n(55729),o=n(90248),d=n(494),c=n(65078),u=n(28600),m=n(2294),h=n(4236),x=n(52210),f=n(41618),v=n(38136);let _=(0,l.forwardRef)((e,t)=>{let{market:n,hideMarketName:l,centerMarketName:_,first:g,showRegulationImages:p,hideProviderLogo:k,secondary:j,showLiveLabel:b,onClick:y}=e,w=(0,d.d4)(m.a5),{isMobile:A}=(0,a.$c)(),C=(0,c.g3)(),I=(0,h.nu)(n.choices,C);if(!w)return null;let E=n.structureType===s.oeP.Handicap,T=n.isLive,S=g&&(p||!k);return(0,r.jsxs)(r.Fragment,{children:[!l&&(0,r.jsxs)(i.so,{pb:"sm",pt:S?void 0:"md",mt:S?"-xs":void 0,justify:"space-between",align:"center","data-testid":"odds_market_name",children:[(0,r.jsxs)(a.EY,{textStyle:"assistive.default",w:_?"100%":void 0,textAlign:_?"center":void 0,children:[(0,r.jsx)(u.f,{id:n.marketName}),b&&T&&(0,r.jsx)(a.EY,{textStyle:"assistive.default",color:"status.val",pl:"xs",children:(0,r.jsx)(o.A,{id:"live"})})]}),S&&(p?(0,r.jsx)(v.V,{}):(0,r.jsx)(i.az,{h:"xl",w:"4xl",my:"-xs",mx:"0",children:(0,r.jsx)(f.r,{size:"48x24"})}))]}),(!l||A)&&E&&(0,r.jsxs)(i.so,{justify:"space-around",gap:"sm",children:[(0,r.jsx)(i.so,{flex:"1"}),I.map(e=>(0,r.jsx)(i.so,{flex:"1",align:"center",justify:"center",children:(0,r.jsx)(a.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,r.jsx)(u.G,{id:e.name})})},e.name))]}),(0,r.jsxs)(i.so,{ref:t,justify:"space-between",gap:"sm",pb:"sm",children:[E&&(0,r.jsx)(i.so,{flex:"1",align:"center",justify:"center",p:"2xs",children:(0,r.jsx)(a.EY,{textStyle:"body.small",children:n.choiceGroup})}),I.map(e=>(0,r.jsx)(x.i,{choice:e,isLive:T,betSlipLink:(0,h.Iz)(e,n,w),hideChoiceName:E,countryOddsProvider:w,onClick:y,secondary:j},e.name))]})]})})},85517:(e,t,n)=>{n.d(t,{A:()=>v});var r=n(21377),s=n(932),a=n.n(s),i=n(78383),l=n.n(i),o=n(84285),d=n.n(o),c=n(55729),u=n(494),m=n(45860),h=n(39196),x=n(70351),f=n(2294);let v=function(e,t,n){var s;let i=(0,u.d4)(f.a5),[o,v]=(0,u.d4)((0,f.Pf)(t)),_=null==i?void 0:i.featuredOddsType,[g]=(0,x.A)(),p={refreshInterval:6e4,fetcher:r.nk6.fetchOddsWithFallback},{data:k,error:j,mutate:b}=(0,m.Ay)(e&&(o||v)?[e,o,v,!0]:null,p);(0,c.useEffect)(()=>{b()},[t]);let y=null!=n?n:_,w=y?null==k||null==(s=k.featured)?void 0:s[y]:void 0;return(0,c.useEffect)(()=>{let e;if(w){if(g){let t=g.Topic.odds.byId(w.id),n=(0,h.p)("featured:".concat(w.id),t,l());e=g.subscribe(n)}return()=>{null==e||e()}}},[g,null==w?void 0:w.id]),(0,c.useEffect)(()=>{if(w&&g&&"boolean"!=typeof g){let e=g.Topic.odds.byId(w.id),t=(0,h.p)("featured:".concat(w.id),e,e=>{var t;if(!_||!(null==k||null==(t=k.featured)?void 0:t[_]))return;let n=a()(k);[1,2,3].forEach(t=>{let r=e["choice".concat(t,".fractionalValue")];r&&d()(n,"featured.".concat(_,".choices[").concat(t-1,"].fractionalValue"),r,a())}),b(n,!1)});g.subscribe(t)}},[g,k,b]),{featuredOdds:w,hasMoreOdds:null==k?void 0:k.hasMoreOdds,error:j}}}}]);