import{o,c as h,j as t,H as m,L as p}from"./index-Be-Ylgi_.js";/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const d=o("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);function u({items:a=[],compactOnMobile:n=!1}){if(!a.length)return null;const l={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:a.map((e,s)=>({"@type":"ListItem",position:s+1,name:e.label,item:e.path?`${h.domain}${e.path}`:void 0}))},c=e=>!n||a.length<=2?!1:e>0&&e<a.length-1;return t.jsxs(t.Fragment,{children:[t.jsx(m,{children:t.jsx("script",{type:"application/ld+json",children:JSON.stringify(l)})}),t.jsx("nav",{"aria-label":"Breadcrumb",className:"bg-warm-gray border-b border-gray-200",children:t.jsx("div",{className:"container-width px-4 py-2.5 sm:py-3 overflow-hidden",children:t.jsx("ol",{className:"flex items-center gap-1 text-sm flex-nowrap",children:a.map((e,s)=>{const r=s===a.length-1,i=c(s);return t.jsxs("li",{className:`flex items-center gap-1 ${i?"hidden sm:flex":""} ${r?"min-w-0":"flex-shrink-0"}`,children:[s>0&&t.jsx(d,{className:"w-3.5 h-3.5 text-gray-400 flex-shrink-0"}),r?t.jsx("span",{className:"text-graphite font-medium truncate","aria-current":"page",title:e.label,children:e.label}):t.jsx(p,{to:e.path,className:"text-sky-accent hover:text-steel-blue transition-colors whitespace-nowrap",children:e.label})]},s)})})})})]})}export{u as B};