1import{u as g}from"./ekSX7_HF.js";import{M as f}from"./DKNgDMmf.js";import{i as h}from"./app-BAclpbpz.js";import{M as w}from"./B64giZ_N.js";import{b as C,g as b,h as k,j as t,s,C as H,q as a,i as x,H as M,B}from"./BI8qgwQJ.js";import"./BTqQ_sdn.js";const i="chat",j=C({__name:"WidgetChat",props:{widget:{}},emits:["updateProps"],setup(n,{expose:p,emit:d}){const l={showHeader:{type:"boolean",default:!0}},o=n,m=d,{widgetProps:u,configure:r}=g(i,l,o,m);return p({name:i,configure:r,id:o.widget?o.widget.id:null}),(P,e)=>(k(),b(f,{showHeader:a(u).showHeader,class:"mkw-chat"},{icon:t(()=>e[1]||(e[1]=[s("i",{class:"ph-users ph-bold ph-lg"},null,-1)])),header:t(()=>[M(B(a(h).ts._widgets.chat),1)]),func:t(({buttonStyleClass:c})=>[s("button",{class:x(["_button",c]),onClick:e[0]||(e[0]=N=>a(r)())},e[2]||(e[2]=[s("i",{class:"ph-gear ph-bold ph-lg"},null,-1)]),2)]),default:t(()=>[s("div",null,[H(w)])]),_:1},8,["showHeader"]))}});export{j 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.