/**
 * Bundled by jsDelivr using Rollup v4.62.2 and esbuild v0.28.1.
 * Original file: /npm/axios@1.4.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 xe(t,e){return function(){return t.apply(e,arguments)}}const{toString:pr}=Object.prototype,{getPrototypeOf:ie}=Object,z=(t=>e=>{const r=pr.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),_=t=>(t=t.toLowerCase(),e=>z(e)===t),J=t=>e=>typeof e===t,{isArray:L}=Array,v=J("undefined");function dr(t){return t!==null&&!v(t)&&t.constructor!==null&&!v(t.constructor)&&S(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ae=_("ArrayBuffer");function mr(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ae(t.buffer),e}const wr=J("string"),S=J("function"),Re=J("number"),$=t=>t!==null&&typeof t=="object",Er=t=>t===!0||t===!1,W=t=>{if(z(t)!=="object")return!1;const e=ie(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},yr=_("Date"),xr=_("File"),Ar=_("Blob"),Rr=_("FileList"),Sr=t=>$(t)&&S(t.pipe),Fr=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||S(t.append)&&((e=z(t))==="formdata"||e==="object"&&S(t.toString)&&t.toString()==="[object FormData]"))},Tr=_("URLSearchParams"),gr=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function H(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),L(t))for(n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else{const o=r?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;let a;for(n=0;n<s;n++)a=o[n],e.call(null,t[a],a,t)}}function Se(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,i;for(;n-- >0;)if(i=r[n],e===i.toLowerCase())return i;return null}const Fe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ne,Te=t=>!v(t)&&t!==Fe;function oe(){const{caseless:t}=Te(this)&&this||{},e={},r=(n,i)=>{const o=t&&Se(e,i)||i;W(e[o])&&W(n)?e[o]=oe(e[o],n):W(n)?e[o]=oe({},n):L(n)?e[o]=n.slice():e[o]=n};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&H(arguments[n],r);return e}const _r=(t,e,r,{allOwnKeys:n}={})=>(H(e,(i,o)=>{r&&S(i)?t[o]=xe(i,r):t[o]=i},{allOwnKeys:n}),t),Or=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Br=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Ur=(t,e,r,n)=>{let i,o,s;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)s=i[o],(!n||n(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=r!==!1&&ie(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Cr=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Pr=t=>{if(!t)return null;if(L(t))return t;let e=t.length;if(!Re(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},br=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ie(Uint8Array)),Nr=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const o=i.value;e.call(t,o[0],o[1])}},Dr=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Ir=_("HTMLFormElement"),Lr=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),ge=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),kr=_("RegExp"),_e=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};H(r,(i,o)=>{e(i,o,t)!==!1&&(n[o]=i)}),Object.defineProperties(t,n)},Mr=t=>{_e(t,(e,r)=>{if(S(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(S(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},vr=(t,e)=>{const r={},n=i=>{i.forEach(o=>{r[o]=!0})};return L(t)?n(t):n(String(t).split(e)),r},Hr=()=>{},Yr=(t,e)=>(t=+t,Number.isFinite(t)?t:e),se="abcdefghijklmnopqrstuvwxyz",Oe="0123456789",Be={DIGIT:Oe,ALPHA:se,ALPHA_DIGIT:se+se.toUpperCase()+Oe},jr=(t=16,e=Be.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r};function qr(t){return!!(t&&S(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const zr=t=>{const e=new Array(10),r=(n,i)=>{if($(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[i]=n;const o=L(n)?[]:{};return H(n,(s,a)=>{const l=r(s,i+1);!v(l)&&(o[a]=l)}),e[i]=void 0,o}}return n};return r(t,0)},Jr=_("AsyncFunction"),$r=t=>t&&($(t)||S(t))&&S(t.then)&&S(t.catch);var u={isArray:L,isArrayBuffer:Ae,isBuffer:dr,isFormData:Fr,isArrayBufferView:mr,isString:wr,isNumber:Re,isBoolean:Er,isObject:$,isPlainObject:W,isUndefined:v,isDate:yr,isFile:xr,isBlob:Ar,isRegExp:kr,isFunction:S,isStream:Sr,isURLSearchParams:Tr,isTypedArray:br,isFileList:Rr,forEach:H,merge:oe,extend:_r,trim:gr,stripBOM:Or,inherits:Br,toFlatObject:Ur,kindOf:z,kindOfTest:_,endsWith:Cr,toArray:Pr,forEachEntry:Nr,matchAll:Dr,isHTMLForm:Ir,hasOwnProperty:ge,hasOwnProp:ge,reduceDescriptors:_e,freezeMethods:Mr,toObjectSet:vr,toCamelCase:Lr,noop:Hr,toFiniteNumber:Yr,findKey:Se,global:Fe,isContextDefined:Te,ALPHABET:Be,generateString:jr,isSpecCompliantForm:qr,toJSONObject:zr,isAsyncFn:Jr,isThenable:$r},O=[],F=[],Wr=typeof Uint8Array<"u"?Uint8Array:Array,ae=!1;function Ue(){ae=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)O[e]=t[e],F[t.charCodeAt(e)]=e;F[45]=62,F[95]=63}function Vr(t){ae||Ue();var e,r,n,i,o,s,a=t.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o=t[a-2]==="="?2:t[a-1]==="="?1:0,s=new Wr(a*3/4-o),n=o>0?a-4:a;var l=0;for(e=0,r=0;e<n;e+=4,r+=3)i=F[t.charCodeAt(e)]<<18|F[t.charCodeAt(e+1)]<<12|F[t.charCodeAt(e+2)]<<6|F[t.charCodeAt(e+3)],s[l++]=i>>16&255,s[l++]=i>>8&255,s[l++]=i&255;return o===2?(i=F[t.charCodeAt(e)]<<2|F[t.charCodeAt(e+1)]>>4,s[l++]=i&255):o===1&&(i=F[t.charCodeAt(e)]<<10|F[t.charCodeAt(e+1)]<<4|F[t.charCodeAt(e+2)]>>2,s[l++]=i>>8&255,s[l++]=i&255),s}function Kr(t){return O[t>>18&63]+O[t>>12&63]+O[t>>6&63]+O[t&63]}function Gr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16)+(t[o+1]<<8)+t[o+2],i.push(Kr(n));return i.join("")}function Ce(t){ae||Ue();for(var e,r=t.length,n=r%3,i="",o=[],s=16383,a=0,l=r-n;a<l;a+=s)o.push(Gr(t,a,a+s>l?l:a+s));return n===1?(e=t[r-1],i+=O[e>>2],i+=O[e<<4&63],i+="=="):n===2&&(e=(t[r-2]<<8)+t[r-1],i+=O[e>>10],i+=O[e>>4&63],i+=O[e<<2&63],i+="="),o.push(i),o.join("")}function V(t,e,r,n,i){var o,s,a=i*8-n-1,l=(1<<a)-1,c=l>>1,h=-7,p=r?i-1:0,y=r?-1:1,m=t[e+p];for(p+=y,o=m&(1<<-h)-1,m>>=-h,h+=a;h>0;o=o*256+t[e+p],p+=y,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=s*256+t[e+p],p+=y,h-=8);if(o===0)o=1-c;else{if(o===l)return s?NaN:(m?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-c}return(m?-1:1)*s*Math.pow(2,o-n)}function Pe(t,e,r,n,i,o){var s,a,l,c=o*8-i-1,h=(1<<c)-1,p=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=n?0:o-1,d=n?1:-1,w=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+p>=1?e+=y/l:e+=y*Math.pow(2,1-p),e*l>=2&&(s++,l/=2),s+p>=h?(a=0,s=h):s+p>=1?(a=(e*l-1)*Math.pow(2,i),s=s+p):(a=e*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;t[r+m]=a&255,m+=d,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;t[r+m]=s&255,m+=d,s/=256,c-=8);t[r+m-d]|=w*128}var Xr={}.toString,be=Array.isArray||function(t){return Xr.call(t)=="[object Array]"};var Qr=50;f.TYPED_ARRAY_SUPPORT=ne.TYPED_ARRAY_SUPPORT!==void 0?ne.TYPED_ARRAY_SUPPORT:!0,K();function K(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function P(t,e){if(K()<e)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=f.prototype):(t===null&&(t=new f(e)),t.length=e),t}function f(t,e,r){if(!f.TYPED_ARRAY_SUPPORT&&!(this instanceof f))return new f(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return ue(this,t)}return Ne(this,t,e,r)}f.poolSize=8192,f._augment=function(t){return t.__proto__=f.prototype,t};function Ne(t,e,r,n){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?rt(t,e,r,n):typeof e=="string"?et(t,e,r):tt(t,e)}f.from=function(t,e,r){return Ne(null,t,e,r)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&f[Symbol.species]);function De(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Zr(t,e,r,n){return De(e),e<=0?P(t,e):r!==void 0?typeof n=="string"?P(t,e).fill(r,n):P(t,e).fill(r):P(t,e)}f.alloc=function(t,e,r){return Zr(null,t,e,r)};function ue(t,e){if(De(e),t=P(t,e<0?0:fe(e)|0),!f.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}f.allocUnsafe=function(t){return ue(null,t)},f.allocUnsafeSlow=function(t){return ue(null,t)};function et(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!f.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=Ie(e,r)|0;t=P(t,n);var i=t.write(e,r);return i!==n&&(t=t.slice(0,i)),t}function ce(t,e){var r=e.length<0?0:fe(e.length)|0;t=P(t,r);for(var n=0;n<r;n+=1)t[n]=e[n]&255;return t}function rt(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return r===void 0&&n===void 0?e=new Uint8Array(e):n===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,n),f.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=f.prototype):t=ce(t,e),t}function tt(t,e){if(B(e)){var r=fe(e.length)|0;return t=P(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer<"u"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||Rt(e.length)?P(t,0):ce(t,e);if(e.type==="Buffer"&&be(e.data))return ce(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function fe(t){if(t>=K())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K().toString(16)+" bytes");return t|0}f.isBuffer=St;function B(t){return!!(t!=null&&t._isBuffer)}f.compare=function(e,r){if(!B(e)||!B(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var n=e.length,i=r.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0},f.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(e,r){if(!be(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return f.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=f.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var s=e[n];if(!B(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,o),o+=s.length}return i};function Ie(t,e){if(B(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ze(t).length;default:if(n)return Q(t).length;e=(""+e).toLowerCase(),n=!0}}f.byteLength=Ie;function nt(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return pt(this,e,r);case"utf8":case"utf-8":return ve(this,e,r);case"ascii":return lt(this,e,r);case"latin1":case"binary":return ht(this,e,r);case"base64":return ct(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}f.prototype._isBuffer=!0;function N(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}f.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)N(this,r,r+1);return this},f.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)N(this,r,r+3),N(this,r+1,r+2);return this},f.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)N(this,r,r+7),N(this,r+1,r+6),N(this,r+2,r+5),N(this,r+3,r+4);return this},f.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?ve(this,0,e):nt.apply(this,arguments)},f.prototype.equals=function(e){if(!B(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:f.compare(this,e)===0},f.prototype.inspect=function(){var e="",r=Qr;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},f.prototype.compare=function(e,r,n,i,o){if(!B(e))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,a=n-r,l=Math.min(s,a),c=this.slice(i,o),h=e.slice(r,n),p=0;p<l;++p)if(c[p]!==h[p]){s=c[p],a=h[p];break}return s<a?-1:a<s?1:0};function Le(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=f.from(e,n)),B(e))return e.length===0?-1:ke(t,e,r,n,i);if(typeof e=="number")return e=e&255,f.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ke(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ke(t,e,r,n,i){var o=1,s=t.length,a=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,s/=2,a/=2,r/=2}function l(m,d){return o===1?m[d]:m.readUInt16BE(d*o)}var c;if(i){var h=-1;for(c=r;c<s;c++)if(l(t,c)===l(e,h===-1?0:c-h)){if(h===-1&&(h=c),c-h+1===a)return h*o}else h!==-1&&(c-=c-h),h=-1}else for(r+a>s&&(r=s-a),c=r;c>=0;c--){for(var p=!0,y=0;y<a;y++)if(l(t,c+y)!==l(e,y)){p=!1;break}if(p)return c}return-1}f.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1},f.prototype.indexOf=function(e,r,n){return Le(this,e,r,n,!0)},f.prototype.lastIndexOf=function(e,r,n){return Le(this,e,r,n,!1)};function it(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(e.substr(s*2,2),16);if(isNaN(a))return s;t[r+s]=a}return s}function ot(t,e,r,n){return Z(Q(e,t.length-r),t,r,n)}function Me(t,e,r,n){return Z(xt(e),t,r,n)}function st(t,e,r,n){return Me(t,e,r,n)}function at(t,e,r,n){return Z(ze(e),t,r,n)}function ut(t,e,r,n){return Z(At(e,t.length-r),t,r,n)}f.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(n)?(n=n|0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return it(this,e,r,n);case"utf8":case"utf-8":return ot(this,e,r,n);case"ascii":return Me(this,e,r,n);case"latin1":case"binary":return st(this,e,r,n);case"base64":return at(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ut(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ct(t,e,r){return e===0&&r===t.length?Ce(t):Ce(t.slice(e,r))}function ve(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){var l,c,h,p;switch(a){case 1:o<128&&(s=o);break;case 2:l=t[i+1],(l&192)===128&&(p=(o&31)<<6|l&63,p>127&&(s=p));break;case 3:l=t[i+1],c=t[i+2],(l&192)===128&&(c&192)===128&&(p=(o&15)<<12|(l&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(s=p));break;case 4:l=t[i+1],c=t[i+2],h=t[i+3],(l&192)===128&&(c&192)===128&&(h&192)===128&&(p=(o&15)<<18|(l&63)<<12|(c&63)<<6|h&63,p>65535&&p<1114112&&(s=p))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=a}return ft(n)}var He=4096;function ft(t){var e=t.length;if(e<=He)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=He));return r}function lt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function ht(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function pt(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=yt(t[o]);return i}function dt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}f.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i;if(f.TYPED_ARRAY_SUPPORT)i=this.subarray(e,r),i.__proto__=f.prototype;else{var o=r-e;i=new f(o,void 0);for(var s=0;s<o;++s)i[s]=this[s+e]}return i};function A(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUIntLE=function(e,r,n){e=e|0,r=r|0,n||A(e,r,this.length);for(var i=this[e],o=1,s=0;++s<r&&(o*=256);)i+=this[e+s]*o;return i},f.prototype.readUIntBE=function(e,r,n){e=e|0,r=r|0,n||A(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i},f.prototype.readUInt8=function(e,r){return r||A(e,1,this.length),this[e]},f.prototype.readUInt16LE=function(e,r){return r||A(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUInt16BE=function(e,r){return r||A(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUInt32LE=function(e,r){return r||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},f.prototype.readUInt32BE=function(e,r){return r||A(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readIntLE=function(e,r,n){e=e|0,r=r|0,n||A(e,r,this.length);for(var i=this[e],o=1,s=0;++s<r&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i},f.prototype.readIntBE=function(e,r,n){e=e|0,r=r|0,n||A(e,r,this.length);for(var i=r,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*r)),s},f.prototype.readInt8=function(e,r){return r||A(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},f.prototype.readInt16LE=function(e,r){r||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},f.prototype.readInt16BE=function(e,r){r||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},f.prototype.readInt32LE=function(e,r){return r||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,r){return r||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readFloatLE=function(e,r){return r||A(e,4,this.length),V(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,r){return r||A(e,4,this.length),V(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,r){return r||A(e,8,this.length),V(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,r){return r||A(e,8,this.length),V(this,e,!1,52,8)};function R(t,e,r,n,i,o){if(!B(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}f.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r|0,n=n|0,!i){var o=Math.pow(2,8*n)-1;R(this,e,r,n,o,0)}var s=1,a=0;for(this[r]=e&255;++a<n&&(s*=256);)this[r+a]=e/s&255;return r+n},f.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r|0,n=n|0,!i){var o=Math.pow(2,8*n)-1;R(this,e,r,n,o,0)}var s=n-1,a=1;for(this[r+s]=e&255;--s>=0&&(a*=256);)this[r+s]=e/a&255;return r+n},f.prototype.writeUInt8=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,1,255,0),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=e&255,r+1};function G(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>(n?i:1-i)*8}f.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):G(this,e,r,!0),r+2},f.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):G(this,e,r,!1),r+2};function X(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>(n?i:3-i)*8&255}f.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255):X(this,e,r,!0),r+4},f.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):X(this,e,r,!1),r+4},f.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r|0,!i){var o=Math.pow(2,8*n-1);R(this,e,r,n,o-1,-o)}var s=0,a=1,l=0;for(this[r]=e&255;++s<n&&(a*=256);)e<0&&l===0&&this[r+s-1]!==0&&(l=1),this[r+s]=(e/a>>0)-l&255;return r+n},f.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r|0,!i){var o=Math.pow(2,8*n-1);R(this,e,r,n,o-1,-o)}var s=n-1,a=1,l=0;for(this[r+s]=e&255;--s>=0&&(a*=256);)e<0&&l===0&&this[r+s+1]!==0&&(l=1),this[r+s]=(e/a>>0)-l&255;return r+n},f.prototype.writeInt8=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,1,127,-128),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=e&255,r+1},f.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):G(this,e,r,!0),r+2},f.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):G(this,e,r,!1),r+2},f.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):X(this,e,r,!0),r+4},f.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r|0,n||R(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),f.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):X(this,e,r,!1),r+4};function Ye(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function je(t,e,r,n,i){return i||Ye(t,e,r,4),Pe(t,e,r,n,23,4),r+4}f.prototype.writeFloatLE=function(e,r,n){return je(this,e,r,!0,n)},f.prototype.writeFloatBE=function(e,r,n){return je(this,e,r,!1,n)};function qe(t,e,r,n,i){return i||Ye(t,e,r,8),Pe(t,e,r,n,52,8),r+8}f.prototype.writeDoubleLE=function(e,r,n){return qe(this,e,r,!0,n)},f.prototype.writeDoubleBE=function(e,r,n){return qe(this,e,r,!1,n)},f.prototype.copy=function(e,r,n,i){if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n,s;if(this===e&&n<r&&r<i)for(s=o-1;s>=0;--s)e[s+r]=this[s+n];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(s=0;s<o;++s)e[s+r]=this[s+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),r);return o},f.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),e.length===1){var o=e.charCodeAt(0);o<256&&(e=o)}if(i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!f.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else typeof e=="number"&&(e=e&255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=r;s<n;++s)this[s]=e;else{var a=B(e)?e:Q(new f(e,i).toString()),l=a.length;for(s=0;s<n-r;++s)this[s+r]=a[s%l]}return this};var mt=/[^+\/0-9A-Za-z-_]/g;function wt(t){if(t=Et(t).replace(mt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Et(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function yt(t){return t<16?"0"+t.toString(16):t.toString(16)}function Q(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function xt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function At(t,e){for(var r,n,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function ze(t){return Vr(wt(t))}function Z(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function Rt(t){return t!==t}function St(t){return t!=null&&(!!t._isBuffer||Je(t)||Ft(t))}function Je(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Ft(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&Je(t.slice(0,0))}function E(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}u.inherits(E,Error,{toJSON:function(){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:u.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const $e=E.prototype,We={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{We[t]={value:t}}),Object.defineProperties(E,We),Object.defineProperty($e,"isAxiosError",{value:!0}),E.from=(t,e,r,n,i,o)=>{const s=Object.create($e);return u.toFlatObject(t,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),E.call(s,t.message,e,r,n,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};var Tt=null;function le(t){return u.isPlainObject(t)||u.isArray(t)}function Ve(t){return u.endsWith(t,"[]")?t.slice(0,-2):t}function Ke(t,e,r){return t?t.concat(e).map(function(i,o){return i=Ve(i),!r&&o?"["+i+"]":i}).join(r?".":""):e}function gt(t){return u.isArray(t)&&!t.some(le)}const _t=u.toFlatObject(u,{},null,function(e){return/^is[A-Z]/.test(e)});function ee(t,e,r){if(!u.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=u.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,C){return!u.isUndefined(C[w])});const n=r.metaTokens,i=r.visitor||h,o=r.dots,s=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&u.isSpecCompliantForm(e);if(!u.isFunction(i))throw new TypeError("visitor must be a function");function c(d){if(d===null)return"";if(u.isDate(d))return d.toISOString();if(!l&&u.isBlob(d))throw new E("Blob is not supported. Use a Buffer instead.");return u.isArrayBuffer(d)||u.isTypedArray(d)?l&&typeof Blob=="function"?new Blob([d]):f.from(d):d}function h(d,w,C){let g=d;if(d&&!C&&typeof d=="object"){if(u.endsWith(w,"{}"))w=n?w:w.slice(0,-2),d=JSON.stringify(d);else if(u.isArray(d)&&gt(d)||(u.isFileList(d)||u.endsWith(w,"[]"))&&(g=u.toArray(d)))return w=Ve(w),g.forEach(function(q,hr){!(u.isUndefined(q)||q===null)&&e.append(s===!0?Ke([w],hr,o):s===null?w:w+"[]",c(q))}),!1}return le(d)?!0:(e.append(Ke(C,w,o),c(d)),!1)}const p=[],y=Object.assign(_t,{defaultVisitor:h,convertValue:c,isVisitable:le});function m(d,w){if(!u.isUndefined(d)){if(p.indexOf(d)!==-1)throw Error("Circular reference detected in "+w.join("."));p.push(d),u.forEach(d,function(g,I){(!(u.isUndefined(g)||g===null)&&i.call(e,g,u.isString(I)?I.trim():I,w,y))===!0&&m(g,w?w.concat(I):[I])}),p.pop()}}if(!u.isObject(t))throw new TypeError("data must be an object");return m(t),e}function Ge(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function he(t,e){this._pairs=[],t&&ee(t,this,e)}const Xe=he.prototype;Xe.append=function(e,r){this._pairs.push([e,r])},Xe.toString=function(e){const r=e?function(n){return e.call(this,n,Ge)}:Ge;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function Ot(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Qe(t,e,r){if(!e)return t;const n=r&&r.encode||Ot,i=r&&r.serialize;let o;if(i?o=i(e,r):o=u.isURLSearchParams(e)?e.toString():new he(e,r).toString(n),o){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class Ze{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){u.forEach(this.handlers,function(n){n!==null&&e(n)})}}var er={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bt=typeof URLSearchParams<"u"?URLSearchParams:he,Ut=typeof FormData<"u"?FormData:null,Ct=typeof Blob<"u"?Blob:null;const Pt=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),bt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function";var U={classes:{URLSearchParams:Bt,FormData:Ut,Blob:Ct},isStandardBrowserEnv:Pt,isStandardBrowserWebWorkerEnv:bt,protocols:["http","https","file","blob","url","data"]};function Nt(t,e){return ee(t,new U.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,o){return U.isNode&&u.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function Dt(t){return u.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function It(t){const e={},r=Object.keys(t);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],e[o]=t[o];return e}function rr(t){function e(r,n,i,o){let s=r[o++];const a=Number.isFinite(+s),l=o>=r.length;return s=!s&&u.isArray(i)?i.length:s,l?(u.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!a):((!i[s]||!u.isObject(i[s]))&&(i[s]=[]),e(r,n,i[s],o)&&u.isArray(i[s])&&(i[s]=It(i[s])),!a)}if(u.isFormData(t)&&u.isFunction(t.entries)){const r={};return u.forEachEntry(t,(n,i)=>{e(Dt(n),i,r,0)}),r}return null}const Lt={"Content-Type":void 0};function kt(t,e,r){if(u.isString(t))try{return(e||JSON.parse)(t),u.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const k={transitional:er,adapter:["xhr","http"],transformRequest:[function(e,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=u.isObject(e);if(o&&u.isHTMLForm(e)&&(e=new FormData(e)),u.isFormData(e))return i&&i?JSON.stringify(rr(e)):e;if(u.isArrayBuffer(e)||u.isBuffer(e)||u.isStream(e)||u.isFile(e)||u.isBlob(e))return e;if(u.isArrayBufferView(e))return e.buffer;if(u.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Nt(e,this.formSerializer).toString();if((a=u.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ee(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return o||i?(r.setContentType("application/json",!1),kt(e)):e}],transformResponse:[function(e){const r=this.transitional||k.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(e&&u.isString(e)&&(n&&!this.responseType||i)){const s=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(s)throw a.name==="SyntaxError"?E.from(a,E.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:U.classes.FormData,Blob:U.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};u.forEach(["delete","get","head"],function(e){k.headers[e]={}}),u.forEach(["post","put","patch"],function(e){k.headers[e]=u.merge(Lt)});const Mt=u.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 vt=t=>{const e={};let r,n,i;return t&&t.split(`
`).forEach(function(s){i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim(),!(!r||e[r]&&Mt[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e};const tr=Symbol("internals");function Y(t){return t&&String(t).trim().toLowerCase()}function re(t){return t===!1||t==null?t:u.isArray(t)?t.map(re):String(t)}function Ht(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const Yt=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function pe(t,e,r,n,i){if(u.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!u.isString(e)){if(u.isString(n))return e.indexOf(n)!==-1;if(u.isRegExp(n))return n.test(e)}}function jt(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function qt(t,e){const r=u.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(i,o,s){return this[n].call(this,e,i,o,s)},configurable:!0})})}let T=class{constructor(e){e&&this.set(e)}set(e,r,n){const i=this;function o(a,l,c){const h=Y(l);if(!h)throw new Error("header name must be a non-empty string");const p=u.findKey(i,h);(!p||i[p]===void 0||c===!0||c===void 0&&i[p]!==!1)&&(i[p||l]=re(a))}const s=(a,l)=>u.forEach(a,(c,h)=>o(c,h,l));return u.isPlainObject(e)||e instanceof this.constructor?s(e,r):u.isString(e)&&(e=e.trim())&&!Yt(e)?s(vt(e),r):e!=null&&o(r,e,n),this}get(e,r){if(e=Y(e),e){const n=u.findKey(this,e);if(n){const i=this[n];if(!r)return i;if(r===!0)return Ht(i);if(u.isFunction(r))return r.call(this,i,n);if(u.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Y(e),e){const n=u.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||pe(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let i=!1;function o(s){if(s=Y(s),s){const a=u.findKey(n,s);a&&(!r||pe(n,n[a],a,r))&&(delete n[a],i=!0)}}return u.isArray(e)?e.forEach(o):o(e),i}clear(e){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const o=r[n];(!e||pe(this,this[o],o,e,!0))&&(delete this[o],i=!0)}return i}normalize(e){const r=this,n={};return u.forEach(this,(i,o)=>{const s=u.findKey(n,o);if(s){r[s]=re(i),delete r[o];return}const a=e?jt(o):String(o).trim();a!==o&&delete r[o],r[a]=re(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return u.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&u.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){const n=(this[tr]=this[tr]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=Y(s);n[a]||(qt(i,s),n[a]=!0)}return u.isArray(e)?e.forEach(o):o(e),this}};T.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),u.freezeMethods(T.prototype),u.freezeMethods(T);function de(t,e){const r=this||k,n=e||r,i=T.from(n.headers);let o=n.data;return u.forEach(t,function(a){o=a.call(r,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function nr(t){return!!(t&&t.__CANCEL__)}function j(t,e,r){E.call(this,t??"canceled",E.ERR_CANCELED,e,r),this.name="CanceledError"}u.inherits(j,E,{__CANCEL__:!0});function zt(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new E("Request failed with status code "+r.status,[E.ERR_BAD_REQUEST,E.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}var Jt=U.isStandardBrowserEnv?(function(){return{write:function(r,n,i,o,s,a){const l=[];l.push(r+"="+encodeURIComponent(n)),u.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),u.isString(o)&&l.push("path="+o),u.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){const n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}})():(function(){return{write:function(){},read:function(){return null},remove:function(){}}})();function $t(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Wt(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function ir(t,e){return t&&!$t(e)?Wt(t,e):e}var Vt=U.isStandardBrowserEnv?(function(){const e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(o){let s=o;return e&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(s){const a=u.isString(s)?i(s):s;return a.protocol===n.protocol&&a.host===n.host}})():(function(){return function(){return!0}})();function Kt(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Gt(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i=0,o=0,s;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),h=n[o];s||(s=c),r[i]=l,n[i]=c;let p=o,y=0;for(;p!==i;)y+=r[p++],p=p%t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),c-s<e)return;const m=h&&c-h;return m?Math.round(y*1e3/m):void 0}}function or(t,e){let r=0;const n=Gt(50,250);return i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-r,l=n(a),c=o<=s;r=o;const h={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&c?(s-o)/l:void 0,event:i};h[e?"download":"upload"]=!0,t(h)}}const Xt=typeof XMLHttpRequest<"u";var Qt=Xt&&function(t){return new Promise(function(r,n){let i=t.data;const o=T.from(t.headers).normalize(),s=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}u.isFormData(i)&&(U.isStandardBrowserEnv||U.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(t.auth){const m=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(m+":"+d))}const h=ir(t.baseURL,t.url);c.open(t.method.toUpperCase(),Qe(h,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function p(){if(!c)return;const m=T.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),w={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:m,config:t,request:c};zt(function(g){r(g),l()},function(g){n(g),l()},w),c=null}if("onloadend"in c?c.onloadend=p:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(p)},c.onabort=function(){c&&(n(new E("Request aborted",E.ECONNABORTED,t,c)),c=null)},c.onerror=function(){n(new E("Network Error",E.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let d=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const w=t.transitional||er;t.timeoutErrorMessage&&(d=t.timeoutErrorMessage),n(new E(d,w.clarifyTimeoutError?E.ETIMEDOUT:E.ECONNABORTED,t,c)),c=null},U.isStandardBrowserEnv){const m=(t.withCredentials||Vt(h))&&t.xsrfCookieName&&Jt.read(t.xsrfCookieName);m&&o.set(t.xsrfHeaderName,m)}i===void 0&&o.setContentType(null),"setRequestHeader"in c&&u.forEach(o.toJSON(),function(d,w){c.setRequestHeader(w,d)}),u.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),s&&s!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",or(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",or(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=m=>{c&&(n(!m||m.type?new j(null,t,c):m),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const y=Kt(h);if(y&&U.protocols.indexOf(y)===-1){n(new E("Unsupported protocol "+y+":",E.ERR_BAD_REQUEST,t));return}c.send(i||null)})};const te={http:Tt,xhr:Qt};u.forEach(te,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var Zt={getAdapter:t=>{t=u.isArray(t)?t:[t];const{length:e}=t;let r,n;for(let i=0;i<e&&(r=t[i],!(n=u.isString(r)?te[r.toLowerCase()]:r));i++);if(!n)throw n===!1?new E(`Adapter ${r} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(u.hasOwnProp(te,r)?`Adapter '${r}' is not available in the build`:`Unknown adapter '${r}'`);if(!u.isFunction(n))throw new TypeError("adapter is not a function");return n},adapters:te};function me(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new j(null,t)}function sr(t){return me(t),t.headers=T.from(t.headers),t.data=de.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Zt.getAdapter(t.adapter||k.adapter)(t).then(function(n){return me(t),n.data=de.call(t,t.transformResponse,n),n.headers=T.from(n.headers),n},function(n){return nr(n)||(me(t),n&&n.response&&(n.response.data=de.call(t,t.transformResponse,n.response),n.response.headers=T.from(n.response.headers))),Promise.reject(n)})}const ar=t=>t instanceof T?t.toJSON():t;function M(t,e){e=e||{};const r={};function n(c,h,p){return u.isPlainObject(c)&&u.isPlainObject(h)?u.merge.call({caseless:p},c,h):u.isPlainObject(h)?u.merge({},h):u.isArray(h)?h.slice():h}function i(c,h,p){if(u.isUndefined(h)){if(!u.isUndefined(c))return n(void 0,c,p)}else return n(c,h,p)}function o(c,h){if(!u.isUndefined(h))return n(void 0,h)}function s(c,h){if(u.isUndefined(h)){if(!u.isUndefined(c))return n(void 0,c)}else return n(void 0,h)}function a(c,h,p){if(p in e)return n(c,h);if(p in t)return n(void 0,c)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,h)=>i(ar(c),ar(h),!0)};return u.forEach(Object.keys(Object.assign({},t,e)),function(h){const p=l[h]||i,y=p(t[h],e[h],h);u.isUndefined(y)&&p!==a||(r[h]=y)}),r}const ur="1.4.0",we={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{we[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const cr={};we.transitional=function(e,r,n){function i(o,s){return"[Axios v"+ur+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(e===!1)throw new E(i(s," has been removed"+(r?" in "+r:"")),E.ERR_DEPRECATED);return r&&!cr[s]&&(cr[s]=!0,console.warn(i(s," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(o,s,a):!0}};function en(t,e,r){if(typeof t!="object")throw new E("options must be an object",E.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const o=n[i],s=e[o];if(s){const a=t[o],l=a===void 0||s(a,o,t);if(l!==!0)throw new E("option "+o+" must be "+l,E.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new E("Unknown option "+o,E.ERR_BAD_OPTION)}}var Ee={assertOptions:en,validators:we};const b=Ee.validators;let D=class{constructor(e){this.defaults=e,this.interceptors={request:new Ze,response:new Ze}}request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=M(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&Ee.assertOptions(n,{silentJSONParsing:b.transitional(b.boolean),forcedJSONParsing:b.transitional(b.boolean),clarifyTimeoutError:b.transitional(b.boolean)},!1),i!=null&&(u.isFunction(i)?r.paramsSerializer={serialize:i}:Ee.assertOptions(i,{encode:b.function,serialize:b.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s;s=o&&u.merge(o.common,o[r.method]),s&&u.forEach(["delete","get","head","post","put","patch","common"],d=>{delete o[d]}),r.headers=T.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(r)===!1||(l=l&&w.synchronous,a.unshift(w.fulfilled,w.rejected))});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let h,p=0,y;if(!l){const d=[sr.bind(this),void 0];for(d.unshift.apply(d,a),d.push.apply(d,c),y=d.length,h=Promise.resolve(r);p<y;)h=h.then(d[p++],d[p++]);return h}y=a.length;let m=r;for(p=0;p<y;){const d=a[p++],w=a[p++];try{m=d(m)}catch(C){w.call(this,C);break}}try{h=sr.call(this,m)}catch(d){return Promise.reject(d)}for(p=0,y=c.length;p<y;)h=h.then(c[p++],c[p++]);return h}getUri(e){e=M(this.defaults,e);const r=ir(e.baseURL,e.url);return Qe(r,e.params,e.paramsSerializer)}};u.forEach(["delete","get","head","options"],function(e){D.prototype[e]=function(r,n){return this.request(M(n||{},{method:e,url:r,data:(n||{}).data}))}}),u.forEach(["post","put","patch"],function(e){function r(n){return function(o,s,a){return this.request(M(a||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}D.prototype[e]=r(),D.prototype[e+"Form"]=r(!0)});let rn=class lr{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(i=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](i);n._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{n.subscribe(a),o=a}).then(i);return s.cancel=function(){n.unsubscribe(o)},s},e(function(o,s,a){n.reason||(n.reason=new j(o,s,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new lr(function(i){e=i}),cancel:e}}};function tn(t){return function(r){return t.apply(null,r)}}function nn(t){return u.isObject(t)&&t.isAxiosError===!0}const ye={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};Object.entries(ye).forEach(([t,e])=>{ye[e]=t});function fr(t){const e=new D(t),r=xe(D.prototype.request,e);return u.extend(r,D.prototype,e,{allOwnKeys:!0}),u.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return fr(M(t,i))},r}const x=fr(k);x.Axios=D,x.CanceledError=j,x.CancelToken=rn,x.isCancel=nr,x.VERSION=ur,x.toFormData=ee,x.AxiosError=E,x.Cancel=x.CanceledError,x.all=function(e){return Promise.all(e)},x.spread=tn,x.isAxiosError=nn,x.mergeConfig=M,x.AxiosHeaders=T,x.formToJSON=t=>rr(u.isHTMLForm(t)?new FormData(t):t),x.HttpStatusCode=ye,x.default=x;const{Axios:on,AxiosError:sn,CanceledError:an,isCancel:un,CancelToken:cn,VERSION:fn,all:ln,Cancel:hn,isAxiosError:pn,spread:dn,toFormData:mn,AxiosHeaders:wn,HttpStatusCode:En,formToJSON:yn,mergeConfig:xn}=x;export{on as Axios,sn as AxiosError,wn as AxiosHeaders,hn as Cancel,cn as CancelToken,an as CanceledError,En as HttpStatusCode,fn as VERSION,ln as all,x as default,yn as formToJSON,pn as isAxiosError,un as isCancel,xn as mergeConfig,dn as spread,mn as toFormData};
//# sourceMappingURL=/sm/045b4103c10a8e10c58dffd79109ce40f2656fdb7d4a743a6e41813d57c19e4f.map