import{j as t,aL as m,aj as c}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080910.js";import{P as u,q as h,D as f,o as v,K as b,G as j,p as y,af as g,ag as z}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080923.js";import{u as k}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080919.js";import{V as N}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809164.js";import{b as A}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080937.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080918.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508098.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508094.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508095.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508097.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508096.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508092.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508093.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508099.js";function E(){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{E as default};
