Spaces:
Sleeping
Sleeping
import{s as m,E as f}from"./index-86f4d6c3.js";const c=[];function g(s,l=f){let o;const e=new Set;function i(r){if(m(s,r)&&(s=r,o)){const a=!c.length;for(const t of e)t[1](),c.push(t,s);if(a){for(let t=0;t<c.length;t+=2)c[t][0](c[t+1]);c.length=0}}}function u(r){i(r(s))}function n(r,a=f){const t=[r,a];return e.add(t),e.size===1&&(o=l(i)||f),r(s),()=>{e.delete(t),e.size===0&&(o(),o=null)}}return{set:i,update:u,subscribe:n}}let b="",d="";function E(s){b=s.base,d=s.assets||b}const _="modulepreload",h={},p="/static/_app/immutable/",S=function(l,o){return!o||o.length===0?l():Promise.all(o.map(e=>{if(e=`${p}${e}`,e in h)return;h[e]=!0;const i=e.endsWith(".css"),u=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${u}`))return;const n=document.createElement("link");if(n.rel=i?"stylesheet":_,i||(n.as="script",n.crossOrigin=""),n.href=e,document.head.appendChild(n),i)return new Promise((r,a)=>{n.addEventListener("load",r),n.addEventListener("error",()=>a(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>l())};export{S as _,d as a,b,E as s,g as w}; | |