import{j as e}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d15.js";import{ad as p,n as d}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d123.js";import{u as x}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d14.js";import{af as n,bO as u}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d17.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1.js";import{c as f}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1106.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";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};
