import{as as t,a3 as o}from"./index-BTglIPU2.js?v=1773287522785";const{t:e}=o.global,i=s=>t.post("/data?action=getData&table=logs&tojs=getLogs&limit=".concat(s.limit,"&p=").concat(s.p,"&search=").concat(s.search)),n=()=>t.post("/ajax?action=delClose",{requestOptions:{loading:e("Security.Api.Index_3"),successMessage:!0}}),g=()=>t.post("/config?action=get_panel_error_logs"),c=s=>t.post("/data?action=getData&table=crontab",s),l=s=>t.post("/site?action=get_site_list",s),r=s=>t.post("/logs/panel/get_logs_bytype",{data:JSON.stringify(s)}),p=s=>t.post("/site?action=GetSiteLogs",s),_=s=>t.post("/site?action=get_site_err_log",s),d=s=>t.post("/ajax?action=get_result&path=".concat(s.siteName)),u=s=>t.post("/ajax?action=log_analysis&path=".concat(s.siteName)),b=()=>t.post("/safe/syslog/get_sys_logfiles"),y=s=>t.post("/safe/syslog/get_sys_log",{data:JSON.stringify(s)}),S=s=>t.post("/mod/ssh/com/get_ssh_list",{data:JSON.stringify(s)}),f=()=>t.post("/logs/panel/get_slow_logs",{data:JSON.stringify({limit:5e3})}),L=s=>t.post("/database?action=GetErrorLog",s,{requestOptions:{loading:s?e("Security.Api.Index_3"):"",successMessage:!!s}}),m=()=>t.post("/data?action=getData&table=ftps",{p:1,limit:9999}),O=s=>t.post("/site?action=download_logs",s,{requestOptions:{loading:e("Login.index_22"),successMessage:!1}}),W=s=>t.post("/site?action=clear_logs",s,{requestOptions:{loading:e("Login.index_22"),successMessage:!0}});export{c as a,i as b,l as c,n as d,r as e,p as f,g,_ as h,d as i,b as j,y as k,S as l,m,f as n,L as o,W as p,O as q,u as s};
