import{j as s,ad as n,as as p}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e10.js";import{B as d,o as x}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e22.js";import{u}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e19.js";import{c as f}from"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e105.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e18.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e8.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e4.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e5.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e7.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e6.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e2.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e3.js";import"./v_7_4_0_1_4b8cc392-a410-45f6-b662-85abdad9c03e9.js";function E({setChats:e,setActiveAgrupamento:i,agrupamentos:l}){const{variaveisWA:t}=d(),{language:r}=u(),{close:c}=x(),a=o=>{c(),o?(e(o.chats),i({name:o.name,color:o.color})):(e([]),i({name:"",color:""}))};return s.jsx("div",{style:{position:"initial"},children:s.jsx("ul",{className:"overflow-hidden flex "+t.modalOptions.content2,children:s.jsx("div",{className:t.modalOptions.content3,children:s.jsxs("div",{className:"max-w-[310px] overflow-x-hidden overflow-y-auto "+t.listagem.content1,style:{maxHeight:"calc(100vh - 370px)"},children:[s.jsx(n,{content:r.cancelar_selecao,icon:s.jsx(f,{className:"w-5 h-5 text-red-500"}),setFunction:()=>a(void 0),stroke:"1"}),l.map((o,m)=>s.jsx(n,{content:o.name,icon:s.jsx(p,{className:"w-5 h-5",style:{color:o.color}}),setFunction:()=>a(o),stroke:"1"},m))]})})})})}export{E as default};
