1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9971],{1689:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/racing/abc-guide/[days]/[type]",function(){return r(85011)}])},85011:function(t,e,r){"use strict";r.r(e);var a=r(47568),o=r(828),n=r(97582),s=r(85893);r(67294);var c,i=r(35413),d=r(56404),l=r(18897),u=r(72071),p=r(92933),y=r(30315),f=r(11163),g=r(69125),h=r(90283),w=r(25925),_=r(86850),b=r(91609),m=function(t){var e,r,a,o,n=t.races,c=t.betting,i=t.days,p=t.type,m=t.hasError,Z=(0,f.useRouter)(),v=(a={today:"Today's ABC Guide of ".concat(p),tomorrow:"Tomorrow's ABC Guide of ".concat(p),"5-days":"Five Day ABC Guide (A-D) of ".concat(p)},o={today:"All of Today's declared ".concat(p),tomorrow:"All of Tomorrow's declared ".concat(p),"5-days":"All of the next five days' declared ".concat(p)},{title:a[i],description:"".concat(o[i]," and where theyâre running, listed in alphabetical order on Sporting Life and complete with Sky Bet odds.")}),E=v.title,R=v.description,A=(0,h.$)();return(0,s.jsxs)(l.ZP,{sport:"racing",title:"".concat(E," - Horse Racing - Sporting Life"),description:R,children:[(0,s.jsxs)(w.Z,{children:[m?(0,g.Z)():(0,s.jsx)(y.Z,{races:n,betting:c,showOdds:!0,params:Z.query}),A.narrow&&!m&&(0,s.jsx)(u.Z,{plainTitle:!0})]}),(0,s.jsx)(_.Z,{children:(0,s.jsx)(d.Z,{sport:"racing",content:(0,b.cG)("loginPromptMyStable")})})]})};m.getInitialProps=(c=(0,a.Z)(function(t){var e,r,a,s,c,d,l,u;return(0,n.__generator)(this,function(n){switch(n.label){case 0:e=t.query,n.label=1;case 1:var y,f,g,h;return n.trys.push([1,3,,4]),r=e.days,a=e.type,y=r,f={tomorrow:{start:(0,p.R$)().add("1","day"),end:(0,p.R$)().add("1","day")},"5-days":{start:(0,p.R$)(),end:(0,p.R$)().add("5","day")}},g=(0,p.R$)(),h=f[y]||{start:g,end:g},s="5-days"===y?{fromDate:(0,p.si)(h.start),toDate:(0,p.si)(h.end),countryGroups:"UK,IRE",letterRange:"A-D"}:{fromDate:(0,p.si)(h.start),toDate:(0,p.si)(h.end),countryGroups:"UK,IRE"},[4,Promise.all([i.Z.get("/horse-racing/abcguide",{params:s}),i.Z.get("/horse-racing/v2/racing/betting/abc/".concat(s.fromDate))])];case 2:return d=(c=o.Z.apply(void 0,[n.sent(),2]))[0],l=c[1],[2,{races:d.data,betting:null==l?void 0:l.data,days:r,type:a,showOdds:!0,hasError:!1}];case 3:return u=n.sent(),console.log(u.stack),[2,{races:[],hasError:!0}];case 4:return[2]}})}),function(t){return c.apply(this,arguments)}),m.propTypes={},e.default=m}},function(t){t.O(0,[8897,4676,4945,5197,1605,9774,2888,179],function(){return t(t.s=1689)}),_N_E=t.O()}]);
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.