1function t(t){let e=String(t??"").replace(/,/g,".");e=e.replace(/[^\d.\-]/g,"");const n=e.startsWith("-")?"-":"";e=n+e.replace(/-/g,"");let l=e.split(".");return l.length>2&&(e=l[0]+"."+l.slice(1).join("")),l=e.split("."),2===l.length&&l[1].length>2&&(e=l[0]+"."+l[1].substring(0,2)),e}function e(t){return String(t??"").replace(".",",")}function n(n){return e(t(n))}function l(n){const l=parseFloat(t(n));return e((Number.isNaN(l)?0:l).toFixed(2))}function r(t,e){const n=t.value;if(e===n)return;const l=t.selectionStart??e.length;t.value=e;let r=0;for(;r<l&&r<e.length&&n[r]===e[r];)r++;const s=Math.max(r,l-(n.length-e.length)),a=Math.min(s,e.length);t.setSelectionRange(a,a)}export{t as a,l as f,n as s,e as t,r as w};
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.