File: /www/server/panel/BTPanel/static/js/index123.js
import{_ as s}from"./index124.js?v=1777008528";import{i as r,j as c}from"./utils-lib.js?v=1777008528";import{r as u,e as d,m,i as f}from"./base-lib.js?v=1777008528";function v(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!f(e)}const V=(e={})=>{const t=u(""),o=u([]),{currentRoute:a}=c;return(()=>{t.value=a.value.name,e.level?o.value=a.value.matched.slice(1,2):o.value=a.value.matched[1].children})(),{BtRouterTabs:(l,{slots:n})=>d(s,m({modelValue:t.value,"onUpdate:modelValue":i=>t.value=i,options:o.value,contentClass:e.contentClass,store:r(e.store)?!0:e.store,disabled:r(e.disabled)?!1:e.disabled},l),v(n)?n:{default:()=>[n]})}};export{V as u};