import{A,i as D,k as d,n as r}from"./index.8a64ecdf.js";import{d as C,ak as p,an as V,Q as O,k as f,j as F,P as M,o as _,c as j,E as h,u as a,J as v,M as L,am as i}from"./vue.95e072e2.js";import{_ as w}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.58179425.js";import"./echarts.72dc8373.js";const H={class:"layout-navbars-breadcrumb-index"},N=C({name:"layoutBreadcrumbIndex"}),U=C({...N,setup(z){const y=i(()=>r(()=>import("./breadcrumb.395a29b6.js"),["assets/breadcrumb.395a29b6.js","assets/vue.95e072e2.js","assets/index.8a64ecdf.js","assets/elementPlus.58179425.js","assets/echarts.72dc8373.js","assets/index.c1001ae2.css","assets/_plugin-vue_export-helper.c27b6911.js","assets/breadcrumb.5deafc24.css"])),R=i(()=>r(()=>import("./user.12de5887.js"),["assets/user.12de5887.js","assets/index.8a64ecdf.js","assets/vue.95e072e2.js","assets/elementPlus.58179425.js","assets/echarts.72dc8373.js","assets/index.c1001ae2.css","assets/_plugin-vue_export-helper.c27b6911.js","assets/user.8c32f151.css"])),b=i(()=>r(()=>import("./index.b1f8c938.js"),["assets/index.b1f8c938.js","assets/vue.95e072e2.js","assets/index.8a64ecdf.js","assets/elementPlus.58179425.js","assets/echarts.72dc8373.js","assets/index.c1001ae2.css","assets/ansjer_image.bff06960.js","assets/_plugin-vue_export-helper.c27b6911.js","assets/index.8f0cc000.css"])),g=i(()=>r(()=>import("./horizontal.d233e1a2.js"),["assets/horizontal.d233e1a2.js","assets/index.8a64ecdf.js","assets/vue.95e072e2.js","assets/elementPlus.58179425.js","assets/echarts.72dc8373.js","assets/index.c1001ae2.css","assets/_plugin-vue_export-helper.c27b6911.js","assets/horizontal.f075ceb8.css"])),x=A(),E=D(),{themeConfig:c}=p(E),{routesList:u}=p(x),k=V(),l=O({menuList:[]}),I=f(()=>{let{isShowLogo:t,layout:e}=c.value;return t&&e==="classic"||t&&e==="transverse"}),S=f(()=>{let{layout:t,isClassicSplitMenu:e}=c.value;return t==="transverse"||e&&t==="classic"}),m=()=>{let{layout:t,isClassicSplitMenu:e}=c.value;if(t==="classic"&&e){l.menuList=T(o(u.value));const s=B(k.path);d.emit("setSendClassicChildren",s)}else l.menuList=o(u.value)},T=t=>(t.map(e=>{e.children&&delete e.children}),t),o=t=>t.filter(e=>{var s;return!((s=e.meta)!=null&&s.isHide)}).map(e=>(e=Object.assign({},e),e.children&&(e.children=o(e.children)),e)),B=t=>{const e=t.split("/");let s={children:[]};return o(u.value).map((n,P)=>{n.path===`/${e[1]}`&&(n.k=P,s.item={...n},s.children=[{...n}],n.children&&(s.children=n.children))}),s};return F(()=>{m(),d.on("getBreadcrumbIndexSetFilterRoutes",()=>{m()})}),M(()=>{d.off("getBreadcrumbIndexSetFilterRoutes",()=>{})}),(t,e)=>(_(),j("div",H,[I.value?(_(),h(a(b),{key:0})):v("",!0),L(a(y)),S.value?(_(),h(a(g),{key:1,menuList:l.menuList},null,8,["menuList"])):v("",!0),L(a(R))]))}});const K=w(U,[["__scopeId","data-v-3b707f43"]]);export{K as default};
