import{au as o,d as u,a7 as a,E as c,ah as d,ai as l,cb as h,o as m,c as g,b as r,A as p}from"./BvNnk7SS.js";function f(t){throw o({fatal:!0,statusCode:500,statusMessage:`${t} is provided by @nuxt/image. Check your console to install it or run 'npx nuxi@latest module add @nuxt/image'`})}const b={setup:()=>f("<NuxtImg>")},w=u({__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(t){const i=a().public.mdc.useNuxtImage?b:"img",e=t,n=c(()=>{if(e.src?.startsWith("/")&&!e.src.startsWith("//")){const s=d(l(a().app.baseURL));if(s!=="/"&&!e.src.startsWith(s))return h(s,e.src)}return e.src});return(s,x)=>(m(),g(p(r(i)),{src:r(n),alt:t.alt,width:t.width,height:t.height},null,8,["src","alt","width","height"]))}});export{w as default};
