PageSourceSearch

https://codmunity.gg/assets/format-BpXCnz2a.js

js codmunity.gg collected 2026-09-24 11:59:31 UTC 967 bytes, 1 lines download raw bytes

1function e(e,t=`dd/MM/yyyy`){if(!e)return``;let n=new Date(e),r=String(n.getUTCDate()).padStart(2,`0`),i=String(n.getUTCMonth()+1).padStart(2,`0`),a=String(n.getUTCFullYear());return t===`dd/MM/yyyy`?`${r}/${i}/${a}`:`${a}-${i}-${r}`}function t(e){return typeof e!=`number`||Number.isNaN(e)?`0`:e.toLocaleString(`en-US`)}function n(e){return typeof e!=`number`||Number.isNaN(e)?null:`${e.toFixed(1).replace(/\.0$/,``)}%`}function r(e){return typeof e!=`number`||Number.isNaN(e)?null:e.toFixed(1)}function i(e){return typeof e!=`number`||Number.isNaN(e)?`0`:Math.trunc(e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,` `)}function a(e){if(typeof e!=`number`||Number.isNaN(e))return`0`;let t=Math.abs(e);return t<=999?String(e):`${Number((t/1e3).toFixed(1))*Math.sign(e)}k`}function o(e,t=2){return typeof e!=`number`||!Number.isFinite(e)?`-`:e.toLocaleString(`en-US`,{minimumFractionDigits:0,maximumFractionDigits:t})}export{t as a,a as i,o as n,i as o,r,n as s,e 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.