import{p as n,c as s,o as c,g as m,t as r,F as u}from"./app-fEKA3BkQ.js";const i=["src"],g={key:1,class:"text-black dark:text-white"},k={__name:"ImageMessage",props:["message"],setup(a){const o=n(()=>{var e,t;return((e=a.message.body)==null?void 0:e.link)??((t=a.message.meta)==null?void 0:t.media_url)??!1}),l=n(()=>{var e;return((e=a.message.body)==null?void 0:e.caption)??!1});return(e,t)=>(c(),s(u,null,[o.value?(c(),s("img",{key:0,src:o.value},null,8,i)):m("",!0),l.value?(c(),s("p",g,r(l.value),1)):m("",!0)],64))}};export{k as default};
