PageSourceSearch

https://graduly.web.app/assets/chat-b7efa6b3.js

js graduly.web.app collected 2026-10-03 12:26:11 UTC 19,300 bytes, 1 lines download raw bytes

1import{_ as nt}from"./MoreBtn.vue_vue_type_script_setup_true_lang-b89cb568.js";import{ad as it,a4 as E,d as B,r as L,s as t,o as r,c as p,n as a,q as s,w as c,V as h,t as k,b as y,y as _,F as V,P as U,W as q,dY as lt,S as w,a as T,E as X,G as K,U as J,Y as tt,am as ct,l as S,C as rt,X as dt,aR as Q}from"./index-3c270ded.js";import{P as R}from"./vue3-perfect-scrollbar.esm-f46500df.js";import{a as F,b as ut,f as mt}from"./formatters-8376cbd9.js";import{V as I}from"./VAvatar-0fdccacb.js";import{V as M}from"./VImg-b4b65b15.js";import{V as A}from"./VBadge-d834ce8a.js";import{V as et}from"./VTextField-7ececfad.js";import{V as st}from"./VDivider-d8823050.js";import{V as ht}from"./VTextarea-a71ec712.js";import{V as ft,a as pt}from"./VRadioGroup-a5eb1dfb.js";import{u as vt,V as _t,a as Ct}from"./VMain-6e28e4a8.js";import{V as j}from"./VNavigationDrawer-f8180b58.js";import{V as xt}from"./VSpacer-82ca6b69.js";import{V as gt}from"./VForm-4b301add.js";import{b as Z}from"./route-block-83d24a4e.js";import"./VMenu-030fc960.js";import"./forwardRefs-a29b5f65.js";import"./VOverlay-13bb6036.js";import"./lazy-09f2b555.js";import"./easing-9f15041e.js";import"./transition-e6f64576.js";import"./dialog-transition-9affdfab.js";import"./VList-3a51ce4f.js";import"./ssrBoot-d84881db.js";import"./createSimpleFunctional-c5602fdc.js";import"./index-681711bc.js";/* empty css                   */import"./VField-2033b30d.js";import"./VInput-24b28c5a.js";import"./VCounter-216668e9.js";import"./VSelectionControl-f93d26ba.js";const z=()=>({resolveAvatarBadgeVariant:e=>e==="online"?"success":e==="busy"?"error":e==="away"?"warning":"secondary"}),N=it("chat",{state:()=>({contacts:[],chatsContacts:[],profileUser:void 0,activeChat:null}),actions:{async fetchChatsAndContacts(C){const{data:e}=await E.get("/apps/chat/chats-and-contacts",{params:{q:C}}),{chatsContacts:n,contacts:d,profileUser:f}=e;this.chatsContacts=n,this.contacts=d,this.profileUser=f},async getChat(C){const{data:e}=await E.get(`/apps/chat/chats/${C}`);this.activeChat=e},async sendMsg(C){var m,o,x,l,g;const e=(m=this.profileUser)==null?void 0:m.id,{data:n}=await E.post(`/apps/chat/chats/${(o=this.activeChat)==null?void 0:o.contact.id}`,{message:C,senderId:e}),{msg:d,chat:f}=n;if(f!==void 0){const D=this.activeChat;this.chatsContacts.push({...D.contact,chat:{id:f.id,lastMessage:[],unseenMsgs:0,messages:[d]}}),this.activeChat&&(this.activeChat.chat={id:f.id,messages:[d],unseenMsgs:0,userId:(x=this.activeChat)==null?void 0:x.contact.id})}else(g=(l=this.activeChat)==null?void 0:l.chat)==null||g.messages.push(d);const i=this.chatsContacts.find(D=>
1this.activeChat?D.id===this.activeChat.contact.id:!1);i.chat.lastMessage=d}}}),bt={class:"text-center px-6"},yt={key:1,class:"text-3xl"},$t={class:"mb-1 font-weight-medium text-high-emphasis text-base"},kt={class:"text-capitalize text-sm text-medium-emphasis"},Vt={class:"mt-8 mb-6"},wt=a("span",{for:"textarea-user-about",class:"text-sm text-disabled"},"ABOUT",-1),Ut={class:"mt-1 text-sm"},It={class:"mb-8"},St=a("span",{class:"d-block text-sm text-disabled mb-3"},"PERSONAL INFORMATION",-1),At={class:"d-flex align-center"},Bt=a("span",{class:"text-sm"},"[email protected]",-1),Mt={class:"d-flex align-center text-sm my-4"},Nt=a("span",null,"+1(123) 456 - 7890",-1),Dt={class:"d-flex align-center text-sm"},Ot=a("span",null,"Mon - Fri 10AM - 8PM",-1),Pt=a("span",{class:"d-block text-sm text-disabled mb-3"},"OPTIONS",-1),Tt={class:"d-flex align-center"},zt=a("span",{class:"text-sm"},"Add Tag",-1),Lt={class:"d-flex align-center my-3"},Rt=a("span",{class:"text-sm"},"Important Contact",-1),Ft={class:"d-flex align-center mb-3"},Et=a("span",{class:"text-sm"},"Shared Media",-1),jt={class:"d-flex align-center mb-3"},qt=a("span",{class:"text-sm"},"Delete Contact",-1),Jt={class:"d-flex align-center"},Yt=a("span",{class:"text-sm"},"Block Contact",-1),Ht=B({__name:"ChatActiveChatUserProfileSidebarContent",emits:["close"],setup(C){const e=N(),{resolveAvatarBadgeVariant:n}=z();return(d,f)=>{const i=L("IconBtn");return t(e).activeChat?(r(),p(V,{key:0},[a("div",{class:k(["pt-2 me-2",d.$vuetify.locale.isRtl?"text-left":"text-right"])},[s(i,{onClick:f[0]||(f[0]=m=>d.$emit("close"))},{default:c(()=>[s(h,{icon:"mdi-close",class:"text-medium-emphasis"})]),_:1})],2),a("div",bt,[s(A,{location:"bottom right","offset-x":"7","offset-y":"4",bordered:"",color:t(n)(t(e).activeChat.contact.status),class:"chat-user-profile-badge mb-4"},{default:c(()=>[s(I,{size:"84",variant:t(e).activeChat.contact.avatar?void 0:"tonal",color:t(e).activeChat.contact.avatar?void 0:t(n)(t(e).activeChat.contact.status)},{default:c(()=>[t(e).activeChat.contact.avatar?(r(),y(M,{key:0,src:t(e).activeChat.contact.avatar},null,8,["src"])):(r(),p("span",yt,_(t(F)(t(e).activeChat.contact.fullName)),1))]),_:1},8,["variant","color"])]),_:1},8,["color"]),a("h2",$t,_(t(e).activeChat.contact.fullName),1),a("p",kt,_(t(e).activeChat.contact.role),1)]),s(t(R),{class:"ps-chat-user-profile-sidebar-content text-medium-emphasis pb-5 px-5",options:{wheelPropagation:!1}},{default:c(()=>[a("div",Vt,[wt,a("p",Ut,_(t(e).activeChat.contact.about),1)]),a("div",It,[St,a("div",At,[s(h,{class:"me-2",icon:"mdi-email-outline"}),Bt]),a("div",Mt,[s(h,{class:"me-2",icon:"mdi-phone-outline"}),Nt]),a("div",Dt,[s(h,{class:"me-2",icon:"mdi-clock-outline"}),Ot])]),a("div",null,[Pt,a("div",Tt,[s(h,{class:"me-2",icon:"mdi-bookmark-outline"}),zt]),a("div",Lt,[s(h,{class:"me-2",icon:"mdi-star-outline"}),Rt]),a("div",Ft,[s(h,{class:"me-2",icon:"mdi-image-outline"}),Et]),a("div",jt,[s(h,{class:"me-2",icon:"mdi-trash-can-outline"}),qt]),a("div",Jt,[s(h,{class:"me-3 ms-1",size:"16",icon:"mdi-block-helper"}),Yt])])]),_:1})],64)):U("",!0)}}}),Wt=["data-x"],Xt={key:1},Kt={class:"flex-grow-1 ms-4 overflow-hidden"},Qt={class:"d-block text-sm text-truncate text-medium-emphasis"},Zt={key:0,class:"d-flex flex-column align-self-start"},Gt={class:"d-block text-disabled whitespace-no-wrap"},G=B({__name:"ChatContact",props:{isChatContact:{type:Boolean,default:!1},user:{}},setup(C){const e=C,n=N(),{resolveAvatarBadgeVariant:d}=z(),f=q(()=>{var m,o;const i=((m=n.activeChat)==null?void 0:m.contact.id)===e.user.id;return(e.isChatContact||!((o=n.activeChat)!=null&&o.chat))&&i});return(i,m)=>(r(),p("li",{key:t(n).chatsContacts.length,class:k(["chat-contact cursor-pointer d-flex align-center",{"chat-contact-active":t(f)}]),"data-x":t(n).chatsContacts.length},[s(A,{dot:"",location:"bottom right","offset-x":"3","offset-y":"3",color:t(d)(e.user.status),bordered:"","model-value":e.isChatContact},{default:c(()=>[s(I,{size:"40",variant:e.user.avatar?void 0:"tonal",color:e.user.avatar?void 0:t(d)(e.user.status)},{default:c(()=>[e.user.avatar?(r(),y(M,{key:0,src:e.user.avatar,alt:"John Doe"},null,8,["src"])):(r(),p("span",Xt,_(t(F)(i.user.fullName)),1))]),_:1},8,["variant","color"])]),_:1},8,["color","model-value"]),a("div",Kt,[a("span",null,_(e.user.fullName),1),a("span",Qt,_(e.isChatContact&&"chat"in e.user?e.user.chat.lastMessage.message:e.user.about),1)]),e.isChatContact&&"chat"in e.user?(r(),p("div",Zt,[a("span",Gt,_(t(ut)(e.user.chat.lastMessage.time)),1),e.user.chat.unseenMsgs?(r(),y(A,{key:0,color:"error",inline:"",content:e.user.chat.unseenMsgs,class:"ms-auto"},null,8,["content"])):U("",!0)])):U("",!0)],10,Wt))}});const te={key:0,class:"chat-list-header"},ee=a("li",null,[a("span",{class:"chat-contact-header d-block text-primary text-xl font-weight-medium"},"Chats")],-1),se={class:"no-chat-items-text text-disabled"},ae=a("li",null,[a("span",{class:"chat-contact-header d-block text-primary text-xl font-weight-medium"},"Contacts")],-1),oe={class:"no-chat-items-text text-disabled"},ne=B({__name:"ChatLeftSidebarContent",props:{search:{},isDrawerOpen:{type:Boolean}},emits:["openChatOfContact","showUserProfile","close","update:search"],setup(C,{emit:e}){const n=C,{resolveAvatarBadgeVariant:d}=z(),f=lt(n,"search",e),i=N();return(m,o)=>{const x=L("IconBtn");return r(),p(V,null,[t(i).profileUser?(r(),p("div",te,[s(A,{dot:"",location:"bottom right","offset-x":"3","offset-y":"3",size:"8",color:t(d)(t(i).profileUser.status),bordered:""},{default:c(()=>[s(I,{size:"40",class:"cursor-pointer",onClick:o[0]||(o[0]=l=>m.$emit("showUserProfile"))},{default:c(()=>[s(M,{src:t(i).profileUser.avatar,alt:"John Doe"},null,8,["src"])]),_:1})]),_:1},8,["color"]),s(et,{modelValue:t(f),"onUpdate:modelValue":o[1]||(o[1]=l=>w(f)?f.value=l:null),density:"compact",placeholder:"Search...","prepend-inner-icon":"mdi-magnify",class:"ms-4 me-1 chat-list-search"},null,8,["modelValue"]),m.$vuetify.display.smAndDown?(r(),y(x,{key:0,onClick:o[2]||(o[2]=l=>m.$emit("close"))},{default:c(()=>[s(h,{icon:"mdi-close",class:"text-medium-emphasis"})]),_:1})):U("",!0)])):U("",!0),s(st),s(t(R),{tag:"ul",class:"chat-contacts-list px-3",options:{wheelPropagation:!1}},{default:c(()=>[ee,(r(!0),p(V,null,T(t(i).chatsContacts,l=>(r(),y(G,{key:`chat-${l.id}`,user:l,"is-chat-contact":"",onClick:g=>m.$emit("openChatOfContact",l.id)},null,8,["user","onClick"]))),128)),X(a("span",se,"No chats found",512),[[K,!t(i).chatsContacts.length]]),ae,(r(!0),p(V,null,T(t(i).contacts,l=>(r(),y(G,{key:`chat-${l.id}`,user:l,onClick:g=>m.$emit("openChatOfContact",l.id)},null,8,["user","onClick"]))),128)),X(a("span",oe,"No contacts found",512),[[K,!t(i).contacts.length]])]),_:1})],64)}}});const ie={class:"chat-log pa-5"},le={class:"text-xs me-1 text-disabled"},ce=B({__name:"ChatLog",setup(C){const e=N(),n=q(()=>{var i,m;
1return{id:(i=e.activeChat)==null?void 0:i.contact.id,avatar:(m=e.activeChat)==null?void 0:m.contact.avatar}}),d=i=>i.isSeen?{icon:"mdi-check-all",color:"success"}:i.isDelivered?{icon:"mdi-check-all",color:void 0}:{icon:"mdi-check",color:void 0},f=q(()=>{let i=[];const m=[];if(e.activeChat.chat){i=e.activeChat.chat.messages;let o=i[0].senderId,x={senderId:o,messages:[]};i.forEach((l,g)=>{o===l.senderId?x.messages.push({message:l.message,time:l.time,feedback:l.feedback}):(o=l.senderId,m.push(x),x={senderId:l.senderId,messages:[{message:l.message,time:l.time,feedback:l.feedback}]}),g===i.length-1&&m.push(x)})}return m});return(i,m)=>(r(),p("div",ie,[(r(!0),p(V,null,T(t(f),(o,x)=>(r(),p("div",{key:o.senderId+String(x),class:k(["chat-group d-flex align-start",[{"flex-row-reverse":o.senderId!==t(n).id,"mb-8":t(f).length-1!==x}]])},[a("div",{class:k(["chat-avatar",o.senderId!==t(n).id?"ms-4":"me-4"])},[s(I,{size:"32"},{default:c(()=>{var l;return[s(M,{src:o.senderId===t(n).id?t(n).avatar:(l=t(e).profileUser)==null?void 0:l.avatar},null,8,["src"])]}),_:2},1024)],2),a("div",{class:k(["chat-body d-inline-flex flex-column",o.senderId!==t(n).id?"align-end":"align-start"])},[(r(!0),p(V,null,T(o.messages,(l,g)=>(r(),p("p",{key:l.time,class:k(["chat-content text-sm py-3 px-4 elevation-1",[o.senderId===t(n).id?"bg-surface chat-left":"bg-primary text-white chat-right",o.messages.length-1!==g?"mb-3":"mb-1"]])},_(l.message),3))),128)),a("div",{class:k({"text-right":o.senderId!==t(n).id})},[a("span",le,_(t(mt)(o.messages[o.messages.length-1].time,{hour:"numeric",minute:"numeric"})),1),o.senderId!==t(n).id?(r(),y(h,{key:0,size:"16",color:d(o.messages[o.messages.length-1].feedback).color},{default:c(()=>[J(_(d(o.messages[o.messages.length-1].feedback).icon),1)]),_:2},1032,["color"])):U("",!0)],2)],2)],2))),128))]))}});const re={class:"pt-2 me-2 text-end"},de={class:"text-center px-6"},ue={key:1,class:"text-3xl"},me={class:"mb-1 text-high-emphasis font-weight-medium text-base"},he={class:"text-capitalize text-medium-emphasis text-sm"},fe={class:"my-6 text-medium-emphasis"},pe=a("span",{for:"textarea-user-about",class:"text-sm text-disabled mb-1"},"ABOUT",-1),ve={class:"mb-6"},_e=a("span",{class:"text-sm text-disabled"},"STATUS",-1),Ce={class:"text-medium-emphasis"},xe=a("span",{class:"text-sm text-disabled"},"SETTINGS",-1),ge={class:"d-flex align-center my-3"},be=a("span",{class:"text-sm"},"Two-step Verification",-1),ye={class:"d-flex align-center mb-3"},$e=a("span",{class:"text-sm"},"Notification",-1),ke={class:"d-flex align-center mb-3"},Ve=a("span",{class:"text-sm"},"Invite Friends",-1),we={class:"d-flex align-center"},Ue=a("span",{class:"text-sm"},"Delete Account",-1),Ie=B({__name:"ChatUserProfileSidebarContent",emits:["close"],setup(C){const e=N(),{resolveAvatarBadgeVariant:n}=z(),d=[{title:"Online",value:"online",color:"success"},{title:"Away",value:"away",color:"warning"},{title:"Do not disturb",value:"busy",color:"error"},{title:"Offline",value:"offline",color:"secondary"}];return(f,i)=>{const m=L("IconBtn");return t(e).profileUser?(r(),p(V,{key:0},[a("div",re,[s(m,{onClick:i[0]||(i[0]=o=>f.$emit("close"))},{default:c(()=>[s(h,{class:"text-medium-emphasis",icon:"mdi-close"})]),_:1})]),a("div",de,[s(A,{location:"bottom right","offset-x":"7","offset-y":"4",bordered:"",color:t(n)(t(e).profileUser.status),class:"chat-user-profile-badge mb-5"},{default:c(()=>[s(I,{size:"84",variant:t(e).profileUser.avatar?void 0:"tonal",color:t(e).profileUser.avatar?void 0:t(n)(t(e).profileUser.status)},{default:c(()=>[t(e).profileUser.avatar?(r(),y(M,{key:0,src:t(e).profileUser.avatar},null,8,["src"])):(r(),p("span",ue,_(t(F)(t(e).profileUser.fullName)),1))]),_:1},8,["variant","color"])]),_:1},8,["color"]),a("h2",me,_(t(e).profileUser.fullName),1),a("p",he,_(t(e).profileUser.role),1)]),s(t(R),{class:"ps-chat-user-profile-sidebar-content pb-5 px-5",options:{wheelPropagation:!1}},{default:c(()=>[a("div",fe,[pe,s(ht,{id:"textarea-user-about",modelValue:t(e).profileUser.about,"onUpdate:modelValue":i[1]||(i[1]=o=>t(e).profileUser.about=o),"auto-grow":"",class:"mt-1",rows:"3"},null,8,["modelValue"])]),a("div",ve,[_e,s(ft,{modelValue:t(e).profileUser.status,"onUpdate:modelValue":i[2]||(i[2]=o=>t(e).profileUser.status=o),class:"mt-1"},{default:c(()=>[(r(),p(V,null,T(d,o=>s(pt,{key:o.title,label:o.title,value:o.value,color:o.color},null,8,["label","value","color"])),64))]),_:1},8,["modelValue"])]),a("div",Ce,[xe,a("div",ge,[s(h,{class:"me-3",icon:"mdi-check-circle-outline"}),be]),a("div",ye,[s(h,{class:"me-3",icon:"mdi-bell-outline"}),$e]),a("div",ke,[s(h,{class:"me-3",icon:"mdi-account-outline"}),Ve]),a("div",we,[s(h,{class:"me-3",icon:"mdi-trash-can-outline"}),Ue])]),s(tt,{color:"primary",class:"mt-6"},{default:c(()=>[J(" Logout ")]),_:1})]),_:1})],64)):U("",!0)}}}),Se={key:0,class:"d-flex flex-column h-100"},Ae={class:"active-chat-header d-flex align-center text-medium-emphasis"},Be={key:1},Me={class:"flex-grow-1 ms-4 overflow-hidden"},Ne={class:"text-base font-weight-regular text-medium-emphasis"},De={class:"d-block text-sm text-truncate text-disabled"},Oe={class:"d-sm-flex align-center d-none"},Pe={key:1,class:"d-flex h-100 align-center justify-center flex-column"},Te=B({__name:"chat",setup(C){const e=ct(),n=N(),{isLeftSidebarOpen:d}=vt(e.smAndDown),{resolveAvatarBadgeVariant:f}=z(),i=S(),m=()=>{const b=i.value.$el||i.value;b.scrollTop=b.scrollHeight},o=S("");rt(o,b=>n.fetchChatsAndContacts(b),{immediate:!0});const x=()=>{e.mdAndUp.value||(d.value=!0)},l=S(""),g=async()=>
1{l.value&&(await n.sendMsg(l.value),l.value="",Q(()=>{m()}))},D=async b=>{await n.getChat(b),l.value="";const u=n.chatsContacts.find($=>$.id===b);u&&(u.chat.unseenMsgs=0),e.smAndDown.value&&(d.value=!1),Q(()=>{m()})},O=S(!1),P=S(!1),Y=S(),at=[{title:"View Contact",value:"View Contact"},{title:"Mute Notifications",value:"Mute Notifications"},{title:"Block Contact",value:"Block Contact"},{title:"Clear Chat",value:"Clear Chat"},{title:"Report",value:"Report"}];return(b,u)=>{const $=L("IconBtn"),ot=nt;return r(),y(Ct,{class:"chat-app-layout bg-surface"},{default:c(()=>[s(j,{modelValue:t(O),"onUpdate:modelValue":u[1]||(u[1]=v=>w(O)?O.value=v:null),temporary:"",touchless:"",absolute:"",class:"user-profile-sidebar",location:"start",width:"370"},{default:c(()=>[s(Ie,{onClose:u[0]||(u[0]=v=>O.value=!1)})]),_:1},8,["modelValue"]),s(j,{modelValue:t(P),"onUpdate:modelValue":u[3]||(u[3]=v=>w(P)?P.value=v:null),width:"374",absolute:"",temporary:"",location:"end",touchless:"",class:"active-chat-user-profile-sidebar"},{default:c(()=>[s(Ht,{onClose:u[2]||(u[2]=v=>P.value=!1)})]),_:1},8,["modelValue"]),s(j,{modelValue:t(d),"onUpdate:modelValue":u[8]||(u[8]=v=>w(d)?d.value=v:null),absolute:"",touchless:"",location:"start",width:"370",temporary:b.$vuetify.display.smAndDown,class:"chat-list-sidebar",permanent:b.$vuetify.display.mdAndUp},{default:c(()=>[s(ne,{isDrawerOpen:t(d),"onUpdate:isDrawerOpen":u[4]||(u[4]=v=>w(d)?d.value=v:null),search:t(o),"onUpdate:search":u[5]||(u[5]=v=>w(o)?o.value=v:null),onOpenChatOfContact:D,onShowUserProfile:u[6]||(u[6]=v=>O.value=!0),onClose:u[7]||(u[7]=v=>d.value=!1)},null,8,["isDrawerOpen","search"])]),_:1},8,["modelValue","temporary","permanent"]),s(_t,{class:"chat-content-container"},{default:c(()=>[t(n).activeChat?(r(),p("div",Se,[a("div",Ae,[s($,{class:"d-md-none me-3",onClick:u[9]||(u[9]=v=>d.value=!0)},{default:c(()=>[s(h,{icon:"mdi-menu"})]),_:1}),a("div",{class:"d-flex align-center cursor-pointer",onClick:u[10]||(u[10]=v=>P.value=!0)},[s(A,{dot:"",location:"bottom right","offset-x":"3","offset-y":"3",color:t(f)(t(n).activeChat.contact.status),bordered:""},{default:c(()=>[s(I,{size:"40",variant:t(n).activeChat.contact.avatar?void 0:"tonal",color:t(n).activeChat.contact.avatar?void 0:t(f)(t(n).activeChat.contact.status),class:"cursor-pointer"},{default:c(()=>[t(n).activeChat.contact.avatar?(r(),y(M,{key:0,src:t(n).activeChat.contact.avatar,alt:t(n).activeChat.contact.fullName},null,8,["src","alt"])):(r(),p("span",Be,_(t(F)(t(n).activeChat.contact.fullName)),1))]),_:1},8,["variant","color"])]),_:1},8,["color"]),a("div",Me,[a("h6",Ne,_(t(n).activeChat.contact.fullName),1),a("span",De,_(t(n).activeChat.contact.role),1)])]),s(xt),a("div",Oe,[s($,null,{default:c(()=>[s(h,{icon:"mdi-phone"})]),_:1}),s($,null,{default:c(()=>[s(h,{icon:"mdi-video-outline"})]),_:1}),s($,null,{default:c(()=>[s(h,{icon:"mdi-magnify"})]),_:1})]),s(ot,{"menu-list":at})]),s(st),s(t(R),{ref_key:"chatLogPS",ref:i,tag:"ul",options:{wheelPropagation:!1},class:"flex-grow-1"},{default:c(()=>[s(ce)]),_:1},512),s(gt,{class:"chat-log-message-form mb-5 mx-5",onSubmit:dt(g,["prevent"])},{default:c(()=>{var v;return[(r(),y(et,{key:(v=t(n).activeChat)==null?void 0:v.contact.id,modelValue:t(l),"onUpdate:modelValue":u[12]||(u[12]=H=>w(l)?l.value=H:null),variant:"solo",class:"chat-message-input",placeholder:"Type your message...",autofocus:""},{"append-inner":c(()=>[s($,null,{default:c(()=>[s(h,{icon:"mdi-microphone-outline",size:"22"})]),_:1}),s($,{class:"me-4",onClick:u[11]||(u[11]=H=>{var W;return(W=t(Y))==null?void 0:W.click()})},{default:c(()=>[s(h,{icon:"mdi-attachment",size:"22"})]),_:1}),s(tt,{onClick:g},{default:c(()=>[J(" Send ")]),_:1})]),_:1},8,["modelValue"])),a("input",{ref_key:"refInputEl",ref:Y,type:"file",name:"file",accept:".jpeg,.png,.jpg,GIF",hidden:""},null,512)]}),_:1},8,["onSubmit"])])):(r(),p("div",Pe,[s(I,{size:"109",class:"elevation-3 mb-6 bg-surface"},{default:c(()=>[s(h,{size:"50",class:"rounded-0 text-high-emphasis",icon:"mdi-message-outline"})]),_:1}),a("p",{class:k(["mb-0 px-6 py-1 font-weight-medium text-lg elevation-3 rounded-xl text-high-emphasis bg-surface",[{"curs
1or-pointer":b.$vuetify.display.smAndDown}]]),onClick:x}," Start Conversation ",2)]))]),_:1})]),_:1})}}});typeof Z=="function"&&Z(Te);export{Te as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.