import{b as n}from"./CF1ujZlL.js";import{e as c}from"./92N1comP.js";async function f(){return n.get("/config")}async function d(e){const{data:t,headers:a}=await n.requestRaw("GET",`/config/${e}`);return{data:t,etag:c(a)}}async function u(e,t,a){const s={};a&&(s["If-Match"]=`"${a}"`);const{data:o,headers:r}=await n.requestRaw("PATCH",`/config/${e}`,{body:t,headers:s});return{data:o,etag:r.get("etag")?.replace(/"/g,"")??""}}export{d as a,f as g,u as s};
