import{j as e,S as m,cH as h,a9 as j}from"./vendor-laZsiqLO.js";import{I as f}from"./input-CT5MkJwj.js";import{S as s,a,b as r,c,f as l}from"./select-CL6nQF7f.js";import"./utils-RgT4yCq8.js";function w({search:t,setSearch:n,statusFilter:d,setStatusFilter:u,sourceFilter:i,setSourceFilter:x}){return e.jsxs("div",{className:"flex flex-col md:flex-row gap-4 mb-6",children:[e.jsxs("div",{className:"relative w-full md:max-w-sm",children:[e.jsx(m,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),e.jsx(f,{placeholder:"Search headlines, authors...",className:"pl-9 bg-background",value:t,onChange:o=>n(o.target.value)})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 w-full md:w-auto",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(h,{className:"w-4 h-4 text-muted-foreground hidden sm:block"}),e.jsxs(s,{value:d,onValueChange:u,children:[e.jsx(a,{className:"w-full sm:w-[160px]",children:e.jsx(r,{placeholder:"Filter Status"})}),e.jsxs(c,{children:[e.jsx(l,{value:"all",children:"All Status"}),e.jsx(l,{value:"pending",children:"Pending"}),e.jsx(l,{value:"published",children:"Published"}),e.jsx(l,{value:"rejected",children:"Rejected"})]})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(j,{className:"w-4 h-4 text-muted-foreground hidden sm:block"}),e.jsxs(s,{value:i,onValueChange:x,children:[e.jsx(a,{className:"w-full sm:w-[160px]",children:e.jsx(r,{placeholder:"Source"})}),e.jsxs(c,{children:[e.jsx(l,{value:"all",children:"All Sources"}),e.jsx(l,{value:"rss",children:"RSS Imports"}),e.jsx(l,{value:"manual",children:"Manual Entry"})]})]})]})]})]})}export{w as default};
