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/index-legacy135.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,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.toStringTag||"@@toStringTag";function c(n,a,o,i){var c=a&&a.prototype instanceof u?a:u,s=Object.create(c.prototype);return r(s,"_invoke",function(n,r,a){var o,i,c,u=0,s=a||[],f=!1,p={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,n){return o=t,i=0,c=e,p.n=n,l}};function m(n,r){for(i=n,c=r,t=0;!f&&u&&!a&&t<s.length;t++){var a,o=s[t],m=p.p,v=o[2];n>3?(a=v===r)&&(c=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=e):o[0]<=m&&((a=n<2&&m<o[1])?(i=0,p.v=r,p.n=o[1]):m<v&&(a=n<3||o[0]>r||r>v)&&(o[4]=n,o[5]=r,p.n=v,i=0))}if(a||n>1)return l;throw f=!0,r}return function(a,s,v){if(u>1)throw TypeError("Generator is already running");for(f&&1===s&&m(s,v),i=s,c=v;(t=i<2?e:c)||!f;){o||(i?i<3?(i>1&&(p.n=-1),m(i,c)):p.n=c:p.v=c);try{if(u=2,o){if(i||(a="next"),t=o[a]){if(!(t=t.call(o,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,i<2&&(i=0)}else 1===i&&(t=o.return)&&t.call(o),i<2&&(c=TypeError("The iterator does not provide a '"+a+"' method"),i=1);o=e}else if((t=(f=p.n<0)?c:n.call(r,p))!==l)break}catch(t){o=e,i=1,c=t}finally{u=1}}return{value:t,done:f}}}(n,o,i),!0),s}var l={};function u(){}function s(){}function f(){}t=Object.getPrototypeOf;var p=[][o]?t(t([][o]())):(r(t={},o,function(){return this}),t),m=f.prototype=u.prototype=Object.create(p);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,i,"GeneratorFunction")),e.prototype=Object.create(m),e}return s.prototype=f,r(m,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,i,"GeneratorFunction"),r(m),r(m,i,"Generator"),r(m,o,function(){return this}),r(m,"toString",function(){return"[object Generator]"}),(n=function(){return{w:c,m:v}})()}function r(e,t,n,a){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}r=function(e,t,n,a){function i(t,n){r(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!a,configurable:!a,writable:!a}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},r(e,t,n,a)}function a(e,t,n,r,a,o,i){try{var c=e[o](i),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,a)}System.register(["./index-legacy206.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./database-legacy.js?v=1777008528","./base-lib-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,c,l,u,s,f,p,m,v,d,y,g,b,h,x;return{setters:[function(e){o=e._},function(e){i=e.M,c=e.bN},function(e){l=e.getBackupSize,u=e.getImportSize},function(e){s=e.c,f=e.r,p=e.o,m=e.aH,v=e.j,d=e.k,y=e.q,g=e.s,b=e.p,h=e.e,x=e.y},null,null,null,null],execute:function(){var r={class:"relative w-full text-medium flex items-center mb-2rem"},j={class:"flex flex-col ml-1rem leading-2rem"},w={class:"text-small mt-[8px]"},_={class:"grid grid-cols-3 leading-3rem py-1rem text-base"},k={class:"flex items-center mr-1rem"},O={class:"truncate flex-1"},S={class:"flex items-center mr-1rem"},D={class:"truncate flex-1"},T={class:"flex items-center"},F={class:"truncate flex-1"},A={key:0,class:"pl-2rem mt-2re leading-8 text-small list-disc"};t("default",s({__name:"index",props:{compData:{default:function(){return{type:"",refreshFn:function(){},successFlag:!1,config:{id:"",name:"",path:""}}}}},emits:["close","onCancel"],setup:function(t,s){var G=s.expose,P=s.emit,C=t,E=P,I=C.compData.config,N=I.id,z=I.name,H=(I.path,f("")),M=f(""),q=f("获取中...\t"),B=f(!0),U=f(null),$=f("import"===C.compData.type?"导入":"recover"===C.compData.type?"恢复":"压缩"),J=f(),K=function(){var e,t=(e=n().m(function e(){var t,r,a,o;return n().w(function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,"backup"!==C.compData.type){e.n=2;break}return e.n=1,l({id:Number(N)});case 1:a=e.v,e.n=4;break;case 2:return e.n=3,u({name:z});case 3:a=e.v;case 4:if(t=a.data,J.value&&(B.value=!0),t.status){e.n=5;break}return Q(),B.value=!1,q.value=t.msg,e.a(2);case 5:q.value!==t.msg&&(q.value=t.msg),null!=t&&t.total&&(H.value=t.total,M.value=t.speed);case 6:if(!(r=(-1!==t.msg.indexOf("成功!")||-1!==t.msg.indexOf("successful"))&&t.status)){e.n=7;break}return L(),e.a(2);case 7:null!=t&&t.speed&&B.value&&!r&&(U.value=setTimeout(function(){K()},1e3)),e.n=9;break;case 8:e.p=8,o=e.v,Q(),console.log(o);case 9:return e.a(2)}},e,null,[[0,8]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){a(i,r,o,c,l,"next",e)}function l(e){a(i,r,o,c,l,"throw",e)}c(void 0)})});return function(){return t.apply(this,arguments)}}(),L=function(){B.value=!1,"repair"===C.compData.type&&(i.success("修复完成,请按 Ctrl+F5 刷新缓存,或等待2s自动刷新!"),setTimeout(function(){c(),window.location.reload()},2e3)),E("close"),Q(),C.compData.refreshFn&&C.compData.refreshFn()},Q=function(){U.value=null,clearTimeout(U.value),B.value=!1};return p(function(){setTimeout(K,1e3)}),m(Q),G({onCancel:Q}),function(n,a){var i=o;return v(),d("div",{class:"p-2rem flex-wrap",ref_key:"progressDialog",ref:J},[y("div",r,[a[0]||(a[0]=y("i",{class:"svgtofont-el-loading text-3rem animate-spin"},null,-1)),y("div",j,[y("span",null,"正在"+g(b($))+"数据库文件,请稍后...",1),y("span",w,"当前"+g(b($))+"任务为后台"+g(b($))+",可关闭此页面进行其他操作",1)])]),a[2]||(a[2]=y("hr",{class:"!border-[#dedede]"},null,-1)),y("div",_,[y("div",k,[y("span",null,g(b($))+"数据库:",1),y("div",O,g(t.compData.config.name),1)]),y("div",S,[y("div",null,g(b($))+"大小:",1),y("div",D,g(b(H)||"--"),1)]),y("div",T,[y("div",null,g(b($))+"速度:",1),y("div",F,g(b(M)||"--"),1)])]),h(i,{class:"h-[30rem]",content:b(q)},null,8,["content"]),"import"===t.compData.type?(v(),d("ul",A,e(a[1]||(a[1]=[y("li",null,"导入完成后,可到导入->导入日志查看导入结果",-1)])))):x("",!0)],512)}}}))}}})}();