!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,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",o=a.toStringTag||"@@toStringTag";function s(t,a,i,o){var s=a&&a.prototype instanceof c?a:c,l=Object.create(s.prototype);return e(l,"_invoke",function(t,e,a){var i,o,s,c=0,l=a||[],f=!1,v={p:0,n:0,v:r,a:p,f:p.bind(r,4),d:function(t,e){return i=t,o=0,s=r,v.n=e,u}};function p(t,e){for(o=t,s=e,n=0;!f&&c&&!a&&n<l.length;n++){var a,i=l[n],p=v.p,d=i[2];t>3?(a=d===e)&&(s=i[(o=i[4])?5:(o=3,3)],i[4]=i[5]=r):i[0]<=p&&((a=t<2&&p<i[1])?(o=0,v.v=e,v.n=i[1]):p<d&&(a=t<3||i[0]>e||e>d)&&(i[4]=t,i[5]=e,v.n=d,o=0))}if(a||t>1)return u;throw f=!0,e}return function(a,l,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,d),o=l,s=d;(n=o<2?r:s)||!f;){i||(o?o<3?(o>1&&(v.n=-1),p(o,s)):v.n=s:v.v=s);try{if(c=2,i){if(o||(a="next"),n=i[a]){if(!(n=n.call(i,s)))throw TypeError("iterator result is not an object");if(!n.done)return n;s=n.value,o<2&&(o=0)}else 1===o&&(n=i.return)&&n.call(i),o<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),o=1);i=r}else if((n=(f=v.n<0)?s:t.call(e,v))!==u)break}catch(n){i=r,o=1,s=n}finally{c=1}}return{value:n,done:f}}}(t,i,o),!0),l}var u={};function c(){}function l(){}function f(){}n=Object.getPrototypeOf;var v=[][i]?n(n([][i]())):(e(n={},i,function(){return this}),n),p=f.prototype=c.prototype=Object.create(v);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,e(t,o,"GeneratorFunction")),t.prototype=Object.create(p),t}return l.prototype=f,e(p,"constructor",f),e(f,"constructor",l),l.displayName="GeneratorFunction",e(f,o,"GeneratorFunction"),e(p),e(p,o,"Generator"),e(p,i,function(){return this}),e(p,"toString",function(){return"[object Generator]"}),(t=function(){return{w:s,m:d}})()}function e(t,r,n,a){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}e=function(t,r,n,a){function o(r,n){e(t,r,function(t){return this._invoke(r,n,t)})}r?i?i(t,r,{value:n,enumerable:!a,configurable:!a,writable:!a}):t[r]=n:(o("next",0),o("throw",1),o("return",2))},e(t,r,n,a)}function r(t,e,r,n,a,i,o){try{var s=t[i](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,a)}System.register(["./base-lib-legacy.js?v=1761009159","./store-legacy5.js?v=1761009159"],function(e,n){"use strict";var a,i,o,s;return{setters:[function(t){a=t.j,i=t.o,o=t.r},function(t){s=t.w}],execute:function(){e("H",a("HOME-SECURITY-OVERVIEW-STORE",function(){var e=i({score:0,scoreLevel:"",riskNum:0,subtitle:""}),n=o(0),a=o(""),u=o(""),c=i({risk_scan:{status:!1,icon:"risk",name:"风险扫描"},safe_detect:{status:!1,icon:"safeDetect",name:"安全检测"},file_detection:{status:!1,icon:"ware",name:"恶意文件检测"},vul_scan:{status:!1,icon:"web",name:"漏洞扫描"},hids:{status:!1,icon:"hids",name:"入侵检测"},tamper:{status:!1,icon:"tamper",name:"防篡改"}}),l=o(!1),f=o([{title:"待修复漏洞",type:"vul_scan",tips:"及时发现网站中存在的漏洞，及时升级版本，可避免黑客趁虚而入",value:0},{title:"待处理恶意文件",type:"file_detection",tips:"检测到可能窃取信息或破坏系统的恶意文件（如病毒、木马）",value:0},{title:"入侵检测",type:"hids",tips:"分析服务器中异常进程行为，第一时间发现潜在入侵并告警",value:0},{title:"首页风险",type:"homepage_risk",tips:"针对网站/面板/系统进行全方面检测，消除隐藏风险",value:0},{title:"基线问题",type:"safe_detect",tips:"检查服务器配置是否符合安全标准",value:0},{title:"企业防篡改",type:"tamper",tips:"实时保护网页内容是否被非法修改",value:0}]),v=i({hids:!1,tamper:!1}),p=function(){var i,o=(i=t().m(function r(){var i,o,l,p;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,s();case 1:i=t.v,o=i.data,l=o.security_status,p=o.risk_details,e.score=o.score,e.scoreLevel=o.level,e.riskNum=o.risk_count,e.subtitle=o.level_description,n.value=o.protect_days,a.value=o.risk_scan_time.slice(0,10)||"-",u.value=o.virus_update_time.slice(0,10)||"-",c.risk_scan.status=l.risk_scan,c.safe_detect.status=l.safe_detect,c.file_detection.status=l.file_detection,c.vul_scan.status=l.vul_scan,c.hids.status=l.hids,c.tamper.status=l.tamper,v.hids=l.hids_installed,v.tamper=l.tamper_installed,f.value[0].value=p.vul_scan.total||0,f.value[1].value=p.file_detection.total||0,f.value[2].value=p.hids.total||0,f.value[3].value=p.homepage_risk.total||0,f.value[4].value=p.safe_detect.total||0,f.value[5].value=p.tamper.total||0,t.n=3;break;case 2:t.p=2,t.v;case 3:return t.a(2)}},r,null,[[0,2]])}),function(){var t=this,e=arguments;return new Promise(function(n,a){var o=i.apply(t,e);function s(t){r(o,n,a,s,u,"next",t)}function u(t){r(o,n,a,s,u,"throw",t)}s(void 0)})});return function(){return o.apply(this,arguments)}}();return{scoreData:e,safeDay:n,scanTime:a,virusUpdateTime:u,capabilitySwitch:c,risk_details:f,riskInstallDetails:v,getSafeOverviewData:p,isMalwareConfirm:l}}))}}})}();
