import{j as e}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d15.js";import{x,ad as p,m as f,n as u,ao as j}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d123.js";import{u as g,e as h}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d14.js";import{_ as v,p as _,r as A,ai as y}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d17.js";import{r as o}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1.js";import{A as N}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1183.js";import{u as z}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d146.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d13.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d19.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d110.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d12.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d18.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d120.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d16.js";const E=o.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1182.js")),[]));function M(){return e.jsx(o.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(E,{})})}function V(){const{active:c,multi_atendente:n}=x(),{variaveisWA:t}=p(),{open:i}=f(),{close:r}=u(),{language:a}=g(),{icons_cor_primaria:m}=h(z(s=>({icons_cor_primaria:s.icons_cor_primaria}))),l=()=>{i(e.jsx(j,{})),r()},d=()=>{i(e.jsx(M,{})),r()};return e.jsxs("div",{className:"flex flex-col gap-2 px-2",children:[e.jsx(_,{size:"18",weight:"600",children:a.transferirAtendimento}),c?e.jsx(e.Fragment,{children:n.length>1?n.map(s=>e.jsx(N,{at:s})):e.jsx("div",{className:"x1f6kntn x1fc57z9 x40yjcy flex flex-col gap-2 items-center",children:e.jsx("span",{dir:"auto",className:"_ao3e font-bold",children:a.nenhumAtendenteConectado})})}):e.jsxs("div",{className:"x1f6kntn x1fc57z9 x40yjcy flex flex-col  gap-2",children:[e.jsx("span",{dir:"auto",className:"_ao3e font-bold",children:a.ativeOIdentificadorAntendente}),e.jsx(A,{name:a.activate,funcao:l})]}),e.jsx("div",{className:"xjm9jq1 xfw0ycb x7r5mf7 x12nagc"}),e.jsx("div",{className:t.listagem.content1+"hoverShadown !ml-0",children:e.jsx("li",{tabIndex:0,className:t.listagem.content2+"!opacity-100","data-animate-dropdown-item":"true",children:e.jsxs("div",{className:t.listagem.content3,onClick:d,children:[e.jsx("div",{className:t.listagem.content4,children:e.jsx(y,{className:m?"text-[var(--primaria)]":"",size:20})}),e.jsx("span",{className:t.listagem.content5,children:a.editarMensagemDeTransferencia})]})})})]})}export{V as default};
