import{j as e,S as p}from"./vendor-radix-DNp60FuA.js";import{r as l,L as f}from"./vendor-react-DL0tRKZA.js";import{p as o}from"./index-DyYtMrmN.js";import{C as h}from"./chevron-right-BRHR7U8q.js";const c=l.forwardRef(({...r},t)=>e.jsx("nav",{ref:t,"aria-label":"breadcrumb",...r}));c.displayName="Breadcrumb";const m=l.forwardRef(({className:r,...t},a)=>e.jsx("ol",{ref:a,className:o("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",r),...t}));m.displayName="BreadcrumbList";const d=l.forwardRef(({className:r,...t},a)=>e.jsx("li",{ref:a,className:o("inline-flex items-center gap-1.5",r),...t}));d.displayName="BreadcrumbItem";const x=l.forwardRef(({asChild:r,className:t,...a},i)=>{const s=r?p:"a";return e.jsx(s,{ref:i,className:o("transition-colors hover:text-foreground",t),...a})});x.displayName="BreadcrumbLink";const b=l.forwardRef(({className:r,...t},a)=>e.jsx("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:o("font-normal text-foreground",r),...t}));b.displayName="BreadcrumbPage";const u=({children:r,className:t,...a})=>e.jsx("li",{role:"presentation","aria-hidden":"true",className:o("[&>svg]:size-3.5",t),...a,children:r??e.jsx(h,{})});u.displayName="BreadcrumbSeparator";const g=({items:r,className:t,variant:a="light"})=>{const i={light:"text-white [&_a]:text-white/70 [&_a:hover]:text-white [&_span]:text-white [&_svg]:text-white/50",dark:"text-gray-600 dark:text-gray-300"};return e.jsx(c,{className:o(i[a],t),children:e.jsx(m,{children:r.map((s,n)=>e.jsxs("div",{className:"contents",children:[e.jsx(d,{children:s.href&&!s.isActive?e.jsx(x,{asChild:!0,children:e.jsx(f,{to:s.href,className:"font-semibold text-[15px] duration-500 ease-in-out",children:s.label})}):e.jsx(b,{className:"font-semibold text-[15px]",children:s.label})}),n<r.length-1&&e.jsx(u,{className:"text-[15px]"})]},n))})})},v=({position:r="bottom-center",className:t,...a})=>{const i={"bottom-center":"absolute bottom-5 left-0 right-0 z-10 flex justify-center","bottom-left":"absolute bottom-5 left-5 z-10","bottom-right":"absolute bottom-5 right-5 z-10"};return e.jsx("div",{className:o(i[r],t),children:e.jsx(g,{variant:"light",...a})})};export{v as H};