1import{Ft as Of,Gt as Qp,S as CE,Xr as ox,Zt as Re,k as E,kt as Nr,ot as Ji,s as A,tn as Se,zn as _}from"./chunk-C288_Zyh.js";function x(n){n||(n=E(Re));let e=new A(t=>{if(n.destroyed){t.next();return}return n.onDestroy(t.next.bind(t))});return t=>t.pipe(Of(e))}var v=class{source;destroyed=!1;destroyRef=E(Re);constructor(e){this.source=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}subscribe(e){if(this.destroyed)throw new _(953,!1);let t=this.source.pipe(x(this.destroyRef)).subscribe({next:r=>e(r)});return{unsubscribe:()=>t.unsubscribe()}}};function F(n,e){return new v(n)}function L(n,e){let t=e?.injector??E(Se),r=new Nr(1),a=Qp(()=>{let o;try{o=n()}catch(u){CE(()=>r.error(u));return}CE(()=>r.next(o))},{injector:t,manualCleanup:!0});return t.get(Re).onDestroy(()=>{a.destroy(),r.complete()}),r.asObservable()}function $(n,e){let r=!e?.manualCleanup?e?.injector?.get(Re)??E(Re):null,a=w(e?.equal),o;e?.requireSync?o=Ji({kind:0},{equal:a}):o=Ji({kind:1,value:e?.initialValue},{equal:a});let u,f=n.subscribe({next:s=>o.set({kind:1,value:s}),error:s=>{o.set({kind:2,error:s}),u?.()},complete:()=>{u?.()}});if(e?.requireSync&&o().kind===0)throw new _(601,!1);return u=r?.onDestroy(f.unsubscribe.bind(f)),ox(()=>{let s=o();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new _(601,!1)}},{equal:e?.equal})}function w(n=Object.is){return(e,t)=>e.kind===1&&t.kind===1&&n(e.value,t.value)}export{x as i,F as n,L as r,$ as t}; 2//# debugId=bf8bd2be-ecf3-51c6-8e3b-9426fb924a2b 3//# sourceMappingURL=chunk-9MJzsSkF.js.map
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.