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