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