1import{c as f}from"./use-style-config-ZxeY2J_M.js";const d={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},c=f("span",{baseStyle:d});c.displayName="VisuallyHidden";const h=f("input",{baseStyle:d});h.displayName="VisuallyHiddenInput";function $(n,t=Date.now()){if(!n)return"â";const r=t-n;if(r<0)return"just now";const e=Math.floor(r/1e3);if(e<60)return e===0?"just now":`${e}s ago`;const i=Math.floor(e/60);if(i<60)return i===1?"1 min ago":`${i} mins ago`;const a=Math.floor(i/60);return a===1?"1 hour ago":`${a} hours ago`}function g(n){try{if(typeof n!="number")throw new Error("seconds must be a number");return new Date(Date.now()+n*1e3).toISOString()}catch{return null}}function m(n){if(!n)return null;const t=Date.parse(n);return Number.isFinite(t)?t:null}function y({time:n=null,schedulePrediction:t=!0,showLabel:r=!1}){let e=m(n),i="Scheduled",a="Arriving";if(!e)return"â";const o=Math.max(0,Math.round((e-Date.now())/6e4)),u=t?i:a;if(o===0)return"Arriving now";if(o<60)return r?`${u} in ${o} min`:`in ${o} min`;const s=Math.floor(o/60),l=o%60;return l===0?r?`${u} in ${s}h`:`in ${s}h`:r?`${u} in ${s}h ${l} min`:`in ${s}h ${l} min`}export{c as V,$ as a,y as f,g as s,m as t,d as v};
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.