const LaniakeaModule=function(e){var t;t=function(){var t,o;if("IntersectionObserver"in window){t=document.querySelectorAll("img"),o=document.querySelectorAll(".lazyload-row");const e=new IntersectionObserver((t=>{t.forEach((function(t){if(t.isIntersecting){let o=t.target;o.dataset.src&&(o.src=o.dataset.src),o.classList.contains("lazyload-row")&&o.classList.remove("lazyload-row"),e.unobserve(o)}}))}));t.forEach((function(t){e.observe(t)})),o.forEach((function(t){e.observe(t)}))}const n=document.getElementById("wrapper"),c=(document.documentElement,document.querySelector("#main-header"),document.querySelector("#main-header #logo"),document.querySelector(".mobile-burger")),r=(document.querySelectorAll("#main-header .menu-item"),document.querySelectorAll(".mobile-burger .burger-line")),i=document.querySelector(".main-nav"),l=document.querySelector(".searchform input[type='submit']");function a(){r.forEach((e=>{e.classList.toggle("stroke-white")}))}e(".blog_widget #s").each((function(){e(this).attr("placeholder","Cerca")})),l&&(l.value=""),n.style.opacity=1,c.addEventListener("click",(function(e){document.body.classList.toggle("menu-mobile-open"),document.body.classList.contains("menu-mobile-open")?setTimeout(a,400):a(),i.classList.toggle("visible-mobile")})),e(document).on("click",".wpcf7-not-valid-tip,.wpcf7-response-output",(function(){e(this).fadeOut()}))},"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",t)}(jQuery);