System.register(["./vue-legacy.js?v=1764830988434","./index-legacy85.js?v=1764830988434","./page_layout-legacy.js?v=1764830988434","./naive-legacy.js?v=1764830988434","./__commonjsHelpers__-legacy.js?v=1764830988434","./index-legacy133.js?v=1764830988434","./index-legacy.js?v=1764830988434","./common-legacy.js?v=1764830988434","./public-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy9.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy8.js?v=1764830988434","./index-legacy131.js?v=1764830988434","./php-legacy.js?v=1764830988434","./soft-legacy.js?v=1764830988434","./site-legacy.js?v=1764830988434","./site-legacy4.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy13.js?v=1764830988434","./index-legacy246.js?v=1764830988434","./index-legacy97.js?v=1764830988434","./index-legacy107.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy10.js?v=1764830988434","./index-legacy96.js?v=1764830988434","./index-legacy98.js?v=1764830988434","./theme-monokai-legacy.js?v=1764830988434","./file-legacy.js?v=1764830988434","./refersh-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy16.js?v=1764830988434","./index-legacy102.js?v=1764830988434","./ssl-legacy.js?v=1764830988434","./cert-legacy.js?v=1764830988434","./ssl-lets-progress-legacy.js?v=1764830988434","./utils-legacy3.js?v=1764830988434","./index-legacy218.js?v=1764830988434","./paypal-js-legacy.js?v=1764830988434","./upload-legacy.js?v=1764830988434"],function(e,l){"use strict";var s,t,a,u,n,c,r,p,_,i,y,g,d,o,j,v,x,m,f,k,b,h,I,w,T,z;return{setters:[e=>{s=e.k,t=e.r,a=e.c,u=e.o,n=e.b,c=e.R,r=e.V,p=e.S,_=e.a2,i=e.U,y=e.W,g=e.a3,d=e.F,o=e.O,j=e.l,v=e.a4,x=e.v},e=>{m=e.e},e=>{f=e.hp,k=e.T,b=e.hq,h=e.d,I=e.m,w=e.p},e=>{T=e.dk,z=e.da},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var l=document.createElement("style");l.textContent=".propress-box[data-v-939603d7]{border:1px solid var(--site-task-progress-border)}\n/*$vite$:1*/",document.head.appendChild(l);const C={class:"p-16px"},F={class:"mb-16px"},O={class:"propress-box p-10px rounded-8px"};e("default",w(s({__name:"progress",props:{params:{},callback:{type:Function}},setup(e){const l=e,s=t(!1),w=t([]),S=a(()=>w.value.findIndex(e=>0===e.status)+1),$=a(()=>w.value[S.value]?.status),q={0:"process",1:"finish","-1":"error",2:"wait"},E=e=>q[e];let H=null;const R=async()=>{const{message:e}=await m({progress_type:l.params});h(e)&&(1===e.status?(H&&clearInterval(H),I.success("Task completed!"),s.value=!0):s.value=!1,delete e.status,w.value=Object.values(e))};return u(()=>{R(),H=window.setInterval(()=>{R()},2e3)}),n(()=>{l.callback?.(),H&&clearInterval(H)}),(e,l)=>{const t=T,a=k,u=z,n=f,m=b;return r(),c("div",C,[p("div",F,[i(s)?(r(),_(t,{key:0,type:"success",title:"Task completed!"})):(r(),_(t,{key:1,type:"default",title:"In progress..."}))]),p("div",O,[y(m,{vertical:"",current:i(S),status:E(i($)),size:"small"},{default:g(()=>[(r(!0),c(d,null,o(i(w),(e,l)=>(r(),_(n,{key:l,status:E(e.status),description:e.error||e.ps},{title:g(()=>[y(u,{class:"flex-nowrap! items-center!"},{default:g(()=>[p("span",null,v(e.title),1),j(y(a,{size:"small"},null,512),[[x,0===e.status]])]),_:2},1024)]),_:2},1032,["status","description"]))),128))]),_:1},8,["current","status"])])])}}}),[["__scopeId","data-v-939603d7"]]))}}});
