import{j as i}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d15.js";import{D as m,C as d,P as l,A as c}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1119.js";import{u as g}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d123.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d112.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d18.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1120.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1121.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d111.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1122.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d17.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d16.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d14.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d13.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d12.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-2585c84ec3d120.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};
