PageSourceSearch

https://rptu.de/_assets/9b80d86a98af3ecc38aabe297d2c3695/JavaScript/Dist/bootstrap.lightbox.min.js?1755690722

js rptu.de collected 2026-09-24 08:58:35 UTC 1,763 bytes, 1 lines download raw bytes

1window.addEventListener("DOMContentLoaded",function(){Array.from(document.querySelectorAll("a.lightbox")).forEach(function(i){i.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation();var t=i.getAttribute("rel"),e=Array.from(document.querySelectorAll("a.lightbox[rel="+t+"]")).indexOf(i);{var r=t;let o=[];if(Array.from(document.querySelectorAll("a.lightbox[rel="+r+"]")).forEach(function(t){let e=null,i=("lightboxTitle"in t.dataset&&""!==t.dataset.lightboxTitle&&(e=t.dataset.lightboxTitle),null),l=("lightboxAlt"in t.dataset&&""!==t.dataset.lightboxAlt&&(i=t.dataset.lightboxAlt),null),a=("lightboxCaption"in t.dataset&&""!==t.dataset.lightboxCaption&&(l=(l=t.dataset.lightboxCaption).replace(/(?:\r\n|\r|\n)/g,"<br />")),null);t.querySelector("img")?a=t.querySelector("img"):t.parentElement.querySelector("img")&&(a=t.parentElement.querySelector("img"));t={id:Array.from(document.querySelectorAll("a.lightbox[rel="+r+"]")).indexOf(t),src:t.getAttribute("href"),width:t.dataset.lightboxWidth,height:t.dataset.lightboxHeight,title:e,alt:i,caption:l,element:t,imgElement:a};o.push(t)}),0<o.length){let t=new PhotoSwipeLightbox({dataSource:o,spacing:.12,bgOpacity:1,showHideAnimationType:"zoom",pswpModule:PhotoSwipe});t.addFilter("thumbEl",(t,e,i)=>e.imgElement||t),new PhotoSwipeDynamicCaption(t,{type:"auto",captionContent:t=>{t=t.data;let e="";return t.title&&""!==t.title&&(e+='<div class="pswp__dynamic-caption__title">'+t.title+"</div>"),t.caption&&""!==t.caption&&(e+='<div class="pswp__dynamic-caption__subtitle">'+t.caption+"</div>"),e}}),t.on("firstUpdate",()=>{t.pswp.element.setAttribute("aria-modal",!0),t.pswp.scrollWrap.ariaLabel="carousel",t.pswp.scrollWrap.removeAttribute("aria-roledescription")}),t.init(),t.loadAndOpen(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.