System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785"],(function(a,e){"use strict";var t,n,o,r,s,l,i,b,d,p,u,v,c,f,y,g;return{setters:[a=>{t=a.k,n=a.an,o=a.$,r=a.a8,s=a.a9,l=a.q,i=a.Z,b=a.F,d=a.P,p=a.ad,u=a.s,v=a.ak,c=a.ao},a=>{f=a.$,y=a.Z},a=>{g=a.c}],execute:function(){var e=document.createElement("style");e.textContent=".bt-tabs[data-v-aa13f51f]{--n-tab-gap: 4px;--n-tab-border-radius: 0;--n-tab-text-color-active: var(--tabs-active-text-color);--n-tab-border-color: var(--tabs-border-color);--n-tab-padding-vertical: 0 16px;--n-pane-padding-top: 16px;--n-pane-padding-left: 0;--n-pane-padding-right: 0;--n-pane-padding-bottom: 0}.bt-tabs[data-v-aa13f51f]>.n-tabs-nav .n-tabs-wrapper .n-tabs-tab-wrapper .n-tabs-tab{height:32px;border-bottom:none;background:var(--tabs-bg)}.bt-tabs[data-v-aa13f51f]>.n-tabs-nav .n-tabs-wrapper .n-tabs-tab-wrapper .n-tabs-tab--active{background:var(--tabs-active-bg)}.bt-tabs[data-v-aa13f51f]>.n-tab-pane{flex:1;overflow:auto}\n/*$vite$:1*/",document.head.appendChild(e),a("_",g(t({__name:"index",props:c({data:{},options:{default:()=>[]}},{value:{},valueModifiers:{}}),emits:c(["click"],["update:value"]),setup(a,{expose:e,emit:t}){const c=n(a,"value"),g=t,m=()=>{c.value&&k[c.value]?.init?.()},k={};return e({init:m,onConfirm:async a=>{c.value&&await(k[c.value]?.onConfirm?.(a))},setValue:a=>{c.value=a},getCompRef:a=>k[a]}),(a,e)=>{const t=f,n=y;return o(),r(n,{value:c.value,"onUpdate:value":e[0]||(e[0]=a=>c.value=a),class:"bt-tabs h-full",type:"card",placement:"top"},{default:s((()=>[l(a.$slots,"default",{},void 0,!0),(o(!0),i(b,null,d(a.options,(e=>(o(),i(b,{key:e.key},[!1!==e.show?(o(),r(t,{key:0,name:e.key,tab:e.label,"display-directive":e.isLazy?"show:lazy":"if","tab-props":{onClick:a=>{((a,e)=>{g("click",a),e===c.value&&m()})(a,e.key)}}},{default:s((()=>[e.component?(o(),r(p(e.component),u({key:0,ref_for:!0,ref:a=>((a,e)=>{k[e]=a})(a,e.key)},{ref_for:!0},{...a.data,...e.data}),null,16)):v("",!0)])),_:2},1032,["name","tab","display-directive","tab-props"])):v("",!0)],64)))),128))])),_:3},8,["value"])}}}),[["__scopeId","data-v-aa13f51f"]]))}}}));
