import{d as m,s as h,_ as f,c as r,e as o,f as b,k as u,i as s,g as d,t as l,G as y,F as k,A as C}from"./index.0308b213.js";const g=m({components:{},props:{route:{type:Object,default:()=>({})}},setup(e){return{hasChildren:h(()=>{var t;return!!((t=e.route.children)!=null?t:[]).filter(a=>{var n;return!((n=a.meta)!=null&&n.hidden)}).length})}}});const v={class:"route-title"},$={class:"route-title"};function B(e,i,c,t,a,n){const p=r("el-sub-menu"),_=r("el-menu-item");return!e.route.meta.hidden&&(e.route.meta.module&&e.route.is_buy>-1?e.route.is_buy===1:!0)?(o(),b(k,{key:0},[e.hasChildren?(o(),u(p,{key:0,index:e.route.path},{title:s(()=>[d("span",v,l(e.route.meta.title),1)]),default:s(()=>[y(e.$slots,"default",{},void 0,!0)]),_:3},8,["index"])):(o(),u(_,{key:1,index:e.route.path},{default:s(()=>[d("span",$,l(e.route.meta.title),1)]),_:1},8,["index"]))],64)):C("",!0)}const F=f(g,[["render",B],["__scopeId","data-v-da39eb62"]]);export{F as default};
