import{j as t}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab.js";import{ac as p,n as x}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab23.js";import{u as d}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab20.js";import{ax as n,c4 as u}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab11.js";import{c as f}from"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab107.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab8.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab7.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab19.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab4.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab3.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab2.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab10.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab6.js";import"./v_7_4_3_16_fa303664-d39f-4aec-85e8-7c81b2445eab9.js";function E({setChats:s,setActiveAgrupamento:i,agrupamentos:r}){const{variaveisWA:e}=p(),{language:c}=d(),{close:l}=x(),a=o=>{l(),o?(s(o.chats),i({name:o.name,color:o.color})):(s([]),i({name:"",color:""}))};return t.jsx("div",{style:{position:"initial"},children:t.jsx("ul",{className:"overflow-hidden flex "+e.modalOptions.content2,children:t.jsx("div",{className:e.modalOptions.content3,children:t.jsxs("div",{className:"max-w-[310px] overflow-x-hidden overflow-y-auto "+e.listagem.content1,style:{maxHeight:"calc(100vh - 370px)"},children:[t.jsx(n,{content:c.cancelar_selecao,icon:t.jsx(f,{className:"w-5 h-5 text-red-500"}),setFunction:()=>a(void 0),stroke:"1"}),r.map((o,m)=>t.jsx(n,{content:o.name,icon:t.jsx(u,{className:"w-5 h-5",style:{color:o.color}}),setFunction:()=>a(o),stroke:"1"},m))]})})})})}export{E as default};
