PageSourceSearch

https://to-md.org/assets/navigation-DVitfQce.js

js to-md.org collected 2026-10-08 08:30:50 UTC 915 bytes, 1 lines download raw bytes

1import{Lg as e,Ug as t,zg as n}from"./messages-B7vy2gX4.js";import{G as r,H as i,K as a,V as o}from"./index-CI4CH93Q.js";var s=t(n(),1);function c(e){let t=r(),n=(0,s.useRef)(void 0);return i(t.stores.location,r=>{let i=e?.select?e.select(r):r;if(e?.structuralSharing??t.options.defaultStructuralSharing){let e=a(n.current,i);return n.current=e,e}return i})}var l=e();function u({href:e,locale:t,prefetch:n,...r}){return/^(https?:|mailto:|tel:|#)/.test(e)?(0,l.jsx)(`a`,{href:e,...r}):(0,l.jsx)(o,{to:e,...r})}function d(){return c().pathname}function f(e){let[t,n]=e.split(`#`),[r,i]=t.split(`?`);return{to:r||`/`,search:i?Object.fromEntries(new URLSearchParams(i)):void 0,hash:n}}function p(){let e=r();return{push:t=>{e.navigate(f(t))},replace:t=>{e.navigate({...f(t),replace:!0})},back:()=>e.history.back(),forward:()=>e.history.forward(),refresh:()=>e.invalidate(),prefetch:e=>{}}}export{d as n,p as r,u 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.