System.register(["./index-legacy-DWPn48Vb.js?v=1773287522785","./index-legacy-CHm18dY8.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,s){"use strict";var t,a,r,n,i,l,c,p,u,o,g,y,_,d,f;return{setters:[e=>{t=e._},e=>{a=e.g},e=>{r=e.ew,n=e.i},e=>{i=e.B},e=>{l=e.k,c=e.r,p=e.$,u=e.a8,o=e.S,g=e.a9,y=e.q,_=e._,d=e.a0,f=e.j}],execute:function(){e("_",l({__name:"task-view",props:{title:{type:String,default:"Copy Progress"},params:{type:String,default:"wp_copy"}},setup(e,{expose:s}){const l=e,m=c(!1),j=async()=>{const{message:e}=await a({progress_type:l.params});n(e)&&(m.value=0===e.status)};return j(),s({getTask:j}),(e,s)=>{const a=i,n=t;return p(),u(n,{install:!o(m)},{desc:g((()=>[s[2]||(s[2]=_("span",{class:"mr-10px"},"There are currently tasks in progress.",-1)),d(a,{onClick:s[0]||(s[0]=e=>{r(l.title,l.params,j)})},{default:g((()=>s[1]||(s[1]=[f("View")]))),_:1,__:[1]})])),default:g((()=>[y(e.$slots,"default")])),_:3},8,["install"])}}}))}}}));
