import"./rolldown-runtime-BM3Ffeng.js";import{tt as e}from"./element-plus-vendor-BF9PNysW.js";import{O as t,P as n,Pt as r,et as i,ht as a,k as o}from"./vue-vendor-DMUmTARL.js";import{vt as s,yt as c}from"./index-kSn5YXd0.js";import{t as l}from"./v-md-preview-CEnslY0b.js";var u={__name:`CardReadme`,props:{displayMode:{type:String,required:!0}},setup(u){let d=c(),{storageKey:f}=s();return(s,c)=>{let p=l,m=e;return r(d).globalConfig.showDocument&&r(f)&&r(d).folderConfig.readmeDisplayMode===u.displayMode&&r(d).folderConfig.readmeText?(i(),t(m,{key:0},{default:a(()=>[n(p,{text:r(d).folderConfig.readmeText},null,8,[`text`])]),_:1})):o(``,!0)}}};export{u as default};