import{H as c,I as o,J as l,K as b,L as p,M as v,N as g,O as f,P as m}from"./Dyk1ealw.js";import{B as y}from"./Cj7wiP-Y.js";function T(_,d,h=!1){var n;o&&(n=m,l());var s=new y(_),u=h?b:0;function t(a,r){if(o){var e=p(n);if(a!==parseInt(e.substring(1))){var i=v();g(i),s.anchor=i,f(!1),s.ensure(a,r),f(!0);return}}s.ensure(a,r)}c(()=>{var a=!1;d((r,e=0)=>{a=!0,t(e,r)}),a||t(-1,null)},u)}export{T as i};
