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