import{j as i}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f10.js";import{D as m,C as d,P as l,A as c}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f116.js";import{b as g}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f23.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f18.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f6.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f4.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f8.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f5.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f19.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f7.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f117.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f9.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f118.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f119.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f2.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f3.js";function H(){const{userTabs:s,sortUserTabs:t}=g(),n=r=>{r.destination&&t(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:[s.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{H as default};
