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-legacy88.js
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}var e=["type_id"];function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t)||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 r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",u=n.toStringTag||"@@toStringTag";function c(n,r,o,u){var c=r&&r.prototype instanceof l?r:l,f=Object.create(c.prototype);return i(f,"_invoke",function(n,r,o){var i,u,c,l=0,f=o||[],s=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,n){return i=e,u=0,c=t,p.n=n,a}};function y(n,r){for(u=n,c=r,e=0;!s&&l&&!o&&e<f.length;e++){var o,i=f[e],y=p.p,d=i[2];n>3?(o=d===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=n<2&&y<i[1])?(u=0,p.v=r,p.n=i[1]):y<d&&(o=n<3||i[0]>r||r>d)&&(i[4]=n,i[5]=r,p.n=d,u=0))}if(o||n>1)return a;throw s=!0,r}return function(o,f,d){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&y(f,d),u=f,c=d;(e=u<2?t:c)||!s;){i||(u?u<3?(u>1&&(p.n=-1),y(u,c)):p.n=c:p.v=c);try{if(l=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,u<2&&(u=0)}else 1===u&&(e=i.return)&&e.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((e=(s=p.n<0)?c:n.call(r,p))!==a)break}catch(e){i=t,u=1,c=e}finally{l=1}}return{value:e,done:s}}}(n,o,u),!0),f}var a={};function l(){}function f(){}function s(){}e=Object.getPrototypeOf;var p=[][r]?e(e([][r]())):(i(e={},r,function(){return this}),e),y=s.prototype=l.prototype=Object.create(p);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,i(t,u,"GeneratorFunction")),t.prototype=Object.create(y),t}return f.prototype=s,i(y,"constructor",s),i(s,"constructor",f),f.displayName="GeneratorFunction",i(s,u,"GeneratorFunction"),i(y),i(y,u,"Generator"),i(y,r,function(){return this}),i(y,"toString",function(){return"[object Generator]"}),(o=function(){return{w:c,m:d}})()}function i(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}i=function(t,e,n,r){function u(e,n){i(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(u("next",0),u("throw",1),u("return",2))},i(t,e,n,r)}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach(function(e){a(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function a(e,n,r){return(n=function(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function l(t,e,n,r,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void n(t)}c.done?e(a):Promise.resolve(a).then(r,o)}System.register(["./utils-lib-legacy.js?v=1777008528","./index-legacy118.js?v=1777008528","./index.vue_vue_type_script_setup_true_lang-legacy4.js?v=1777008528","./index-legacy218.js?v=1777008528","./index-legacy151.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index.vue_vue_type_style_index_0_scoped_cdc7f4d3_lang-legacy.js?v=1777008528","./useController-legacy8.js?v=1777008528","./useController-legacy13.js?v=1777008528","./useStore-legacy2.js?v=1777008528"],function(t,r){"use strict";var i,u,a,f,s,p,y,d,m,b,v,g,h,j,O,_,w,S,x,P,k,T,I,C,E,B,A,G,L,R,M,F,H,q,D,J,N,U,$,z,K,Q,V,W,X,Y,Z,tt;return{setters:[function(t){i=t.e,u=t._,a=t.M,f=t.c,s=t.dc,p=t.da,y=t.i,d=t.cT,m=t.cU},function(t){b=t._},function(t){v=t._},function(t){g=t.B},function(t){h=t.u},function(t){j=t.aJ,O=t.r,_=t.c,w=t.aI,S=t.w,x=t.e,P=t.x,k=t.o,T=t.n,I=t.j,C=t.k,E=t.p,B=t.v,A=t.q},function(t){G=t.w,L=t.e,R=t.F,M=t.J,F=t.E,H=t.g},null,function(t){q=t.i},function(t){D=t.l,J=t.u,N=t.c,U=t.e,$=t.d,z=t.g,K=t.h,Q=t.a,V=t.i,W=t.j,X=t.q,Y=t.k},function(t){Z=t.u,tt=t.S}],execute:function(){var et=Z(),nt=(et.activeType,et.isRefreshList),rt=tt(),ot=rt.addGeneralProject,it=rt.setSiteInfo,ut=function(){i({title:"添加HTML项目",area:62,component:function(){return u(function(){return r.import("./index-legacy347.js?v=1777008528")},void 0,r.meta.url)},showFooter:!0})},ct=function(t){it(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),i({title:"HTML项目管理["+t.name+"] -- 添加时间["+t.addtime+"]",area:[84,72],component:function(){return u(function(){return r.import("./index-legacy348.js?v=1777008528")},void 0,r.meta.url)}})},at=(t("o",function(t,e){G({type:"dir",path:t,change:function(t){e&&e(t)}})}),t("a",function(){var t,e=(t=o().m(function t(e){var n,r,i,u,l,f,s,p;return o().w(function(t){for(;;)switch(t.p=t.n){case 0:if(t.p=0,r=c(c({},e),{},{port:80}),i=r.webname.split("\n")[0].trim(),(u=i.match(/:(\d+)$/))&&(r.port=parseInt(u[1],10)),!r.webname.includes("[")){t.n=1;break}return t.n=1,D();case 1:return l=r.webname.split("\n").filter(function(t){return t.length}),f=l.slice(1),r.webname=JSON.stringify({domain:r.webname.split("\n")[0],domainlist:f,count:f.length}),r.ftp||(delete r.ftp_username,delete r.ftp_password),t.n=2,ot(r);case 2:if(null==(s=t.v)||null===(n=s.data)||void 0===n||!n.siteStatus){t.n=3;break}return nt.value=!0,a.success("添加成功"),t.a(2,!0);case 3:return a.error(s.msg),t.a(2,!1);case 4:t.n=6;break;case 5:t.p=5,p=t.v,console.error(p);case 6:return t.a(2)}},t,null,[[0,5]])}),function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function u(t){l(i,r,o,u,c,"next",t)}function c(t){l(i,r,o,u,c,"throw",t)}u(void 0)})});return function(t){return e.apply(this,arguments)}}()),j("SITE-HTML-STORE",function(){return{pluginInfo:O({})}})),lt=_({__name:"index",setup:function(t){var o=f(),i=(o.mainHeight,o.enterpriseRec),a=tt().getSiteList,l=w(tt()),j=(l.activeType,l.isRefreshList),O=w(at()).pluginInfo;S(U,function(t){null!=t&&t.pluginInfo&&(O.value=t.pluginInfo)},{immediate:!0,deep:!0});var _=s({options:[{type:"button",label:"添加项目",active:!0,onClick:ut},{type:"custom",render:function(){return x(g,{class:"mx-1rem",isRequest:!1,pluginInfo:O.value},null)}},{type:"button",label:"网站统计总览",onClick:function(){return Q("all")}}]}).BtOperation,G=h({key:"type_id",name:"PHP分类",options:function(){return[{label:"全部分类",value:"all"}]},event:z,ignore:["0"],field:"type_name"}),D=m([V(),W({classList:Y}),{label:"删除项目",value:"delete",event:X}]),Z=p({request:function(t){var n=t.type_id,r=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,e);return a({data:JSON.stringify(c(c({},r),{},{type_id:y(n)||"all"===n?"":n}))})},columns:[L(),J({onClick:function(t){return ct(t)}}),R()].concat(n(i.value?[M({storageKey:"/site/html_day_metric",onClick:Q})]:[]),[F({table:"sites",width:200}),N({onClick:function(t){return q(function(){return ct(t,"ssl")})}}),H([{title:"设置",onClick:function(t){return ct(t)}},{title:"删除",onClick:function(t){return K(t)}}])]),extension:[G,D,d(j)],empty:function(){return x("span",null,[P("您的列表为空,您可以"),x("span",{class:"bt-link",onClick:ut},[P("添加一个项目")])])}}),et=Z.BtTable,nt=Z.BtSearch,rt=Z.BtRefresh,ot=Z.BtPage,it=Z.BtColumn,lt=Z.BtTableCategory,ft=Z.BtBatch,st=Z.refresh;return k(function(){T(function(){u(function(){return r.import("./index-legacy347.js?v=1777008528")},void 0,r.meta.url),u(function(){return r.import("./index-legacy348.js?v=1777008528")},void 0,r.meta.url)})}),function(t,e){var r=b;return I(),C("div",null,[x(v,{ref_key:"envRef",ref:U,onInit:E(st)},null,8,["onInit"]),x(r,null,{"header-left":B(function(){return[x(E(_)),A("div",{class:"flex items-center ml-1rem",onClick:e[0]||(e[0]=function(){return E($)&&E($).apply(void 0,arguments)})},n(e[1]||(e[1]=[A("i",{class:"svgtofont-desired text-medium"},null,-1),A("span",{class:"bt-link"},"需求反馈",-1)])))]}),"header-right":B(function(){return[x(E(lt),{class:"!w-[200px] mr-[10px]"}),x(E(nt),{class:"mr-[10px]",placeholder:"请输入项目名称或备注"}),x(E(rt),{class:"mr-[10px]"}),x(E(it))]}),content:B(function(){return[x(E(et))]}),"footer-left":B(function(){return[x(E(ft))]}),"footer-right":B(function(){return[x(E(ot))]}),_:1})])}}}),ft=Object.freeze(Object.defineProperty({__proto__:null,default:lt},Symbol.toStringTag,{value:"Module"}));t("i",ft)}}})}();