PageSourceSearch

https://www.bigbentula.ru/site/common/frontend/build/assets/js/istoriya-shkoly-B6TFA9Ao.js

js bigbentula.ru collected 2026-10-07 15:54:25 UTC 1,569 bytes, 1 lines download raw bytes

1import"./index-ak2C_qek.js";/* empty css             *//* empty css                        */import{S as u,E as m,N as p}from"./effect-fade-DHET-pIx.js";document.addEventListener("DOMContentLoaded",()=>{const c=document.querySelectorAll(".history-item__photos-item img"),n=s=>{const t=s.querySelector("img");console.log("");const a=s.querySelector("source"),r="/site/common/frontend/build/assets/images/"+t.getAttribute("data-src");r&&t&&(t.src=r+".jpg",t.srcset=r+".jpg 1x, "+r+"_2x.jpg 2x",t.onload=function(){t.classList.remove("swiper-slide__preloader")},a&&(a.srcset=r+".webp 1x, "+r+"_2x.webp 2x"))},o={root:null,rootMargin:"0px"},e=new IntersectionObserver(s=>{s.forEach(t=>{var i;if(t.isIntersecting){const a=t.target,l=(i=a.closest(".history-item__photos-item").nextElementSibling)==null?void 0:i.querySelector("picture");l&&n(l),e.unobserve(a)}})},o);c.forEach(s=>{e.observe(s)})});const d=".js-school-history-slider",g=document.querySelectorAll(d);g.forEach(c=>{const n=c.querySelector(`${d}_navigation`),o=n?[...n.children]:[],e=new u(c.querySelector(`${d}_swiper`),{modules:[m,p],slidesPerView:"auto",spaceBetween:window.innerWidth<768?15:40,navigation:{prevEl:n?o[0]:!1,nextEl:n?o[1]:!1},loop:!1,freeMode:!0});window.addEventListener("resize",()=>{e.params.spaceBetween=window.innerWidth<768?15:40,e.update()});function s(){e.getTranslate()>=-1?e.slideReset():e.slidePrev()}function t(){e.getTranslate()<-e.wrapperEl.offsetWidth?e.slideTo(e.slides.length-1):e.slideNext()}o.length>0&&(o[0].addEventListener("click",s),o[1].addEventListener("click",t))});

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.