import{az as s,d as o}from"./page_layout.js?v=1741416570306";const a=()=>s.post("/panel/public/get_public_config"),t=()=>s.post("/config?action=get_menu_list"),e=()=>s.post("/config?action=check_two_step"),g=(a={})=>s.post("/config?action=ClosePanel",a,{requestOptions:{loading:o.global.t("Config.API.global_1"),successMessage:!0}}),i=(a={})=>s.post("/config?action=set_ipv6_status",a,{requestOptions:{loading:o.global.t("Config.API.global_2"),successMessage:!0}}),n=(a={})=>s.post("/config?action=set_local",a,{requestOptions:{loading:o.global.t("Config.API.global_3"),successMessage:!0}}),l=(a={})=>s.post("/config?action=set_debug",a,{requestOptions:{loading:o.global.t("Config.API.global_4"),successMessage:!0}}),c=(a,t=!0)=>s.post("/config?action=set_token",a,{requestOptions:{loading:o.global.t("Config.API.global_5"),successMessage:t}}),p=()=>s.post("/config?action=get_token"),_=a=>s.post("/config?action=set_language",a,{requestOptions:{loading:o.global.t("Config.API.global_6"),successMessage:!0}}),f=(o,a)=>s.post("/config?action=setPanel",o,{requestOptions:{loading:a,successMessage:!0}}),u=s=>f(s,o.global.t("Config.API.global_7")),b=s=>f(s,o.global.t("Config.API.global_8")),r=s=>f(s,o.global.t("Config.API.global_9")),P=s=>f(s,o.global.t("Config.API.global_10")),d=s=>f(s,o.global.t("Config.API.global_11")),C=(a={})=>s.post("/config?action=syncDate",a,{requestOptions:{loading:o.global.t("Config.API.global_12"),successMessage:!0}}),A=a=>s.post("/config?action=setUsername",a,{requestOptions:{loading:o.global.t("Config.API.global_13"),successMessage:!0}}),I=a=>s.post("/config?action=setPassword",a,{requestOptions:{loading:o.global.t("Config.API.global_14"),successMessage:!0}}),q=(a={})=>s.post("/config?action=setlastPassword",a,{requestOptions:{loading:o.global.t("Config.API.global_14"),successMessage:!0}}),O=a=>s.post("/config?action=set_hide_menu_list",{hide_list:JSON.stringify(a.hide_list)},{requestOptions:{loading:o.global.t("Config.API.global_15"),successMessage:!0}}),M=(a={})=>s.post("/ssl?action=DelToken",a,{requestOptions:{loading:o.global.t("Config.API.global_16"),successMessage:!0}}),m=(a={})=>s.post("/config?action=SetPanelSSL",a,{requestOptions:{loading:o.global.t("Config.API.global_17"),successMessage:!0}}),S=(a,t=!0)=>s.post("/config?action=SetPanelSSL",a,{requestOptions:{loading:t?o.global.t("Config.API.global_17"):"",successMessage:!0}}),w=(a,t=!1)=>s.post("/config?action=SavePanelSSL",a,{requestOptions:{loading:t?o.global.t("Config.API.global_17"):"",successMessage:t}}),h=()=>s.post("/config?action=get_cert_source"),k=()=>s.post("/config?action=GetPanelSSL"),y=a=>s.post("/config?action=set_basic_auth",a,{requestOptions:{loading:o.global.t("Config.API.global_18"),successMessage:!0}}),L=(a,t=!1)=>s.post("/config?action=set_two_step_auth",a,{requestOptions:{loading:o.global.t("Config.API.global_19"),successMessage:t}}),v=()=>s.post("/config?action=get_key"),x=o=>s.post("/config?action=get_qrcode_data",o),D=(a={})=>s.post("/config?action=set_password_safe",a,{requestOptions:{loading:o.global.t("Config.API.global_20"),successMessage:!0}}),j=s=>f(s,o.global.t("Config.API.global_21")),z=s=>f(s,o.global.t("Config.API.global_22")),B=a=>s.post("/config?action=setPanel",a,{requestOptions:{loading:o.global.t("Config.API.global_23"),successMessage:!0}}),G=a=>s.post("/config?action=set_admin_path",a,{requestOptions:{loading:o.global.t("Config.API.global_24"),successMessage:!0}}),J=a=>s.post("/config?action=set_not_auth_status",a,{requestOptions:{loading:o.global.t("Config.API.global_25"),successMessage:!0}}),N=()=>s.post("/config?action=get_password_config"),T=a=>s.post("/config?action=set_password_expire",a,{requestOptions:{loading:o.global.t("Config.API.global_26"),successMessage:!0}}),E=o=>s.post("/config?action=get_temp_login",o),F=a=>s.post("/config?action=set_temp_login",a,{requestOptions:{loading:o.global.t("Config.API.global_27")}}),H=a=>s.post("/config?action=remove_temp_login",a,{requestOptions:{loading:o.global.t("Config.API.global_28"),successMessage:!0}}),K=a=>s.post("/config?action=clear_temp_login",a,{requestOptions:{loading:o.global.t("Config.API.global_29"),successMessage:!0}}),Q=o=>s.post("/config?action=get_temp_login_logs",o),R=()=>s.post("/config?action=get_limit_ua"),U=s=>f(s,"Setting up automatic backup, please wait..."),V=()=>s.post("/config?action=clearBackup",{},{requestOptions:{loading:"Clearing automatic backup, please wait...",successMessage:!0}});export{x as A,L as B,D as C,j as D,z as E,B as F,G,J as H,T as I,F as J,Q as K,K as L,H as M,E as N,S as O,h as P,t as Q,e as R,N as S,R as T,q as a,c as b,a as c,g as d,i as e,n as f,p as g,l as h,U as i,V as j,_ as k,u as l,b as m,r as n,P as o,d as p,C as q,A as r,I as s,M as t,O as u,m as v,w,k as x,y,v as z};
