function e(e){let t=Math.floor(Date.now()/1e3)-e;return t<60?`${t}s`:t<3600?`${Math.floor(t/60)}m`:t<86400?`${Math.floor(t/3600)}h`:t<604800?`${Math.floor(t/86400)}d`:t<2592e3?`${Math.floor(t/604800)}w`:new Date(e*1e3).toLocaleDateString(`en-US`,{month:`short`,day:`numeric`})}export{e as t};