import{_ as l}from"./BPGlG4fs.js";import{_ as u}from"./B1hFXDSo.js";import{_ as f}from"./VtShh4ot.js";import{u as x}from"./B05FQdWE.js";import{u as g}from"./BQQaT5gs.js";import{v as k,y,_ as C,p as i,w as h,o as p}from"./Cnd9iBQV.js";import"./BeVOzwgQ.js";import"./DR3mTHjm.js";import"./4Fu3KWqy.js";import"./DlEGe1nb.js";import"./DRbKVxPY.js";import"./BUwyqA8M.js";import"./D52ZwoQC.js";import"./BUTIni3S.js";const w=k({__name:"index",async setup(d,{expose:m}){m();let e,t;const{getChartData:n}=x(48,.5),{data:c,error:a,status:_}=([e,t]=y(()=>n()),e=await e,t(),e),s=["CPU","Memory","Disk","LoadAverage","Network","TopProcesses"],{tracker:o}=g();o("page_view","page","monitoring");const r={getChartData:n,data:c,error:a,status:_,titles:s,tracker:o};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}});function v(d,m,e,t,n,c){const a=l,_=u,s=f;return p(),i(s,null,{default:h(()=>{var o,r;return[t.status!=="pending"&&((o=t.data)!=null&&o.data)?(p(),i(a,{key:0,titles:t.titles,data:(r=t.data)==null?void 0:r.data,layout:"thirdColumGrid",pending:t.status==="pending"},null,8,["data","pending"])):(p(),i(_,{key:1,error:t.error},null,8,["error"]))]}),_:1})}const O=C(w,[["render",v],["__file","index.vue"]]);export{O as default};
