PageSourceSearch

https://www.racingpost.com/_next/static/chunks/3867.fc5b6d9d4db2f040.js

js racingpost.com collected 2026-10-02 02:29:56 UTC 42,180 bytes, 1 lines download raw bytes

1!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]="136b1def-aacb-404f-922f-a6ff6b6d60eb",e._sentryDebugIdIdentifier="sentry-dbid-136b1def-aacb-404f-922f-a6ff6b6d60eb")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3867],{1663:(e,t,n)=>{n.d(t,{C:()=>R});var r=n(14232),o=n(31777),i=n(16811),l=n(91553),a=n(65064),s=n(70655),c=n(91936),d=n(27699);let{ODDS_BUTTON:p}=l.wK,{FRACTIONAL:u}=c.gE,{BET_BUTTON_TYPE_FULL_INTEGRATION:m,BET_BUTTON_TYPE_DEEP_LINK:f}=l.zk,{BET_BUTTON_TYPE:h,BOOKMAKER_NAME:g,IS_FRACTIONAL:b,LOCATION:x,HORSE_ID:y,HORSE_NAME:w,JOCKEY_NAME:A,JOCKEY_ID:j,TRAINER_NAME:k,TRAINER_ID:C,OWNER_NAME:_,OWNER_ID:H,ODDS_DECIMAL:I,RACE_ID:v,RACE_DATE_TIME:T,LOCAL_RACE_DATE_TIME:S,RACECOURSE_SPORT:$,RACECOURSE_ID:D,RACECOURSE:N,RACECOURSE_COUNTRY:E,BEST_ODDS_GUARANTEED:O,ODDS_SUBSECTION:B}=a.D,R=()=>{let{trackEvent:e}=(0,i.f)(),t=(0,o.d4)(e=>(0,d.bW)(e)),n=(0,o.d4)(e=>(0,d.O1)(e));return(0,r.useCallback)(r=>{var o;let{deepLink:i,location:a,horseId:c,horseName:d,jockeyName:R,jockeyId:M,trainerName:L,trainerId:P,ownerName:F,ownerId:V,oddsDecimal:Q,raceId:z,raceDateTime:U,localRaceDateTime:W,racecourseId:G,racecourse:Y,racecourseCountry:K,isBog:Z,oddsSubsection:q,bookmakerDisplayName:J}=r;e(p,{[h]:i?f:m,[g]:void 0!==J?J:null!==(o=s.E8[t])&&void 0!==o?o:null,[b]:n===u,[x]:a,[$]:l.d4,[y]:String(c),[w]:d,[A]:R,[j]:M?String(M):null,[k]:L,[C]:P?String(P):null,[_]:F,[H]:V?String(V):null,[I]:Q,[v]:String(z),[T]:U,[S]:W,[D]:String(G),[N]:Y,[E]:K,[O]:Z,[B]:q})},[e,t,n])}},20021:(e,t,n)=>{n.d(t,{A:()=>w});var r=n(37876),o=n(28888),i=n(98684);function l(){let e=(0,o._)(["\n            row-gap: 24px;\n        "]);return l=function(){return e},e}function a(){let e=(0,o._)(["\n            grid-template-columns: calc(100% - (300px + ",")) 300px;\n            column-gap: ",";\n            row-gap: 24px;\n        "]);return a=function(){return e},e}function s(){let e=(0,o._)(["\n            grid-template-columns: auto;\n            column-gap: ",";\n            padding-bottom: ",";\n        "]);return s=function(){return e},e}function c(){let e=(0,o._)(["\n                align-items: stretch;\n            "]);return c=function(){return e},e}function d(){let e=(0,o._)(["\n                column-gap: 0;\n                grid-template-columns: 1fr;\n            "]);return d=function(){return e},e}function p(){let e=(0,o._)(["\n                grid-template-columns: 1fr;\n                column-gap: 0;\n            "]);return p=function(){return e},e}function u(){let e=(0,o._)(["\n                display: flex;\n                flex-direction: column;\n                align-items: stretch;\n            "]);return u=function(){return e},e}function m(){let e=(0,o._)(["\n            width: 300px;\n        "]);return m=function(){return e},e}function f(){let e=(0,o._)(["\n            min-height: 40px;\n        "]);return f=function(){return e},e}function h(){let e=(0,o._)(["\n                display: none;\n            "]);return h=function(){return e},e}let g=i.Ay.div.withConfig({componentId:"sc-4a819b3-0"})(["",""],e=>{let{shouldHaveColumnGap:t,isHorizontal:n,isFullWidth:r,isStackedOnTabletMobile:o,theme:{spacings:m,mixins:{breakpointMixin:f}}}=e;return(0,i.AH)(["display:grid;grid-template-columns:calc(100% - (300px + ",")) 300px;column-gap:",";"," "," "," "," "," "," ",""],m.l,m.l,f.desktop(l()),f.tablet(a(),m.m,m.m),f.mobile(s(),m.m,m.l),n&&(0,i.AH)(["display:flex;flex-direction:column;align-items:center;",""],f.tabletMobile(c())),!t&&(0,i.AH)(["",""],f.tabletMobile(d())),r&&(0,i.AH)(["grid-template-columns:1fr;column-gap:0;",""],f.tablet(p())),o&&(0,i.AH)(["",""],f.tabletMobile(u())))}),b=i.Ay.div.withConfig({componentId:"sc-4a819b3-1"})(["",""],e=>{let{theme:{spacings:t}}=e;return(0,i.AH)(["width:100%;> div + a,> div + div[data-widget-name='racecourse-tips-linking']{margin-top:",";}"],t.l)}),x=i.Ay.div.withConfig({componentId:"sc-4a819b3-2"})(["",""],e=>{let{theme:{colors:{white:t,midGrey:n},spacings:{xs:r},mixins:{breakpointMixin:o}},$isOnRaceCards:l,$isHiddenOnTabletMobile:a}=e;return(0,i.AH)(["display:flex;flex-direction:column;row-gap:24px;padding:",";"," ",";",";",""],r,l&&(0,i.AH)(["background:",";margin-top:-117px;border-radius:8px;border:1px solid ",";"],t,n),o.desktop(m()),o.tablet(f()),a&&(0,i.AH)(["",""],o.tabletMobile(h())))}),y=e=>{let{children:t,isHorizontal:n=!1,shouldHaveColumnGap:o=!0,isFullWidth:i=!1,isStackedOnTabletMobile:l=!1}=e;return(0,r.jsx)(g,{isHorizontal:n,shouldHaveColumnGap:o,isFullWidth:i,isStackedOnTabletMobile:l,children:t})};y.Content=e=>{let{children:t}=e;return(0,r.jsx)(b,{children:t})},y.Aside=e=>{let{children:t,$isOnRaceCards:n,$isHiddenOnTabletMobile:o}=e;return(0,r.jsx)(x,{$isOnRaceCards:n,$isHiddenOnTabletMobile:o,children:t})};let w=y},24020:(e,t,n)=>{n.d(t,{V:()=>l});var r=n(70655),o=n(97513),i=n(91936);let l=(e,t)=>
1{let{eventId:n,outcomeId:l,fractionalPrice:a,marketId:s}=t,c=r.ng[e],d=r.E8[e];switch(e){case r.rj.BET365:return(0,o.Q)("".concat(c,"affiliate=").concat("365_03335685","&bs=").concat(n,"-").concat(l,"~").concat(a,"&bet=1#/HO/"),d);case r.rj.BETFAIR:return(0,o.Q)("".concat(c,"pid=").concat("17679562","&bid").concat("11081","&redirecturl=https://www.betfair.com/sport?modules=betslip&action=addAffiliateSelection&bssId=").concat(l,"&bsmId=").concat(s),d);case r.rj.CORAL:let p="5046908";return(0,o.Q)("".concat(c,"selections=").concat(l,"&locale=en-GB&aff-id=").concat(p,"&wm=").concat(p),d);case r.rj.LADB:return(0,o.Q)("".concat(c,"selections=").concat(l,"&locale=en-GB&aff-id=").concat("5046909","&wm=").concat("5046909"),d);case r.rj.PADDYPOWER:return(0,o.Q)("".concat(c,"pid=").concat("17679289","&bid=").concat("7307","&redirectURL=https://www.paddypower.com/?action=addLegs&leg=").concat(s,"|").concat(l,"|SIMPLE_SELECTION|"),d);case r.rj.SURREY:return(0,o.Q)("".concat(c).concat(n,"/bet/?sels=").concat(l,"&btag_a=").concat("14099"),d);case r.rj.WH_OXI:return(0,o.Q)("".concat(c,"btag=").concat("a_1504384b_814c_","&affid=").concat("1504384","&siteid=").concat("209198","&adid=").concat("1416","&c=&asclurl=https://transact.williamhill.com/betslip/api/bets/addToSlip?sel=").concat(l,"&price=").concat(a,"&url=https://sports.williamhill.com/betting/en-gb"),d);case r.rj.BETFRED:let u=r.ng[r.rj.BETFRED];return(0,o.Q)("".concat(u,"?affiliate_id=").concat("101891","&btag=").concat("113519","&targeturl=https://www.betfred.com/external-betslip?selection=").concat(l),r.F5.BETFRED);case r.rj.BOYLESPORTS:case r.rj.BOLEYSPORTS:let m=r.ng[r.rj.BOYLESPORTS];return"".concat(m,"?selId=").concat(l,"&idfiacampaign=").concat("32667");case r.rj.TOTE:let{diffusionCourseName:f,raceTime:h,saddleClothNo:g}=t;if(!f||!h)return"#";let b=r.ng[r.rj.TOTE],x=f.toUpperCase(),y=(x in r.Qv?r.Qv[x]:f).replace(/[\W_]/g,"-").toLowerCase();return"".concat(b).concat(y,"/today/").concat(h,"/win?selections=").concat(g,"&").concat(i.nm);default:return"#"}}},73867:(e,t,n)=>{n.r(t),n.d(t,{default:()=>nh});var r=n(37876),o=n(14232),i=n(31777),l=n(90707),a=n(35881);let s={data:[],error:null},c={data:[],error:null},d=e=>e.tipsterNaps,p=(0,a.Mz)([d],e=>e.napsTable||s),u=(0,a.Mz)([d],e=>e.pressChallenge||c),m=(0,a.Mz)([p],e=>{let{data:t,error:n}=e;return{data:t,error:n}}),f=(0,a.Mz)([u],e=>{let{data:t,error:n}=e;return{data:t,error:n}});var h=n(18847),g=n.n(h),b=n(20021),x=n(38573),y=n(85049),w=n(28888),A=n(98684),j=n(59214);function k(){let e=(0,w._)(["\n            grid-template-columns: auto;\n            column-gap: ",";\n            padding-bottom: 0;\n        "]);return k=function(){return e},e}function C(){let e=(0,w._)(["\n            display: flex;\n            flex-direction: column;\n            gap: calc("," - ",");\n        "]);return C=function(){return e},e}function _(){let e=(0,w._)(["\n            width: 100%;\n        "]);return _=function(){return e},e}function H(){let e=(0,w._)(["\n            margin-bottom: ",";\n            padding-bottom: ",";\n        "]);return H=function(){return e},e}let I=A.Ay.div.withConfig({componentId:"sc-f019106b-0"})(["position:relative;",""],j.kL),v=A.Ay.div.withConfig({componentId:"sc-f019106b-1"})(["",""],e=>{let{theme:{spacings:{m:t},mixins:{breakpointMixin:n,containerNewBreakpoint:r}}}=e;return(0,A.AH)([""," ",";width:100%;",""],j.kL,r,n.mobile(k(),t))}),T=A.Ay.div.withConfig({componentId:"sc-f019106b-2"})(["",""],e=>{let{theme:{spacings:{xs:t,l:n},mixins:{breakpointMixin:r}}}=e;return(0,A.AH)(["display:none;",""],r.desktop(C(),n,t))}),S=A.Ay.div.withConfig({componentId:"sc-f019106b-3"})(["",""],e=>{let{theme:{spacings:{xs:t,l:n},mixins:{breakpointMixin:r}}}=e;return(0,A.AH)([""," ",""],r.tabletMobile(_()),r.mobile(H(),n,t))}),$=g()(()=>n.e(5583).then(n.bind(n,25583)),{loadableGenerated:{webpack:()=>[25583]}}),D=g()(()=>Promise.all([n.e(4462),n.e(3004)]).then(n.bind(n,94462)),{loadableGenerated:{webpack:()=>[94462]}}),N=g()(()=>n.e(9485).then(n.bind(n,99485)),{loadableGenerated:{webpack:()=>[99485]}}),{MPU1:E,MPU8:O,MPU10:B}=x._i,{PAGE:R,HOME:M}=x.DG,{SMALL_DESKTOP:L,LARGE_DESKTOP:P}=y.L,{TEMPLATE_PAGE:F,TEMPLATE_PAGE_WITH_SKINS:V}=x.Tq,{LEFT_SKIN:Q,RIGHT_SKIN:z}
1=x._i,{LARGE_SKIN:U,SMALL_SKIN:W}=x.kw,G=()=>[{key:R,value:M}],Y=e=>{let{children:t,hasSkinAds:n=!0,hasSideAds:o=!0}=e;return(0,r.jsxs)(I,{children:[n&&(0,r.jsx)($,{containerType:V,adUnit:Q,breakpoints:[W,U],targeting:G(),shouldHaveSpacings:!1,isLeftSkinAd:!0,isSticky:!1,defaultOffsetTop:10}),(0,r.jsx)(v,{"data-testid":"Container__StandardGridLayout",children:(0,r.jsxs)(b.A,{isStackedOnTabletMobile:!0,children:[(0,r.jsx)(b.A.Content,{children:t}),(0,r.jsxs)(b.A.Aside,{$isHiddenOnTabletMobile:!0,children:[(0,r.jsxs)(T,{children:[(0,r.jsx)(D,{}),(0,r.jsx)(N,{})]}),o&&(0,r.jsxs)(S,{"data-testid":"Container__AdsContainer",children:[(0,r.jsx)($,{containerType:F,adUnit:E,breakpoints:[L,P],targeting:G()}),(0,r.jsx)($,{containerType:F,adUnit:O,breakpoints:[L,P],targeting:G()}),(0,r.jsx)($,{containerType:F,adUnit:B,breakpoints:[L,P],targeting:G()})]})]})]})}),n&&(0,r.jsx)($,{containerType:V,adUnit:z,breakpoints:[W,U],targeting:G(),shouldHaveSpacings:!1,isRightSkinAd:!0,isSticky:!1,defaultOffsetTop:10})]})};var K=n(39324),Z=n.n(K),q=n(86589),J=n(48007),X=n(24020),ee=n(20885),et=n(70655),en=n(6034),er=n(29633),eo=n(19874),ei=n(27699);let{publicRuntimeConfig:{diffusionDomain:el}}=Z()(),{subscribe:ea,unsubscribe:es,transformOddResponse:ec}=q.F,{HELD:ed}=en.$Q,{BOOKMAKER_ODDS:ep,BOOKMAKER_RACE_INFO:eu}=en.GM,{BESTODDS_RP:em,TOTE:ef}=et.rj,eh=e=>e?et.E8[e]||e:"Best Odds",eg=e=>{let t=(0,i.d4)(ei.bW),[n,r]=(0,o.useState)({}),[a,s]=(0,o.useState)({}),c=!(0,ee.NL)(t),d=eh(t);(0,o.useEffect)(()=>{r({}),s({})},[t]);let{oddTopics:p,topicToSaddleCloth:u}=(0,o.useMemo)(()=>{if(!e)return{oddTopics:[],topicToSaddleCloth:{}};let n=[],r={},o=c?t:em;return e.forEach(e=>{let{horseName:t,diffusionCourseName:i,time:l,date:a,saddleClothNo:s}=e;if(!(0,eo.OU)(t,i,l,a))return;let c=(0,J.Dg)(a,l,i),d=(0,J.RD)(c,t,o);n.push({feed:d}),r[d]=null!=s?s:null}),{oddTopics:n,topicToSaddleCloth:r}},[e,c,t]),{infoTopics:m,raceFeedToHorseIds:f}=(0,o.useMemo)(()=>{if(!e||!c)return{infoTopics:[],raceFeedToHorseIds:{}};let n=new Set,r=[],o={};return e.forEach(e=>{let{horseId:i,diffusionCourseName:l,time:a,date:s}=e;if(!(0,eo.OU)(l,a,s))return;let c=(0,J.Dg)(s,a,l);if(o[c]||(o[c]=[]),o[c].push(i),n.has(c))return;n.add(c);let d=(0,J._9)(c,t);d&&r.push({feed:d})}),{infoTopics:r,raceFeedToHorseIds:o}},[e,c,t]),h=(e,t)=>{var n,o;let i=u[t],{diffusionCourseName:l,raceTime:a,horseName:s,bookmakerShortCode:c}=(0,J.yq)(t),d=ec(e),{status:p,fractionalPrice:m,decimalPrice:f,marketId:h,eventId:g,outcomeId:b,historyPrices:x}=d,y=p===ed,w=null!==(o=null==x?void 0:null===(n=x.fractional)||void 0===n?void 0:n.filter(e=>""!==e))&&void 0!==o?o:[],A=(0,ee.oC)(c)&&!y?(0,X.V)(c,{...d,diffusionCourseName:l,raceTime:a,horseName:s,saddleClothNo:c===ef?i:null}):null;r(e=>({...e,[t]:{fractional:y?"-":m,decimal:y?"-":f,marketId:h,eventId:g,outcomeId:b,oddsHistory:w,deepLink:A}}))};(0,o.useEffect)(()=>{if(0!==p.length)return ea(ep,p,h,el),()=>{es(ep,p,el)}},[p,u,c]);let g=(e,t)=>{var n;let r=null!==(n=f[t.split("/#INFO")[0]])&&void 0!==n?n:[],{hasBestOddsGuaranteed:o}=(0,er.E)(e);s(e=>{let t={...e};return r.forEach(e=>{t[e]=o}),t})};return(0,o.useEffect)(()=>{if(0!==m.length)return ea(eu,m,g,el),()=>{es(eu,m,el)}},[m,f]),{oddsData:(0,o.useMemo)(()=>{if(!e)return[];let r=c?t:em;return e.map(e=>{var t;let{horseName:o,diffusionCourseName:i,time:a,date:s}=e;if(!(0,eo.OU)(o,i,a,s))return l.nV;let c=(0,J.Dg)(s,a,i);return null!==(t=n[(0,J.RD)(c,o,r)])&&void 0!==t?t:l.nV})},[e,n,c,t]),bogByHorseId:a,bookmakerDisplayName:d}};var eb=n(43674),ex=n(54587),ey=n.n(ex);function ew(){let e=(0,w._)(["\n            padding: "," ",";\n            display: none;\n        "]);return ew=function(){return e},e}let eA=A.Ay.th.withConfig({componentId:"sc-e2af4e9a-0"})(["",""],e=>{let{theme:{colors:{black:t,lightGrey:n,brandPrimary:r,midGrey:o},spacings:{xxs:i,xs:l},typography:{brandBody:a},mixins:{breakpointMixin:s}}}=e;return(0,A.AH)(["",";display:flex;align-items:center;padding:",";color:",";flex-shrink:0;text-transform:uppercase;background-color:",";border-bottom:1px solid ",";border-left:none;position:relative;justify-content:flex-start;text-align:left;cursor:pointer;border-bottom:1px solid ",";height:100%;",""],a.xsmall.bold,i,t,n,o,r,s.tabletDesktop(ew(),l,i))}),ej=A.Ay.span.withConfig({componentId:"sc-e2af4e9a-1"})(["",""],e=>{let{theme:{colors:{brandPrimary:t}
1,typography:{brandBody:n}},$isSorted:r}=e;return(0,A.AH)(["",";position:relative;",""],n.xsmall.bold,r&&(0,A.AH)(["color:",";"],t))}),ek=A.Ay.div.withConfig({componentId:"sc-e2af4e9a-2"})(["",""],e=>{let{theme:{colors:{white:t,darkGrey:n},spacings:{xxs:r,xs:o,s:i}}}=e;return(0,A.AH)(["position:absolute;display:block;top:100%;left:0;right:auto;margin-top:",";padding:0 ",";background-color:",";border:1px solid ",";border-radius:",";z-index:10;white-space:normal;min-width:180px;&::before,&::after{position:absolute;bottom:100%;left:8%;border:solid transparent;content:'';height:0;width:0;pointer-events:none;}&::after{border-color:transparent;border-bottom-color:",";border-width:",";margin-left:1px;}&::before{border-color:transparent;border-bottom-color:",";border-width:calc("," + 1px);}"],o,o,t,n,r,t,i,n,i)}),eC=A.Ay.div.withConfig({componentId:"sc-e2af4e9a-3"})(["",""],e=>{let{theme:{colors:{black:t,midGrey:n},typography:{brandBody:r}}}=e;return(0,A.AH)(["",";display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:",";border-bottom:1px solid ",";&:last-child{border-bottom:0;}"],r.xsmall.semibold,t,n)}),e_=A.Ay.span.withConfig({componentId:"sc-e2af4e9a-4"})(["line-height:40px;"]),eH=(0,A.Ay)(ey()).withConfig({componentId:"sc-e2af4e9a-5"})(["",""],e=>{let{theme:{colors:{goGreen:t},typography:{brandHeadings:n}}}=e;return(0,A.AH)(["display:flex;align-items:center;",";fill:",";filter:",";"],n.headingSix,t,t)}),{TODAYS_NAPS:eI,TODAYS_NAPS_TIPSTER:ev,TIPSTER:eT}=l.MZ,{HORSE_NAME:eS,TIPSTER:e$}=l.Zj,eD=e=>{let{selectedKey:t,onSelect:n}=e,[i,l]=(0,o.useState)(!1),a=(0,o.useRef)(null),s=t===eS,c=t===e$;(0,eb.j)(a,[],[i],()=>{i&&l(!1)},"click");let d=(e,t)=>{e.stopPropagation(),n(t),l(!1)};return(0,r.jsxs)(eA,{ref:a,onClick:()=>{l(e=>!e)},children:[(0,r.jsx)(ej,{$isSorted:s||c,children:ev}),i&&(0,r.jsxs)(ek,{children:[(0,r.jsxs)(eC,{onClick:e=>d(e,eS),children:[(0,r.jsx)(e_,{children:eI}),s&&(0,r.jsx)(eH,{src:"/svgs/tick_green.svg",width:24,height:24,alt:"tick"})]}),(0,r.jsxs)(eC,{onClick:e=>d(e,e$),children:[(0,r.jsx)(e_,{children:eT}),c&&(0,r.jsx)(eH,{src:"/svgs/tick_green.svg",width:24,height:24,alt:"tick"})]})]})]})};function eN(){let e=(0,w._)(["\n            padding: "," ",";\n        "]);return eN=function(){return e},e}function eE(){let e=(0,w._)(["\n            padding: "," ",";\n            ","\n        "]);return eE=function(){return e},e}function eO(){let e=(0,w._)(["\n                display: flex;\n            "]);return eO=function(){return e},e}let eB=A.Ay.th.withConfig({componentId:"sc-fc98cbd9-0"})(["",""],e=>{let{$isHorseNameOrTipster:t,$isLevelStakes:n,$isCentered:r,$isSorted:o,theme:{colors:{black:i,lightGrey:l,brandPrimary:a},spacings:{xxs:s,xs:c,s:d},typography:{brandBody:p},mixins:{breakpointMixin:u}}}=e;return(0,A.AH)(["",";display:flex;align-items:center;color:",";flex-shrink:0;text-transform:uppercase;background-color:",";border-bottom:1px solid ",";cursor:pointer;"," "," "," "," ",""],p.xsmall.bold,i,l,a,o&&(0,A.AH)(["color:",";"],a),r&&(0,A.AH)(["padding:"," 0;justify-content:center;text-align:center;"],s),u.tabletDesktop(eN(),c,s),u.mobile(eE(),d,s,n&&(0,A.AH)(["align-items:flex-end;justify-content:flex-end;text-align:right;"])),t&&(0,A.AH)(["display:none;padding-left:",";",""],s,u.tabletDesktop(eO())))}),eR=(0,o.memo)(e=>{let{column:t,isSorted:n,onSort:i}=e,{key:l,title:a,isHorseName:s,isTipster:c,isLevelStakes:d,isOdds:p}=t,u=(0,o.useCallback)(()=>i(l),[i,l]);return(0,r.jsx)(eB,{$isHorseNameOrTipster:s||c,$isLevelStakes:d,$isCentered:p,$isSorted:n,onClick:u,"data-testid":"HeaderCell__NapsTableHeaderCell__".concat(l),children:a})});eR.displayName="NapsTableHeaderCell";var eM=n(61538),eL=n(80988),eP=n(89542);function eF(){let e=(0,w._)(["\n            padding: "," ",";\n        "]);return eF=function(){return e},e}function eV(){let e=(0,w._)(["\n                padding-left: ",";\n            "]);return eV=function(){return e},e}function eQ(){let e=(0,w._)(["\n                grid-column: auto;\n                grid-row: auto;\n                padding: "," ",";\n            "]);return eQ=function(){return e},e}function ez(){let e=(0,w._)(["\n                justify-content: flex-start;\n            "]);return ez=function(){return e},e}let eU=A.Ay.td.withConfig({componentId:"sc-fd6c8217-0"})(["",""],e=>{let{$isHorseName:t,$isTipster:n,$isLevelStakes:r,theme:{spacings:{xxs:o,xs:i,s:l}
1,typography:{brandBody:a},colors:{black:s,white:c},mixins:{breakpointMixin:d}}}=e;return(0,A.AH)(["",";color:",";padding:"," "," 0;display:flex;align-items:center;background-color:",";"," "," "," ",""],a.xsmall.bold,s,o,o,c,d.tabletDesktop(eF(),i,o),t&&(0,A.AH)(["padding-left:0;",""],d.tabletDesktop(eV(),o)),n&&(0,A.AH)(["",";grid-column:1 / -1;grid-row:2;padding:0 "," "," 0;",""],a.xsmall.regular,o,o,d.tabletDesktop(eQ(),l,o)),r&&(0,A.AH)(["justify-content:flex-end;",""],d.tabletDesktop(ez())))}),eW=A.Ay.span.withConfig({componentId:"sc-fd6c8217-1"})(["",""],e=>{let{theme:{colors:{black:t,brandPrimary:n},typography:{brandBody:r}}}=e;return(0,A.AH)(["",";color:",";text-decoration:none;&:hover{text-decoration:underline;color:",";}"],r.xsmall.semibold,t,n)}),{HORSE_NAME:eG}=l.Zj,eY=(0,o.memo)(e=>{let{column:t,data:n}=e,{key:o,isHorseName:i,isTipster:l,isLevelStakes:a}=t,s=(0,eP.l)();return(0,r.jsx)(eU,{$isHorseName:i,$isTipster:l,$isLevelStakes:a,"data-testid":"BodyCell__NapsTableBodyCell__".concat(o),children:o===eG?(0,r.jsx)(eM.A,{href:(0,eL.h6)(n.horseId,n.horseName),dataTestId:"BodyCell__NapsTableBodyCell__".concat(o),...s,children:(0,r.jsx)(eW,{children:n.horseName})}):n[o]})});eY.displayName="NapsTableBodyCell";var eK=n(89099),eZ=n(75372),eq=n(68066),eJ=n(44885),eX=n(1663);let e0=A.Ay.div.withConfig({componentId:"sc-1162c356-0"})(["display:flex;justify-content:center;align-items:center;"]),e1=A.Ay.div.withConfig({componentId:"sc-1162c356-1"})(["",""],e=>{let{theme:{colors:{black:t,midGrey:n},typography:{brandBody:r}},$isNonRunner:o}=e;return(0,A.AH)([""," display:flex;flex-direction:column;justify-content:space-between;height:40px;padding:0;margin:0 auto;border:0;background:transparent;color:",";-webkit-tap-highlight-color:transparent;",""],r.small.regular,t,o&&(0,A.AH)(["display:flex;align-items:center;justify-content:center;"," color:",";"],r.small.bold,n))}),e2=A.Ay.span.withConfig({componentId:"sc-1162c356-2"})(["",""],e=>{let{theme:{spacings:{m:t},typography:{brandBody:n}}}=e;return(0,A.AH)([""," text-align:center;padding:0 ",";"],n.small.bold,t)}),e4=A.Ay.span.withConfig({componentId:"sc-1162c356-3"})(["",""],e=>{let{theme:{colors:{lightGrey:t},typography:{brandBody:n},spacings:{xxs:r}}}=e;return(0,A.AH)([""," border-radius:",";background-color:",";text-align:center;"],n.small.regular,r,t)}),e6=(0,o.memo)(e=>{let{item:t,odds:n,bookmakerDisplayName:i,header:l,isBog:a}=e,{asPath:s}=(0,eK.useRouter)(),{location:c}=(0,eq.D$)(s),d=(0,eX.C)(),{horseId:p,horseName:u,saddleClothNo:m,courseUid:f,courseName:h,diffusionCourseName:g,raceId:b,time:x,date:y,rawDate:w,outcome:A,oddsDesc:j}=t,k=!!(A&&"0"!==A),C=A===eJ.x,_=(0,o.useCallback)(()=>{d({deepLink:null==n?void 0:n.deepLink,location:c,horseId:p,horseName:u,jockeyName:null,jockeyId:null,trainerName:null,trainerId:null,ownerName:null,ownerId:null,oddsDecimal:(null==n?void 0:n.decimal)?parseFloat(n.decimal):null,raceId:b,raceDateTime:w,localRaceDateTime:w,racecourseId:f,racecourse:h,racecourseCountry:null,isBog:a,oddsSubsection:l,bookmakerDisplayName:i})},[i,l,c,p,u,null==n?void 0:n.decimal,b,w,f,h,a,d]);return C?(0,r.jsx)(e1,{$isNonRunner:!0,"data-testid":"Result__ResultNonRunner",children:(0,r.jsx)(e2,{children:eJ.x})}):k?(0,r.jsxs)(e1,{"data-testid":"Result__ResultOutcome",children:[(0,r.jsx)(e2,{children:A}),j&&(0,r.jsx)(e4,{children:j})]}):(0,r.jsx)(e0,{"data-testid":"OddsWrapper__NapsTableOddsWrapper",children:(0,r.jsx)(eZ.A,{outcomersId:"".concat(b,"-").concat(p),raceId:b,meetingId:String(f),eventId:n.eventId,marketId:n.marketId,selectionId:n.outcomeId,horseName:u,startPosition:m?String(m):"",courseName:h,diffusionCourseName:g,raceDate:y,raceTime:x,fractionalPrice:n.fractional,decimalPrice:n.decimal,deeplink:n.deepLink,handleClick:_,isBog:a,isCompact:!0})})});function e7(){let e=(0,w._)(["\n            grid-template-columns: ",";\n        "]);return e7=function(){return e},e}function e8(){let e=(0,w._)(["\n            grid-template-columns: ",";\n            grid-template-rows: auto;\n        "]);return e8=function(){return e},e}function e3(){let e=(0,w._)(["\n            padding: "," ",";\n        "]);return e3=function(){return e},e}function e9(){let e=(0,w._)(["\n            padding: "," ",";\n        "]);return e9=function(){return e},e}e6.displayName="NapsTableOddsCell";let{MOBILE:e5,DESKTOP:te}=l.BB,tt=A.Ay.table.withConfig({componentId:"sc-af2afdf-0"})(["width:100%;border-collapse:collapse;border-spacing:0;"]),tn=A.Ay.thead.withConfig({componentId:"sc-af2afdf-1"})([""]),tr=A.Ay.tr.withConfig({componentId:"sc-af2afdf-2"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:t}}}=e;return(0,A.AH)(["display:grid;grid-template-columns:",";",""],e5,t.tabletDesktop(e7(),te))}),to=A.Ay.tbody.withConfig({componentId:"sc-af2afdf-3"})([""]),ti=A.Ay.tr.withConfig({componentId:"sc-af2afdf-4"})(["",""],e=>{let{theme:{colors:{actualBlackOpacity10:t,lightGrey:n},spacings:{xxs:r},mixins:{breakpointMixin:o}}}=e;return(0,A.AH)(["display:grid;grid-template-columns:",";grid-template-rows:auto auto;border-bottom:1px solid ",";"," &:first-child{margin-top:",";}&:hover > td{background-color:",";}"],e5,n,o.tabletDesktop(e8(),te),r,t)});A.Ay.th.withConfig({componentId:"sc-af2afdf-5"})(["",""],e=>{let{theme:{colors:{black:t,lightGrey:n,brandPrimary:r},spacings:{xxs:o,xs:i}
1,typography:{brandBody:l},mixins:{breakpointMixin:a}}}=e;return(0,A.AH)(["",";display:flex;align-items:center;padding:",";color:",";flex-shrink:0;text-transform:uppercase;background-color:",";border-bottom:1px solid ",";",""],l.xsmall.semiBold,o,t,n,r,a.tabletDesktop(e3(),i,o))});let tl=A.Ay.td.withConfig({componentId:"sc-af2afdf-6"})(["",""],e=>{let{theme:{spacings:{xxs:t,xs:n},typography:{brandBody:r},colors:{black:o,white:i},mixins:{breakpointMixin:l}}}=e;return(0,A.AH)(["",";color:",";padding:"," 0;display:flex;justify-content:center;align-items:center;text-align:center;background-color:",";",""],r.xsmall.bold,o,t,i,l.tabletDesktop(e9(),n,t))});A.Ay.span.withConfig({componentId:"sc-af2afdf-7"})(["",""],e=>{let{theme:{typography:{brandBody:t}}}=e;return(0,A.AH)(["",";position:relative;"],t.xsmall.bold)});let{ODDS:ta}=l.QB,{NAPS_TABLE_TAB:ts}=l.gb,{LEVEL_STAKES:tc}=l.Zj,td=(0,o.memo)(e=>{let{data:t}=e,[n,i]=(0,o.useState)(tc),{oddsData:a,bogByHorseId:s,bookmakerDisplayName:c}=eg(t),d=(0,o.useCallback)(e=>i(e),[]),p=(0,o.useMemo)(()=>{if(!t)return[];let e=t.map((e,t)=>({item:e,odds:a[t]||l.nV})),r=l.C5.find(e=>e.key===n).sortFn;return e.sort(r),e},[t,a,n]);return(0,r.jsxs)(tt,{"data-testid":"NapsTable__Container",children:[(0,r.jsx)(tn,{children:(0,r.jsxs)(tr,{children:[(0,r.jsx)(eD,{selectedKey:n,onSelect:d}),l.C5.map(e=>(0,r.jsx)(eR,{column:e,isSorted:n===e.key,onSort:d},e.key))]})}),(0,r.jsx)(to,{children:p.map(e=>{let{item:t,odds:n}=e;return(0,r.jsx)(ti,{children:l.C5.map(e=>{var o;return e.key===ta?(0,r.jsx)(tl,{children:(0,r.jsx)(e6,{item:t,odds:n,bookmakerDisplayName:c,header:ts,isBog:null!==(o=s[t.horseId])&&void 0!==o&&o})},e.key):(0,r.jsx)(eY,{column:e,data:t},e.key)})},"".concat(t.horseId,"-").concat(t.raceId,"-").concat(t.tipster))})})]})});function tp(){let e=(0,w._)(["\n            padding: "," ",";\n            min-height: auto;\n            white-space: normal;\n            word-break: normal;\n            display: ",";\n        "]);return tp=function(){return e},e}function tu(){let e=(0,w._)(["\n            display: none;\n        "]);return tu=function(){return e},e}function tm(){let e=(0,w._)(["\n            display: inline;\n        "]);return tm=function(){return e},e}td.displayName="NapsTable";let tf=A.Ay.th.withConfig({componentId:"sc-6baaf8ab-0"})(["",""],e=>{let{$isTipsterStyle:t,$isCombinedStyle:n,$isHiddenMobile:r,$hideOnDesktop:o,$isSorted:i,theme:{colors:{black:l,lightGrey:a,brandPrimary:s},typography:{brandBody:c},spacings:{xxs:d,xs:p,m:u},mixins:{breakpointMixin:m}}}=e;return(0,A.AH)([""," padding:0 ",";display:",";align-items:center;justify-content:flex-start;text-align:flex-start;color:",";text-transform:uppercase;white-space:normal;word-break:break-word;min-height:40px;background:",";border-bottom:1px solid ",";cursor:pointer;text-align:left;"," "," "," ",""],c.xsmall.semiBold,d,r?"none":"flex",l,a,s,i&&(0,A.AH)(["color:",";"],s),m.tabletDesktop(tp(),p,d,o?"none":"flex"),t&&(0,A.AH)(["justify-content:flex-start;text-align:left;"]),n&&(0,A.AH)(["text-align:left;overflow-wrap:break-word;padding-left:",";"],u))}),th=A.Ay.span.withConfig({componentId:"sc-6baaf8ab-1"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:t}}}=e;return(0,A.AH)(["",""],t.tabletDesktop(tu()))}),tg=A.Ay.span.withConfig({componentId:"sc-6baaf8ab-2"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:t}}}=e;return(0,A.AH)(["display:none;",""],t.tabletDesktop(tm()))}),tb=e=>{let{column:t,isMonthView:n,isSorted:o,onSort:i}=e,{key:l,title:a,mobileTitle:s,hideOnMobile:c,hideOnDesktop:d,hideInMonthView:p,showOnlyInMonthView:u,isTipsterStyle:m,isCombinedStyle:f}=t;return(0,r.jsx)(tf,{$isTipsterStyle:m,$isCombinedStyle:f,$isHiddenMobile:c||p&&n||u&&!n,$hideOnDesktop:d,$isSorted:o,onClick:i,"data-testid":"HeaderCell__PressChallengeHeaderCell__".concat(l),children:s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tg,{children:a}),(0,r.jsx)(th,{children:s})]}):a})};function tx(){let e=(0,w._)(["\n            padding: ",";\n            display: ",";\n        "]);return tx=function(){return e},e}function ty(){let e=(0,w._)(["\n             justify-content: flex-start;\n             text-align: left;\n               &:last-child {\n                 padding-left: ",";\n               }\n\n        "]);return ty=function(){return e},e}n(64889);let tw=A.Ay.td.withConfig({componentId:"sc-d3ac6b73-0"})(["",""],e=>
1{let{$isTipsterStyle:t,$isHiddenMobile:n,$hideOnDesktop:r,theme:{colors:{black:o},typography:{brandBody:i},spacings:{xxs:l,xs:a,m:s},mixins:{breakpointMixin:c}}}=e;return(0,A.AH)([""," padding:",";display:",";align-items:center;justify-content:flex-start;text-align:flex-start;color:",";"," "," ",""],i.xsmall.regular,a,n?"none":"flex",o,c.tabletDesktop(tx(),l,r?"none":"flex"),c.mobile(ty(),s),t&&(0,A.AH)(["justify-content:flex-start;"]))}),tA=A.Ay.span.withConfig({componentId:"sc-d3ac6b73-1"})(["",""],e=>{let{theme:{typography:{brandBody:t}}}=e;return(0,A.AH)(["",""],t.xsmall.regular)}),{TURN_OVER:tj,WINS_TIPS:tk,FAVS_TIPPED:tC,COMBINED:t_}=l.VH,tH=(e,t,n)=>{switch(e){case t_:{let e=t.napsBet||"—",o=t.curSeq||"—";return"—"===e&&"—"===o?n:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(tA,{children:"".concat(e," ").concat(o)})})}case tj:return null!=t.turnOver?"".concat(t.turnOver,"%"):n;case tk:return t.winsTips?"".concat(t.winsTips,"%"):n;case tC:return null!=t.favsTipped?"".concat(t.favsTipped,"%"):n;default:{let r=t[e];return null==r||"string"==typeof r&&(""===r.trim()||"null"===r)?n:r}}},tI=e=>{let{column:t,rowData:n,isMonthView:o}=e,{key:i,hideOnMobile:l,hideOnDesktop:a,hideInMonthView:s,showOnlyInMonthView:c,isTipsterStyle:d,fallback:p="—"}=t;return(0,r.jsx)(tw,{$isTipsterStyle:d,$isHiddenMobile:l||s&&o||c&&!o,$hideOnDesktop:a,"data-testid":"BodyCell__PressChallengeBodyCell__".concat(i),children:tH(i,n,p)})};function tv(){let e=(0,w._)(["\n            flex-wrap: nowrap;\n            justify-content: space-between;\n            align-items: flex-start;\n        "]);return tv=function(){return e},e}function tT(){let e=(0,w._)(["\n            display: none;\n        "]);return tT=function(){return e},e}function tS(){let e=(0,w._)(["\n            grid-template-columns: ",";\n        "]);return tS=function(){return e},e}function t$(){let e=(0,w._)(["\n            display: contents;\n        "]);return t$=function(){return e},e}function tD(){let e=(0,w._)(["\n            display: none;\n        "]);return tD=function(){return e},e}function tN(){let e=(0,w._)(["\n            padding: "," ",";\n            white-space: nowrap;\n            word-break: normal;\n        "]);return tN=function(){return e},e}function tE(){let e=(0,w._)(["\n            margin-bottom: ",";\n        "]);return tE=function(){return e},e}let{MOBILE_YEAR:tO,MOBILE_MONTH:tB,DESKTOP:tR}=l.lX,tM=A.Ay.div.withConfig({componentId:"sc-24c047fe-0"})([""]),tL=A.Ay.div.withConfig({componentId:"sc-24c047fe-1"})(["",""],e=>{let{theme:{spacings:{m:t,xs:n},mixins:{breakpointMixin:r}}}=e;return(0,A.AH)(["display:flex;flex-wrap:wrap;justify-content:center;align-items:center;row-gap:",";margin:"," 0;",""],n,t,r.tabletDesktop(tv()))}),tP=A.Ay.h2.withConfig({componentId:"sc-24c047fe-2"})(["",""],e=>{let{theme:{colors:{black:t},typography:{brandBody:n}}}=e;return(0,A.AH)(["",";flex-grow:1;padding:0;margin:0;color:",";text-align:left;"],n.medium.bold,t)}),tF=A.Ay.div.withConfig({componentId:"sc-24c047fe-3"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:t}}}=e;return(0,A.AH)(["display:flex;flex-shrink:0;",""],t.tabletDesktop(tT()))}),tV=A.Ay.button.withConfig({componentId:"sc-24c047fe-4"})(["",""],e=>{let{$isActive:t,theme:{colors:{brandPrimary:n,white:r},typography:{brandBody:o},spacings:{xxs:i,xs:l}}}=e;return(0,A.AH)([""," padding:"," ",";cursor:pointer;box-sizing:border-box;"," &:first-child{border-radius:"," 0 0 ",";}&:last-child{border-radius:0 "," "," 0;}&:hover{box-shadow:inset 0 0 0 1px ",";}"],o.small.bold,i,l,t?(0,A.AH)(["background:",";color:",";border:1px solid ",";"],n,r,n):(0,A.AH)(["background:",";color:",";border:1px solid ",";"],r,n,n),i,i,i,i,n)}),tQ=A.Ay.table.withConfig({componentId:"sc-24c047fe-5"})(["",""],e=>{let{$isMonthView:t,theme:{mixins:{breakpointMixin:n}}}=e;return(0,A.AH)(["width:100%;border-collapse:collapse;border-spacing:0;display:grid;grid-template-columns:",";",""],t?tB:tO,n.tabletDesktop(tS(),tR))}),tz=A.Ay.thead.withConfig({componentId:"sc-24c047fe-6"})(["display:contents;"]),tU=A.Ay.tbody.withConfig({componentId:"sc-24c047fe-7"})(["display:contents;"]),tW=A.Ay.tr.withConfig({componentId:"sc-24c047fe-8"})(["",""],e=>{let{$isGrey:t,theme:{colors:{white:n,lightGreyOpacity60:r,actualBlackOpacity10:o}}}=e;return(0,A.AH)(["display:contents;& > td{background-color:",";}&:hover > td{background-color:",";}"],t?r:n,o)}),tG=A.Ay.tr.withConfig({componentId:"sc-24c047fe-9"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:t}}}=e;return(0,A.AH)(["display:none;",""],t.tabletDesktop(t$()))}),tY=A.Ay.tr.withConfig({componentId:"sc-24c047fe-10"})(["",""],e=>{let{$shouldShow:t,theme:{mixins:{breakpointMixin:n}}}=e;return(0,A.AH)(["display:",";",""],t?"contents":"none",n.tabletDesktop(tD()))}),tK=A.Ay.th.withConfig({componentId:"sc-24c047fe-11"})(["",""],e=>{let{$isEmpty:t,$columns:n,theme:{colors:{brandPrimary:r,lightGrey:o,midGrey:i}
1,typography:{brandBody:l},spacings:{xs:a,xxs:s},mixins:{breakpointMixin:c}}}=e;return(0,A.AH)([""," padding:",";display:flex;align-items:center;justify-content:center;text-align:center;color:",";text-transform:uppercase;white-space:normal;word-break:break-word;background:",";border-bottom:1px solid ",";"," ",""],l.xsmall.semiBold,a,r,t?"transparent":o,i,n&&(0,A.AH)(["grid-column:span ",";"],n),c.tabletDesktop(tN(),a,s))}),tZ=A.Ay.tr.withConfig({componentId:"sc-24c047fe-12"})(["display:contents;"]),tq=A.Ay.div.withConfig({componentId:"sc-24c047fe-13"})(["",""],e=>{let{theme:{colors:{black:t},typography:{brandBody:n},spacings:{m:r},mixins:{breakpointMixin:o}}}=e;return(0,A.AH)([""," color:",";margin-top:",";",""],n.xsmall.regular,t,r,o.tablet(tE(),r))}),tJ=A.Ay.h5.withConfig({componentId:"sc-24c047fe-14"})(["",""],e=>{let{theme:{typography:{brandBody:t}}}=e;return(0,A.AH)([""," margin:0;text-transform:uppercase;"],t.xsmall.regular)}),{TURN_OVER:tX}=l.VH,{RECORDS_CURRENT_YEAR:t0,RECORDS_YEAR:t1,RECORDS_MONTH:t2,NAPS:t4,MONTHLY_RECORD:t6,YEAR:t7,MONTH:t8,ABOUT_PRESS_CHALLENGE:t3,PRESS_CHALLENGE_DESCRIPTION:t9}=l.o9,t5=(0,o.memo)(e=>{let{data:t}=e,[n,i]=(0,o.useState)(!0),[a,s]=(0,o.useState)(tX),c=!n,d=e=>s(e),p=(0,o.useMemo)(()=>t&&0!==t.length?[...t].sort(l.CV.find(e=>e.key===a).sortFn):[],[t,a]);return(0,r.jsxs)(tM,{"data-testid":"PressChallenge__Container",children:[(0,r.jsxs)(tL,{children:[(0,r.jsx)(tP,{"data-testid":"SubHeader__PressChallengeSubHeader",children:t0}),(0,r.jsxs)(tF,{children:[(0,r.jsx)(tV,{$isActive:n,onClick:()=>i(!0),"data-testid":"Button__SwitcherButton__".concat(t7),children:t7}),(0,r.jsx)(tV,{$isActive:!n,onClick:()=>i(!1),"data-testid":"Button__SwitcherButton__".concat(t8),children:t8})]})]}),(0,r.jsxs)(tQ,{$isMonthView:c,children:[(0,r.jsxs)(tz,{children:[(0,r.jsxs)(tG,{children:[(0,r.jsx)(tK,{$isEmpty:!0,$columns:1}),(0,r.jsx)(tK,{$isEmpty:!1,$columns:3,children:t1}),(0,r.jsx)(tK,{$isEmpty:!1,$columns:2,children:t4}),(0,r.jsx)(tK,{$isEmpty:!1,$columns:2,children:t6})]}),(0,r.jsxs)(tY,{$shouldShow:n,children:[(0,r.jsx)(tK,{$isEmpty:!0,$columns:1}),(0,r.jsx)(tK,{$isEmpty:!1,$columns:2,children:t1}),(0,r.jsx)(tK,{$isEmpty:!1,$columns:1,children:t4})]}),(0,r.jsxs)(tY,{$shouldShow:!n,children:[(0,r.jsx)(tK,{$isEmpty:!0,$columns:1}),(0,r.jsx)(tK,{$isEmpty:!1,$columns:3,children:t2}),(0,r.jsx)(tK,{$isEmpty:!1,$columns:1,children:t4})]}),(0,r.jsx)(tZ,{children:l.CV.map(e=>(0,r.jsx)(tb,{column:e,isMonthView:c,isSorted:a===e.key,onSort:()=>d(e.key)},e.key))})]}),(0,r.jsx)(tU,{children:p.map((e,t)=>(0,r.jsx)(tW,{$isGrey:t%2==1,children:l.CV.map(t=>(0,r.jsx)(tI,{column:t,rowData:e,isMonthView:c},t.key))},"".concat(e.turnOver,"-").concat(e.newspaperAndTipster)))})]}),(0,r.jsxs)(tq,{children:[(0,r.jsx)(tJ,{children:t3}),t9]})]})});t5.displayName="PressChallenge";var ne=n(48230),nt=n.n(ne);function nn(){let e=(0,w._)(["\n            padding: 0 ",";\n        "]);return nn=function(){return e},e}function nr(){let e=(0,w._)(["\n            padding: 0 ",";\n        "]);return nr=function(){return e},e}let no=A.Ay.div.withConfig({componentId:"sc-1524b772-0"})(["width:100%;"]),ni=A.Ay.div.withConfig({componentId:"sc-1524b772-1"})(["",""],e=>{let{theme:{spacings:{xs:t,m:n},mixins:{breakpointMixin:r}}}=e;return(0,A.AH)(["margin:0;"," ",""],r.tablet(nn(),n),r.mobile(nr(),t))}),nl=A.Ay.h1.withConfig({componentId:"sc-1524b772-2"})(["",""],e=>{let{theme:{spacings:{m:t},colors:{black:n},typography:{brandHeadings:r}}}=e;return(0,A.AH)([""," color:",";padding:"," 0;margin:0;"],r.headingFive,n,t)}
1),na=A.Ay.div.withConfig({componentId:"sc-1524b772-3"})(["",""],e=>{let{theme:{colors:{midGrey:t}}}=e;return(0,A.AH)(["position:relative;border-bottom:1px solid ",";"],t)}),ns=A.Ay.nav.withConfig({componentId:"sc-1524b772-4"})(["box-sizing:content-box;margin:0;padding:0;display:inline-flex;align-content:stretch;min-height:32px;"]),nc=(0,A.Ay)(nt()).withConfig({componentId:"sc-1524b772-5"})(["",""],e=>{let{$isActive:t,theme:{colors:{black:n,white:r,midGrey:o,lightGrey:i,brandPrimary:l},typography:{brandBody:a},spacings:{xxs:s,xs:c}}}=e;return(0,A.AH)([""," padding:"," 0;margin-left:",";min-width:120px;text-decoration:none;cursor:pointer;white-space:nowrap;display:flex;align-items:center;justify-content:center;&:first-child{margin-left:0;}& > span{margin:0 ",";}&:hover{text-decoration:underline;}",""],a.small.bold,c,s,c,t?(0,A.AH)(["background-color:",";color:",";border:1px solid ",";border-bottom:1px solid ",";margin-bottom:-1px;text-decoration:underline;&:hover{text-decoration:underline;}"],r,n,o,r):(0,A.AH)(["background-color:",";color:",";"],i,l))}),nd=A.Ay.div.withConfig({componentId:"sc-1524b772-6"})(["overflow-x:auto;"]),{NAPS_TABLE:np}=l.ni,{NAPS_TABLE_TAB:nu,PRESS_CHALLENGE_TAB:nm}=l.gb,nf=(0,o.memo)(e=>{let{tab:t}=e,n=t===np,o=(0,i.d4)(m),a=(0,i.d4)(f);return(0,r.jsx)(ni,{"data-testid":"TipsterNaps__Wrapper",children:(0,r.jsx)(Y,{hasSkinAds:!1,hasSideAds:!1,children:(0,r.jsxs)(no,{"data-testid":"TipsterNaps__Container",children:[(0,r.jsx)(nl,{"data-testid":"TipsterNaps__TipsterNapsHeader",children:"Tips Tables"}),(0,r.jsx)(na,{children:(0,r.jsxs)(ns,{children:[(0,r.jsx)(nc,{"data-testid":"TipsterNaps__TabLinkNapsTable",href:l.Q3.NAPS_TABLE,$isActive:n,children:(0,r.jsx)("span",{children:nu})}),(0,r.jsx)(nc,{"data-testid":"TipsterNaps__TabLinkPressChallenge",href:l.Q3.PRESS_CHALLENGE,$isActive:!n,children:(0,r.jsx)("span",{children:nm})})]})}),(0,r.jsx)(nd,{children:n?(0,r.jsx)(td,{data:o.data}):(0,r.jsx)(t5,{data:a.data})})]})})})});nf.displayName="TipsterNaps";let nh=nf},75372:(e,t,n)=>{n.d(t,{A:()=>T});var r=n(37876),o=n(14232),i=n(31777),l=n(9676),a=n(72312),s=n(27699),c=n(51069),d=n(91936),p=n(70655),u=n(21545),m=n(55830),f=n(28888),h=n(98684),g=n(48230),b=n.n(g),x=n(59214);function y(){let e=(0,f._)(["\n                width: calc("," - ",");\n                padding: ",";\n                height: ",";\n            "]);return y=function(){return e},e}function w(){let e=(0,f._)(["\n                width: calc("," - ",");\n                padding: ",";\n                height: ",";\n            "]);return w=function(){return e},e}let A=h.Ay.button.withConfig({componentId:"sc-e5cb0ebf-0"})(["",""],e=>{let{$isSelected:t,$isDisabled:n,$isClickDisabled:r,$isOddInvalid:o,$isOnRunnerCard:i,$isOnVerdict:l,$isCompact:a,theme:{colors:{black:s},typography:{brandBody:c},mixins:{breakpointMixin:d},spacings:{xxs:p,xs:u,l:m,xl:f}}}=e;return(0,h.AH)([""," "," "," "," "," "," "," "," &:hover:not(:disabled){opacity:0.9;}&:active:not(:disabled){transform:scale(0.98);}"],x.zk,l&&(0,h.AH)(["width:calc("," - ",");height:",";margin-left:auto;"],f,u,m),i&&(0,h.AH)(["width:100px;height:",";"," ",""],m,c.small.bold,d.mobile(y(),f,u,p,m)),a&&(0,h.AH)(["width:auto;min-width:calc("," - ",");height:",";padding:",";",""],f,u,m,p,c.xsmall.semiBold),t&&(0,h.AH)(["background-color:",";border:2px solid ",";"],s,s),o&&(0,h.AH)(["cursor:default;opacity:0.5;"]),n&&(0,h.AH)(["cursor:not-allowed;opacity:0.5;"]),r&&(0,h.AH)(["cursor:default;opacity:1;"]))}),j=(0,h.Ay)(b()).withConfig({componentId:"sc-e5cb0ebf-1"})(["",""],e=>{let{$isOddInvalid:t,$isOnRunnerCard:n,theme:{typography:{brandBody:r},mixins:{breakpointMixin:o},spacings:{xxs:i,xs:l,l:a,xl:s}}}=e;return(0,h.AH)([""," "," ",""],x.zk,n&&(0,h.AH)(["width:100px;height:",";"," ",""],a,r.small.bold,o.mobile(w(),s,l,i,a)),t&&(0,h.AH)(["cursor:default;"]))}),{SP:k,NA:C}=d.Ah,{TOTE:_}=p.rj,{IS_DECIMAL_ODDS_ENABLED:H}=m.yl,I=(e,t,n)=>{let{isSp:r,showDecimal:o,isTote:i}=n;return r?k:o?t&&"0"!==t&&"-"!==t?(0,c.e)(t,i):"-":e||"-"},v=(0,o.memo)(e=>{let{outcomersId:t,raceId:n,meetingId:c,eventId:d,marketId:p,selectionId:m,horseName:f,startPosition:h="",courseName:g,diffusionCourseName:b,raceDate:x,raceDateTime:y,localMeetingRaceDateTime:w,raceTime:v,fractionalPrice
1:T,decimalPrice:S,isSp:$=!1,isBog:D=!1,eachWayFraction:N,eachWayPlaces:E,isDisabled:O=!1,isClickDisabled:B=!1,isOnRunnerCard:R=!1,isOnVerdict:M=!1,isCompact:L=!1,deeplink:P,handleClick:F=null,onSelectionAdded:V=null}=e,{addBet:Q,removeBet:z,isBetSelected:U,selectedBets:W}=(0,l.R)(),{toggleBetslip:G,isOpened:Y}=(0,a.$)(),K=(0,u.BJ)(H),Z=(0,i.d4)(s.bW)===_,q=$||T===k,J=U(n,t),X="-"===T||T===C,ee=(0,o.useCallback)(()=>{O||X||B||(F&&F(),J?z(n,t):(Q({selection:{id:t,eventId:d,meetingId:c,marketId:p,selectionId:m,fractionalPrice:T,decimalPrice:S,isSp:q,isBog:D,eachWayFraction:N,eachWayPlaces:E,data:{raceId:n,raceDate:x,raceDateTime:y,localMeetingRaceDateTime:w,horseName:f,startPosition:h,courseName:g,diffusionCourseName:b,time:v}}}),null==V||V(),Y||0!==W.length||G()))},[O,X,B,F,V,J,Q,z,n,t,d,c,p,m,T,S,q,D,N,E,x,f,h,g,b,v,G,Y,W.length]),et=I(T,S,{isSp:q,showDecimal:K||Z,isTote:Z});return P?(0,r.jsx)(j,{$isOddInvalid:X,$isOnRunnerCard:R,href:P,target:"_blank",rel:"noreferrer",onClick:()=>{null==F||F(),null==V||V()},children:et}):(0,r.jsx)(A,{onClick:ee,$isSelected:J,$isDisabled:O,$isClickDisabled:B,$isOddInvalid:X,$isOnRunnerCard:R,$isOnVerdict:M,$isCompact:L,"data-testid":"odds-button-".concat(t),"aria-pressed":J,disabled:O||X,children:et})});v.displayName="OddsButton";let T=v},89542:(e,t,n)=>{n.d(t,{l:()=>a});var r=n(14232),o=n(97204),i=n(30216),l=n(24790);let a=function(){let{shouldUseDeviceCheck:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.D)(),{isDesktop:n,isTablet:a}=(0,l.zu)();return(0,r.useMemo)(()=>{if(e){let e=o.KJ&&!!window.opener,n=t&&!(0,o.Fr)()&&(e||(0,o.ts)());return{openInNewTab:!n&&a&&t,openInNewWindow:n,shouldOpenBottomRight:!0}}return{openInNewTab:a&&t,openInNewWindow:n&&t,shouldOpenBottomRight:!0}},[t,n,a,e])}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.