const a=document.getElementById("franchiseSidebar"),i=document.querySelector("[data-sidebar-toggle]");a&&i&&i.addEventListener("click",()=>{a.classList.toggle("-translate-x-full")});const u=()=>{document.querySelectorAll("[data-count-to]").forEach(t=>{const r=parseFloat(t.getAttribute("data-count-to")||"0"),s=800,c=performance.now(),e=0,n=d=>{const o=Math.min((d-c)/s,1),l=e+(r-e)*o;t.textContent=l.toLocaleString(void 0,{maximumFractionDigits:2}),o<1&&requestAnimationFrame(n)};requestAnimationFrame(n)})};u();
