import{d as c,g as r,B as n,c5 as u,i,o as d,f as m,u as _}from"./Bxv1kRJt.js";const f={flex:"~ items-center","h-full":"","bg-dark":""},p=["src"],x=c({__name:"EditorImage",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],async setup(s){let e,o;const t=r(s,"modelValue"),a=typeof t.value=="string"?([e,o]=n(()=>u(t.value)),e=await e,o(),e):t.value,l=URL.createObjectURL(a);return(b,h)=>(d(),i("div",f,[m("img",{src:_(l),class:"m-auto w-fit max-h-full object-contain"},null,8,p)]))}});export{x as default};
