import{_ as n}from"./ChatPanel.vue_vue_type_script_setup_true_lang--s1gqUGM.js";import{d as i,D as m,c as d,a as e,t as u,z as p,g as a,o as f,a3 as _,a4 as x}from"./index-zfm-9r65.js";const h={class:"flex h-full flex-col"},g={class:"border-b border-slate-800 px-6 py-3"},D={class:"mt-1 flex min-h-8 items-center"},b={class:"text-lg font-semibold text-slate-100"},k={class:"min-h-0 flex-1"},B=i({__name:"DirectMessageRoomView",props:{roomId:{},room:{}},setup(s){const t=s,o=m(),c=a(()=>o.currentUser?x(o.currentUser):null),l=a(()=>t.room?_(t.room,c.value):"Direct messages");return(v,r)=>(f(),d("section",h,[e("header",g,[r[0]||(r[0]=e("p",{class:"text-xs uppercase tracking-wide text-slate-400"},"Direct messages",-1)),e("div",D,[e("h1",b,u(l.value),1)])]),e("div",k,[p(n,{kind:"direct-message","room-id":s.roomId},null,8,["room-id"])])]))}});export{B as default};
//# sourceMappingURL=DirectMessageRoomView-Unxe7ZwV.js.map
