/**
 * Bundled by jsDelivr using Rollup v4.62.2 and esbuild v0.28.1.
 * Original file: /npm/axios@1.19.0/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var ne=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function it(){throw new Error("setTimeout has not been defined")}function at(){throw new Error("clearTimeout has not been defined")}var V=it,W=at;typeof ne.setTimeout=="function"&&(V=setTimeout),typeof ne.clearTimeout=="function"&&(W=clearTimeout);function ct(e){if(V===setTimeout)return setTimeout(e,0);if((V===it||!V)&&setTimeout)return V=setTimeout,setTimeout(e,0);try{return V(e,0)}catch{try{return V.call(null,e,0)}catch{return V.call(this,e,0)}}}function an(e){if(W===clearTimeout)return clearTimeout(e);if((W===at||!W)&&clearTimeout)return W=clearTimeout,clearTimeout(e);try{return W(e)}catch{try{return W.call(null,e)}catch{return W.call(this,e)}}}var q=[],re=!1,X,ge=-1;function cn(){!re||!X||(re=!1,X.length?q=X.concat(q):ge=-1,q.length&&lt())}function lt(){if(!re){var e=ct(cn);re=!0;for(var t=q.length;t;){for(X=q,q=[];++ge<t;)X&&X[ge].run();ge=-1,t=q.length}X=null,re=!1,an(e)}}function ln(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];q.push(new ut(e,t)),q.length===1&&!re&&ct(lt)}function ut(e,t){this.fun=e,this.array=t}ut.prototype.run=function(){this.fun.apply(null,this.array)};var fe=ne.performance||{};fe.now||fe.mozNow||fe.msNow||fe.oNow||fe.webkitNow;var ft={nextTick:ln};function dt(e,t){return function(){return e.apply(t,arguments)}}const{toString:un}=Object.prototype,{getPrototypeOf:se}=Object,{iterator:de,toStringTag:pt}=Symbol,Oe=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),pe=(e,t)=>{let n=e;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),Oe(n,t))return!0;n=se(n)}return!1},fn=(e,t)=>e!=null&&pe(e,t)?e[t]:void 0,je=(e=>t=>{const n=un.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),B=e=>(e=e.toLowerCase(),t=>je(t)===e),Se=e=>t=>typeof t===e,{isArray:G}=Array,Q=Se("undefined");function oe(e){return e!==null&&!Q(e)&&e.constructor!==null&&!Q(e.constructor)&&U(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ht=B("ArrayBuffer");function dn(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ht(e.buffer),t}const pn=Se("string"),U=Se("function"),mt=Se("number"),ie=e=>e!==null&&typeof e=="object",hn=e=>e===!0||e===!1,_e=e=>{if(!ie(e))return!1;const t=se(e);return(t===null||t===Object.prototype||se(t)===null)&&!pe(e,pt)&&!pe(e,de)},mn=e=>{if(!ie(e)||oe(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},yn=B("Date"),wn=B("File"),bn=e=>!!(e&&typeof e.uri<"u"),En=e=>e&&typeof e.getParts<"u",Rn=B("Blob"),gn=B("FileList"),On=B("Set"),Sn=e=>ie(e)&&U(e.pipe);function _n(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof ne<"u"?ne:{}}const yt=_n(),wt=typeof yt.FormData<"u"?yt.FormData:void 0,An=e=>{if(!e)return!1;if(wt&&e instanceof wt)return!0;const t=se(e);if(!t||t===Object.prototype||!U(e.append))return!1;const n=je(e);return n==="formdata"||n==="object"&&U(e.toString)&&e.toString()==="[object FormData]"},Tn=B("URLSearchParams"),[xn,Pn,Cn,Nn]=["ReadableStream","Request","Response","Headers"].map(B),Dn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function he(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),G(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{if(oe(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let c;for(r=0;r<i;r++)c=o[r],t.call(null,e[c],c,e)}}function bt(e,t){if(oe(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Z=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ne,Et=e=>!Q(e)&&e!==Z;function Ie(...e){const{caseless:t,skipUndefined:n}=Et(this)&&this||{},r={},s=(o,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const c=t&&typeof i=="string"&&bt(r,i)||i,l=Oe(r,c)?r[c]:void 0;_e(l)&&_e(o)?r[c]=Ie(l,o):_e(o)?r[c]=Ie({},o):G(o)?r[c]=o.slice():(!n||!Q(o))&&(r[c]=o)};for(let o=0,i=e.length;o<i;o++){const c=e[o];if(!c||oe(c)||(he(c,s),typeof c!="object"||G(c)))continue;const l=Object.getOwnPropertySymbols(c);for(let d=0;d<l.length;d++){const u=l[d];$n.call(c,u)&&s(c[u],u)}}return r}const Un=(e,t,n,{allOwnKeys:r}={})=>(he(t,(s,o)=>{n&&U(s)?Object.defineProperty(e,o,{__proto__:null,value:dt(s,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{__proto__:null,value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),Ln=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Fn=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},Bn=(e,t,n,r)=>{let s,o,i;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&se(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},jn=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},In=e=>{if(!e)return null;if(G(e))return e;let t=e.length;if(!mt(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},kn=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&se(Uint8Array)),qn=(e,t)=>{const r=(e&&e[de]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Hn=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Mn=B("HTMLFormElement"),vn=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),{propertyIsEnumerable:$n}=Object.prototype,zn=B("RegExp"),Rt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};he(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Vn=e=>{Rt(e,(t,n)=>{if(U(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(U(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Wn=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return G(e)?r(e):r(String(e).split(t)),n},Jn=()=>{},Kn=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Xn(e){return!!(e&&U(e.append)&&e[pt]==="FormData"&&e[de])}const Gn=e=>{const t=new WeakSet,n=r=>{if(ie(r)){if(t.has(r))return;if(oe(r))return r;if(!("toJSON"in r)){t.add(r);let s;if(On(r)){s=[];for(const o of r){const i=n(o);!Q(i)&&s.push(i)}}else s=G(r)?[]:{},he(r,(o,i)=>{const c=n(o);!Q(c)&&(s[i]=c)});return t.delete(r),s}}return r};return n(e)},Qn=B("AsyncFunction"),Zn=e=>e&&(ie(e)||U(e))&&U(e.then)&&U(e.catch),gt=((e,t)=>e?setImmediate:t?((n,r)=>(Z.addEventListener("message",({source:s,data:o})=>{s===Z&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),Z.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",U(Z.postMessage)),Yn=typeof queueMicrotask<"u"?queueMicrotask.bind(Z):typeof ft<"u"&&ft.nextTick||gt,Ot=e=>e!=null&&U(e[de]),er=e=>e!=null&&pe(e,de)&&Ot(e);var a={isArray:G,isArrayBuffer:ht,isBuffer:oe,isFormData:An,isArrayBufferView:dn,isString:pn,isNumber:mt,isBoolean:hn,isObject:ie,isPlainObject:_e,isEmptyObject:mn,isReadableStream:xn,isRequest:Pn,isResponse:Cn,isHeaders:Nn,isUndefined:Q,isDate:yn,isFile:wn,isReactNativeBlob:bn,isReactNative:En,isBlob:Rn,isRegExp:zn,isFunction:U,isStream:Sn,isURLSearchParams:Tn,isTypedArray:kn,isFileList:gn,forEach:he,merge:Ie,extend:Un,trim:Dn,stripBOM:Ln,inherits:Fn,toFlatObject:Bn,kindOf:je,kindOfTest:B,endsWith:jn,toArray:In,forEachEntry:qn,matchAll:Hn,isHTMLForm:Mn,hasOwnProperty:Oe,hasOwnProp:Oe,hasOwnInPrototypeChain:pe,getSafeProp:fn,reduceDescriptors:Rt,freezeMethods:Vn,toObjectSet:Wn,toCamelCase:vn,noop:Jn,toFiniteNumber:Kn,findKey:bt,global:Z,isContextDefined:Et,isSpecCompliantForm:Xn,toJSONObject:Gn,isAsyncFn:Qn,isThenable:Zn,setImmediate:gt,asap:Yn,isIterable:Ot,isSafeIterable:er};const tr=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var nr=e=>{const t={};let n,r,s;return e&&e.split(`
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim();const c=a.hasOwnProp(t,n);!n||c&&a.hasOwnProp(tr,n)||(n==="set-cookie"?c?t[n].push(r):t[n]=[r]:t[n]=c?t[n]+", "+r:r)}),t};function rr(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const sr=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),or=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ke(e,t){return a.isArray(e)?e.map(n=>ke(n,t)):rr(String(e).replace(t,""))}const ir=e=>ke(e,sr),ar=e=>ke(e,or);function St(e){const t=Object.create(null);return a.forEach(e.toJSON(),(n,r)=>{t[r]=ar(n)}),t}const _t=Symbol("internals");function me(e){return e&&String(e).trim().toLowerCase()}function Ae(e){return e===!1||e==null?e:a.isArray(e)?e.map(Ae):ir(String(e))}function cr(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const lr=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function qe(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function ur(e){const t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n="";for(let r=1;r<t;r++){const s=e.charCodeAt(r);if(s===34||s===92&&(r+=1,r>=t))return e;n+=e[r]}return n}function fr(e){const t=Object.create(null),n=String(e);let r=0,s=!1,o=!1;function i(c){const l=qe(n.slice(r,c)),d=l.indexOf("=");if(d<1)return;const u=qe(l.slice(0,d));if(!lr.test(u))return;const p=u.toLowerCase();if(p==="__proto__"||p==="constructor"||p==="prototype")return;const w=qe(l.slice(d+1));t[p]=ur(w)}for(let c=0;c<n.length;c++){const l=n.charCodeAt(c);s?o?o=!1:l===92?o=!0:l===34&&(s=!1):l===34?s=!0:(l===44||l===59)&&(i(c),r=c+1)}return i(n.length),t}const dr=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function He(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function pr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function hr(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let N=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(c,l,d){const u=me(l);if(!u)return;const p=a.findKey(s,u);(!p||s[p]===void 0||d===!0||d===void 0&&s[p]!==!1)&&(s[p||l]=Ae(c))}const i=(c,l)=>a.forEach(c,(d,u)=>o(d,u,l));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(a.isString(t)&&(t=t.trim())&&!dr(t))i(nr(t),n);else if(a.isObject(t)&&a.isSafeIterable(t)){let c=Object.create(null),l,d;for(const u of t){if(!a.isArray(u))throw new TypeError("Object iterator must return a key-value pair");d=u[0],a.hasOwnProp(c,d)?(l=c[d],c[d]=a.isArray(l)?[...l,u[1]]:[l,u[1]]):c[d]=u[1]}i(c,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=me(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return cr(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=me(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||He(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=me(i),i){const c=a.findKey(r,i);c&&(!n||He(r,r[c],c,n))&&(delete r[c],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||He(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,o)=>{const i=a.findKey(r,o);if(i){n[i]=Ae(s),delete n[o];return}const c=t?pr(o):String(o).trim();c!==o&&delete n[o],n[c]=Ae(s),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}getSetCookie(){const t=this.get("set-cookie");return a.isArray(t)?t:t==null||t===!1?[]:[t]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static parseParameters(t){return fr(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[_t]=this[_t]={accessors:{}}).accessors,s=this.prototype;function o(i){const c=me(i);r[c]||(hr(s,i),r[c]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}};N.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),a.reduceDescriptors(N.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),a.freezeMethods(N);const Te="[REDACTED ****]";function mr(e){if(a.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(a.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function yr(e,t){const n=new Set(t.map(o=>String(o).toLowerCase())),r=[],s=o=>{if(o===null||typeof o!="object"||a.isBuffer(o))return o;if(r.indexOf(o)!==-1)return;o instanceof N&&(o=o.toJSON()),r.push(o);let i;if(a.isArray(o))i=[],o.forEach((c,l)=>{const d=s(c);a.isUndefined(d)||(i[l]=d)});else{if(!a.isPlainObject(o)&&mr(o))return r.pop(),o;i=Object.create(null);for(const[c,l]of Object.entries(o)){const d=n.has(c.toLowerCase())?Te:s(l);a.isUndefined(d)||(i[c]=d)}}return r.pop(),i};return s(e)}function At(e){try{return String(e)}catch{return""}}function wr(e){return e.errors.map(n=>{try{return n&&n.message?At(n.message):At(n)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}let h=class tn extends Error{static from(t,n,r,s,o,i){let c=t.message;!c&&a.isArray(t.errors)&&t.errors.length&&(c=wr(t));const l=new tn(c,n||t.code,r,s,o);return Object.defineProperty(l,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),l.name=t.name,t.status!=null&&l.status==null&&(l.status=t.status),i&&Object.assign(l,i),l}constructor(t,n,r,s,o){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),s&&(this.request=s),o&&(this.response=o,this.status=o.status)}toJSON(){const t=this.config,n=t&&a.hasOwnProp(t,"redact")?t.redact:void 0,r=a.isArray(n)&&n.length>0?yr(t,n):a.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};h.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",h.ERR_BAD_OPTION="ERR_BAD_OPTION",h.ECONNABORTED="ECONNABORTED",h.ETIMEDOUT="ETIMEDOUT",h.ECONNREFUSED="ECONNREFUSED",h.ERR_NETWORK="ERR_NETWORK",h.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",h.ERR_DEPRECATED="ERR_DEPRECATED",h.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",h.ERR_BAD_REQUEST="ERR_BAD_REQUEST",h.ERR_CANCELED="ERR_CANCELED",h.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",h.ERR_INVALID_URL="ERR_INVALID_URL",h.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var br=null;const Tt=100;function Me(e){return a.isPlainObject(e)||a.isArray(e)}function xt(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function ve(e,t,n){return e?e.concat(t).map(function(s,o){return s=xt(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Er(e){return a.isArray(e)&&!e.some(Me)}const Rr=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function xe(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,b){return!a.isUndefined(b[y])});const r=n.metaTokens,s=n.visitor||g,o=n.dots,i=n.indexes,c=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?Tt:n.maxDepth,d=c&&a.isSpecCompliantForm(t),u=[];if(!a.isFunction(s))throw new TypeError("visitor must be a function");function p(f){if(f===null)return"";if(a.isDate(f))return f.toISOString();if(a.isBoolean(f))return f.toString();if(!d&&a.isBlob(f))throw new h("Blob is not supported. Use a Buffer instead.");if(a.isArrayBuffer(f)||a.isTypedArray(f)){if(d&&typeof c=="function")return new c([f]);throw new h("Blob is not supported. Use a Buffer instead.",h.ERR_NOT_SUPPORT)}return f}function w(f){if(f>l)throw new h("Object is too deeply nested ("+f+" levels). Max depth: "+l,h.ERR_FORM_DATA_DEPTH_EXCEEDED)}function R(f,y){if(l===1/0)return JSON.stringify(f);const b=[];return JSON.stringify(f,function(C,A){if(!a.isObject(A))return A;for(;b.length&&b[b.length-1]!==this;)b.pop();return b.push(A),w(y+b.length-1),A})}function g(f,y,b){let O=f;if(a.isReactNative(t)&&a.isReactNativeBlob(f))return t.append(ve(b,y,o),p(f)),!1;if(f&&!b&&typeof f=="object"){if(a.endsWith(y,"{}"))y=r?y:y.slice(0,-2),f=R(f,1);else if(a.isArray(f)&&Er(f)||(a.isFileList(f)||a.endsWith(y,"[]"))&&(O=a.toArray(f)))return y=xt(y),O.forEach(function(A,H){!(a.isUndefined(A)||A===null)&&t.append(i===!0?ve([y],H,o):i===null?y:y+"[]",p(A))}),!1}return Me(f)?!0:(t.append(ve(b,y,o),p(f)),!1)}const S=Object.assign(Rr,{defaultVisitor:g,convertValue:p,isVisitable:Me});function m(f,y,b=0){if(!a.isUndefined(f)){if(w(b),u.indexOf(f)!==-1)throw new Error("Circular reference detected in "+y.join("."));u.push(f),a.forEach(f,function(C,A){(!(a.isUndefined(C)||C===null)&&s.call(t,C,a.isString(A)?A.trim():A,y,S))===!0&&m(C,y?y.concat(A):[A],b+1)}),u.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Pt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function $e(e,t){this._pairs=[],e&&xe(e,this,t)}const Ct=$e.prototype;Ct.append=function(t,n){this._pairs.push([t,n])},Ct.toString=function(t){const n=t?r=>t.call(this,r,Pt):Pt;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function gr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Nt(e,t,n){if(!t)return e;e=e||"";const r=a.isFunction(n)?{serialize:n}:n,s=a.getSafeProp(r,"encode")||gr,o=a.getSafeProp(r,"serialize");let i;if(o?i=o(t,r):i=a.isURLSearchParams(t)?t.toString():new $e(t,r).toString(s),i){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Dt{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}var ze={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Or=typeof URLSearchParams<"u"?URLSearchParams:$e,Sr=typeof FormData<"u"?FormData:null,_r=typeof Blob<"u"?Blob:null,Ar={isBrowser:!0,classes:{URLSearchParams:Or,FormData:Sr,Blob:_r},protocols:["http","https","file","blob","url","data"]};const Ve=typeof window<"u"&&typeof document<"u",We=typeof navigator=="object"&&navigator||void 0,Tr=Ve&&(!We||["ReactNative","NativeScript","NS"].indexOf(We.product)<0),xr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Pr=Ve&&window.location.href||"http://localhost";var Cr=Object.freeze({__proto__:null,hasBrowserEnv:Ve,hasStandardBrowserEnv:Tr,hasStandardBrowserWebWorkerEnv:xr,navigator:We,origin:Pr}),P={...Cr,...Ar};function Nr(e,t){return xe(e,new P.classes.URLSearchParams,{visitor:function(n,r,s,o){return P.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}const Ut=Tt;function Lt(e){if(e>Ut)throw new h("FormData field is too deeply nested ("+e+" levels). Max depth: "+Ut,h.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Dr(e){const t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;(r=n.exec(e))!==null;)Lt(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function Ur(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Ft(e){function t(n,r,s,o){Lt(o);let i=n[o++];if(i==="__proto__")return!0;const c=Number.isFinite(+i),l=o>=n.length;return i=!i&&a.isArray(s)?s.length:i,l?(a.hasOwnProp(s,i)?s[i]=a.isArray(s[i])?s[i].concat(r):[s[i],r]:s[i]=r,!c):((!a.hasOwnProp(s,i)||!a.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&a.isArray(s[i])&&(s[i]=Ur(s[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,s)=>{t(Dr(r),s,n,0)}),n}return null}const ae=(e,t)=>e!=null&&a.hasOwnProp(e,t)?e[t]:void 0;function Lr(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ye={transitional:ze,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify(Ft(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(o){const l=ae(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return Nr(t,l).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=ae(this,"env"),u=d&&d.FormData;return xe(c?{"files[]":t}:t,u&&new u,l)}}return o||s?(n.setContentType("application/json",!1),Lr(t)):t}],transformResponse:[function(t){const n=ae(this,"transitional")||ye.transitional,r=n&&n.forcedJSONParsing,s=ae(this,"responseType"),o=s==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(r&&!s||o)){const c=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,ae(this,"parseReviver"))}catch(l){if(c)throw l.name==="SyntaxError"?h.from(l,h.ERR_BAD_RESPONSE,this,null,ae(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:P.classes.FormData,Blob:P.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch","query"],e=>{ye.headers[e]={}});function Je(e,t){const n=this||ye,r=t||n,s=N.from(r.headers);let o=r.data;return a.forEach(e,function(c){o=c.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Bt(e){return!!(e&&e.__CANCEL__)}let we=class extends h{constructor(t,n,r){super(t??"canceled",h.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function jt(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new h("Request failed with status code "+n.status,n.status>=400&&n.status<500?h.ERR_BAD_REQUEST:h.ERR_BAD_RESPONSE,n.config,n.request,n))}function Fr(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function Br(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const d=Date.now(),u=r[o];i||(i=d),n[s]=l,r[s]=d;let p=o,w=0;for(;p!==s;)w+=n[p++],p=p%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),d-i<t)return;const R=u&&d-u;return R?Math.round(w*1e3/R):void 0}}function jr(e,t){let n=0,r=1e3/t,s,o;const i=(d,u=Date.now())=>{n=u,s=null,o&&(clearTimeout(o),o=null),e(...d)};return[(...d)=>{const u=Date.now(),p=u-n;p>=r?i(d,u):(s=d,o||(o=setTimeout(()=>{o=null,i(s)},r-p)))},()=>s&&i(s)]}const Pe=(e,t,n=3)=>{let r=0;const s=Br(50,250);return jr(o=>{if(!o||typeof o.loaded!="number")return;const i=o.loaded,c=o.lengthComputable?o.total:void 0,l=Math.max(0,c!=null?Math.min(i,c):i),d=Math.max(0,l-r),u=s(d);r=Math.max(r,l);const p={loaded:l,total:c,progress:c?l/c:void 0,bytes:d,rate:u||void 0,estimated:u&&c?(c-l)/u:void 0,event:o,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(p)},n)},It=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},kt=(e,t=a.asap)=>(...n)=>t(()=>e(...n));var Ir=P.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,P.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(P.origin),P.navigator&&/(msie|trident)/i.test(P.navigator.userAgent)):()=>!0,kr=P.hasStandardBrowserEnv?{write(e,t,n,r,s,o,i){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];a.isNumber(n)&&c.push(`expires=${new Date(n).toUTCString()}`),a.isString(r)&&c.push(`path=${r}`),a.isString(s)&&c.push(`domain=${s}`),o===!0&&c.push("secure"),a.isString(i)&&c.push(`SameSite=${i}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),s=r.indexOf("=");if(s!==-1&&r.slice(0,s)===e)try{return decodeURIComponent(r.slice(s+1))}catch{return r.slice(s+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function qr(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Hr(e,t){if(!t)return e;let n=e.length;for(;n>0&&e.charCodeAt(n-1)===47;)n--;return e.slice(0,n)+"/"+t.replace(/^\/+/,"")}const Mr=/^https?:(?!\/\/)/i,vr=/[\t\n\r]/g;function $r(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function zr(e){return $r(e).replace(vr,"")}function Vr(e){return e&&e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,n,r="")=>`${n}${r}${Te}`)}function Wr(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Te}@`),n=t.indexOf("#"),s=(n===-1?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Te}`);return n===-1?s:`${s}#${Vr(t.slice(n+1))}`}function qt(e,t){if(typeof e=="string"){const n=zr(e);if(Mr.test(n))throw new h(`Invalid URL ${JSON.stringify(Wr(n))}: missing "//" after protocol`,h.ERR_INVALID_URL,t)}}function Ht(e,t,n,r){qt(t,r);let s=!qr(t);return e&&(s||n===!1)?(qt(e,r),Hr(e,t)):t}const Mt=e=>e instanceof N?{...e}:e,Jr=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function Y(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(u,p,w,R){return a.isPlainObject(u)&&a.isPlainObject(p)?a.merge.call({caseless:R},u,p):a.isPlainObject(p)?a.merge({},p):a.isArray(p)?p.slice():p}function s(u,p,w,R){if(a.isUndefined(p)){if(!a.isUndefined(u))return r(void 0,u,w,R)}else return r(u,p,w,R)}function o(u,p){if(!a.isUndefined(p))return r(void 0,p)}function i(u,p){if(a.isUndefined(p)){if(!a.isUndefined(u))return r(void 0,u)}else return r(void 0,p)}function c(u){const p=a.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!a.isUndefined(p))if(a.isPlainObject(p)){if(a.hasOwnProp(p,u))return p[u]}else return;const w=a.hasOwnProp(e,"transitional")?e.transitional:void 0;if(a.isPlainObject(w)&&a.hasOwnProp(w,u))return w[u]}function l(u,p,w){if(a.hasOwnProp(t,w))return r(u,p);if(a.hasOwnProp(e,w))return r(void 0,u)}const d={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:l,headers:(u,p,w)=>s(Mt(u),Mt(p),w,!0)};return a.forEach(Jr({...e,...t}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const w=a.hasOwnProp(d,p)?d[p]:s,R=a.hasOwnProp(e,p)?e[p]:void 0,g=a.hasOwnProp(t,p)?t[p]:void 0,S=w(R,g,p);a.isUndefined(S)&&w!==l||(n[p]=S)}),a.hasOwnProp(t,"validateStatus")&&a.isUndefined(t.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(a.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const Kr=["content-type","content-length"];function Xr(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,s])=>{Kr.includes(r.toLowerCase())&&e.set(r,s)})}const Gr=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function vt(e){const t=Y({},e),n=w=>a.hasOwnProp(t,w)?t[w]:void 0,r=n("data");let s=n("withXSRFToken");const o=n("xsrfHeaderName"),i=n("xsrfCookieName");let c=n("headers");const l=n("auth"),d=n("baseURL"),u=n("allowAbsoluteUrls"),p=n("url");if(t.headers=c=N.from(c),t.url=Nt(Ht(d,p,u,t),n("params"),n("paramsSerializer")),l){const w=a.getSafeProp(l,"username")||"",R=a.getSafeProp(l,"password")||"";try{c.set("Authorization","Basic "+btoa(w+":"+(R?Gr(R):"")))}catch(g){throw h.from(g,h.ERR_BAD_OPTION_VALUE,e)}}if(a.isFormData(r)&&(P.hasStandardBrowserEnv||P.hasStandardBrowserWebWorkerEnv||a.isReactNative(r)?c.setContentType(void 0):a.isFunction(r.getHeaders)&&Xr(c,r.getHeaders(),n("formDataHeaderPolicy"))),P.hasStandardBrowserEnv&&(a.isFunction(s)&&(s=s(t)),s===!0||s==null&&Ir(t.url))){const R=o&&i&&kr.read(i);R&&c.set(o,R)}return t}const Qr=typeof XMLHttpRequest<"u";var Zr=Qr&&function(e){return new Promise(function(n,r){const s=vt(e);let o=s.data;const i=N.from(s.headers).normalize();let{responseType:c,onUploadProgress:l,onDownloadProgress:d}=s,u,p,w,R,g;function S(){R&&R(),g&&g(),s.cancelToken&&s.cancelToken.unsubscribe(u),s.signal&&s.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(s.method.toUpperCase(),s.url,!0),m.timeout=s.timeout;function f(){if(!m)return;const b=N.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),C={data:!c||c==="text"||c==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:b,config:e,request:m};jt(function(H){n(H),S()},function(H){r(H),S()},C),m=null}"onloadend"in m?m.onloadend=f:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.startsWith("file:"))||setTimeout(f)},m.onabort=function(){m&&(r(new h("Request aborted",h.ECONNABORTED,e,m)),S(),m=null)},m.onerror=function(O){const C=O&&O.message?O.message:"Network Error",A=new h(C,h.ERR_NETWORK,e,m);A.event=O||null,r(A),S(),m=null},m.ontimeout=function(){let O=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const C=s.transitional||ze;s.timeoutErrorMessage&&(O=s.timeoutErrorMessage),r(new h(O,C.clarifyTimeoutError?h.ETIMEDOUT:h.ECONNABORTED,e,m)),S(),m=null},o===void 0&&i.setContentType(null),"setRequestHeader"in m&&a.forEach(St(i),function(O,C){m.setRequestHeader(C,O)}),a.isUndefined(s.withCredentials)||(m.withCredentials=!!s.withCredentials),c&&c!=="json"&&(m.responseType=s.responseType),d&&([w,g]=Pe(d,!0),m.addEventListener("progress",w)),l&&m.upload&&([p,R]=Pe(l),m.upload.addEventListener("progress",p),m.upload.addEventListener("loadend",R)),(s.cancelToken||s.signal)&&(u=b=>{m&&(r(!b||b.type?new we(null,e,m):b),m.abort(),S(),m=null)},s.cancelToken&&s.cancelToken.subscribe(u),s.signal&&(s.signal.aborted?u():s.signal.addEventListener("abort",u)));const y=Fr(s.url);if(y&&!P.protocols.includes(y)){r(new h("Unsupported protocol "+y+":",h.ERR_BAD_REQUEST,e)),S();return}m.send(o||null)})};const Yr=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const s=function(l){if(!r){r=!0,i();const d=l instanceof Error?l:this.reason;n.abort(d instanceof h?d:new we(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,s(new h(`timeout of ${t}ms exceeded`,h.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(s):l.removeEventListener("abort",s)}),e=null)};e.forEach(l=>{if(!r){if(l.aborted){s.call(l);return}l.addEventListener("abort",s,{once:!0})}});const{signal:c}=n;return c.unsubscribe=()=>a.asap(i),c},es=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},ts=async function*(e,t){for await(const n of ns(e))yield*es(n,t)},ns=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},$t=(e,t,n,r)=>{const s=ts(e,t);let o=0,i,c=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:d,value:u}=await s.next();if(d){c(),l.close();return}let p=u.byteLength;if(n){let w=o+=p;n(w)}l.enqueue(new Uint8Array(u))}catch(d){throw c(d),d}},cancel(l){return c(l),s.return()}},{highWaterMark:2})},zt=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Vt=(e,t,n)=>t+2<n&&zt(e.charCodeAt(t+1))&&zt(e.charCodeAt(t+2)),Wt=e=>e<=57?e-48:(e&223)-55,rs=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,ss=e=>e===9||e===10||e===12||e===13||e===32,os=e=>{const t=Math.floor(e/4),n=e%4;return t*3+(n===2?1:n===3?2:0)},is=e=>{const t=e.length;let n=0;return t>0&&e.charCodeAt(t-1)===61&&(n++,t>1&&e.charCodeAt(t-2)===61&&n++),Math.floor((t-n)*3/4)},as=e=>{const t=e.length;let n=0,r=0,s=!1;for(let o=0;o<t;o++){let i=e.charCodeAt(o);if(i===37&&Vt(e,o,t)&&(i=Wt(e.charCodeAt(o+1))*16+Wt(e.charCodeAt(o+2)),o+=2),!ss(i)){if(i===61){r++;continue}if(!rs(i)||r>0){s=!0;continue}n++}}return s||r>2||r>0&&(n+r)%4!==0||n%4===1?is(e):os(n)},cs=(e,t)=>{if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const n=e.indexOf(",");if(n<0)return 0;const r=e.slice(5,n),s=e.slice(n+1);if(/;base64/i.test(r))return t(s);let i=0;for(let c=0,l=s.length;c<l;c++){const d=s.charCodeAt(c);if(d===37&&Vt(s,c,l))i+=1,c+=2;else if(d<128)i+=1;else if(d<2048)i+=2;else if(d>=55296&&d<=56319&&c+1<l){const u=s.charCodeAt(c+1);u>=56320&&u<=57343?(i+=4,c++):i+=3}else i+=3}return i};function ls(e){const t=typeof e=="string"?e.indexOf("#"):-1;return cs(t===-1?e:e.slice(0,t),as)}const Ke="1.19.0",Jt=64*1024,{isFunction:Ce}=a,us=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Kt=e=>{if(!a.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Xt=(e,...t)=>{try{return!!e(...t)}catch{return!1}},fs=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},ds=e=>{const t=a.global!==void 0&&a.global!==null?a.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=a.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:s,Request:o,Response:i}=e,c=s?Ce(s):typeof fetch=="function",l=Ce(o),d=Ce(i);if(!c)return!1;const u=c&&Ce(n),p=c&&(typeof r=="function"?(f=>y=>f.encode(y))(new r):async f=>new Uint8Array(await new o(f).arrayBuffer())),w=l&&u&&Xt(()=>{let f=!1;const y=new o(P.origin,{body:new n,method:"POST",get duplex(){return f=!0,"half"}}),b=y.headers.has("Content-Type");return y.body!=null&&y.body.cancel(),f&&!b}),R=d&&u&&Xt(()=>a.isReadableStream(new i("").body)),g={stream:R&&(f=>f.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!g[f]&&(g[f]=(y,b)=>{let O=y&&y[f];if(O)return O.call(y);throw new h(`Response type '${f}' is not supported`,h.ERR_NOT_SUPPORT,b)})});const S=async f=>{if(f==null)return 0;if(a.isBlob(f))return f.size;if(a.isSpecCompliantForm(f))return(await new o(P.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(a.isArrayBufferView(f)||a.isArrayBuffer(f))return f.byteLength;if(a.isURLSearchParams(f)&&(f=f+""),a.isString(f))return(await p(f)).byteLength},m=async(f,y)=>{const b=a.toFiniteNumber(f.getContentLength());return b??S(y)};return async f=>{let{url:y,method:b,data:O,signal:C,cancelToken:A,timeout:H,onDownloadProgress:Ue,onUploadProgress:Le,responseType:M,headers:v,withCredentials:be="same-origin",fetchOptions:Ye,maxContentLength:j,maxBodyLength:Ee}=vt(f);const ce=a.isNumber(j)&&j>-1,Fe=a.isNumber(Ee)&&Ee>-1,rn=_=>a.hasOwnProp(f,_)?f[_]:void 0;let et=s||fetch;M=M?(M+"").toLowerCase():"text";let $=Yr([C,A&&A.toAbortSignal()],H),x=null;const J=$&&$.unsubscribe&&(()=>{$.unsubscribe()});let te,le=null;const tt=()=>new h("Request body larger than maxBodyLength limit",h.ERR_BAD_REQUEST,f,x);try{let _;const F=rn("auth");if(F){const E=a.getSafeProp(F,"username")||"",L=a.getSafeProp(F,"password")||"";_={username:E,password:L}}if(fs(y)){const E=new URL(y,P.origin);if(!_&&(E.username||E.password)){const L=Kt(E.username),z=Kt(E.password);_={username:L,password:z}}(E.username||E.password)&&(E.username="",E.password="",y=E.href)}if(_&&(v.delete("authorization"),v.set("Authorization","Basic "+btoa(us((_.username||"")+":"+(_.password||""))))),ce&&typeof y=="string"&&y.startsWith("data:")&&ls(y)>j)throw new h("maxContentLength size of "+j+" exceeded",h.ERR_BAD_RESPONSE,f,x);if(Fe&&b!=="get"&&b!=="head"){const E=await S(O);if(typeof E=="number"&&isFinite(E)&&(te=E,E>Ee))throw tt()}const Re=Fe&&(a.isReadableStream(O)||a.isStream(O)),nt=(E,L,z)=>$t(E,Jt,K=>{if(Fe&&K>Ee)throw le=tt();L&&L(K)},z);if(w&&b!=="get"&&b!=="head"&&(Le||Re)){if(te=te??await m(v,O),te!==0||Re){let E=new o(y,{method:"POST",body:O,duplex:"half"}),L;if(a.isFormData(O)&&(L=E.headers.get("content-type"))&&v.setContentType(L),E.body){const[z,K]=Le&&It(te,Pe(kt(Le)))||[];O=nt(E.body,z,K)}}}else if(Re&&!l&&u&&b!=="get"&&b!=="head")O=nt(O);else if(Re&&l&&!w&&b!=="get"&&b!=="head")throw new h("Stream request bodies are not supported by the current fetch implementation",h.ERR_NOT_SUPPORT,f,x);a.isString(be)||(be=be?"include":"omit");const sn=l&&"credentials"in o.prototype;if(a.isFormData(O)){const E=v.getContentType();E&&/^multipart\/form-data/i.test(E)&&!/boundary=/i.test(E)&&v.delete("content-type")}v.set("User-Agent","axios/"+Ke,!1);const rt={...Ye,signal:$,method:b.toUpperCase(),headers:St(v.normalize()),body:O,duplex:"half",credentials:sn?be:void 0};x=l&&new o(y,rt);let I=await(l?et(x,Ye):et(y,rt));const st=N.from(I.headers);if(ce){const E=a.toFiniteNumber(st.getContentLength());if(E!=null&&E>j)throw new h("maxContentLength size of "+j+" exceeded",h.ERR_BAD_RESPONSE,f,x)}const Be=R&&(M==="stream"||M==="response");if(R&&I.body&&(Ue||ce||Be&&J)){const E={};["status","statusText","headers"].forEach(ue=>{E[ue]=I[ue]});const L=a.toFiniteNumber(st.getContentLength()),[z,K]=Ue&&It(L,Pe(kt(Ue),!0))||[];let ot=0;const on=ue=>{if(ce&&(ot=ue,ot>j))throw new h("maxContentLength size of "+j+" exceeded",h.ERR_BAD_RESPONSE,f,x);z&&z(ue)};I=new i($t(I.body,Jt,on,()=>{K&&K(),J&&J()}),E)}M=M||"text";let k=await g[a.findKey(g,M)||"text"](I,f);if(ce&&!R&&!Be){let E;if(k!=null&&(typeof k.byteLength=="number"?E=k.byteLength:typeof k.size=="number"?E=k.size:typeof k=="string"&&(E=typeof r=="function"?new r().encode(k).byteLength:k.length)),typeof E=="number"&&E>j)throw new h("maxContentLength size of "+j+" exceeded",h.ERR_BAD_RESPONSE,f,x)}return!Be&&J&&J(),await new Promise((E,L)=>{jt(E,L,{data:k,headers:N.from(I.headers),status:I.status,statusText:I.statusText,config:f,request:x})})}catch(_){if(J&&J(),$&&$.aborted&&$.reason instanceof h){const F=$.reason;throw F.config=f,x&&(F.request=x),_!==F&&Object.defineProperty(F,"cause",{__proto__:null,value:_,writable:!0,enumerable:!1,configurable:!0}),F}if(le)throw x&&!le.request&&(le.request=x),le;if(_ instanceof h)throw x&&!_.request&&(_.request=x),_;if(_&&_.name==="TypeError"&&/Load failed|fetch/i.test(_.message)){const F=new h("Network Error",h.ERR_NETWORK,f,x,_&&_.response);throw Object.defineProperty(F,"cause",{__proto__:null,value:_.cause||_,writable:!0,enumerable:!1,configurable:!0}),F}throw h.from(_,_&&_.code,f,x,_&&_.response)}}},ps=new Map,Gt=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:s}=t,o=[r,s,n];let i=o.length,c=i,l,d,u=ps;for(;c--;)l=o[c],d=u.get(l),d===void 0&&u.set(l,d=c?new Map:ds(t)),u=d;return d};Gt();const Xe={http:br,xhr:Zr,fetch:{get:Gt}};a.forEach(Xe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Qt=e=>`- ${e}`,hs=e=>a.isFunction(e)||e===null||e===!1;function ms(e,t){e=a.isArray(e)?e:[e];const{length:n}=e;let r,s;const o={};for(let i=0;i<n;i++){r=e[i];let c;if(s=r,!hs(r)&&(s=Xe[(c=String(r)).toLowerCase()],s===void 0))throw new h(`Unknown adapter '${c}'`);if(s&&(a.isFunction(s)||(s=s.get(t))))break;o[c||"#"+i]=s}if(!s){const i=Object.entries(o).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let c=n?i.length>1?`since :
`+i.map(Qt).join(`
`):" "+Qt(i[0]):"as no adapter specified";throw new h("There is no suitable adapter to dispatch the request "+c,h.ERR_NOT_SUPPORT)}return s}var Zt={getAdapter:ms,adapters:Xe};function Ge(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new we(null,e)}function Qe(e){return Ge(e),e.headers=N.from(e.headers),e.data=Je.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Zt.getAdapter(e.adapter||ye.adapter,e)(e).then(function(r){Ge(e),e.response=r;try{r.data=Je.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=N.from(r.headers),r},function(r){if(!Bt(r)&&(Ge(e),r&&r.response)){e.response=r.response;try{r.response.data=Je.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=N.from(r.response.headers)}return Promise.reject(r)})}const Ne={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ne[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Yt={};Ne.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Ke+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,c)=>{if(t===!1)throw new h(s(i," has been removed"+(n?" in "+n:"")),h.ERR_DEPRECATED);return n&&!Yt[i]&&(Yt[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,c):!0}},Ne.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function ys(e,t,n){if(typeof e!="object"||e===null)throw new h("options must be an object",h.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(i){const c=e[o],l=c===void 0||i(c,o,e);if(l!==!0)throw new h("option "+o+" must be "+l,h.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new h("Unknown option "+o,h.ERR_BAD_OPTION)}}var De={assertOptions:ys,validators:Ne};const D=De.validators;let ee=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Dt,response:new Dt}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=(()=>{if(!s.stack)return"";const i=s.stack.indexOf(`
`);return i===-1?"":s.stack.slice(i+1)})();try{if(!r.stack)r.stack=o;else if(o){const i=o.indexOf(`
`),c=i===-1?-1:o.indexOf(`
`,i+1),l=c===-1?"":o.slice(c+1);String(r.stack).endsWith(l)||(r.stack+=`
`+o)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Y(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&De.assertOptions(r,{silentJSONParsing:D.transitional(D.boolean),forcedJSONParsing:D.transitional(D.boolean),clarifyTimeoutError:D.transitional(D.boolean),legacyInterceptorReqResOrdering:D.transitional(D.boolean),advertiseZstdAcceptEncoding:D.transitional(D.boolean),validateStatusUndefinedResolves:D.transitional(D.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:De.assertOptions(s,{encode:D.function,serialize:D.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),De.assertOptions(n,{baseUrl:D.spelling("baseURL"),withXsrfToken:D.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","query","common"],g=>{delete o[g]}),n.headers=N.concat(i,o);const c=[];let l=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen=="function"&&S.runWhen(n)===!1)return;l=l&&S.synchronous;const m=n.transitional||ze;m&&m.legacyInterceptorReqResOrdering?c.unshift(S.fulfilled,S.rejected):c.push(S.fulfilled,S.rejected)});const d=[];this.interceptors.response.forEach(function(S){d.push(S.fulfilled,S.rejected)});let u,p=0,w;if(!l){const g=[Qe.bind(this),void 0];for(g.unshift(...c),g.push(...d),w=g.length,u=Promise.resolve(n);p<w;)u=u.then(g[p++],g[p++]);return u}w=c.length;let R=n;for(;p<w;){const g=c[p++],S=c[p++];try{R=g?g(R):R}catch(m){if(!S){u=Promise.reject(m);break}try{const f=S.call(this,m);a.isThenable(f)&&(u=Promise.resolve(f).then(()=>Qe.call(this,R)))}catch(f){u=Promise.reject(f)}break}}if(!u)try{u=Qe.call(this,R)}catch(g){u=Promise.reject(g)}for(p=0,w=d.length;p<w;)u=u.then(d[p++],d[p++]);return u}getUri(t){t=Y(this.defaults,t);const n=Ht(t.baseURL,t.url,t.allowAbsoluteUrls,t);return Nt(n,t.params,t.paramsSerializer)}};a.forEach(["delete","get","head","options"],function(t){ee.prototype[t]=function(n,r){return this.request(Y(r||{},{method:t,url:n,data:r&&a.hasOwnProp(r,"data")?r.data:void 0}))}}),a.forEach(["post","put","patch","query"],function(t){function n(r){return function(o,i,c){return this.request(Y(c||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}ee.prototype[t]=n(),t!=="query"&&(ee.prototype[t+"Form"]=n(!0))});let ws=class nn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(c=>{r.subscribe(c),o=c}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,c){r.reason||(r.reason=new we(o,i,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new nn(function(s){t=s}),cancel:t}}};function bs(e){return function(n){return e.apply(null,n)}}function Es(e){return a.isObject(e)&&e.isAxiosError===!0}const Ze={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ze).forEach(([e,t])=>{Ze[t]=e});function en(e){const t=new ee(e),n=dt(ee.prototype.request,t);return a.extend(n,ee.prototype,t,{allOwnKeys:!0}),a.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return en(Y(e,s))},n}const T=en(ye);T.Axios=ee,T.CanceledError=we,T.CancelToken=ws,T.isCancel=Bt,T.VERSION=Ke,T.toFormData=xe,T.AxiosError=h,T.Cancel=T.CanceledError,T.all=function(t){return Promise.all(t)},T.spread=bs,T.isAxiosError=Es,T.mergeConfig=Y,T.AxiosHeaders=N,T.formToJSON=e=>Ft(a.isHTMLForm(e)?new FormData(e):e),T.getAdapter=Zt.getAdapter,T.HttpStatusCode=Ze,T.default=T;const{Axios:Rs,AxiosError:gs,CanceledError:Os,isCancel:Ss,CancelToken:_s,VERSION:As,all:Ts,Cancel:xs,isAxiosError:Ps,spread:Cs,toFormData:Ns,AxiosHeaders:Ds,HttpStatusCode:Us,formToJSON:Ls,getAdapter:Fs,mergeConfig:Bs,create:js}=T;export{Rs as Axios,gs as AxiosError,Ds as AxiosHeaders,xs as Cancel,_s as CancelToken,Os as CanceledError,Us as HttpStatusCode,As as VERSION,Ts as all,js as create,T as default,Ls as formToJSON,Fs as getAdapter,Ps as isAxiosError,Ss as isCancel,Bs as mergeConfig,Cs as spread,Ns as toFormData};
//# sourceMappingURL=/sm/d836fd5002da62d49b4862c8cc958fd96908f871e9bf2c119a7ca54341c47fc9.map