import{t as e}from"./config-BYRrjYC5.mjs";import{t}from"./parse-date-BdYTmLpo.mjs";import n from"node:os";import r from"title";const i=e=>r(e),a=/\s+/,o=/\s+/g,s=e=>e&&a.test(e)?e.replaceAll(o,` `).trim():e,c=e=>e&&(typeof e!=`object`&&(e=t(e)),e.toISOString()),l=e=>e.req.path.replace(/\/[^/]*/,``)||`/`,u=()=>{let t=n.networkInterfaces(),r=Object.keys(t).flatMap(e=>t[e]??[]).filter(e=>e?.family===`IPv4`&&!e.internal).map(e=>e?.address).filter(Boolean);return e.disableIPv6||r.push(`[::]`),r};export{i as a,l as i,c as n,u as r,s as t};