import{e as C}from"./chunk-CVBVVN6Q.js";import{Cb as x,Ka as a,T as l,Wa as d,_a as u,db as _,fb as b,gb as f,hb as i,ib as r,mb as m,na as p,ub as o,vb as s}from"./chunk-MFMPTNOZ.js";var v=(e,n)=>n.path;function y(e,n){if(e&1&&(i(0,"span",3),o(1),r()),e&2){let t=m().$implicit;a(),s(t.name)}}function h(e,n){if(e&1&&(i(0,"a",4),o(1),r(),i(2,"span",5),o(3,"/"),r()),e&2){let t=m().$implicit;u("routerLink",t.path),a(),s(t.name)}}function B(e,n){if(e&1&&(i(0,"li",2),d(1,y,2,1,"span",3)(2,h,4,2),r()),e&2){let t=n.$index,c=n.$count;a(),_(t===c-1?1:2)}}var g=class e{trail=p.required();static \u0275fac=function(t){return new(t||e)};static \u0275cmp=l({type:e,selectors:[["app-breadcrumbs"]],inputs:{trail:[1,"trail"]},standalone:!0,features:[x],decls:4,vars:0,consts:[["aria-label","Breadcrumb",1,"crumbs"],[1,"crumbs__list"],[1,"crumbs__item"],["aria-current","page"],[3,"routerLink"],["aria-hidden","true",1,"crumbs__sep"]],template:function(t,c){t&1&&(i(0,"nav",0)(1,"ol",1),b(2,B,3,1,"li",2,v),r()()),t&2&&(a(2),f(c.trail()))},dependencies:[C],styles:[".crumbs__list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:6px;list-style:none;font-size:.84rem;color:var(--muted)}.crumbs__item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px}a[_ngcontent-%COMP%]:hover{color:var(--brand);text-decoration:underline;text-underline-offset:3px}[aria-current=page][_ngcontent-%COMP%]{color:var(--ink);font-weight:600}.crumbs__sep[_ngcontent-%COMP%]{opacity:.5}"],changeDetection:0})};export{g as a};
