PageSourceSearch

https://www.nationalrail.co.uk/nreassets/_next/static/chunks/7205.883daad0a7a6b74c.js

js nationalrail.co.uk collected 2026-09-24 08:32:51 UTC 2,920 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7205],{67205:(e,i,t)=>{t.r(i),t.d(i,{default:()=>A});var n=t(6029),r=t(82411),o=t(57558),a=t(43353),d=t(66373),s=t(5110),c=t(90111),l=t(37392),h=t(16010),p=t(59091),f=t(76386),k=t(49832),x=t(30391),$=t(72666),m=t(90468),j=t(32317),u=t(43552),C=t.n(u),g=t(55729),I=t(30036),w=t(71632),T=t(23207),b=t(63776);let A=e=>{let{name:i,fare:t,category:u,state:{checkedFare:A,showNationalRailFareHeading:y,hasJourneyOverviewHeading:_},handleFareOnChange:v,options:{withGrid:M}}=e,{getMicrocopy:E}=(0,g.useContext)(r.z),{viewTicketInformationLabel:L}=(0,I.kd)({getMicrocopy:E}),{fareInfo:{routeRestrictions:N},setTicketInfoFromOther:R,setShowTicketInformation:S}=(0,h.T)(e=>({fareInfo:e.fareInfo,setShowTicketInformation:e.setShowTicketInformation,setTicketInfoFromOther:e.setTicketInfoFromOther})),{id:z,totalPrice:F,typeDescription:D,typeCode:O}=t,{description:P}=(0,j.x_)({routeRestrictions:N,fare:t}),Y=(0,m.y)({pence:F}),q=C()(u),B=`${D} - ${Y}`,H=(0,I.pB)(z),J=`${L} for ${B}`,K=z===A?.id,{openTicketModal:U}=(()=>{let{openModal:e}=(0,p.A)({}),{setSelectedTicketModal:i}=(0,h.T)((0,k.k)(e=>({setSelectedTicketModal:e.setSelectedTicketModal})));return{openTicketModal:t=>{let{ticketCode:n,modalTitle:r,ticketRestriction:o}=t;i({ticketCode:n,ticketRestriction:o}),e({id:f.wU.JP_TICKET,payload:{modalTitle:r}})}}})();return(0,n.jsxs)(o.e,{condition:M,wrapper:e=>(0,n.jsx)(T.A,{name:`${i}-other-fare-${q}`,fareId:z,nested:!0,children:e}),children:[(0,n.jsxs)(w.M,{children:[(0,n.jsx)($.H4,{$baseline:!0,$margin:0,as:y&&_?"h5":"h4",children:(0,n.jsxs)(b.z4,{type:"button","data-ticket-type-id":O.toLowerCase(),"aria-haspopup":"dialog",onClick:()=>{U({ticketCode:O,modalTitle:D,ticketRestriction:t.ticketRestriction})},children:[(0,n.jsx)(b.FD,{children:D}),(0,n.jsx)(a.m,{children:` - ${Y}`}),(0,n.jsx)(b.CZ,{"aria-hidden":!0,children:(0,n.jsx)(d.A,{id:`${i}-arrow-${q}-${z}`,name:`${i}-arrow-${q}-${z}`,size:l._E,color:x.rh})})]})}),P&&(0,n.jsx)($.Dn,{$baseline:!0,$margin:0,children:P})]}),(0,n.jsx)(b.n,{children:(0,n.jsx)(b._L,{$isChecked:K,children:(0,n.jsx)(s.A,{name:i,value:`${z}`,ariaLabel:B,options:{id:(0,I.Xv)(z),checked:K,onChange:v,required:!0},children:(0,n.jsx)(b.hI,{children:Y})})})}),(0,n.jsx)(w.NR,{children:(0,n.jsx)(c.A,{name:`ticket-info-${z}`,label:L,ariaLabel:J,step:H,onClick:()=>void(S(!0,t),R(M))})})]})}},71632:(e,i,t)=>{t.d(i,{M:()=>s,NR:()=>c,rx:()=>l});var n=t(30391),r=t(14539),o=t(87050),a=t(72666),d=t(41735);let s=d.Ay.div.withConfig({componentId:"sc-1968e550-0"})(["display:flex;flex-direction:column;grid-area:content;"]),c=d.Ay.p.withConfig({componentId:"sc-1968e550-1"})(["grid-area:link;",""],(0,a.Wg)({baseline:!0})),l=d.Ay.section.withConfig({componentId:"sc-1968e550-2"})(["border-top:",";padding-bottom:",";padding-left:",";"],e=>{let{$borderTop:i}=e;return i&&`1px solid ${n.P8}`},(0,o.Y)(r.mg),(0,o.Y)(r.AA))}}]);

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.