System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./useModal-legacy-Hu99X2Lu.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,t){"use strict";var a,n,i,c,s,r,o,l;return{setters:[e=>{a=e.m,n=e.aK,i=e.at,c=e.au,s=e.h,r=e.cR},e=>{o=e.u},e=>{l=e.R}],execute:function(){e("u",(()=>{const{t:e}=l();return{setSiteStatus:(t,a)=>{s({title:`${e("1"===t?"Site.PHP.index_21_2":"Site.PHP.index_21_3")} ${e("Site.PHP.index_21_1",[a.name])}`,content:e("1"===t?"Site.PHP.index_22":"Site.PHP.index_23"),onConfirm:async()=>{await r("1"===t,{id:a.id,name:a.name}),a.status=t}})},openMonitor:async e=>{if(await n({source:142}),await i("monitor"),c({name:"monitor",title:"Website statistics-v2",admin:!0}),!e)return;const t=setInterval((()=>{if(window.document.getElementsByClassName("layui-layer-page")[0]){clearInterval(t);let a=!1,n=!1,i=!1;const c=setInterval((()=>{if(!a){const e=document.querySelector('[data-name="request"]');e&&(e.click(),a=!0)}if(!n){const e=document.querySelector('.search-type [data-name="l30"]')||document.querySelector('[data-name="l30"]');e&&(e.click(),n=!0)}i||document.querySelectorAll(".mt_select_list li").forEach((t=>{t.getAttribute("data-name")===e&&(t.click(),i=!0)})),a&&n&&i&&clearInterval(c)}),50)}}),50)},openSiteWaf:async e=>{const t=a.loading("Loading, please wait...");try{await n({source:216}),await i("btwaf"),o({row:{siteName:e}})}finally{t.close()}}}}))}}}));
