module.exports=[42869,a=>{"use strict";var b=a.i(84002),c=a.i(57001);let d=(0,a.i(97632).default)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);var e=a.i(99570),f=a.i(21584);a.s(["ReprovisionButton",0,function({action:a}){let[g,h]=(0,c.useTransition)();return(0,b.jsxs)(e.Button,{variant:"outline",size:"sm",onClick:function(){h(async()=>{let b=await a();if(!b.ok)return void f.toast.error(b.error);let c=b.created.length,d=b.existed.length;f.toast.success(c>0?`Provisioned ${c} new agent${1===c?"":"s"}.`:`All ${d} agents already exist.`)})},disabled:g,children:[(0,b.jsx)(d,{className:`mr-1.5 size-4 ${g?"animate-spin":""}`}),g?"Provisioning...":"Reprovision agents"]})}],42869)}];

//# sourceMappingURL=src_components_reprovision-button_tsx_07gc91k._.js.map