PageSourceSearch

https://www.hotelslitteraires.fr/res/js/template/custom/listing-hotels/ui.js?q=1790256806717

js hotelslitteraires.fr collected 2026-09-24 18:47:01 UTC 826 bytes, 28 lines download raw bytes

1var initListingHotels = async function() {
2   if (typeof Swiper !== 'function') {
3    if (!document.querySelector("link[href='/res/js/swiper/swiper-bundle.css']")) {
4      lazy.loadScript('/res/js/swiper/swiper-bundle.css')
5    }
6    await lazy.loadScript('/res/js/swiper/swiper-bundle.min.js')
7  }
8  sliderArticle()
9}
10
11const sliderArticle = () => {
12  document.querySelectorAll('.slider-article').forEach(item => {
13    const parent = item.closest('.container-slider-mini');
14
15    if (window.matchMedia("(max-width: 1023px)").matches) {
16      new Swiper(item, {
17        speed: 400,
18        spaceBetween: 10,
19        slidesPerView: 1.2,
20        loop: false,
21        navigation: {
22            nextEl: parent.querySelector('.button-next'),
23            prevEl: parent.querySelector('.button-prev')
24        },
25      });
26    }
27  });
28}

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.