import{j as t}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777.js";import{al as p,n as d}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277723.js";import{u as x}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277720.js";import{ar as n,c0 as u}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277711.js";import{c as f}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777105.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27778.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27777.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277719.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27774.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27773.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27772.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277710.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27776.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27779.js";function E({setChats:s,setActiveAgrupamento:i,agrupamentos:r}){const{variaveisWA:e}=p(),{language:l}=x(),{close:c}=d(),a=o=>{c(),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:l.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};
