w-converhp 2.0.72 → 2.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci-test.yml +3 -3
- package/README.md +1 -1
- package/dist/w-converhp-client.umd.js +2 -2
- package/dist/w-converhp-client.umd.js.map +1 -1
- package/docs/WConverhpClient.html +1 -1
- package/docs/WConverhpClient.mjs.html +1 -1
- package/docs/WConverhpServer.html +1 -1
- package/docs/WConverhpServer.mjs.html +11 -5
- package/docs/index.html +1 -1
- package/package.json +8 -8
- package/src/WConverhpServer.mjs +10 -4
- package/src/checkSlicesHash.wk.umd.js +1 -1
- package/src/checkTotalHash.wk.umd.js +1 -1
- package/src/mergeSlices.wk.umd.js +1 -1
|
@@ -9,12 +9,12 @@ jobs:
|
|
|
9
9
|
|
|
10
10
|
strategy:
|
|
11
11
|
matrix:
|
|
12
|
-
node-version: [
|
|
12
|
+
node-version: [24.x]
|
|
13
13
|
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
16
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
17
|
-
uses: actions/setup-node@
|
|
17
|
+
uses: actions/setup-node@v4
|
|
18
18
|
with:
|
|
19
19
|
node-version: ${{ matrix.node-version }}
|
|
20
20
|
- run: npm cache clean -f
|
package/README.md
CHANGED
|
@@ -221,7 +221,7 @@ downloadLargeFile()
|
|
|
221
221
|
|
|
222
222
|
Add script for w-converhp-client.
|
|
223
223
|
```alias
|
|
224
|
-
<script src="https://cdn.jsdelivr.net/npm/w-converhp@2.0.
|
|
224
|
+
<script src="https://cdn.jsdelivr.net/npm/w-converhp@2.0.73/dist/w-converhp-client.umd.js"></script>
|
|
225
225
|
```
|
|
226
226
|
|
|
227
227
|
#### Example for w-converhp-client in browser:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* w-converhp-client v2.0.
|
|
2
|
+
* w-converhp-client v2.0.73
|
|
3
3
|
* (c) 2018-2021 yuda-lyu(semisphere)
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self)["w-converhp-client"]=t()}(this,(function(){"use strict";function e(e,t){return function(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype,{getPrototypeOf:r}=Object,{iterator:n,toStringTag:o}=Symbol,i=(s=Object.create(null),e=>{const r=t.call(e);return s[r]||(s[r]=r.slice(8,-1).toLowerCase())});var s;const a=e=>(e=e.toLowerCase(),t=>i(t)===e),c=e=>t=>typeof t===e,{isArray:u}=Array,l=c("undefined");function f(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&h(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const d=a("ArrayBuffer");const p=c("string"),h=c("function"),y=c("number"),g=e=>null!==e&&"object"==typeof e,b=e=>{if("object"!==i(e))return!1;const t=r(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||o in e||n in e)},m=a("Date"),v=a("File"),w=a("Blob"),j=a("FileList"),O=a("URLSearchParams"),[S,A,E,_]=["ReadableStream","Request","Response","Headers"].map(a);function x(e,t){let r,n,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=e)if("object"!=typeof e&&(e=[e]),u(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(f(e))return;const n=o?Object.getOwnPropertyNames(e):Object.keys(e),i=n.length;let s;for(r=0;r<i;r++)s=n[r],t.call(null,e[s],s,e)}}function R(e,t){if(f(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,U=e=>!l(e)&&e!==T;const P=(C="undefined"!=typeof Uint8Array&&r(Uint8Array),e=>C&&e instanceof C);var C;const B=a("HTMLFormElement"),N=(e=>{let{hasOwnProperty:t}=e;return(e,r)=>t.call(e,r)})(Object.prototype),k=a("RegExp"),F=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};x(r,((r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)})),Object.defineProperties(e,n)};const L=a("AsyncFunction"),D=(M="function"==typeof setImmediate,I=h(T.postMessage),M?setImmediate:I?(z=`axios@${Math.random()}`,$=[],T.addEventListener("message",(e=>{let{source:t,data:r}=e;t===T&&r===z&&$.length&&$.shift()()}),!1),e=>{$.push(e),T.postMessage(z,"*")}):e=>setTimeout(e));var M,I,z,$;const q="undefined"!=typeof queueMicrotask?queueMicrotask.bind(T):"undefined"!=typeof process&&process.nextTick||D;var H={isArray:u,isArrayBuffer:d,isBuffer:f,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||h(e.append)&&("formdata"===(t=i(e))||"object"===t&&h(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer),t},isString:p,isNumber:y,isBoolean:e=>!0===e||!1===e,isObject:g,isPlainObject:b,isEmptyObject:e=>{if(!g(e)||f(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:S,isRequest:A,isResponse:E,isHeaders:_,isUndefined:l,isDate:m,isFile:v,isBlob:w,isRegExp:k,isFunction:h,isStream:e=>g(e)&&h(e.pipe),isURLSearchParams:O,isTypedArray:P,isFileList:j,forEach:x,merge:function e(){const{caseless:t,skipUndefined:r}=U(this)&&this||{},n={},o=(o,i)=>{const s=t&&R(n,i)||i;b(n[s])&&b(o)?n[s]=e(n[s],o):b(o)?n[s]=e({},o):u(o)?n[s]=o.slice():r&&l(o)||(n[s]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&x(arguments[e],o);return n},extend:function(t,r,n){let{allOwnKeys:o}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return x(r,((r,o)=>{n&&h(r)?t[o]=e(r,n):t[o]=r}),{allOwnKeys:o}),t},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,n,o)=>{let i,s,a;const c={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],o&&!o(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==n&&r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:i,kindOfTest:a,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!y(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[n]).call(e);let o;for(;(o=r.next())&&!o.done;){const r=o.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:B,hasOwnProperty:N,hasOwnProp:N,reduceDescriptors:F,freezeMethods:e=>{F(e,((t,r)=>{if(h(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];h(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return u(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:R,global:T,isContextDefined:U,isSpecCompliantForm:function(e){return!!(e&&h(e.append)&&"FormData"===e[o]&&e[n])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(g(e)){if(t.indexOf(e)>=0)return;if(f(e))return e;if(!("toJSON"in e)){t[n]=e;const o=u(e)?[]:{};return x(e,((e,t)=>{const i=r(e,n+1);!l(i)&&(o[t]=i)})),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:L,isThenable:e=>e&&(g(e)||h(e))&&h(e.then)&&h(e.catch),setImmediate:D,asap:q,isIterable:e=>null!=e&&h(e[n])};function W(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}H.inherits(W,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:H.toJSONObject(this.config),code:this.code,status:this.status}}});const J=W.prototype,V={};["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((e=>{V[e]={value:e}})),Object.defineProperties(W,V),Object.defineProperty(J,"isAxiosError",{value:!0}),W.from=(e,t,r,n,o,i)=>{const s=Object.create(J);H.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e));const a=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return W.call(s,a,c,r,n,o),e&&null==s.cause&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};function K(e){return H.isPlainObject(e)||H.isArray(e)}function X(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function G(e,t,r){return e?e.concat(t).map((function(e,t){return e=X(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const Q=H.toFlatObject(H,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Z(e,t,r){if(!H.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=H.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!H.isUndefined(t[e])}))).metaTokens,o=r.visitor||u,i=r.dots,s=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&H.isSpecCompliantForm(t);if(!H.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(H.isDate(e))return e.toISOString();if(H.isBoolean(e))return e.toString();if(!a&&H.isBlob(e))throw new W("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(e)||H.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,r,o){let a=e;if(e&&!o&&"object"==typeof e)if(H.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(H.isArray(e)&&function(e){return H.isArray(e)&&!e.some(K)}(e)||(H.isFileList(e)||H.endsWith(r,"[]"))&&(a=H.toArray(e)))return r=X(r),a.forEach((function(e,n){!H.isUndefined(e)&&null!==e&&t.append(!0===s?G([r],n,i):null===s?r:r+"[]",c(e))})),!1;return!!K(e)||(t.append(G(o,r,i),c(e)),!1)}const l=[],f=Object.assign(Q,{defaultVisitor:u,convertValue:c,isVisitable:K});if(!H.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!H.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),H.forEach(r,(function(r,i){!0===(!(H.isUndefined(r)||null===r)&&o.call(t,r,H.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])})),l.pop()}}(e),t}function Y(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ee(e,t){this._pairs=[],e&&Z(e,this,t)}const te=ee.prototype;function re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ne(e,t,r){if(!t)return e;const n=r&&r.encode||re;H.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(i=o?o(t,r):H.isURLSearchParams(t)?t.toString():new ee(t,r).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}te.append=function(e,t){this._pairs.push([e,t])},te.toString=function(e){const t=e?function(t){return e.call(this,t,Y)}:Y;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var oe=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){H.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ie={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},se={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ee,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ae="undefined"!=typeof window&&"undefined"!=typeof document,ce="object"==typeof navigator&&navigator||void 0,ue=ae&&(!ce||["ReactNative","NativeScript","NS"].indexOf(ce.product)<0),le="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,fe=ae&&window.location.href||"http://localhost";var de={...Object.freeze({__proto__:null,hasBrowserEnv:ae,hasStandardBrowserEnv:ue,hasStandardBrowserWebWorkerEnv:le,navigator:ce,origin:fe}),...se};function pe(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;if(i=!i&&H.isArray(n)?n.length:i,a)return H.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!s;n[i]&&H.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&H.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!s}if(H.isFormData(e)&&H.isFunction(e.entries)){const r={};return H.forEachEntry(e,((e,n)=>{t(function(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const he={transitional:ie,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=H.isObject(e);o&&H.isHTMLForm(e)&&(e=new FormData(e));if(H.isFormData(e))return n?JSON.stringify(pe(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e)||H.isReadableStream(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Z(e,new de.classes.URLSearchParams,{visitor:function(e,t,r,n){return de.isNode&&H.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=H.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Z(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(H.isString(e))try{return(t||JSON.parse)(e),H.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||he.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(H.isResponse(e)||H.isReadableStream(e))return e;if(e&&H.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(e){if(r){if("SyntaxError"===e.name)throw W.from(e,W.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:de.classes.FormData,Blob:de.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],(e=>{he.headers[e]={}}));var ye=he;const ge=H.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"]);const be=Symbol("internals");function me(e){return e&&String(e).trim().toLowerCase()}function ve(e){return!1===e||null==e?e:H.isArray(e)?e.map(ve):String(e)}function we(e,t,r,n,o){return H.isFunction(n)?n.call(this,t,r):(o&&(t=r),H.isString(t)?H.isString(n)?-1!==t.indexOf(n):H.isRegExp(n)?n.test(t):void 0:void 0)}class je{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=me(t);if(!o)throw new Error("header name must be a non-empty string");const i=H.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=ve(e))}const i=(e,t)=>H.forEach(e,((e,r)=>o(e,r,t)));if(H.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(H.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&ge[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t);else if(H.isObject(e)&&H.isIterable(e)){let r,n,o={};for(const t of e){if(!H.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?H.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=me(e)){const r=H.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(H.isFunction(t))return t.call(this,e,r);if(H.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=me(e)){const r=H.findKey(this,e);return!(!r||void 0===this[r]||t&&!we(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=me(e)){const o=H.findKey(r,e);!o||t&&!we(0,r[o],o,t)||(delete r[o],n=!0)}}return H.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!we(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return H.forEach(this,((n,o)=>{const i=H.findKey(r,o);if(i)return t[i]=ve(n),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(o):String(o).trim();s!==o&&delete t[o],t[s]=ve(n),r[s]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return H.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&H.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,r]=e;return t+": "+r})).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[be]=this[be]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=me(e);t[n]||(!function(e,t){const r=H.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})}))}(r,e),t[n]=!0)}return H.isArray(e)?e.forEach(n):n(e),this}}je.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(je.prototype,((e,t)=>{let{value:r}=e,n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[n]=e}}})),H.freezeMethods(je);var Oe=je;function Se(e,t){const r=this||ye,n=t||r,o=Oe.from(n.headers);let i=n.data;return H.forEach(e,(function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Ae(e){return!(!e||!e.__CANCEL__)}function Ee(e,t,r){W.call(this,null==e?"canceled":e,W.ERR_CANCELED,t,r),this.name="CanceledError"}function _e(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new W("Request failed with status code "+r.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}H.inherits(Ee,W,{__CANCEL__:!0});const xe=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=n[s];o||(o=c),r[i]=a,n[i]=c;let l=s,f=0;for(;l!==i;)f+=r[l++],l%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-o<t)return;const d=u&&c-u;return d?Math.round(1e3*f/d):void 0}}(50,250);return function(e,t){let r,n,o=0,i=1e3/t;const s=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[function(){const e=Date.now(),t=e-o;for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];t>=i?s(c,e):(r=c,n||(n=setTimeout((()=>{n=null,s(r)}),i-t)))},()=>r&&s(r)]}((r=>{const i=r.loaded,s=r.lengthComputable?r.total:void 0,a=i-n,c=o(a);n=i;e({loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&i<=s?(s-i)/c:void 0,event:r,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),r)},Re=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Te=e=>function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return H.asap((()=>e(...r)))};var Ue=de.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,de.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(de.origin),de.navigator&&/(msie|trident)/i.test(de.navigator.userAgent)):()=>!0,Pe=de.hasStandardBrowserEnv?{write(e,t,r,n,o,i,s){if("undefined"==typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];H.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),H.isString(n)&&a.push(`path=${n}`),H.isString(o)&&a.push(`domain=${o}`),!0===i&&a.push("secure"),H.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function Ce(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Be=e=>e instanceof Oe?{...e}:e;function Ne(e,t){t=t||{};const r={};function n(e,t,r,n){return H.isPlainObject(e)&&H.isPlainObject(t)?H.merge.call({caseless:n},e,t):H.isPlainObject(t)?H.merge({},t):H.isArray(t)?t.slice():t}function o(e,t,r,o){return H.isUndefined(t)?H.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!H.isUndefined(t))return n(void 0,t)}function s(e,t){return H.isUndefined(t)?H.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken: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:(e,t,r)=>o(Be(e),Be(t),0,!0)};return H.forEach(Object.keys({...e,...t}),(function(n){const i=c[n]||o,s=i(e[n],t[n],n);H.isUndefined(s)&&i!==a||(r[n]=s)})),r}var ke=e=>{const t=Ne({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=Oe.from(s),t.url=ne(Ce(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),H.isFormData(r))if(de.hasStandardBrowserEnv||de.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(H.isFunction(r.getHeaders)){const e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((e=>{let[r,n]=e;t.includes(r.toLowerCase())&&s.set(r,n)}))}if(de.hasStandardBrowserEnv&&(n&&H.isFunction(n)&&(n=n(t)),n||!1!==n&&Ue(t.url))){const e=o&&i&&Pe.read(i);e&&s.set(o,e)}return t};var Fe="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=ke(e);let o=n.data;const i=Oe.from(n.headers).normalize();let s,a,c,u,l,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=n;function h(){u&&u(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(s),n.signal&&n.signal.removeEventListener("abort",s)}let y=new XMLHttpRequest;function g(){if(!y)return;const n=Oe.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());_e((function(e){t(e),h()}),(function(e){r(e),h()}),{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=g:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(g)},y.onabort=function(){y&&(r(new W("Request aborted",W.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){const n=new W(t&&t.message?t.message:"Network Error",W.ERR_NETWORK,e,y);n.event=t||null,r(n),y=null},y.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||ie;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new W(t,o.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&H.forEach(i.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),H.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),f&&"json"!==f&&(y.responseType=n.responseType),p&&([c,l]=xe(p,!0),y.addEventListener("progress",c)),d&&y.upload&&([a,u]=xe(d),y.upload.addEventListener("progress",a),y.upload.addEventListener("loadend",u)),(n.cancelToken||n.signal)&&(s=t=>{y&&(r(!t||t.type?new Ee(null,e,y):t),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(s),n.signal&&(n.signal.aborted?s():n.signal.addEventListener("abort",s)));const b=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);b&&-1===de.protocols.indexOf(b)?r(new W("Unsupported protocol "+b+":",W.ERR_BAD_REQUEST,e)):y.send(o||null)}))};var Le=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const o=function(e){if(!r){r=!0,s();const t=e instanceof Error?e:this.reason;n.abort(t instanceof W?t:new Ee(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=n;return a.unsubscribe=()=>H.asap(s),a}};const De=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},Me=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},Ie=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of Me(e))yield*De(r,t)}(e,t);let i,s=0,a=e=>{i||(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return a(),void e.close();let i=n.byteLength;if(r){let e=s+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},{isFunction:ze}=H,$e=(e=>{let{Request:t,Response:r}=e;return{Request:t,Response:r}})(H.global),{ReadableStream:qe,TextEncoder:He}=H.global,We=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return!!e(...r)}catch(e){return!1}},Je=e=>{e=H.merge.call({skipUndefined:!0},$e,e);const{fetch:t,Request:r,Response:n}=e,o=t?ze(t):"function"==typeof fetch,i=ze(r),s=ze(n);if(!o)return!1;const a=o&&ze(qe),c=o&&("function"==typeof He?(u=new He,e=>u.encode(e)):async e=>new Uint8Array(await new r(e).arrayBuffer()));var u;const l=i&&a&&We((()=>{let e=!1;const t=new r(de.origin,{body:new qe,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),f=s&&a&&We((()=>H.isReadableStream(new n("").body))),d={stream:f&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!d[e]&&(d[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new W(`Response type '${e}' is not supported`,W.ERR_NOT_SUPPORT,r)})}));const p=async(e,t)=>{const n=H.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(H.isBlob(e))return e.size;if(H.isSpecCompliantForm(e)){const t=new r(de.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return H.isArrayBufferView(e)||H.isArrayBuffer(e)?e.byteLength:(H.isURLSearchParams(e)&&(e+=""),H.isString(e)?(await c(e)).byteLength:void 0)})(t):n};return async e=>{let{url:o,method:s,data:a,signal:c,cancelToken:u,timeout:h,onDownloadProgress:y,onUploadProgress:g,responseType:b,headers:m,withCredentials:v="same-origin",fetchOptions:w}=ke(e),j=t||fetch;b=b?(b+"").toLowerCase():"text";let O=Le([c,u&&u.toAbortSignal()],h),S=null;const A=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let E;try{if(g&&l&&"get"!==s&&"head"!==s&&0!==(E=await p(m,a))){let e,t=new r(o,{method:"POST",body:a,duplex:"half"});if(H.isFormData(a)&&(e=t.headers.get("content-type"))&&m.setContentType(e),t.body){const[e,r]=Re(E,xe(Te(g)));a=Ie(t.body,65536,e,r)}}H.isString(v)||(v=v?"include":"omit");const t=i&&"credentials"in r.prototype,c={...w,signal:O,method:s.toUpperCase(),headers:m.normalize().toJSON(),body:a,duplex:"half",credentials:t?v:void 0};S=i&&new r(o,c);let u=await(i?j(S,w):j(o,c));const h=f&&("stream"===b||"response"===b);if(f&&(y||h&&A)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=u[t]}));const t=H.toFiniteNumber(u.headers.get("content-length")),[r,o]=y&&Re(t,xe(Te(y),!0))||[];u=new n(Ie(u.body,65536,r,(()=>{o&&o(),A&&A()})),e)}b=b||"text";let _=await d[H.findKey(d,b)||"text"](u,e);return!h&&A&&A(),await new Promise(((t,r)=>{_e(t,r,{data:_,headers:Oe.from(u.headers),status:u.status,statusText:u.statusText,config:e,request:S})}))}catch(t){if(A&&A(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new W("Network Error",W.ERR_NETWORK,e,S),{cause:t.cause||t});throw W.from(t,t&&t.code,e,S)}}},Ve=new Map,Ke=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let s,a,c=i.length,u=Ve;for(;c--;)s=i[c],a=u.get(s),void 0===a&&u.set(s,a=c?new Map:Je(t)),u=a;return a};Ke();const Xe={http:null,xhr:Fe,fetch:{get:Ke}};H.forEach(Xe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ge=e=>`- ${e}`,Qe=e=>H.isFunction(e)||null===e||!1===e;var Ze={getAdapter:function(e,t){e=H.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let s=0;s<r;s++){let r;if(n=e[s],o=n,!Qe(n)&&(o=Xe[(r=String(n)).toLowerCase()],void 0===o))throw new W(`Unknown adapter '${r}'`);if(o&&(H.isFunction(o)||(o=o.get(t))))break;i[r||"#"+s]=o}if(!o){const e=Object.entries(i).map((e=>{let[t,r]=e;return`adapter ${t} `+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new W("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(Ge).join("\n"):" "+Ge(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o},adapters:Xe};function Ye(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ee(null,e)}function et(e){Ye(e),e.headers=Oe.from(e.headers),e.data=Se.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Ze.getAdapter(e.adapter||ye.adapter,e)(e).then((function(t){return Ye(e),t.data=Se.call(e,e.transformResponse,t),t.headers=Oe.from(t.headers),t}),(function(t){return Ae(t)||(Ye(e),t&&t.response&&(t.response.data=Se.call(e,e.transformResponse,t.response),t.response.headers=Oe.from(t.response.headers))),Promise.reject(t)}))}const tt="1.13.2",rt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{rt[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const nt={};rt.transitional=function(e,t,r){function n(e,t){return"[Axios v"+tt+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new W(n(o," has been removed"+(t?" in "+t:"")),W.ERR_DEPRECATED);return t&&!nt[o]&&(nt[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},rt.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var ot={assertOptions:function(e,t,r){if("object"!=typeof e)throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const t=e[i],r=void 0===t||s(t,i,e);if(!0!==r)throw new W("option "+i+" must be "+r,W.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new W("Unknown option "+i,W.ERR_BAD_OPTION)}},validators:rt};const it=ot.validators;class st{constructor(e){this.defaults=e||{},this.interceptors={request:new oe,response:new oe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ne(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&ot.assertOptions(r,{silentJSONParsing:it.transitional(it.boolean),forcedJSONParsing:it.transitional(it.boolean),clarifyTimeoutError:it.transitional(it.boolean)},!1),null!=n&&(H.isFunction(n)?t.paramsSerializer={serialize:n}:ot.assertOptions(n,{encode:it.function,serialize:it.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ot.assertOptions(t,{baseUrl:it.spelling("baseURL"),withXsrfToken:it.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&H.merge(o.common,o[t.method]);o&&H.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Oe.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,f=0;if(!a){const e=[et.bind(this),void 0];for(e.unshift(...s),e.push(...c),l=e.length,u=Promise.resolve(t);f<l;)u=u.then(e[f++],e[f++]);return u}l=s.length;let d=t;for(;f<l;){const e=s[f++],t=s[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=et.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(e){return ne(Ce((e=Ne(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}H.forEach(["delete","get","head","options"],(function(e){st.prototype[e]=function(t,r){return this.request(Ne(r||{},{method:e,url:t,data:(r||{}).data}))}})),H.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(Ne(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}st.prototype[e]=t(),st.prototype[e+"Form"]=t(!0)}));var at=st;class ct{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,o){r.reason||(r.reason=new Ee(e,n,o),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ct((function(t){e=t})),cancel:e}}}var ut=ct;const lt={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(lt).forEach((e=>{let[t,r]=e;lt[r]=t}));var ft=lt;const dt=function t(r){const n=new at(r),o=e(at.prototype.request,n);return H.extend(o,at.prototype,n,{allOwnKeys:!0}),H.extend(o,n,null,{allOwnKeys:!0}),o.create=function(e){return t(Ne(r,e))},o}(ye);dt.Axios=at,dt.CanceledError=Ee,dt.CancelToken=ut,dt.isCancel=Ae,dt.VERSION=tt,dt.toFormData=Z,dt.AxiosError=W,dt.Cancel=dt.CanceledError,dt.all=function(e){return Promise.all(e)},dt.spread=function(e){return function(t){return e.apply(null,t)}},dt.isAxiosError=function(e){return H.isObject(e)&&!0===e.isAxiosError},dt.mergeConfig=Ne,dt.AxiosHeaders=Oe,dt.formToJSON=e=>pe(H.isHTMLForm(e)?new FormData(e):e),dt.getAdapter=Ze.getAdapter,dt.HttpStatusCode=ft,dt.default=dt;var pt=dt,ht=Array.isArray,yt="object"==typeof global&&global&&global.Object===Object&&global,gt="object"==typeof self&&self&&self.Object===Object&&self,bt=yt||gt||Function("return this")(),mt=bt.Symbol,vt=Object.prototype,wt=vt.hasOwnProperty,jt=vt.toString,Ot=mt?mt.toStringTag:void 0;var St=Object.prototype.toString;var At="[object Null]",Et="[object Undefined]",_t=mt?mt.toStringTag:void 0;function xt(e){return null==e?void 0===e?Et:At:_t&&_t in Object(e)?function(e){var t=wt.call(e,Ot),r=e[Ot];try{e[Ot]=void 0;var n=!0}catch(e){}var o=jt.call(e);return n&&(t?e[Ot]=r:delete e[Ot]),o}(e):function(e){return St.call(e)}(e)}function Rt(e){return null!=e&&"object"==typeof e}var Tt="[object Symbol]";function Ut(e){return"symbol"==typeof e||Rt(e)&&xt(e)==Tt}var Pt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ct=/^\w*$/;function Bt(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Nt="[object AsyncFunction]",kt="[object Function]",Ft="[object GeneratorFunction]",Lt="[object Proxy]";function Dt(e){if(!Bt(e))return!1;var t=xt(e);return t==kt||t==Ft||t==Nt||t==Lt}var Mt,It=bt["__core-js_shared__"],zt=(Mt=/[^.]+$/.exec(It&&It.keys&&It.keys.IE_PROTO||""))?"Symbol(src)_1."+Mt:"";var $t=Function.prototype.toString;function qt(e){if(null!=e){try{return $t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Ht=/^\[object .+?Constructor\]$/,Wt=Function.prototype,Jt=Object.prototype,Vt=Wt.toString,Kt=Jt.hasOwnProperty,Xt=RegExp("^"+Vt.call(Kt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Gt(e){return!(!Bt(e)||(t=e,zt&&zt in t))&&(Dt(e)?Xt:Ht).test(qt(e));var t}function Qt(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Gt(r)?r:void 0}var Zt=Qt(Object,"create");var Yt=Object.prototype.hasOwnProperty;var er=Object.prototype.hasOwnProperty;function tr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function rr(e,t){for(var r,n,o=e.length;o--;)if((r=e[o][0])===(n=t)||r!=r&&n!=n)return o;return-1}tr.prototype.clear=function(){this.__data__=Zt?Zt(null):{},this.size=0},tr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},tr.prototype.get=function(e){var t=this.__data__;if(Zt){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Yt.call(t,e)?t[e]:void 0},tr.prototype.has=function(e){var t=this.__data__;return Zt?void 0!==t[e]:er.call(t,e)},tr.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Zt&&void 0===t?"__lodash_hash_undefined__":t,this};var nr=Array.prototype.splice;function or(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}or.prototype.clear=function(){this.__data__=[],this.size=0},or.prototype.delete=function(e){var t=this.__data__,r=rr(t,e);return!(r<0)&&(r==t.length-1?t.pop():nr.call(t,r,1),--this.size,!0)},or.prototype.get=function(e){var t=this.__data__,r=rr(t,e);return r<0?void 0:t[r][1]},or.prototype.has=function(e){return rr(this.__data__,e)>-1},or.prototype.set=function(e,t){var r=this.__data__,n=rr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};var ir=Qt(bt,"Map");function sr(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function ar(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ar.prototype.clear=function(){this.size=0,this.__data__={hash:new tr,map:new(ir||or),string:new tr}},ar.prototype.delete=function(e){var t=sr(this,e).delete(e);return this.size-=t?1:0,t},ar.prototype.get=function(e){return sr(this,e).get(e)},ar.prototype.has=function(e){return sr(this,e).has(e)},ar.prototype.set=function(e,t){var r=sr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};var cr="Expected a function";function ur(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(cr);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(ur.Cache||ar),r}ur.Cache=ar;var lr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fr=/\\(\\)?/g,dr=function(e){var t=ur(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(lr,(function(e,r,n,o){t.push(n?o.replace(fr,"$1"):r||e)})),t})),pr=dr;var hr=1/0,yr=mt?mt.prototype:void 0,gr=yr?yr.toString:void 0;function br(e){if("string"==typeof e)return e;if(ht(e))return function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}(e,br)+"";if(Ut(e))return gr?gr.call(e):"";var t=e+"";return"0"==t&&1/e==-hr?"-0":t}function mr(e){return null==e?"":br(e)}function vr(e,t){return ht(e)?e:function(e,t){if(ht(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Ut(e))||Ct.test(e)||!Pt.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:pr(mr(e))}var wr=1/0;function jr(e){if("string"==typeof e||Ut(e))return e;var t=e+"";return"0"==t&&1/e==-wr?"-0":t}function Or(e,t,r){var n=null==e?void 0:function(e,t){for(var r=0,n=(t=vr(t,e)).length;null!=e&&r<n;)e=e[jr(t[r++])];return r&&r==n?e:void 0}(e,t);return void 0===n?r:n}var Sr=Object.prototype;function Ar(e,t){return function(r){return e(t(r))}}var Er=Ar(Object.keys,Object),_r=Object.prototype.hasOwnProperty;function xr(e){if(r=(t=e)&&t.constructor,t!==("function"==typeof r&&r.prototype||Sr))return Er(e);var t,r,n=[];for(var o in Object(e))_r.call(e,o)&&"constructor"!=o&&n.push(o);return n}var Rr=Qt(bt,"DataView"),Tr=Qt(bt,"Promise"),Ur=Qt(bt,"Set"),Pr=Qt(bt,"WeakMap"),Cr="[object Map]",Br="[object Promise]",Nr="[object Set]",kr="[object WeakMap]",Fr="[object DataView]",Lr=qt(Rr),Dr=qt(ir),Mr=qt(Tr),Ir=qt(Ur),zr=qt(Pr),$r=xt;(Rr&&$r(new Rr(new ArrayBuffer(1)))!=Fr||ir&&$r(new ir)!=Cr||Tr&&$r(Tr.resolve())!=Br||Ur&&$r(new Ur)!=Nr||Pr&&$r(new Pr)!=kr)&&($r=function(e){var t=xt(e),r="[object Object]"==t?e.constructor:void 0,n=r?qt(r):"";if(n)switch(n){case Lr:return Fr;case Dr:return Cr;case Mr:return Br;case Ir:return Nr;case zr:return kr}return t});var qr=$r,Hr=9007199254740991;function Wr(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Hr}function Jr(e){return null!=e&&Wr(e.length)&&!Dt(e)}var Vr="[object String]";var Kr,Xr=(Kr="length",function(e){return null==e?void 0:e[Kr]}),Gr=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Qr="\\ud800-\\udfff",Zr="["+Qr+"]",Yr="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",en="\\ud83c[\\udffb-\\udfff]",tn="[^"+Qr+"]",rn="(?:\\ud83c[\\udde6-\\uddff]){2}",nn="[\\ud800-\\udbff][\\udc00-\\udfff]",on="(?:"+Yr+"|"+en+")"+"?",sn="[\\ufe0e\\ufe0f]?",an=sn+on+("(?:\\u200d(?:"+[tn,rn,nn].join("|")+")"+sn+on+")*"),cn="(?:"+[tn+Yr+"?",Yr,rn,nn,Zr].join("|")+")",un=RegExp(en+"(?="+en+")|"+cn+an,"g");function ln(e){return function(e){return Gr.test(e)}(e)?function(e){for(var t=un.lastIndex=0;un.test(e);)++t;return t}(e):Xr(e)}var fn="[object Map]",dn="[object Set]";function pn(e){if(null==e)return 0;if(Jr(e))return"string"==typeof(t=e)||!ht(t)&&Rt(t)&&xt(t)==Vr?ln(e):e.length;var t,r=qr(e);return r==fn||r==dn?e.size:xr(e).length}function hn(){return"undefined"!=typeof window&&void 0!==window.document}var yn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},gn={};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function i(e,t,n,i,s){if("function"!=typeof n)throw new TypeError("The listener must be a function");var a=new o(n,i||e,s),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],a]:e._events[c].push(a):(e._events[c]=a,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function a(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),a.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},a.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,s=new Array(i);o<i;o++)s[o]=n[o].fn;return s},a.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},a.prototype.emit=function(e,t,n,o,i,s){var a=r?r+e:e;if(!this._events[a])return!1;var c,u,l=this._events[a],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,n),!0;case 4:return l.fn.call(l.context,t,n,o),!0;case 5:return l.fn.call(l.context,t,n,o,i),!0;case 6:return l.fn.call(l.context,t,n,o,i,s),!0}for(u=1,c=new Array(f-1);u<f;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var d,p=l.length;for(u=0;u<p;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),f){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,n);break;case 4:l[u].fn.call(l[u].context,t,n,o);break;default:if(!c)for(d=1,c=new Array(f-1);d<f;d++)c[d-1]=arguments[d];l[u].fn.apply(l[u].context,c)}}return!0},a.prototype.on=function(e,t,r){return i(this,e,t,r,!1)},a.prototype.once=function(e,t,r){return i(this,e,t,r,!0)},a.prototype.removeListener=function(e,t,n,o){var i=r?r+e:e;if(!this._events[i])return this;if(!t)return s(this,i),this;var a=this._events[i];if(a.fn)a.fn!==t||o&&!a.once||n&&a.context!==n||s(this,i);else{for(var c=0,u=[],l=a.length;c<l;c++)(a[c].fn!==t||o&&!a[c].once||n&&a[c].context!==n)&&u.push(a[c]);u.length?this._events[i]=1===u.length?u[0]:u:s(this,i)}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new n,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=r,a.EventEmitter=a,e.exports=a}({get exports(){return gn},set exports(e){gn=e}});var bn=gn;function mn(){let e,t,r=new Promise((function(){e=arguments[0],t=arguments[1]}));return r.resolve=e,r.reject=t,r}function vn(e){return"[object Object]"===Object.prototype.toString.call(e)}function wn(e){return"[object String]"===Object.prototype.toString.call(e)}function jn(e){return!(!wn(e)||""===e)}function On(e){return e!=e}function Sn(e){let t=!1;if(jn(e))t=!isNaN(Number(e));else if(function(e){return"[object Number]"===Object.prototype.toString.call(e)}(e)){if(On(e))return!1;t=!0}return t}function An(e,t){return!!vn(e)&&(!(!jn(t)&&!Sn(t))&&t in e)}function En(e){let t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t}var _n=/\s/;var xn=/^\s+/;function Rn(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&_n.test(e.charAt(t)););return t}(e)+1).replace(xn,""):e}var Tn=NaN,Un=/^[-+]0x[0-9a-f]+$/i,Pn=/^0b[01]+$/i,Cn=/^0o[0-7]+$/i,Bn=parseInt;function Nn(e){if("number"==typeof e)return e;if(Ut(e))return Tn;if(Bt(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Bt(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Rn(e);var r=Pn.test(e);return r||Cn.test(e)?Bn(e.slice(2),r?2:8):Un.test(e)?Tn:+e}var kn=1/0,Fn=17976931348623157e292;function Ln(e){return e?(e=Nn(e))===kn||e===-kn?(e<0?-1:1)*Fn:e==e?e:0:0===e?e:0}function Dn(e){var t=Ln(e),r=t%1;return t==t?r?t-r:t:0}function Mn(e){if(!Sn(e))return 0;return Ln(e)}function In(e){return!!Sn(e)&&(e=Mn(e),"number"==typeof(t=e)&&t==Dn(t));var t}var zn=bt.isFinite,$n=Math.min;var qn,Hn=(qn=Math["round"],function(e,t){if(e=Nn(e),(t=null==t?0:$n(Dn(t),292))&&zn(e)){var r=(mr(e)+"e").split("e");return+((r=(mr(qn(r[0]+"e"+(+r[1]+t)))+"e").split("e"))[0]+"e"+(+r[1]-t))}return qn(e)});function Wn(e){if(!Sn(e))return 0;e=Mn(e);let t=Hn(e);return"0"===String(t)?0:t}function Jn(e){if(!In(e))return!1;return Wn(e)>0}function Vn(e){if(!In(e))return!1;return Wn(e)>=0}function Kn(e){if(vn(e)){for(let t in e)return!0;return!1}return!1}var Xn="[object Boolean]";function Gn(e){return!0===(t=e)||!1===t||Rt(t)&&xt(t)==Xn;var t}function Qn(e){let t,r=Object.prototype.toString.call(e);if(t="[object Promise]"===r,t)return!0;if("[object Function]"!==r)return!1;try{t="function"!=typeof e.subscribe&&"function"==typeof e.then}catch(e){}return t}function Zn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Sn(e)&&Vn(t)?(e=Mn(e),Hn(e,t).toFixed(t)):""}var Yn={};var eo,to={},ro={get exports(){return to},set exports(e){to=e}};function no(){return eo||(eo=1,function(e,t){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==yn&&yn.crypto&&(r=yn.crypto),!r)try{r=require("crypto")}catch(e){}var n=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),i={},s=i.lib={},a=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=a.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var s=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=s<<24-(n+i)%4*8}else for(var a=0;a<o;a+=4)t[n+a>>>2]=r[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new c.init(t,e)}}),u=i.enc={},l=u.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},f=u.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,t)}},d=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},p=s.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,s=this.blockSize,a=i/(4*s),u=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,l=e.min(4*u,i);if(u){for(var f=0;f<u;f+=s)this._doProcessBlock(o,f);r=o.splice(0,u),n.sigBytes-=l}return new c.init(r,l)},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});s.Hasher=p.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new h.HMAC.init(e,r).finalize(t)}}});var h=i.algo={};return i}(Math),r)}(ro)),to}!function(e,t){e.exports=no().enc.Utf8}({get exports(){return Yn},set exports(e){Yn=e}});var oo=Yn,io={};!function(e,t){var r;e.exports=(r=no(),function(){var e=r,t=e.lib.WordArray;function n(e,r,n){for(var o=[],i=0,s=0;s<r;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2|n[e.charCodeAt(s)]>>>6-s%4*2;o[i>>>2]|=a<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],i=0;i<r;i+=3)for(var s=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<r;a++)o.push(n.charAt(s>>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var s=r.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return n(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)}({get exports(){return io},set exports(e){io=e}});var so=io;function ao(e){if(!jn(e))return"";return so.parse(e).toString(oo)}function co(e){if(!hn())return Promise.reject("no window");try{return function(e){return e.arrayBuffer()}(e)}catch(t){return function(e){let t=mn(),r=new FileReader;return r.onload=function(){let e=r.result;t.resolve(e)},r.onerror=function(e){t.reject(e)},r.readAsArrayBuffer(e),t}(e)}}function uo(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}var lo,fo=function(e,t,r){for(var n=-1,o=Object(e),i=r(e),s=i.length;s--;){var a=i[lo?s:++n];if(!1===t(o[a],a,o))break}return e},po=fo;function ho(e){return Rt(e)&&"[object Arguments]"==xt(e)}var yo=Object.prototype,go=yo.hasOwnProperty,bo=yo.propertyIsEnumerable,mo=ho(function(){return arguments}())?ho:function(e){return Rt(e)&&go.call(e,"callee")&&!bo.call(e,"callee")},vo=mo;var wo="object"==typeof exports&&exports&&!exports.nodeType&&exports,jo=wo&&"object"==typeof module&&module&&!module.nodeType&&module,Oo=jo&&jo.exports===wo?bt.Buffer:void 0,So=(Oo?Oo.isBuffer:void 0)||function(){return!1},Ao=9007199254740991,Eo=/^(?:0|[1-9]\d*)$/;function _o(e,t){var r=typeof e;return!!(t=null==t?Ao:t)&&("number"==r||"symbol"!=r&&Eo.test(e))&&e>-1&&e%1==0&&e<t}var xo={};xo["[object Float32Array]"]=xo["[object Float64Array]"]=xo["[object Int8Array]"]=xo["[object Int16Array]"]=xo["[object Int32Array]"]=xo["[object Uint8Array]"]=xo["[object Uint8ClampedArray]"]=xo["[object Uint16Array]"]=xo["[object Uint32Array]"]=!0,xo["[object Arguments]"]=xo["[object Array]"]=xo["[object ArrayBuffer]"]=xo["[object Boolean]"]=xo["[object DataView]"]=xo["[object Date]"]=xo["[object Error]"]=xo["[object Function]"]=xo["[object Map]"]=xo["[object Number]"]=xo["[object Object]"]=xo["[object RegExp]"]=xo["[object Set]"]=xo["[object String]"]=xo["[object WeakMap]"]=!1;var Ro="object"==typeof exports&&exports&&!exports.nodeType&&exports,To=Ro&&"object"==typeof module&&module&&!module.nodeType&&module,Uo=To&&To.exports===Ro&&yt.process,Po=function(){try{var e=To&&To.require&&To.require("util").types;return e||Uo&&Uo.binding&&Uo.binding("util")}catch(e){}}(),Co=Po&&Po.isTypedArray,Bo=Co?function(e){return function(t){return e(t)}}(Co):function(e){return Rt(e)&&Wr(e.length)&&!!xo[xt(e)]},No=Bo,ko=Object.prototype.hasOwnProperty;function Fo(e,t){var r=ht(e),n=!r&&vo(e),o=!r&&!n&&So(e),i=!r&&!n&&!o&&No(e),s=r||n||o||i,a=s?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],c=a.length;for(var u in e)!t&&!ko.call(e,u)||s&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||_o(u,c))||a.push(u);return a}function Lo(e){return Jr(e)?Fo(e):xr(e)}var Do=function(e,t){return function(r,n){if(null==r)return r;if(!Jr(r))return e(r,n);for(var o=r.length,i=t?o:-1,s=Object(r);(t?i--:++i<o)&&!1!==n(s[i],i,s););return r}}((function(e,t){return e&&po(e,t,Lo)})),Mo=Do;function Io(e){return e}function zo(e,t){var r;return(ht(e)?uo:Mo)(e,"function"==typeof(r=t)?r:Io)}function $o(e){return"[object Array]"===Object.prototype.toString.call(e)}function qo(e){if(vn(e)){for(let t in e)return!1;return!0}return!1}function Ho(e){return!!function(e){return"[object Undefined]"===Object.prototype.toString.call(e)}(e)||(!!function(e){return"[object Null]"===Object.prototype.toString.call(e)}(e)||(!!qo(e)||(!!function(e){return!(!wn(e)||""!==e)}(e)||(!!function(e){return!!$o(e)&&0===e.length}(e)||!!On(e)))))}function Wo(e){return"[object ArrayBuffer]"===Object.prototype.toString.call(e)}function Jo(e){return"[object Blob]"===Object.prototype.toString.call(e)}function Vo(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)}function Ko(e){return"[object Uint16Array]"===Object.prototype.toString.call(e)}function Xo(e){if(!(Wo(e)||Jo(e)||Vo(e)||Ko(e)))return null;try{if(e.byteLength)return e.byteLength}catch(e){}try{if(e.length)return e.length}catch(e){}try{if(e.size)return e.size}catch(e){}return null}var Go=Ar(Object.getPrototypeOf,Object),Qo="[object Object]",Zo=Function.prototype,Yo=Object.prototype,ei=Zo.toString,ti=Yo.hasOwnProperty,ri=ei.call(Object);var ni="[object DOMException]",oi="[object Error]";function ii(e){if(!Rt(e))return!1;var t=xt(e);return t==oi||t==ni||"string"==typeof e.message&&"string"==typeof e.name&&!function(e){if(!Rt(e)||xt(e)!=Qo)return!1;var t=Go(e);if(null===t)return!0;var r=ti.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&ei.call(r)==ri}(e)}function si(e){if(!jn(e))return new Uint8Array;let t;try{t=function(e){if(!wn(e))return new Uint8Array;let t=so.parse(e),r=t.words,n=t.sigBytes,o=new Uint8Array(n);for(let e=0;e<n;e++){let t=r[e>>>2]>>>24-e%4*8&255;o[e]=t}return o}(function(e){if(!jn(e))return"";let t=oo.parse(e);return so.stringify(t)}(e))}catch(e){return new Uint8Array}return t}function ai(e,t){return function(e,t,r,n,o,i){if(!Sn(e))return null;if(!Vo(t))return null;if(!In(r))return null;if(!Gn(n))return null;if(!In(o))return null;if(!In(i))return null;let s,a,c;e=Mn(e);let u=8*i-o-1,l=(1<<u)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?i-1:0,h=n?-1:1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*c-1)*Math.pow(2,o),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;t[r+p]=255&a,p+=h,a/=256,o-=8);for(s=s<<o|a,u+=o;u>0;t[r+p]=255&s,p+=h,s/=256,u-=8);return t[r+p-h]|=128*y,null}(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,!(arguments.length>3&&void 0!==arguments[3])||arguments[3],arguments.length>4&&void 0!==arguments[4]?arguments[4]:52,arguments.length>5&&void 0!==arguments[5]?arguments[5]:8)}function ci(e){let t=[],r=[];if((!$o(n=e)||0===n.length||1===n.length&&Ho(n[0]))&&!Kn(e))return null;var n;let o=[],i=[];function s(e){o.push(Xo(e)),i.push(e)}try{let n=function(e){if(!vn(e))return{results:"",binarys:[]};if(qo(e))return{results:"",binarys:[]};let t="",r=[];try{let n=-1;t=JSON.stringify(e,(function(e,t){if(Vo(t)){n+=1;let e=`[Uint8Array]::${n}`;return r.push(t),e}if(Ko(t)){n+=1;let e=`[Uint16Array]::${n}`;return r.push(t),e}if(Wo(t)){n+=1;let e=`[ArrayBuffer]::${n}`;return r.push(t),e}return ii(t)&&(t=t.toString()),t}))}catch(e){}return{results:t,binarys:r}}(e);s(si(n.results)),zo(n.binarys,(e=>{s(e)}));let a=o,c=si(JSON.stringify(a)),u=new Uint8Array(8);ai(Xo(c),u),t.push(u),t.push(c),zo(i,(e=>{t.push(e)})),zo(t,(e=>{r=function(e,t){let r=Xo(e),n=Xo(t),o=new Uint8Array(r+n);return o.set(new Uint8Array(e),0),o.set(new Uint8Array(t),r),o}(r,e)}))}catch(e){return null}return r}function ui(e){return function(e,t,r,n,o){if(!Vo(e))return null;if(!In(t))return null;if(!Gn(r))return null;if(!In(n))return null;if(!In(o))return null;let i,s,a=8*o-n-1,c=(1<<a)-1,u=c>>1,l=-7,f=r?0:o-1,d=r?1:-1,p=e[t+f];for(f+=d,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=256*i+e[t+f],f+=d,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=d,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),i-=u}return(p?-1:1)*s*Math.pow(2,i-n)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,!(arguments.length>2&&void 0!==arguments[2])||arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:52,arguments.length>4&&void 0!==arguments[4]?arguments[4]:8)}var li={};!function(e,t){var r;e.exports=(r=no(),function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init,n=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],o=0;o<r;o++)n[o>>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)};n.prototype=e}}(),r.lib.WordArray)}({get exports(){return li},set exports(e){li=e}});var fi=li;function di(e){if(!Vo(e))return"";let t;try{t=ao(function(e){return Vo(e)?fi.create(e).toString(so):""}(e))}catch(e){return""}return t}function pi(e){let t=null;if(!Vo(e))return null;try{let r=8,n=e.slice(0,r),o=e.slice(r,Xo(e)),i=ui(n),s=o.slice(0,i),a=o.slice(i,Xo(o)),c=di(s),u=function(e,t){let r=0,n=0,o=[];return zo(t,(t=>{n=r+t;let i=e.slice(r,n);r=n,o.push(i)})),o}(a,JSON.parse(c));t=function(e){if(!Kn(e))return{};let{results:t,binarys:r}=e;if(!jn(t))return{};if(!$o(r))return{};let n={};try{n=JSON.parse(t,(function(e,t){if(jn(t)){if(t.indexOf("[Uint8Array]::")>=0){let e=Wn(t.replace("[Uint8Array]::",""));return r[e]}if(t.indexOf("[Uint16Array]::")>=0){let e=Wn(t.replace("[Uint16Array]::",""));return r[e]}if(t.indexOf("[ArrayBuffer]::")>=0){let e=Wn(t.replace("[ArrayBuffer]::",""));return r[e]}}return t}))}catch(e){}return n}({results:di(u.shift()),binarys:u})}catch(e){}return t}function hi(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;Sn(e)||(e=10);let t=mn();return setTimeout((function(){t.resolve()}),e),t}const yi=new Uint8Array([0,97,115,109,1,0,0,0,1,48,8,96,3,127,127,127,1,127,96,3,127,127,127,0,96,2,127,127,0,96,1,127,1,127,96,3,127,127,126,1,126,96,3,126,127,127,1,126,96,2,127,126,0,96,1,127,1,126,3,11,10,0,0,2,1,3,4,5,6,1,7,5,3,1,0,1,7,85,9,3,109,101,109,2,0,5,120,120,104,51,50,0,0,6,105,110,105,116,51,50,0,2,8,117,112,100,97,116,101,51,50,0,3,8,100,105,103,101,115,116,51,50,0,4,5,120,120,104,54,52,0,5,6,105,110,105,116,54,52,0,7,8,117,112,100,97,116,101,54,52,0,8,8,100,105,103,101,115,116,54,52,0,9,10,251,22,10,242,1,1,4,127,32,0,32,1,106,33,3,32,1,65,16,79,4,127,32,3,65,16,107,33,6,32,2,65,168,136,141,161,2,106,33,3,32,2,65,137,235,208,208,7,107,33,4,32,2,65,207,140,162,142,6,106,33,5,3,64,32,3,32,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,3,32,4,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,4,32,2,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,2,32,5,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,5,32,6,32,0,65,4,106,34,0,79,13,0,11,32,2,65,12,119,32,5,65,18,119,106,32,4,65,7,119,106,32,3,65,1,119,106,5,32,2,65,177,207,217,178,1,106,11,32,1,106,32,0,32,1,65,15,113,16,1,11,146,1,0,32,1,32,2,106,33,2,3,64,32,1,65,4,106,32,2,75,69,4,64,32,0,32,1,40,2,0,65,189,220,202,149,124,108,106,65,17,119,65,175,214,211,190,2,108,33,0,32,1,65,4,106,33,1,12,1,11,11,3,64,32,1,32,2,79,69,4,64,32,0,32,1,45,0,0,65,177,207,217,178,1,108,106,65,11,119,65,177,243,221,241,121,108,33,0,32,1,65,1,106,33,1,12,1,11,11,32,0,32,0,65,15,118,115,65,247,148,175,175,120,108,34,0,65,13,118,32,0,115,65,189,220,202,149,124,108,34,0,65,16,118,32,0,115,11,63,0,32,0,65,8,106,32,1,65,168,136,141,161,2,106,54,2,0,32,0,65,12,106,32,1,65,137,235,208,208,7,107,54,2,0,32,0,65,16,106,32,1,54,2,0,32,0,65,20,106,32,1,65,207,140,162,142,6,106,54,2,0,11,195,4,1,6,127,32,1,32,2,106,33,6,32,0,65,24,106,33,4,32,0,65,40,106,40,2,0,33,3,32,0,32,0,40,2,0,32,2,106,54,2,0,32,0,65,4,106,34,5,32,5,40,2,0,32,2,65,16,79,32,0,40,2,0,65,16,79,114,114,54,2,0,32,2,32,3,106,65,16,73,4,64,32,3,32,4,106,32,1,32,2,252,10,0,0,32,0,65,40,106,32,2,32,3,106,54,2,0,15,11,32,3,4,64,32,3,32,4,106,32,1,65,16,32,3,107,34,2,252,10,0,0,32,0,65,8,106,34,3,32,3,40,2,0,32,4,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,12,106,34,3,32,3,40,2,0,32,4,65,4,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,16,106,34,3,32,3,40,2,0,32,4,65,8,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,20,106,34,3,32,3,40,2,0,32,4,65,12,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,40,106,65,0,54,2,0,32,1,32,2,106,33,1,11,32,1,32,6,65,16,107,77,4,64,32,6,65,16,107,33,8,32,0,65,8,106,40,2,0,33,2,32,0,65,12,106,40,2,0,33,3,32,0,65,16,106,40,2,0,33,5,32,0,65,20,106,40,2,0,33,7,3,64,32,2,32,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,2,32,3,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,3,32,5,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,5,32,7,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,7,32,8,32,1,65,4,106,34,1,79,13,0,11,32,0,65,8,106,32,2,54,2,0,32,0,65,12,106,32,3,54,2,0,32,0,65,16,106,32,5,54,2,0,32,0,65,20,106,32,7,54,2,0,11,32,1,32,6,73,4,64,32,4,32,1,32,6,32,1,107,34,1,252,10,0,0,32,0,65,40,106,32,1,54,2,0,11,11,97,1,1,127,32,0,65,16,106,40,2,0,33,1,32,0,65,4,106,40,2,0,4,127,32,1,65,12,119,32,0,65,20,106,40,2,0,65,18,119,106,32,0,65,12,106,40,2,0,65,7,119,106,32,0,65,8,106,40,2,0,65,1,119,106,5,32,1,65,177,207,217,178,1,106,11,32,0,40,2,0,106,32,0,65,24,106,32,0,65,40,106,40,2,0,16,1,11,255,3,2,3,126,1,127,32,0,32,1,106,33,6,32,1,65,32,79,4,126,32,6,65,32,107,33,6,32,2,66,214,235,130,238,234,253,137,245,224,0,124,33,3,32,2,66,177,169,172,193,173,184,212,166,61,125,33,4,32,2,66,249,234,208,208,231,201,161,228,225,0,124,33,5,3,64,32,3,32,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,3,32,4,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,4,32,2,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,2,32,5,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,5,32,6,32,0,65,8,106,34,0,79,13,0,11,32,2,66,12,137,32,5,66,18,137,124,32,4,66,7,137,124,32,3,66,1,137,124,32,3,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,4,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,2,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,5,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,5,32,2,66,197,207,217,178,241,229,186,234,39,124,11,32,1,173,124,32,0,32,1,65,31,113,16,6,11,134,2,0,32,1,32,2,106,33,2,3,64,32,2,32,1,65,8,106,79,4,64,32,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,32,0,133,66,27,137,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,33,0,32,1,65,8,106,33,1,12,1,11,11,32,1,65,4,106,32,2,77,4,64,32,0,32,1,53,2,0,66,135,149,175,175,152,182,222,155,158,127,126,133,66,23,137,66,207,214,211,190,210,199,171,217,66,126,66,249,243,221,241,153,246,153,171,22,124,33,0,32,1,65,4,106,33,1,11,3,64,32,1,32,2,73,4,64,32,0,32,1,49,0,0,66,197,207,217,178,241,229,186,234,39,126,133,66,11,137,66,135,149,175,175,152,182,222,155,158,127,126,33,0,32,1,65,1,106,33,1,12,1,11,11,32,0,32,0,66,33,136,133,66,207,214,211,190,210,199,171,217,66,126,34,0,32,0,66,29,136,133,66,249,243,221,241,153,246,153,171,22,126,34,0,32,0,66,32,136,133,11,77,0,32,0,65,8,106,32,1,66,214,235,130,238,234,253,137,245,224,0,124,55,3,0,32,0,65,16,106,32,1,66,177,169,172,193,173,184,212,166,61,125,55,3,0,32,0,65,24,106,32,1,55,3,0,32,0,65,32,106,32,1,66,249,234,208,208,231,201,161,228,225,0,124,55,3,0,11,244,4,2,3,127,4,126,32,1,32,2,106,33,5,32,0,65,40,106,33,4,32,0,65,200,0,106,40,2,0,33,3,32,0,32,0,41,3,0,32,2,173,124,55,3,0,32,2,32,3,106,65,32,73,4,64,32,3,32,4,106,32,1,32,2,252,10,0,0,32,0,65,200,0,106,32,2,32,3,106,54,2,0,15,11,32,3,4,64,32,3,32,4,106,32,1,65,32,32,3,107,34,2,252,10,0,0,32,0,65,8,106,34,3,32,3,41,3,0,32,4,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,16,106,34,3,32,3,41,3,0,32,4,65,8,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,24,106,34,3,32,3,41,3,0,32,4,65,16,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,32,106,34,3,32,3,41,3,0,32,4,65,24,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,200,0,106,65,0,54,2,0,32,1,32,2,106,33,1,11,32,1,65,32,106,32,5,77,4,64,32,5,65,32,107,33,2,32,0,65,8,106,41,3,0,33,6,32,0,65,16,106,41,3,0,33,7,32,0,65,24,106,41,3,0,33,8,32,0,65,32,106,41,3,0,33,9,3,64,32,6,32,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,6,32,7,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,7,32,8,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,8,32,9,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,9,32,2,32,1,65,8,106,34,1,79,13,0,11,32,0,65,8,106,32,6,55,3,0,32,0,65,16,106,32,7,55,3,0,32,0,65,24,106,32,8,55,3,0,32,0,65,32,106,32,9,55,3,0,11,32,1,32,5,73,4,64,32,4,32,1,32,5,32,1,107,34,1,252,10,0,0,32,0,65,200,0,106,32,1,54,2,0,11,11,188,2,1,5,126,32,0,65,24,106,41,3,0,33,1,32,0,41,3,0,34,2,66,32,90,4,126,32,0,65,8,106,41,3,0,34,3,66,1,137,32,0,65,16,106,41,3,0,34,4,66,7,137,124,32,1,66,12,137,32,0,65,32,106,41,3,0,34,5,66,18,137,124,124,32,3,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,4,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,1,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,5,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,5,32,1,66,197,207,217,178,241,229,186,234,39,124,11,32,2,124,32,0,65,40,106,32,2,66,31,131,167,16,6,11]);async function gi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Jo(e)&&(r=e,"[object File]"!==Object.prototype.toString.call(r)))return console.log("inp",e),Promise.reject("inp is not a Blob or File");var r;let n=Or(t,"chunkSize");Sn(n)||(n=67108864),n=Mn(n);let{create64:o}=await async function(){return function(e){const{exports:{mem:t,xxh32:r,xxh64:n,init32:o,update32:i,digest32:s,init64:a,update64:c,digest64:u}}=e;let l=new Uint8Array(t.buffer);function f(e,r){if(t.buffer.byteLength<e+r){const n=Math.ceil((e+r-t.buffer.byteLength)/65536);t.grow(n),l=new Uint8Array(t.buffer)}}function d(e,t,r,n,o,i){f(e);const s=new Uint8Array(e);return l.set(s),r(0,t),s.set(l.subarray(0,e)),{update(t){let r;return l.set(s),"string"==typeof t?(f(3*t.length,e),r=g.encodeInto(t,l.subarray(e)).written):(f(t.byteLength,e),l.set(t,e),r=t.byteLength),n(0,e,r),s.set(l.subarray(0,e)),this},digest:()=>(l.set(s),i(o(0)))}}function p(e){return e>>>0}const h=2n**64n-1n;function y(e){return e&h}const g=new TextEncoder,b=0,m=0n;function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;return f(3*e.length,0),p(r(0,g.encodeInto(e,l).written,t))}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return f(3*e.length,0),y(n(0,g.encodeInto(e,l).written,t))}return{h32:v,h32ToString:function(e){return v(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:b).toString(16).padStart(8,"0")},h32Raw:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;return f(e.byteLength,0),l.set(e),p(r(0,e.byteLength,t))},create32:function(){return d(48,arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,o,i,s,p)},h64:w,h64ToString:function(e){return w(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:m).toString(16).padStart(16,"0")},h64Raw:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return f(e.byteLength,0),l.set(e),y(n(0,e.byteLength,t))},create64:function(){return d(88,arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,a,c,u,y)}}}((await WebAssembly.instantiate(yi)).instance)}(),i=o(),s=0;for(;s<e.size;){let t=e.slice(s,s+n),r=await t.arrayBuffer();i.update(new Uint8Array(r)),s+=n}return i.digest().toString(16).padStart(16,"0")}return function(e){let t=Or(e,"url");jn(t)||(t="http://localhost:8080");let r=Or(e,"apiName");jn(r)||(r="api");let n="";n="/"===function(e,t){if(!jn(e))return"";if(!Vn(t))return"";if(0===(t=Wn(t)))return"";let r=e.length-t;return r<0&&(r=0),e.substring(r,r+t)}(t,1)?t+r:t+"/"+r;let o=Or(e,"getToken",null);En(o)||(o=()=>"");let i=Or(e,"tokenType");jn(i)||(i="Bearer");let s=Or(e,"sizeSlice");Jn(s)||(s=1048576);let a=Or(e,"timeout");Vn(a)||(a=3e5);let c=Or(e,"retryMain");Vn(c)||(c=3);let u=Or(e,"retryUpload");Vn(u)||(u=10);let l=Or(e,"retryDownload");Vn(l)||(l=2);let f=hn()?"browser":"nodejs",d=new bn,p=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];setTimeout((()=>{d.emit(e,...r)}),1)},h=e=>{let t="";if("basic"===e)t=`${n}/main`;else if("upload-controller"===e)t=`${n}/ulctr`;else if("slice"===e)t=`${n}/slc`;else if("download-get-filename"===e)t=`${n}/dwgfn`;else if("download-get"===e)t=`${n}/dwgf`;else{if("download"!==e)throw new Error(`invalid type[${e}]`);t=`${n}/dw`}return t},y=async e=>{let t;return t="browser"===f?await function(e){let t=mn();return co(e).then((e=>{let r=new Uint8Array(e);t.resolve(r)})).catch((e=>{t.reject(e)})),t}(e):new Uint8Array(e),t},g=async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Or(r,"headers");vn(n)||(n={});let s=Or(r,"dataType","");"blob"!==s&&"fmd"!==s&&"json"!==s&&(s="blob");let c=Or(r,"cbProgress");En(c)||(c=()=>{});let u=Or(r,"retry");Vn(u)||(u=1);let l=h(e),d=mn(),g=null,b={};if("blob"===s)b={"Content-Type":"application/octet-stream"},g=t;else if("fmd"===s){let e;if("browser"===f)e=new FormData;else{if(!En(r.FormData))throw p("error","invalid opt.FormData, need [npm i form-data] and [import FormData from 'form-data'] to set opt.FormData = FormData"),new Error("invalid opt.FormData");e=new r.FormData({maxDataSize:1099511627776})}e.append("bb",t),"nodejs"===f&&(b={"Content-Type":`multipart/form-data; boundary=${e.getBoundary()}`}),g=e}else"json"===s&&(b={"Content-Type":"application/json"},g=JSON.stringify(t));let m=null;m="nodejs"===f?"download"===e?"stream":"arraybuffer":"blob";let v=o();Qn(v)&&(v=await v);let w={method:"POST",url:l,data:g,headers:{Authorization:`${i} ${v}`,...b,...n},timeout:a,maxContentLength:1/0,maxBodyLength:1/0,responseType:m,onUploadProgress:function(e){let t=0,r=e.loaded,n=e.total;Jn(n)&&(t=100*r/n),c({prog:Math.floor(t),p:r,m:"upload"})},onDownloadProgress:function(e){let t=0,r=e.loaded,n=e.total;Jn(n)&&(t=100*r/n),c({prog:Math.floor(t),p:r,m:"download"})}},j=async()=>{let t=await pt(w);if("download"===e)return await(async e=>{let t=mn(),n=Or(e,"headers['return-type']",""),o=Or(e,"headers['return-msg']","");if("error"===n)return t.reject(o),t;let i=(e=>{let t="unknow";try{let r=/filename="(.+?)"/.exec(e);t=r?r[1]:"unknown"}catch(e){}return t})(Or(e,"headers['content-disposition']",""));i=ao(i);let s=Or(e,"data");if("browser"===f)t.resolve({filename:i,bb:s});else try{let e="path",n="fs",o=await import(e),a=await import(n),c=Or(r,"fdDownload","");a.mkdirSync(c,{recursive:!0});let u=o.resolve(c,i),l=a.createWriteStream(u);s.pipe(l),l.on("finish",(()=>{t.resolve(u)})),l.on("error",(e=>{t.reject(e)}))}catch(e){t.reject(e)}return t})(t);let n=Or(t,"data"),o=pi(await y(n));return Kn(o)?An(o,"success")?Promise.resolve(o.success):An(o,"error")?(p("error",o.error),Promise.reject(o.error)):(p("error","data does not contain success or error"),Promise.reject("data does not contain success or error")):(p("error","data is not an effective object"),Promise.reject("data is not an effective object"))};return await(async()=>{let e=function(e){if(!En(e))throw new Error("fn is not a function");return function(){let t=mn(),r=null,n=null;try{r=e.apply(this,arguments)}catch(e){n=e}return null!==n?t.resolve({state:"error",msg:n}):Qn(r)?r.then((e=>{t.resolve({state:"success",msg:e})})).catch((e=>{"cancelled"===Or(e,"reason")?t.resolve({state:"cancelled",msg:""}):t.resolve({state:"error",msg:e})})):t.resolve({state:"success",msg:r}),t}}(j),t=await e(w),r=Math.pow(180,1/9),n=0;for(;"error"===t.state&&(n+=1,!(n>u));){let o=Math.round(1e3*Math.pow(r,n-1));console.log(`wait ${Zn(o/1e3,1)}(second) to retry...`),await hi(o),console.log(`retry n=${n}...`),t=await e(w)}return"success"===t.state?t.msg:Promise.reject(t.msg)})().then((e=>{d.resolve(e)})).catch((async e=>{let t=null,r=Or(e,"response.statusText")||Or(e,"message"),n=Or(e,"response.data")||Or(e,"stack");if(r)t=r;else if(n)t=n;else{try{e=e.toJSON()}catch(n){}p("error",e),t="Can not connect to server."}"Network Error"===t&&(t="Network Error. Make sure your space of hard drive is large enough or blocking by browser plugins."),d.reject(t)})),d},b=async(e,t,r)=>{let n=null;try{n=(e=>{let t;return t="browser"===f?new Blob([e.buffer]):Buffer.from(e),t})(ci(t))}catch(e){return Promise.reject(e)}return await g(e,n,{dataType:"blob",retry:c,cbProgress:r})},m=async e=>{let t=null;return t="browser"===f?e:new Blob([e]),await gi(t)};return d.execute=async(e,t,r)=>{let n={func:e,input:t},o="",i=null;return await b("basic",n,r).then((e=>jn(e)?(o="error",void(i=e)):Kn(e)?An(e,"output")?(o="success",void(i=e.output)):(console.log("invalid msg.output",e),o="error",void(i="invalid msg.output")):(console.log("msg is not an effective object",e),o="error",void(i="msg is not an effective object")))).catch((e=>{o="error",i=e})),""===o?(p("error","invalid state"),Promise.reject("invalid state")):"error"===o?Promise.reject(i):i},d.upload=(e,t,r)=>(async(e,t,r)=>{let n=0;if(0===n)try{n=t.size,n=Wn(n)}catch(e){}if(0===n)try{n=t.length,n=Wn(n)}catch(e){}0===n&&(n=1);let o=n,i=Math.ceil(o/s),a=0,c=()=>{a++;let e=a/i;r({prog:.99*e*100,p:e*o,m:"upload"})},l=e=>{let t=e.prog;"download"===e.m&&100===t&&r({prog:100,p:o,m:"upload"})},f=await m(t),d=await g("upload-controller",{mode:"check-total-hash",fileHash:f,filename:e,fileSize:o},{dataType:"json",retry:u});if(d.bAllHash)return l({prog:100,m:"download"}),d.msg;if(d.bSls){let e=[];for(let r=0;r<pn(d.slks);r++){let n=d.slks[r],i=n*s,a=Math.min(i+s,o),c=t.slice(i,a),u=await m(c);e.push({i:n,h:u})}let r=await g("upload-controller",{mode:"check-slices-hash",fileHash:f,fileSliceHashs:e},{dataType:"json",retry:u});d.slks=r.slks}let p=f;for(let e=0;e<i;e++){if(d.slks.indexOf(e)>=0){c();continue}let r=e*s,n=Math.min(r+s,o),a=t.slice(r,n),l={"chunk-index":e,"chunk-total":i,"package-id":p};await g("slice",a,{headers:l,dataType:"blob",cbProgress:e=>{},retry:u}),c()}let h=await g("upload-controller",{mode:"merge-slices-push",fileHash:f,chunkTotal:i},{dataType:"json",retry:u}),y=await(()=>{let t=mn(),r=h.queueId,n=setInterval((()=>{g("upload-controller",{mode:"merge-slices-get",fileHash:f,filename:e,queueId:r},{dataType:"json",retry:u}).then((e=>{"success"===e.state?(clearInterval(n),l({prog:100,m:"download"}),t.resolve(e.msg)):"error"===e.state&&(console.log("merge-slices-get error",e),clearInterval(n),t.resolve(e.msg))})).catch((e=>{console.log("merge-slices-get catch",e)}))}),2e3);return t})();return y})(e,t,r),d.download=async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"browser"===f?async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Or(r,"downloadByManager");if(Gn(n)||(n=!0),n){let t=o();Qn(t)&&(t=await t);let r={fileId:e},n=Or(await g("download-get-filename",r,{dataType:"json",retry:l}),"filename",""),i=`${h("download-get")}?fileId=${e}&token=${t}`,s=document.createElement("a");return s.href=i,s.download=n,s.click(),n}{let n={fileId:e};return await g("download",n,{...r,dataType:"json",retry:l,cbProgress:t})}}(e,t,r):async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={fileId:e};return await g("download",n,{...r,dataType:"json",retry:l,cbProgress:t})}(e,t,r)},d}}));
|
|
6
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self)["w-converhp-client"]=t()}(this,(function(){"use strict";function e(e,t){return function(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype,{getPrototypeOf:n}=Object,{iterator:r,toStringTag:o}=Symbol,i=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),s=(e,t)=>{let r=e;const o=[];for(;null!=r&&r!==Object.prototype;){if(-1!==o.indexOf(r))return!1;if(o.push(r),i(r,t))return!0;r=n(r)}return!1},a=(c=Object.create(null),e=>{const n=t.call(e);return c[n]||(c[n]=n.slice(8,-1).toLowerCase())});var c;const u=e=>(e=e.toLowerCase(),t=>a(t)===e),l=e=>t=>typeof t===e,{isArray:f}=Array,d=l("undefined");function p(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const h=u("ArrayBuffer");const y=l("string"),g=l("function"),b=l("number"),m=e=>null!==e&&"object"==typeof e,w=e=>{if(!m(e))return!1;const t=n(e);return!(null!==t&&t!==Object.prototype&&null!==n(t)||s(e,o)||s(e,r))},v=u("Date"),O=u("File"),_=u("Blob"),E=u("FileList");const j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},S=void 0!==j.FormData?j.FormData:void 0,A=u("URLSearchParams"),[R,x,T,P]=["ReadableStream","Request","Response","Headers"].map(u);function C(e,t){let n,r,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!=e)if("object"!=typeof e&&(e=[e]),f(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{if(p(e))return;const r=o?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let s;for(n=0;n<i;n++)s=r[n],t.call(null,e[s],s,e)}}function U(e,t){if(p(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,B=e=>!d(e)&&e!==N;const D=(L="undefined"!=typeof Uint8Array&&n(Uint8Array),e=>L&&e instanceof L);var L;const F=u("HTMLFormElement"),{propertyIsEnumerable:k}=Object.prototype,M=u("RegExp"),I=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};C(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)};const z=u("AsyncFunction"),q=($="function"==typeof setImmediate,H=g(N.postMessage),$?setImmediate:H?(W=`axios@${Math.random()}`,J=[],N.addEventListener("message",(e=>{let{source:t,data:n}=e;t===N&&n===W&&J.length&&J.shift()()}),!1),e=>{J.push(e),N.postMessage(W,"*")}):e=>setTimeout(e));var $,H,W,J;const V="undefined"!=typeof queueMicrotask?queueMicrotask.bind(N):"undefined"!=typeof process&&process.nextTick||q,K=e=>null!=e&&g(e[r]);var X={isArray:f,isArrayBuffer:h,isBuffer:p,isFormData:e=>{if(!e)return!1;if(S&&e instanceof S)return!0;const t=n(e);if(!t||t===Object.prototype)return!1;if(!g(e.append))return!1;const r=a(e);return"formdata"===r||"object"===r&&g(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:y,isNumber:b,isBoolean:e=>!0===e||!1===e,isObject:m,isPlainObject:w,isEmptyObject:e=>{if(!m(e)||p(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:R,isRequest:x,isResponse:T,isHeaders:P,isUndefined:d,isDate:v,isFile:O,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:_,isRegExp:M,isFunction:g,isStream:e=>m(e)&&g(e.pipe),isURLSearchParams:A,isTypedArray:D,isFileList:E,forEach:C,merge:function e(){const{caseless:t,skipUndefined:n}=B(this)&&this||{},r={},o=(o,s)=>{if("__proto__"===s||"constructor"===s||"prototype"===s)return;const a=t&&"string"==typeof s&&U(r,s)||s,c=i(r,a)?r[a]:void 0;w(c)&&w(o)?r[a]=e(c,o):w(o)?r[a]=e({},o):f(o)?r[a]=o.slice():n&&d(o)||(r[a]=o)};for(let e=0,t=arguments.length;e<t;e++){const t=e<0||arguments.length<=e?void 0:arguments[e];if(!t||p(t))continue;if(C(t,o),"object"!=typeof t||f(t))continue;const n=Object.getOwnPropertySymbols(t);for(let e=0;e<n.length;e++){const r=n[e];k.call(t,r)&&o(t[r],r)}}return r},extend:function(t,n,r){let{allOwnKeys:o}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return C(n,((n,o)=>{r&&g(n)?Object.defineProperty(t,o,{__proto__:null,value:e(n,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,o,{__proto__:null,value:n,writable:!0,enumerable:!0,configurable:!0})}),{allOwnKeys:o}),t},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(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)},toFlatObject:(e,t,r,o)=>{let i,s,a;const c={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],o&&!o(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==r&&n(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(f(e))return e;let t=e.length;if(!b(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[r]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:F,hasOwnProperty:i,hasOwnProp:i,hasOwnInPrototypeChain:s,getSafeProp:(e,t)=>null!=e&&s(e,t)?e[t]:void 0,reduceDescriptors:I,freezeMethods:e=>{I(e,((t,n)=>{if(g(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];g(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:U,global:N,isContextDefined:B,isSpecCompliantForm:function(e){return!!(e&&g(e.append)&&"FormData"===e[o]&&e[r])},toJSONObject:e=>{const t=new WeakSet,n=e=>{if(m(e)){if(t.has(e))return;if(p(e))return e;if(!("toJSON"in e)){t.add(e);const r=f(e)?[]:{};return C(e,((e,t)=>{const o=n(e);!d(o)&&(r[t]=o)})),t.delete(e),r}}return e};return n(e)},isAsyncFn:z,isThenable:e=>e&&(m(e)||g(e))&&g(e.then)&&g(e.catch),setImmediate:q,asap:V,isIterable:K,isSafeIterable:e=>null!=e&&s(e,r)&&K(e)};const G=X.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"]);const Q=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Z=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Y(e,t){return X.isArray(e)?e.map((e=>Y(e,t))):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function ee(e){const t=Object.create(null);return X.forEach(e.toJSON(),((e,n)=>{t[n]=(e=>Y(e,Z))(e)})),t}const te=Symbol("internals");function ne(e){return e&&String(e).trim().toLowerCase()}function re(e){return!1===e||null==e?e:X.isArray(e)?e.map(re):(e=>Y(e,Q))(String(e))}function oe(e,t,n,r,o){return X.isFunction(r)?r.call(this,t,n):(o&&(t=n),X.isString(t)?X.isString(r)?-1!==t.indexOf(r):X.isRegExp(r)?r.test(t):void 0:void 0)}class ie{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=ne(t);if(!o)return;const i=X.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=re(e))}const i=(e,t)=>X.forEach(e,((e,n)=>o(e,n,t)));if(X.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(X.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&G[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(X.isObject(e)&&X.isSafeIterable(e)){let n,r,o=Object.create(null);for(const t of e){if(!X.isArray(t))throw new TypeError("Object iterator must return a key-value pair");r=t[0],X.hasOwnProp(o,r)?(n=o[r],o[r]=X.isArray(n)?[...n,t[1]]:[n,t[1]]):o[r]=t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=ne(e)){const n=X.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(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}(e);if(X.isFunction(t))return t.call(this,e,n);if(X.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ne(e)){const n=X.findKey(this,e);return!(!n||void 0===this[n]||t&&!oe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=ne(e)){const o=X.findKey(n,e);!o||t&&!oe(0,n[o],o,t)||(delete n[o],r=!0)}}return X.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!oe(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return X.forEach(this,((r,o)=>{const i=X.findKey(n,o);if(i)return t[i]=re(r),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete t[o],t[s]=re(r),n[s]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return X.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&X.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[te]=this[te]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ne(e);t[r]||(!function(e,t){const n=X.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return X.isArray(e)?e.forEach(r):r(e),this}}ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(ie.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),X.freezeMethods(ie);var se=ie;function ae(e,t){const n=new Set(t.map((e=>String(e).toLowerCase()))),r=[],o=e=>{if(null===e||"object"!=typeof e)return e;if(X.isBuffer(e))return e;if(-1!==r.indexOf(e))return;let t;if(e instanceof se&&(e=e.toJSON()),r.push(e),X.isArray(e))t=[],e.forEach(((e,n)=>{const r=o(e);X.isUndefined(r)||(t[n]=r)}));else{if(!X.isPlainObject(e)&&function(e){if(X.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(X.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return r.pop(),e;t=Object.create(null);for(const[r,i]of Object.entries(e)){const e=n.has(r.toLowerCase())?"[REDACTED ****]":o(i);X.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return o(e)}class ce extends Error{static from(e,t,n,r,o,i){const s=new ce(e.message,t||e.code,n,r,o);return Object.defineProperty(s,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),s.name=e.name,null!=e.status&&null==s.status&&(s.status=e.status),i&&Object.assign(s,i),s}constructor(e,t,n,r,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&X.hasOwnProp(e,"redact")?e.redact:void 0,n=X.isArray(t)&&t.length>0?ae(e,t):X.toJSONObject(e);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:n,code:this.code,status:this.status}}}ce.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ce.ERR_BAD_OPTION="ERR_BAD_OPTION",ce.ECONNABORTED="ECONNABORTED",ce.ETIMEDOUT="ETIMEDOUT",ce.ECONNREFUSED="ECONNREFUSED",ce.ERR_NETWORK="ERR_NETWORK",ce.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ce.ERR_DEPRECATED="ERR_DEPRECATED",ce.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ce.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ce.ERR_CANCELED="ERR_CANCELED",ce.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ce.ERR_INVALID_URL="ERR_INVALID_URL",ce.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var ue=ce;const le=100;function fe(e){return X.isPlainObject(e)||X.isArray(e)}function de(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function pe(e,t,n){return e?e.concat(t).map((function(e,t){return e=de(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const he=X.toFlatObject(X,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ye(e,t,n){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!X.isUndefined(t[e])}))).metaTokens,o=n.visitor||p,i=n.dots,s=n.indexes,a=n.Blob||"undefined"!=typeof Blob&&Blob,c=void 0===n.maxDepth?le:n.maxDepth,u=a&&X.isSpecCompliantForm(t),l=[];if(!X.isFunction(o))throw new TypeError("visitor must be a function");function f(e){if(null===e)return"";if(X.isDate(e))return e.toISOString();if(X.isBoolean(e))return e.toString();if(!u&&X.isBlob(e))throw new ue("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(e)||X.isTypedArray(e)){if(u&&"function"==typeof a)return new a([e]);if("undefined"!=typeof Buffer)return Buffer.from(e);throw new ue("Blob is not supported. Use a Buffer instead.",ue.ERR_NOT_SUPPORT)}return e}function d(e){if(e>c)throw new ue("Object is too deeply nested ("+e+" levels). Max depth: "+c,ue.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,n,o){let a=e;if(X.isReactNative(t)&&X.isReactNativeBlob(e))return t.append(pe(o,n,i),f(e)),!1;if(e&&!o&&"object"==typeof e)if(X.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=function(e,t){if(c===1/0)return JSON.stringify(e);const n=[];return JSON.stringify(e,(function(e,r){if(!X.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),d(t+n.length-1),r}))}(e,1);else if(X.isArray(e)&&function(e){return X.isArray(e)&&!e.some(fe)}(e)||(X.isFileList(e)||X.endsWith(n,"[]"))&&(a=X.toArray(e)))return n=de(n),a.forEach((function(e,r){!X.isUndefined(e)&&null!==e&&t.append(!0===s?pe([n],r,i):null===s?n:n+"[]",f(e))})),!1;return!!fe(e)||(t.append(pe(o,n,i),f(e)),!1)}const h=Object.assign(he,{defaultVisitor:p,convertValue:f,isVisitable:fe});if(!X.isObject(e))throw new TypeError("data must be an object");return function e(n,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!X.isUndefined(n)){if(d(i),-1!==l.indexOf(n))throw new Error("Circular reference detected in "+r.join("."));l.push(n),X.forEach(n,(function(n,s){!0===(!(X.isUndefined(n)||null===n)&&o.call(t,n,X.isString(s)?s.trim():s,r,h))&&e(n,r?r.concat(s):[s],i+1)})),l.pop()}}(e),t}function ge(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function(e){return t[e]}))}function be(e,t){this._pairs=[],e&&ye(e,this,t)}const me=be.prototype;function we(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ve(e,t,n){if(!t)return e;e=e||"";const r=X.isFunction(n)?{serialize:n}:n,o=X.getSafeProp(r,"encode")||we,i=X.getSafeProp(r,"serialize");let s;if(s=i?i(t,r):X.isURLSearchParams(t)?t.toString():new be(t,r).toString(o),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}me.append=function(e,t){this._pairs.push([e,t])},me.toString=function(e){const t=e?t=>e.call(this,t,ge):ge;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Oe=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,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){X.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},_e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Ee={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:be,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const je="undefined"!=typeof window&&"undefined"!=typeof document,Se="object"==typeof navigator&&navigator||void 0,Ae=je&&(!Se||["ReactNative","NativeScript","NS"].indexOf(Se.product)<0),Re="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,xe=je&&window.location.href||"http://localhost";var Te={...Object.freeze({__proto__:null,hasBrowserEnv:je,hasStandardBrowserEnv:Ae,hasStandardBrowserWebWorkerEnv:Re,navigator:Se,origin:xe}),...Ee};const Pe=le;function Ce(e){if(e>Pe)throw new ue("FormData field is too deeply nested ("+e+" levels). Max depth: "+Pe,ue.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Ue(e){function t(e,n,r,o){Ce(o);let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;if(i=!i&&X.isArray(r)?r.length:i,a)return X.hasOwnProp(r,i)?r[i]=X.isArray(r[i])?r[i].concat(n):[r[i],n]:r[i]=n,!s;X.hasOwnProp(r,i)&&X.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&X.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!s}if(X.isFormData(e)&&X.isFunction(e.entries)){const n={};return X.forEachEntry(e,((e,r)=>{t(function(e){const t=[],n=/\w+|\[(\w*)]/g;let r;for(;null!==(r=n.exec(e));)Ce(t.length),t.push("[]"===r[0]?"":r[1]||r[0]);return t}(e),r,n,0)})),n}return null}const Ne=(e,t)=>null!=e&&X.hasOwnProp(e,t)?e[t]:void 0;const Be={transitional:_e,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=X.isObject(e);o&&X.isHTMLForm(e)&&(e=new FormData(e));if(X.isFormData(e))return r?JSON.stringify(Ue(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e)||X.isReadableStream(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){const t=Ne(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ye(e,new Te.classes.URLSearchParams,{visitor:function(e,t,n,r){return Te.isNode&&X.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((i=X.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=Ne(this,"env"),r=n&&n.FormData;return ye(i?{"files[]":e}:e,r&&new r,t)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=Ne(this,"transitional")||Be.transitional,n=t&&t.forcedJSONParsing,r=Ne(this,"responseType"),o="json"===r;if(X.isResponse(e)||X.isReadableStream(e))return e;if(e&&X.isString(e)&&(n&&!r||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,Ne(this,"parseReviver"))}catch(e){if(n){if("SyntaxError"===e.name)throw ue.from(e,ue.ERR_BAD_RESPONSE,this,null,Ne(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Te.classes.FormData,Blob:Te.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch","query"],(e=>{Be.headers[e]={}}));var De=Be;function Le(e,t){const n=this||De,r=t||n,o=se.from(r.headers);let i=r.data;return X.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Fe(e){return!(!e||!e.__CANCEL__)}var ke=class extends ue{constructor(e,t,n){super(null==e?"canceled":e,ue.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Me(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ue("Request failed with status code "+n.status,n.status>=400&&n.status<500?ue.ERR_BAD_REQUEST:ue.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}const Ie=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=r[s];o||(o=c),n[i]=a,r[i]=c;let l=s,f=0;for(;l!==i;)f+=n[l++],l%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-o<t)return;const d=u&&c-u;return d?Math.round(1e3*f/d):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const s=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[function(){const e=Date.now(),t=e-o;for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];t>=i?s(c,e):(n=c,r||(r=setTimeout((()=>{r=null,s(n)}),i-t)))},()=>n&&s(n)]}((n=>{if(!n||"number"!=typeof n.loaded)return;const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=null!=s?Math.min(i,s):i,c=Math.max(0,a-r),u=o(c);r=Math.max(r,a);e({loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s?(s-a)/u:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},ze=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},qe=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return X.asap((()=>e(...n)))};var $e=Te.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Te.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Te.origin),Te.navigator&&/(msie|trident)/i.test(Te.navigator.userAgent)):()=>!0,He=Te.hasStandardBrowserEnv?{write(e,t,n,r,o,i,s){if("undefined"==typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];X.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),X.isString(r)&&a.push(`path=${r}`),X.isString(o)&&a.push(`domain=${o}`),!0===i&&a.push("secure"),X.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),o=r.indexOf("=");if(-1!==o&&r.slice(0,o)===e)try{return decodeURIComponent(r.slice(o+1))}catch(e){return r.slice(o+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};const We=/^https?:(?!\/\/)/i,Je=/[\t\n\r]/g;function Ve(e,t){if("string"==typeof e&&We.test(function(e){return function(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}(e).replace(Je,"")}(e)))throw new ue('Invalid URL: missing "//" after protocol',ue.ERR_INVALID_URL,t)}function Ke(e,t,n,r){Ve(t,r);let o=!("string"==typeof(i=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i));var i;return e&&(o||!1===n)?(Ve(e,r),function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t)):t}const Xe=e=>e instanceof se?{...e}:e;function Ge(e,t){e=e||{},t=t||{};const n=Object.create(null);function r(e,t,n,r){return X.isPlainObject(e)&&X.isPlainObject(t)?X.merge.call({caseless:r},e,t):X.isPlainObject(t)?X.merge({},t):X.isArray(t)?t.slice():t}function o(e,t,n,o){return X.isUndefined(t)?X.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!X.isUndefined(t))return r(void 0,t)}function s(e,t){return X.isUndefined(t)?X.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return X.hasOwnProp(t,i)?r(n,o):X.hasOwnProp(e,i)?r(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken: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,allowedSocketPaths:s,responseEncoding:s,validateStatus:a,headers:(e,t,n)=>o(Xe(e),Xe(t),0,!0)};return X.forEach(Object.keys({...e,...t}),(function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const i=X.hasOwnProp(c,r)?c[r]:o,s=i(X.hasOwnProp(e,r)?e[r]:void 0,X.hasOwnProp(t,r)?t[r]:void 0,r);X.isUndefined(s)&&i!==a||(n[r]=s)})),X.hasOwnProp(t,"validateStatus")&&X.isUndefined(t.validateStatus)&&!1===function(n){const r=X.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!X.isUndefined(r)){if(!X.isPlainObject(r))return;if(X.hasOwnProp(r,n))return r[n]}const o=X.hasOwnProp(e,"transitional")?e.transitional:void 0;if(X.isPlainObject(o)&&X.hasOwnProp(o,n))return o[n]}("validateStatusUndefinedResolves")&&(X.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const Qe=["content-type","content-length"];function Ze(e){const t=Ge({},e),n=e=>X.hasOwnProp(t,e)?t[e]:void 0,r=n("data");let o=n("withXSRFToken");const i=n("xsrfHeaderName"),s=n("xsrfCookieName");let a=n("headers");const c=n("auth"),u=n("baseURL"),l=n("allowAbsoluteUrls"),f=n("url");if(t.headers=a=se.from(a),t.url=ve(Ke(u,f,l,t),n("params"),n("paramsSerializer")),c){const t=X.getSafeProp(c,"username")||"",n=X.getSafeProp(c,"password")||"";try{a.set("Authorization","Basic "+btoa(t+":"+(n?encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,((e,t)=>String.fromCharCode(parseInt(t,16)))):"")))}catch(t){throw ue.from(t,ue.ERR_BAD_OPTION_VALUE,e)}}if(X.isFormData(r)&&(Te.hasStandardBrowserEnv||Te.hasStandardBrowserWebWorkerEnv||X.isReactNative(r)?a.setContentType(void 0):X.isFunction(r.getHeaders)&&function(e,t,n){"content-only"===n?Object.entries(t||{}).forEach((t=>{let[n,r]=t;Qe.includes(n.toLowerCase())&&e.set(n,r)})):e.set(t)}(a,r.getHeaders(),n("formDataHeaderPolicy"))),Te.hasStandardBrowserEnv){X.isFunction(o)&&(o=o(t));if(!0===o||null==o&&$e(t.url)){const e=i&&s&&He.read(s);e&&a.set(i,e)}}return t}var Ye="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Ze(e);let o=r.data;const i=se.from(r.headers).normalize();let s,a,c,u,l,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=r;function h(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let y=new XMLHttpRequest;function g(){if(!y)return;const r=se.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Me((function(e){t(e),h()}),(function(e){n(e),h()}),{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y}),y=null}y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout,"onloadend"in y?y.onloadend=g:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&y.responseURL.startsWith("file:"))&&setTimeout(g)},y.onabort=function(){y&&(n(new ue("Request aborted",ue.ECONNABORTED,e,y)),h(),y=null)},y.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new ue(r,ue.ERR_NETWORK,e,y);o.event=t||null,n(o),h(),y=null},y.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||_e;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ue(t,o.clarifyTimeoutError?ue.ETIMEDOUT:ue.ECONNABORTED,e,y)),h(),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&X.forEach(ee(i),(function(e,t){y.setRequestHeader(t,e)})),X.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),f&&"json"!==f&&(y.responseType=r.responseType),p&&([c,l]=Ie(p,!0),y.addEventListener("progress",c)),d&&y.upload&&([a,u]=Ie(d),y.upload.addEventListener("progress",a),y.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(s=t=>{y&&(n(!t||t.type?new ke(null,e,y):t),y.abort(),h(),y=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const b=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(r.url);if(b&&!Te.protocols.includes(b))return n(new ue("Unsupported protocol "+b+":",ue.ERR_BAD_REQUEST,e)),void h();y.send(o||null)}))};var et=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(e){if(!r){r=!0,s();const t=e instanceof Error?e:this.reason;n.abort(t instanceof ue?t:new ke(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new ue(`timeout of ${t}ms exceeded`,ue.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o,{once:!0})));const{signal:a}=n;return a.unsubscribe=()=>X.asap(s),a};const tt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},nt=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},rt=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of nt(e))yield*tt(n,t)}(e,t);let i,s=0,a=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},ot=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,it=(e,t,n)=>t+2<n&&ot(e.charCodeAt(t+1))&&ot(e.charCodeAt(t+2));const st="1.18.1",{isFunction:at}=X,ct=e=>{if(!X.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},ut=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!e(...n)}catch(e){return!1}},lt=e=>{const t=void 0!==X.global&&null!==X.global?X.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=X.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:i,Response:s}=e,a=o?at(o):"function"==typeof fetch,c=at(i),u=at(s);if(!a)return!1;const l=a&&at(n),f=a&&("function"==typeof r?(d=new r,e=>d.encode(e)):async e=>new Uint8Array(await new i(e).arrayBuffer()));var d;const p=c&&l&&ut((()=>{let e=!1;const t=new i(Te.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r})),h=u&&l&&ut((()=>X.isReadableStream(new s("").body))),y={stream:h&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!y[e]&&(y[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new ue(`Response type '${e}' is not supported`,ue.ERR_NOT_SUPPORT,n)})}));const g=async e=>{if(null==e)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e)){const t=new i(Te.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return X.isArrayBufferView(e)||X.isArrayBuffer(e)?e.byteLength:(X.isURLSearchParams(e)&&(e+=""),X.isString(e)?(await f(e)).byteLength:void 0)};return async e=>{let{url:t,method:n,data:a,signal:u,cancelToken:f,timeout:d,onDownloadProgress:b,onUploadProgress:m,responseType:w,headers:v,withCredentials:O="same-origin",fetchOptions:_,maxContentLength:E,maxBodyLength:j}=Ze(e);const S=X.isNumber(E)&&E>-1,A=X.isNumber(j)&&j>-1;let R=o||fetch;w=w?(w+"").toLowerCase():"text";let x=et([u,f&&f.toAbortSignal()],d),T=null;const P=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let C,U=null;const N=()=>new ue("Request body larger than maxBodyLength limit",ue.ERR_BAD_REQUEST,e,T);try{let o;const u=(D="auth",X.hasOwnProp(e,D)?e[D]:void 0);if(u){const e=X.getSafeProp(u,"username")||"";o={username:e,password:X.getSafeProp(u,"password")||""}}if((e=>{const t=e.indexOf("://");let n=e;return-1!==t&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")})(t)){const e=new URL(t,Te.origin);if(!o&&(e.username||e.password)){const t=ct(e.username);o={username:t,password:ct(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(o&&(v.delete("authorization"),v.set("Authorization","Basic "+btoa((B=(o.username||"")+":"+(o.password||""),encodeURIComponent(B).replace(/%([0-9A-F]{2})/gi,((e,t)=>String.fromCharCode(parseInt(t,16)))))))),S&&"string"==typeof t&&t.startsWith("data:")){const n=function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length;const t=r.length;for(let n=0;n<t;n++)if(37===r.charCodeAt(n)&&n+2<t){const t=r.charCodeAt(n+1),o=r.charCodeAt(n+2);ot(t)&&ot(o)&&(e-=2,n+=2)}let n=0,o=t-1;const i=e=>e>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));o>=0&&(61===r.charCodeAt(o)?(n++,o--):i(o)&&(n++,o-=3)),1===n&&o>=0&&(61===r.charCodeAt(o)||i(o))&&n++;const s=3*Math.floor(e/4)-(n||0);return s>0?s:0}let o=0;for(let e=0,t=r.length;e<t;e++){const n=r.charCodeAt(e);if(37===n&&it(r,e,t))o+=1,e+=2;else if(n<128)o+=1;else if(n<2048)o+=2;else if(n>=55296&&n<=56319&&e+1<t){const t=r.charCodeAt(e+1);t>=56320&&t<=57343?(o+=4,e++):o+=3}else o+=3}return o}(t);if(n>E)throw new ue("maxContentLength size of "+E+" exceeded",ue.ERR_BAD_RESPONSE,e,T)}if(A&&"get"!==n&&"head"!==n){const e=await g(a);if("number"==typeof e&&isFinite(e)&&(C=e,e>j))throw N()}const f=A&&(X.isReadableStream(a)||X.isStream(a)),d=(e,t,n)=>rt(e,65536,(e=>{if(A&&e>j)throw U=N();t&&t(e)}),n);if(p&&"get"!==n&&"head"!==n&&(m||f)){if(C=null==C?await(async(e,t)=>{const n=X.toFiniteNumber(e.getContentLength());return null==n?g(t):n})(v,a):C,0!==C||f){let e,n=new i(t,{method:"POST",body:a,duplex:"half"});if(X.isFormData(a)&&(e=n.headers.get("content-type"))&&v.setContentType(e),n.body){const[e,t]=m&&ze(C,Ie(qe(m)))||[];a=d(n.body,e,t)}}}else if(f&&!c&&l&&"get"!==n&&"head"!==n)a=d(a);else if(f&&c&&!p&&"get"!==n&&"head"!==n)throw new ue("Stream request bodies are not supported by the current fetch implementation",ue.ERR_NOT_SUPPORT,e,T);X.isString(O)||(O=O?"include":"omit");const L=c&&"credentials"in i.prototype;if(X.isFormData(a)){const e=v.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&v.delete("content-type")}v.set("User-Agent","axios/"+st,!1);const F={..._,signal:x,method:n.toUpperCase(),headers:ee(v.normalize()),body:a,duplex:"half",credentials:L?O:void 0};T=c&&new i(t,F);let k=await(c?R(T,_):R(t,F));const M=se.from(k.headers);if(S){const t=X.toFiniteNumber(M.getContentLength());if(null!=t&&t>E)throw new ue("maxContentLength size of "+E+" exceeded",ue.ERR_BAD_RESPONSE,e,T)}const I=h&&("stream"===w||"response"===w);if(h&&k.body&&(b||S||I&&P)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=k[e]}));const n=X.toFiniteNumber(M.getContentLength()),[r,o]=b&&ze(n,Ie(qe(b),!0))||[];let i=0;const a=t=>{if(S&&(i=t,i>E))throw new ue("maxContentLength size of "+E+" exceeded",ue.ERR_BAD_RESPONSE,e,T);r&&r(t)};k=new s(rt(k.body,65536,a,(()=>{o&&o(),P&&P()})),t)}w=w||"text";let z=await y[X.findKey(y,w)||"text"](k,e);if(S&&!h&&!I){let t;if(null!=z&&("number"==typeof z.byteLength?t=z.byteLength:"number"==typeof z.size?t=z.size:"string"==typeof z&&(t="function"==typeof r?(new r).encode(z).byteLength:z.length)),"number"==typeof t&&t>E)throw new ue("maxContentLength size of "+E+" exceeded",ue.ERR_BAD_RESPONSE,e,T)}return!I&&P&&P(),await new Promise(((t,n)=>{Me(t,n,{data:z,headers:se.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:T})}))}catch(t){if(P&&P(),x&&x.aborted&&x.reason instanceof ue){const n=x.reason;throw n.config=e,T&&(n.request=T),t!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),n}if(U)throw T&&!U.request&&(U.request=T),U;if(t instanceof ue)throw T&&!t.request&&(t.request=T),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){const n=new ue("Network Error",ue.ERR_NETWORK,e,T,t&&t.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),n}throw ue.from(t,t&&t.code,e,T,t&&t.response)}var B,D}},ft=new Map,dt=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let s,a,c=i.length,u=ft;for(;c--;)s=i[c],a=u.get(s),void 0===a&&u.set(s,a=c?new Map:lt(t)),u=a;return a};dt();const pt={http:null,xhr:Ye,fetch:{get:dt}};X.forEach(pt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}}));const ht=e=>`- ${e}`,yt=e=>X.isFunction(e)||null===e||!1===e;var gt={getAdapter:function(e,t){e=X.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let s=0;s<n;s++){let n;if(r=e[s],o=r,!yt(r)&&(o=pt[(n=String(r)).toLowerCase()],void 0===o))throw new ue(`Unknown adapter '${n}'`);if(o&&(X.isFunction(o)||(o=o.get(t))))break;i[n||"#"+s]=o}if(!o){const e=Object.entries(i).map((e=>{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")}));let t=n?e.length>1?"since :\n"+e.map(ht).join("\n"):" "+ht(e[0]):"as no adapter specified";throw new ue("There is no suitable adapter to dispatch the request "+t,ue.ERR_NOT_SUPPORT)}return o},adapters:pt};function bt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ke(null,e)}function mt(e){bt(e),e.headers=se.from(e.headers),e.data=Le.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return gt.getAdapter(e.adapter||De.adapter,e)(e).then((function(t){bt(e),e.response=t;try{t.data=Le.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=se.from(t.headers),t}),(function(t){if(!Fe(t)&&(bt(e),t&&t.response)){e.response=t.response;try{t.response.data=Le.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=se.from(t.response.headers)}return Promise.reject(t)}))}const wt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{wt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const vt={};wt.transitional=function(e,t,n){function r(e,t){return"[Axios v"+st+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new ue(r(o," has been removed"+(t?" in "+t:"")),ue.ERR_DEPRECATED);return t&&!vt[o]&&(vt[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},wt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Ot={assertOptions:function(e,t,n){if("object"!=typeof e||null===e)throw new ue("options must be an object",ue.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new ue("option "+i+" must be "+n,ue.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ue("Unknown option "+i,ue.ERR_BAD_OPTION)}},validators:wt};const _t=Ot.validators;class Et{constructor(e){this.defaults=e||{},this.interceptors={request:new Oe,response:new Oe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),o=-1===r?"":n.slice(r+1);String(e.stack).endsWith(o)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ge(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ot.assertOptions(n,{silentJSONParsing:_t.transitional(_t.boolean),forcedJSONParsing:_t.transitional(_t.boolean),clarifyTimeoutError:_t.transitional(_t.boolean),legacyInterceptorReqResOrdering:_t.transitional(_t.boolean),advertiseZstdAcceptEncoding:_t.transitional(_t.boolean),validateStatusUndefinedResolves:_t.transitional(_t.boolean)},!1),null!=r&&(X.isFunction(r)?t.paramsSerializer={serialize:r}:Ot.assertOptions(r,{encode:_t.function,serialize:_t.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ot.assertOptions(t,{baseUrl:_t.spelling("baseURL"),withXsrfToken:_t.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&X.merge(o.common,o[t.method]);o&&X.forEach(["delete","get","head","post","put","patch","query","common"],(e=>{delete o[e]})),t.headers=se.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;a=a&&e.synchronous;const n=t.transitional||_e;n&&n.legacyInterceptorReqResOrdering?s.unshift(e.fulfilled,e.rejected):s.push(e.fulfilled,e.rejected)}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,f=0;if(!a){const e=[mt.bind(this),void 0];for(e.unshift(...s),e.push(...c),l=e.length,u=Promise.resolve(t);f<l;)u=u.then(e[f++],e[f++]);return u}l=s.length;let d=t;for(;f<l;){const e=s[f++],t=s[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=mt.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(e){return ve(Ke((e=Ge(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}X.forEach(["delete","get","head","options"],(function(e){Et.prototype[e]=function(t,n){return this.request(Ge(n||{},{method:e,url:t,data:n&&X.hasOwnProp(n,"data")?n.data:void 0}))}})),X.forEach(["post","put","patch","query"],(function(e){function t(t){return function(n,r,o){return this.request(Ge(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Et.prototype[e]=t(),"query"!==e&&(Et.prototype[e+"Form"]=t(!0))}));var jt=Et;class St{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new ke(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new St((function(t){e=t})),cancel:e}}}var At=St;const Rt={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Rt).forEach((e=>{let[t,n]=e;Rt[n]=t}));var xt=Rt;const Tt=function t(n){const r=new jt(n),o=e(jt.prototype.request,r);return X.extend(o,jt.prototype,r,{allOwnKeys:!0}),X.extend(o,r,null,{allOwnKeys:!0}),o.create=function(e){return t(Ge(n,e))},o}(De);Tt.Axios=jt,Tt.CanceledError=ke,Tt.CancelToken=At,Tt.isCancel=Fe,Tt.VERSION=st,Tt.toFormData=ye,Tt.AxiosError=ue,Tt.Cancel=Tt.CanceledError,Tt.all=function(e){return Promise.all(e)},Tt.spread=function(e){return function(t){return e.apply(null,t)}},Tt.isAxiosError=function(e){return X.isObject(e)&&!0===e.isAxiosError},Tt.mergeConfig=Ge,Tt.AxiosHeaders=se,Tt.formToJSON=e=>Ue(X.isHTMLForm(e)?new FormData(e):e),Tt.getAdapter=gt.getAdapter,Tt.HttpStatusCode=xt,Tt.default=Tt;var Pt=Tt,Ct=Array.isArray,Ut="object"==typeof global&&global&&global.Object===Object&&global,Nt="object"==typeof self&&self&&self.Object===Object&&self,Bt=Ut||Nt||Function("return this")(),Dt=Bt.Symbol,Lt=Object.prototype,Ft=Lt.hasOwnProperty,kt=Lt.toString,Mt=Dt?Dt.toStringTag:void 0;var It=Object.prototype.toString;var zt="[object Null]",qt="[object Undefined]",$t=Dt?Dt.toStringTag:void 0;function Ht(e){return null==e?void 0===e?qt:zt:$t&&$t in Object(e)?function(e){var t=Ft.call(e,Mt),n=e[Mt];try{e[Mt]=void 0;var r=!0}catch(e){}var o=kt.call(e);return r&&(t?e[Mt]=n:delete e[Mt]),o}(e):function(e){return It.call(e)}(e)}function Wt(e){return null!=e&&"object"==typeof e}var Jt="[object Symbol]";function Vt(e){return"symbol"==typeof e||Wt(e)&&Ht(e)==Jt}var Kt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xt=/^\w*$/;function Gt(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Qt="[object AsyncFunction]",Zt="[object Function]",Yt="[object GeneratorFunction]",en="[object Proxy]";function tn(e){if(!Gt(e))return!1;var t=Ht(e);return t==Zt||t==Yt||t==Qt||t==en}var nn,rn=Bt["__core-js_shared__"],on=(nn=/[^.]+$/.exec(rn&&rn.keys&&rn.keys.IE_PROTO||""))?"Symbol(src)_1."+nn:"";var sn=Function.prototype.toString;function an(e){if(null!=e){try{return sn.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var cn=/^\[object .+?Constructor\]$/,un=Function.prototype,ln=Object.prototype,fn=un.toString,dn=ln.hasOwnProperty,pn=RegExp("^"+fn.call(dn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function hn(e){return!(!Gt(e)||(t=e,on&&on in t))&&(tn(e)?pn:cn).test(an(e));var t}function yn(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return hn(n)?n:void 0}var gn=yn(Object,"create");var bn=Object.prototype.hasOwnProperty;var mn=Object.prototype.hasOwnProperty;function wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function vn(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}wn.prototype.clear=function(){this.__data__=gn?gn(null):{},this.size=0},wn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},wn.prototype.get=function(e){var t=this.__data__;if(gn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return bn.call(t,e)?t[e]:void 0},wn.prototype.has=function(e){var t=this.__data__;return gn?void 0!==t[e]:mn.call(t,e)},wn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=gn&&void 0===t?"__lodash_hash_undefined__":t,this};var On=Array.prototype.splice;function _n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}_n.prototype.clear=function(){this.__data__=[],this.size=0},_n.prototype.delete=function(e){var t=this.__data__,n=vn(t,e);return!(n<0)&&(n==t.length-1?t.pop():On.call(t,n,1),--this.size,!0)},_n.prototype.get=function(e){var t=this.__data__,n=vn(t,e);return n<0?void 0:t[n][1]},_n.prototype.has=function(e){return vn(this.__data__,e)>-1},_n.prototype.set=function(e,t){var n=this.__data__,r=vn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var En=yn(Bt,"Map");function jn(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Sn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Sn.prototype.clear=function(){this.size=0,this.__data__={hash:new wn,map:new(En||_n),string:new wn}},Sn.prototype.delete=function(e){var t=jn(this,e).delete(e);return this.size-=t?1:0,t},Sn.prototype.get=function(e){return jn(this,e).get(e)},Sn.prototype.has=function(e){return jn(this,e).has(e)},Sn.prototype.set=function(e,t){var n=jn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var An="Expected a function";function Rn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(An);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(Rn.Cache||Sn),n}Rn.Cache=Sn;var xn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tn=/\\(\\)?/g,Pn=function(e){var t=Rn(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(xn,(function(e,n,r,o){t.push(r?o.replace(Tn,"$1"):n||e)})),t})),Cn=Pn;var Un=1/0,Nn=Dt?Dt.prototype:void 0,Bn=Nn?Nn.toString:void 0;function Dn(e){if("string"==typeof e)return e;if(Ct(e))return function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(e,Dn)+"";if(Vt(e))return Bn?Bn.call(e):"";var t=e+"";return"0"==t&&1/e==-Un?"-0":t}function Ln(e){return null==e?"":Dn(e)}function Fn(e,t){return Ct(e)?e:function(e,t){if(Ct(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Vt(e))||Xt.test(e)||!Kt.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:Cn(Ln(e))}var kn=1/0;function Mn(e){if("string"==typeof e||Vt(e))return e;var t=e+"";return"0"==t&&1/e==-kn?"-0":t}function In(e,t,n){var r=null==e?void 0:function(e,t){for(var n=0,r=(t=Fn(t,e)).length;null!=e&&n<r;)e=e[Mn(t[n++])];return n&&n==r?e:void 0}(e,t);return void 0===r?n:r}var zn=Object.prototype;function qn(e,t){return function(n){return e(t(n))}}var $n=qn(Object.keys,Object),Hn=Object.prototype.hasOwnProperty;function Wn(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||zn))return $n(e);var t,n,r=[];for(var o in Object(e))Hn.call(e,o)&&"constructor"!=o&&r.push(o);return r}var Jn=yn(Bt,"DataView"),Vn=yn(Bt,"Promise"),Kn=yn(Bt,"Set"),Xn=yn(Bt,"WeakMap"),Gn="[object Map]",Qn="[object Promise]",Zn="[object Set]",Yn="[object WeakMap]",er="[object DataView]",tr=an(Jn),nr=an(En),rr=an(Vn),or=an(Kn),ir=an(Xn),sr=Ht;(Jn&&sr(new Jn(new ArrayBuffer(1)))!=er||En&&sr(new En)!=Gn||Vn&&sr(Vn.resolve())!=Qn||Kn&&sr(new Kn)!=Zn||Xn&&sr(new Xn)!=Yn)&&(sr=function(e){var t=Ht(e),n="[object Object]"==t?e.constructor:void 0,r=n?an(n):"";if(r)switch(r){case tr:return er;case nr:return Gn;case rr:return Qn;case or:return Zn;case ir:return Yn}return t});var ar=sr,cr=9007199254740991;function ur(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=cr}function lr(e){return null!=e&&ur(e.length)&&!tn(e)}var fr="[object String]";var dr,pr=(dr="length",function(e){return null==e?void 0:e[dr]}),hr=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var yr="\\ud800-\\udfff",gr="["+yr+"]",br="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",mr="\\ud83c[\\udffb-\\udfff]",wr="[^"+yr+"]",vr="(?:\\ud83c[\\udde6-\\uddff]){2}",Or="[\\ud800-\\udbff][\\udc00-\\udfff]",_r="(?:"+br+"|"+mr+")"+"?",Er="[\\ufe0e\\ufe0f]?",jr=Er+_r+("(?:\\u200d(?:"+[wr,vr,Or].join("|")+")"+Er+_r+")*"),Sr="(?:"+[wr+br+"?",br,vr,Or,gr].join("|")+")",Ar=RegExp(mr+"(?="+mr+")|"+Sr+jr,"g");function Rr(e){return function(e){return hr.test(e)}(e)?function(e){for(var t=Ar.lastIndex=0;Ar.test(e);)++t;return t}(e):pr(e)}var xr="[object Map]",Tr="[object Set]";function Pr(e){if(null==e)return 0;if(lr(e))return"string"==typeof(t=e)||!Ct(t)&&Wt(t)&&Ht(t)==fr?Rr(e):e.length;var t,n=ar(e);return n==xr||n==Tr?e.size:Wn(e).length}function Cr(){return"undefined"!=typeof window&&void 0!==window.document}var Ur="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Nr={};!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,s){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new o(r,i||e,s),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],a]:e._events[c].push(a):(e._events[c]=a,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),a.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},a.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,s=new Array(i);o<i;o++)s[o]=r[o].fn;return s},a.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},a.prototype.emit=function(e,t,r,o,i,s){var a=n?n+e:e;if(!this._events[a])return!1;var c,u,l=this._events[a],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,o),!0;case 5:return l.fn.call(l.context,t,r,o,i),!0;case 6:return l.fn.call(l.context,t,r,o,i,s),!0}for(u=1,c=new Array(f-1);u<f;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var d,p=l.length;for(u=0;u<p;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),f){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,r);break;case 4:l[u].fn.call(l[u].context,t,r,o);break;default:if(!c)for(d=1,c=new Array(f-1);d<f;d++)c[d-1]=arguments[d];l[u].fn.apply(l[u].context,c)}}return!0},a.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},a.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},a.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return s(this,i),this;var a=this._events[i];if(a.fn)a.fn!==t||o&&!a.once||r&&a.context!==r||s(this,i);else{for(var c=0,u=[],l=a.length;c<l;c++)(a[c].fn!==t||o&&!a[c].once||r&&a[c].context!==r)&&u.push(a[c]);u.length?this._events[i]=1===u.length?u[0]:u:s(this,i)}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&s(this,t)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,e.exports=a}({get exports(){return Nr},set exports(e){Nr=e}});var Br=Nr;function Dr(){let e,t,n=new Promise((function(){e=arguments[0],t=arguments[1]}));return n.resolve=e,n.reject=t,n}function Lr(e){return"[object Object]"===Object.prototype.toString.call(e)}function Fr(e){return"[object String]"===Object.prototype.toString.call(e)}function kr(e){return!(!Fr(e)||""===e)}function Mr(e){return e!=e}function Ir(e){let t=!1;if(kr(e))t=!isNaN(Number(e));else if(function(e){return"[object Number]"===Object.prototype.toString.call(e)}(e)){if(Mr(e))return!1;t=!0}return t}function zr(e,t){return!!Lr(e)&&(!(!kr(t)&&!Ir(t))&&t in e)}function qr(e){let t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t}var $r=/\s/;var Hr=/^\s+/;function Wr(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&$r.test(e.charAt(t)););return t}(e)+1).replace(Hr,""):e}var Jr=NaN,Vr=/^[-+]0x[0-9a-f]+$/i,Kr=/^0b[01]+$/i,Xr=/^0o[0-7]+$/i,Gr=parseInt;function Qr(e){if("number"==typeof e)return e;if(Vt(e))return Jr;if(Gt(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Gt(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Wr(e);var n=Kr.test(e);return n||Xr.test(e)?Gr(e.slice(2),n?2:8):Vr.test(e)?Jr:+e}var Zr=1/0,Yr=17976931348623157e292;function eo(e){return e?(e=Qr(e))===Zr||e===-Zr?(e<0?-1:1)*Yr:e==e?e:0:0===e?e:0}function to(e){var t=eo(e),n=t%1;return t==t?n?t-n:t:0}function no(e){if(!Ir(e))return 0;return eo(e)}function ro(e){return!!Ir(e)&&(e=no(e),"number"==typeof(t=e)&&t==to(t));var t}var oo=Bt.isFinite,io=Math.min;var so,ao=(so=Math["round"],function(e,t){if(e=Qr(e),(t=null==t?0:io(to(t),292))&&oo(e)){var n=(Ln(e)+"e").split("e");return+((n=(Ln(so(n[0]+"e"+(+n[1]+t)))+"e").split("e"))[0]+"e"+(+n[1]-t))}return so(e)});function co(e){if(!Ir(e))return 0;e=no(e);let t=ao(e);return"0"===String(t)?0:t}function uo(e){if(!ro(e))return!1;return co(e)>0}function lo(e){if(!ro(e))return!1;return co(e)>=0}function fo(e){if(Lr(e)){for(let t in e)return!0;return!1}return!1}var po="[object Boolean]";function ho(e){return!0===(t=e)||!1===t||Wt(t)&&Ht(t)==po;var t}function yo(e){let t,n=Object.prototype.toString.call(e);if(t="[object Promise]"===n,t)return!0;if("[object Function]"!==n)return!1;try{t="function"!=typeof e.subscribe&&"function"==typeof e.then}catch(e){}return t}function go(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Ir(e)&&lo(t)?(e=no(e),ao(e,t).toFixed(t)):""}var bo={};var mo,wo={},vo={get exports(){return wo},set exports(e){wo=e}};function Oo(){return mo||(mo=1,function(e,t){var n;e.exports=(n=n||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==Ur&&Ur.crypto&&(n=Ur.crypto),!n)try{n=require("crypto")}catch(e){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},s=i.lib={},a=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=a.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var s=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=s<<24-(r+i)%4*8}else for(var a=0;a<o;a+=4)t[r+a>>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(r());return new c.init(t,e)}}),u=i.enc={},l=u.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},f=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},d=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},p=s.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,s=this.blockSize,a=i/(4*s),u=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,l=e.min(4*u,i);if(u){for(var f=0;f<u;f+=s)this._doProcessBlock(o,f);n=o.splice(0,u),r.sigBytes-=l}return new c.init(n,l)},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});s.Hasher=p.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new h.HMAC.init(e,n).finalize(t)}}});var h=i.algo={};return i}(Math),n)}(vo)),wo}!function(e,t){e.exports=Oo().enc.Utf8}({get exports(){return bo},set exports(e){bo=e}});var _o=bo,Eo={};!function(e,t){var n;e.exports=(n=Oo(),function(){var e=n,t=e.lib.WordArray;function r(e,n,r){for(var o=[],i=0,s=0;s<n;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;o[i>>>2]|=a<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var s=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<n;a++)o.push(r.charAt(s>>>6*(3-a)&63));var c=r.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<n.length;i++)o[n.charCodeAt(i)]=i}var s=n.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return r(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)}({get exports(){return Eo},set exports(e){Eo=e}});var jo=Eo;function So(e){if(!kr(e))return"";return jo.parse(e).toString(_o)}function Ao(e){if(!Cr())return Promise.reject("no window");try{return function(e){return e.arrayBuffer()}(e)}catch(t){return function(e){let t=Dr(),n=new FileReader;return n.onload=function(){let e=n.result;t.resolve(e)},n.onerror=function(e){t.reject(e)},n.readAsArrayBuffer(e),t}(e)}}function Ro(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}var xo,To=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),s=i.length;s--;){var a=i[xo?s:++r];if(!1===t(o[a],a,o))break}return e},Po=To;function Co(e){return Wt(e)&&"[object Arguments]"==Ht(e)}var Uo=Object.prototype,No=Uo.hasOwnProperty,Bo=Uo.propertyIsEnumerable,Do=Co(function(){return arguments}())?Co:function(e){return Wt(e)&&No.call(e,"callee")&&!Bo.call(e,"callee")},Lo=Do;var Fo="object"==typeof exports&&exports&&!exports.nodeType&&exports,ko=Fo&&"object"==typeof module&&module&&!module.nodeType&&module,Mo=ko&&ko.exports===Fo?Bt.Buffer:void 0,Io=(Mo?Mo.isBuffer:void 0)||function(){return!1},zo=9007199254740991,qo=/^(?:0|[1-9]\d*)$/;function $o(e,t){var n=typeof e;return!!(t=null==t?zo:t)&&("number"==n||"symbol"!=n&&qo.test(e))&&e>-1&&e%1==0&&e<t}var Ho={};Ho["[object Float32Array]"]=Ho["[object Float64Array]"]=Ho["[object Int8Array]"]=Ho["[object Int16Array]"]=Ho["[object Int32Array]"]=Ho["[object Uint8Array]"]=Ho["[object Uint8ClampedArray]"]=Ho["[object Uint16Array]"]=Ho["[object Uint32Array]"]=!0,Ho["[object Arguments]"]=Ho["[object Array]"]=Ho["[object ArrayBuffer]"]=Ho["[object Boolean]"]=Ho["[object DataView]"]=Ho["[object Date]"]=Ho["[object Error]"]=Ho["[object Function]"]=Ho["[object Map]"]=Ho["[object Number]"]=Ho["[object Object]"]=Ho["[object RegExp]"]=Ho["[object Set]"]=Ho["[object String]"]=Ho["[object WeakMap]"]=!1;var Wo="object"==typeof exports&&exports&&!exports.nodeType&&exports,Jo=Wo&&"object"==typeof module&&module&&!module.nodeType&&module,Vo=Jo&&Jo.exports===Wo&&Ut.process,Ko=function(){try{var e=Jo&&Jo.require&&Jo.require("util").types;return e||Vo&&Vo.binding&&Vo.binding("util")}catch(e){}}(),Xo=Ko&&Ko.isTypedArray,Go=Xo?function(e){return function(t){return e(t)}}(Xo):function(e){return Wt(e)&&ur(e.length)&&!!Ho[Ht(e)]},Qo=Go,Zo=Object.prototype.hasOwnProperty;function Yo(e,t){var n=Ct(e),r=!n&&Lo(e),o=!n&&!r&&Io(e),i=!n&&!r&&!o&&Qo(e),s=n||r||o||i,a=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=a.length;for(var u in e)!t&&!Zo.call(e,u)||s&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||$o(u,c))||a.push(u);return a}function ei(e){return lr(e)?Yo(e):Wn(e)}var ti=function(e,t){return function(n,r){if(null==n)return n;if(!lr(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Object(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}((function(e,t){return e&&Po(e,t,ei)})),ni=ti;function ri(e){return e}function oi(e,t){var n;return(Ct(e)?Ro:ni)(e,"function"==typeof(n=t)?n:ri)}function ii(e){return"[object Array]"===Object.prototype.toString.call(e)}function si(e){if(Lr(e)){for(let t in e)return!1;return!0}return!1}function ai(e){return!!function(e){return"[object Undefined]"===Object.prototype.toString.call(e)}(e)||(!!function(e){return"[object Null]"===Object.prototype.toString.call(e)}(e)||(!!si(e)||(!!function(e){return!(!Fr(e)||""!==e)}(e)||(!!function(e){return!!ii(e)&&0===e.length}(e)||!!Mr(e)))))}function ci(e){return"[object ArrayBuffer]"===Object.prototype.toString.call(e)}function ui(e){return"[object Blob]"===Object.prototype.toString.call(e)}function li(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)}function fi(e){return"[object Uint16Array]"===Object.prototype.toString.call(e)}function di(e){if(!(ci(e)||ui(e)||li(e)||fi(e)))return null;try{if(e.byteLength)return e.byteLength}catch(e){}try{if(e.length)return e.length}catch(e){}try{if(e.size)return e.size}catch(e){}return null}var pi=qn(Object.getPrototypeOf,Object),hi="[object Object]",yi=Function.prototype,gi=Object.prototype,bi=yi.toString,mi=gi.hasOwnProperty,wi=bi.call(Object);var vi="[object DOMException]",Oi="[object Error]";function _i(e){if(!Wt(e))return!1;var t=Ht(e);return t==Oi||t==vi||"string"==typeof e.message&&"string"==typeof e.name&&!function(e){if(!Wt(e)||Ht(e)!=hi)return!1;var t=pi(e);if(null===t)return!0;var n=mi.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&bi.call(n)==wi}(e)}function Ei(e){if(!kr(e))return new Uint8Array;let t;try{t=function(e){if(!Fr(e))return new Uint8Array;let t=jo.parse(e),n=t.words,r=t.sigBytes,o=new Uint8Array(r);for(let e=0;e<r;e++){let t=n[e>>>2]>>>24-e%4*8&255;o[e]=t}return o}(function(e){if(!kr(e))return"";let t=_o.parse(e);return jo.stringify(t)}(e))}catch(e){return new Uint8Array}return t}function ji(e,t){return function(e,t,n,r,o,i){if(!Ir(e))return null;if(!li(t))return null;if(!ro(n))return null;if(!ho(r))return null;if(!ro(o))return null;if(!ro(i))return null;let s,a,c;e=no(e);let u=8*i-o-1,l=(1<<u)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?i-1:0,h=r?-1:1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*c-1)*Math.pow(2,o),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;t[n+p]=255&a,p+=h,a/=256,o-=8);for(s=s<<o|a,u+=o;u>0;t[n+p]=255&s,p+=h,s/=256,u-=8);return t[n+p-h]|=128*y,null}(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,!(arguments.length>3&&void 0!==arguments[3])||arguments[3],arguments.length>4&&void 0!==arguments[4]?arguments[4]:52,arguments.length>5&&void 0!==arguments[5]?arguments[5]:8)}function Si(e){let t=[],n=[];if((!ii(r=e)||0===r.length||1===r.length&&ai(r[0]))&&!fo(e))return null;var r;let o=[],i=[];function s(e){o.push(di(e)),i.push(e)}try{let r=function(e){if(!Lr(e))return{results:"",binarys:[]};if(si(e))return{results:"",binarys:[]};let t="",n=[];try{let r=-1;t=JSON.stringify(e,(function(e,t){if(li(t)){r+=1;let e=`[Uint8Array]::${r}`;return n.push(t),e}if(fi(t)){r+=1;let e=`[Uint16Array]::${r}`;return n.push(t),e}if(ci(t)){r+=1;let e=`[ArrayBuffer]::${r}`;return n.push(t),e}return _i(t)&&(t=t.toString()),t}))}catch(e){}return{results:t,binarys:n}}(e);s(Ei(r.results)),oi(r.binarys,(e=>{s(e)}));let a=o,c=Ei(JSON.stringify(a)),u=new Uint8Array(8);ji(di(c),u),t.push(u),t.push(c),oi(i,(e=>{t.push(e)})),oi(t,(e=>{n=function(e,t){let n=di(e),r=di(t),o=new Uint8Array(n+r);return o.set(new Uint8Array(e),0),o.set(new Uint8Array(t),n),o}(n,e)}))}catch(e){return null}return n}function Ai(e){return function(e,t,n,r,o){if(!li(e))return null;if(!ro(t))return null;if(!ho(n))return null;if(!ro(r))return null;if(!ro(o))return null;let i,s,a=8*o-r-1,c=(1<<a)-1,u=c>>1,l=-7,f=n?0:o-1,d=n?1:-1,p=e[t+f];for(f+=d,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=256*i+e[t+f],f+=d,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=r;l>0;s=256*s+e[t+f],f+=d,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),i-=u}return(p?-1:1)*s*Math.pow(2,i-r)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,!(arguments.length>2&&void 0!==arguments[2])||arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:52,arguments.length>4&&void 0!==arguments[4]?arguments[4]:8)}var Ri={};!function(e,t){var n;e.exports=(n=Oo(),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init,r=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,r=[],o=0;o<n;o++)r[o>>>2]|=e[o]<<24-o%4*8;t.call(this,r,n)}else t.apply(this,arguments)};r.prototype=e}}(),n.lib.WordArray)}({get exports(){return Ri},set exports(e){Ri=e}});var xi=Ri;function Ti(e){if(!li(e))return"";let t;try{t=So(function(e){return li(e)?xi.create(e).toString(jo):""}(e))}catch(e){return""}return t}function Pi(e){let t=null;if(!li(e))return null;try{let n=8,r=e.slice(0,n),o=e.slice(n,di(e)),i=Ai(r),s=o.slice(0,i),a=o.slice(i,di(o)),c=Ti(s),u=function(e,t){let n=0,r=0,o=[];return oi(t,(t=>{r=n+t;let i=e.slice(n,r);n=r,o.push(i)})),o}(a,JSON.parse(c));t=function(e){if(!fo(e))return{};let{results:t,binarys:n}=e;if(!kr(t))return{};if(!ii(n))return{};let r={};try{r=JSON.parse(t,(function(e,t){if(kr(t)){if(t.indexOf("[Uint8Array]::")>=0){let e=co(t.replace("[Uint8Array]::",""));return n[e]}if(t.indexOf("[Uint16Array]::")>=0){let e=co(t.replace("[Uint16Array]::",""));return n[e]}if(t.indexOf("[ArrayBuffer]::")>=0){let e=co(t.replace("[ArrayBuffer]::",""));return n[e]}}return t}))}catch(e){}return r}({results:Ti(u.shift()),binarys:u})}catch(e){}return t}function Ci(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;Ir(e)||(e=10);let t=Dr();return setTimeout((function(){t.resolve()}),e),t}const Ui=new Uint8Array([0,97,115,109,1,0,0,0,1,48,8,96,3,127,127,127,1,127,96,3,127,127,127,0,96,2,127,127,0,96,1,127,1,127,96,3,127,127,126,1,126,96,3,126,127,127,1,126,96,2,127,126,0,96,1,127,1,126,3,11,10,0,0,2,1,3,4,5,6,1,7,5,3,1,0,1,7,85,9,3,109,101,109,2,0,5,120,120,104,51,50,0,0,6,105,110,105,116,51,50,0,2,8,117,112,100,97,116,101,51,50,0,3,8,100,105,103,101,115,116,51,50,0,4,5,120,120,104,54,52,0,5,6,105,110,105,116,54,52,0,7,8,117,112,100,97,116,101,54,52,0,8,8,100,105,103,101,115,116,54,52,0,9,10,251,22,10,242,1,1,4,127,32,0,32,1,106,33,3,32,1,65,16,79,4,127,32,3,65,16,107,33,6,32,2,65,168,136,141,161,2,106,33,3,32,2,65,137,235,208,208,7,107,33,4,32,2,65,207,140,162,142,6,106,33,5,3,64,32,3,32,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,3,32,4,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,4,32,2,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,2,32,5,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,5,32,6,32,0,65,4,106,34,0,79,13,0,11,32,2,65,12,119,32,5,65,18,119,106,32,4,65,7,119,106,32,3,65,1,119,106,5,32,2,65,177,207,217,178,1,106,11,32,1,106,32,0,32,1,65,15,113,16,1,11,146,1,0,32,1,32,2,106,33,2,3,64,32,1,65,4,106,32,2,75,69,4,64,32,0,32,1,40,2,0,65,189,220,202,149,124,108,106,65,17,119,65,175,214,211,190,2,108,33,0,32,1,65,4,106,33,1,12,1,11,11,3,64,32,1,32,2,79,69,4,64,32,0,32,1,45,0,0,65,177,207,217,178,1,108,106,65,11,119,65,177,243,221,241,121,108,33,0,32,1,65,1,106,33,1,12,1,11,11,32,0,32,0,65,15,118,115,65,247,148,175,175,120,108,34,0,65,13,118,32,0,115,65,189,220,202,149,124,108,34,0,65,16,118,32,0,115,11,63,0,32,0,65,8,106,32,1,65,168,136,141,161,2,106,54,2,0,32,0,65,12,106,32,1,65,137,235,208,208,7,107,54,2,0,32,0,65,16,106,32,1,54,2,0,32,0,65,20,106,32,1,65,207,140,162,142,6,106,54,2,0,11,195,4,1,6,127,32,1,32,2,106,33,6,32,0,65,24,106,33,4,32,0,65,40,106,40,2,0,33,3,32,0,32,0,40,2,0,32,2,106,54,2,0,32,0,65,4,106,34,5,32,5,40,2,0,32,2,65,16,79,32,0,40,2,0,65,16,79,114,114,54,2,0,32,2,32,3,106,65,16,73,4,64,32,3,32,4,106,32,1,32,2,252,10,0,0,32,0,65,40,106,32,2,32,3,106,54,2,0,15,11,32,3,4,64,32,3,32,4,106,32,1,65,16,32,3,107,34,2,252,10,0,0,32,0,65,8,106,34,3,32,3,40,2,0,32,4,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,12,106,34,3,32,3,40,2,0,32,4,65,4,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,16,106,34,3,32,3,40,2,0,32,4,65,8,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,20,106,34,3,32,3,40,2,0,32,4,65,12,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,40,106,65,0,54,2,0,32,1,32,2,106,33,1,11,32,1,32,6,65,16,107,77,4,64,32,6,65,16,107,33,8,32,0,65,8,106,40,2,0,33,2,32,0,65,12,106,40,2,0,33,3,32,0,65,16,106,40,2,0,33,5,32,0,65,20,106,40,2,0,33,7,3,64,32,2,32,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,2,32,3,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,3,32,5,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,5,32,7,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,7,32,8,32,1,65,4,106,34,1,79,13,0,11,32,0,65,8,106,32,2,54,2,0,32,0,65,12,106,32,3,54,2,0,32,0,65,16,106,32,5,54,2,0,32,0,65,20,106,32,7,54,2,0,11,32,1,32,6,73,4,64,32,4,32,1,32,6,32,1,107,34,1,252,10,0,0,32,0,65,40,106,32,1,54,2,0,11,11,97,1,1,127,32,0,65,16,106,40,2,0,33,1,32,0,65,4,106,40,2,0,4,127,32,1,65,12,119,32,0,65,20,106,40,2,0,65,18,119,106,32,0,65,12,106,40,2,0,65,7,119,106,32,0,65,8,106,40,2,0,65,1,119,106,5,32,1,65,177,207,217,178,1,106,11,32,0,40,2,0,106,32,0,65,24,106,32,0,65,40,106,40,2,0,16,1,11,255,3,2,3,126,1,127,32,0,32,1,106,33,6,32,1,65,32,79,4,126,32,6,65,32,107,33,6,32,2,66,214,235,130,238,234,253,137,245,224,0,124,33,3,32,2,66,177,169,172,193,173,184,212,166,61,125,33,4,32,2,66,249,234,208,208,231,201,161,228,225,0,124,33,5,3,64,32,3,32,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,3,32,4,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,4,32,2,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,2,32,5,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,5,32,6,32,0,65,8,106,34,0,79,13,0,11,32,2,66,12,137,32,5,66,18,137,124,32,4,66,7,137,124,32,3,66,1,137,124,32,3,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,4,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,2,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,5,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,5,32,2,66,197,207,217,178,241,229,186,234,39,124,11,32,1,173,124,32,0,32,1,65,31,113,16,6,11,134,2,0,32,1,32,2,106,33,2,3,64,32,2,32,1,65,8,106,79,4,64,32,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,32,0,133,66,27,137,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,33,0,32,1,65,8,106,33,1,12,1,11,11,32,1,65,4,106,32,2,77,4,64,32,0,32,1,53,2,0,66,135,149,175,175,152,182,222,155,158,127,126,133,66,23,137,66,207,214,211,190,210,199,171,217,66,126,66,249,243,221,241,153,246,153,171,22,124,33,0,32,1,65,4,106,33,1,11,3,64,32,1,32,2,73,4,64,32,0,32,1,49,0,0,66,197,207,217,178,241,229,186,234,39,126,133,66,11,137,66,135,149,175,175,152,182,222,155,158,127,126,33,0,32,1,65,1,106,33,1,12,1,11,11,32,0,32,0,66,33,136,133,66,207,214,211,190,210,199,171,217,66,126,34,0,32,0,66,29,136,133,66,249,243,221,241,153,246,153,171,22,126,34,0,32,0,66,32,136,133,11,77,0,32,0,65,8,106,32,1,66,214,235,130,238,234,253,137,245,224,0,124,55,3,0,32,0,65,16,106,32,1,66,177,169,172,193,173,184,212,166,61,125,55,3,0,32,0,65,24,106,32,1,55,3,0,32,0,65,32,106,32,1,66,249,234,208,208,231,201,161,228,225,0,124,55,3,0,11,244,4,2,3,127,4,126,32,1,32,2,106,33,5,32,0,65,40,106,33,4,32,0,65,200,0,106,40,2,0,33,3,32,0,32,0,41,3,0,32,2,173,124,55,3,0,32,2,32,3,106,65,32,73,4,64,32,3,32,4,106,32,1,32,2,252,10,0,0,32,0,65,200,0,106,32,2,32,3,106,54,2,0,15,11,32,3,4,64,32,3,32,4,106,32,1,65,32,32,3,107,34,2,252,10,0,0,32,0,65,8,106,34,3,32,3,41,3,0,32,4,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,16,106,34,3,32,3,41,3,0,32,4,65,8,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,24,106,34,3,32,3,41,3,0,32,4,65,16,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,32,106,34,3,32,3,41,3,0,32,4,65,24,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,200,0,106,65,0,54,2,0,32,1,32,2,106,33,1,11,32,1,65,32,106,32,5,77,4,64,32,5,65,32,107,33,2,32,0,65,8,106,41,3,0,33,6,32,0,65,16,106,41,3,0,33,7,32,0,65,24,106,41,3,0,33,8,32,0,65,32,106,41,3,0,33,9,3,64,32,6,32,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,6,32,7,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,7,32,8,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,8,32,9,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,9,32,2,32,1,65,8,106,34,1,79,13,0,11,32,0,65,8,106,32,6,55,3,0,32,0,65,16,106,32,7,55,3,0,32,0,65,24,106,32,8,55,3,0,32,0,65,32,106,32,9,55,3,0,11,32,1,32,5,73,4,64,32,4,32,1,32,5,32,1,107,34,1,252,10,0,0,32,0,65,200,0,106,32,1,54,2,0,11,11,188,2,1,5,126,32,0,65,24,106,41,3,0,33,1,32,0,41,3,0,34,2,66,32,90,4,126,32,0,65,8,106,41,3,0,34,3,66,1,137,32,0,65,16,106,41,3,0,34,4,66,7,137,124,32,1,66,12,137,32,0,65,32,106,41,3,0,34,5,66,18,137,124,124,32,3,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,4,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,1,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,5,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,5,32,1,66,197,207,217,178,241,229,186,234,39,124,11,32,2,124,32,0,65,40,106,32,2,66,31,131,167,16,6,11]);async function Ni(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!ui(e)&&(n=e,"[object File]"!==Object.prototype.toString.call(n)))return console.log("inp",e),Promise.reject("inp is not a Blob or File");var n;let r=In(t,"chunkSize");Ir(r)||(r=67108864),r=no(r);let{create64:o}=await async function(){return function(e){const{exports:{mem:t,xxh32:n,xxh64:r,init32:o,update32:i,digest32:s,init64:a,update64:c,digest64:u}}=e;let l=new Uint8Array(t.buffer);function f(e,n){if(t.buffer.byteLength<e+n){const r=Math.ceil((e+n-t.buffer.byteLength)/65536);t.grow(r),l=new Uint8Array(t.buffer)}}function d(e,t,n,r,o,i){f(e);const s=new Uint8Array(e);return l.set(s),n(0,t),s.set(l.subarray(0,e)),{update(t){let n;return l.set(s),"string"==typeof t?(f(3*t.length,e),n=g.encodeInto(t,l.subarray(e)).written):(f(t.byteLength,e),l.set(t,e),n=t.byteLength),r(0,e,n),s.set(l.subarray(0,e)),this},digest:()=>(l.set(s),i(o(0)))}}function p(e){return e>>>0}const h=2n**64n-1n;function y(e){return e&h}const g=new TextEncoder,b=0,m=0n;function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;return f(3*e.length,0),p(n(0,g.encodeInto(e,l).written,t))}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return f(3*e.length,0),y(r(0,g.encodeInto(e,l).written,t))}return{h32:w,h32ToString:function(e){return w(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:b).toString(16).padStart(8,"0")},h32Raw:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;return f(e.byteLength,0),l.set(e),p(n(0,e.byteLength,t))},create32:function(){return d(48,arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,o,i,s,p)},h64:v,h64ToString:function(e){return v(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:m).toString(16).padStart(16,"0")},h64Raw:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return f(e.byteLength,0),l.set(e),y(r(0,e.byteLength,t))},create64:function(){return d(88,arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,a,c,u,y)}}}((await WebAssembly.instantiate(Ui)).instance)}(),i=o(),s=0;for(;s<e.size;){let t=e.slice(s,s+r),n=await t.arrayBuffer();i.update(new Uint8Array(n)),s+=r}return i.digest().toString(16).padStart(16,"0")}return function(e){let t=In(e,"url");kr(t)||(t="http://localhost:8080");let n=In(e,"apiName");kr(n)||(n="api");let r="";r="/"===function(e,t){if(!kr(e))return"";if(!lo(t))return"";if(0===(t=co(t)))return"";let n=e.length-t;return n<0&&(n=0),e.substring(n,n+t)}(t,1)?t+n:t+"/"+n;let o=In(e,"getToken",null);qr(o)||(o=()=>"");let i=In(e,"tokenType");kr(i)||(i="Bearer");let s=In(e,"sizeSlice");uo(s)||(s=1048576);let a=In(e,"timeout");lo(a)||(a=3e5);let c=In(e,"retryMain");lo(c)||(c=3);let u=In(e,"retryUpload");lo(u)||(u=10);let l=In(e,"retryDownload");lo(l)||(l=2);let f=Cr()?"browser":"nodejs",d=new Br,p=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];setTimeout((()=>{d.emit(e,...n)}),1)},h=e=>{let t="";if("basic"===e)t=`${r}/main`;else if("upload-controller"===e)t=`${r}/ulctr`;else if("slice"===e)t=`${r}/slc`;else if("download-get-filename"===e)t=`${r}/dwgfn`;else if("download-get"===e)t=`${r}/dwgf`;else{if("download"!==e)throw new Error(`invalid type[${e}]`);t=`${r}/dw`}return t},y=async e=>{let t;return t="browser"===f?await function(e){let t=Dr();return Ao(e).then((e=>{let n=new Uint8Array(e);t.resolve(n)})).catch((e=>{t.reject(e)})),t}(e):new Uint8Array(e),t},g=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=In(n,"headers");Lr(r)||(r={});let s=In(n,"dataType","");"blob"!==s&&"fmd"!==s&&"json"!==s&&(s="blob");let c=In(n,"cbProgress");qr(c)||(c=()=>{});let u=In(n,"retry");lo(u)||(u=1);let l=h(e),d=Dr(),g=null,b={};if("blob"===s)b={"Content-Type":"application/octet-stream"},g=t;else if("fmd"===s){let e;if("browser"===f)e=new FormData;else{if(!qr(n.FormData))throw p("error","invalid opt.FormData, need [npm i form-data] and [import FormData from 'form-data'] to set opt.FormData = FormData"),new Error("invalid opt.FormData");e=new n.FormData({maxDataSize:1099511627776})}e.append("bb",t),"nodejs"===f&&(b={"Content-Type":`multipart/form-data; boundary=${e.getBoundary()}`}),g=e}else"json"===s&&(b={"Content-Type":"application/json"},g=JSON.stringify(t));let m=null;m="nodejs"===f?"download"===e?"stream":"arraybuffer":"blob";let w=o();yo(w)&&(w=await w);let v={method:"POST",url:l,data:g,headers:{Authorization:`${i} ${w}`,...b,...r},timeout:a,maxContentLength:1/0,maxBodyLength:1/0,responseType:m,onUploadProgress:function(e){let t=0,n=e.loaded,r=e.total;uo(r)&&(t=100*n/r),c({prog:Math.floor(t),p:n,m:"upload"})},onDownloadProgress:function(e){let t=0,n=e.loaded,r=e.total;uo(r)&&(t=100*n/r),c({prog:Math.floor(t),p:n,m:"download"})}},O=async()=>{let t=await Pt(v);if("download"===e)return await(async e=>{let t=Dr(),r=In(e,"headers['return-type']",""),o=In(e,"headers['return-msg']","");if("error"===r)return t.reject(o),t;let i=(e=>{let t="unknow";try{let n=/filename="(.+?)"/.exec(e);t=n?n[1]:"unknown"}catch(e){}return t})(In(e,"headers['content-disposition']",""));i=So(i);let s=In(e,"data");if("browser"===f)t.resolve({filename:i,bb:s});else try{let e="path",r="fs",o=await import(e),a=await import(r),c=In(n,"fdDownload","");a.mkdirSync(c,{recursive:!0});let u=o.resolve(c,i),l=a.createWriteStream(u);s.pipe(l),l.on("finish",(()=>{t.resolve(u)})),l.on("error",(e=>{t.reject(e)}))}catch(e){t.reject(e)}return t})(t);let r=In(t,"data"),o=Pi(await y(r));return fo(o)?zr(o,"success")?Promise.resolve(o.success):zr(o,"error")?(p("error",o.error),Promise.reject(o.error)):(p("error","data does not contain success or error"),Promise.reject("data does not contain success or error")):(p("error","data is not an effective object"),Promise.reject("data is not an effective object"))};return await(async()=>{let e=function(e){if(!qr(e))throw new Error("fn is not a function");return function(){let t=Dr(),n=null,r=null;try{n=e.apply(this,arguments)}catch(e){r=e}return null!==r?t.resolve({state:"error",msg:r}):yo(n)?n.then((e=>{t.resolve({state:"success",msg:e})})).catch((e=>{"cancelled"===In(e,"reason")?t.resolve({state:"cancelled",msg:""}):t.resolve({state:"error",msg:e})})):t.resolve({state:"success",msg:n}),t}}(O),t=await e(v),n=Math.pow(180,1/9),r=0;for(;"error"===t.state&&(r+=1,!(r>u));){let o=Math.round(1e3*Math.pow(n,r-1));console.log(`wait ${go(o/1e3,1)}(second) to retry...`),await Ci(o),console.log(`retry n=${r}...`),t=await e(v)}return"success"===t.state?t.msg:Promise.reject(t.msg)})().then((e=>{d.resolve(e)})).catch((async e=>{let t=null,n=In(e,"response.statusText")||In(e,"message"),r=In(e,"response.data")||In(e,"stack");if(n)t=n;else if(r)t=r;else{try{e=e.toJSON()}catch(r){}p("error",e),t="Can not connect to server."}"Network Error"===t&&(t="Network Error. Make sure your space of hard drive is large enough or blocking by browser plugins."),d.reject(t)})),d},b=async(e,t,n)=>{let r=null;try{r=(e=>{let t;return t="browser"===f?new Blob([e.buffer]):Buffer.from(e),t})(Si(t))}catch(e){return Promise.reject(e)}return await g(e,r,{dataType:"blob",retry:c,cbProgress:n})},m=async e=>{let t=null;return t="browser"===f?e:new Blob([e]),await Ni(t)};return d.execute=async(e,t,n)=>{let r={func:e,input:t},o="",i=null;return await b("basic",r,n).then((e=>kr(e)?(o="error",void(i=e)):fo(e)?zr(e,"output")?(o="success",void(i=e.output)):(console.log("invalid msg.output",e),o="error",void(i="invalid msg.output")):(console.log("msg is not an effective object",e),o="error",void(i="msg is not an effective object")))).catch((e=>{o="error",i=e})),""===o?(p("error","invalid state"),Promise.reject("invalid state")):"error"===o?Promise.reject(i):i},d.upload=(e,t,n)=>(async(e,t,n)=>{let r=0;if(0===r)try{r=t.size,r=co(r)}catch(e){}if(0===r)try{r=t.length,r=co(r)}catch(e){}0===r&&(r=1);let o=r,i=Math.ceil(o/s),a=0,c=()=>{a++;let e=a/i;n({prog:.99*e*100,p:e*o,m:"upload"})},l=e=>{let t=e.prog;"download"===e.m&&100===t&&n({prog:100,p:o,m:"upload"})},f=await m(t),d=await g("upload-controller",{mode:"check-total-hash",fileHash:f,filename:e,fileSize:o},{dataType:"json",retry:u});if(d.bAllHash)return l({prog:100,m:"download"}),d.msg;if(d.bSls){let e=[];for(let n=0;n<Pr(d.slks);n++){let r=d.slks[n],i=r*s,a=Math.min(i+s,o),c=t.slice(i,a),u=await m(c);e.push({i:r,h:u})}let n=await g("upload-controller",{mode:"check-slices-hash",fileHash:f,fileSliceHashs:e},{dataType:"json",retry:u});d.slks=n.slks}let p=f;for(let e=0;e<i;e++){if(d.slks.indexOf(e)>=0){c();continue}let n=e*s,r=Math.min(n+s,o),a=t.slice(n,r),l={"chunk-index":e,"chunk-total":i,"package-id":p};await g("slice",a,{headers:l,dataType:"blob",cbProgress:e=>{},retry:u}),c()}let h=await g("upload-controller",{mode:"merge-slices-push",fileHash:f,chunkTotal:i},{dataType:"json",retry:u}),y=await(()=>{let t=Dr(),n=h.queueId,r=setInterval((()=>{g("upload-controller",{mode:"merge-slices-get",fileHash:f,filename:e,queueId:n},{dataType:"json",retry:u}).then((e=>{"success"===e.state?(clearInterval(r),l({prog:100,m:"download"}),t.resolve(e.msg)):"error"===e.state&&(console.log("merge-slices-get error",e),clearInterval(r),t.resolve(e.msg))})).catch((e=>{console.log("merge-slices-get catch",e)}))}),2e3);return t})();return y})(e,t,n),d.download=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"browser"===f?async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=In(n,"downloadByManager");if(ho(r)||(r=!0),r){let t=o();yo(t)&&(t=await t);let n={fileId:e},r=In(await g("download-get-filename",n,{dataType:"json",retry:l}),"filename",""),i=`${h("download-get")}?fileId=${e}&token=${t}`,s=document.createElement("a");return s.href=i,s.download=r,s.click(),r}{let r={fileId:e};return await g("download",r,{...n,dataType:"json",retry:l,cbProgress:t})}}(e,t,n):async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={fileId:e};return await g("download",r,{...n,dataType:"json",retry:l,cbProgress:t})}(e,t,n)},d}}));
|
|
7
7
|
//# sourceMappingURL=w-converhp-client.umd.js.map
|