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/error-redirect-legacy.js
!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var r,n,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function u(t,o,a,i){var u=o&&o.prototype instanceof l?o:l,s=Object.create(u.prototype);return e(s,"_invoke",function(t,e,o){var a,i,u,l=0,s=o||[],f=!1,p={p:0,n:0,v:r,a:y,f:y.bind(r,4),d:function(t,e){return a=t,i=0,u=r,p.n=e,c}};function y(t,e){for(i=t,u=e,n=0;!f&&l&&!o&&n<s.length;n++){var o,a=s[n],y=p.p,b=a[2];t>3?(o=b===e)&&(u=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=r):a[0]<=y&&((o=t<2&&y<a[1])?(i=0,p.v=e,p.n=a[1]):y<b&&(o=t<3||a[0]>e||e>b)&&(a[4]=t,a[5]=e,p.n=b,i=0))}if(o||t>1)return c;throw f=!0,e}return function(o,s,b){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&y(s,b),i=s,u=b;(n=i<2?r:u)||!f;){a||(i?i<3?(i>1&&(p.n=-1),y(i,u)):p.n=u:p.v=u);try{if(l=2,a){if(i||(o="next"),n=a[o]){if(!(n=n.call(a,u)))throw TypeError("iterator result is not an object");if(!n.done)return n;u=n.value,i<2&&(i=0)}else 1===i&&(n=a.return)&&n.call(a),i<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=r}else if((n=(f=p.n<0)?u:t.call(e,p))!==c)break}catch(n){a=r,i=1,u=n}finally{l=1}}return{value:n,done:f}}}(t,a,i),!0),s}var c={};function l(){}function s(){}function f(){}n=Object.getPrototypeOf;var p=[][a]?n(n([][a]())):(e(n={},a,function(){return this}),n),y=f.prototype=l.prototype=Object.create(p);function b(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,e(t,i,"GeneratorFunction")),t.prototype=Object.create(y),t}return s.prototype=f,e(y,"constructor",f),e(f,"constructor",s),s.displayName="GeneratorFunction",e(f,i,"GeneratorFunction"),e(y),e(y,i,"Generator"),e(y,a,function(){return this}),e(y,"toString",function(){return"[object Generator]"}),(t=function(){return{w:u,m:b}})()}function e(t,r,n,o){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}e=function(t,r,n,o){function i(r,n){e(t,r,function(t){return this._invoke(r,n,t)})}r?a?a(t,r,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[r]=n:(i("next",0),i("throw",1),i("return",2))},e(t,r,n,o)}function r(t,e,r,n,o,a,i){try{var u=t[a](i),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function n(t){return function(t){if(Array.isArray(t))return o(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 o(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)?o(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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./useController-legacy16.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./useStore-legacy2.js?v=1777008528"],function(e,o){"use strict";var a,i,u,c,l,s,f;return{setters:[function(t){a=t.X},function(t){i=t.c,u=t.g,c=t.j,l=t.C,s=t.p},function(t){f=t.p},null,null,null,null,null,null],execute:function(){e("default",i({__name:"error-redirect",props:{compData:{default:{}}},setup:function(e,o){var i,p,y=o.expose,b=e,v=a({data:function(){if(b.compData.rowData){var t=b.compData.rowData,e=t.type,r=t.errorpage,n=t.redirecttype,o=t.topath,a=t.tourl;return{type:1===e,errorpage:String(r),redirecttype:n,topath:o,tourl:a}}return{type:!0,errorpage:"1",redirecttype:"301",topath:"/",tourl:""}},options:function(t){return u(function(){return[{type:"switch",label:"开启重定向",key:"type"},{type:"select",label:"错误类型",key:"errorpage",options:[{label:"页面404",value:"1"}],attrs:{style:"width: 16rem"}},{type:"select",label:"重定向方式",key:"redirecttype",options:[{label:"301(永久重定向)",value:"301"},{label:"302(临时重定向)",value:"302"}],attrs:{style:"width: 16rem"}},{type:"select",label:"404错误重定向",key:"topath",options:[{label:"首页",value:"/"},{label:"自定义",value:""}],attrs:{style:"width: 16rem","empty-values":[null,void 0]}}].concat(n(""===t.value.topath?[{type:"input",label:"重定向至",key:"tourl",attrs:{width:"24rem",placeholder:"例:http://www.bt.cn.com"},rules:[{required:!0,message:"请输入重定向地址",trigger:"blur"}]}]:[]))})},submit:(i=t().m(function e(r,n){return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,n();case 1:return t.n=2,f(r.value);case 2:return t.a(2,t.v)}},e)}),p=function(){var t=this,e=arguments;return new Promise(function(n,o){var a=i.apply(t,e);function u(t){r(a,n,o,u,c,"next",t)}function c(t){r(a,n,o,u,c,"throw",t)}u(void 0)})},function(t,e){return p.apply(this,arguments)})}),d=v.BtForm;return y({onConfirm:v.submit}),function(t,e){return c(),l(s(d),{class:"p-2rem"})}}}))}}})}();