var n=Object.defineProperty;var s=(a,t,e)=>t in a?n(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var r=(a,t,e)=>(s(a,typeof t!="symbol"?t+"":t,e),e);import{C as c,t as h}from"./index.a3f0fe79.js";class u{constructor(){r(this,"post",async({url:t,form:e})=>{const o=await fetch(`${c.connectUrl}${t}`,{method:"POST",headers:{"X-Gapper-OAuth-Token":h.accessToken},body:e});if(!o)throw new Error("\u4E0A\u4F20\u5931\u8D25");return await o.json()})}}var w=new u;export{w as F};
