import{d as i,s as n,au as o,R as c,P as h,O as u,c as p,o as l,u as s,a as d}from"./Bxv1kRJt.js";const m="img",S=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(a){const t=a,r=n(()=>{if(t.src?.startsWith("/")&&!t.src.startsWith("//")){const e=o(c(h().app.baseURL));if(e!=="/"&&!t.src.startsWith(e))return u(e,t.src)}return t.src});return(e,g)=>(l(),p(d(s(m)),{src:s(r),alt:t.alt,width:t.width,height:t.height},null,8,["src","alt","width","height"]))}});export{S as default};
