'+js_local_vars.infinite_blog_text+"
")},errorCallback:function(){jQuery(a).hasClass("isotope")&&jQuery(a).isotope()}},function(b){if(jQuery(a).hasClass("fusion-blog-layout-timeline")&&(jQuery(b).first(".fusion-timeline-date").text()==e&&jQuery(b).first(".fusion-timeline-date").remove(),e=jQuery(a).find(".fusion-timeline-date").last().text(),jQuery(a).find(".fusion-timeline-date").each(function(){jQuery(this).next(".fusion-collapse-month").append(jQuery(this).nextUntil(".fusion-timeline-date",".fusion-post-timeline"))}),f||setTimeout(function(){jQuery(a).find(".fusion-collapse-month").hide()},200),setTimeout(function(){jQuery(a).find(".fusion-collapse-month").each(function(){jQuery(this).children().length||jQuery(this).remove()})},10),jQuery(a).find(".fusion-timeline-date").unbind("click"),jQuery(a).find(".fusion-timeline-date").click(function(){jQuery(this).next(".fusion-collapse-month").slideToggle()})),jQuery(a).hasClass("fusion-blog-layout-grid")&&jQuery().isotope){jQuery(b).hide();var c=2;for(i=1;i<7;i++)jQuery(a).hasClass("fusion-blog-layout-grid-"+i)&&(c=i);var d=Math.floor(100/c*100)/100+"%";jQuery(a).find(".post").css("width",d),imagesLoaded(b,function(){jQuery(b).fadeIn(),jQuery(a).hasClass("isotope")&&(jQuery(a).isotope("appended",jQuery(b)),jQuery(a).isotope()),jQuery('[data-spy="scroll"]').each(function(){jQuery(this).scrollspy("refresh")})})}jQuery(a).find(".flexslider").flexslider({slideshow:Boolean(Number(js_local_vars.slideshow_autoplay)),slideshowSpeed:js_local_vars.slideshow_speed,video:!0,pauseOnHover:!1,useCSS:!1,prevText:"",nextText:"",start:function(a){a.removeClass("fusion-flexslider-loading"),"undefined"!=typeof a.slides&&0!==a.slides.eq(a.currentSlide).find("iframe").length?(Number(js_local_vars.pagination_video_slide)?jQuery(a).find(".flex-control-nav").css("bottom","-20px"):jQuery(a).find(".flex-control-nav").hide(),Number(js_local_vars.status_yt)||window.yt_vid_exists!==!0||YT_ready(function(){new YT.Player(a.slides.eq(a.currentSlide).find("iframe").attr("id"),{events:{onStateChange:onPlayerStateChange(a.slides.eq(a.currentSlide).find("iframe").attr("id"),a)}})})):Number(js_local_vars.pagination_video_slide)?jQuery(a).find(".flex-control-nav").css("bottom","0px"):jQuery(a).find(".flex-control-nav").show(),jQuery.waypoints("viewportHeight"),jQuery.waypoints("refresh")},before:function(a){0!==a.slides.eq(a.currentSlide).find("iframe").length&&(Number(js_local_vars.status_vimeo)||$f(a.slides.eq(a.currentSlide).find("iframe")[0]).api("pause"),Number(js_local_vars.status_yt)||window.yt_vid_exists!==!0||YT_ready(function(){new YT.Player(a.slides.eq(a.currentSlide).find("iframe").attr("id"),{events:{onStateChange:onPlayerStateChange(a.slides.eq(a.currentSlide).find("iframe").attr("id"),a)
}})}))},after:function(a){0!==a.slides.eq(a.currentSlide).find("iframe").length?(Number(js_local_vars.pagination_video_slide)?jQuery(a).find(".flex-control-nav").css("bottom","-20px"):jQuery(a).find(".flex-control-nav").hide(),Number(js_local_vars.status_yt)||window.yt_vid_exists!==!0||YT_ready(function(){new YT.Player(a.slides.eq(a.currentSlide).find("iframe").attr("id"),{events:{onStateChange:onPlayerStateChange(a.slides.eq(a.currentSlide).find("iframe").attr("id"),a)}})})):Number(js_local_vars.pagination_video_slide)?jQuery(a).find(".flex-control-nav").css("bottom","0px"):jQuery(a).find(".flex-control-nav").show(),jQuery('[data-spy="scroll"]').each(function(){jQuery(this).scrollspy("refresh")})}}),jQuery(b).each(function(){jQuery(this).find(".full-video, .video-shortcode, .wooslider .slide-content").fitVids()}),$fusion_posts_container=a,jQuery(a).hasClass("fusion-blog-layout-timeline")&&($fusion_posts_container=jQuery(a).parents(".fusion-posts-container-infinite")),$current_page=$fusion_posts_container.find(".current").html(),$fusion_posts_container.find(".current").remove(),$fusion_posts_container.data("pages")==$current_page&&($fusion_posts_container.parent().find(".fusion-loading-container").hide(),$fusion_posts_container.parent().find(".fusion-load-more-button").hide())}),(jQuery(a).hasClass("fusion-blog-archive")&&"load_more_button"==js_local_vars.blog_pagination_type||jQuery(a).hasClass("fusion-posts-container-load-more")||jQuery(a).hasClass("fusion-blog-layout-timeline")&&jQuery(a).parent().hasClass("fusion-posts-container-load-more"))&&(jQuery(a).infinitescroll("unbind"),jQuery(a).hasClass("fusion-blog-archive")?$load_more_button=jQuery(a).parent().find(".fusion-load-more-button"):$load_more_button=jQuery(a).parents(".fusion-blog-archive").find(".fusion-load-more-button"),$load_more_button.on("click",function(b){b.preventDefault(),jQuery(a).infinitescroll("retrieve"),jQuery(a).hasClass("fusion-blog-layout-grid")&&jQuery(a).isotope()})),$fusion_posts_container=a,jQuery(a).hasClass("fusion-blog-layout-timeline")&&($fusion_posts_container=jQuery(a).parents(".fusion-posts-container-infinite")),"1"==$fusion_posts_container.data("pages")&&($fusion_posts_container.parent().find(".fusion-loading-container").hide(),$fusion_posts_container.parent().find(".fusion-load-more-button").hide())}),("Infinite Scroll"==js_local_vars.portfolio_pagination_type||"load_more_button"==js_local_vars.portfolio_pagination_type)&&($infinte_scroll_container=jQuery(".fusion-portfolio:not(.fusion-recent-works) .fusion-portfolio-wrapper"),$infinte_scroll_container.infinitescroll({navSelector:".pagination",nextSelector:".pagination-next",itemSelector:"div.pagination .current, .fusion-portfolio-post",loading:{finishedMsg:js_local_vars.infinite_finished_msg,msg:jQuery('
'+js_local_vars.infinite_blog_text+"
")},errorCallback:function(){jQuery(".fusion-portfolio .fusion-portfolio-wrapper").isotope()}},function(a){if(jQuery().isotope){var b=jQuery(".fusion-filters ").find(".fusion-filter"),a=jQuery(a);a.hide(),imagesLoaded(a,function(){var c=jQuery(a).find(".fusion-placeholder-image");c.parents(".fusion-portfolio-content-wrapper, .fusion-image-wrapper").animate({opacity:1});var d=jQuery(a).find(".fusion-video");if(d.each(function(){jQuery(this).animate({opacity:1}),jQuery(this).parents(".fusion-portfolio-content-wrapper").animate({opacity:1})}),d.fitVids(),window.$portfolio_images_index=0,jQuery(a).imagesLoaded().progress(function(a,b){jQuery(b.img).parents(".fusion-portfolio-content-wrapper").length>=1?jQuery(b.img,c).parents(".fusion-portfolio-content-wrapper").delay(100*window.$portfolio_images_index).animate({opacity:1}):jQuery(b.img,c).parents(".fusion-image-wrapper").delay(100*window.$portfolio_images_index).animate({opacity:1}),window.$portfolio_images_index++}),b&&b.each(function(){var b=jQuery(this),c=b.children("a").data("filter");a&&a.each(function(){if($post=jQuery(this),$post.hasClass(c.substr(1))&&b.hasClass("fusion-hidden"))if(Modernizr.mq("only screen and (max-width: 800px)"))b.fadeIn(400,function(){b.removeClass("fusion-hidden")});else{var a=b.css("width"),d=b.css("margin-right");b.css("width",0),b.css("margin-right",0),b.removeClass("fusion-hidden"),b.animate({width:a,"margin-right":d},400,function(){b.removeAttr("style")})}})}),jQuery(".fusion-filters").length){var e=jQuery(".fusion-portfolio .fusion-filters").find(".fusion-filter.fusion-active a"),f=e.attr("data-filter").substr(1);f.length?(a.each(function(){var a=jQuery(this),b=a.find(".fusion-rollover-gallery").data("rel");a.hasClass(f)&&(a.fadeIn(),b&&a.find(".fusion-rollover-gallery").attr("data-rel",b.replace("gallery",f)))}),"created"!=e.data("lightbox")&&($il_instances.push(jQuery('[data-rel^="iLightbox['+f+']"]').iLightBox($avada_lightbox.prepare_options("iLightbox["+f+"]"))),e.data("lightbox","created")),$avada_lightbox.refresh_lightbox()):a.fadeIn()}else a.fadeIn();$infinte_scroll_container.isotope("appended",a),a.each(function(){jQuery(this).find(".full-video, .video-shortcode, .wooslider .slide-content").fitVids()}),jQuery('[data-spy="scroll"]').each(function(){jQuery(this).scrollspy("refresh")}),$current_page=$infinte_scroll_container.find(".current").html(),$infinte_scroll_container.find(".current").remove(),$infinte_scroll_container.data("pages")==$current_page&&($infinte_scroll_container.parent().find(".fusion-loading-container").hide(),$infinte_scroll_container.parent().find(".fusion-load-more-button").hide())})}}),"1"==$infinte_scroll_container.data("pages")&&($infinte_scroll_container.parent().find(".fusion-loading-container").hide(),$infinte_scroll_container.parent().find(".fusion-load-more-button").hide()),"load_more_button"==js_local_vars.portfolio_pagination_type&&($infinte_scroll_container.infinitescroll("unbind"),jQuery(".fusion-portfolio").find(".fusion-load-more-button").on("click",function(a){a.preventDefault(),$infinte_scroll_container.infinitescroll("retrieve"),$infinte_scroll_container.isotope()})))}),location.hash){window.scrollTo(0,0),setTimeout(function(){window.scrollTo(0,0)},1);var $one_page_link=jQuery('
');jQuery("body").append($one_page_link),jQuery(window).load(function(){setTimeout(function(){$one_page_link.trigger("click")},100)})}