import{j as t,aS as m,aw as c}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f10.js";import{C as u,s as h,A as f,p as v,D as b,J as j,q as y,aC as g,aD as z}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f23.js";import{u as k}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f19.js";import{V as N}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f147.js";import{b as A}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f37.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f18.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f6.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f4.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f8.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f5.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f7.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f9.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f2.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f3.js";function J(){const{chatActive_atentendes:i}=u(),{label:a}=h(),{variaveisWA:w}=f(),{language:s}=k(),{open:r}=v(),{assinatura:o,insertName:x}=b(),{assistente:n,setAssistente:l}=j(),{open:d}=y(),p=[{id:1,tooltip:s.menuFooter_Ass,children:t.jsx(m,{className:o.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:20}),func:()=>r(t.jsx(g,{}))},{id:2,tooltip:s.assistenteDeChat,children:t.jsx(z,{className:n.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:22}),func:()=>l("active",!n.active)},{id:3,tooltip:s.menuFooter_colarNome,children:t.jsx(A,{className:a.cor_primaria?"text-[var(--primaria)]":"",strokeWidth:1,size:22}),func:()=>x()},{id:4,tooltip:s.atendentesNesseChat,children:t.jsxs("div",{className:"text-[var(--button-round-background)] flex gap-1",children:[t.jsx("span",{children:t.jsx(c,{size:20})}),t.jsx("span",{className:"font-semibold text-lg !leading-[21px]",children:i.length})]}),func:e=>d(t.jsx(N,{}),{placement:"top"},e.target),disabled:i.length<=1}].map(e=>!(e!=null&&e.disabled)&&t.jsx("div",{className:"x100vrsf x1vqgdyp x78zum5 x6s0dn4 xpvyfi4 lg:tooltip","data-tip":e.tooltip,children:t.jsx("button",{onClick:e.func,className:"xjb2p0i xk390pu x1ypdohk xjbqb8w x972fbf x10w94by x1qhh985 x14e42zd x78zum5 xh8yej3 x5yr21d x6s0dn4 xl56j7k x1c9tyrk xeusxvb x1pahc9y x1ertn4p xlkovuz xzwifym x16j0l1c x1y1aw1k xf159sx xwib8y2 xmzvs34 x1ry1tff xtnn1bt x9v5kkp xmw7ebm xrdum7p","data-tab":"10",type:"button",children:t.jsx("span",{"aria-hidden":"true",children:e.children})})},e.id));return t.jsx("div",{className:"flex self-end",children:p})}export{J as default};
