PageSourceSearch

https://app.gripho.io/assets/useNavigate-CixMQ6ao.js

js gripho.io collected 2026-10-02 01:57:45 UTC 897 bytes, 1 lines download raw bytes

1import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{O as t,U as n,l as r,n as i,t as a}from"./useStore-B8vcLN6K.js";import{n as o}from"./jsx-runtime-BhxXKzgZ.js";import{n as s,t as c}from"./matchContext-CjMobY_n.js";var l=e(o(),1),u={get(){},subscribe(){return{unsubscribe(){}}}};function d(e,t){let r=l.useRef();return i=>{let a=e?.select?e.select(i):i;return e?.structuralSharing??t.options.defaultStructuralSharing?r.current=n(r.current,a):a}}function f(e){let n=i(),r=l.useContext(e.from?c:s),o=e.from?n.stores.getRouteMatchStore(e.from):n.stores.matchStores.get(r),f=d(e,n),p=a(o??u,e=>e?f(e):u);if(p!==u)return p;(e.shouldThrow??!0)&&t()}function p(e){let t=i();return l.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function m(e){let t=i(),n=p(),a=l.useRef(null);return r(()=>{a.current!==e&&(n(e),a.current=e)},[t,e,n]),null}export{d as i,p as n,f as r,m 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.