"use strict";const r=require("./index.cjs328.js"),n=require("./index.cjs234.js"),u=require("./index.cjs230.js"),l=require("./index.cjs232.js"),a=require("./index.cjs240.js"),p=require("./index.cjs241.js");function s(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new l(null,e)}function o(e){return s(e),e.headers=a.from(e.headers),e.data=r.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),p.getAdapter(e.adapter||u.adapter)(e).then(function(t){return s(e),t.data=r.call(e,e.transformResponse,t),t.headers=a.from(t.headers),t},function(t){return n(t)||(s(e),t&&t.response&&(t.response.data=r.call(e,e.transformResponse,t.response),t.response.headers=a.from(t.response.headers))),Promise.reject(t)})}module.exports=o;
//# sourceMappingURL=index.cjs258.js.map
