!function(){function e(){document.querySelectorAll(".fb-accordion-item-wrapper").forEach(e=>{const t=e.querySelector(".fb-accordion-item-title-wrapper"),c=e.querySelector(".fb-accordion-content-wrapper"),o=t.classList.contains("active");c.style.maxHeight=o?`${c.scrollHeight}px`:"0px",t.hasAttribute("data-accordion-initialized")||(t.setAttribute("data-accordion-initialized","true"),t.addEventListener("click",function(o){o.stopPropagation();const i=t.classList.contains("active");(e.closest(".fb-accordion-content-wrapper")||document.body).querySelectorAll(".fb-accordion-item-wrapper").forEach(t=>{if(t!==e){const e=t.querySelector(".fb-accordion-item-title-wrapper"),c=t.querySelector(".fb-accordion-content-wrapper");e&&e.classList.remove("active"),c&&(c.classList.remove("active"),c.style.maxHeight="0px")}}),i?(t.classList.remove("active"),c.classList.remove("active"),c.style.maxHeight="0px"):(t.classList.add("active"),c.classList.add("active"),c.style.maxHeight=`${c.scrollHeight}px`)}))})}window.reinitAccordion=e,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e(),new MutationObserver(t=>{t.forEach(t=>{(t.addedNodes.length||t.removedNodes.length)&&e()})}).observe(document.body,{childList:!0,subtree:!0})}();