1import{t as n}from"./CBtcE7Xb.js";import{a8 as f,aa as w,a as y,X as i,v as u,ak as b,R as C,m as p,ag as a}from"./Bt_HK4X0.js";const k={slots:{root:"my-5",preview:"flex justify-center border border-muted relative p-4 rounded-md",code:"[&>div>pre]:rounded-t-none [&>div]:my-0"},variants:{code:{true:{preview:"border-b-0 rounded-b-none"}}}},g={__name:"ProseCodePreview",props:{class:{type:null,required:!1},ui:{type:null,required:!1}},setup(v){const s=v,t=f(),m=w(),o=y(()=>{var e,r;return n({extend:n(k),...((r=(e=m.uiPro)==null?void 0:e.prose)==null?void 0:r.codePreview)||{}})({code:!!t.code})});return(e,r)=>{var d,c,l;return u(),i("div",{class:a(o.value.root({class:[(d=s.ui)==null?void 0:d.root,s.class]}))},[b("div",{class:a(o.value.preview({class:[(c=s.ui)==null?void 0:c.preview]}))},[p(e.$slots,"default")],2),t.code?(u(),i("div",{key:0,class:a(o.value.code({class:[(l=s.ui)==null?void 0:l.code]}))},[p(e.$slots,"code")],2)):C("",!0)],2)}}};export{g 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.