PageSourceSearch

https://docs.tresjs.org/_nuxt/CKDlMfAO.js

js tresjs.org collected 2026-09-25 19:46:38 UTC 923 bytes, 1 lines download raw bytes

1import{X as f,Y as m,b2 as g,e as i,o as l,v as r,x as s,c as n,a2 as c,a5 as p}from"#entry";const b={slots:{base:"text-lg text-highlighted font-bold mt-6 mb-2 scroll-mt-[calc(24px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(24px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary",link:""}},_=["id"],k=["href"],C={__name:"ProseH4",props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(u){const e=f("prose.h4",u),d=m(),{headings:a}=g().public?.mdc||{},t=n(()=>p({extend:p(b),...d.ui?.prose?.h4||{}})()),h=n(()=>e.id&&typeof a?.anchorLinks=="object"&&a.anchorLinks.h4);return(o,x)=>(l(),i("h4",{id:s(e).id,class:c(t.value.base({class:[s(e).ui?.base,s(e).class]}))},[s(e).id&&h.value?(l(),i("a",{key:0,href:`#${s(e).id}`,class:c(t.value.link({class:s(e).ui?.link}))},[r(o.$slots,"default")],10,k)):r(o.$slots,"default",{key:1})],10,_))}};export{C 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.