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/store-legacy3.js
!function(){function n(n){return function(n){if(Array.isArray(n))return e(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(n){if("string"==typeof n)return e(n,t);var r={}.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(n,t):void 0}}(n)||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 e(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}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,e,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.toStringTag||"@@toStringTag";function u(t,a,o,i){var u=a&&a.prototype instanceof s?a:s,l=Object.create(u.prototype);return r(l,"_invoke",function(t,r,a){var o,i,u,s=0,l=a||[],f=!1,p={p:0,n:0,v:n,a:v,f:v.bind(n,4),d:function(e,t){return o=e,i=0,u=n,p.n=t,c}};function v(t,r){for(i=t,u=r,e=0;!f&&s&&!a&&e<l.length;e++){var a,o=l[e],v=p.p,d=o[2];t>3?(a=d===r)&&(u=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=n):o[0]<=v&&((a=t<2&&v<o[1])?(i=0,p.v=r,p.n=o[1]):v<d&&(a=t<3||o[0]>r||r>d)&&(o[4]=t,o[5]=r,p.n=d,i=0))}if(a||t>1)return c;throw f=!0,r}return function(a,l,d){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&v(l,d),i=l,u=d;(e=i<2?n:u)||!f;){o||(i?i<3?(i>1&&(p.n=-1),v(i,u)):p.n=u:p.v=u);try{if(s=2,o){if(i||(a="next"),e=o[a]){if(!(e=e.call(o,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,i<2&&(i=0)}else 1===i&&(e=o.return)&&e.call(o),i<2&&(u=TypeError("The iterator does not provide a '"+a+"' method"),i=1);o=n}else if((e=(f=p.n<0)?u:t.call(r,p))!==c)break}catch(e){o=n,i=1,u=e}finally{s=1}}return{value:e,done:f}}}(t,o,i),!0),l}var c={};function s(){}function l(){}function f(){}e=Object.getPrototypeOf;var p=[][o]?e(e([][o]())):(r(e={},o,function(){return this}),e),v=f.prototype=s.prototype=Object.create(p);function d(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,f):(n.__proto__=f,r(n,i,"GeneratorFunction")),n.prototype=Object.create(v),n}return l.prototype=f,r(v,"constructor",f),r(f,"constructor",l),l.displayName="GeneratorFunction",r(f,i,"GeneratorFunction"),r(v),r(v,i,"Generator"),r(v,o,function(){return this}),r(v,"toString",function(){return"[object Generator]"}),(t=function(){return{w:u,m:d}})()}function r(n,e,t,a){var o=Object.defineProperty;try{o({},"",{})}catch(n){o=0}r=function(n,e,t,a){function i(e,t){r(n,e,function(n){return this._invoke(e,t,n)})}e?o?o(n,e,{value:t,enumerable:!a,configurable:!a,writable:!a}):n[e]=t:(i("next",0),i("throw",1),i("return",2))},r(n,e,t,a)}function a(n,e,t,r,a,o,i){try{var u=n[o](i),c=u.value}catch(n){return void t(n)}u.done?e(c):Promise.resolve(c).then(r,a)}function o(n){return function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function u(n){a(i,r,o,u,c,"next",n)}function c(n){a(i,r,o,u,c,"throw",n)}u(void 0)})}}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528"],function(e,r){"use strict";var a,i,u,c,s,l,f,p,v,d,y,m,h,g,w,b,S,_,x,j,k,I,L;return{setters:[function(n){a=n.aJ,i=n.aL,u=n.r,c=n.$,s=n.g},function(n){l=n.c,f=n.k,p=n.c4,v=n.n,d=n.M,y=n.c5,m=n.w,h=n.bW,g=n.I,w=n.c6},function(n){b=n.l,S=n.m,_=n.r,x=n.q,j=n.k,k=n.s,I=n.o,L=n.p}],execute:function(){e("H",a("SOFTWARE-STORE",function(){var e=i(),r=l(),a=r.adHideInfo,O=r.aliyunEcsLtd,A=r.payment,P=u(""),q=u(!1),T=u([]),C=u(),E=u([]),G=u([]),H=u(!1),F=u(!1),R=u(0),M=u(!1),V=u([]),W=[],$=function(){var n=o(t().m(function n(){var e,r,a=arguments;return t().w(function(n){for(;;)switch(n.n){case 0:if(e=a.length>0&&void 0!==a[0]?a[0]:"",!M.value){n.n=1;break}return n.a(2);case 1:if(!v(e)||""===e){n.n=2;break}return M.value=!0,r=s(function(){if(!e)return V.value;var n=e.toLowerCase();return W.filter(function(e){return e.name.toLowerCase().includes(n)||e.ps.toLowerCase().includes(n)||e.title.toLowerCase().includes(n)})}),V.value=r.value,M.value=!1,n.a(2);case 2:N(e);case 3:return n.a(2)}},n)}));return function(){return n.apply(this,arguments)}}(),N=c(function(){var n=o(t().m(function n(e){return t().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,f({loading:M,request:b({p:1,type:-1,tojs:"soft.get_list",query:e,force:0,row:100}),data:{"list.data":[Array,V],"list.page":p(R)},success:function(n){V.value=n["list.data"].filter(function(n){return n.index_display}).concat(n["list.data"].filter(function(n){return!n.index_display})),W=V.value}});case 1:return n.a(2)}},n)}));return function(e){return n.apply(this,arguments)}}(),5e3),B=function(){var n=o(t().m(function n(e,r){var a,o;return t().w(function(n){for(;;)switch(n.p=n.n){case 0:if(a=W.filter(function(n){return n.index_display}).length,W.length,V.value.length,!(a>12&&e.index_display)){n.n=1;break}return e.index_display=!e.index_display,n.a(2,d.error("首页最多只能显示12个软件!"));case 1:return n.p=1,o=e.index_display?S:_,n.n=2,f({loading:"正在处理,请稍后...",request:o(e.name),message:!0,success:function(n){n.status&&(V.value=V.value.map(function(n){return n.name==n.name&&(n.index_display=n.index_display),n}),W=W.map(function(n){return n.name==n.name&&(n.index_display=n.index_display),n}),E.value=W.filter(function(n){return n.index_display})),K()}});case 2:n.n=4;break;case 3:n.p=3,n.v,e.index_display=!e.index_display;case 4:return n.a(2)}},n,null,[[1,3]])}));return function(e,t){return n.apply(this,arguments)}}(),D=function(n){var e=n?W.filter(function(e){if(e.title.toLowerCase().includes(n.trim().toLowerCase()))return{value:e.title}}):W,t=[];return e.forEach(function(n,e,r){t.push({value:n.title})}),t},J=function(){var n=o(t().m(function n(){return t().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,f({loading:H,request:x(),success:function(n){var e=n.data.filter(function(n){return n.setup});G.value=e,E.value=e,K(),Y()}});case 1:return n.a(2)}},n)}));return function(){return n.apply(this,arguments)}}(),K=function(){if(E.value.length<=12&&(T.value.length>0&&!O.value&&"ltd"!==A.value.authType&&!a.value.homeSoft?G.value=[].concat(n(E.value),n(T.value)).slice(0,12):G.value=n(E.value).slice(0,12)),G.value.length<12)for(;G.value.length<12;)G.value.push({})},U=function(){var n=o(t().m(function n(){var e,r,a,o;return t().w(function(n){for(;;)switch(n.n){case 0:if(e=Math.ceil(R.value/12),!((r=Math.ceil(V.value.length/12))>=e)){n.n=1;break}return n.a(2);case 1:return n.n=2,b({p:r+1,type:-1,tojs:"soft.get_list",force:0,row:12});case 2:a=n.v,o=a.data,V.value=V.value.concat(o.list.data);case 3:return n.a(2)}},n)}));return function(){return n.apply(this,arguments)}}(),X=function(n){j({disablePro:!(8===n.type),sourceId:{total:41,monitor:175,btwaf:40,tamper_core:42,bt_security:43,oneav:44,security_notice:56}[n.name]||0})},Y=function(){var n,e=document.querySelector(".soft-wrapper");y.create(e,{animation:500,handle:".soft-move",chosenClass:"ghost",onEnd:(n=o(t().m(function n(e){var r;return t().w(function(n){for(;;)switch(n.n){case 0:r=G.value.splice(e.oldIndex,1)[0],G.value.splice(e.newIndex,0,r),z();case 1:return n.a(2)}},n)})),function(e){return n.apply(this,arguments)})})},z=function(){var n=G.value.filter(function(n){return void 0!==n.id&&n.name}).map(function(n){return n.name}).join("|");f({request:k({ssort:n})})},Q=function(){var n=o(t().m(function n(e){return t().w(function(n){for(;;)switch(n.n){case 0:if(!(e.endtime>=0||0===e.price)){n.n=1;break}I({name:e.name,pluginInfo:e}),n.n=3;break;case 1:return n.n=2,m({title:"购买插件",content:"插件已过期,是否前往购买?"});case 2:X(e);case 3:return n.a(2,!1)}},n)}));return function(e){return n.apply(this,arguments)}}(),Z=function(){var n=o(t().m(function n(e){var r,a;return t().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,g({sName:e.name});case 1:if(r=n.v,"-1"!==(a=r.data).task){n.n=2;break}return n.a(2,d.error("当前插件正在安装,不可重复安装"));case 2:L({name:a.name,type:"i",pluginInfo:a});case 3:return n.a(2)}},n)}));return function(e){return n.apply(this,arguments)}}(),nn=function(){var n=o(t().m(function n(){return t().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,f({request:w(),success:function(n){var e;Array.isArray(n.data)&&n.data.length>0&&(T.value=(null===(e=n.data[1])||void 0===e?void 0:e.list)||[])}});case 1:return n.a(2)}},n)}));return function(){return n.apply(this,arguments)}}();return{popShow:F,isGetSoft:H,pluginKeyword:P,recommendList:T,containerRef:C,mySoftList:V,tableLoading:M,softShowList:G,load:U,createSoftList:K,getHomeInstallSoftData:J,getRecommendInfo:nn,goSoft:function(){e.push({path:"/soft"})},showPopoverHandle:$,leave:function(n){var e=n.offsetX,t=n.offsetY,r=C.value.offsetWidth,a=C.value.offsetHeight;if(e<0||t<0||e>=r||t>=a){var o=document.querySelector(".soft-search-popover");o&&"none"!=(null==o?void 0:o.style.display)?F.value=!0:(F.value=!1,P.value="")}},querySearch:function(n,e){e(D(n))},searchPluginHandle:function(){""==P.value?(q.value=!1,$()):(q.value=!0,$(P.value))},renderSoftImages:function(n){return"/static/img/soft_ico".concat("/ico-",n.replace(/-+[{0-9},\.,]+$/,""),".png")},changeSwitchHandle:B,openSoftView:Q,softStatusColor:function(n){return n.status||"phpmyadmin"===n.name?"var(--el-color-primary)":"#FF4949"},softStatus:function(n){return n.status||"phpmyadmin"===n.name?"start":"stop"},openRecommendSoftView:function(n){if(n.name&&!n.install&&!h(n.isBuy))return I({name:n.name,pluginInfo:n}),!1},openSoftPreLink:function(n){window.open(n.preview,"_blank","noopener,noreferrer")},openLtdPayView:X,openInstall:Z}}))}}})}();