1import{e as p,i as _,Z as f,c as i,a as n,$ as l,n as r,A as o,F as k,r as u,N as m,o as a,_ as v}from"./DahhlOvY.js";import{useSelf as T}from"./CiKw1gKf.js";const h={class:"toc","aria-label":"Table of contents"},L={class:"toc-list"},C={class:"toc-item"},M=["innerHTML"],I=["href","onClick","innerHTML"],x=p({__name:"LazyArticleToc",props:{content:{},articleTitle:{}},setup(d){const c=d,t=T(m(c,"content"));return _(()=>{t.init()}),f(()=>{t.destroy()}),(y,s)=>(a(),i("nav",h,[s[1]||(s[1]=n("p",{class:"toc-title"},"In this article",-1)),n("ol",L,[n("li",C,[n("a",{href:"#article-top",class:r(["toc-link",{"toc-link-active":o(t).activeId==="article-top"}]),onClick:s[0]||(s[0]=l(e=>o(t).handleTopClick(),["prevent"])),innerHTML:c.articleTitle},null,10,M)]),(a(!0),i(k,null,u(o(t).tocItemList,e=>(a(),i("li",{key:e.id,class:"toc-item"},[n("a",{href:`#${e.id}`,class:r(["toc-link",{"toc-link-active":o(t).activeId===e.id}]),onClick:l(H=>o(t).handleLinkClick(e.id),["prevent"]),innerHTML:e.text},null,10,I)]))),128))])]))}}),z=v(x,[["__scopeId","data-v-3904248b"]]);export{z as default};
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.