PageSourceSearch

https://trains.fyi/_next/static/chunks/5392-b43f2bae558bdd38.js?dpl=dpl_5vQSvZVhuinF4HqkBsmkPs3cGsp5

js trains.fyi collected 2026-09-24 09:54:25 UTC 12,674 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5392],{85392:(e,t,s)=>{s.d(t,{A:()=>y});var a=s(37876),l=s(9985),r=s(77808),i=s(48230),n=s.n(i),c=s(14232),o=s(46100),x=s(28766),d=s(25620),h=s(99904),m=s(72641),f=s(74880),p=s(73865);let g=h.L.getAllCities(),b=m.i.getAllCountries(),u=f.Y.getAllNetworks(),j=[{name:"Instagram",href:"https://instagram.com/trainsfyi",icon:e=>(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",...e,children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c-2.716 0-3.056.012-4.123.06-1.064.05-1.79.218-2.427.465a4.9 4.9 0 00-1.772 1.153A4.9 4.9 0 002.525 5.45c-.247.636-.416 1.363-.465 2.427C2.012 8.944 2 9.284 2 12s.012 3.056.06 4.123c.05 1.064.218 1.79.465 2.427.256.66.598 1.216 1.153 1.772a4.9 4.9 0 001.772 1.153c.636.247 1.363.416 2.427.465C8.944 21.988 9.284 22 12 22s3.056-.012 4.123-.06c1.064-.05 1.79-.218 2.427-.465a4.9 4.9 0 001.772-1.153 4.9 4.9 0 001.153-1.772c.247-.636.416-1.363.465-2.427.048-1.067.06-1.407.06-4.123s-.012-3.056-.06-4.123c-.05-1.064-.218-1.79-.465-2.427a4.9 4.9 0 00-1.153-1.772A4.9 4.9 0 0018.55 2.525c-.636-.247-1.363-.416-2.427-.465C15.056 2.012 14.716 2 12 2zm0 1.802c2.67 0 2.987.01 4.042.058.975.044 1.504.207 1.857.344.467.181.8.398 1.15.748.35.35.566.683.748 1.15.137.353.3.882.344 1.857.048 1.055.058 1.371.058 4.041 0 2.67-.01 2.986-.058 4.04-.044.976-.207 1.505-.344 1.858-.181.467-.399.8-.748 1.15-.35.35-.683.566-1.15.748-.353.137-.882.3-1.857.344-1.054.048-1.37.058-4.041.058-2.67 0-2.987-.01-4.041-.058-.975-.044-1.504-.207-1.857-.344a3.1 3.1 0 01-1.15-.748 3.1 3.1 0 01-.748-1.15c-.137-.353-.3-.882-.344-1.857-.048-1.055-.058-1.371-.058-4.041 0-2.67.01-2.987.058-4.041.044-.975.207-1.504.344-1.857.181-.467.398-.8.748-1.15.35-.35.683-.567 1.15-.748.353-.137.882-.3 1.857-.344C9.014 3.812 9.33 3.802 12 3.802zM12 15.333a3.333 3.333 0 110-6.666 3.333 3.333 0 010 6.666zm0-8.468a5.135 5.135 0 100 10.27 5.135 5.135 0 000-10.27zm6.538-.203a1.2 1.2 0 11-2.4 0 1.2 1.2 0 012.4 0z"})})},{name:"TikTok",href:"https://tiktok.com/@trainsfyi",icon:e=>(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",...e,children:(0,a.jsx)("path",{d:"M19.59 6.69a4.83 4.83 0 01-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 01-5.2 1.74 2.89 2.89 0 012.31-4.64 2.93 2.93 0 01.88.13V9.4a6.84 6.84 0 00-1-.05A6.33 6.33 0 005.8 20.1a6.34 6.34 0 0010.86-4.43v-7a8.16 8.16 0 004.77 1.52v-3.4a4.85 4.85 0 01-1.84-.1z"})})}],w=e=>(0,a.jsx)("svg",{viewBox:"0 0 384 512",fill:"currentColor","aria-hidden":"true",...e,children:(0,a.jsx)("path",{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"})}),N=e=>(0,a.jsxs)("svg",{viewBox:"0 0 512 512","aria-hidden":"true",...e,children:[(0,a.jsx)("path",{fill:"#FFD400",d:"M381.9 239.8c4.9-2.7 9.9-5.4 14.8-8l-74.6-40.5-55.6 55.8 55.6 55.8 74.6-40.5c-5-2.6-10-5.3-14.8-8 6.8-3.7 13.6-7.4 20.4-11.1-6.8-3.7-13.6-7.4-20.4-11.1z"}),(0,a.jsx)("path",{fill:"#FF3333",d:"M266.5 247.1 100.4 80.6c-3.9-3.9-9.5-5.9-15.5-5.9-6.2 0-11.9 2.1-16 6.2l181.6 222.2 16-55.9z"}),(0,a.jsx)("path",{fill:"#48FF48",d:"m100.4 415.4 166.1-166.6-16-55.8L68.9 415c4.2 4.1 9.9 6.2 16 6.2 6.1 0 11.6-2 15.5-5.9z"}),(0,a.jsx)("path",{fill:"#3BCCFF",d:"m266.5 247.1 16 55.9L68.9 415c-3.9-4.1-6.2-9.8-6.2-16V97.2c0-6.3 2.3-12 6.2-16.1l197.6 165.9z"})]}),v=e=>(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",...e,children:(0,a.jsx)("path",{d:"M20.3 4.4A16.5 16.5 0 0016.2 3l-.5 1a15.1 15.1 0 00-7.4 0l-.5-1a16.8 16.8 0 00-4.1 1.4C1.1 8.2.4 12 .8 15.8a16.7 16.7 0 005 2.5l1.2-1.7a10.8 10.8 0 01-1.9-.9l.5-.4a11.9 11.9 0 0012.8 0l.5.4c-.6.4-1.2.7-1.9.9l1.2 1.7a16.7 16.7 0 005-2.5c.5-4.4-.8-8.1-2.9-11.4zM8.3 14.2c-1.2 0-2.1-1.1-2.1-2.4s.9-2.4 2.1-2.4 2.1 1.1 2.1 2.4-.9 2.4-2.1 2.4zm7.4 0c-1.2 0-2.1-1.1-2.1-2.4s.9-2.4 2.1-2.4 2.1 1.1 2.1 2.4-.9 2.4-2.1 2.4z"})});function y(){let{user:e,loading:t,logout:s}=(0,d.A)(),{t:i}=(0,p.B)(),h={explore:[{name:i("worldMap"),href:"/"},{name:"Late List",href:"/most-delayed-trains/"},{name:i("cities"),href:"/cities/"},{name:i("footerCountries"),href:"/countries/"},{name:i("networks"),href:"/networks/"},{name:i("footerSightings"),href:"/sightings/"},{name:i("footerFreight"),href:"/freight/"},{name:i("footerApps"),href:"/apps/"},{name:i("merchNavLabel"),href:"/merch/"}],company:[{name:i("footerBlog"),href:"/blog/"},{name:i("aboutLabel"),href:"/about/"},{name:i("footerSupport"),href:"/support/"},{name:i("footerPrivacy"),href:"/privacy/"},{name:i("footerTerms"),href:"/terms/"}],cities:g.filter(e=>e.highlighted).slice(0,21).map(e=>({name:e.name,href:`/${e.slug}/`})),networks:u.map(e=>({name:e.name,href:`/networks/${e.slug}/`})),countries:b.map(e=>({name:e.name,href:`/countries/${e.slug}/`}))};return(0,c.useEffect)(()=>{let e=document.createElement("script");return e.src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js",e.setAttribute("data-name","BMC-Widget"),e.setAttribute("data-cfasync","false"),e.setAttribute("data-id","rydercalmdown"),e.setAttribute("data-description","Support me on Buy me a coffee!"),e.setAttribute("data-message",""),e.setAttribute("data-color","#FFDD00"),e.setAttribute("data-position","Right"),e.setAttribute("data-x_margin","18"),e.setAttribute("data-y_margin","18"),document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),(0,a.jsxs)("footer",{"aria-labelledby":"footer-heading",className:"bg-gradient-to-b from-blue-800 to-blue-900 mt-24",children:[(0,a.jsx)("h2",{id:"footer-heading",className:"sr-only",children:"Footer"}),(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-6 pb-8 pt-12 sm:pt-16 lg:px-8 lg:pt-20",children:[(0,a.jsxs)("div",{className:"xl:grid xl:grid-cols-12 xl:gap-8",children:[(0,a.jsxs)("div",{className:"xl:col-span-4 space-y-6",children:[(0,a.jsxs)(n(),{href:"/",className:"flex items-center",children:[(0,a.jsx)("img",{src:x.A.src,alt:"trains.fyi logo",className:"h-14 w-auto"}),(0,a.jsx)("span",{className:"text-white text-2xl font-bold ml-3",children:"trains.fyi"})]}),(0,a.jsx)("p",{className:"text-sm leading-6 text-blue-100 max-w-xs",children:i("footerTagline")}),(0,a.jsx)("div",{className:"flex items-center gap-3",children:j.map(e=>(0,a.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":e.name,className:"flex h-9 w-9 items-center justify-center rounded-full bg-white/10 text-white hover:bg-white/20 transition-colors",children:(0,a.jsx)(e.icon,{className:"h-4 w-4"})},e.name))}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsxs)("a",{href:"/ios/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg bg-black px-3 py-2 text-white hover:bg-gray-800 transition-colors","aria-label":"Download on the App Store",children:[(0,a.jsx)(w,{className:"h-6 w-6 flex-shrink-0"}),(0,a.jsxs)("span",{className:"text-left leading-tight",children:[(0,a.jsx)("span",{className:"block text-[10px] font-normal",children:i("downloadOnThe")}),(0,a.jsx)("span",{className:"block text-sm font-semibold",children:i("appStore")})]})]}),(0,a.jsxs)("a",{href:"/android/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg bg-white px-3 py-2 text-black border border-black hover:bg-gray-100 transition-colors","aria-label":"Get it on Google Play",children:[(0,a.jsx)(N,{className:"h-6 w-6 flex-shrink-0"}),(0,a.jsxs)("span",{className:"text-left leading-tight",children:[(0,a.jsx)("span",{className:"block text-[10px] font-normal",children:i("getItOn")}),(0,a.jsx)("span",{className:"block text-sm font-semibold",children:i("googlePlay")})]})]}),(0,a.jsxs)("a",{href:"https://discord.gg/TmHN7bamKX",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg bg-[#5865F2] px-3 py-2 text-white transition-colors hover:bg-[#47
152C4]","aria-label":"Join trains.fyi on Discord",children:[(0,a.jsx)(v,{className:"h-6 w-6 flex-shrink-0"}),(0,a.jsx)("span",{className:"text-sm font-semibold",children:"Discord"})]})]})]}),(0,a.jsxs)("div",{className:"mt-12 xl:mt-0 xl:col-span-3 grid grid-cols-2 gap-8",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-sm font-semibold leading-6 text-white",children:i("footerExplore")}),(0,a.jsx)("ul",{role:"list",className:"mt-4 space-y-3",children:h.explore.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:e.href,className:"text-sm leading-6 text-blue-100 hover:text-white",children:e.name})},e.href))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-sm font-semibold leading-6 text-white",children:i("footerCompany")}),(0,a.jsx)("ul",{role:"list",className:"mt-4 space-y-3",children:h.company.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:e.href,className:"text-sm leading-6 text-blue-100 hover:text-white",children:e.name})},e.href))})]})]}),(0,a.jsxs)("div",{className:"mt-12 xl:mt-0 xl:col-span-5 space-y-8",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold leading-6 text-white",children:i("cities")}),(0,a.jsx)(n(),{href:"/cities/",className:"text-xs text-blue-200 hover:text-white",children:i("footerViewAll")})]}),(0,a.jsx)("div",{className:"mt-4 flex flex-wrap gap-x-4 gap-y-2",children:h.cities.map(e=>(0,a.jsx)("a",{href:e.href,className:"text-sm leading-6 text-blue-100 hover:text-white",children:e.name},e.name))})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold leading-6 text-white",children:i("footerCountries")}),(0,a.jsx)(n(),{href:"/countries/",className:"text-xs text-blue-200 hover:text-white",children:i("footerViewAll")})]}),(0,a.jsx)("div",{className:"mt-4 flex flex-wrap gap-x-4 gap-y-2",children:h.countries.map(e=>(0,a.jsx)("a",{href:e.href,className:"text-sm leading-6 text-blue-100 hover:text-white",children:e.name},e.name))})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold leading-6 text-white",children:i("networks")}),(0,a.jsx)(n(),{href:"/networks/",className:"text-xs text-blue-200 hover:text-white",children:i("footerViewAllCount").replace("{count}",h.networks.length)})]}),(0,a.jsx)("div",{className:"mt-4 flex flex-wrap gap-x-4 gap-y-2",children:h.networks.slice(0,12).map(e=>(0,a.jsx)("a",{href:e.href,className:"text-sm leading-6 text-blue-100 hover:text-white",children:e.name},e.name))})]})]})]}),(0,a.jsxs)("div",{className:"mt-12 border-t border-white/10 pt-8 sm:mt-16",children:[!t&&(0,a.jsx)("div",{className:"flex justify-center sm:justify-end mb-6",children:e?(0,a.jsxs)("div",{className:"flex items-center gap-3 text-sm text-white",children:[(0,a.jsx)("span",{className:"text-blue-200 truncate max-w-[200px]",children:e.email||i("account")}),(0,a.jsxs)("button",{onClick:()=>s(),className:"inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm text-white hover:bg-blue-700 transition-colors",children:[(0,a.jsx)(l.A,{className:"h-4 w-4"}),i("signOut")]})]}):(0,a.jsx)(n(),{href:"/login",className:"inline-flex items-center rounded-md px-4 py-2 text-sm font-medium text-white bg-white/10 hover:bg-white/20 border border-white/30 transition-colors",children:i("footerSignIn")})}),(0,a.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row justify-between items-center",children:[(0,a.jsxs)("p",{className:"text-xs leading-5 text-white text-center sm:text-left mt-4 sm:mt-0",children:[(0,a.jsx)("a",{href:"https://rydercalmdown.com",target:"_blank",rel:"noopener noreferrer",className:"text-xs leading-5 text-white hover:text-gray-300",children:"\xa9 2026 Radical Sloth Inc."}),(0,a.jsx)("br",{}),(0,a.jsx)(n(),{href:"/feedback/",className:"text-xs leading-5 text-blue-200 hover:text-gray-300",children:"Send feedback"})]}),(0,a.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,a.jsx)("div",{className:"w-64",children:(0,a.jsx)(o.A,{})}),(0,a.jsx)("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:"p-2 rounded-md bg-blue-800 text-blue-200 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","aria-label":"Scroll to top",children:(0,a.jsx)(r.A,{className:"h-5 w-5"})})]})]})]})]})]})}}}]);

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.