!function(e){e(".porto-popup-menu").length&&(e(".porto-popup-menu .hamburguer-btn").on("click",(function(p){p.preventDefault();var o=e(this),n=e("html");e(".porto-popup-menu-spacer").length?e(".porto-popup-menu-spacer").remove():(e('
').insertBefore(o.parent()),e(".porto-popup-menu-spacer").width(o.parent().width())),o.parent().hasClass("opened")?(n.css("overflow",""),n.css("margin-right","")):(n.css("margin-right",theme.getScrollbarWidth()),n.css("overflow","hidden")),o.parent().toggleClass("opened"),theme.requestFrame((function(){o.toggleClass("active")}))})),e(".porto-popup-menu .main-menu").scrollbar(),e(".porto-popup-menu").on("click","li.menu-item-has-children > a",(function(p){p.preventDefault(),e(this).parent().siblings("li.menu-item-has-children.opened").removeClass("opened"),e(this).parent().toggleClass("opened")})))}(window.jQuery);