1var e=[`B`,`KB`,`MB`,`GB`,`TB`,`PB`];function t(t,n=1){let r=0;for(;parseInt(t,10)>=1024&&r<e.length-1;)t/=1024,++r;return`${t.toFixed(n)}${e[r]}`}function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}function r(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function i(e,t,n){if(n<=t)return t;let r=n-t+1,i=t+(e-t)%r;return i<t&&(i=r+i),i===0?0:i}function a(e,t=2,n=`0`){if(e==null)return e;let r=``+e;return r.length>=t?r:Array(t-r.length+1).join(n)+r}export{a,i,n,t as r,r as t};
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.