PageSourceSearch

https://trains.fyi/_next/static/chunks/pages/social-a6d77d9775ee559d.js

js trains.fyi collected 2026-10-01 12:17:10 UTC 9,749 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1561],{28766:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});let i={src:"/_next/static/media/tfyi_logo_transparent.51e951f5.png",height:703,width:699,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAaVBMVEVMaXE2YKM+YH34+v8ABwciLTSbpKz4+fj8/f38/PwTJjMSIigbNlAtXI////////8qSmo2S13///+Ei45Ne6guUHSiq61VbINfclo3U2DEzvFEccIdPmBIa5Tj5eSqsGypuM2Wont1iJdIl2hLAAAAG3RSTlMA/PysEj38PFakKFK76hXWzfP9/Pz9dP78+PZiTpkcAAAACXBIWXMAAAsSAAALEgHS3X78AAAAQklEQVQImRXLxRHAMBAAsTWeHWZyuP8iM9FfAMFEAZi8SpuA87Ne3wjNMVzLE7FlUqO+A7bY2/40kOVOurr6FwSBD2PoArv8Sj+dAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},37440:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>m});var i=a(37876),n=a(14232),r=a(48230),s=a.n(r),o=a(28766),l=a(93408);let c=({className:e="h-8 w-8"})=>(0,i.jsx)("svg",{className:e,viewBox:"0 0 384 512","aria-hidden":"true",children:(0,i.jsx)("path",{fill:"currentColor",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"})}),p=({className:e="h-8 w-8"})=>(0,i.jsxs)("svg",{className:e,viewBox:"30 336.7 120.9 129.2","aria-hidden":"true",children:[(0,i.jsx)("path",{fill:"#FFD400",d:"M119.2 421.2c15.3-8.4 27-14.8 28-15.3 3.2-1.7 6.5-6.2 0-9.7-2.1-1.1-13.4-7.3-28-15.3l-20.1 20.2 20.1 20.1z"}),(0,i.jsx)("path",{fill:"#FF3333",d:"m99.1 401.1-64.2 64.7c1.5.2 3.2-.2 5.2-1.3 4.2-2.3 48.8-26.7 79.1-43.3l-20.1-20.1z"}),(0,i.jsx)("path",{fill:"#48FF48",d:"m99.1 401.1 20.1-20.2s-74.6-40.7-79.1-43.1c-1.7-1-3.6-1.3-5.3-1l64.3 64.3z"}),(0,i.jsx)("path",{fill:"#3BCCFF",d:"m99.1 401.1-64.3-64.3c-2.6.6-4.8 2.9-4.8 7.6v113.8c0 4.3 1.7 7.4 4.9 7.7l64.2-64.8z"})]});function d({app:e,primary:t,instagramBrowser:a}){var n;let r=e.Icon,s=a?(n=e.url,`instagram://extbrowser/?url=${encodeURIComponent(n)}`):e.url;return(0,i.jsxs)("a",{href:s,target:"_blank",rel:"noopener noreferrer","aria-label":e.ariaLabel,"data-platform":e.platform,className:`group flex w-full items-center gap-4 roun
1ded-2xl border px-5 py-4 text-left shadow-lg transition duration-200 hover:-translate-y-0.5 hover:shadow-xl focus:outline-none focus:ring-4 focus:ring-white/40 ${t?"border-white bg-white text-blue-950":"border-white/20 bg-white/10 text-white backdrop-blur hover:bg-white/15"}`,onClick:()=>{window.gtag&&window.gtag("event","app_store_click",{platform:e.platform,source:"social"})},children:[(0,i.jsx)("span",{className:`flex h-14 w-14 flex-none items-center justify-center rounded-xl ${t?"bg-blue-50":"bg-white/10"}`,children:(0,i.jsx)(r,{})}),(0,i.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,i.jsx)("span",{className:`block text-xs font-semibold uppercase tracking-widest ${t?"text-blue-600":"text-blue-200"}`,children:t?"Best for this device":e.eyebrow}),(0,i.jsx)("span",{className:"mt-0.5 block text-xl font-bold",children:e.name})]}),(0,i.jsx)("svg",{className:"h-5 w-5 flex-none transition-transform group-hover:translate-x-1",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M3 10a.75.75 0 0 1 .75-.75h10.69l-3.22-3.22a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06l3.22-3.22H3.75A.75.75 0 0 1 3 10Z",clipRule:"evenodd"})})]})}function m(){let[e,t]=(0,n.useState)("desktop"),[a,r]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=navigator.userAgent||"",a="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;t(/android/i.test(e)?"android":/iPad|iPhone|iPod/i.test(e)||a?"ios":"desktop"),r(/Instagram/i.test(e)),window.gtag&&window.gtag("event","page_view",{page_title:"Get the trains.fyi app",page_location:window.location.href,page_path:"/social/"})},[]);let m=[{platform:"ios",name:"iPhone & iPad",eyebrow:"Download on the App Store",ariaLabel:"Download trains.fyi for iPhone and iPad",url:"https://apps.apple.com/ca/app/trainsfyi-train-map-tracker/id6741248139",Icon:c},{platform:"android",name:"Android",eyebrow:"Get it on Google Play",ariaLabel:"Get trains.fyi for Android",url:"https://play.google.com/store/apps/details?id=fyi.trains",Icon:p},{platform:"appletv",name:"Apple TV",eyebrow:"View on the App Store",ariaLabel:"Download trains.fyi for Apple TV",url:"https://apps.apple.com/app/trainsfyi-train-tracking/id6762523224",Icon:c}],x="android"===e?[m[1],m[0],m[2]]:m;return(0,i.jsxs)("div",{className:"min-h-screen bg-blue-800 text-white",children:[(0,i.jsx)(l.A,{title:"Get the trains.fyi app",description:"Download trains.fyi for iPhone, iPad, Android, and Apple TV.",canonical:"/social/",image:"/social.png",keywords:"trains.fyi app, train tracker app, iPhone train app, Android train app",meta:{"theme-color":"#1e40af"}}),(0,i.jsxs)("main",{className:"relative isolate flex min-h-screen items-center justify-center overflow-hidden px-5 py-10 sm:py-14",children:[(0,i.jsxs)("div",{className:"absolute inset-0 -z-10","aria-hidden":"true",children:[(0,i.jsx)("div",{className:"absolute -left-28 -top-28 h-80 w-80 rounded-full bg-cyan-400/20 blur-3xl"}),(0,i.jsx)("div",{className:"absolute -bottom-32 -right-24 h-96 w-96 rounded-full bg-indigo-950/40 blur-3xl"}),(0,i.jsx)("div",{className:"absolute inset-0 opacity-[0.06]",style:{backgroundImage:"radial-gradient(circle at center, white 1px, transparent 1px)",backgroundSize:"24px 24px"}})]}),(0,i.jsxs)("div",{className:"mx-auto w-full max-w-md text-center",children:[(0,i.jsxs)(s(),{href:"/",className:"inline-flex items-center gap-3 rounded-full focus:outline-none focus:ring-4 focus:ring-white/40","aria-label":"trains.fyi home",children:[(0,i.jsx)("img",{src:o.A.src,alt:"",className:"h-20 w-20 drop-shadow-lg sm:h-24 sm:w-24"}),(0,i.jsx)("span",{className:"text-3xl font-bold tracking-tight",children:"trains.fyi"})]}),(0,i.jsx)("h1",{className:"mt-7 text-4xl font-black tracking-tight sm:text-5xl",children:"Track trains anywhere."}),(0,i.jsx)("p",{className:"mx-auto mt-3 max-w-sm text-base leading-relaxed text-blue-100 sm:text-lg",children:"Live train maps, arrivals, and trip details—right in your pocket."}),(0,i.jsx)("div",{className:"mt-8 space-y-3","aria-label":"Download the trains.fyi app",children:x.map(t=>(0,i.jsx)(d,{app:t,primary:e===t.platform||"desktop"===e&&"ios"===t.platform,instagramBrowser:a},t.platform))}),a&&(0,i.jsx)("p",{className:"mt-5 rounded-xl bg-blue-950/30 px-4 py-3 text-sm leading-relaxed text-blue-100",role:"status",children:"You’re browsing in Instagram. We’ll open your app store link outside Instagram to avoid the blank-screen issue."}
1),(0,i.jsx)(s(),{href:"/",className:"mt-8 inline-block text-sm font-semibold text-blue-200 underline decoration-blue-300/50 underline-offset-4 hover:text-white",children:"Or explore live trains on the web"})]})]})]})}},75572:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/social",function(){return a(37440)}])},93408:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var i=a(37876),n=a(77328),r=a.n(n);function s({title:e="trains.fyi",description:t="Track trains in real-time across North America",canonical:a,image:n="/social.png",type:o="website",meta:l={},author:c="trains.fyi",keywords:p="",locale:d="en_US",datePublished:m,dateModified:x,noIndex:h=!1}){let f="trains, train map, where is my train, trains.fyi, real-time tracking, railway, transit, transportation",u=p?`${f}, ${p}`:f,g=e.includes("trains.fyi")?e:`${e} | trains.fyi`,w="https://trains.fyi",b=a?`${w}${a}`:null,j=n&&n.startsWith("http")?n:`${w}${n}`,y={"@context":"https://schema.org","@type":"article"===o?"Article":"WebSite",name:g,description:t,url:b||w,..."article"===o&&{author:{"@type":"Person",name:c},image:j,datePublished:m||new Date().toISOString(),...x&&{dateModified:x}}};return(0,i.jsxs)(r(),{children:[(0,i.jsx)("title",{children:g}),(0,i.jsx)("meta",{name:"description",content:t}),(0,i.jsx)("meta",{name:"keywords",content:u}),(0,i.jsx)("meta",{name:"author",content:c}),(0,i.jsx)("meta",{name:"robots",content:h?"noindex, nofollow":"index, follow"}),b&&(0,i.jsx)("link",{rel:"canonical",href:b}),(0,i.jsx)("link",{rel:"icon",type:"image/png",href:"/favicon.png"}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,i.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,i.jsx)("meta",{property:"og:type",content:o}),(0,i.jsx)("meta",{property:"og:title",content:g}),(0,i.jsx)("meta",{property:"og:description",content:t}),(0,i.jsx)("meta",{property:"og:image",content:j}),(0,i.jsx)("meta",{property:"og:site_name",content:"trains.fyi"}),(0,i.jsx)("meta",{property:"og:locale",content:d}),b&&(0,i.jsx)("meta",{property:"og:url",content:b}),"article"===o&&m&&(0,i.jsx)("meta",{property:"article:published_time",content:m}),"article"===o&&x&&(0,i.jsx)("meta",{property:"article:modified_time",content:x}),"article"===o&&c&&(0,i.jsx)("meta",{property:"article:author",content:c}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{property:"twitter:domain",content:"trains.fyi"}),(0,i.jsx)("meta",{name:"twitter:title",content:g}),(0,i.jsx)("meta",{name:"twitter:description",content:t}),(0,i.jsx)("meta",{name:"twitter:image",content:j}),(0,i.jsx)("meta",{name:"twitter:site",content:"@trainsfyi"}),b&&(0,i.jsx)("meta",{property:"twitter:url",content:b}),Object.entries(l).map(([e,t])=>(0,i.jsx)("meta",{name:e,content:t},e)),(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(y)}})]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=75572)),_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.