PageSourceSearch

https://www.menulen.com.tr/assets/main-GGTWWflS.js

js menulen.com.tr collected 2026-10-02 02:08:44 UTC 2,184 bytes, 1 lines download raw bytes

1import"./modulepreload-polyfill-B5Qt9EMX.js";/* empty css              */class l{constructor(){this.images=document.querySelectorAll(".screen-image"),this.currentIndex=0,this.totalImages=this.images.length,this.autoPlayInterval=null,this.init()}init(){this.startAutoPlay()}goToSlide(e){this.images[this.currentIndex].classList.remove("active"),this.currentIndex=e,this.images[this.currentIndex].classList.add("active")}nextSlide(){const e=(this.currentIndex+1)%this.totalImages;this.goToSlide(e)}prevSlide(){const e=(this.currentIndex-1+this.totalImages)%this.totalImages;this.goToSlide(e)}startAutoPlay(){this.autoPlayInterval=setInterval(()=>{this.nextSlide()},3e3)}stopAutoPlay(){this.autoPlayInterval&&(clearInterval(this.autoPlayInterval),this.autoPlayInterval=null)}}class a{constructor(){this.menuToggle=document.querySelector(".mobile-menu-toggle"),this.navMenu=document.querySelector(".nav-menu"),this.navLinks=document.querySelectorAll(".nav-menu a"),this.init()}init(){this.menuToggle.addEventListener("click",()=>this.toggleMenu()),this.navLinks.forEach(e=>{e.addEventListener("click",()=>this.closeMenu())})}toggleMenu(){this.navMenu.classList.toggle("active"),this.menuToggle.classList.toggle("active")}closeMenu(){this.navMenu.classList.remove("active"),this.menuToggle.classList.remove("active")}}class r{constructor(){this.init()}init(){document.querySelectorAll('a[href^="#"]').forEach(e=>{e.addEventListener("click",n=>{const s=e.getAttribute("href");if(s!=="#"&&s!==""){n.preventDefault();const i=document.querySelector(s);if(i){const o=i.offsetTop-80;window.scrollTo({top:o,behavior:"auto"})}}})})}}class c{constructor(){this.navbar=document.querySelector(".navbar"),this.init()}init(){window.addEventListener("scroll",()=>{window.pageYOffset>50?this.navbar.classList.add("scrolled"):this.navbar.classList.remove("scrolled")})}}function u(){const t=document.getElementById("preloader");t&&(t.classList.add("hidden"),setTimeout(()=>{t.remove()},500))}document.addEventListener("DOMContentLoaded",()=>{new l,new a,new r,new c,typeof lucide<"u"&&lucide.createIcons()});window.addEventListener("load",()=>{setTimeout(u,500),typeof lucide<"u"&&lucide.createIcons()});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.