import{I as e,R as t,S as n,T as r,ht as i,pt as a,t as o,v as s,w as c,x as l}from"./folders.j8Vf02Wn.js";var u={key:0,class:`mb-3 flex items-center gap-1 text-sm`},d=[`onClick`],f={__name:`Breadcrumbs`,props:{folderId:{type:String,required:!0}},setup(f){let p=f,m=o(),h=l(()=>m.getBreadcrumb(p.folderId));return(o,l)=>h.value.length>1?(e(),r(`nav`,u,[(e(!0),r(s,null,t(h.value,t=>(e(),r(`button`,{key:t.id,onClick:e=>o.$emit(`navigate`,t.id),class:a([`hover:text-primary`,{"font-medium text-primary":t.id===p.folderId}])},i(t.name),11,d))),128)),l[0]||=n(`span`,{class:`text-muted-foreground`},`/`,-1)])):c(``,!0)}};export{f as t};