import{i as s,bf as e}from"./page_layout.js?v=1763625242172";const{t:t}=s.global,i=(s,t="PHP")=>e.post("/data?action=getSiteThirtyTotal",{site_type:t,...s}),o=s=>e.post("/data?action=getSiteWafConfig",s),a=s=>e.post("/plugin?action=a&name=btwaf&s=set_site_obj_open",s,{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0}}),n=s=>e.post("/panel/public/get_soft_status",{...s}),g=s=>e.post("/system?action=ServiceAdmin",{...s},{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0}}),c=()=>e.post("/plugin?action=a&name=security_notice&s=get_status",{},{requestOptions:{isOriginalResult:!0,prefix:""}}),p=s=>e.post("/plugin?action=a&name=security_notice&s=".concat(s?"start_site":"stop_site"),{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0}}),_=()=>e.post("/site?action=get_https_mode"),u=()=>e.post("/site?action=set_https_mode",{},{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0}}),r=s=>e.post("/site?action=get_site_maintenance",s),d=s=>e.post("/site?action=set_site_maintenance",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),l=s=>e.post("/site?action=get_current_webservice",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!1}}),q=(s,i=!0)=>e.post("/site?action=switch_webservice",s,{requestOptions:{loading:t("Login.index_22"),successMessage:i}}),O=s=>e.post("/site?action=multi_service_check_repair",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),M=s=>e.post("/site?action=website_rollback",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),m=()=>e.post("/site?action=get_multi_webservice_status"),x=()=>e.post("/git?action=get_ssh_key"),y=s=>e.post("/git?action=get_deploy_records",s),L=s=>e.post("/git?action=manual_deploy_site",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),b=s=>e.post("/git?action=get_site_git_conf",s),h=s=>e.post("/git?action=save_site_git_conf",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),f=s=>e.post("/git?action=del_site_git",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),w=s=>e.post("/git?action=refresh_webhook_url",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),k=s=>e.post("/git?action=add_key_repository",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),v=s=>e.post("/git?action=get_site_deploy_log",s),P=s=>e.post("/git?action=git_rollback",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!1}}),W=s=>e.post("/git?action=save_deploy_sh",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),j=s=>e.post("/git?action=get_deploy_sh",s),S=s=>e.post("/git?action=get_deploy_script",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!1}}),A=s=>e.post("/git?action=update_deploy_sh",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),C=s=>e.post("/git?action=get_webhook_log",s),T=s=>e.post("/git?action=clear_webhook_log",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}}),z=s=>e.post("/git?action=del_script",s,{requestOptions:{loading:t("Login.index_22"),successMessage:!0}});export{h as A,f as B,T as C,C as D,u as E,_ as F,v as G,a,i as b,o as c,l as d,p as e,c as f,n as g,q as h,M as i,O as j,m as k,x as l,d as m,r as n,S as o,P as p,y as q,b as r,g as s,W as t,A as u,L as v,z as w,j as x,w as y,k as z};
