Skip to content {overflow-y: visible !important;}
( 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 )
} )
} )
} )();
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();
}
});
}