1const a=(t,n)=>{t||(t=".count-up"),n||(n=2e3);var e=document.querySelectorAll(t);e.length&&(d(e),u(e,n),document.addEventListener("scroll",function(s){u(e,n)}))};function d(t){t.forEach(n=>{n.setAttribute("data-count-to",parseFloat(n.innerHTML)),n.innerHTML="0",n.classList.remove("counted")})}function l(t,n){t.classList.contains("counted")||(f(t,0,parseFloat(t.getAttribute("data-count-to")),n),t.classList.add("counted"),t.closest(".number-item").classList.add("counted"))}function f(t,n,e,s){let o=null;const i=r=>{o||(o=r);const c=Math.min((r-o)/s,1);Number.isInteger(e)?t.innerHTML=Math.floor(c*(e-n)+n):t.innerHTML=parseFloat(c*(e-n)+n).toFixed(1).toLocaleString().replace(".",","),c<1?window.requestAnimationFrame(i):window.cancelAnimationFrame(window.requestAnimationFrame(i))};window.requestAnimationFrame(i)}function u(t,n){t.forEach(e=>{m(e)&&l(e,n)})}function m(t){const n=t.getBoundingClientRect();return n.top>=0&&n.left>=0&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&n.right<=(window.innerWidth||document.documentElement.clientWidth)}const w=()=>{a()};export{w as init};
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.