1import v from"./C8BGABDk.js";import{_ as w}from"./85NLK1zf.js";import{a$ as S,K as B,M as _,E as j,N as u,O as r,R as C,a0 as D,a1 as L,U as f,f as N,S as x,T as $,_ as p,V as b,Q as z}from"./B-rITWnd.js";const O=()=>{const m=S(),{locale:o,t:c}=B();return{breadcrumbs:_(()=>{const a=m.path.split("/").filter(Boolean),s=a[0]===o.value?a.slice(1):a,d=((s[0]==="compare"||s[0]==="vergelijken")&&s.length>1?[s[0]]:s).map((e,t)=>{const n="/"+[o.value,...s.slice(0,t+1)].join("/");let l;return e==="compare"||e==="vergelijken"?l=c("compare"):l=e.replace(/-/g," "),{text:l.charAt(0).toUpperCase()+l.slice(1),href:n}});return[{text:"Home",href:"/"+o.value},...d]})}},P={"aria-label":"Breadcrumb"},E={class:"flex flex-wrap gap-2 text-sm"},I={key:1},R={__name:"Breadcrumb",props:{isDark:{type:Boolean,default:!1},uid:{type:String,default:null}},setup(m){const{breadcrumbs:o}=O(),{locale:c}=B(),h=N(),a=m,s=e=>c.value==="nl"&&e==="/nl"?"/":c.value==="nl"&&e.startsWith("/nl/")?e.replace("/nl/","/"):e,g=e=>{let t=e.replace(/[-\s]\d+$/,"");return t=t.replace(/-/g," "),t=t.replace(/\b\w/g,n=>n.toUpperCase()),t},k=_(()=>o.value.map(e=>e.href.includes("/faculty/")&&e.text?{...e,text:g(e.text)}:e)),d=_(()=>({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:o.value.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.text,item:`${h.public.currentDomain}${s(e.href)}`}))}));return j({script:[{type:"application/ld+json",children:JSON.stringify(d.value)}]}),(e,t)=>{const n=v,l=w;return r(),u("nav",P,[C("ul",E,[(r(!0),u(D,null,L(f(k),(i,y)=>(r(),u("li",{key:i.href,class:"flex items-center"},[y!==0?(r(),x(n,{key:0,class:p(["mr-2 size-[6px]",[a.isDark?"text-textcolor":"text-white"]]),name:"fa7-solid:chevron-right"},null,8,["class"])):$("",!0),y===f(o).length-1?(r(),u("span",{key:1,class:p(["font-bold",[a.isDark?"text-textcolor":"text-white drop-shadow-sm"]])},b(i.text),3)):(r(),x(l,{key:2,to:s(i.href),class:p(["inline-flex items-center text-sm font-medium underline",[a.isDark?"text-textcolor":"text-white drop-shadow-sm"]])},{default:z(()=>[i.href===`/${f(c)}`?(r(),x(n,{key:0,class:p(["size-3",[a.isDark?"text-textcolor":"text-white drop-shadow-sm"]]),name:"fa7-solid:house","aria-label":"Back to homepage"},null,8,["class"])):(r(),u("span",I,b(i.text),1))]),_:2},1032,["to","class"]))]))),128))])])}}},A=Object.freeze(Object.defineProperty({__proto__:null,default:R},Symbol.toStringTag,{value:"Module"}));export{A as B,R as _,O as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.