(()=>{"use strict";(()=>{var e;const i=null===(e=window.jQuery)||void 0===e?void 0:e.call(window,".wp-block-filter-ai-faqs");(null==i?void 0:i.length)&&i.each(function(){const e=window.jQuery(this);e.find(".filter-ai-faq-item-answer").hide(),e.find("summary").on("click",function(i){i.preventDefault();const n=window.jQuery(this),t=n.closest("details");t.prop("open")?n.next(".filter-ai-faq-item-answer").slideUp(400,()=>{t.removeAttr("open")}):(e.find("details[open] summary").trigger("click"),t.prop("open",!0),n.next(".filter-ai-faq-item-answer").slideDown(400))})})})()})();