Showing 1–16 of 257 results

( function () { window.addEventListener( "two_css_loaded", function () { window.two_observer = new IntersectionObserver( items => { items.forEach( item => { if (item.isIntersecting) { if (item.target.dataset.settings) { let settings = JSON.parse(item.target.dataset.settings); let animation = settings.animation ? settings.animation : settings._animation ? settings._animation : "zoomIn"; let delay = settings.animation_delay ? settings.animation_delay : settings._animation_delay ? settings._animation_delay : 0; setTimeout(() => { item.target.className = item.target.className.replace("elementor-invisible", "") + " animated " + animation; }, delay); delete settings.animation; delete settings._animation; item.target.dataset.settings = JSON.stringify(settings); } else { item.target.className = item.target.className.replace("elementor-invisible", "") + " animated zoomIn"; } } } ) }, {} ); document.querySelectorAll( ".elementor-invisible" ).forEach( e => { window.two_observer.observe( e ) } ) } ) } )(); window["two_svg_placeholder"] = "data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20%20%22%3E%3C/svg%3E#}" if(typeof two_lazyLoadInstance === "undefined"){ window.two_lazyLoadInstance = new LazyLoad({ "callback_applied": function(element, instance){ let settings = instance._settings; var bgDataValue = element.getAttribute("data-" + settings.data_bg_multi); if (!bgDataValue) { return; } if(window.getComputedStyle(element).getPropertyValue("background-image") !== bgDataValue) { let style = element.getAttribute("style"); style += "background-image: " + bgDataValue + " !important;"; element.setAttribute("style", style); } } }); }else{ two_lazyLoadInstance.update(); } window.addEventListener("scroll", function() { if(two_lazyLoadInstance.toLoadCount>0){ two_lazyLoadInstance.update(); } }); /* * Updates lazy-load instance from every ajax request * When we use Ajax requests and get pictures back, we need to update lazy-load instance * */ if (window.jQuery) { jQuery.ajaxSetup({ complete: function() { two_lazyLoadInstance.update(); } }); }