1import{_ as m}from"./BguKeioe.js";import{_ as f}from"./BHZ6XAsi.js";import{V as u,by as p,H as n,as as t,b8 as o,Q as r,y,aY as g,B as b,aP as v,aH as s}from"./BABsv36g.js";const C=u({__name:"ProseCode",props:{code:{type:String,required:!0},icon:{type:String,default:void 0},language:{type:String,default:void 0},hideHeader:{type:Boolean,default:!1},filename:{type:String,default:void 0},highlights:{type:Array,default:void 0},meta:{type:String,default:void 0}},setup(e){const i={wrapper:"[&>pre]:!rounded-t-none [&>pre]:!my-0 my-5",header:"flex items-center gap-1.5 border border-gray-200 dark:border-gray-700 border-b-0 relative rounded-t-md px-4 py-3 not-prose",icon:{base:""},button:{base:"absolute top-2.5 right-2.5"},filename:"text-gray-700 dark:text-gray-200 text-sm/6"},{ui:a}=p("content.prose.code",void 0,i,void 0,!0);return(d,h)=>{const l=m,c=f;return s(),n("div",{class:t(["relative",!!e.filename&&o(a).wrapper])},[e.filename&&!e.hideHeader?(s(),n("div",{key:0,class:t(o(a).header)},[r(l,{icon:e.icon,filename:e.filename,class:t(o(a).icon.base)},null,8,["icon","filename","class"]),y("span",{class:t(o(a).filename)},g(e.filename),3)],2)):b("",!0),r(c,{code:e.code,class:t(o(a).button.base)},null,8,["code","class"]),v(d.$slots,"default")],2)}}});export{C as _};
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.