import{u as d}from"./q-DElv2fU_.js";import{e as v}from"./q-DElv2fU_.js";const m=()=>{const[r,e,i]=d(),t=i.value;if(!t)return;const s=new IntersectionObserver(([a])=>{if(!a.isIntersecting)return;s.disconnect();const c=performance.now(),n=u=>{const o=Math.min((u-c)/(e.duration??2200),1),p=1-Math.pow(1-o,3);r.value=Math.round(p*e.end)+(e.suffix??""),o<1&&requestAnimationFrame(n)};requestAnimationFrame(n)},{threshold:.5});s.observe(t)};export{v as _hW,m as s_udSdPgAyeBs};