HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/backup-log-legacy.js
!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function u(n,o,a,i){var u=o&&o.prototype instanceof l?o:l,s=Object.create(u.prototype);return r(s,"_invoke",function(n,r,o){var a,i,u,l=0,s=o||[],f=!1,p={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return a=t,i=0,u=e,p.n=n,c}};function v(n,r){for(i=n,u=r,t=0;!f&&l&&!o&&t<s.length;t++){var o,a=s[t],v=p.p,m=a[2];n>3?(o=m===r)&&(u=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=v&&((o=n<2&&v<a[1])?(i=0,p.v=r,p.n=a[1]):v<m&&(o=n<3||a[0]>r||r>m)&&(a[4]=n,a[5]=r,p.n=m,i=0))}if(o||n>1)return c;throw f=!0,r}return function(o,s,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&v(s,m),i=s,u=m;(t=i<2?e:u)||!f;){a||(i?i<3?(i>1&&(p.n=-1),v(i,u)):p.n=u:p.v=u);try{if(l=2,a){if(i||(o="next"),t=a[o]){if(!(t=t.call(a,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,i<2&&(i=0)}else 1===i&&(t=a.return)&&t.call(a),i<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((t=(f=p.n<0)?u:n.call(r,p))!==c)break}catch(t){a=e,i=1,u=t}finally{l=1}}return{value:t,done:f}}}(n,a,i),!0),s}var c={};function l(){}function s(){}function f(){}t=Object.getPrototypeOf;var p=[][a]?t(t([][a]())):(r(t={},a,function(){return this}),t),v=f.prototype=l.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,i,"GeneratorFunction")),e.prototype=Object.create(v),e}return s.prototype=f,r(v,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,i,"GeneratorFunction"),r(v),r(v,i,"Generator"),r(v,a,function(){return this}),r(v,"toString",function(){return"[object Generator]"}),(n=function(){return{w:u,m:m}})()}function r(e,t,n,o){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}r=function(e,t,n,o){function i(t,n){r(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},r(e,t,n,o)}function o(e,t,n,r,o,a,i){try{var u=e[a](i),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function u(e){o(i,r,a,u,c,"next",e)}function c(e){o(i,r,a,u,c,"throw",e)}u(void 0)})}}System.register(["./index-legacy206.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(t,r){"use strict";var o,i,u,c,l,s,f,p,v,m,d,y,g,b,h,j,w,x,_,k;return{setters:[function(e){o=e._},function(e){i=e.c,u=e.r,c=e.w,l=e.o,s=e.aH,f=e.j,p=e.k,v=e.q,m=e.s,d=e.p,y=e.e,g=e.v,b=e.x,h=e.z},function(e){j=e.f,w=e.w,x=e.k},function(e){_=e.getBackupLogs,k=e.stopBackup},null,null,null,null],execute:function(){var r={class:"p-2rem flex-wrap"},O={class:"relative w-full text-medium flex items-center leading-4rem mb-1rem justify-between"},S={class:"ml-1rem"},T={class:"grid grid-cols-3 leading-3rem py-1rem text-base"},A={class:"flex items-center mr-1rem"},C={class:"truncate flex-1"},P={class:"flex items-center mr-1rem"},G={class:"truncate flex-1"},D={class:"flex items-center"},E={class:"truncate flex-1"};t("default",i({__name:"backup-log",props:{compData:{default:function(){return{type:"scan",endMsg:"扫描结束",logPath:"",successMsg:"修复成功",isClear:!1,completeEvent:null,id:""}}}},emits:["close","onCancel"],setup:function(t,i){var F=i.expose,H=i.emit,I=t,M=H,q=u(""),B=u(""),L=u(""),z=u("");c(function(){return I.compData},function(e){$.value=!0,Q()});var N=j(),U=u("获取中...\t"),$=u(!0),J=u(null),K=!1,Q=function(){var e=a(n().m(function e(){var t,r,o;return n().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!K){e.n=1;break}return e.a(2);case 1:return e.p=1,e.n=2,_({id:I.compData.id});case 2:if(t=e.v,r=t.data,U.value!==r.msg&&(U.value=r.msg),null!=r&&r.total&&(q.value=r.total,B.value=r.speed,L.value=r.site_name,z.value=r.title),!r.stop){e.n=3;break}return $.value=!1,r.status?(N.success(r.title),M("close"),V()):(N.error(r.title),$.value=!1),e.a(2);case 3:!r.stop&&$.value&&(J.value=setTimeout(function(){Q()},1e3)),e.n=5;break;case 4:e.p=4,o=e.v,console.log(o),$.value&&Q();case 5:return e.a(2)}},e,null,[[1,4]])}));return function(){return e.apply(this,arguments)}}(),R=function(){var e=a(n().m(function e(){return n().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,w({width:"40rem",title:"取消备份",content:'<p>取消选中站点备份文件后,<span class="text-danger">该站点备份文件将永久消失</span>,是否继续?</p>',icon:"warning-filled",isHtml:!0});case 1:return e.n=2,x({loading:"正在取消备份,请稍后...",request:k({id:I.compData.id}),message:!0});case 2:M("close");case 3:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),V=function(){J.value&&clearTimeout(J.value)},W=function(){I.compData.isClear&&clearTimeout(J.value)};return M("onCancel",W),l(function(){Q()}),s(function(){V(),K=!0}),F({onCancel:W}),function(t,n){var a=h,i=o;return f(),p("div",r,[v("div",O,[v("div",null,[n[0]||(n[0]=v("i",{class:"svgtofont-el-loading text-iconLarge"},null,-1)),v("span",S,m(d(z)||"正在备份,请稍后..."),1)]),y(a,{type:"warning",plain:"",onClick:R},{default:g(function(){return e(n[1]||(n[1]=[b("取消备份",-1)]))}),_:1})]),n[5]||(n[5]=v("hr",{class:"!border-dark"},null,-1)),v("div",T,[v("div",A,[n[2]||(n[2]=v("span",null,"备份网站:",-1)),v("div",C,m(d(L)||"--"),1)]),v("div",P,[n[3]||(n[3]=v("div",null,"已备份:",-1)),v("div",G,m(d(q)||"--"),1)]),v("div",D,[n[4]||(n[4]=v("div",null,"备份速度:",-1)),v("div",E,m(d(B)||"--"),1)])]),y(i,{class:"h-[30rem]",content:d(U)},null,8,["content"])])}}}))}}})}();