PageSourceSearch

https://leninogorsk-rt.ru/build/assets/headerScript-acb01fb3.js

js leninogorsk-rt.ru collected 2026-10-02 17:27:17 UTC 2,043 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){const e=document.querySelector(".header__nav"),t=document.querySelector(".header__menu .prev"),o=document.querySelector(".header__menu .next");if(!e||!t||!o)return;function h(){e.scrollWidth>e.clientWidth?(e.classList.add("header__nav_scrollable"),l()):(e.classList.remove("header__nav_scrollable"),t.classList.remove("active"),o.classList.remove("active"))}function l(){const a=e.scrollLeft,v=e.scrollWidth-e.clientWidth;a>0?t.classList.add("active"):t.classList.remove("active"),a<v-1?o.classList.add("active"):o.classList.remove("active")}h(),e.addEventListener("scroll",l);let _;window.addEventListener("resize",function(){clearTimeout(_),_=setTimeout(function(){h(),l()},100)}),t.addEventListener("click",function(){e.scrollBy({left:-e.clientWidth*.7,behavior:"smooth"})}),o.addEventListener("click",function(){e.scrollBy({left:e.clientWidth*.7,behavior:"smooth"})})});document.querySelector(".checkbox__container_lang");const m=document.querySelectorAll("#checkbox_lang");document.querySelector(".lang-switcher__label");m&&m.forEach(e=>{e.addEventListener("click",()=>{e.checked?location.href="/lang/toggle/tt":location.href="/lang/toggle/ru"})});const f=document.querySelector(".search"),n="active-element",r="hidden",s=document.querySelector(".search__btn_open"),g=document.querySelector(".search__form-container"),L=document.querySelector(".header__year-img"),y=document.querySelector(".social__group"),i=document.querySelector(".search__close"),S=document.querySelector(".header__logo_full"),q=document.querySelector(".burger"),b=document.querySelector(".header__right"),k=document.querySelector(".header__menu"),c=(e,t,o)=>{e&&e.classList.toggle(t,o)},u=e=>{const t=window.innerWidth<619;c(f,n,e),c(g,n,e),c(s,r,e),c(L,r,e),c(y,n,e),c(k,r,e),t&&(c(S,r,e),c(q,r,e),c(b,n,e))};s==null||s.addEventListener("click",()=>{u(!0)});i==null||i.addEventListener("click",()=>{u(!1)});const d=document.querySelector(".root"),E=d==null?void 0:d.classList.contains("page-search");E&&u(!0);

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.