import{j as e,aI as d,ah as u}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e10.js";import{L as x,B as h,n as v,H as j,E as g,o as f,ab as N,ac as b}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e22.js";import{a as A,u as I}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 C}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 q(){const{chatActive_atentendes:i}=x(),{label:a}=A(),{variaveisWA:s}=h(),{language:t}=I(),{open:r}=v(),{assinatura:n,insertName:c}=j(),{assistente:o,setAssistente:l}=g(),{open:p}=f();return e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:s.confgIcone+"cursor-pointer lg:tooltip","data-tip":t.menuFooter_colarNome,children:e.jsx("div",{className:s.footerIco,onClick:c,children:e.jsx(C,{className:a.cor_primaria?"text-[var(--primaria)]":"text-[var(--panel-header-icon)]",strokeWidth:1,size:24})})}),e.jsx("div",{className:s.confgIcone+"cursor-pointer lg:tooltip","data-tip":t.menuFooter_Ass,children:e.jsx("div",{onClick:()=>r(e.jsx(N,{})),className:s.footerIco,children:e.jsx("span",{children:e.jsx(d,{className:n.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:22})})})}),e.jsx("div",{className:s.confgIcone+"cursor-pointer lg:tooltip","data-tip":t.assistenteDeChat,children:e.jsx("div",{onClick:()=>l("active",!o.active),className:s.footerIco,children:e.jsx("span",{children:e.jsx(b,{className:o.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:24})})})}),i.length>1&&e.jsx("div",{className:s.confgIcone+"cursor-pointer lg:tooltip","data-tip":t.atendentesNesseChat,children:e.jsxs("div",{className:"text-[var(--button-round-background)] flex gap-1 justify-center items-center py-[6px] px-1 pulse cursor-pointer",onClick:m=>p(e.jsx(z,{}),{placement:"top"},m.target),children:[e.jsx("span",{children:e.jsx(u,{size:20})}),e.jsx("span",{className:"font-semibold text-lg pb-[2px]",children:i.length})]})})]})}export{q as default};
