import{d as m,M as i,Y as k,e as t,c as a,i as n,j as _,o,m as f,u as s,bY as x,l as P,bZ as y,b_ as b,F as h,a as v}from"./index-bD6G21oH.js";import{u as w}from"./usePageTitle-27XdpEbQ.js";const F=m({__name:"WorkPools",setup(g){const r=i(),l={interval:3e4},e=k(r.workPools.getWorkPools,[{}],l),c=t(()=>e.response??[]),u=t(()=>e.executed&&c.value.length==0),p=t(()=>e.executed);return w("Work Pools"),(C,B)=>{const d=_("p-layout-default");return o(),a(d,{class:"work-pools"},{header:n(()=>[f(s(x))]),default:n(()=>[p.value?(o(),P(h,{key:0},[u.value?(o(),a(s(y),{key:0})):(o(),a(s(b),{key:1,onUpdate:s(e).refresh},null,8,["onUpdate"]))],64)):v("",!0)]),_:1})}}});export{F as default};
