← Back
Editing: index-legacy93.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)}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(n){s=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),u=new G(r||[]);return a(i,"_invoke",{value:P(t,n,u)}),i}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=p;var v="suspendedStart",d="suspendedYield",y="executing",g="completed",w={};function m(){}function b(){}function x(){}var _={};s(_,c,(function(){return this}));var L=Object.getPrototypeOf,k=L&&L(L(T([])));k&&k!==o&&i.call(k,c)&&(_=k);var E=x.prototype=m.prototype=Object.create(_);function j(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function S(e,n){function r(o,a,u,c){var l=h(e[o],e,a);if("throw"!==l.type){var f=l.arg,s=f.value;return s&&"object"==t(s)&&i.call(s,"__await")?n.resolve(s.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(s).then((function(t){f.value=t,u(f)}),(function(t){return r("throw",t,u,c)}))}c(l.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function P(t,e,r){var o=v;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=O(u,r);if(c){if(c===w)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var l=h(t,e,r);if("normal"===l.type){if(o=r.done?g:d,l.arg===w)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=g,r.method="throw",r.arg=l.arg)}}}function O(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,O(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),w;var i=h(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,w;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,w):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,w)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o<e.length;)if(i.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=n,t.done=!0,t};return a.next=a}}throw new TypeError(t(e)+" is not iterable")}return b.prototype=x,a(E,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:b,configurable:!0}),b.displayName=s(x,f,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,s(t,f,"GeneratorFunction")),t.prototype=Object.create(E),t},r.awrap=function(t){return{__await:t}},j(S.prototype),s(S.prototype,l,(function(){return this})),r.AsyncIterator=S,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new S(p(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(E),s(E,f,"Generator"),s(E,c,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},r.values=T,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(N),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,w):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),w},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),w}},r}function n(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,c,"next",t)}function c(t){n(a,o,i,u,c,"throw",t)}u(void 0)}))}}System.register(["./index-legacy109.js?v=VERSION_NUMBER","./index-legacy324.js?v=VERSION_NUMBER","./validator-legacy.js?v=VERSION_NUMBER","./utils-lib-legacy.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./index-legacy110.js?v=VERSION_NUMBER","./index-legacy104.js?v=VERSION_NUMBER","./column-legacy.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER"],(function(t,n){"use strict";var o,i,a,u,c,l,f,s,p,h,v,d,y,g,w,m,b,x,_,L,k,E,j,S,P,O,I;return{setters:[function(t){o=t._},function(t){i=t._},function(t){a=t.p,u=t.k},function(t){c=t.u,l=t.aq,f=t.b,s=t.e},function(t){p=t.c,h=t.g,v=t.b,d=t.r,y=t.as,g=t.w,w=t.p,m=t.aM,b=t.G,x=t.H,_=t.x,L=t.q,k=t.v,E=t.K,j=t.M,S=t.C,P=t.A,O=t.e,I=t.P},null,null,null,null],execute:function(){var n=["src"],N=p({__name:"index",setup:function(t){var s=h((function(){return v().path})),p=c(),N=p.iframezIndex,G=p.menuControl,T=p.routerActive,A=p.iframeActive,W=p.mainHeight,F=(p.payment,d("/software")),C=d(null),H=d(null),M=d(!1),V=d(null),q=y("pluginWafInfo",{setup:!1,endtime:-1}),z=h((function(){return G.value.collapse?"60px":"184px"})),B=[["/waf","/btwaf/index"]],R=d(),Y=d(!1),D=d("waf"),K=d([{name:"waf",show:!0,meta:{title:"防火墙"}}]),U=f().warn,J=h((function(){var t,e;return{title:"Nginx防火墙-功能介绍",imgSrc:"/soft_ico/ico-btwaf.png",productSrc:"https://www.bt.cn/new/product_nginx_firewall.html",ps:"Nginx防火墙是保护Web应用程序免受各种网络攻击,检测过滤恶意请求限制访问频率,增强应用程序的安全,易于配置和使用,是保护Web应用程序安全的重要工具之一",source:25,desc:["仅支持Nginx","抵御CC攻击","关键词拦截","拦截恶意扫描","阻止黑客入侵"],tabImgs:[{title:"概览",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/waf/nginx_firewall_1.png"},{title:"攻击地图",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/waf/nginx_firewall_2.png"},{title:"攻击报表",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/waf/nginx_firewall_3.png"},{title:"全局设置",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/waf/nginx_firewall_4.png"},{title:"站点设置",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/waf/nginx_firewall_5.png"},{title:"封锁记录",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/waf/nginx_firewall_6.png"},{title:"操作日志",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/waf/nginx_firewall_7.png"}],pluginInfo:q.value,isInstall:!(null!==(t=q.value)&&void 0!==t&&t.setup)&&(null===(e=q.value)||void 0===e?void 0:e.endtime)>-1}}));g((function(){return T.value}),function(){var t=r(e().mark((function t(n){var r,o;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:R.value=B.filter((function(t){return-1!==t.indexOf(T.value)}))[0]||[],R.value.length&&(N.value=996,o=null===(r=V.value)||void 0===r?void 0:r.contentWindow,T.value===R.value[0]&&o&&(null==o?void 0:o.location.pathname)===R.value[1]?o.location.reload():(M.value=!0,H.value=(new Date).getTime(),F.value=R.value[1],A.value=R.value[1]));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{immediate:!0});var Q=function(){var t,e=null===(t=V.value)||void 0===t?void 0:t.contentWindow,n=null==e?void 0:e.document.getElementById("#app");e&&!n&&(A.value=R.value[1],N.value=998)},X=function(){var t,e=null===(t=V.value)||void 0===t?void 0:t.contentWindow;e&&(e.document.getElementById("#app")||(N.value=998))},Z=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("/waf"!==s.value){t.next=15;break}return t.prev=1,Y.value=!0,t.next=5,l({sName:"btwaf"});case 5:n=t.sent,q.value=n.data,$(n.data),Y.value=!1,t.next=15;break;case 11:t.prev=11,t.t0=t.catch(1),Y.value=!1;case 15:case"end":return t.stop()}}),t,null,[[1,11]])})));return function(){return t.apply(this,arguments)}}(),$=function(){var t=r(e().mark((function t(n){var r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!n.setup){t.next=10;break}if(r=null==n?void 0:n.version){t.next=5;break}return t.abrupt("return");case 5:if(!(r.replace(/\./g,"")<955)){t.next=10;break}return t.next=9,u({type:"u",name:"btwaf",pluginInfo:n});case 9:setTimeout((function(){U("当前插件版本过低,请升级防火墙插件版本至9.5.5及以上版本")}),1e3);case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(e){return t.apply(this,arguments)}}();return w((function(){window.pay=a,Z()})),function(t,e){var r,a=m("compatible-load-file"),u=m("compatible-load"),c=i,l=o,f=b("bt-loading");return x((L(),k("div",{class:"w-full",style:E({"min-height":_(W)+"px"}),key:_(H)},[_(M)?(L(),k("div",{key:0,ref_key:"maskRef",ref:C,class:"mask",style:E({left:_(z)})},["/files"===_(T)?(L(),j(a,{key:0})):(L(),j(u,{key:1}))],4)):S("",!0),-1!==_(q).endtime&&null!==(r=_(q))&&void 0!==r&&r.setup||"/waf"!==_(s)?(L(),k("iframe",{key:2,ref_key:"frameRef",ref:V,id:"ifrramApp",class:"ifrramApp",style:E({zIndex:_(N)}),src:_(F),onLoad:Q,onMouseenter:X},null,44,n)):(L(),j(l,{key:1,modelValue:_(D),"onUpdate:modelValue":e[0]||(e[0]=function(t){return I(D)?D.value=t:null}),options:_(K)},{default:P((function(){return[O(c,{data:_(J),class:"p-[4rem]"},null,8,["data"])]})),_:1},8,["modelValue","options"]))],4)),[[f,_(Y)],[f,"正在加载页面,请稍后...","title"]])}}});t("default",s(N,[["__scopeId","data-v-1184a1c3"]]))}}}))}();
Save File
Cancel