1const n=["bif","byr","clp","djf","gnf","isk","jpy","kmf","krw","pyg","rwf","ugx","vnd","vuv","xaf","xag","xau","xba","xbb","xbc","xbd","xdr","xof","xpd","xpf","xpt","xts"],o=(a,r)=>t(r)?a:a/100,t=a=>{var r;return n.includes(null===(r=null==a?void 0:a.toLowerCase)||void 0===r?void 0:r.call(a))},d={},s=a=>{var r;const t=null!=a?a:"";if(!(t in d))try{d[t]=(null===(r=new Intl.NumberFormat(a).formatToParts(1.1).find((a=>"decimal"===a.type)))||void 0===r?void 0:r.value)||"."}catch(a){d[t]="."}return d[t]},i=()=>{var a,r;return(null===(a=null===window||void 0===window?void 0:window.scData)||void 0===a?void 0:a.locale)||(null===(r=null===document||void 0===document?void 0:document.documentElement)||void 0===r?void 0:r.lang)||(null===navigator||void 0===navigator?void 0:navigator.language)},r=a=>"."===s(a)?".":",",c=/^\d{1,3}([.,])\d{3}$/,a=(a,t)=>{if("string"!=typeof a)return NaN;const n=a.replace(/[Ù -Ù©]/g,(a=>String(a.charCodeAt(0)-1632))).replace(/[Û°-Û¹]/g,(a=>String(a.charCodeAt(0)-1776))).replace(/Ù«/g,",").replace(/^[\s\p{Sc}]+|[\s\p{Sc}]+$/gu,""),e=n.match(c);if(e&&e[1]===r(t))return NaN;if(!/^(\d+([.,]\d{0,2})?|[.,]\d{1,2}|\d{1,3}([.,Ù¬'\s]\d{3})+([.,]\d{0,2})?)$/u.test(n))return NaN;const d=n.replace(/[Ù¬'\s]/gu,""),o=d.replace(/[.,]/g,""),l=d.match(/[.,](\d{1,2})$/);return l?parseFloat(`${o.slice(0,-l[1].length)}.${l[1]}`):parseFloat(o)},u="[\\dÙ -Ù©Û°-Û¹]",v="[\\s\\p{Sc}]*",l=`${v}(${u}+([.,Ù«]${u}{0,2})?|[.,Ù«]${u}{1,2}|${u}{1,3}([.,Ù¬'\\s]${u}{3})+([.,Ù«]${u}{0,2})?)${v}`,e=(a,r)=>{if(isNaN(a))return"";const t=","===s(r)?",":".";return a.toString().replace(".",t)};export{l as P,e as f,i as g,t as i,o as m,a as p,n as z};
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.