PageSourceSearch

https://www.bad-camberg.de/:res/modules/common/common/lib/lightbox…/lightbox.system.js?fp=bb5f425202ec

js bad-camberg.de collected 2026-09-25 03:59:10 UTC 1,785 bytes, 3 lines download raw bytes

1System.register("lightbox",["jquery","lit","lit/decorators.js","roarr"],function(s,L){"use strict";var l,c,m,g,u;return{setters:[r=>{l=r.default},r=>{c=r.LitElement,m=r.html},r=>{g=r.customElement},r=>{u=r.Roarr}],execute:function(){s({createGroupedLightbox:f,createSingleLightboxes:x});function r(o){const e=[];for(const t of o)if(t instanceof HTMLElement)e.push(t);else if(Array.isArray(t))e.push(...r(t));else if(typeof t=="string")document.querySelectorAll(t).forEach(i=>{i instanceof HTMLElement&&e.push(i)});else if(t.get)e.push(...r(t.get()));else throw new Error(`Unsupported image item of type ${typeof t}: "${t}"`);return e}function h(o){return o.flatMap(e=>{var t;if(e.tagName==="A")return e?[e]:[];if(e.tagName==="IMG"){let n=e.parentElement;for(;n&&n.tagName!=="A";)n=n.parentElement;return n||(n=(t=common_common_lib_lightbox.initLightbox(l(e)).get(0))==null?void 0:t.parentElement),n?[n]:[]}})}function x(...o){let e=r(o);e=h(e),e.forEach(t=>{common_common_lib_lightbox.initFancybox(l(t))})}function f(...o){let e=r(o);e=h(e),common_common_lib_lightbox.initFancybox(l(e))}var E=Object.getOwnPropertyDescriptor,d=(o,e,t,n)=>{for(var i=n>1?void 0:n?E(e,t):e,a=o.length-1,p;a>=0;a--)(p=o[a])&&(i=p(i)||i);return i};const y=u.child({package:"common/common/lib/lightbox",namespace:"ionas-lightbox-group"});let b=s("LightboxGroupElement",class extends c{connectedCallback(){super.connectedCallback(),setTimeout(()=>{const o=Array.from(this.querySelectorAll("[data-lightbox-item]"));o.length>0&&(y.debug({items:o.map(e=>({href:e.getAttribute("href"),rel:e.getAttribute("rel")}))},"Initialize lightbox group with %d items",o.length),f(Array.from(o)))},0)}render(){return m`
2            <slot></slot>
3        `}});s("LightboxGroupElement",b=d([g("ionas-lightbox-group")],b))}}});

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.