import{j as t,aI as m,ah as p}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e10.js";import{L as u,B as h,n as f,H as b,E as j,o as v,ab as g,ac as y}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e22.js";import{a as N,u as k}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e19.js";import{V as z}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e158.js";import{b as A}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e36.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e18.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e8.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e4.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e5.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e7.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e6.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e2.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e3.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e9.js";function H(){const{chatActive_atentendes:i}=u(),{label:s}=N(),{variaveisWA:w}=h(),{language:a}=k(),{open:r}=f(),{assinatura:o,insertName:l}=b(),{assistente:n,setAssistente:x}=j(),{open:d}=v(),c=[{id:1,tooltip:a.menuFooter_Ass,children:t.jsx(m,{className:o.active?"text-[var(--wds-teal-500)]":s.cor_primaria?"text-[var(--primaria)]":"",size:20}),func:()=>r(t.jsx(g,{}))},{id:2,tooltip:a.assistenteDeChat,children:t.jsx(y,{className:n.active?"text-[var(--wds-teal-500)]":s.cor_primaria?"text-[var(--primaria)]":"",size:22}),func:()=>x("active",!n.active)},{id:3,tooltip:a.menuFooter_colarNome,children:t.jsx(A,{className:s.cor_primaria?"text-[var(--primaria)]":"",strokeWidth:1,size:22}),func:()=>l()},{id:4,tooltip:a.atendentesNesseChat,children:t.jsxs("div",{className:"text-[var(--button-round-background)] flex gap-1",children:[t.jsx("span",{children:t.jsx(p,{size:20})}),t.jsx("span",{className:"font-semibold text-lg !leading-[21px]",children:i.length})]}),func:e=>d(t.jsx(z,{}),{placement:"top"},e.target),disabled:i.length<=1}].map(e=>!(e!=null&&e.disabled)&&t.jsx("div",{className:"x78zum5 x6s0dn4 xpvyfi4 lg:tooltip","data-tip":e.tooltip,children:t.jsx("button",{onClick:e.func,className:"xjb2p0i xk390pu x1ypdohk xjbqb8w x972fbf xcfux6l x1qhh985 xm0m39n x1okw0bk x5yr21d x14yjl9h xudhj91 x18nykt9 xww2gxu xlkovuz xzwifym x16j0l1c xurb0ha x1sxyh0 x96k8nx xdvlbce x1ry1tff","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:c})}export{H as default};
