import{_ as s}from"./CopyButton.vue_vue_type_script_setup_true_lang.2b83107f.js";import{b as l,o as e,f as o,t as r,j as i,p as c,k as d,l as p,v as u}from"./entry.5c8819da.js";/* empty css                                                                  */import"./index.cb3c216d.js";const g={key:0,class:"filename absolute top-1 right-1 z-0 rounded-lg py-1 pr-2 font-mono text-xs leading-none tracking-tight text-gray-400 opacity-100"},m=l({__name:"ProseCode",props:{code:{type:String,default:""},language:{type:String,default:null},filename:{type:String,default:null},highlights:{type:Array,default:()=>[]}},setup(t){return(a,f)=>{const n=s;return e(),o("div",{class:p([[`highlight-${t.language}`],"prose-code group w-full text-gray-50"])},[t.filename?(e(),o("span",g,r(t.filename),1)):i("",!0),c(a.$slots,"default",{},void 0,!0),d(n,{content:t.code,class:"copy-button absolute right-1 bottom-1 scale-0 opacity-0 transition"},null,8,["content"])],2)}}}),x=u(m,[["__scopeId","data-v-754df0b9"]]);export{x as default};
