!function(){function e(){document.querySelectorAll(".fb-progressbar-item").forEach(e=>{if(e.hasAttribute("data-progressbar-init"))return;e.setAttribute("data-progressbar-init","true");const t=parseInt(e.dataset.progress),r=e.dataset.progressbarType.toLowerCase(),s=e.querySelector(".fb-progressbar-line"),o=e.querySelectorAll(".fb-progressbar-number");"vertical"===r?(s.style.height="0%",s.style.bottom="0",s.style.top="auto"):s.style.width="0%";let n=!1;const a=new IntersectionObserver(i=>{i.forEach(i=>{i.isIntersecting&&(function(){if(n)return;n=!0;let e=0;const a=setInterval(()=>{e>=t?clearInterval(a):(e++,"vertical"===r?(s.style.height=e+"%",s.style.width="100%"):(s.style.width=e+"%",s.style.height="100%"),o.forEach(t=>t.textContent=e+"%"))},15)}(),a.unobserve(e))})},{threshold:.5});a.observe(e)})}window.reinitProgressBars=e,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e(),new MutationObserver(t=>{for(const r of t)if(r.addedNodes.length||r.removedNodes.length){e();break}}).observe(document.body,{childList:!0,subtree:!0})}();