jQuery(document).ready((function(e){const t=e(".betterdocs-faq-tab"),s=e(".betterdocs-faq-list-wrapper .betterdocs-faq-tab"),a=e(".betterdocs-faq-list-content");if(t.on("click",(function(){const s=e(this).data("term-id");t.removeClass("active"),a.hide().removeClass("active"),e(".betterdocs-faq-iconplus").show(),e(".betterdocs-faq-iconminus").hide(),e(this).addClass("active"),a.filter(`[data-term-id="${s}"]`).show().addClass("active"),e(this).find(".betterdocs-faq-iconplus").hide(),e(this).find(".betterdocs-faq-iconminus").show()})),t.length>0){t.first().trigger("click").addClass("active");const e=s.first();e.addClass("active"),e.find(".betterdocs-faq-iconplus").hide(),e.find(".betterdocs-faq-iconminus").show()}jQuery(document).on("click",".betterdocs-faq-post",(function(e){var t=jQuery(this);jQuery(".betterdocs-faq-group.active"),t.parent().hasClass("active")?(jQuery(jQuery(e?.currentTarget).parent()).removeClass("active"),jQuery(jQuery(e?.currentTarget).parent()).children(".betterdocs-faq-post").children("svg").toggle(),jQuery(jQuery(e?.currentTarget).parent()).children(".betterdocs-faq-main-content").slideUp()):(t.parent().addClass("active"),t.children("svg").toggle(),t.next().slideDown())}))}));