const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/breadcrumb.132zBcCK.js","assets/vue.D1BjjNmv.js","assets/index.Df8UJ10K.js","assets/index.B3U2FkM1.css","assets/_plugin-vue_export-helper.DlAUqK2U.js","assets/breadcrumb.CgSM-oQ7.css","assets/user.Dr7hTJzI.js","assets/user.CQ3p3Jyy.css","assets/index.CG3ZGFG_.js","assets/logo-mini.DjPeV5ul.js","assets/index.BvP9MTMN.css","assets/horizontal.zr8dak_w.js","assets/routeFilter._N12e_OU.js","assets/horizontal.ovC_J9f1.css"])))=>i.map(i=>d[i]);
import{ay as D,u as P,e as l,_ as n}from"./index.Df8UJ10K.js";import{a as v,aC as p,aB as V,_ as F,f,q as M,W as O,c as w,o as d,J as h,M as L,S as C,u as a,aA as r}from"./vue.D1BjjNmv.js";import{f as _}from"./routeFilter._N12e_OU.js";import{_ as N}from"./_plugin-vue_export-helper.DlAUqK2U.js";const U={class:"layout-navbars-breadcrumb-index"},q=v({name:"layoutBreadcrumbIndex"}),z=v({...q,setup(H){const R=r(()=>n(()=>import("./breadcrumb.132zBcCK.js"),__vite__mapDeps([0,1,2,3,4,5]))),y=r(()=>n(()=>import("./user.Dr7hTJzI.js"),__vite__mapDeps([6,2,1,3,4,7]))),S=r(()=>n(()=>import("./index.CG3ZGFG_.js"),__vite__mapDeps([8,1,2,3,9,4,10]))),E=r(()=>n(()=>import("./horizontal.zr8dak_w.js"),__vite__mapDeps([11,2,1,3,12,4,13]))),I=D(),g=P(),{themeConfig:i}=p(g),{routesList:c}=p(I),x=V(),u=F({menuList:[]}),B=f(()=>{let{isShowLogo:e,layout:t}=i.value;return e&&t==="classic"||e&&t==="transverse"}),T=f(()=>{let{layout:e,isClassicSplitMenu:t}=i.value;return e==="transverse"||t&&e==="classic"}),m=()=>{let{layout:e,isClassicSplitMenu:t}=i.value;if(e==="classic"&&t){u.menuList=b(_(c.value));const s=k(x.path);l.emit("setSendClassicChildren",s)}else u.menuList=_(c.value)},b=e=>(e.map(t=>{t.children&&delete t.children}),e),k=e=>{const t=e.split("/");let s={children:[]};return _(c.value).map((o,A)=>{o.path===`/${t[1]}`&&(o.k=A,s.item={...o},s.children=[{...o}],o.children&&(s.children=o.children))}),s};return M(()=>{m(),l.on("getBreadcrumbIndexSetFilterRoutes",()=>{m()})}),O(()=>{l.off("getBreadcrumbIndexSetFilterRoutes",()=>{})}),(e,t)=>(d(),w("div",U,[B.value?(d(),h(a(S),{key:0})):L("",!0),C(a(R)),T.value?(d(),h(a(E),{key:1,menuList:u.menuList},null,8,["menuList"])):L("",!0),C(a(y))]))}}),G=N(z,[["__scopeId","data-v-52430224"]]);export{G as default};
