import{p as l,c as t,o,g as r,t as u,F as m}from"./app-fEKA3BkQ.js";const d=["src"],i={key:1,class:"dark:bg-dark-800 px-2 py-1 rounded"},g={__name:"VideoMessage",props:["message"],setup(a){const c=l(()=>{var e,s;return((e=a.message.meta)==null?void 0:e.media_url)??((s=a.message.body)==null?void 0:s.link)??!1}),n=l(()=>{var e;return((e=a.message.body)==null?void 0:e.caption)??!1});return(e,s)=>(o(),t(m,null,[c.value?(o(),t("video",{key:0,src:c.value,controls:""},null,8,d)):r("",!0),n.value?(o(),t("p",i,u(n.value),1)):r("",!0)],64))}};export{g as default};
