import{d as r,k as m,i as a,L as l,N as i,O as p,e as _,o as f,u as b,P as d}from"./index-DH8HZ7DP.js";const C=r({__name:"custom-tab-view",setup(v){const o=l(),s=p(),{flattenedTabs:n}=m(),u=a(()=>o.params.name),t=a(()=>n.value.find(e=>u.value===e.name)||null);return i(()=>{if(!t.value){const e=setTimeout(()=>{if(t.value){clearTimeout(e);return}s.replace("/overview")},2e3)}}),(e,T)=>{const c=d;return f(),_(c,{tab:b(t)},null,8,["tab"])}}});export{C as default};
