PageSourceSearch

https://thegit.ai/_nuxt/4YwVPrgy.js

js thegit.ai collected 2026-10-05 13:49:56 UTC 1,448 bytes, 1 lines download raw bytes

1import{o as p,P as m,ap as h,O as v,i as d,f as u,F as _,a0 as b,h as g,e as x,U as f,J as k,a8 as y,$ as B}from"./SICkyL38.js";function O(l=[],c=3){const e=[],n=(o=[])=>{for(const s of o)s.depth<=c&&e.push(s),s.children?.length&&n(s.children)};return n(l),e}const w={key:0,"aria-label":"On this page",class:"text-[0.85rem]"},I={class:"border-l border-line"},C=["href"],D=p({__name:"DocsToc",props:{links:{}},setup(l){const c=l,e=x(()=>O(c.links)),n=B("");let o=null;const s=()=>{if(o?.disconnect(),e.value.length===0)return;const i=new Set;o=new IntersectionObserver(a=>{for(const r of a)r.isIntersecting?i.add(r.target.id):i.delete(r.target.id);const t=e.value.find(r=>i.has(r.id));t&&(n.value=t.id)},{rootMargin:"0px 0px -70% 0px",threshold:0});for(const a of e.value){const t=document.getElementById(a.id);t&&o.observe(t)}!n.value&&e.value[0]&&(n.value=e.value[0].id)};return m(s),h(e,()=>s()),v(()=>o?.disconnect()),(i,a)=>e.value.length?(f(),d("nav",w,[a[0]||(a[0]=u("div",{class:"mb-3 text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-dim"}," On this page ",-1)),u("ul",I,[(f(!0),d(_,null,b(e.value,t=>(f(),d("li",{key:t.id},[u("a",{href:`#${t.id}`,class:k(["-ml-px block border-l-2 py-1 transition-colors",[n.value===t.id?"border-cyan text-cyan":"border-transparent text-muted hover:text-fg",t.depth===3?"pl-6":"pl-3.5"]])},y(t.text),11,C)]))),128))])])):g("",!0)}}),V=Object.assign(D,{__name:"DocsToc"});export{V as _,O as f};

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.