!function($){"use strict";function PagePreloader(){jQuery("body").removeClass("no-js")}jQuery(window).load((function($){for(var animateButton=function(e){e.preventDefault,e.target.classList.remove("animate"),e.target.classList.add("animate"),setTimeout((function(){e.target.classList.remove("animate")}),700)},bubblyButtons=document.getElementsByClassName("bubbly-button"),i=0;i<bubblyButtons.length;i++)bubblyButtons[i].addEventListener("click",animateButton,!1)}))}(window.jQuery),jQuery(document).ready((function($){$(document).foundation(),$(".single-nav .nav-links").addClass("grid-x"),$(".single-nav .nav-links .nav-previous").addClass("cell large-6 small-12 float-left nav-left"),$(".single-nav .nav-links .nav-next").addClass("cell large-6 small-12 float-right nav-right"),$(".woocommerce-pagination ul.page-numbers").addClass("pagination"),$("#respond.comment-respond .form-submit input#submit").addClass("bubbly-button"),$(".head-bottom-area .dropdown.menu>li.opens-right").hover((function(){$(".head-bottom-area .dropdown.menu>li.opens-right>.is-dropdown-submenu>li.is-dropdown-submenu-item").addClass("animated fadeInUp")})),$(".head-bottom-area").on("sticky.zf.stuckto:top",(function(){$(this).addClass(" fadeInDown")})).on("sticky.zf.unstuckfrom:top",(function(){$(this).removeClass(" fadeInDown")})),$(".reveal.reveal-menu").on("open.zf.reveal",(function(){$(this).addClass(" fadeInDown")})).on("closed.zf.reveal",(function(){$(this).removeClass(" fadeInDown")}));var $window=$(window),didScroll,lastScrollTop=20,scrollAmount=10,navbarHeight=$(".mobile-menu .sticky.is-stuck").outerHeight();function hasScrolled(){"use strict";var sup=$(window).scrollTop();Math.abs(lastScrollTop-sup)<=10||(sup>lastScrollTop&&sup>navbarHeight?$(".mobile-menu .sticky.is-stuck").css({top:-$(window).outerHeight()}):sup+$(window).height()<$(document).height()&&$(".mobile-menu .sticky.is-stuck").css({top:0}),lastScrollTop=sup)}$(window).scroll((function(event){didScroll=!0})),setInterval((function(){didScroll&&(hasScrolled(),didScroll=!1)}),250),$(".gallery a[href$='.jpg'], .gallery a[href$='.png'], .gallery a[href$='.jpeg'], .gallery a[href$='.gif']").attr("rel","gallery").fancybox(),jQuery(window).bind("scroll",(function(){jQuery(this).scrollTop()>800?jQuery(".scroll_to_top").fadeIn("slow"):jQuery(".scroll_to_top").fadeOut("fast")})),jQuery(".scroll_to_top").click((function(){return jQuery("html, body").animate({scrollTop:0},"slow"),!1}))})),jQuery(document).ready((function($){var $wrap=$("[open-search]"),$close;$("[close-search]").on("click",(function(){$wrap.toggleClass("open")})),$("#btnStats").click($("#dvStats").css("display","block"))})),function($){"use strict";function slickSliderSetup(){$(".slick-slider").not(".slick-initialized").slick({slidesToShow:1,pauseOnHover:!1,autoplaySpeed:6e3,adaptiveHeight:!1,speed:600,autoplay:!0,prevArrow:'<div  class="newspaperss-slider-nav newspaperss-slider-prev"><i class="fa fa-angle-left" aria-hidden="true"></i></div>',nextArrow:'<div  class="newspaperss-slider-nav newspaperss-slider-next "><i class="fa fa-angle-right" aria-hidden="true"></i></div>',responsive:[{breakpoint:1023,settings:{adaptiveHeight:!1,slidesToShow:1,slidesToScroll:1}}]})}$(window).load(slickSliderSetup),$(document).ajaxComplete(slickSliderSetup)}(jQuery);