!function($){$(document).ready(function($){$(".search-icon").length>0&&$(".search-icon").on("click",function(e){e.preventDefault(),$(".search-box-wrap").slideToggle()}),$("#mobile-trigger").sidr({timing:"ease-in-out",speed:500,source:"#mob-menu",name:"sidr-main"}),!0===$("body").hasClass("enabled-sticky-primary-menu")&&$(window).on("scroll",function(){$(window).scrollTop()>$(".top-header").offset().top&&!$(".top-header").hasClass("fixed")?$(".top-header").addClass("fixed"):0===$(window).scrollTop()&&$(".top-header").removeClass("fixed")});var $scrollup_object=$("#btn-scrollup");$scrollup_object.length>0&&($(window).scroll(function(){$(this).scrollTop()>100?$scrollup_object.fadeIn():$scrollup_object.fadeOut()}),$scrollup_object.on("click",function(){return $("html, body").animate({scrollTop:0},600),!1}))})}(jQuery);