document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".wp-block-zolo-social-count .counter-value").forEach(e=>{const t=parseInt(e.textContent.replace(/[^0-9.]/g,""),10);!function(e,t,n){let u=null;window.requestAnimationFrame(function t(o){u||(u=o);const a=Math.min((o-u)/3e3,1),i=Math.ceil(a*(n-0)+0);e.textContent=function(e){if((e=parseFloat(e.toString().replace(/[^0-9.]/g,"")))<=999)return Math.ceil(e);const t=[{value:1e3,suffix:"K"},{value:1e6,suffix:"M"},{value:1e9,suffix:"B"},{value:1e12,suffix:"T"},{value:1e15,suffix:"P"},{value:1e18,suffix:"E"}],n=t.find((n,u)=>e>=n.value&&(u===t.length-1||e<t[u+1].value));return(e/n.value).toFixed(2).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n.suffix}(i),a<1&&window.requestAnimationFrame(t)})}(e,0,t)})});