1import{bc as R,bd as x,be as Q,Z as _,a7 as g}from"./D0oouxPk.js";import{t as k,a as y}from"./PsLBqCRc.js";const a=new WeakMap;function j(u,n,f={}){const{mode:q="replace",route:i=R(),router:s=x(),transform:m=t=>t}=f;a.has(s)||a.set(s,new Map);const o=a.get(s);let r=i.query[u];k(()=>{r=void 0});let c;const l=Q((t,p)=>(c=p,{get(){return t(),m(r!==void 0?r:y(n))},set(e){r!==e&&(r=e===n||e===null?void 0:e,o.set(u,e===n||e===null?void 0:e),p(),g(()=>{if(o.size===0)return;const h=Object.fromEntries(o.entries());o.clear();const{params:b,query:d,hash:w}=i;s[y(q)]({params:b,query:{...d,...h},hash:w})}))}}));return _(()=>i.query[u],t=>{r=t,c()},{flush:"sync"}),l}export{j as u};
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.