2 lines
397 B
JavaScript
2 lines
397 B
JavaScript
import{al as o,r as u,a2 as f,am as d,a7 as v,e as l,an as i,ao as h,ae as m}from"./entry.0126ff01.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?{}:d(a)});const r=t.push(n.value,e);return v(n,c=>{r.patch(c)}),m()&&(l(()=>{r.dispose()}),i(()=>{s.value=!0}),h(()=>{s.value=!1})),r}export{U as u};
|