PageSourceSearch

https://precoro.com/build/js/animation.DtIddZ8U.js

js precoro.com collected 2026-09-24 08:55:18 UTC 1,109 bytes, 2 lines download raw bytes

1const g=u=>{const c=u.getAttribute("data-stroke-dashoffset");u.setAttribute("stroke-dashoffset",c)},h=u=>{const c=[...u.querySelectorAll(".js-number-animation")],d=(t,a)=>{const i=t.getAttribute("data-unit")||"",o=t.getAttribute("data-unit-left")||"",e=Number(t.getAttribute("data-final-number")),n=performance.now();let r=0;const s=()=>{const b=performance.now()-n;r=Math.min(e,b/a*e),t.innerText=o+Math.round(r)+i,r<e?requestAnimationFrame(s):t.innerText=o+e+i};requestAnimationFrame(s)},l=(t,a)=>{const i=t.getAttribute("data-unit")||"x",o=t.getAttribute("data-unit-left")||"",e=parseFloat(t.getAttribute("data-final-number")),n=(e.toString().split(".")[1]||"").length,r=60,s=Math.round(a/1e3*r),b=e/s;let m=0,f=0;const A=setInterval(()=>{f+=b;const N=Math.round(f*Math.pow(10,n))/Math.pow(10,n);t.innerText=o+N.toFixed(n)+i,m++,m>=s&&(t.innerText=o+e.toFixed(n)+i,clearInterval(A))},1e3/r)};c.forEach(t=>{const a=Number(t.getAttribute("data-final-number"));Number.isInteger(a)?d(t,2e3):l(t,2e3)})};export{g as initCircleAnimation,h as initNumberAnimations};
2//# sourceMappingURL=animation.DtIddZ8U.js.map

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.