import{s as t}from"./index.e3896b23.js";const c=(e,s)=>{s.meta&&s.meta.affix||(t.tabsStore.delView(s),i(e,t.tabsStore.visitedViews,s))},r=(e,s)=>{e.push(s),t.tabsStore.delOthersViews(s)},f=(e,s)=>{t.tabsStore.delAllViews(),i(e,t.tabsStore.visitedViews,s)},i=(e,s,a)=>{const l=s.slice(-1)[0];l?e.push(l.fullPath):a.name==="Home"?e.replace({path:"/redirect"+a.fullPath}):e.push("/")};export{f as a,r as b,c};
