import{j as f,n as m,aa as e}from"./index.js";function y(o={}){const{query:r}=f(),{collapseLen:t,baseName:a}=o,s=m([]),u=e(()=>r.id),l=e(()=>n.value?`${a}\u8BE6\u60C5`:`\u521B\u5EFA${a}`),n=e(()=>!!u.value);t&&(s.value=c(t));function c(i){return Array(i).fill(0).map((d,p)=>String(p+1))}return{id:u,title:l,isDetail:n,collapses:s}}export{y as u};
