1function l(o){const a=o.querySelectorAll(".agendaAccordion__item"),r=[];return a.forEach(function(t){const n=t.querySelector('[data-ref="trigger"]'),e=t.querySelector('[data-ref="panel"]');if(!n||!e)return;function s(){if(n.getAttribute("aria-expanded")==="true")e.style.height=e.scrollHeight+"px",e.offsetHeight,e.style.height="0",n.setAttribute("aria-expanded","false"),t.classList.remove("is-open"),e.addEventListener("transitionend",function i(){e.hidden=!0,e.style.height="",e.removeEventListener("transitionend",i)});else{e.hidden=!1;const i=e.scrollHeight;e.style.height="0",e.offsetHeight,e.style.height=i+"px",n.setAttribute("aria-expanded","true"),t.classList.add("is-open"),e.addEventListener("transitionend",function c(){e.style.height="",e.removeEventListener("transitionend",c)})}}n.addEventListener("click",s),r.push(function(){n.removeEventListener("click",s)})}),function(){r.forEach(function(t){t()})}}export{l as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.