text: !function(e){e(document).ready(function(){var n=!1,i=function(i){var s=e("#zn-nav-overlay"),t=e("#main-menu.mainnav--overlay > ul");if(t.length>0){var a=e("body"),o=(e("#page_wrapper"),e("#zn-res-trigger")),l=t.clone().attr({id:"zn-overlay-menu",class:"znNavOvr-menu nav-with-smooth-scroll"}),r={};r.duration=500,r.easing="easeInOutExpo";var v=function(){s.removeClass("is-active"),o.removeClass("is-active"),setTimeout(function(){a.css("overflow","")},700),l.find("ul.sub-menu.is-visible, .zn_mega_container.is-visible").slideUp("fast",function(){e(this).removeClass("is-visible"),e(this).closest(".znNavOvr-menuItemActive").removeClass("znNavOvr-menuItemActive")})},c=function(){s.addClass("is-active"),o.addClass("is-active"),a.css("overflow","hidden")},u=function(){s.hasClass("is-active")?v():c()},m=function(){l.appendTo(s.find(".znNavOvr-menuWrapper")).wrap('<div class="znNavOvr-menuWrapper-inner"></div>'),l.find("div.zn_mega_container.zn-megaMenuSmartArea").remove(),l.find(".menu-item-has-children > a").on("click",function(n){n.preventDefault();var i=e(this),s=i.parent(),t=i.siblings("ul.sub-menu, .zn_mega_container");$parentSiblings=i.parents(".menu-item-has-children").siblings(".menu-item-has-children").find("ul.sub-menu.is-visible, .zn_mega_container.is-visible"),parentSiblings_slideOptions=r,parentSiblings_slideOptions.complete=function(){e(this).removeClass("is-visible"),e(this).closest(".znNavOvr-menuItemActive").removeClass("znNavOvr-menuItemActive")},$parentSiblings.slideUp(parentSiblings_slideOptions),s.toggleClass("znNavOvr-menuItemActive"),siblings_slideOptions=r,siblings_slideOptions.complete=function(){e(this).toggleClass("is-visible")},t.slideToggle(siblings_slideOptions),l.removeClass("is-depth-0 is-depth-1 is-depth-2 is-depth-3").addClass("is-depth-"+i.parents(".znNavOvr-menuItemActive").length)}),l.find(".main-menu-link[href*='#']:not([href='#']):only-child").on("click",function(e){v()}),o.on("click",function(e){e.preventDefault(),u()}),e("#znNavOvr-close").on("click",function(e){e.preventDefault(),u()}),e(document).on("keyup",function(e){27==e.keyCode&&s.hasClass("is-active")&&v()})};e(window).on("debouncedresize",function(){e(window).width()<=ZnThemeAjax.res_menu_trigger?n||(m(),n=!0):v()}).trigger("debouncedresize")}};void 0!==e.ZnThemeJs&&e.extend(!0,e.ZnThemeJs.prototype.zinit,i(e(document))),e(window).on("ZnNewContent",function(e){i(e.content)})})}(jQuery);