<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">const slidersImages = document.querySelectorAll("[data-accom-listing]");
if (slidersImages.length) {
    for (const slider of slidersImages) {
        const flickity = new Flickity(slider, {
            // options
            contain: true,
            prevNextButtons: true,
            pageDots: false,
            imagesLoaded: true,
            wrapAround: true,
        });
        flickity.on('ready', () =&gt; {
            flickity.resize(); // Resize the carousel after loading
            flickity.reposition(); // Position the slides
        });
    }
}
</pre></body></html>