PageSourceSearch

https://trains.fyi/_next/static/chunks/pages/support-2d847bb457b06772.js

js trains.fyi collected 2026-09-24 09:55:17 UTC 5,788 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5317],{23637:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/support",function(){return s(28569)}])},28569:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSG:()=>u,default:()=>x});var r=s(37876),a=s(48230),l=s.n(a),i=s(14232),n=s(49915),o=s(85392),c=s(74),d=s(93408),p=s(73865),u=!0;function x({grouped:e}){let[t,s]=(0,i.useState)(""),{t:a}=(0,p.B)();(0,i.useEffect)(()=>{window.gtag&&window.gtag("event","page_view",{page_title:"Support",page_location:window.location.href,page_path:"/support"})},[]);let u=(0,i.useMemo)(()=>Object.keys(e).sort(),[e]),h=(0,i.useMemo)(()=>{let s=t.trim().toLowerCase();if(!s)return e;let r={};for(let[t,a]of Object.entries(e)){let e=a.filter(e=>e.title.toLowerCase().includes(s)||e.description.toLowerCase().includes(s)||(e.keywords||"").toLowerCase().includes(s));e.length&&(r[t]=e)}return r},[e,t]),m=Object.keys(h).length>0;return(0,r.jsxs)("div",{className:"bg-white",children:[(0,r.jsx)(d.A,{title:"Support & Help Center",description:"Help articles, troubleshooting, and answers to common questions about trains.fyi.",canonical:"/support/",image:"/social.png",type:"website",keywords:"trains.fyi support, trains.fyi help, train tracking help, trains.fyi faq, ghost trains, gtfs"}),(0,r.jsx)(c.A,{}),(0,r.jsxs)("main",{className:"isolate",children:[(0,r.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8 pt-4",children:(0,r.jsx)(n.A,{pages:[{name:a("supportBreadcrumb"),href:"/support"}]})}),(0,r.jsxs)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8 pt-8 pb-10",children:[(0,r.jsx)("h1",{className:"text-4xl font-bold tracking-tight text-gray-900 sm:text-5xl",children:a("supportTitle")}),(0,r.jsxs)("p",{className:"mt-4 max-w-2xl text-lg text-gray-600",children:[a("supportSubtitlePre")," ",(0,r.jsx)(l(),{href:"/feedback/",className:"text-blue-700 hover:underline",children:a("supportMessageAction")}),a("supportSubtitlePost")]}),(0,r.jsxs)("div",{className:"mt-8 max-w-xl",children:[(0,r.jsx)("label",{htmlFor:"support-search",className:"sr-only",children:a("supportSearchPlaceholder")}),(0,r.jsx)("input",{id:"support-search",type:"search",value:t,onChange:e=>s(e.target.value),placeholder:a("supportSearchPlaceholder"),className:"block w-full rounded-md border-0 py-3 px-4 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-blue-600 sm:text-sm"})]})]}),(0,r.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8 pb-24",children:m?(0,r.jsx)("div",{className:"space-y-12",children:(t?Object.keys(h).sort():u).map(e=>(0,r.jsxs)("section",{children:[(0,r.jsx)("h2",{className:"text-sm font-semibold uppercase tracking-wide text-gray-500",children:e}),(0,r.jsx)("ul",{className:"mt-4 grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:h[e].map(e=>(0,r.jsx)("li",{className:"group rounded-lg border border-gray-200 bg-white hover:shadow-md transition-shadow",children:(0,r.jsxs)(l(),{href:`/support/${e.slug}/`,className:"block p-6",children:[(0,r.jsx)("h3",{className:"text-base font-semibold text-gray-900 group-hover:text-blue-700",children:e.title}),e.description&&(0,r.jsx)("p",{className:"mt-2 text-sm text-gray-600 line-clamp-3",children:e.description}),(0,r.jsx)("p",{className:"mt-3 text-xs text-gray-400",children:e.readingTime})]})},e.slug))})]},e))}):(0,r.jsxs)("p",{className:"text-gray-500",children:[a("supportNo
1Results").replace("{query}",t)," ",(0,r.jsx)(l(),{href:"/feedback/",className:"text-blue-700 hover:underline",children:a("supportMessageAction")}),a("supportSubtitlePost")]})})]}),(0,r.jsx)(o.A,{})]})}},49915:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var r=s(37876),a=s(60570),l=s(48230),i=s.n(l);function n({pages:e}){return(0,r.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,r.jsxs)("ol",{role:"list",className:"flex items-center space-x-4 pt-6",children:[(0,r.jsx)("li",{children:(0,r.jsx)("div",{children:(0,r.jsxs)(i(),{href:"/",className:"text-gray-400 hover:text-gray-500",children:[(0,r.jsx)(a.A,{"aria-hidden":"true",className:"h-5 w-5 flex-shrink-0"}),(0,r.jsx)("span",{className:"sr-only",children:"Home"})]})})}),e.map(e=>(0,r.jsx)("li",{children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("svg",{fill:"currentColor",viewBox:"0 0 20 20","aria-hidden":"true",className:"h-5 w-5 flex-shrink-0 text-gray-300",children:(0,r.jsx)("path",{d:"M5.555 17.776l8-16 .894.448-8 16-.894-.448z"})}),(0,r.jsx)(i(),{href:e.href,"aria-current":e.current?"page":void 0,className:"ml-4 text-sm font-medium text-gray-500 hover:text-gray-700",children:e.name})]})},e.name))]})})}},60570:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(14232);let a=r.forwardRef(function({title:e,titleId:t,...s},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M9.293 2.293a1 1 0 0 1 1.414 0l7 7A1 1 0 0 1 17 11h-1v6a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-6H3a1 1 0 0 1-.707-1.707l7-7Z",clipRule:"evenodd"}))})},77808:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(14232);let a=r.forwardRef(function({title:e,titleId:t,...s},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"}))})}},e=>{e.O(0,[6701,3927,2325,3990,8447,5392,636,6593,8792],()=>e(e.s=23637)),_N_E=e.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.