import{D as u}from"./vue.1RczIYhx.js";async function s(c,t={},e){const r=f=>{u(e)?e.value=f:typeof e=="object"&&("loading"in e?e.loading=f:"value"in e&&typeof e.value=="object"&&(e.value.loading=f))};try{return r(!0),await c(t)}catch(f){console.error("Request Error==>",f)}finally{r(!1)}}export{s as u};
