var l=Object.defineProperty,m=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var c=(e,s,r)=>s in e?l(e,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[s]=r,i=(e,s)=>{for(var r in s||(s={}))x.call(s,r)&&c(e,r,s[r]);if(o)for(var r of o(s))d.call(s,r)&&c(e,r,s[r]);return e},u=(e,s)=>m(e,p(s));import{aT as g,j as t,c_ as j,aX as h}from"./react-vendor-xYZnmIII.js";import{V as f,W as w,B as D,X as N,Y as y,c as C}from"./ui-components-CQM92IK3.js";import{g as M}from"./route-D0xh7FtZ.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./interactive-vendor-B1OgcAgP.js";const b=()=>{var n;const e=g(),s=M(e.url),r=e.props.statuses;return t.jsxs(f,{children:[t.jsx(w,{className:"flex items-center justify-center",children:t.jsxs(D,{variant:"ghost",className:"text-muted-foreground capitalize",children:[t.jsx("span",{children:(n=s.status)!=null?n:"Status"}),t.jsx(j,{className:"h-3 w-3 text-gray-700"})]})}),t.jsx(N,{align:"center",className:"min-w-[72px]",children:["all",...r].map(a=>t.jsx(y,{onClick:()=>h.get(route("courses.index",u(i({},s),{status:a}))),className:C("cursor-pointer text-center capitalize",s.status===a&&"bg-gray-100"),children:a},a))})]})};export{b as default};
