import{c as n,aX as c,aY as o,aW as h,aZ as l,b as p,e as u,f as s,a_ as d}from"./Dyw2fVvW.js";const g="img",f={__name:"ProseImg",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0}},setup(r){const t=r,i=n(()=>{var a;if((a=t.src)!=null&&a.startsWith("/")&&!t.src.startsWith("//")){const e=c(o(h().app.baseURL));if(e!=="/"&&!t.src.startsWith(e))return l(e,t.src)}return t.src});return(a,e)=>(u(),p(d(s(g)),{src:s(i),alt:t.alt,width:t.width,height:t.height},null,8,["src","alt","width","height"]))}};export{f as default};
