/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@keyblade/http@1.11.8/es/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
import c from"axios";import{stringify as i}from"qs";const u=c.create({timeout:6e4}),s=(t,e)=>{var s;let n=t;return"application/x-www-form-urlencoded"===(null==(s=e.headers)?void 0:s["Content-Type"])&&(n=i(n,{arrayFormat:"indices"})),n};function d(...t){const[e,s={},n={}]=t;return u.get(e,{...n,params:s}).then((t=>!0===n.getResponse?t:t.data))}function m(...t){const[e,n={},o={}]=t,a=s(n,o);return u.post(e,a,o).then((t=>!0===o.getResponse?t:t.data))}function g(...t){const[e,n={},o={}]=t,a=s(n,o);return u.put(e,a,o).then((t=>!0===o.getResponse?t:t.data))}function l(...t){const[e,s={},n={}]=t;return u.delete(e,{...n,params:s}).then((t=>!0===n.getResponse?t:t.data))}export{l as deleteRequest,d as getRequest,u as http,m as postRequest,g as putRequest};
//# sourceMappingURL=/sm/74e2f0c3d603512722ae38db549174f4b4e65649e9380d89f944ccd60d44dadd.map