import{j as i}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777.js";import{D as m,C as d,P as l,A as c}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777117.js";import{u as g}from"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277723.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27776.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777118.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277710.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777119.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27775.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a2777120.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277711.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277719.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27777.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27779.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a277720.js";import"./v_7_4_3_5_5680d44b-ceb1-449a-bec3-8cbef70a27778.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";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};
