document.addEventListener("DOMContentLoaded",(()=>{var t;const e=window.matchMedia("(prefers-reduced-motion)");if(e&&e.matches)return;const n=new IntersectionObserver((t=>{t.forEach((t=>{const e=t.target;e&&t.isIntersecting&&(t=>{var e,n,r,a;if(t.innerHTML===t.getAttribute("data-end"))return;const o={start:parseFloat(null!==(e=t.getAttribute("data-start"))&&void 0!==e?e:"0"),end:parseFloat(null!==(n=t.getAttribute("data-end"))&&void 0!==n?n:"0"),delay:parseInt(null!==(r=t.getAttribute("data-delay"))&&void 0!==r?r:"0")||0,duration:parseInt(null!==(a=t.getAttribute("data-duration"))&&void 0!==a?a:"0")||1};let i=o.start;const d=Math.ceil(1e3*o.duration/(o.end-o.start));t.innerHTML=i.toString(),setTimeout((()=>{const e=setInterval((()=>{i+=(o.end-o.start)/Math.abs(o.end-o.start),t.innerHTML=i.toString(),e&&i===o.end&&clearInterval(e)}),d)}),1e3*o.delay)})(e)}))}),{rootMargin:null!==(t=window?.blockify?.animationOffset)&&void 0!==t?t:"0px 0px 50px 0px"});[...document.querySelectorAll(".is-style-counter")].forEach((t=>{t.innerHTML="0",n.observe(t)}))}));