1
const breakpoint=768,headerMain=document.querySelector("#root > header"),stickyMarker=document.createElement("div");stickyMarker.setAttribute("id","stickyMarker"),headerMain.before(stickyMarker);const scrollObserver=new IntersectionObserver(entries=>{headerMain.classList.toggle("sticked",!entries[0].isIntersecting)}
2
,{rootMargin:"56px 0px 0px 0px"}
3
);scrollObserver.observe(stickyMarker),window.addEventListener("load",e=>{setTimeout(()=>{document.querySelectorAll(".uni-slider-container").forEach(u=>{u.classList.remove("ph")}
4
),document.body.classList.remove("__loading")}
5
,100),document.body.addEventListener("click",e=>{"body"===e.target.localName&&(e.target.classList.contains("__zoom")&&document.querySelector('img[alt="img-zoom"]').click(),e.target.classList.remove("__menu","__zoom"))}
6
),"object"==typeof uniSlider&&uniSlider.init(),"object"==typeof imgZoom&&imgZoom.init(),"object"==typeof goTop&&goTop.init({bg:"rgba(0,150,50,1)",color:"white",s:"3em",y:"1em",x:"1em"}
7
)}
8
);