1function e(){document.querySelectorAll(".wp-block-accordion-panel").forEach(e=>{if(e.querySelector(":scope > .wp-block-accordion-panel__inner"))return;const t=document.createElement("div");for(t.className="wp-block-accordion-panel__inner";e.firstChild;)t.appendChild(e.firstChild);e.appendChild(t)}),document.querySelectorAll(".wp-block-accordion-item").forEach(e=>{const t=e.querySelector(":scope > .wp-block-accordion-panel"),n=null==t?void 0:t.querySelector(":scope > .wp-block-accordion-panel__inner");t&&n&&new MutationObserver(()=>function(e,t,n){const o=e.classList.contains("is-open");if(t.removeEventListener("transitionend",t._accordionEndHandler),o)return t.style.height=`${n.scrollHeight}px`,t._accordionEndHandler=e=>{"height"===e.propertyName&&(t.style.height="auto")},void t.addEventListener("transitionend",t._accordionEndHandler,{once:!0});"auto"!==t.style.height&&t.style.height||(t.style.height=`${n.scrollHeight}px`);requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.style.height="0px"})})}(e,t,n)).observe(e,{attributes:!0,attributeFilter:["class"]})})}export{e 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.