PageSourceSearch

https://sk-mv.ru/local/templates/new/components/bitrix/news.list/pay_services/script.js

js sk-mv.ru collected 2026-10-02 19:36:46 UTC 1,921 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",()=>{const i=document.querySelectorAll(".services-pay__slider");i.length>0&&i.forEach(i=>new ServicesPay(i))});class ServicesPay{constructor(i){this.setting(i),this.init()}setting(i){this.swiper=i,this.prev=document.querySelector(".services-pay__arr-item--prev"),this.next=document.querySelector(".services-pay__arr-item--next"),this.slidesPerView=this.swiper.dataset.slidesPerView,this.slidesPerView=this.swiper.dataset.slidesPerView,this.setting={slidesPerView:"auto",grabCursor:!0,pagination:{el:this.pagination?this.pagination:"",type:"fraction"},navigation:{prevEl:this.prev?this.prev:"",nextEl:this.next?this.next:""}}}init(){new window.Swiper(this.swiper,this.setting)}resize(i){window.innerWidth>767?i.classList.contains("swiper-initialized")&&$(i)[0].swiper.destroy():i.classList.contains("swiper-initialized")||new window.Swiper(this.swiper,this.setting)}}document.addEventListener("DOMContentLoaded",()=>{const i=document.querySelectorAll(".services-banks__slider");i.length>0&&i.forEach(i=>new ServicesBanks(i))});class ServicesBanks{constructor(i){this.setting(i),this.init()}setting(i){this.swiper=i,this.prev=document.querySelector(".services-banks__arr-item--prev"),this.next=document.querySelector(".services-banks__arr-item--next"),this.slidesPerView=this.swiper.dataset.slidesPerView,this.slidesPerView=this.swiper.dataset.slidesPerView,this.setting={slidesPerView:"auto",grabCursor:!0,pagination:{el:this.pagination?this.pagination:"",type:"fraction"},navigation:{prevEl:this.prev?this.prev:"",nextEl:this.next?this.next:""}}}init(){window.innerWidth<=991&&new window.Swiper(this.swiper,this.setting),window.addEventListener("resize",()=>{this.resize(this.swiper)})}resize(i){window.innerWidth>767?i.classList.contains("swiper-initialized")&&$(i)[0].swiper.destroy():i.classList.contains("swiper-initialized")||new window.Swiper(this.swiper,this.setting)}}

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.