var s=(t,e,i)=>new Promise((T,P)=>{var u=n=>{try{p(i.next(n))}catch(y){P(y)}},h=n=>{try{p(i.throw(n))}catch(y){P(y)}},p=n=>n.done?T(n.value):Promise.resolve(n.value).then(u,h);p((i=i.apply(t,e)).next())});import{bh as r,aL as a,bi as o,a4 as c,bj as E}from"./index-044fcea6.js";const R=t=>s(void 0,null,function*(){try{return yield r(a.GET)(`/screen/${o.PROJECT}/list`,t)}catch(e){c()}}),j=t=>s(void 0,null,function*(){try{return yield r(a.POST)(`/screen/${o.PROJECT}/add`,t)}catch(e){c()}}),l=e=>s(void 0,[e],function*({id:t}){try{return yield r(a.GET)(`/screen/${o.PROJECT}/getData`,{projectId:t})}catch(i){c()}}),A=t=>s(void 0,null,function*(){try{return yield r(a.POST)(`/screen/${o.PROJECT}/save/data`,t,E.FORM_URLENCODED)}catch(e){c()}}),C=t=>s(void 0,null,function*(){try{return yield r(a.PUT)(`/screen/${o.PROJECT}/edit`,t)}catch(e){c()}}),m=t=>s(void 0,null,function*(){try{return yield r(a.DELETE)(`/screen/${o.PROJECT}/delProjectById`,t)}catch(e){c()}}),w=t=>s(void 0,null,function*(){try{return yield r(a.PUT)(`/screen/${o.PROJECT}/publish`,t)}catch(e){c()}}),J=t=>s(void 0,null,function*(){try{return yield r(a.POST)("/common/singleImg",t,E.FORM_DATA)}catch(e){c()}});export{w as a,J as b,j as c,m as d,l as f,R as p,A as s,C as u};