import{as as a,a3 as e}from"./index-BTglIPU2.js?v=1773287522785";const l=s=>a.post("/btwaf/get_rule_ip.json",s),o=s=>a.post("/btwaf/import_rule_check.json",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_21"),successMessage:!0}}),u=s=>a.post("/btwaf/export_rule_check.json",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_22"),successMessage:!0}}),i=s=>a.post("/btwaf/empty_rule_check.json",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_23"),successMessage:!0}}),r=s=>a.post("/plugin?action=a&name=btwaf&s=add_ip_white",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_24"),successMessage:!0}}),n=s=>a.post("/plugin?action=a&name=btwaf&s=add_ipv6_white",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_24"),successMessage:!0}}),c=s=>a.post("/plugin?action=a&name=btwaf&s=add_ip_black",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_25"),successMessage:!0}}),p=s=>a.post("/plugin?action=a&name=btwaf&s=add_ipv6_black",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_25"),successMessage:!0}}),g=s=>a.post("/btwaf/remove_rule_check.json",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_26",[s.rule==="ip_white"?e.global.t("Waf.Api.rules_32"):e.global.t("Waf.Api.rules_33")]),successMessage:!0}}),_=s=>a.post("/plugin?action=a&name=btwaf&s=add_ua_white",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_27"),successMessage:!0}}),d=s=>a.post("/plugin?action=a&name=btwaf&s=add_ua_black",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_28"),successMessage:!0}}),b=s=>a.post("/btwaf/remove_rule_check.json",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_29",[s.rule==="ip_white"?e.global.t("Waf.Api.rules_32"):e.global.t("Waf.Api.rules_33")]),successMessage:!0}}),f=s=>a.post("/plugin?action=a&name=btwaf&s=add_url_white",s,{requestOptions:{loading:e.global.t("Waf.Api.block_15"),successMessage:!0}}),W=s=>a.post("/plugin?action=a&name=btwaf&s=add_url_black",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_30"),successMessage:!0}}),A=s=>a.post("/btwaf/remove_rule_check.json",s,{requestOptions:{loading:e.global.t("Waf.Api.rules_31",[s.rule==="ip_white"?e.global.t("Waf.Api.rules_32"):e.global.t("Waf.Api.rules_33")]),successMessage:!0}});export{c as a,r as b,n as c,i as d,u as e,p as f,l as g,b as h,o as i,_ as j,d as k,A as l,f as m,W as n,g as r};
