import{aF as n,aI as r,aH as p,aG as s}from"./index-CGB0A5x_.js";function m(e={}){return n("/data-process",e)}const l=e=>n(`/data-process/${encodeURIComponent(e)}`),i=e=>s("/data-process",e),R=(e,o)=>p(`/data-process/${encodeURIComponent(e)}`,o),U=(e,o)=>s(`/data-process/${encodeURIComponent(e)}/regenerate`,o),C=e=>r(`/data-process/${encodeURIComponent(e)}`);function I(e,o,t){const c=new FormData;return o.forEach(a=>c.append("files",a)),s(`/data-process/${encodeURIComponent(e)}/source-files`,c,{timeout:300*1e3,onUploadProgress:a=>{if(!a.total)return;const d=Math.round(a.loaded/a.total*100);t==null||t(Math.min(99,Math.max(0,d)))}})}const $=(e,o)=>r(`/data-process/${encodeURIComponent(e)}/source-files/${encodeURIComponent(o)}`),P=(e,o,t={})=>n(`/data-process/${encodeURIComponent(e)}/source-files/${encodeURIComponent(o)}/content`,t),D=(e,o)=>`/modelTF/data-process/${encodeURIComponent(e)}/source-files/${encodeURIComponent(o)}/raw`,f=(e,o)=>n(`/data-process/${encodeURIComponent(e)}/source-files/${encodeURIComponent(o)}/pdf-pages`),g=(e,o)=>{const{query:t,file_name:c,...a}=o;return s(`/data-process/${encodeURIComponent(e)}/external/test`,a)},w=(e,o)=>s(`/data-process/${encodeURIComponent(e)}/external/pull`,o),v=(e,o={})=>s(`/data-process/${encodeURIComponent(e)}/preview/build`,o,{timeout:300*1e3});function h(e,o={}){return n(`/data-process/${encodeURIComponent(e)}/preview`,o)}const k=(e,o,t)=>p(`/data-process/${encodeURIComponent(e)}/preview/${encodeURIComponent(o)}`,t),x=(e,o)=>s(`/data-process/${encodeURIComponent(e)}/preview`,o),T=(e,o)=>r(`/data-process/${encodeURIComponent(e)}/preview/${encodeURIComponent(o)}`),S=e=>s(`/data-process/${encodeURIComponent(e)}/generate`),b=e=>s(`/data-process/${encodeURIComponent(e)}/stop`),F=e=>n(`/data-process/${encodeURIComponent(e)}/progress`);function q(e,o={}){return n(`/data-process/${encodeURIComponent(e)}/results`,o)}const y=(e,o,t)=>p(`/data-process/${encodeURIComponent(e)}/results/${encodeURIComponent(o)}`,t),E=(e,o)=>s(`/data-process/${encodeURIComponent(e)}/results/${encodeURIComponent(o)}/restore`),M=(e,o)=>s(`/data-process/${encodeURIComponent(e)}/publish`,o);export{D as a,f as b,S as c,C as d,F as e,q as f,m as g,v as h,I as i,P as j,l as k,U as l,h as m,k as n,R as o,i as p,w as q,E as r,b as s,g as t,y as u,$ as v,x as w,T as x,M as y};
