Skip to Content

JavaScript File

URL: https://ua-traveler.com/resources/js/script.min.js?v=1716754357
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Sat, 16 Mar 2024 15:13:46 GMT
Download Time: Less than a second
Cookies: None
Size: 1 KB
HTTP Headers:  6 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1const 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:"184px 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,150),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:"orangered",color:"white",s:"3em",y:"1em",x:"1em"}

7)}

8);