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-legacy39.js
!function(){function t(t){return function(t){if(Array.isArray(t))return n(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 n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(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 n(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",u=i.toStringTag||"@@toStringTag";function a(e,i,o,u){var a=i&&i.prototype instanceof l?i:l,s=Object.create(a.prototype);return r(s,"_invoke",function(e,r,i){var o,u,a,l=0,s=i||[],f=!1,p={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(n,e){return o=n,u=0,a=t,p.n=e,c}};function v(e,r){for(u=e,a=r,n=0;!f&&l&&!i&&n<s.length;n++){var i,o=s[n],v=p.p,m=o[2];e>3?(i=m===r)&&(a=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=t):o[0]<=v&&((i=e<2&&v<o[1])?(u=0,p.v=r,p.n=o[1]):v<m&&(i=e<3||o[0]>r||r>m)&&(o[4]=e,o[5]=r,p.n=m,u=0))}if(i||e>1)return c;throw f=!0,r}return function(i,s,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&v(s,m),u=s,a=m;(n=u<2?t:a)||!f;){o||(u?u<3?(u>1&&(p.n=-1),v(u,a)):p.n=a:p.v=a);try{if(l=2,o){if(u||(i="next"),n=o[i]){if(!(n=n.call(o,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,u<2&&(u=0)}else 1===u&&(n=o.return)&&n.call(o),u<2&&(a=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=t}else if((n=(f=p.n<0)?a:e.call(r,p))!==c)break}catch(n){o=t,u=1,a=n}finally{l=1}}return{value:n,done:f}}}(e,o,u),!0),s}var c={};function l(){}function s(){}function f(){}n=Object.getPrototypeOf;var p=[][o]?n(n([][o]())):(r(n={},o,function(){return this}),n),v=f.prototype=l.prototype=Object.create(p);function m(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,r(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t}return s.prototype=f,r(v,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,u,"GeneratorFunction"),r(v),r(v,u,"Generator"),r(v,o,function(){return this}),r(v,"toString",function(){return"[object Generator]"}),(e=function(){return{w:a,m:m}})()}function r(t,n,e,i){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}r=function(t,n,e,i){function u(n,e){r(t,n,function(t){return this._invoke(n,e,t)})}n?o?o(t,n,{value:e,enumerable:!i,configurable:!i,writable:!i}):t[n]=e:(u("next",0),u("throw",1),u("return",2))},r(t,n,e,i)}function i(t,n,e,r,i,o,u){try{var a=t[o](u),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,i)}function o(t){return function(){var n=this,e=arguments;return new Promise(function(r,o){var u=t.apply(n,e);function a(t){i(u,r,o,a,c,"next",t)}function c(t){i(u,r,o,a,c,"throw",t)}a(void 0)})}}System.register(["./index-legacy118.js?v=1777008528","./useMethods-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(n,r){"use strict";var i,u,a,c,l,s,f,p,v,m,h,d,y,b,g,w,j,k,O,_,x,C,S,T,A,R,W,N,P,B,G,q,E;return{setters:[function(t){i=t._},function(t){u=t.c,a=t.N},function(t){c=t.L,l=t.cU,s=t.k,f=t.e2,p=t.w,v=t.fX,m=t.e,h=t._,d=t.fY,y=t.c,b=t.dc,g=t.da,w=t.R,j=t.cZ},function(t){k=t.b,O=t.e,_=t.g},function(t){x=t.H,C=t.r,S=t.c,T=t.w,A=t.aF,R=t.o,W=t.a8,N=t.j,P=t.k,B=t.e,G=t.v,q=t.q,E=t.p},null,null,null],execute:function(){var F,I=c().refs,L=I.customLimit,H=I.isRefreshNetworkList,J=x({isRefresh:!0}),M=C([]),U=function(){var t=o(e().m(function t(n,r,i,u){var a,c,l;return e().w(function(t){for(;;)switch(t.n){case 0:return a=u.label,c=u.value,l=function(){var t=o(e().m(function t(n,r){var i,o,u;return e().w(function(t){for(;;)switch(t.n){case 0:i=n.id,u=c,t.n="delete"===u?1:3;break;case 1:return o={id:i},t.n=2,v({data:JSON.stringify(o)});case 2:return t.a(2,t.v);case 3:return t.a(2)}},t)}));return function(n,e){return t.apply(this,arguments)}}(),t.n=1,n({title:"批量".concat(a,"网络"),content:"批量".concat(a,"已选的网络,是否继续操作!"),column:[{label:"网络名",prop:"name"},k()],onConfirm:function(){var t=o(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,r(l);case 1:return H.value=!0,t.a(2,!1)}},t)}));return function(){return t.apply(this,arguments)}}()});case 1:return t.a(2)}},t)}));return function(n,e,r,i){return t.apply(this,arguments)}}(),X=[{active:!0,label:"添加网络",type:"button",onClick:function(){m({component:function(){return h(function(){return r.import("./index-legacy499.js?v=1777008528")},void 0,r.meta.url)},title:"添加网络",area:58,btn:"添加"})}},{active:!1,label:"清理网络",type:"button",onClick:(F=o(e().m(function t(){return e().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,p({type:"calc",title:"清理网络",width:"35rem",content:"您真的要清理未使用的网络吗?"});case 1:s({request:d(),message:!0,loading:"正在清理",success:function(){H.value=!0}}),t.n=3;break;case 2:t.p=2,t.v;case 3:return t.a(2)}},t,null,[[0,2]])})),function(){return F.apply(this,arguments)})}],Y=function(){var t=o(e().m(function t(n){var r;return e().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,p({type:"calc",title:"删除网络【".concat(n.name,"】"),width:"35rem",content:"您真的要删除网络【".concat(n.name,"】吗?")});case 1:r={id:n.id},s({request:v({data:JSON.stringify(r)}),message:!0,success:function(){H.value=!0}}),t.n=3;break;case 2:t.p=2,t.v;case 3:return t.a(2)}},t,null,[[0,2]])}));return function(n){return t.apply(this,arguments)}}(),Z=l([{label:"删除项目",value:"delete",event:U}]),$=function(){var t=o(e().m(function t(n){var r;return e().w(function(t){for(;;)switch(t.n){case 0:if(H.value=!1,J.isRefresh){t.n=1;break}return t.a(2,{data:u({limit:n.limit,list:M.value,p:n.p})||[],total:M.value.length});case 1:return J.isRefresh=!1,t.n=2,s({request:f(),data:Array});case 2:return r=t.v,M.value=r,t.a(2,{data:u({limit:n.limit,list:M.value,p:n.p})||[],total:M.value.length})}},t)}));return function(n){return t.apply(this,arguments)}}(),z=function(t,n){setTimeout(function(){L.value.network||function(t,n){setTimeout(function(){t.value>900?n.value.limit=20:n.value.limit=10},0)}(t,n)},0)},D={class:"relative container-table-tab"},K={class:"flex items-center"},Q=S({__name:"index",setup:function(n){var r=c().refs.isRefreshNetworkList,u=y().mainHeight,l=b({options:X}).BtOperation;T(function(){return r.value},function(t){r.value&&(J.isRefresh=!0,h())});var s=g({request:function(t){return $(t)},columns:[O(),{label:"网络名",prop:"name",showOverflowTooltip:!0,minWidth:100},{label:"设备",prop:"driver",minWidth:100,isCustom:!0},{label:"ipv4网络号",prop:"subnet",minWidth:100,isCustom:!0},{label:"ipv4网关",prop:"gateway",minWidth:100,isCustom:!0},{label:"ipv6网络号",prop:"subnetv6",minWidth:100,isCustom:!1},{label:"ipv6网关",prop:"gatewayv6",minWidth:100,isCustom:!1},{label:"标签",prop:"labels",minWidth:100,showOverflowTooltip:!0,isCustom:!0,render:function(t){return t.labels?(Object.entries(t.labels)||[]).map(function(t){return"".concat(t[0],":").concat(t[1])}).join(","):A("span","")}},{label:"创建时间",prop:"time",minWidth:100,isCustom:!0,render:function(t){return w(t.time)}},_([{onClick:Y,title:"删除"}])],extension:[Z]}),f=s.BtTable,p=s.BtPage,v=s.BtBatch,m=s.BtColumn,h=s.refresh,d=s.param;return R(o(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:z(u,d);case 1:return t.a(2)}},t)}))),W(function(){J.isRefresh=!0,M.value=[]}),function(n,e){var r=i;return N(),P("div",D,[B(r,null,{"header-left":G(function(){return[q("div",K,[B(E(l)),q("a",{class:"ml-[1rem] bt-link",onClick:e[0]||(e[0]=function(t){return E(a)()})},"需求反馈")])]}),"header-right":G(function(){return[B(E(m))]}),content:G(function(){return[B(E(f),{key:"NetTable","max-height":E(u)-220},null,8,["max-height"])]}),"footer-left":G(function(){return[B(E(v))]}),"footer-right":G(function(){return[B(E(p))]}),popup:G(function(){return t(e[1]||(e[1]=[]))}),_:1})])}}});n("default",j(Q,[["__scopeId","data-v-803a50f2"]]))}}})}();