import{getComposerLine as e}from"./site.js?v=1761009159";import{c as a,r as s,q as t,aF as r,v as l,x as n,z as o,y as i}from"./base-lib.js?v=1761009159";import"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const c={class:"h-full overflow-auto bg-[#222] text-white"},p=["innerHTML"],m=a({__name:"index",setup(a){const m=s("正在申请证书..."),u=s();return t(()=>{(async()=>{u.value=setInterval(async()=>{try{const{data:a}=await e({filename:"/www/server/panel/logs/letsencrypt.log",num:10});m.value=a.msg}catch(a){clearInterval(u.value)}},2e3)})()}),r(()=>{clearInterval(u.value)}),(e,a)=>(l(),n("div",c,[o("pre",{innerHTML:i(m),class:"whitespace-pre-wrap p-[1rem]"},null,8,p)]))}});export{m as default};
