import{j as e,aP as d,ak as u}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9910.js";import{Q as x,q as h,D as v,o as j,L as g,H as f,p as N,ag as b,ah as A}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9923.js";import{u as I}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9919.js";import{V as k}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c99164.js";import{b as z}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9937.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9918.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c996.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c998.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c994.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c99.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c995.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c997.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c999.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c992.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c993.js";function B(){const{chatActive_atentendes:i}=x(),{label:a}=h(),{variaveisWA:s}=v(),{language:t}=I(),{open:r}=j(),{assinatura:n,insertName:c}=g(),{assistente:o,setAssistente:l}=f(),{open:p}=N();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(z,{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(b,{})),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(A,{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(k,{}),{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{B as default};
