import{d as i,c as o,aZ as c,a_ as h,aY as m,a$ as p,b as g,e as l,f as a,b0 as u}from"./DrjE4E2T.js";const d="img",f=i({__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,n=o(()=>{var s;if((s=t.src)!=null&&s.startsWith("/")&&!t.src.startsWith("//")){const e=c(h(m().app.baseURL));if(e!=="/"&&!t.src.startsWith(e))return p(e,t.src)}return t.src});return(s,e)=>(l(),g(u(a(d)),{src:a(n),alt:t.alt,width:t.width,height:t.height},null,8,["src","alt","width","height"]))}}),b=Object.assign(f,{__name:"ProseImg"});export{b as default};
