import{m as o,o as _,q as c,E as T,R as d,T as E,U as b,O as m,V as f}from"./DhlfkVbH.js";import{B as p}from"./CwfCwap7.js";function g(t,i,u=!1){_&&c();var e=new p(t),h=u?T:0;function n(a,r){if(_){const l=d(t)===E;if(a===l){var s=b();m(s),e.anchor=s,f(!1),e.ensure(a,r),f(!0);return}}e.ensure(a,r)}o(()=>{var a=!1;i((r,s=!0)=>{a=!0,n(s,r)}),a||n(!1,null)},h)}export{g as i};
