import{as as t,a3 as e}from"./index-BTglIPU2.js?v=1773287522785";const i=s=>t.post("/btwaf/get_site_config3.json",s),n=()=>t.post("/plugin?action=a&name=btwaf&s=get_config"),o=s=>t.post("/plugin?action=a&name=btwaf&s=set_obj_open",s,{requestOptions:{loading:e.global.t("Waf.Api.site_2"),successMessage:!0}}),g=s=>t.post("/plugin?action=a&name=btwaf&s=get_site_config_byname",s),l=s=>t.post("/plugin?action=a&name=btwaf&s=set_site_obj_open",s,{requestOptions:{loading:e.global.t("Waf.Api.site_3"),successMessage:!0}}),c=()=>t.post("/plugin?action=a&name=btwaf&s=city"),u=()=>t.post("/plugin?action=a&name=btwaf&s=stop_cc_status"),p=()=>t.post("/plugin?action=a&name=btwaf&s=check_renji",{},{requestOptions:{loading:e.global.t("Waf.Api.site_4")}}),r=s=>t.post("/plugin?action=a&name=btwaf&s=set_site_cc_conf",s,{requestOptions:{successMessage:!0}}),_=s=>t.post("/plugin?action=a&name=btwaf&s=set_site_retry",s,{requestOptions:{loading:e.global.t("Waf.Api.site_5"),successMessage:!0}}),f=s=>t.post("/plugin?action=a&name=btwaf&s=get_site_disable_rule",s),b=s=>t.post("/plugin?action=a&name=btwaf&s=get_site_rule",s),d=s=>t.post("/plugin?action=a&name=btwaf&s=add_site_rule",s,{requestOptions:{loading:e.global.t("Waf.Api.site_6"),successMessage:!0}}),m=s=>t.post("/plugin?action=a&name=btwaf&s=add_site_rule",s,{requestOptions:{loading:e.global.t("Waf.Api.site_6"),successMessage:!0}}),w=s=>t.post("/plugin?action=a&name=btwaf&s=add_site_rule",s,{requestOptions:{loading:e.global.t("Waf.Api.site_6"),successMessage:!0}}),S=s=>t.post("/plugin?action=a&name=btwaf&s=remove_site_rule",s,{requestOptions:{loading:e.global.t("Waf.Api.site_7"),successMessage:!0}}),q=s=>t.post("/plugin?action=a&name=btwaf&s=set_site_disable_rule",s,{requestOptions:{loading:e.global.t("Waf.Api.site_8"),successMessage:!0}}),A=s=>t.post("/plugin?action=a&name=btwaf&s=get_rule",s),O=s=>t.post("/plugin?action=a&name=btwaf&s=save_scan_rule",s,{requestOptions:{loading:e.global.t("Waf.Api.site_9"),successMessage:!0}}),M=s=>t.post("/plugin?action=a&name=btwaf&s=set_spider",s,{requestOptions:{loading:e.global.t("Waf.Api.site_10"),successMessage:!0}}),W=s=>t.post("/plugin?action=a&name=btwaf&s=get_site_cdn_header",s),C=s=>t.post("/plugin?action=a&name=btwaf&s=add_site_cdn_header",s,{requestOptions:{loading:e.global.t("Waf.Api.site_11"),successMessage:!0}}),h=s=>t.post("/plugin?action=a&name=btwaf&s=remove_site_cdn_header",s,{requestOptions:{loading:e.global.t("Waf.Api.site_12"),successMessage:!0}}),j=s=>t.post("/plugin?action=a&name=btwaf&s=get_logs_list",s,{requestOptions:{loading:e.global.t("Waf.Api.site_13")}}),R=s=>t.post("/btwaf/get_safe_logs_sql2.json",s),v=s=>t.post("/plugin?action=a&name=btwaf&s=start_crawler",s,{requestOptions:{loading:e.global.t("Waf.Site.API.index_1"),successMessage:!0}}),y=s=>t.post("/btwaf/start_limiting_timeout.json",{site:s.site,limiting:JSON.stringify(s.limiting)},{requestOptions:{loading:e.global.t("Waf.Site.API.index_2"),successMessage:!0}});export{w as A,y as a,o as b,j as c,l as d,n as e,R as f,i as g,g as h,p as i,c as j,u as k,r as l,_ as m,q as n,f as o,A as p,O as q,M as r,v as s,h as t,W as u,C as v,S as w,b as x,d as y,m as z};
