!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.toStringTag||"@@toStringTag";function i(t,o,a,c){var i=o&&o.prototype instanceof l?o:l,s=Object.create(i.prototype);return e(s,"_invoke",function(t,e,o){var a,c,i,l=0,s=o||[],f=!1,p={p:0,n:0,v:n,a:v,f:v.bind(n,4),d:function(t,e){return a=t,c=0,i=n,p.n=e,u}};function v(t,e){for(c=t,i=e,r=0;!f&&l&&!o&&r<s.length;r++){var o,a=s[r],v=p.p,y=a[2];t>3?(o=y===e)&&(i=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=n):a[0]<=v&&((o=t<2&&v<a[1])?(c=0,p.v=e,p.n=a[1]):v<y&&(o=t<3||a[0]>e||e>y)&&(a[4]=t,a[5]=e,p.n=y,c=0))}if(o||t>1)return u;throw f=!0,e}return function(o,s,y){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&v(s,y),c=s,i=y;(r=c<2?n:i)||!f;){a||(c?c<3?(c>1&&(p.n=-1),v(c,i)):p.n=i:p.v=i);try{if(l=2,a){if(c||(o="next"),r=a[o]){if(!(r=r.call(a,i)))throw TypeError("iterator result is not an object");if(!r.done)return r;i=r.value,c<2&&(c=0)}else 1===c&&(r=a.return)&&r.call(a),c<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=n}else if((r=(f=p.n<0)?i:t.call(e,p))!==u)break}catch(r){a=n,c=1,i=r}finally{l=1}}return{value:r,done:f}}}(t,a,c),!0),s}var u={};function l(){}function s(){}function f(){}r=Object.getPrototypeOf;var p=[][a]?r(r([][a]())):(e(r={},a,function(){return this}),r),v=f.prototype=l.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,e(t,c,"GeneratorFunction")),t.prototype=Object.create(v),t}return s.prototype=f,e(v,"constructor",f),e(f,"constructor",s),s.displayName="GeneratorFunction",e(f,c,"GeneratorFunction"),e(v),e(v,c,"Generator"),e(v,a,function(){return this}),e(v,"toString",function(){return"[object Generator]"}),(t=function(){return{w:i,m:y}})()}function e(t,n,r,o){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}e=function(t,n,r,o){function c(n,r){e(t,n,function(t){return this._invoke(n,r,t)})}n?a?a(t,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[n]=r:(c("next",0),c("throw",1),c("return",2))},e(t,n,r,o)}function n(t,e,n,r,o,a,c){try{var i=t[a](c),u=i.value}catch(t){return void n(t)}i.done?e(u):Promise.resolve(u).then(r,o)}System.register(["./base-lib-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159"],function(e,r){"use strict";var o,a,c,i,u,l,s,f,p,v,y,d;return{setters:[function(t){o=t.c,a=t.r,c=t.q,i=t.v,u=t.x,l=t.z,s=t.y,f=t.A,p=t.e,v=t.b5},function(t){y=t.aM},function(t){d=t._},null,null,null],execute:function(){var r={class:"mw-con relative p-2rem"},b=["title"],m={class:"flex w-full justify-between mt-4px items-center text-#999"},g=o({__name:"progress",emits:["close"],setup:function(e,o){var d=o.emit,g=a({id:1,shell:"shell",project:"project",percentage:0,total:0,data_size:0,speed:0}),h=d,j=function(){var e,r=(e=t().m(function e(){var n,r;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,y();case 1:if(n=t.v,!(r=n.data).status||!r.speed){t.n=3;break}if(g.value=r,1!==r.copy_status){t.n=2;break}return h("close"),t.a(2);case 2:t.n=4;break;case 3:return h("close"),t.a(2);case 4:setTimeout(function(){j()},1500),t.n=6;break;case 5:t.p=5,t.v;case 6:return t.a(2)}},e,null,[[0,5]])}),function(){var t=this,r=arguments;return new Promise(function(o,a){var c=e.apply(t,r);function i(t){n(c,o,a,i,u,"next",t)}function u(t){n(c,o,a,i,u,"throw",t)}i(void 0)})});return function(){return r.apply(this,arguments)}}();return c(j),function(t,e){var n=v;return i(),u("div",null,[l("div",r,[l("span",{class:"fname",style:{width:"80%"},title:"正在下载: "+s(g).shell}," 正在迁移数据至目录: "+f(s(g).project),9,b),p(n,{percentage:s(g).percentage},null,8,["percentage"]),l("div",m,[l("span",null,f(s(g).total)+"/"+f(s(g).data_size),1),l("span",null,f(0==s(g).speed?"正在连接..":s(g).speed),1)]),e[0]||(e[0]=l("p",{style:{"padding-top":"10px",color:"#888"}},"注：迁移即将完成时mysql将会重启，进度会在100%前后波动，属于正常现象，等待迁移成功即可。",-1))])])}}});e("default",d(g,[["__scopeId","data-v-415a1fe3"]]))}}})}();
