(()=>{"use strict";window.addEventListener("load",(function(){var e=jQuery;let t=e(".betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-single-category-wrapper.active"),s=e(".betterdocs-sidebar-content .betterdocs-category-grid-wrapper .betterdocs-single-category-wrapper .betterdocs-category-header"),o=e(".betterdocs-nested-category-title");e(".betterdocs-nested-category-title a").on("click",(function(e){e.preventDefault()})),t.addClass("show").find(".betterdocs-body").css("display","block"),t.siblings().find(".betterdocs-body").css("display","none"),s.on("click",(function(e){e.preventDefault();let t=jQuery(e.target).closest(".betterdocs-single-category-wrapper");t.find(".betterdocs-body").slideToggle(),t.addClass("active").toggleClass("show").siblings().removeClass("active").find(".betterdocs-body").slideUp()})),o.on("click",(function(t){t.preventDefault(),e(this).children(".toggle-arrow").toggle(),e(this).next(".betterdocs-nested-category-list").hasClass("active")?e(this).next(".betterdocs-nested-category-list").slideUp("fast","swing",(function(){e(this).toggleClass("active")})):e(this).next(".betterdocs-nested-category-list").slideDown("fast","swing",(function(){e(this).toggleClass("active")}))}))}))})();