import{aD as e,i as s}from"./page_layout.js?v=1764830988434";const{t:t}=s.global,a=s=>e.post("/files?action=GetDir",{...s,disk:!0}),o=s=>e.post("/files?action=DeleteFile",s,{requestOptions:{loading:t("WP.api.tamper_8"),successMessage:!0}}),i=()=>e.post("/files?action=Get_Recycle_bin"),l=s=>e.post("/files?action=GetFileBody",s),n=s=>e.post("/files?action=SaveFileBody",s,{requestOptions:{loading:t("Site.Api.Index_2"),errorMessage:{close:!0}}}),p=(s,t)=>e.post("/files?action=upload",s,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{}}),r=(s,t)=>e.post("/files?action=upload",s,{headers:{"Content-Type":"multipart/form-data"},requestOptions:{isOriginalResult:!0},onUploadProgress:e=>{null==t||t(e)}}),c=s=>e.post("/files?action=DeleteFile",s,{requestOptions:{loading:"Deleting file, please wait...",successMessage:!0}});export{o as a,r as b,a as c,c as d,i as e,l as g,n as s,p as u};
