import{j as s,ba as m}from"./vendor-mui-CBBEb17G.js";import{L as n}from"./vendor-react-BBazpZul.js";import{al as l,e as i,c as d,c$ as b}from"./index-DdWwwZXu.js";import"./vendor-utils-BveVE6Uf.js";const x={secondary:"#959393"},c=l(n)`
  color: ${x.secondary};
`,y=({prevRoutes:r,currentRoute:e})=>{const{userType:o}=i(a=>a.user);return s.jsxs(m,{"aria-label":"breadcrumb",className:"!p-1 !mb-2 !text-[0.8rem]",children:[r==null?void 0:r.map((a,t)=>s.jsx(c,{color:"secondary",to:a.path,children:a.title},t)),s.jsx(c,{to:"",className:d("",+o===b.accountant?"!text-[#175369]":"!text-blue-600"),children:e})]})};export{y as B};
