1import{j as js}from"./index-2a8b2bb2.js";import"../theme-a2ff17e1.js";import"./utils-8a31a5c0.js";function updateGalleryCaption(e){var l=e.element.parentNode.querySelector(".gallery-caption"),e=e.selectedElement.querySelector(".gallery-item-caption");l.innerHTML=e?e.innerHTML:""}function setupGalleryCaptions(e){var l;e.element.querySelector(".gallery-item-caption")&&((l=document.createElement("div")).classList.add("gallery-caption"),e.element.parentNode.appendChild(l),e.on("select",()=>{updateGalleryCaption(e)}),updateGalleryCaption(e))}function toggleFullscreen(e,l){var t=l.element.parentNode;t.classList.contains("fullscreen")?(t.classList.remove("fullscreen"),e.classList.remove("is-active"),document.documentElement.style=null):(t.classList.add("fullscreen"),e.classList.add("is-active"),document.documentElement.style.overflow="hidden"),l.resize()}function initGalleries(e){e=e.querySelectorAll(".gallery-content");[].forEach.call(e,e=>{const l=new js(e,{cellSelector:".gallery-item",cellAlign:"left",setGallerySize:!1,arrowShape:"M32.7,50L59.5,0l7.7,4.2L42.6,50l24.6,45.8l-7.7,4.2L32.7,50z"}),t=(setupGalleryCaptions(l),e.parentNode.querySelector(".gallery-fullscreen-button"));t.addEventListener("click",()=>{toggleFullscreen(t,l)},!1)})}function init(){initGalleries(document.getElementById("site-main"))}var Gallery={init:init,initGalleries:initGalleries};export{Gallery as default}; 2//# sourceMappingURL=Gallery-2c73e2b6.js.map
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.