import{j as e}from"./react-vendor-xYZnmIII.js";import{A as i,h as r,i as l,B as c}from"./ui-components-CQM92IK3.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./interactive-vendor-B1OgcAgP.js";const h=t=>{const{table:s}=t;return[{accessorKey:"profile",header:()=>e.jsx("div",{className:"pl-4",children:s.name}),cell:({row:a})=>e.jsxs("div",{className:"flex items-center gap-2 pl-4 capitalize",children:[e.jsxs(i,{children:[e.jsx(r,{src:a.original.user.photo||"",alt:a.original.user.name,className:"object-cover"}),e.jsx(l,{children:a.original.user.name.charAt(0)})]}),e.jsxs("div",{children:[e.jsx("p",{children:a.original.user.name}),e.jsx("p",{children:a.original.user.email})]})]})},{accessorKey:"amount",header:()=>e.jsx("div",{className:"text-center",children:s.payout_amount}),cell:({row:a})=>e.jsx("div",{className:"text-center capitalize",children:e.jsxs("p",{children:[a.original.amount,"$"]})})},{accessorKey:"status",header:()=>e.jsx("div",{className:"text-center",children:s.status}),cell:({row:a})=>e.jsx("div",{className:"text-center capitalize",children:a.getValue("status")})},{id:"action",header:()=>e.jsx("div",{className:"pr-4 text-end",children:s.action}),cell:({row:a})=>e.jsx("div",{className:"pr-4 text-end",children:e.jsx(c,{asChild:!0,type:"button",children:e.jsx("a",{href:route("payouts.gateway.index",{slug:"web",request_id:a.original.id}),children:s.pay})})})}]};export{h as default};
