1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[2245],{25152:(e,t,r)=>{r.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var s=r(23525),n=r(8715),i=r(1495),a=(r(36665),r(29363)),o=r(50208),l=r(2037),c=r(60397);const{colors:d}=l.A,__WEBPACK_DEFAULT_EXPORT__=({buttons:e})=>{const{isSmallAndDown:t}=(0,a.Qs)();return(0,c.jsx)(i.A,{style:h.buttonsContainer,children:e.map(((r,n)=>(0,c.jsx)(s.A,{onPress:()=>r.onPress(),style:{justifyContent:"center",alignItems:"center",paddingHorizontal:16,paddingVertical:8,borderTopLeftRadius:0===n?36:0,borderBottomLeftRadius:0===n?36:0,borderTopRightRadius:n===e.length-1?36:0,borderBottomRightRadius:n===e.length-1?36:0,backgroundColor:r.selected?d.palette.rtv.secondary:d.palette.rtv.white,borderWidth:1,borderColor:d.palette.rtv.secondary},children:(0,c.jsx)(o.A,{size:t?"sm":"md",weight:"semiBold",color:r.selected?"white":"black",children:r.title.capitalize()})},r.title)))})},h=n.A.create({buttonsContainer:{flexDirection:"row",justifyContent:"center",alignItems:"center",marginVertical:20},button:{minWidth:100}})},12245:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Results_FastResults});var s=r(8715),n=r(1495),i=r(23525),a=r(36665),o=r(11910),l=r(50208),c=r(2037),d=r(32652),h=r(29363),g=r(51882),u=r(53809),f=r(36577),p=r(99560),m=r(60397);const x=s.A.create({border:{borderLeftWidth:1,borderRightWidth:1,borderBottomWidth:1,borderColor:c.A.colors.palette.buttons.disabled.borderColor}}),FastResults_FastResultsLoader=()=>{const{isMediumAndDown:e}=(0,h.Qs)(),Row=()=>(0,m.jsxs)(n.A,{style:{marginRight:20,width:e?"100%":"48%"},children:[(0,m.jsx)(n.A,{style:{alignItems:"center",paddingVertical:15,paddingHorizontal:5,flexDirection:"row",justifyContent:"space-between",backgroundColor:c.A.colors.palette.neutral.x100},children:(0,m.jsx)(f.A,{width:"80"})}),(0,m.jsx)(n.A,{style:[x.border,{height:40,paddingHorizontal:5,justifyContent:"center",alignItems:"flex-start"}],children:(0,m.jsx)(f.A,{width:"200",height:"20"})}),[1,2,3].map((e=>(0,m.jsxs)(n.A,{style:[x.border,{height:40,paddingHorizontal:5,alignItems:"center",justifyContent:"space-between",flexDirection:"row"}],children:[(0,m.jsxs)(n.A,{style:{flex:2,flexDirection:"row"},children:[(0,m.jsx)(u.A,{width:"20"}),(0,m.jsx)(u.A,{width:"20",style:{marginLeft:5}}),(0,m.jsx)(f.A,{width:"200",height:"20",style:{marginLeft:5}})]}),(0,m.jsx)(n.A,{style:{flex:.5,alignItems:"flex-end"},children:(0,m.jsx)(f.A,{width:"50",height:"20"})})]},e))),(0,m.jsx)(n.A,{style:[x.border,{paddingHorizontal:5}],children:(0,m.jsx)(p.A,{numberOfLines:7})}),(0,m.jsx)(n.A,{style:[x.border,{justifyContent:"center",alignItems:"center",paddingVertical:10}],children:(0,m.jsx)(f.A,{width:"100",height:"25"})})]});return(0,m.jsx)(n.A,{style:{flexDirection:e?"column":"row",justifyContent:"space-between",width:"100%"},children:[1,2].map((e=>(0,m.jsx)(Row,{},e)))})};var w=r(76435),j=r(96715),b=r(97023),y=r(16297),A=r(49143),v=r(25152),k=r(1398),_=r(98468),C=r(89234),R=r(27082),T=r(17276),D=r(56835),W=r(77275),z=r(24689),I=r(25385);const ResultsHeader=({raceTime:e,meeting:t})=>(0,m.jsxs)(n.A,{style:V.meetingDetailsHeader,children:[(0,m.jsxs)(n.A,{style:{flexDirection:"row",flexWrap:"wrap",flex:1},children:[(0,m.jsxs)(l.A,{family:"secondary",weight:"bold",children:[(0,g.gw)(e)," "]}),(0,m.jsx)(l.A,{family:"secondary",weight:"bold",uppercase:!0,children:t.track.name})]}),(0,m.jsx)(z.A,{navigateTo:"IndividualResult",text:"Full Result",queryParams:(0,b.qT)({date:t.date,track:(0,y.J)(t.track.slug),time:e})})]}),RunnerDetails=({runner:e,index:t,oddsFormat:r})=>
1(0,m.jsxs)(n.A,{style:[V.runnerDetailsContainer,V.border],children:[(0,m.jsx)(j.A,{silk:e.silk,style:{padding:10}}),(0,m.jsx)(l.A,{size:"md",style:{textAlign:"center",margin:5,minWidth:30},children:(0,T.T)(e?.finish_position,e?.finish_text)}),(0,m.jsxs)(i.A,{style:{flex:3,flexDirection:"row"},children:[(0,m.jsx)(l.A,{size:"md",style:{textAlign:"right",margin:5,minWidth:20},children:e.cloth_number}),(0,m.jsx)(D.d,{size:"md",to:{screen:"IndexOrProfile",params:{type:"horse",slug:(0,y.J)(e.horse.slug)}},containerStyle:{flex:1,textAlign:"left",margin:5},children:e.horse.name})]}),(0,m.jsx)(n.A,{children:(0,m.jsxs)(l.A,{size:"md",weight:"semiBold",uppercase:!0,children:[e.starting_price[r],b.tL[e.starting_price_favorite]||""]})}),(0,m.jsx)(A.A,{size:"xsmall"})]},`runnerDetails${t}`),ResultedRunners=({runners:e,oddsFormat:t})=>e.map(((e,r)=>(0,m.jsx)(RunnerDetails,{runner:e,oddsFormat:t,index:r},r))),formatBetweenDistances=e=>{if(!e.placed_runners.length)return null;const t=e.placed_runners.slice(1).map((e=>e.between_distance));return null==t[0]?"awaiting":t.join().replace(/,/g,", ")},formatTote=(e,t)=>{const r=e.totes.filter((e=>e.tote_type===t)),s=[];return r.length?(s.push(r.map((e=>`${e.dividend.formatted.replace(/[a-z]/gi,"")}`))),s.flat().map((e=>e.replace(" ",""))).join().replace(/,/g,", ")):r},ResultsDetails=({result:e,oddsFormat:t})=>
1{if(!e.placed_runners.length)return(0,m.jsxs)(n.A,{style:[V.resultsDetailsContainer,V.border],children:[(0,m.jsx)(A.A,{vertical:!0,size:"small"}),(0,m.jsx)(l.A,{style:{textAlign:"center"},children:"Awaiting result..."}),(0,m.jsx)(A.A,{vertical:!0,size:"small"})]});const r=[{heading:"Winning Trainer",value:(0,C.A)(e.placed_runners[0].trainer.name),name:!0,navigateTo:{type:"trainer",slug:(0,y.J)(e.placed_runners[0].trainer.slug)}},{heading:"Winning Jockey",value:(0,C.A)(e.placed_runners[0].jockey.name),name:!0,navigateTo:{type:"jockey",slug:(0,y.J)(e.placed_runners[0].jockey.slug)}},{heading:"Runners",value:e.runner_count_text},{heading:"Unpl. fav.",value:e.unplaced_favorite_runner&&`${e.unplaced_favorite_runner?.horse?.name} ${e.unplaced_favorite_runner?.starting_price[t]}${b.tL[e.unplaced_favorite_runner?.starting_price_favorite]?.toUpperCase()||""}`,name:!0,navigateTo:{type:"horse",slug:(0,y.J)(e.unplaced_favorite_runner?.horse?.slug)}},{heading:"Distances",value:formatBetweenDistances(e)},{heading:"Tote Win",value:formatTote(e,"Win")},{heading:"PL",value:formatTote(e,"Place")},{heading:"EX",value:formatTote(e,"Exacta")},{heading:"Trifecta",value:formatTote(e,"Trifecta")},{heading:"Swingers",value:formatTote(e,"Swinger")}];
1return(0,m.jsx)(n.A,{style:[V.resultsDetailsContainer,V.border],children:r.map(((e,t)=>{if(e.value&&e.value.length)return(0,m.jsxs)(n.A,{style:{flexDirection:"row",justifyContent:"flex-end",paddingVertical:5},children:[(0,m.jsx)(l.A,{style:{flex:1},children:e.heading}),e.navigateTo?(0,m.jsx)(D.d,{size:"sm",to:{screen:"IndexOrProfile",params:Object.assign({},e.navigateTo)},containerStyle:{flex:1,textAlign:"right"},weight:e.name?"bold":"regular",children:e.value}):(0,m.jsx)(l.A,{style:{flex:1,textAlign:"right"},weight:e.name?"bold":"regular",children:e.value})]},`results${t}`)}))})},Results_FastResults=()=>{const{isMediumAndDown:e}=(0,h.Qs)(),[t,r]=(0,a.useState)("gb-ire"),[s,i]=(0,a.useState)(!0),[g,u]=(0,a.useState)(null),f=(0,k.Xr)(_.Ab),[p,x]=(0,a.useState)({"gb-ire":void 0,all:void 0}),[j]=(0,k.fp)(_.cF);return(0,a.useEffect)((()=>{if(p[t])return;i(!0);const e="gb-ire"===t?"/gbr-ire":"";(0,d.xi)(`racing/fast-results${e}`).then((e=>x(Object.assign({},p,{[t]:e.fast_result_races})))).catch((e=>u(e.message))).finally((()=>i(!1)))}),[t]),(0,a.useEffect)((()=>{f([{label:"Fast Results",component:"FastResults"}])}),[]),(0,R.A)({page:"FastResults"}),(0,m.jsx)(o.Ay,{heading:"Fast Horse Racing Results",subHeading:"Discover today's fast horseracing results and racing replays across the UK and Ireland",content:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(n.A,{style:{flexDirection:"row",justifyContent:"center",alignItems:"center"},children:(0,m.jsx)(v.A,{buttons:[{title:"UK & Ireland",region:"gb-ire"},{title:"All Meetings",region:"all"}].map((e=>({title:e.title,selected:t===e.region,onPress:()=>r(e.region)})))})}),g?(0,m.jsx)(w.W5,{message:g}):s?(0,m.jsx)(FastResults_FastResultsLoader,{}
1):p[t]?.length?(0,m.jsx)(n.A,{style:[V.container,{flexDirection:e?"column":"row"}],children:p[t]?.map(((t,r)=>(0,m.jsxs)(n.A,{style:[V.meetingDetailsContainer,{width:e?"100%":"48%"}],children:[(0,m.jsx)(ResultsHeader,{raceTime:t.start_time_scheduled,meeting:t.meeting,slug:t.slug}),(0,m.jsx)(n.A,{style:{borderLeftWidth:1,borderRightWidth:1,borderBottomWidth:1,borderColor:c.A.colors.palette.buttons.disabled.borderColor},children:(0,m.jsx)(l.A,{style:{marginHorizontal:5,marginVertical:10},children:t.title.capitalize()})}),(0,m.jsx)(ResultedRunners,{runners:t.placed_runners.sort(((e,t)=>e.finish_place-t.finish_place)),oddsFormat:j}),(0,m.jsx)(ResultsDetails,{result:t,oddsFormat:j}),(0,m.jsx)(n.A,{style:{paddingVertical:15,borderLeftWidth:1,borderRightWidth:1,borderBottomWidth:1,borderColor:c.A.colors.palette.buttons.disabled.borderColor},children:(0,m.jsx)(W.A,{shouldBecomeAvailable:"RTV"==t.meeting.track.tv_channel,race:t,videoType:"replay"})})]},`meetingDetails${r}`)))}):(0,m.jsx)(w.pp,{message:"no fast results to display"}),(0,m.jsxs)(n.A,{children:[(0,m.jsxs)(l.A,{children:["In the world of horse racing, the action is non-stop, with races across the globe happening all the time! Here at"," ",(0,m.jsx)(D.d,{href:"https://www.racingtv.com/",children:"Racing TV"}),", we not only cover some of the biggest racing events of the year, but we also provide rapid coverage of races in the UK, Ireland, France, the US and other selected regions. In the fast results section, we provide all of the most recent results from around the world, allowing horse racing fans to keep up to date with all of the exciting horse racing action!"]}),(0,m.jsx)(A.A,{size:"small",vertical:!0}),(0,m.jsx)(I.A,{text:"Fast Horse Results",content:(0,m.jsxs)(n.A,{children:[(0,m.jsxs)(l.A,{children:["When finding out about fast horse racing results, some users might not be looking for specific meetings or events and just want to keep up with any recent races. This is why we have implemented the fast results page, making it the perfect place to check on any recent horse races. If users are looking for a more in-depth look at the horse racing results in the UK and other selected regions, then make sure to check out our"," ",(0,m.jsx)(D.d,{href:"https://www.racingtv.com/results",children:"horse racing results"})," ","page, which offers a more detailed report from races over the past week."]}),(0,m.jsx)(A.A,{size:"small",vertical:!0}),(0,m.jsxs)(l.A,{children:["On the fast horse results page, you can expect to find all of the most recent and up-to-date action throughout the UK and Ireland. There will be separate sections that show the best-finishing horses, the winning jockey and trainer, and the odds that were placed for the horse that won. Users can easily find all the meetings from around the world that Racing TV covers with the 'All Meetings' button at the top of the page. In this fast horse racing results page, bettors are also able to watch any replays from the races, yet if users are unable to find the particular replay they are looking for, then check out the"," ",(0,m.jsx)(D.d,{href:"https://www.racingtv.com/watch",children:"Racing TV watch"})," ","section."]}),(0,m.jsx)(A.A,{size:"small",vertical:!0}),(0,m.jsx)(l.A,{children:"These fast horse results also allow users to find a more extensive report of the race, yet the fast results page only shows the horse racing action that has only just happened, meaning it is important to check out other results pages if you are looking for a specific meeting."})]})}),(0,m.jsx)(I.A,{text:"Other Race Results At Racing TV",content:(0,m.jsxs)(n.A,{children:[(0,m.jsxs)(l.A,{children:["As previously mentioned, Racing TV does not only just show the most recent horse racing results, with results from the past week being available, such as"," ",(0,m.jsx)(D.d,{href:"https://www.racingtv.com/results/yesterday",children:"yesterday's results"}),". Users can also click on the calendar icon if they are looking for a race from the past. Due to Racing TV's large archive of horse racing footage, bettors are able to look through years of races to find the specific meeting they are after!"]}),(0,m.jsx)(A.A,{size:"small",vertical:!0}),(0,m.jsxs)(l.A,{children:["With the weekly results being up to date, users are able to easily look back through the week to find all of the race meetings that Racing TV covers. Alongside the fast horse results, each of these results will be given a report that shows how each horse performed, where the race was held, and what the conditions of the race were like. Users can check out specific days of the week, such as"," ",(0,m.jsx)(D.d,{href:"https://www.racingtv.com/results/friday",children:"Friday's horse racing results"})," ","or"," ",(0,m.jsx)(D.d,{href:"https://www.racingtv.com/results/monday",children:"Monday's horse racing results"}),"."]})]})}),(0,m.jsx)(I.A,{text:"Fast Horse Racing Results At Racing TV",content:(0,m.jsxs)(n.A,{children:[(0,m.jsxs)(l.A,{children:["With the fast horse racing results being covered, Racing TV also offers plenty more services to its users, such as the"," ",(0,m.jsx)(D.d,{href:"https://www.racingtv.com/racecards",children:"horse racing racecards"})," ","section. This is a brilliant section for casual horse racing fans and horse racing fanatics to brush up on their knowledge for any upcoming races, providing the best odds of the horses and race predictions."]}),(0,m.jsx)(A.A,{size:"small",vertical:!0}),(0,m.jsxs)(l.A,{children:["With plenty of horse racing fans placing bets on particular races, Racing TV has included a"," ",(0,m.jsx)(D.d,{href:"https://www.racingtv.com/tips",children:"horse racing tips"})," ","section which includes some of the best tips from the biggest names in horse racing!"]})]})})]})]})})},V=s.A.create({container:{justifyContent:"space-between",width:"100%",flexWrap:"wrap"},meetingDetailsContainer:{borderRadius:8,marginVertical:15},meetingDetailsHeader:{alignItems:"center",paddingHorizontal:10,flexDirection:"row",justifyContent:"space-between",backgroundColor:c.A.colors.palette.neutral.bar,height:40},runnerDetailsContainer:{flexDirection:"row",alignItems:"center"},resultsDetailsContainer:{justifyContent:"space-between",paddingHorizontal:10},border:{borderLeftWidth:1,borderRightWidth:1,borderBottomWidth:1,borderColor:c.A.colors.palette.buttons.disabled.borderColor}})}}]); 2//# sourceMappingURL=2245.5d58ea6f.chunk.js.map
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.