1import{a7 as i}from"./main-BsQhsZ_c.js";function m(t,n,r){const o=(r?.preserveCents??!1)&&t%100!==0?2:0;return new Intl.NumberFormat(i,{style:"currency",currency:n,minimumFractionDigits:o,maximumFractionDigits:2}).format(t/100)}function s(t){const n=(r,e,o)=>new Intl.NumberFormat(i,{style:"unit",unit:e,unitDisplay:"short",maximumFractionDigits:o}).format(r);return t<1024?n(t,"byte",0):t<1024*1024?n(t/1024,"kilobyte",1):n(t/(1024*1024),"megabyte",1)}function u(t){return new Intl.DateTimeFormat(i,{year:"numeric",month:"2-digit",day:"2-digit"}).format(t)}function f(t){return new Intl.DateTimeFormat(i,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(t)}function c(t){if(t<1e3)return`${Math.round(t)}ms`;const n=Math.floor(t/1e3);if(n<60)return`${n}s`;const r=Math.floor(n/60),e=n%60;return e>0?`${r}m ${e}s`:`${r}m`}function g(t){const n=t instanceof Date?t:new Date(t);return Number.isNaN(n.getTime())?"":new Intl.DateTimeFormat(i,{year:"numeric",month:"short",day:"numeric"}).format(n)}function l(t){const n=t.trim().split(/\s+/).filter(Boolean);return n.length===0?"··":n.length===1?n[0].slice(0,2):`${n[0][0]}${n[n.length-1][0]}`}export{f as a,u as b,g as c,m as d,s as e,c as f,l as g};
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.