1document.addEventListener('DOMContentLoaded', async function () { 2 const { default: PhotoSwipeLightbox } = await import( 3 'https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.4/photoswipe-lightbox.esm.min.js' 4 ); 5 6 const lightbox = new PhotoSwipeLightbox({ 7 gallery: '[data-photoswipe]', 8 bgClickAction: 'close', 9 imageClickAction: 'close', 10 tapAction: 'close', 11 pswpModule: () => import('https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.4/photoswipe.esm.min.js') 12 }); 13 14 lightbox.init(); 15});
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.