import{o as e}from"./useStore-B9WcefOa.js";import{t}from"./link-CSxX31-N.js";import{i as n,s as r}from"./jobs-Ca2gmfn5.js";import{i,n as a,r as o,t as s}from"./Layout-uiA8q21U.js";var c=e();function l(){let{data:e,isPending:l,error:u}=r({queryKey:[`jobs`,`published`],queryFn:n});return(0,c.jsx)(i,{children:(0,c.jsxs)(s,{children:[(0,c.jsx)(a,{children:`Careers at Art Source International`}),(0,c.jsxs)(o,{children:[(0,c.jsx)(`p`,{children:`For more than four decades we have been the caretakers of an extraordinary collection of antique maps, prints and posters on Boulder’s Historic Pearl Street Mall. Our team is small, curious and deeply attached to the material we handle every day.`}),(0,c.jsx)(`p`,{children:`If you love history, craftsmanship and helping people find the one map that means something to them, we would like to hear from you. All openings below are current.`})]}),(0,c.jsxs)(`div`,{className:`mt-10 space-y-5`,children:[l&&(0,c.jsx)(`p`,{className:`text-muted-foreground`,children:`Loading current openings…`}),u&&(0,c.jsx)(`p`,{className:`text-destructive`,children:`We couldn’t load openings right now. Please try again.`}),e?.length===0&&(0,c.jsxs)(`p`,{className:`border border-border bg-card p-6`,children:[`There are no openings posted at the moment. We still welcome speculative applications — write to us via the`,` `,(0,c.jsx)(t,{to:`/contact-us`,className:`text-maroon underline`,children:`contact page`}),`.`]}),e?.map(e=>(0,c.jsxs)(`article`,{className:`border border-border bg-card p-6 shadow-sm`,children:[(0,c.jsxs)(`div`,{className:`flex flex-wrap items-baseline justify-between gap-3`,children:[(0,c.jsx)(`h2`,{className:`font-display text-2xl text-maroon`,children:(0,c.jsx)(t,{to:`/careers/$slug`,params:{slug:e.slug},className:`hover:underline`,children:e.title})}),(0,c.jsx)(`span`,{className:`text-sm uppercase tracking-wide text-gold-dark`,children:e.employment_type})]}),(0,c.jsxs)(`p`,{className:`mt-1 text-sm text-muted-foreground`,children:[e.department,` · `,e.location,e.salary_range?` · ${e.salary_range}`:``]}),(0,c.jsx)(`p`,{className:`mt-3 text-[17px] leading-relaxed text-foreground/90`,children:e.summary}),(0,c.jsx)(t,{to:`/careers/$slug`,params:{slug:e.slug},className:`mt-4 inline-block bg-maroon px-5 py-2.5 text-sm uppercase tracking-wide text-primary-foreground hover:bg-maroon-dark`,children:`View role & apply`})]},e.id))]})]})})}export{l as component};