import{q as n,j as e,J as a}from"./app-Bup04Qnx.js";import{A as i}from"./AuthenticatedLayout-BdDF4YYO.js";function u({children:t,customBreadcrumb:r=null}){const{props:s}=n();return e.jsx(i,{title:s.title,Breadcrumb:r??c,children:e.jsx("div",{className:"flex flex-wrap items-center justify-center w-full gap-4 pt-2 sm:pt-0",children:t})})}const c=({currentLabel:t})=>{var l;const{props:r}=n();let s=r.page.url;return e.jsx("div",{className:"text-sm text-gray-500 breadcrumbs overflow-auto scrollbar-none",children:e.jsxs("ul",{children:[e.jsx("li",{children:e.jsx(a,{href:s,className:"text-primary hover:underline",children:(l=r.page)==null?void 0:l.label})}),e.jsx("li",{children:e.jsx(a,{href:r.location,className:"hover:underline",children:t})})]})})};export{u as F};
