import{n as f,x as m,ah as e}from"./index.js";function x(o={}){const{query:r}=f(),{collapseLen:t,baseName:s}=o,a=m([]),u=e(()=>r.id),l=e(()=>n.value?`${s}\u8BE6\u60C5`:`\u521B\u5EFA${s}`),n=e(()=>!!u.value);t&&(a.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:a}}export{x as u};
