text: $(document).ready(function(){$(".popup-gallery").magnificPopup({delegate:"a",type:"image",tLoading:"Loading image #%curr%...",mainClass:"mfp-img-mobile",gallery:{enabled:true,navigateByImgClick:true,preload:[0,1]},image:{tError:'<a href="%url%">The image #%curr%</a> could not be loaded.',}});$(".filtr-container").filterizr({animationDuration:0.5,filter:"all",delay:0,delayMode:"progressive",easing:"ease-in-out",filterOutCss:{opacity:0,transform:"scale(0.5)"},filterInCss:{opacity:1,transform:"scale(1)"},layout:"sameSize",selector:".filtr-container",setupControls:true});$("a[data-page]").on("click",function(){var a=$(this).attr("data-page");$.smoothScroll({scrollTarget:"#"+a,offset:-50,});return false})});