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