1var C=Object.defineProperty;var w=a=>{throw TypeError(a)};var D=(a,e,s)=>e in a?C(a,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[e]=s;var M=(a,e,s)=>D(a,typeof e!="symbol"?e+"":e,s),A=(a,e,s)=>e.has(a)||w("Cannot "+s);var t=(a,e,s)=>(A(a,e,"read from private field"),s?s.call(a):e.get(a)),l=(a,e,s)=>e.has(a)?w("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(a):e.set(a,s),F=(a,e,s,i)=>(A(a,e,"write to private field"),i?i.call(a,s):e.set(a,s),s);import{b3 as N,a9 as g,aT as R,a0 as T,O as x,a1 as S,au as k,at as B,aL as I,be as L,M as O,as as P,i as Z,aZ as j,bg as q,b9 as z,ba as E}from"./BlOiJWDc.js";var d,u,c,p,b,v,m;class G{constructor(e,s=!0){M(this,"anchor");l(this,d,new Map);l(this,u,new Map);l(this,c,new Map);l(this,p,new Set);l(this,b,!0);l(this,v,e=>{if(t(this,d).has(e)){var s=t(this,d).get(e),i=t(this,u).get(s);if(i)N(i),t(this,p).delete(s);else{var n=t(this,c).get(s);n&&(t(this,u).set(s,n.effect),t(this,c).delete(s),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),i=n.effect)}for(const[f,h]of t(this,d)){if(t(this,d).delete(f),f===e)break;const r=t(this,c).get(h);r&&(g(r.effect),t(this,c).delete(h))}for(const[f,h]of t(this,u)){if(f===s||t(this,p).has(f))continue;const r=()=>{if(Array.from(t(this,d).values()).includes(f)){var _=document.createDocumentFragment();I(h,_),_.append(T()),t(this,c).set(f,{effect:h,fragment:_})}else g(h);t(this,p).delete(f),t(this,u).delete(f)};t(this,b)||!i?(t(this,p).add(f),R(h,r,!1)):r()}}});l(this,m,e=>{t(this,d).delete(e);const s=Array.from(t(this,d).values());for(const[i,n]of t(this,c))s.includes(i)||(g(n.effect),t(this,c).delete(i))});this.anchor=e,F(this,b,s)}ensure(e,s){var i=S,n=L();if(s&&!t(this,u).has(e)&&!t(this,c).has(e))if(n){var f=document.createDocumentFragment(),h=T();f.append(h),t(this,c).set(e,{effect:x(()=>s(h)),fragment:f})}else t(this,u).set(e,x(()=>s(this.anchor)));if(t(this,d).set(i,e),n){for(const[r,o]of t(this,u))r===e?i.unskip_effect(o):i.skip_effect(o);for(const[r,o]of t(this,c))r===e?i.unskip_effect(o.effect):i.skip_effect(o.effect);i.oncommit(t(this,v)),i.ondiscard(t(this,m))}else k&&(this.anchor=B),t(this,v).call(this,i)}}d=new WeakMap,u=new WeakMap,c=new WeakMap,p=new WeakMap,b=new WeakMap,v=new WeakMap,m=new WeakMap;function K(a,e,s=!1){var i;k&&(i=B,P());var n=new G(a),f=s?Z:0;function h(r,o){if(k){var _=j(i);if(r!==parseInt(_.substring(1))){var y=q();z(y),n.anchor=y,E(!1),n.ensure(r,o),E(!0);return}}n.ensure(r,o)}O(()=>{var r=!1;e((o,_=0)=>{r=!0,h(_,o)}),r||h(-1,null)},f)}export{G as B,K as i};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.