1const w="modulepreload",y=function(i){return"/"+i},m={},E=function(t,r,c){let d=Promise.resolve();if(r&&r.length>0){let s=function(e){return Promise.all(e.map(a=>Promise.resolve(a).then(l=>({status:"fulfilled",value:l}),l=>({status:"rejected",reason:l}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),h=n?.nonce||n?.getAttribute("nonce");d=s(r.map(e=>{if(e=y(e),e in m)return;m[e]=!0;const a=e.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${l}`))return;const o=document.createElement("link");if(o.rel=a?"stylesheet":w,a||(o.as="script"),o.crossOrigin="",o.href=e,h&&o.setAttribute("nonce",h),document.head.appendChild(o),a)return new Promise((f,p)=>{o.addEventListener("load",f),o.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${e}`)))})}))}function u(s){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=s,window.dispatchEvent(n),!n.defaultPrevented)throw s}return d.then(s=>{for(const n of s||[])n.status==="rejected"&&u(n.reason);return t().catch(u)})};class v extends HTMLElement{#e=null;#t=null;constructor(){super();const t=this.dataset.modalId;this.#e=this.querySelector(`#${t}`),this.#t=this.querySelector(".header-open-search-modal")}isModalOpen(){return this.#e?.open}openModal(){this.#e?.showModal()}closeModal(){this.#e?.close()}connectedCallback(){this.#t?.addEventListener("click",()=>{this.openModal()}),window.addEventListener("keydown",t=>{(t.metaKey===!0||t.ctrlKey===!0)&&t.key==="k"&&(this.isModalOpen()?this.closeModal():this.openModal(),t.preventDefault())}),window.addEventListener("DOMContentLoaded",async()=>{(window.requestIdleCallback||(r=>setTimeout(r,1)))(async()=>{const{PagefindUI:r}=await E(async()=>{const{PagefindUI:c}=await import("./ui-core.DzewheG5.js");return{PagefindUI:c}},[]);new r({element:"#pagefind-ui",baseUrl:"/",bundlePath:"/".replace(/\/$/,"")+"/pagefind/",showImages:!1})})})}}customElements.define("search-container",v);export{E as _};
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.