1import{Gy as e,Mx as t,Ox as n,U as r,V as i,W as a,ab as o,kx as s,rb as c,z as l}from"./index-Ch8WObnx.js";var u=t(s(),1),d=t(n(),1);function f(e){let t=d.unstable_scheduleCallback(4,e);return()=>d.unstable_cancelCallback(t)}var p=u.createContext(a({scheduleTask:f,defaultIdleTTL:400})),m=new WeakMap;function h(e,t){let n=m.get(e);n===void 0&&(n=new WeakMap,m.set(e,n));let r=n.get(t);if(r!==void 0)return r;let i={subscribe(n){return e.subscribe(t,n)},snapshot(){return e.get(t)},getServerSnapshot(){return l(t,e)}};return n.set(t,i),i}function g(e,t){let n=h(e,t);return u.useSyncExternalStore(n.subscribe,n.snapshot,n.getServerSnapshot)}var _=(e,t)=>{let n=u.useContext(p);return t?g(n,u.useMemo(()=>i(e,t),[e,t])):g(n,e)};function v(e,t){u.useEffect(()=>e.mount(t),[t,e])}function y(t,n,i){return i?.mode===`promise`||i?.mode===`promiseExit`?u.useCallback(a=>{t.set(n,a);let o=e(r(t,n,{suspendOnWaiting:!0}));return i.mode===`promise`?o.then(b):o},[t,n,i.mode]):u.useCallback(e=>{t.set(n,typeof e==`function`?e(t.get(n)):e)},[t,n])}var b=e=>{if(c(e))return e.value;throw o(e.cause)},x=(e,t)=>{let n=u.useContext(p);return v(n,e),y(n,e,t)},S=(e,t)=>{let n=u.useContext(p);return[g(n,e),y(n,e,t)]};export{x as n,_ as r,S as t};
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.