import{u as m}from"./chatStore-CTtmOQOw.js";import{c as g,o as u,b as e,t as p,u as s}from"./app-B4kV47qU.js";import"./toastComposable-CvcyPmJb.js";import"./echoServiceComposable-n1MnmRL6.js";import"./modalStore-BgORG3Nn.js";const _={class:"absolute -top-full min-w-[40rem] max-w-[90%] rounded border bg-gray-50 p-2 opacity-80 dark:bg-dark-900"},b={class:"flex items-center justify-between"},y={class:"text-sm text-gray-500"},f={class:"text-sm font-semibold"},B={__name:"ReplyPreview",setup(x){const t=m();return(d,o)=>{var r,a,n,i,l;return u(),g("div",_,[e("div",b,[e("div",null,[e("i",y,p(d.trans("Replying...")),1),e("p",f,p(((a=(r=s(t).replying)==null?void 0:r.message)==null?void 0:a.conversation)??((l=(i=(n=s(t).replying)==null?void 0:n.message)==null?void 0:i.extendedTextMessage)==null?void 0:l.text)),1)]),e("button",{onClick:o[0]||(o[0]=(...c)=>s(t).unsetReplying&&s(t).unsetReplying(...c)),class:"rounded-lg border bg-white p-2 py-1 hover:bg-slate-400 dark:bg-dark-700"}," X ")])])}}};export{B as default};
