← Back
Editing: index-legacy464.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,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function i(e,o,u,a){var i=o&&o.prototype instanceof l?o:l,f=Object.create(i.prototype);return r(f,"_invoke",function(e,r,o){var u,a,i,l=0,f=o||[],s=!1,p={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(n,e){return u=n,a=0,i=t,p.n=e,c}};function d(e,r){for(a=e,i=r,n=0;!s&&l&&!o&&n<f.length;n++){var o,u=f[n],d=p.p,v=u[2];e>3?(o=v===r)&&(i=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=t):u[0]<=d&&((o=e<2&&d<u[1])?(a=0,p.v=r,p.n=u[1]):d<v&&(o=e<3||u[0]>r||r>v)&&(u[4]=e,u[5]=r,p.n=v,a=0))}if(o||e>1)return c;throw s=!0,r}return function(o,f,v){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&d(f,v),a=f,i=v;(n=a<2?t:i)||!s;){u||(a?a<3?(a>1&&(p.n=-1),d(a,i)):p.n=i:p.v=i);try{if(l=2,u){if(a||(o="next"),n=u[o]){if(!(n=n.call(u,i)))throw TypeError("iterator result is not an object");if(!n.done)return n;i=n.value,a<2&&(a=0)}else 1===a&&(n=u.return)&&n.call(u),a<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=t}else if((n=(s=p.n<0)?i:e.call(r,p))!==c)break}catch(n){u=t,a=1,i=n}finally{l=1}}return{value:n,done:s}}}(e,u,a),!0),f}var c={};function l(){}function f(){}function s(){}n=Object.getPrototypeOf;var p=[][u]?n(n([][u]())):(r(n={},u,function(){return this}),n),d=s.prototype=l.prototype=Object.create(p);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,r(t,a,"GeneratorFunction")),t.prototype=Object.create(d),t}return f.prototype=s,r(d,"constructor",s),r(s,"constructor",f),f.displayName="GeneratorFunction",r(s,a,"GeneratorFunction"),r(d),r(d,a,"Generator"),r(d,u,function(){return this}),r(d,"toString",function(){return"[object Generator]"}),(e=function(){return{w:i,m:v}})()}function r(t,n,e,o){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}r=function(t,n,e,o){function a(n,e){r(t,n,function(t){return this._invoke(n,e,t)})}n?u?u(t,n,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[n]=e:(a("next",0),a("throw",1),a("return",2))},r(t,n,e,o)}function o(t,n,e,r,o,u,a){try{var i=t[u](a),c=i.value}catch(t){return void e(t)}i.done?n(c):Promise.resolve(c).then(r,o)}function u(t){return function(){var n=this,e=arguments;return new Promise(function(r,u){var a=t.apply(n,e);function i(t){o(a,r,u,i,c,"next",t)}function c(t){o(a,r,u,i,c,"throw",t)}i(void 0)})}}System.register(["./utils-lib-legacy.js?v=1765440387","./index-legacy107.js?v=1765440387","./index-legacy93.js?v=1765440387","./index-legacy130.js?v=1765440387","./index-legacy113.js?v=1765440387","./base-lib-legacy.js?v=1765440387","./index-legacy94.js?v=1765440387","./column-legacy.js?v=1765440387","./site-legacy.js?v=1765440387","./useStore-legacy3.js?v=1765440387","./__commonjsHelpers__-legacy.js?v=1765440387","./validator-legacy.js?v=1765440387","./ace-legacy.js?v=1765440387"],function(n,r){"use strict";var o,a,i,c,l,f,s,p,d,v,y,m,h,g,b,w,j,_,x,k,S,O,A,T,V,P,C,F,G,E,I,q,U,H,J,K,M,N;return{setters:[function(t){o=t.u,a=t.l,i=t.L,c=t.K,l=t.k,f=t.h,s=t.b,p=t.o},function(t){d=t._},function(t){v=t._},function(t){y=t._},function(t){m=t._},function(t){h=t.c,g=t.r,b=t.k,w=t.p,j=t.G,_=t.q,x=t.v,k=t.x,S=t.M,O=t.A,A=t.y,T=t.e,V=t.B,P=t.P,C=t.H,F=t.D,G=t.am},function(t){E=t._},function(t){I=t.d,q=t.u},function(t){U=t.gH,H=t.gI,J=t.gJ,K=t.gK},function(t){M=t.S,N=t.u},null,null,null],execute:function(){var B={class:"flex items-center"},D={class:"p-20px"};n("default",h({__name:"index",setup:function(n){var h=M(),L=h.getFileEvent,R=h.saveFileEvent,$=s(),z=o().payment,Q=N().siteInfo,W=g([]),X=g(!1),Y=g(""),Z=g(!1),tt=g({}),nt=g(!1),et=b({title:"动态查杀-功能介绍",ps:"当查杀站点目录中的文件发生修改就会自动的进行木马查杀并进行隔离",source:185,desc:["网页内容修改检测","木马查杀隔离"],tabImgs:[{title:"概览",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/site/dynamic_kill.png"}]}),rt=function(){a({isAsync:!0,title:"白名单",area:[70,55],component:function(){return i(function(){return r.import("./index-legacy439.js?v=1765440387")},void 0,r.meta.url)},showFooter:!1})},ot=function(){var t=u(e().m(function t(){var n;return e().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,U({path:Q.value.path});case 1:n=t.v,nt.value=n.data.is_run,t.n=3;break;case 2:t.p=2,t.v;case 3:return t.a(2)}},t,null,[[0,2]])}));return function(){return t.apply(this,arguments)}}(),ut=function(){var t=u(e().m(function t(n){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,c({loading:"正在设置中,请稍后...",request:H(!n,{path:Q.value.path}),message:!0});case 1:ot();case 2:return t.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),at=function(){var t=u(e().m(function t(){var n;return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,R({path:tt.value.path,data:Y.value,encoding:"utf-8"});case 1:n=t.v,$.request(n);case 2:return t.a(2)}},t)}));return function(){return t.apply(this,arguments)}}(),it=function(){var t=u(e().m(function t(){var n;return e().w(function(t){for(;;)switch(t.p=t.n){case 0:return X.value=!0,t.p=1,t.n=2,J({path:(Q.value.path+"/").replace("//","/")});case 2:n=t.v,W.value=Array.isArray(n.data)?n.data:[],t.n=4;break;case 3:t.p=3,t.v;case 4:X.value=!1;case 5:return t.a(2)}},t,null,[[1,3]])}));return function(){return t.apply(this,arguments)}}(),ct=function(){var t=u(e().m(function t(n){var r;return e().w(function(t){for(;;)switch(t.n){case 0:return tt.value=n,t.n=1,L({path:n.path});case 1:if((r=t.v).status){t.n=2;break}return $.request(r),t.a(2,!1);case 2:Y.value=r.data.data||r.msg,Z.value=!0;case 3:return t.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),lt=g([{label:"隔离时间",prop:"time"},I(),q([{width:80,onClick:ct,title:"样本文件"},{onClick:function(t){p({title:"删除文件",content:"是否要删除关联的源文件?",type:"check",icon:"warning",check:{content:"源文件",onConfirm:function(n){c({loading:"正在删除文件中,请稍后...",request:K({data:JSON.stringify({path:t.path,md5:t.md5,type:n?"delete":""})}),message:!0,success:function(t){t.status&&it()}})}}})},title:"删除"}])]);return w(function(){"ltd"===z.value.authType&&(ot(),it())}),function(n,e){var r=F,o=E,u=G,a=m,i=l,c=y,s=f,p=v,h=d,g=j("bt-loading");return _(),x("div",null,["ltd"===k(z).authType?(_(),S(p,{key:0},{"header-left":O(function(){return[A("div",B,[T(r,{type:"default",onClick:rt},{default:O(function(){return t(e[3]||(e[3]=[V(" 白名单 ",-1)]))}),_:1}),T(o),e[4]||(e[4]=A("div",{class:"mr-8px"},"动态查杀站点",-1)),A("div",null,[T(u,{modelValue:k(nt),"onUpdate:modelValue":e[0]||(e[0]=function(t){return P(nt)?nt.value=t:null}),width:36,onChange:ut},null,8,["modelValue"])])])]}),"header-right":O(function(){return[T(a,{onRefresh:it})]}),content:O(function(){return[C(T(i,{column:k(lt),"max-height":400,data:k(W)},null,8,["column","data"]),[[g,k(X)]])]}),"footer-left":O(function(){return t(e[5]||(e[5]=[A("ul",{class:"mt-8px leading-8 text-[1.2rem] list-disc ml-20px"},[A("li",null,"注意:隔离文件后的数字表示隔离文件总数。"),A("li",{class:"text-orange"},"动态查杀开启后,当查杀目录中的文件发生修改就会自动的进行木马查杀并进行隔离")],-1)]))}),"footer-right":O(function(){return t(e[6]||(e[6]=[]))}),popup:O(function(){return[T(s,{title:"在线编辑",showFooter:"",modelValue:k(Z),"onUpdate:modelValue":e[2]||(e[2]=function(t){return P(Z)?Z.value=t:null}),area:70,onConfirm:at},{default:O(function(){return[A("div",D,[T(c,{modelValue:k(Y),"onUpdate:modelValue":e[1]||(e[1]=function(t){return P(Y)?Y.value=t:null}),class:"!h-[40rem]"},null,8,["modelValue"])])]}),_:1},8,["modelValue"])]}),_:1})):(_(),S(h,{key:1,data:k(et)},null,8,["data"]))])}}}))}}})}();
Save File
Cancel