!function(){function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,r,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function c(n,o,i,u){var c=o&&o.prototype instanceof f?o:f,l=Object.create(c.prototype);return t(l,"_invoke",function(n,t,o){var i,u,c,f=0,l=o||[],s=!1,p={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(n,t){return i=n,u=0,c=e,p.n=t,a}};function v(n,t){for(u=n,c=t,r=0;!s&&f&&!o&&r<l.length;r++){var o,i=l[r],v=p.p,y=i[2];n>3?(o=y===t)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(u=0,p.v=t,p.n=i[1]):v<y&&(o=n<3||i[0]>t||t>y)&&(i[4]=n,i[5]=t,p.n=y,u=0))}if(o||n>1)return a;throw s=!0,t}return function(o,l,y){if(f>1)throw TypeError("Generator is already running");for(s&&1===l&&v(l,y),u=l,c=y;(r=u<2?e:c)||!s;){i||(u?u<3?(u>1&&(p.n=-1),v(u,c)):p.n=c:p.v=c);try{if(f=2,i){if(u||(o="next"),r=i[o]){if(!(r=r.call(i,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,u<2&&(u=0)}else 1===u&&(r=i.return)&&r.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((r=(s=p.n<0)?c:n.call(t,p))!==a)break}catch(r){i=e,u=1,c=r}finally{f=1}}return{value:r,done:s}}}(n,i,u),!0),l}var a={};function f(){}function l(){}function s(){}r=Object.getPrototypeOf;var p=[][i]?r(r([][i]())):(t(r={},i,function(){return this}),r),v=s.prototype=f.prototype=Object.create(p);function y(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,s):(n.__proto__=s,t(n,u,"GeneratorFunction")),n.prototype=Object.create(v),n}return l.prototype=s,t(v,"constructor",s),t(s,"constructor",l),l.displayName="GeneratorFunction",t(s,u,"GeneratorFunction"),t(v),t(v,u,"Generator"),t(v,i,function(){return this}),t(v,"toString",function(){return"[object Generator]"}),(n=function(){return{w:c,m:y}})()}function t(n,e,r,o){var i=Object.defineProperty;try{i({},"",{})}catch(n){i=0}t=function(n,e,r,o){function u(e,r){t(n,e,function(n){return this._invoke(e,r,n)})}e?i?i(n,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):n[e]=r:(u("next",0),u("throw",1),u("return",2))},t(n,e,r,o)}function e(n,t,e,r,o,i,u){try{var c=n[i](u),a=c.value}catch(n){return void e(n)}c.done?t(a):Promise.resolve(a).then(r,o)}function r(n){return function(){var t=this,r=arguments;return new Promise(function(o,i){var u=n.apply(t,r);function c(n){e(u,o,i,c,a,"next",n)}function a(n){e(u,o,i,c,a,"throw",n)}c(void 0)})}}System.register(["./index-legacy105.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./index-legacy126.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./firewall-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159"],function(t,e){"use strict";var o,i,u,c,a,f,l,s,p,v,y,d,b,h,g,m,_,j,w,O;return{setters:[function(n){o=n._},function(n){i=n.u,u=n.P,c=n.l,a=n.p},function(n){f=n._},function(n){l=n.c,s=n.r,p=n.V,v=n.q,y=n.H,d=n.v,b=n.x,h=n.e,g=n.B,m=n.I,_=n.y,j=n.an},function(n){w=n.az,O=n.aA},null],execute:function(){t("default",l({__name:"index",setup:function(t){i();var e=s(!1),l=p([]),x=function(){var t=r(n().m(function t(e){var r;return n().w(function(n){for(;;)switch(n.n){case 0:return r=!e.state,n.n=1,a({title:"".concat(r?"开启":"关闭","防护"),icon:"warning-filled",content:"".concat(r?"开启":"关闭","后，").concat(e.version,"版本的站点将").concat(r?"":"不再","受到安全防护，是否继续？")});case 1:return n.n=2,u({loading:"正在"+(r?"开启":"关闭")+"防护状态，请稍后...",request:O({php_version:e.v,enable:Number(r)}),message:!0});case 2:P();case 3:return n.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),P=function(){var t=r(n().m(function t(){return n().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,u({loading:e,request:w(),data:{php_versions:[Array,l]}});case 1:return n.a(2)}},t)}));return function(){return t.apply(this,arguments)}}(),T=[{label:"版本",prop:"version"},{label:"站点数量",prop:"site_count"},{label:"防护状态",render:function(n){return h(j,{size:"small",modelValue:1==n.state,onClick:function(t){x(n)}},null)}}];return v(function(){return P()}),function(n,t){var r=f,i=c,u=o,a=y("bt-loading");return d(),b("div",null,[h(u,null,{"header-right":g(function(){return[h(r,{onRefresh:P})]}),content:g(function(){return[m(h(i,{ref:"Table",column:T,data:_(l),description:"暂无木马文件"},null,8,["data"]),[[a,_(e)],[a,"正在加载列表，请稍后...","title"]])]}),_:1})])}}}))}}})}();
