import{j as i}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f.js";import{D as m,C as d,P as l,A as c}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f118.js";import{u as g}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f23.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f6.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f119.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f10.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f120.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f5.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f121.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f11.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f19.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f7.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f9.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f20.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f8.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f4.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f3.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f2.js";function M(){const{userTabs:t,sortUserTabs:s}=g(),n=r=>{r.destination&&s(r.source.index,r.destination.index)};return i.jsx(m,{onDragEnd:n,children:i.jsx(d,{droppableId:"userTabs",direction:"horizontal",children:r=>i.jsxs("div",{className:"flex items-center",...r.droppableProps,ref:r.innerRef,children:[t.map((e,a)=>e.hide===!0?null:i.jsx(l,{draggableId:e.id,index:a,children:(o,p)=>i.jsx("div",{ref:o.innerRef,...o.draggableProps,...o.dragHandleProps,children:i.jsx(c,{nome:e.tag,tam:e.chats.length,id:e.id,type:"tab",isMove:p.isDragging})})},e.id)),r.placeholder]})})})}export{M as default};
