import{j as e,_ as x,$ as p,a2 as f,ap as j}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab710.js";import{ag as u,A as g,q as h,o as v,p as A,aA as y}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab723.js";import{u as N}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab719.js";import{a as r}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab74.js";import{A as _}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab7184.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab718.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab76.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab78.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab7.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab75.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab77.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab79.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab72.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab73.js";const z=r.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab7183.js")),[]));function E(){return e.jsx(r.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(z,{})})}function W(){const{active:o,multi_atendente:s}=u(),{variaveisWA:t}=g(),{label:c}=h(),{open:n}=v(),{close:i}=A(),{language:a}=N(),m=()=>{n(e.jsx(y,{})),i()},l=()=>{n(e.jsx(E,{})),i()};return e.jsxs("div",{className:"flex flex-col gap-2 px-2",children:[e.jsx(p,{size:"18",weight:"600",children:a.transferirAtendimento}),o?e.jsx(e.Fragment,{children:s.length>1?s.map(d=>e.jsx(_,{at:d})):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(f,{name:a.activate,funcao:m})]}),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:l,children:[e.jsx("div",{className:t.listagem.content4,children:e.jsx(j,{className:c.cor_primaria?"text-[var(--primaria)]":"",size:20})}),e.jsx("span",{className:t.listagem.content5,children:a.editarMensagemDeTransferencia})]})})})]})}export{W as default};
