PageSourceSearch

https://www.sylt.de/dist/js/ndspatterns/media-gallery/media-gallery-variant2-JWdpUr5g.js

js sylt.de collected 2026-10-02 07:15:32 UTC 1,621 bytes, 1 lines download raw bytes

1import{n as e}from"../../debounce-B316v5qs.js";import{lazyImageLoader as t}from"../../ndsbase/lazyimages-OPvpAfRN.js";import{SliderSession as n}from"../../ndsbase/slider-session-CXdrM5uv.js";import{t as r}from"../../splide.esm-C1--57YL.js";var i=e=>{let n=e.querySelectorAll(`.js-lazyimg`);Array.prototype.slice.call(n).forEach(e=>{t.loadContentImage(e)})},a=e=>{let n=e.querySelectorAll(`.js-lazybg`);Array.prototype.slice.call(n).forEach(e=>{t.loadBgImage(e)})},o=t=>{let i=parseInt(getComputedStyle(t).getPropertyValue(`--media-gallery-var2-per-page`)),a=parseInt(getComputedStyle(t).getPropertyValue(`--media-gallery-var2-start`)),o=t.querySelector(`ul.splide__list`).childElementCount,s={perPage:i,perMove:1,autoWidth:!0,focus:`center`,start:a,type:`loop`,updateOnMove:`true`,pagination:``,slideFocus:!1,i18n:JSON.parse(t.querySelector(`.js-splide-i18n`).textContent)??{}};o<=s.perPage&&(s.clones=o*-1);let c=new r(t,s);c.on(`mounted`,function(){window.dispatchEvent(new Event(`resize`))}),c.on(`resize`,e.debounce(()=>{let e=getComputedStyle(t),n=parseInt(e.getPropertyValue(`--media-gallery-var2-per-page`)),r=parseInt(e.getPropertyValue(`--media-gallery-var2-start`)),i=parseInt(c.length)>n;c.options={perPage:n,start:r,arrows:i,drag:i}},100));let l=new n(t,`.js-media-gallery-splide`);c.on(`moved`,e=>{l.storeIndex(e)}),c.on(`mounted`,()=>{let e=l.getIndex();e&&c.go(e)}),c.mount()},s=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(s.unobserve(e.target),i(e.target),a(e.target))})});Array.prototype.slice.call(document.querySelectorAll(`.js-media-gallery-splide`)).forEach(e=>{s.observe(e),o(e)});

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.