import{Ar as e,Rt as t}from"./index-C4rUrQJy.js";function n(){let n=e([]),r=e(!1);async function i(e){r.value=!0;try{n.value=(await t.getList(`/servers/`,{per_page:e?.perPage??200})).items}catch{n.value=[]}finally{r.value=!1}}return{servers:n,loading:r,loadServers:i}}export{n as t};