import{d as m,M as k,f as _,g as t,c as a,j as n,l as i,o,n as f,u as s,b_ as P,m as x,b$ as y,c0 as g,F as h,a as v}from"./index-bJiZR03d.js";import{u as w}from"./usePageTitle-wT6f1BZv.js";const F=m({__name:"WorkPools",setup(b){const r=k(),l={interval:3e4},e=_(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=i("p-layout-default");return o(),a(d,{class:"work-pools"},{header:n(()=>[f(s(P))]),default:n(()=>[p.value?(o(),x(h,{key:0},[u.value?(o(),a(s(y),{key:0})):(o(),a(s(g),{key:1,onUpdate:s(e).refresh},null,8,["onUpdate"]))],64)):v("",!0)]),_:1})}}});export{F as default};
