import{aD as s,i as t}from"./page_layout.js?v=1764830988434";const{t:e}=t.global,o=t=>s.post("/data?action=getData",{...t,table:"ftps"}),p=t=>s.post("/ftp?action=AddUser",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),a=t=>s.post("/ftp?action=setPort",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),i=t=>s.post("/ftp?action=SetStatus",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),n=t=>s.post("/data?action=setPs",{...t,table:"ftps"},{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),g=t=>s.post("/ftp?action=SetUserPassword",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),l=t=>s.post("/ftp?action=set_user_home",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),c=(t,o=!0)=>s.post("/ftp?action=DeleteUser",t,{requestOptions:{loading:o?e("Ftp.Api.Index_1"):"",successMessage:o}}),_=()=>s.post("/logs/ftp/set_ftp_log",{exec_name:"getlog"},{requestOptions:{loading:e("Ftp.Api.Index_1"),errorMessage:{close:!0}}}),d=()=>s.post("/logs/ftp/set_ftp_log",{exec_name:"start"},{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),u=t=>s.post("/logs/ftp/get_login_log",t),r=t=>s.post("/logs/ftp/get_action_log",t),f=()=>s.post("/logs/ftp/ftp_users"),x=()=>s.post("/logs/ftp/get_analysis_config"),q=t=>s.post("/logs/ftp/set_analysis_config",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),A=t=>s.post("/logs/ftp/log_analysis",t,{requestOptions:{loading:e("Ftp.Api.Index_1")}}),F=t=>s.post("/logs/ftp/set_cron_task",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),I=()=>s.post("/logs/ftp/get_white_list"),O=t=>s.post("/logs/ftp/set_white_list",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),M=t=>s.post("/ftp?action=SetStatus",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),m=t=>s.post("/ftp?action=DeleteUser",t,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}});export{A as F,n as a,_ as b,d as c,c as d,r as e,u as f,o as g,a as h,p as i,q as j,x as k,f as l,F as m,O as n,I as o,m as p,M as q,l as r,i as s,g as t};
