import{j as e}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3915.js";import{ac as p,n as d}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39123.js";import{u as x}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3914.js";import{af as n,bO as u}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3917.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391.js";import{c as f}from"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a391107.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3913.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3912.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3919.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39110.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a39120.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3918.js";import"./v_7_4_3_23_c059010f-ff6a-45e1-bfa2-f58a98f4a3916.js";function C({setChats:t,setActiveAgrupamento:i,agrupamentos:l}){const{variaveisWA:s}=p(),{language:r}=x(),{close:c}=d(),a=o=>{c(),o?(t(o.chats),i({name:o.name,color:o.color})):(t([]),i({name:"",color:""}))};return e.jsx("div",{style:{position:"initial"},children:e.jsx("ul",{className:"overflow-hidden flex "+s.modalOptions.content2,children:e.jsx("div",{className:s.modalOptions.content3,children:e.jsxs("div",{className:"max-w-[310px] overflow-x-hidden overflow-y-auto "+s.listagem.content1,style:{maxHeight:"calc(100vh - 370px)"},children:[e.jsx(n,{content:r.cancelar_selecao,icon:e.jsx(f,{className:"w-5 h-5 text-red-500"}),setFunction:()=>a(void 0),stroke:"1"}),l.map((o,m)=>e.jsx(n,{content:o.name,icon:e.jsx(u,{className:"w-5 h-5",style:{color:o.color}}),setFunction:()=>a(o),stroke:"1"},m))]})})})})}export{C as default};
