import{k as i,o as y,v as T,Q as f,R as l,y as m,x as p,z as d,S as R,T as A}from"./DXA5xaTu.mjs";import{B as g}from"./DZ_x5TWR.mjs";function E(_,h,e){var s;i&&(s=A,y());var r=new g(_);T(()=>{var o;var a=(o=h())!=null?o:null;if(i){var c=l(s),u=c===R,v=a!==null;if(u!==v){var t=m();p(t),r.anchor=t,d(!1),r.ensure(a,a&&(n=>e(n,a))),d(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},f)}export{E as c};
