2 lines
395 B
JavaScript
2 lines
395 B
JavaScript
import{aH as o,r as u,Y as f,U as d,e as v,ay as l,aI as i,aJ as h,a6 as m}from"./entry.c81f2114.js";function U(t,a={}){const e=a.head||o();if(e)return e.ssr?e.push(t,a):p(e,t,a)}function p(t,a,e={}){const s=u(!1),n=u({});f(()=>{n.value=s.value?{}:h(a)});const r=t.push(n.value,e);return d(n,c=>{r.patch(c)}),m()&&(v(()=>{r.dispose()}),l(()=>{s.value=!0}),i(()=>{s.value=!1})),r}export{U as u};
|