(()=>{"use strict";var e={5311:e=>{e.exports=jQuery}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=o(5311),t=o.n(e);document.addEventListener("DOMContentLoaded",(function(){n.init()}));const n={init:function(){this.holder=document.querySelectorAll(".qi-block-faq.qodef-behavior--accordion"),this.holder.length&&[...this.holder].map((e=>{n.initItem(e)}))},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e)),e},initItem:function(e,o){if(!(e=n.getRealCurrentItem(e)))return;const i=t()(e);if(e.classList.contains("qodef-behavior--accordion")){let t=0;e.classList.contains("qodef-closed")&&(t=!1),e.classList.contains("qodef--init")&&o&&i.accordion("destroy"),n.initiate(e,t)}else e.classList.contains("qodef-behavior--none")&&e.querySelector(".ui-accordion-content")&&i.accordion("destroy")},initiate:function(e,o){t()(e).accordion({animate:"swing",collapsible:!0,active:o,icons:"",heightStyle:"content"}),e.classList.add("qodef--init")}}})()})();