gc_rsa 1.3.11 → 2.0.0

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/libs/main.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see main.js.LICENSE.txt */
2
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("flyio")):"function"==typeof define&&define.amd?define(["flyio"],e):"object"==typeof exports?exports.gc_rsa=e(require("flyio")):t.gc_rsa=e(t.flyio)}(this,(t=>(()=>{var e={99:(t,e,r)=>{"use strict";var n=r(870),o=r(755),i=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?o(r):r}},755:(t,e,r)=>{"use strict";var n=r(569),o=r(870),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||n.call(a,i),s=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=c(n,a,arguments);return s&&u&&s(e,"length").configurable&&u(e,"length",{value:1+l(0,t.length-(arguments.length-1))}),e};var f=function(){return c(n,i,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},708:function(t,e,r){var n;t.exports=(n=n||function(t,e){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!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(10)}catch(t){}var o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),a={},c=a.lib={},s=c.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},u=c.WordArray=s.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||f).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;e[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var c=0;c<o;c+=4)e[n+c>>>2]=r[c>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=s.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r<t;r+=4)e.push(o());return new u.init(e,t)}}),l=a.enc={},f=l.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new u.init(r,e/2)}},p=l.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new u.init(r,e)}},y=l.Utf8={stringify:function(t){try{return decodeURIComponent(escape(p.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return p.parse(unescape(encodeURIComponent(t)))}},h=c.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=y.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,c=i/(4*a),s=(c=e?t.ceil(c):t.max((0|c)-this._minBufferSize,0))*a,l=t.min(4*s,i);if(s){for(var f=0;f<s;f+=a)this._doProcessBlock(o,f);r=o.splice(0,s),n.sigBytes-=l}return new u.init(r,l)},clone:function(){var t=s.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),d=(c.Hasher=h.extend({cfg:s.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new d.HMAC.init(t,r).finalize(e)}}}),a.algo={});return a}(Math),n)},719:function(t,e,r){var n,o,i;t.exports=(n=r(708),i=(o=n).lib.WordArray,o.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,n=this._map;t.clamp();for(var o=[],i=0;i<r;i+=3)for(var a=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,c=0;c<4&&i+.75*c<r;c++)o.push(n.charAt(a>>>6*(3-c)&63));var s=n.charAt(64);if(s)for(;o.length%4;)o.push(s);return o.join("")},parse:function(t){var e=t.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<r.length;o++)n[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var c=t.indexOf(a);-1!==c&&(e=c)}return function(t,e,r){for(var n=[],o=0,a=0;a<e;a++)if(a%4){var c=r[t.charCodeAt(a-1)]<<a%4*2|r[t.charCodeAt(a)]>>>6-a%4*2;n[o>>>2]|=c<<24-o%4*8,o++}return i.create(n,o)}(t,e,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)},147:function(t,e,r){var n;t.exports=(n=r(708),r(881),r(541),n.HmacSHA256)},541:function(t,e,r){var n,o,i;t.exports=(o=(n=r(708)).lib.Base,i=n.enc.Utf8,void(n.algo.HMAC=o.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=i.parse(e));var r=t.blockSize,n=4*r;e.sigBytes>n&&(e=t.finalize(e)),e.clamp();for(var o=this._oKey=e.clone(),a=this._iKey=e.clone(),c=o.words,s=a.words,u=0;u<r;u++)c[u]^=1549556828,s[u]^=909522486;o.sigBytes=a.sigBytes=n,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,r=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(r))}})))},899:function(t,e,r){var n;t.exports=(n=r(708),function(t){var e=n,r=e.lib,o=r.WordArray,i=r.Hasher,a=e.algo,c=[];!function(){for(var e=0;e<64;e++)c[e]=4294967296*t.abs(t.sin(e+1))|0}();var s=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=t[e+0],s=t[e+1],y=t[e+2],h=t[e+3],d=t[e+4],v=t[e+5],g=t[e+6],m=t[e+7],b=t[e+8],j=t[e+9],w=t[e+10],O=t[e+11],S=t[e+12],_=t[e+13],A=t[e+14],x=t[e+15],P=i[0],E=i[1],k=i[2],C=i[3];P=u(P,E,k,C,a,7,c[0]),C=u(C,P,E,k,s,12,c[1]),k=u(k,C,P,E,y,17,c[2]),E=u(E,k,C,P,h,22,c[3]),P=u(P,E,k,C,d,7,c[4]),C=u(C,P,E,k,v,12,c[5]),k=u(k,C,P,E,g,17,c[6]),E=u(E,k,C,P,m,22,c[7]),P=u(P,E,k,C,b,7,c[8]),C=u(C,P,E,k,j,12,c[9]),k=u(k,C,P,E,w,17,c[10]),E=u(E,k,C,P,O,22,c[11]),P=u(P,E,k,C,S,7,c[12]),C=u(C,P,E,k,_,12,c[13]),k=u(k,C,P,E,A,17,c[14]),P=l(P,E=u(E,k,C,P,x,22,c[15]),k,C,s,5,c[16]),C=l(C,P,E,k,g,9,c[17]),k=l(k,C,P,E,O,14,c[18]),E=l(E,k,C,P,a,20,c[19]),P=l(P,E,k,C,v,5,c[20]),C=l(C,P,E,k,w,9,c[21]),k=l(k,C,P,E,x,14,c[22]),E=l(E,k,C,P,d,20,c[23]),P=l(P,E,k,C,j,5,c[24]),C=l(C,P,E,k,A,9,c[25]),k=l(k,C,P,E,h,14,c[26]),E=l(E,k,C,P,b,20,c[27]),P=l(P,E,k,C,_,5,c[28]),C=l(C,P,E,k,y,9,c[29]),k=l(k,C,P,E,m,14,c[30]),P=f(P,E=l(E,k,C,P,S,20,c[31]),k,C,v,4,c[32]),C=f(C,P,E,k,b,11,c[33]),k=f(k,C,P,E,O,16,c[34]),E=f(E,k,C,P,A,23,c[35]),P=f(P,E,k,C,s,4,c[36]),C=f(C,P,E,k,d,11,c[37]),k=f(k,C,P,E,m,16,c[38]),E=f(E,k,C,P,w,23,c[39]),P=f(P,E,k,C,_,4,c[40]),C=f(C,P,E,k,a,11,c[41]),k=f(k,C,P,E,h,16,c[42]),E=f(E,k,C,P,g,23,c[43]),P=f(P,E,k,C,j,4,c[44]),C=f(C,P,E,k,S,11,c[45]),k=f(k,C,P,E,x,16,c[46]),P=p(P,E=f(E,k,C,P,y,23,c[47]),k,C,a,6,c[48]),C=p(C,P,E,k,m,10,c[49]),k=p(k,C,P,E,A,15,c[50]),E=p(E,k,C,P,v,21,c[51]),P=p(P,E,k,C,S,6,c[52]),C=p(C,P,E,k,h,10,c[53]),k=p(k,C,P,E,w,15,c[54]),E=p(E,k,C,P,s,21,c[55]),P=p(P,E,k,C,b,6,c[56]),C=p(C,P,E,k,x,10,c[57]),k=p(k,C,P,E,g,15,c[58]),E=p(E,k,C,P,_,21,c[59]),P=p(P,E,k,C,d,6,c[60]),C=p(C,P,E,k,O,10,c[61]),k=p(k,C,P,E,y,15,c[62]),E=p(E,k,C,P,j,21,c[63]),i[0]=i[0]+P|0,i[1]=i[1]+E|0,i[2]=i[2]+k|0,i[3]=i[3]+C|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;r[o>>>5]|=128<<24-o%32;var i=t.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(r.length+1),this._process();for(var c=this._hash,s=c.words,u=0;u<4;u++){var l=s[u];s[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return c},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function u(t,e,r,n,o,i,a){var c=t+(e&r|~e&n)+o+a;return(c<<i|c>>>32-i)+e}function l(t,e,r,n,o,i,a){var c=t+(e&n|r&~n)+o+a;return(c<<i|c>>>32-i)+e}function f(t,e,r,n,o,i,a){var c=t+(e^r^n)+o+a;return(c<<i|c>>>32-i)+e}function p(t,e,r,n,o,i,a){var c=t+(r^(e|~n))+o+a;return(c<<i|c>>>32-i)+e}e.MD5=i._createHelper(s),e.HmacMD5=i._createHmacHelper(s)}(Math),n.MD5)},881:function(t,e,r){var n;t.exports=(n=r(708),function(t){var e=n,r=e.lib,o=r.WordArray,i=r.Hasher,a=e.algo,c=[],s=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(t){return 4294967296*(t-(0|t))|0}for(var n=2,o=0;o<64;)e(n)&&(o<8&&(c[o]=r(t.pow(n,.5))),s[o]=r(t.pow(n,1/3)),o++),n++}();var u=[],l=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],c=r[4],l=r[5],f=r[6],p=r[7],y=0;y<64;y++){if(y<16)u[y]=0|t[e+y];else{var h=u[y-15],d=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,v=u[y-2],g=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;u[y]=d+u[y-7]+g+u[y-16]}var m=n&o^n&i^o&i,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),j=p+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&l^~c&f)+s[y]+u[y];p=f,f=l,l=c,c=a+j|0,a=i,i=o,o=n,n=j+(b+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0,r[5]=r[5]+l|0,r[6]=r[6]+f|0,r[7]=r[7]+p|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=t.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=i._createHelper(l),e.HmacSHA256=i._createHmacHelper(l)}(Math),n.SHA256)},168:function(t){var e;e=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports={type:function(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()},isObject:function(t,e){return e?"object"===this.type(t):t&&"object"===(void 0===t?"undefined":n(t))},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},trim:function(t){return t.replace(/(^\s*)|(\s*$)/g,"")},encode:function(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")},formatParams:function(t){var e="",r=!0,n=this;return this.isObject(t)?(function t(o,i){var a=n.encode,c=n.type(o);if("array"==c)o.forEach((function(e,r){n.isObject(e)||(r=""),t(e,i+"%5B"+r+"%5D")}));else if("object"==c)for(var s in o)t(o[s],i?i+"%5B"+a(s)+"%5D":a(s));else r||(e+="&"),r=!1,e+=i+"="+a(o)}(t,""),e):t},merge:function(t,e){for(var r in e)t.hasOwnProperty(r)?this.isObject(e[r],1)&&this.isObject(t[r],1)&&this.merge(t[r],e[r]):t[r]=e[r];return t}}},function(t,e,r){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),a="undefined"!=typeof document;t.exports=function(t){var e=function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.requestHeaders={},this.readyState=0,this.timeout=0,this.responseURL="",this.responseHeaders={}}return o(e,[{key:"_call",value:function(t){this[t]&&this[t].apply(this,[].splice.call(arguments,1))}},{key:"_changeReadyState",value:function(t){this.readyState=t,this._call("onreadystatechange")}},{key:"open",value:function(t,e){if(this.method=t,e){if(0!==(e=i.trim(e)).indexOf("http")&&a){var r=document.createElement("a");r.href=e,e=r.href}}else e=location.href;this.responseURL=e,this._changeReadyState(1)}},{key:"send",value:function(e){var r=this;e=e||null;var o=this;if(t){var c={method:o.method,url:o.responseURL,headers:o.requestHeaders||{},body:e};i.merge(c,o._options||{}),"GET"===c.method&&(c.body=null),o._changeReadyState(3);var s=void 0;o.timeout=o.timeout||0,o.timeout>0&&(s=setTimeout((function(){3===o.readyState&&(r._call("onloadend"),o._changeReadyState(0),o._call("ontimeout"))}),o.timeout)),c.timeout=o.timeout,t(c,(function(t){function e(e){var r=t[e];return delete t[e],r}if(3===o.readyState){clearTimeout(s),o.status=e("statusCode")-0;var r=e("responseText"),i=e("statusMessage");if(o.status){var c=e("headers"),u={};for(var l in c){var f=c[l],p=l.toLowerCase();"object"===(void 0===f?"undefined":n(f))?u[p]=f:(u[p]=u[p]||[],u[p].push(f))}var y=u["set-cookie"];a&&y&&y.forEach((function(t){document.cookie=t.replace(/;\s*httpOnly/gi,"")})),o.responseHeaders=u,o.statusText=i||"",o.response=o.responseText=r,o._response=t,o._changeReadyState(4),o._call("onload")}else o.statusText=r,o._call("onerror",{msg:i});o._call("onloadend")}}))}else console.error("Ajax require adapter")}},{key:"setRequestHeader",value:function(t,e){this.requestHeaders[i.trim(t)]=e}},{key:"getResponseHeader",value:function(t){return(this.responseHeaders[t.toLowerCase()]||"").toString()||null}},{key:"getAllResponseHeaders",value:function(){var t="";for(var e in this.responseHeaders)t+=e+":"+this.getResponseHeader(e)+"\r\n";return t||null}},{key:"abort",value:function(t){this._changeReadyState(0),this._call("onerror",{msg:t}),this._call("onloadend")}}],[{key:"setAdapter",value:function(e){t=e}}]),e}();return e}}])},t.exports=e()},640:t=>{"use strict";var e=Array.prototype.slice,r=Object.prototype.toString;t.exports=function(t){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o,i=e.call(arguments,1),a=Math.max(0,n.length-i.length),c=[],s=0;s<a;s++)c.push("$"+s);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=n.apply(this,i.concat(e.call(arguments)));return Object(r)===r?r:this}return n.apply(t,i.concat(e.call(arguments)))})),n.prototype){var u=function(){};u.prototype=n.prototype,o.prototype=new u,u.prototype=null}return o}},569:(t,e,r)=>{"use strict";var n=r(640);t.exports=Function.prototype.bind||n},870:(t,e,r)=>{"use strict";var n,o=SyntaxError,i=Function,a=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(t){s=null}var u=function(){throw new a},l=s?function(){try{return u}catch(t){try{return s(arguments,"callee").get}catch(t){return u}}}():u,f=r(143)(),p=r(413)(),y=Object.getPrototypeOf||(p?function(t){return t.__proto__}:null),h={},d="undefined"!=typeof Uint8Array&&y?y(Uint8Array):n,v={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f&&y?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&y?y(y([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f&&y?y((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f&&y?y((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&y?y(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(y)try{null.error}catch(t){var g=y(y(t));v["%Error.prototype%"]=g}var m=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&y&&(r=y(o.prototype))}return v[e]=r,r},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=r(569),w=r(416),O=j.call(Function.call,Array.prototype.concat),S=j.call(Function.apply,Array.prototype.splice),_=j.call(Function.call,String.prototype.replace),A=j.call(Function.call,String.prototype.slice),x=j.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,k=function(t,e){var r,n=t;if(w(b,n)&&(n="%"+(r=b[n])[0]+"%"),w(v,n)){var i=v[n];if(i===h&&(i=m(n)),void 0===i&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,t))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=A(t,0,1),r=A(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return _(t,P,(function(t,e,r,o){n[n.length]=r?_(o,E,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",i=k("%"+n+"%",e),c=i.name,u=i.value,l=!1,f=i.alias;f&&(n=f[0],S(r,O([0,1],f)));for(var p=1,y=!0;p<r.length;p+=1){var h=r[p],d=A(h,0,1),g=A(h,-1);if(('"'===d||"'"===d||"`"===d||'"'===g||"'"===g||"`"===g)&&d!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&y||(l=!0),w(v,c="%"+(n+="."+h)+"%"))u=v[c];else if(null!=u){if(!(h in u)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(s&&p+1>=r.length){var m=s(u,h);u=(y=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:u[h]}else y=w(u,h),u=u[h];y&&!l&&(v[c]=u)}}return u}},413:t=>{"use strict";var e={foo:{}},r=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof r)}},143:(t,e,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(985);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},985:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},416:(t,e,r)=>{"use strict";var n=r(569);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},538:(t,e,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&s&&"function"==typeof s.get?s.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,d=Object.prototype.toString,v=Function.prototype.toString,g=String.prototype.match,m=String.prototype.slice,b=String.prototype.replace,j=String.prototype.toUpperCase,w=String.prototype.toLowerCase,O=RegExp.prototype.test,S=Array.prototype.concat,_=Array.prototype.join,A=Array.prototype.slice,x=Math.floor,P="function"==typeof BigInt?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,C="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,F=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function B(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||O.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-x(-t):x(t);if(n!==t){var o=String(n),i=m.call(e,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,r,"$&_")}var M=r(2),N=M.custom,T=L(N)?N:null;function D(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function H(t){return b.call(String(t),/"/g,"&quot;")}function U(t){return!("[object Array]"!==$(t)||R&&"object"==typeof t&&R in t)}function z(t){return!("[object RegExp]"!==$(t)||R&&"object"==typeof t&&R in t)}function L(t){if(C)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!k)return!1;try{return k.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,n,o){var c=r||{};if(W(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!W(c,"customInspect")||c.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=c.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return V(e,c);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var j=String(e);return d?B(e,j):j}if("bigint"==typeof e){var O=String(e)+"n";return d?B(e,O):O}var x=void 0===c.depth?5:c.depth;if(void 0===n&&(n=0),n>=x&&x>0&&"object"==typeof e)return U(e)?"[Array]":"[Object]";var E,N=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=_.call(Array(t.indent+1)," ")}return{base:r,prev:_.call(Array(e+1),r)}}(c,n);if(void 0===o)o=[];else if(G(o,e)>=0)return"[Circular]";function q(e,r,i){if(r&&(o=A.call(o)).push(r),i){var a={depth:c.depth};return W(c,"quoteStyle")&&(a.quoteStyle=c.quoteStyle),t(e,a,n+1,o)}return t(e,c,n+1,o)}if("function"==typeof e&&!z(e)){var Q=function(t){if(t.name)return t.name;var e=g.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),tt=Y(e,q);return"[Function"+(Q?": "+Q:" (anonymous)")+"]"+(tt.length>0?" { "+_.call(tt,", ")+" }":"")}if(L(e)){var et=C?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(e);return"object"!=typeof e||C?et:X(et)}if((E=e)&&"object"==typeof E&&("undefined"!=typeof HTMLElement&&E instanceof HTMLElement||"string"==typeof E.nodeName&&"function"==typeof E.getAttribute)){for(var rt="<"+w.call(String(e.nodeName)),nt=e.attributes||[],ot=0;ot<nt.length;ot++)rt+=" "+nt[ot].name+"="+D(H(nt[ot].value),"double",c);return rt+=">",e.childNodes&&e.childNodes.length&&(rt+="..."),rt+"</"+w.call(String(e.nodeName))+">"}if(U(e)){if(0===e.length)return"[]";var it=Y(e,q);return N&&!function(t){for(var e=0;e<t.length;e++)if(G(t[e],"\n")>=0)return!1;return!0}(it)?"["+Z(it,N)+"]":"[ "+_.call(it,", ")+" ]"}if(function(t){return!("[object Error]"!==$(t)||R&&"object"==typeof t&&R in t)}(e)){var at=Y(e,q);return"cause"in Error.prototype||!("cause"in e)||I.call(e,"cause")?0===at.length?"["+String(e)+"]":"{ ["+String(e)+"] "+_.call(at,", ")+" }":"{ ["+String(e)+"] "+_.call(S.call("[cause]: "+q(e.cause),at),", ")+" }"}if("object"==typeof e&&s){if(T&&"function"==typeof e[T]&&M)return M(e,{depth:x-n});if("symbol"!==s&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{u.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var ct=[];return a&&a.call(e,(function(t,r){ct.push(q(r,e,!0)+" => "+q(t,e))})),K("Map",i.call(e),ct,N)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var st=[];return l&&l.call(e,(function(t){st.push(q(t,e))})),K("Set",u.call(e),st,N)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return J("WeakMap");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return J("WeakSet");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{return y.call(t),!0}catch(t){}return!1}(e))return J("WeakRef");if(function(t){return!("[object Number]"!==$(t)||R&&"object"==typeof t&&R in t)}(e))return X(q(Number(e)));if(function(t){if(!t||"object"!=typeof t||!P)return!1;try{return P.call(t),!0}catch(t){}return!1}(e))return X(q(P.call(e)));if(function(t){return!("[object Boolean]"!==$(t)||R&&"object"==typeof t&&R in t)}(e))return X(h.call(e));if(function(t){return!("[object String]"!==$(t)||R&&"object"==typeof t&&R in t)}(e))return X(q(String(e)));if(!function(t){return!("[object Date]"!==$(t)||R&&"object"==typeof t&&R in t)}(e)&&!z(e)){var ut=Y(e,q),lt=F?F(e)===Object.prototype:e instanceof Object||e.constructor===Object,ft=e instanceof Object?"":"null prototype",pt=!lt&&R&&Object(e)===e&&R in e?m.call($(e),8,-1):ft?"Object":"",yt=(lt||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(pt||ft?"["+_.call(S.call([],pt||[],ft||[]),": ")+"] ":"");return 0===ut.length?yt+"{}":N?yt+"{"+Z(ut,N)+"}":yt+"{ "+_.call(ut,", ")+" }"}return String(e)};var q=Object.prototype.hasOwnProperty||function(t){return t in this};function W(t,e){return q.call(t,e)}function $(t){return d.call(t)}function G(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function V(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return V(m.call(t,0,e.maxStringLength),e)+n}return D(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Q),"single",e)}function Q(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+j.call(e.toString(16))}function X(t){return"Object("+t+")"}function J(t){return t+" { ? }"}function K(t,e,r,n){return t+" ("+e+") {"+(n?Z(r,n):_.call(r,", "))+"}"}function Z(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+_.call(t,","+r)+"\n"+e.prev}function Y(t,e){var r=U(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=W(t,o)?e(t[o],t):""}var i,a="function"==typeof E?E(t):[];if(C){i={};for(var c=0;c<a.length;c++)i["$"+a[c]]=a[c]}for(var s in t)W(t,s)&&(r&&String(Number(s))===s&&s<t.length||C&&i["$"+s]instanceof Symbol||(O.call(/[^\w$]/,s)?n.push(e(s,t)+": "+e(t[s],t)):n.push(s+": "+e(t[s],t))));if("function"==typeof E)for(var u=0;u<a.length;u++)I.call(t,a[u])&&n.push("["+e(a[u])+"]: "+e(t[a[u]],t));return n}},4:function(t,e,r){var n;t=r.nmd(t),function(o){e&&e.nodeType,t&&t.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var a,c=2147483647,s=36,u=26,l=38,f=700,p=/^xn--/,y=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=s-1,g=Math.floor,m=String.fromCharCode;function b(t){throw new RangeError(d[t])}function j(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function w(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+j((t=t.replace(h,".")).split("."),e).join(".")}function O(t){for(var e,r,n=[],o=0,i=t.length;o<i;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<i?56320==(64512&(r=t.charCodeAt(o++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),o--):n.push(e);return n}function S(t){return j(t,(function(t){var e="";return t>65535&&(e+=m((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+m(t)})).join("")}function _(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function A(t,e,r){var n=0;for(t=r?g(t/f):t>>1,t+=g(t/e);t>v*u>>1;n+=s)t=g(t/v);return g(n+(v+1)*t/(t+l))}function x(t){var e,r,n,o,i,a,l,f,p,y,h,d=[],v=t.length,m=0,j=128,w=72;for((r=t.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&b("not-basic"),d.push(t.charCodeAt(n));for(o=r>0?r+1:0;o<v;){for(i=m,a=1,l=s;o>=v&&b("invalid-input"),((f=(h=t.charCodeAt(o++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:s)>=s||f>g((c-m)/a))&&b("overflow"),m+=f*a,!(f<(p=l<=w?1:l>=w+u?u:l-w));l+=s)a>g(c/(y=s-p))&&b("overflow"),a*=y;w=A(m-i,e=d.length+1,0==i),g(m/e)>c-j&&b("overflow"),j+=g(m/e),m%=e,d.splice(m++,0,j)}return S(d)}function P(t){var e,r,n,o,i,a,l,f,p,y,h,d,v,j,w,S=[];for(d=(t=O(t)).length,e=128,r=0,i=72,a=0;a<d;++a)(h=t[a])<128&&S.push(m(h));for(n=o=S.length,o&&S.push("-");n<d;){for(l=c,a=0;a<d;++a)(h=t[a])>=e&&h<l&&(l=h);for(l-e>g((c-r)/(v=n+1))&&b("overflow"),r+=(l-e)*v,e=l,a=0;a<d;++a)if((h=t[a])<e&&++r>c&&b("overflow"),h==e){for(f=r,p=s;!(f<(y=p<=i?1:p>=i+u?u:p-i));p+=s)w=f-y,j=s-y,S.push(m(_(y+w%j,0))),f=g(w/j);S.push(m(_(f,0))),i=A(r,v,n==o),r=0,++n}++r,++e}return S.join("")}a={version:"1.4.1",ucs2:{decode:O,encode:S},decode:x,encode:P,toASCII:function(t){return w(t,(function(t){return y.test(t)?"xn--"+P(t):t}))},toUnicode:function(t){return w(t,(function(t){return p.test(t)?x(t.slice(4).toLowerCase()):t}))}},void 0===(n=function(){return a}.call(e,r,e,t))||(t.exports=n)}()},382:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},787:(t,e,r)=>{"use strict";var n=r(977),o=r(106),i=r(382);t.exports={formats:i,parse:o,stringify:n}},106:(t,e,r)=>{"use strict";var n=r(471),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},s=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,c=r.depth>0&&/(\[[^[\]]*])/.exec(i),u=c?i.slice(0,c.index):i,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}for(var f=0;r.depth>0&&null!==(c=a.exec(i))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+i.slice(c.index)+"]"),function(t,e,r,n){for(var o=n?e:s(e,r),i=t.length-1;i>=0;--i){var a,c=t[i];if("[]"===c&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,l=parseInt(u,10);r.parseArrays||""!==u?!isNaN(l)&&c!==u&&String(l)===u&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(l,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var r,u={__proto__:null},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,p=l.split(e.delimiter,f),y=-1,h=e.charset;if(e.charsetSentinel)for(r=0;r<p.length;++r)0===p[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[r]?h="utf-8":"utf8=%26%2310003%3B"===p[r]&&(h="iso-8859-1"),y=r,r=p.length);for(r=0;r<p.length;++r)if(r!==y){var d,v,g=p[r],m=g.indexOf("]="),b=-1===m?g.indexOf("="):m+1;-1===b?(d=e.decoder(g,a.decoder,h,"key"),v=e.strictNullHandling?null:""):(d=e.decoder(g.slice(0,b),a.decoder,h,"key"),v=n.maybeMap(s(g.slice(b+1),e),(function(t){return e.decoder(t,a.decoder,h,"value")}))),v&&e.interpretNumericEntities&&"iso-8859-1"===h&&(v=c(v)),g.indexOf("[]=")>-1&&(v=i(v)?[v]:v),o.call(u,d)?u[d]=n.combine(u[d],v):u[d]=v}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},p=Object.keys(l),y=0;y<p.length;++y){var h=p[y],d=u(h,l[h],r,"string"==typeof t);f=n.merge(f,d,r)}return!0===r.allowSparse?f:n.compact(f)}},977:(t,e,r)=>{"use strict";var n=r(714),o=r(471),i=r(382),a=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,u=Array.prototype.push,l=function(t,e){u.apply(t,s(e)?e:[e])},f=Date.prototype.toISOString,p=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},h={},d=function t(e,r,i,a,c,u,f,p,d,v,g,m,b,j,w,O){for(var S,_=e,A=O,x=0,P=!1;void 0!==(A=A.get(h))&&!P;){var E=A.get(e);if(x+=1,void 0!==E){if(E===x)throw new RangeError("Cyclic object value");P=!0}void 0===A.get(h)&&(x=0)}if("function"==typeof p?_=p(r,_):_ instanceof Date?_=g(_):"comma"===i&&s(_)&&(_=o.maybeMap(_,(function(t){return t instanceof Date?g(t):t}))),null===_){if(c)return f&&!j?f(r,y.encoder,w,"key",m):r;_=""}if("string"==typeof(S=_)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||o.isBuffer(_))return f?[b(j?r:f(r,y.encoder,w,"key",m))+"="+b(f(_,y.encoder,w,"value",m))]:[b(r)+"="+b(String(_))];var k,C=[];if(void 0===_)return C;if("comma"===i&&s(_))j&&f&&(_=o.maybeMap(_,f)),k=[{value:_.length>0?_.join(",")||null:void 0}];else if(s(p))k=p;else{var R=Object.keys(_);k=d?R.sort(d):R}for(var I=a&&s(_)&&1===_.length?r+"[]":r,F=0;F<k.length;++F){var B=k[F],M="object"==typeof B&&void 0!==B.value?B.value:_[B];if(!u||null!==M){var N=s(_)?"function"==typeof i?i(I,B):I:I+(v?"."+B:"["+B+"]");O.set(e,x);var T=n();T.set(h,O),l(C,t(M,N,i,a,c,u,"comma"===i&&j&&s(_)?null:f,p,d,v,g,m,b,j,w,T))}}return C};t.exports=function(t,e){var r,o=t,u=function(t){if(!t)return y;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||y.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==t.format){if(!a.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=i.formatters[r],o=y.filter;return("function"==typeof t.filter||s(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===t.allowDots?y.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:y.charsetSentinel,delimiter:void 0===t.delimiter?y.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:y.encode,encoder:"function"==typeof t.encoder?t.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:y.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:y.strictNullHandling}}(e);"function"==typeof u.filter?o=(0,u.filter)("",o):s(u.filter)&&(r=u.filter);var f,p=[];if("object"!=typeof o||null===o)return"";f=e&&e.arrayFormat in c?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var h=c[f];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v="comma"===h&&e&&e.commaRoundTrip;r||(r=Object.keys(o)),u.sort&&r.sort(u.sort);for(var g=n(),m=0;m<r.length;++m){var b=r[m];u.skipNulls&&null===o[b]||l(p,d(o[b],b,h,v,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,g))}var j=p.join(u.delimiter),w=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),j.length>0?w+j:""}},471:(t,e,r)=>{"use strict";var n=r(382),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r};t.exports={arrayToObject:c,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],a=o.obj[o.prop],c=Object.keys(a),s=0;s<c.length;++s){var u=c[s],l=a[u];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(e.push({obj:a,prop:u}),r.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,o,i){if(0===t.length)return t;var c=t;if("symbol"==typeof t?c=Symbol.prototype.toString.call(t):"string"!=typeof t&&(c=String(t)),"iso-8859-1"===r)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var s="",u=0;u<c.length;++u){var l=c.charCodeAt(u);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===n.RFC1738&&(40===l||41===l)?s+=c.charAt(u):l<128?s+=a[l]:l<2048?s+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?s+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),s+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return s},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(i(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var a=e;return i(e)&&!i(r)&&(a=c(e,n)),i(e)&&i(r)?(r.forEach((function(r,i){if(o.call(e,i)){var a=e[i];a&&"object"==typeof a&&r&&"object"==typeof r?e[i]=t(a,r,n):e.push(r)}else e[i]=r})),e):Object.keys(r).reduce((function(e,i){var a=r[i];return o.call(e,i)?e[i]=t(e[i],a,n):e[i]=a,e}),a)}}},717:(t,e,r)=>{"use strict";var n=String.prototype.replace,o=/%20/g,i=r(841),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports=i.assign({default:a.RFC3986,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}}},a)},831:(t,e,r)=>{"use strict";var n=r(128),o=r(665),i=r(717);t.exports={formats:i,parse:o,stringify:n}},665:(t,e,r)=>{"use strict";var n=r(841),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},s=function(t,e,r){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(n),c=a?n.slice(0,a.index):n,s=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;s.push(c)}for(var u=0;r.depth>0&&null!==(a=i.exec(n))&&u<r.depth;){if(u+=1,!r.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+n.slice(a.index)+"]"),function(t,e,r){for(var n=e,o=t.length-1;o>=0;--o){var i,a=t[o];if("[]"===a&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(c,10);r.parseArrays||""!==c?!isNaN(s)&&a!==c&&String(s)===c&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(i=[])[s]=n:i[c]=n:i={0:n}}n=i}return n}(s,e,r)}};t.exports=function(t,e){var r=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var r,s={},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=u.split(e.delimiter,l),p=-1,y=e.charset;if(e.charsetSentinel)for(r=0;r<f.length;++r)0===f[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[r]?y="utf-8":"utf8=%26%2310003%3B"===f[r]&&(y="iso-8859-1"),p=r,r=f.length);for(r=0;r<f.length;++r)if(r!==p){var h,d,v=f[r],g=v.indexOf("]="),m=-1===g?v.indexOf("="):g+1;-1===m?(h=e.decoder(v,a.decoder,y,"key"),d=e.strictNullHandling?null:""):(h=e.decoder(v.slice(0,m),a.decoder,y,"key"),d=e.decoder(v.slice(m+1),a.decoder,y,"value")),d&&e.interpretNumericEntities&&"iso-8859-1"===y&&(d=c(d)),d&&"string"==typeof d&&e.comma&&d.indexOf(",")>-1&&(d=d.split(",")),v.indexOf("[]=")>-1&&(d=i(d)?[d]:d),o.call(s,h)?s[h]=n.combine(s[h],d):s[h]=d}return s}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var y=f[p],h=s(y,u[y],r);l=n.merge(l,h,r)}return n.compact(l)}},128:(t,e,r)=>{"use strict";var n=r(841),o=r(717),i=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,s=Array.prototype.push,u=function(t,e){s.apply(t,c(e)?e:[e])},l=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,o,i,a,s,l,f,y,h,d,v,g){var m,b=e;if("function"==typeof l?b=l(r,b):b instanceof Date?b=h(b):"comma"===o&&c(b)&&(b=b.join(",")),null===b){if(i)return s&&!v?s(r,p.encoder,g,"key"):r;b=""}if("string"==typeof(m=b)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||n.isBuffer(b))return s?[d(v?r:s(r,p.encoder,g,"key"))+"="+d(s(b,p.encoder,g,"value"))]:[d(r)+"="+d(String(b))];var j,w=[];if(void 0===b)return w;if(c(l))j=l;else{var O=Object.keys(b);j=f?O.sort(f):O}for(var S=0;S<j.length;++S){var _=j[S];a&&null===b[_]||(c(b)?u(w,t(b[_],"function"==typeof o?o(r,_):r,o,i,a,s,l,f,y,h,d,v,g)):u(w,t(b[_],r+(y?"."+_:"["+_+"]"),o,i,a,s,l,f,y,h,d,v,g)))}return w};t.exports=function(t,e){var r,n=t,s=function(t){if(!t)return p;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==t.format){if(!i.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=o.formatters[r],a=p.filter;return("function"==typeof t.filter||c(t.filter))&&(a=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===t.allowDots?p.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,delimiter:void 0===t.delimiter?p.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:p.encode,encoder:"function"==typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:a,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}}(e);"function"==typeof s.filter?n=(0,s.filter)("",n):c(s.filter)&&(r=s.filter);var l,f=[];if("object"!=typeof n||null===n)return"";l=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var h=a[l];r||(r=Object.keys(n)),s.sort&&r.sort(s.sort);for(var d=0;d<r.length;++d){var v=r[d];s.skipNulls&&null===n[v]||u(f,y(n[v],v,h,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.formatter,s.encodeValuesOnly,s.charset))}var g=f.join(s.delimiter),m=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),g.length>0?m+g:""}},841:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r=Array.isArray,n=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),o=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r};t.exports={arrayToObject:o,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],o=0;o<e.length;++o)for(var i=e[o],a=i.obj[i.prop],c=Object.keys(a),s=0;s<c.length;++s){var u=c[s],l=a[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(e.push({obj:a,prop:u}),n.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(r(n)){for(var o=[],i=0;i<n.length;++i)void 0!==n[i]&&o.push(n[i]);e.obj[e.prop]=o}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r){if(0===t.length)return t;var o=t;if("symbol"==typeof t?o=Symbol.prototype.toString.call(t):"string"!=typeof t&&(o=String(t)),"iso-8859-1"===r)return escape(o).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var i="",a=0;a<o.length;++a){var c=o.charCodeAt(a);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?i+=o.charAt(a):c<128?i+=n[c]:c<2048?i+=n[192|c>>6]+n[128|63&c]:c<55296||c>=57344?i+=n[224|c>>12]+n[128|c>>6&63]+n[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(a)),i+=n[240|c>>18]+n[128|c>>12&63]+n[128|c>>6&63]+n[128|63&c])}return i},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},merge:function t(n,i,a){if(!i)return n;if("object"!=typeof i){if(r(n))n.push(i);else{if(!n||"object"!=typeof n)return[n,i];(a&&(a.plainObjects||a.allowPrototypes)||!e.call(Object.prototype,i))&&(n[i]=!0)}return n}if(!n||"object"!=typeof n)return[n].concat(i);var c=n;return r(n)&&!r(i)&&(c=o(n,a)),r(n)&&r(i)?(i.forEach((function(r,o){if(e.call(n,o)){var i=n[o];i&&"object"==typeof i&&r&&"object"==typeof r?n[o]=t(i,r,a):n.push(r)}else n[o]=r})),n):Object.keys(i).reduce((function(r,n){var o=i[n];return e.call(r,n)?r[n]=t(r[n],o,a):r[n]=o,r}),c)}}},714:(t,e,r)=>{"use strict";var n=r(870),o=r(99),i=r(538),a=n("%TypeError%"),c=n("%WeakMap%",!0),s=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),d=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new a("Side channel does not contain "+i(t))},get:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(t)return u(t,n)}else if(s){if(e)return p(e,n)}else if(r)return function(t,e){var r=d(t,e);return r&&r.value}(r,n)},has:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(t)return f(t,n)}else if(s){if(e)return h(e,n)}else if(r)return function(t,e){return!!d(t,e)}(r,n);return!1},set:function(n,o){c&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new c),l(t,n,o)):s?(e||(e=new s),y(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=d(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n}},728:(t,e,r)=>{"use strict";var n=r(4);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),l=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},d={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=r(787);function m(t,e,r){if(t&&"object"==typeof t&&t instanceof o)return t;var n=new o;return n.parse(t,e,r),n}o.prototype.parse=function(t,e,r){if("string"!=typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),a=-1!==o&&o<t.indexOf("#")?"?":"#",s=t.split(a);s[0]=s[0].replace(/\\/g,"/");var m=t=s.join(a);if(m=m.trim(),!r&&1===t.split("#").length){var b=c.exec(m);if(b)return this.path=m,this.href=m,this.pathname=b[1],b[2]?(this.search=b[2],this.query=e?g.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var j=i.exec(m);if(j){var w=(j=j[0]).toLowerCase();this.protocol=w,m=m.substr(j.length)}if(r||j||m.match(/^\/\/[^@/]+@[^@/]+/)){var O="//"===m.substr(0,2);!O||j&&d[j]||(m=m.substr(2),this.slashes=!0)}if(!d[j]&&(O||j&&!v[j])){for(var S,_,A=-1,x=0;x<f.length;x++)-1!==(P=m.indexOf(f[x]))&&(-1===A||P<A)&&(A=P);for(-1!==(_=-1===A?m.lastIndexOf("@"):m.lastIndexOf("@",A))&&(S=m.slice(0,_),m=m.slice(_+1),this.auth=decodeURIComponent(S)),A=-1,x=0;x<l.length;x++){var P;-1!==(P=m.indexOf(l[x]))&&(-1===A||P<A)&&(A=P)}-1===A&&(A=m.length),this.host=m.slice(0,A),m=m.slice(A),this.parseHost(),this.hostname=this.hostname||"";var E="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!E)for(var k=this.hostname.split(/\./),C=(x=0,k.length);x<C;x++){var R=k[x];if(R&&!R.match(p)){for(var I="",F=0,B=R.length;F<B;F++)R.charCodeAt(F)>127?I+="x":I+=R[F];if(!I.match(p)){var M=k.slice(0,x),N=k.slice(x+1),T=R.match(y);T&&(M.push(T[1]),N.unshift(T[2])),N.length&&(m="/"+N.join(".")+m),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),E||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+D,this.href+=this.host,E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==m[0]&&(m="/"+m))}if(!h[w])for(x=0,C=u.length;x<C;x++){var U=u[x];if(-1!==m.indexOf(U)){var z=encodeURIComponent(U);z===U&&(z=escape(U)),m=m.split(U).join(z)}}var L=m.indexOf("#");-1!==L&&(this.hash=m.substr(L),m=m.slice(0,L));var q=m.indexOf("?");if(-1!==q?(this.search=m.substr(q),this.query=m.substr(q+1),e&&(this.query=g.parse(this.query)),m=m.slice(0,q)):e&&(this.search="",this.query={}),m&&(this.pathname=m),v[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var W=this.search||"";this.path=D+W}return this.href=this.format(),this},o.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,i="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(i=g.stringify(this.query));var a=this.search||i&&"?"+i||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||v[e])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),e+o+(r=r.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+n},o.prototype.resolve=function(t){return this.resolveObject(m(t,!1,!0)).format()},o.prototype.resolveObject=function(t){if("string"==typeof t){var e=new o;e.parse(t,!1,!0),t=e}for(var r=new o,n=Object.keys(this),i=0;i<n.length;i++){var a=n[i];r[a]=this[a]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var c=Object.keys(t),s=0;s<c.length;s++){var u=c[s];"protocol"!==u&&(r[u]=t[u])}return v[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!v[t.protocol]){for(var l=Object.keys(t),f=0;f<l.length;f++){var p=l[f];r[p]=t[p]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||d[t.protocol])r.pathname=t.pathname;else{for(var y=(t.pathname||"").split("/");y.length&&!(t.host=y.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==y[0]&&y.unshift(""),y.length<2&&y.unshift(""),r.pathname=y.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var h=r.pathname||"",g=r.search||"";r.path=h+g}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var m=r.pathname&&"/"===r.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),j=b||m||r.host&&t.pathname,w=j,O=r.pathname&&r.pathname.split("/")||[],S=(y=t.pathname&&t.pathname.split("/")||[],r.protocol&&!v[r.protocol]);if(S&&(r.hostname="",r.port=null,r.host&&(""===O[0]?O[0]=r.host:O.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===y[0]?y[0]=t.host:y.unshift(t.host)),t.host=null),j=j&&(""===y[0]||""===O[0])),b)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,O=y;else if(y.length)O||(O=[]),O.pop(),O=O.concat(y),r.search=t.search,r.query=t.query;else if(null!=t.search)return S&&(r.host=O.shift(),r.hostname=r.host,(E=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=E.shift(),r.hostname=E.shift(),r.host=r.hostname)),r.search=t.search,r.query=t.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!O.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var _=O.slice(-1)[0],A=(r.host||t.host||O.length>1)&&("."===_||".."===_)||""===_,x=0,P=O.length;P>=0;P--)"."===(_=O[P])?O.splice(P,1):".."===_?(O.splice(P,1),x++):x&&(O.splice(P,1),x--);if(!j&&!w)for(;x--;x)O.unshift("..");!j||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),A&&"/"!==O.join("/").substr(-1)&&O.push("");var E,k=""===O[0]||O[0]&&"/"===O[0].charAt(0);return S&&(r.hostname=k?"":O.length?O.shift():"",r.host=r.hostname,(E=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=E.shift(),r.hostname=E.shift(),r.host=r.hostname)),(j=j||r.host&&O.length)&&!k&&O.unshift(""),O.length>0?r.pathname=O.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.Qc=m},972:e=>{"use strict";e.exports=t},10:()=>{},2:()=>{}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return e[t].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};return(()=>{"use strict";n.d(o,{default:()=>Ur});var t=n(972),e=n.n(t),r=n(168),i=n.n(r);const a="object"==typeof global&&global&&global.Object===Object&&global;var c="object"==typeof self&&self&&self.Object===Object&&self;const s=a||c||Function("return this")(),u=s.Symbol;var l=Object.prototype,f=l.hasOwnProperty,p=l.toString,y=u?u.toStringTag:void 0;var h=Object.prototype.toString;var d=u?u.toStringTag:void 0;const v=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":d&&d in Object(t)?function(t){var e=f.call(t,y),r=t[y];try{t[y]=void 0;var n=!0}catch(t){}var o=p.call(t);return n&&(e?t[y]=r:delete t[y]),o}(t):function(t){return h.call(t)}(t)},g=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},m=function(t){if(!g(t))return!1;var e=v(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},b=s["__core-js_shared__"];var j,w=(j=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"";var O=Function.prototype.toString;const S=function(t){if(null!=t){try{return O.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var _=/^\[object .+?Constructor\]$/,A=Function.prototype,x=Object.prototype,P=A.toString,E=x.hasOwnProperty,k=RegExp("^"+P.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const C=function(t){return!(!g(t)||(e=t,w&&w in e))&&(m(t)?k:_).test(S(t));var e},R=function(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return C(r)?r:void 0},I=function(){try{var t=R(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),F=function(t,e,r){"__proto__"==e&&I?I(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},B=function(t,e,r){for(var n=-1,o=Object(t),i=r(t),a=i.length;a--;){var c=i[++n];if(!1===e(o[c],c,o))break}return t},M=function(t){return null!=t&&"object"==typeof t},N=function(t){return M(t)&&"[object Arguments]"==v(t)};var T=Object.prototype,D=T.hasOwnProperty,H=T.propertyIsEnumerable;const U=N(function(){return arguments}())?N:function(t){return M(t)&&D.call(t,"callee")&&!H.call(t,"callee")},z=Array.isArray;var L="object"==typeof exports&&exports&&!exports.nodeType&&exports,q=L&&"object"==typeof module&&module&&!module.nodeType&&module,W=q&&q.exports===L?s.Buffer:void 0;const $=(W?W.isBuffer:void 0)||function(){return!1};var G=/^(?:0|[1-9]\d*)$/;const V=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&G.test(t))&&t>-1&&t%1==0&&t<e},Q=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var X={};X["[object Float32Array]"]=X["[object Float64Array]"]=X["[object Int8Array]"]=X["[object Int16Array]"]=X["[object Int32Array]"]=X["[object Uint8Array]"]=X["[object Uint8ClampedArray]"]=X["[object Uint16Array]"]=X["[object Uint32Array]"]=!0,X["[object Arguments]"]=X["[object Array]"]=X["[object ArrayBuffer]"]=X["[object Boolean]"]=X["[object DataView]"]=X["[object Date]"]=X["[object Error]"]=X["[object Function]"]=X["[object Map]"]=X["[object Number]"]=X["[object Object]"]=X["[object RegExp]"]=X["[object Set]"]=X["[object String]"]=X["[object WeakMap]"]=!1;const J=function(t){return function(e){return t(e)}};var K="object"==typeof exports&&exports&&!exports.nodeType&&exports,Z=K&&"object"==typeof module&&module&&!module.nodeType&&module,Y=Z&&Z.exports===K&&a.process,tt=function(){try{return Z&&Z.require&&Z.require("util").types||Y&&Y.binding&&Y.binding("util")}catch(t){}}(),et=tt&&tt.isTypedArray;const rt=et?J(et):function(t){return M(t)&&Q(t.length)&&!!X[v(t)]};var nt=Object.prototype.hasOwnProperty;const ot=function(t,e){var r=z(t),n=!r&&U(t),o=!r&&!n&&$(t),i=!r&&!n&&!o&&rt(t),a=r||n||o||i,c=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],s=c.length;for(var u in t)!e&&!nt.call(t,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||V(u,s))||c.push(u);return c};var it=Object.prototype;const at=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||it)},ct=(st=Object.keys,ut=Object,function(t){return st(ut(t))});var st,ut,lt=Object.prototype.hasOwnProperty;const ft=function(t){if(!at(t))return ct(t);var e=[];for(var r in Object(t))lt.call(t,r)&&"constructor"!=r&&e.push(r);return e},pt=function(t){return null!=t&&Q(t.length)&&!m(t)},yt=function(t){return pt(t)?ot(t):ft(t)},ht=function(t,e){return t&&B(t,e,yt)},dt=function(t,e){return t===e||t!=t&&e!=e},vt=function(t,e){for(var r=t.length;r--;)if(dt(t[r][0],e))return r;return-1};var gt=Array.prototype.splice;function mt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}mt.prototype.clear=function(){this.__data__=[],this.size=0},mt.prototype.delete=function(t){var e=this.__data__,r=vt(e,t);return!(r<0||(r==e.length-1?e.pop():gt.call(e,r,1),--this.size,0))},mt.prototype.get=function(t){var e=this.__data__,r=vt(e,t);return r<0?void 0:e[r][1]},mt.prototype.has=function(t){return vt(this.__data__,t)>-1},mt.prototype.set=function(t,e){var r=this.__data__,n=vt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};const bt=mt,jt=R(s,"Map"),wt=R(Object,"create");var Ot=Object.prototype.hasOwnProperty;var St=Object.prototype.hasOwnProperty;function _t(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}_t.prototype.clear=function(){this.__data__=wt?wt(null):{},this.size=0},_t.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},_t.prototype.get=function(t){var e=this.__data__;if(wt){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Ot.call(e,t)?e[t]:void 0},_t.prototype.has=function(t){var e=this.__data__;return wt?void 0!==e[t]:St.call(e,t)},_t.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=wt&&void 0===e?"__lodash_hash_undefined__":e,this};const At=_t,xt=function(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map};function Pt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Pt.prototype.clear=function(){this.size=0,this.__data__={hash:new At,map:new(jt||bt),string:new At}},Pt.prototype.delete=function(t){var e=xt(this,t).delete(t);return this.size-=e?1:0,e},Pt.prototype.get=function(t){return xt(this,t).get(t)},Pt.prototype.has=function(t){return xt(this,t).has(t)},Pt.prototype.set=function(t,e){var r=xt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};const Et=Pt;function kt(t){var e=this.__data__=new bt(t);this.size=e.size}kt.prototype.clear=function(){this.__data__=new bt,this.size=0},kt.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},kt.prototype.get=function(t){return this.__data__.get(t)},kt.prototype.has=function(t){return this.__data__.has(t)},kt.prototype.set=function(t,e){var r=this.__data__;if(r instanceof bt){var n=r.__data__;if(!jt||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Et(n)}return r.set(t,e),this.size=r.size,this};const Ct=kt;function Rt(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Et;++e<r;)this.add(t[e])}Rt.prototype.add=Rt.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rt.prototype.has=function(t){return this.__data__.has(t)};const It=Rt,Ft=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1},Bt=function(t,e,r,n,o,i){var a=1&r,c=t.length,s=e.length;if(c!=s&&!(a&&s>c))return!1;var u=i.get(t),l=i.get(e);if(u&&l)return u==e&&l==t;var f=-1,p=!0,y=2&r?new It:void 0;for(i.set(t,e),i.set(e,t);++f<c;){var h=t[f],d=e[f];if(n)var v=a?n(d,h,f,e,t,i):n(h,d,f,t,e,i);if(void 0!==v){if(v)continue;p=!1;break}if(y){if(!Ft(e,(function(t,e){if(a=e,!y.has(a)&&(h===t||o(h,t,r,n,i)))return y.push(e);var a}))){p=!1;break}}else if(h!==d&&!o(h,d,r,n,i)){p=!1;break}}return i.delete(t),i.delete(e),p},Mt=s.Uint8Array,Nt=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r},Tt=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var Dt=u?u.prototype:void 0,Ht=Dt?Dt.valueOf:void 0;const Ut=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t};var zt=Object.prototype.propertyIsEnumerable,Lt=Object.getOwnPropertySymbols;const qt=Lt?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}(Lt(t),(function(e){return zt.call(t,e)})))}:function(){return[]},Wt=function(t){return function(t,e,r){var n=e(t);return z(t)?n:Ut(n,r(t))}(t,yt,qt)};var $t=Object.prototype.hasOwnProperty;const Gt=R(s,"DataView"),Vt=R(s,"Promise"),Qt=R(s,"Set"),Xt=R(s,"WeakMap");var Jt="[object Map]",Kt="[object Promise]",Zt="[object Set]",Yt="[object WeakMap]",te="[object DataView]",ee=S(Gt),re=S(jt),ne=S(Vt),oe=S(Qt),ie=S(Xt),ae=v;(Gt&&ae(new Gt(new ArrayBuffer(1)))!=te||jt&&ae(new jt)!=Jt||Vt&&ae(Vt.resolve())!=Kt||Qt&&ae(new Qt)!=Zt||Xt&&ae(new Xt)!=Yt)&&(ae=function(t){var e=v(t),r="[object Object]"==e?t.constructor:void 0,n=r?S(r):"";if(n)switch(n){case ee:return te;case re:return Jt;case ne:return Kt;case oe:return Zt;case ie:return Yt}return e});const ce=ae;var se="[object Arguments]",ue="[object Array]",le="[object Object]",fe=Object.prototype.hasOwnProperty;const pe=function(t,e,r,n,o,i){var a=z(t),c=z(e),s=a?ue:ce(t),u=c?ue:ce(e),l=(s=s==se?le:s)==le,f=(u=u==se?le:u)==le,p=s==u;if(p&&$(t)){if(!$(e))return!1;a=!0,l=!1}if(p&&!l)return i||(i=new Ct),a||rt(t)?Bt(t,e,r,n,o,i):function(t,e,r,n,o,i,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!i(new Mt(t),new Mt(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return dt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=Nt;case"[object Set]":var s=1&n;if(c||(c=Tt),t.size!=e.size&&!s)return!1;var u=a.get(t);if(u)return u==e;n|=2,a.set(t,e);var l=Bt(c(t),c(e),n,o,i,a);return a.delete(t),l;case"[object Symbol]":if(Ht)return Ht.call(t)==Ht.call(e)}return!1}(t,e,s,r,n,o,i);if(!(1&r)){var y=l&&fe.call(t,"__wrapped__"),h=f&&fe.call(e,"__wrapped__");if(y||h){var d=y?t.value():t,v=h?e.value():e;return i||(i=new Ct),o(d,v,r,n,i)}}return!!p&&(i||(i=new Ct),function(t,e,r,n,o,i){var a=1&r,c=Wt(t),s=c.length;if(s!=Wt(e).length&&!a)return!1;for(var u=s;u--;){var l=c[u];if(!(a?l in e:$t.call(e,l)))return!1}var f=i.get(t),p=i.get(e);if(f&&p)return f==e&&p==t;var y=!0;i.set(t,e),i.set(e,t);for(var h=a;++u<s;){var d=t[l=c[u]],v=e[l];if(n)var g=a?n(v,d,l,e,t,i):n(d,v,l,t,e,i);if(!(void 0===g?d===v||o(d,v,r,n,i):g)){y=!1;break}h||(h="constructor"==l)}if(y&&!h){var m=t.constructor,b=e.constructor;m==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(y=!1)}return i.delete(t),i.delete(e),y}(t,e,r,n,o,i))},ye=function t(e,r,n,o,i){return e===r||(null==e||null==r||!M(e)&&!M(r)?e!=e&&r!=r:pe(e,r,n,o,t,i))},he=function(t){return t==t&&!g(t)},de=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}},ve=function(t){var e=function(t){for(var e=yt(t),r=e.length;r--;){var n=e[r],o=t[n];e[r]=[n,o,he(o)]}return e}(t);return 1==e.length&&e[0][2]?de(e[0][0],e[0][1]):function(r){return r===t||function(t,e,r,n){var o=r.length,i=o,a=!n;if(null==t)return!i;for(t=Object(t);o--;){var c=r[o];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++o<i;){var s=(c=r[o])[0],u=t[s],l=c[1];if(a&&c[2]){if(void 0===u&&!(s in t))return!1}else{var f=new Ct;if(n)var p=n(u,l,s,t,e,f);if(!(void 0===p?ye(l,u,3,n,f):p))return!1}}return!0}(r,t,e)}},ge=function(t){return"symbol"==typeof t||M(t)&&"[object Symbol]"==v(t)};var me=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/;const je=function(t,e){if(z(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!ge(t))||be.test(t)||!me.test(t)||null!=e&&t in Object(e)};function we(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(we.Cache||Et),r}we.Cache=Et;var Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Se=/\\(\\)?/g;const _e=(Ae=we((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Oe,(function(t,r,n,o){e.push(n?o.replace(Se,"$1"):r||t)})),e}),(function(t){return 500===xe.size&&xe.clear(),t})),xe=Ae.cache,Ae);var Ae,xe;const Pe=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o};var Ee=u?u.prototype:void 0,ke=Ee?Ee.toString:void 0;const Ce=function t(e){if("string"==typeof e)return e;if(z(e))return Pe(e,t)+"";if(ge(e))return ke?ke.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},Re=function(t){return null==t?"":Ce(t)},Ie=function(t,e){return z(t)?t:je(t,e)?[t]:_e(Re(t))},Fe=function(t){if("string"==typeof t||ge(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e},Be=function(t,e){for(var r=0,n=(e=Ie(e,t)).length;null!=t&&r<n;)t=t[Fe(e[r++])];return r&&r==n?t:void 0},Me=function(t,e,r){var n=null==t?void 0:Be(t,e);return void 0===n?r:n},Ne=function(t,e){return null!=t&&e in Object(t)},Te=function(t,e){return null!=t&&function(t,e,r){for(var n=-1,o=(e=Ie(e,t)).length,i=!1;++n<o;){var a=Fe(e[n]);if(!(i=null!=t&&r(t,a)))break;t=t[a]}return i||++n!=o?i:!!(o=null==t?0:t.length)&&Q(o)&&V(a,o)&&(z(t)||U(t))}(t,e,Ne)},De=function(t){return t},He=function(t){return je(t)?(e=Fe(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return Be(e,t)}}(t);var e},Ue=function(t){return"function"==typeof t?t:null==t?De:"object"==typeof t?z(t)?(e=t[0],r=t[1],je(e)&&he(r)?de(Fe(e),r):function(t){var n=Me(t,e);return void 0===n&&n===r?Te(t,e):ye(r,n,3)}):ve(t):He(t);var e,r};var ze=Object.prototype.hasOwnProperty;const Le=function(t){if(null==t)return!0;if(pt(t)&&(z(t)||"string"==typeof t||"function"==typeof t.splice||$(t)||rt(t)||U(t)))return!t.length;var e=ce(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(at(t))return!ft(t).length;for(var r in t)if(ze.call(t,r))return!1;return!0},qe=function(t){return t!=t},We=function(t){return"string"==typeof t||!z(t)&&M(t)&&"[object String]"==v(t)};var $e=/\s/;var Ge=/^\s+/;const Ve=function(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&$e.test(t.charAt(e)););return e}(t)+1).replace(Ge,""):t};var Qe=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,Je=/^0o[0-7]+$/i,Ke=parseInt;const Ze=function(t){return t?Infinity===(t=function(t){if("number"==typeof t)return t;if(ge(t))return NaN;if(g(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=g(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ve(t);var r=Xe.test(t);return r||Je.test(t)?Ke(t.slice(2),r?2:8):Qe.test(t)?NaN:+t}(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0},Ye=function(t){return null==t?[]:function(t,e){return Pe(e,(function(e){return t[e]}))}(t,yt(t))};var tr=Math.max;const er=function(t,e,r,n){t=pt(t)?t:Ye(t),r=r&&!n?function(t){var e=Ze(t),r=e%1;return e==e?r?e-r:e:0}(r):0;var o=t.length;return r<0&&(r=tr(o+r,0)),We(t)?r<=o&&t.indexOf(e,r)>-1:!!o&&function(t,e,r){return e==e?function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}(t,e,r):function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}(t,qe,r)}(t,e,r)>-1};var rr=n(831),nr=n(665),or=n.n(nr);var ir=Math.floor,ar=Math.random;const cr=function(t,e,r){if(!g(r))return!1;var n=typeof e;return!!("number"==n?pt(r)&&V(e,r.length):"string"==n&&e in r)&&dt(r[e],t)};var sr=parseFloat,ur=Math.min,lr=Math.random;const fr=function(t,e,r){if(r&&"boolean"!=typeof r&&cr(t,e,r)&&(e=r=void 0),void 0===r&&("boolean"==typeof e?(r=e,e=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=Ze(t),void 0===e?(e=t,t=0):e=Ze(e)),t>e){var n=t;t=e,e=n}if(r||t%1||e%1){var o=lr();return ur(t+o*(e-t+sr("1e-"+((o+"").length-1))),e)}return function(t,e){return t+ir(ar()*(e-t+1))}(t,e)};var pr=n(728),yr=n(147),hr=n.n(yr),dr=n(719),vr=n.n(dr),gr=n(899),mr=n.n(gr);var br=u?u.isConcatSpreadable:void 0;const jr=function(t){return z(t)||U(t)||!!(br&&t&&t[br])},wr=function t(e,r,n,o,i){var a=-1,c=e.length;for(n||(n=jr),i||(i=[]);++a<c;){var s=e[a];r>0&&n(s)?r>1?t(s,r-1,n,o,i):Ut(i,s):o||(i[i.length]=s)}return i},Or=(Sr=ht,function(t,e){if(null==t)return t;if(!pt(t))return Sr(t,e);for(var r=t.length,n=-1,o=Object(t);++n<r&&!1!==e(o[n],n,o););return t});var Sr;const _r=function(t,e){var r=-1,n=pt(t)?Array(t.length):[];return Or(t,(function(t,o,i){n[++r]=e(t,o,i)})),n},Ar=function(t,e){if(t!==e){var r=void 0!==t,n=null===t,o=t==t,i=ge(t),a=void 0!==e,c=null===e,s=e==e,u=ge(e);if(!c&&!u&&!i&&t>e||i&&a&&s&&!c&&!u||n&&a&&s||!r&&s||!o)return 1;if(!n&&!i&&!u&&t<e||u&&r&&o&&!n&&!i||c&&r&&o||!a&&o||!s)return-1}return 0},xr=function(t,e,r){e=e.length?Pe(e,(function(t){return z(t)?function(e){return Be(e,1===t.length?t[0]:t)}:t})):[De];var n=-1;return e=Pe(e,J(Ue)),function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}(_r(t,(function(t,r,o){return{criteria:Pe(e,(function(e){return e(t)})),index:++n,value:t}})),(function(t,e){return function(t,e,r){for(var n=-1,o=t.criteria,i=e.criteria,a=o.length,c=r.length;++n<a;){var s=Ar(o[n],i[n]);if(s)return n>=c?s:s*("desc"==r[n]?-1:1)}return t.index-e.index}(t,e,r)}))};var Pr=Math.max;const Er=I?function(t,e){return I(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:De;var kr=Date.now;const Cr=function(t){var e=0,r=0;return function(){var n=kr(),o=16-(n-r);if(r=n,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Er),Rr=function(t,e){return Cr(function(t,e,r){return e=Pr(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,i=Pr(n.length-e,0),a=Array(i);++o<i;)a[o]=n[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=n[o];return c[e]=r(a),function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,c)}}(t,void 0,De),t+"")}((function(t,e){if(null==t)return[];var r=e.length;return r>1&&cr(t,e[0],e[1])?e=[]:r>2&&cr(e[0],e[1],e[2])&&(e=[e[0]]),xr(t,wr(e,1),[])})),Ir=function(t,e){return(z(t)?Pe:_r)(t,Ue(e))},Fr=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t},Br=function(t){return Re(t).toLowerCase()};var Mr={map:Ir,keys:yt,compact:function(t){for(var e=-1,r=null==t?0:t.length,n=0,o=[];++e<r;){var i=t[e];i&&(o[n++]=i)}return o},sortBy:Rr,forEach:function(t,e){return(z(t)?Fr:Or)(t,"function"==typeof(r=e)?r:De);var r}};const Nr=function(t){var e=["X-Gw-Signature","X-Gw-Signature-headers","Accept","Content-MD5","Content-Type","Date"],r="",n="",o=!0;return function(t){var e=t,r=function(t,e){var r={};return e=Ue(e),ht(t,(function(t,n,o){F(r,n,e(t,n,o))})),r}(Mr,(function(t){return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.apply(void 0,[e].concat(o)),n}})),n=Object.assign(r,{value:function(){return e}});return n}(t).keys(t).map((function(r){return!er(e,r)&&{value:t[r],key:Br(r)}})).compact().sortBy((function(t){return t.key})).forEach((function(t){r+="".concat(t.key,":").concat(t.value,"\n"),n+=o?t.key:","+t.key,o=!1})),{transformHeader:r,transformHeaderKeys:n}},Tr=function(t,e){var r,n,o,i,a,c=e.appkey,u=e.appsecret,l=e.originQuery,f=e.contentSign;try{if(c&&u){var p=t.method,y=t.url,h=l?(r=y,Le(n=l)?r:"".concat(r,"?").concat((0,rr.stringify)(n))):y,d=Me(t,"headers")||Me(t,"header"),v=d.Accept,g=(0,pr.Qc)(h,!0),m=g.query,b="",j=m;if(d["Content-Type"]||(d["Content-Type"]="application/json"),d.Accept||(d.Accept="*/*"),t.body&&-1===d["Content-Type"].indexOf("application/x-www-form-urlencoded"))a=t.body,b=Le(a)?"":vr().stringify(mr()(a)),d["Content-MD5"]=b;else{var w=t.body;if(We(w)){var O=or()(w);j=Le(j)?O:Object.assign({},j,O)}}var S=function(t,e){return Le(e)?t:(er(t,"?")?t:t+"?")+e.substring(1)}(g.pathname,function(t){var e="";return function(t,e){var r={};e=Ue(e),ht(t,(function(t,n,o){F(r,e(t,n,o),t)}))}(t,(function(t,r){r&&(Le(t)?e+="&"+r:e+="&"+r+"="+t)})),e}(function(t){var e=Rr(Object.keys(t)),r={};return Ir(e,(function(e){Le(t[e])?r[e]=null:z(t[e])?r[e]=t[e][0]:r[e]=t[e]})),r}(j))),_=d["Content-Type"]?d["Content-Type"]:"";d["X-Gw-Key"]=c,d["X-Gw-Timestamp"]=Re(s.Date.now()),d["X-Gw-Nonce"]=Re(fr(1e12,9999999999999));var A="".concat(p,"\n").concat(v||"*/*","\n").concat(f?b:"","\n").concat(_,"\n\n").concat(Nr(d).transformHeader).concat(decodeURIComponent(S));return console.log("==============",S,"======================"),console.log(A),console.log("==============",S,"======================"),d["X-Gw-Signature"]=(o=A,i=u,vr().stringify(hr()(o,i))),d["X-Gw-Signature-Headers"]=Nr(d).transformHeaderKeys,t}console.warn("检查appkey和appsecret")}catch(t){console.log("error",t)}},Dr={uniAdapter:function(t,e){uni.request({method:t.method,url:t.url,header:t.headers,dataType:t.dataType||"json",data:t.body||{},success:function(t){e({statusCode:t.statusCode,responseText:t.data,headers:t.header,statusMessage:t.errMsg})},fail:function(t){e({statusCode:t.statusCode||0,statusMessage:t.errMsg})}})},wxAdapter:function(t,e){wx.request({method:t.method,url:t.url,header:t.headers,dataType:t.dataType||"text",data:t.body||{},success:function(t){e({statusCode:t.statusCode,responseText:t.data,headers:t.header,statusMessage:t.errMsg})},fail:function(t){e({statusCode:t.statusCode||0,statusMessage:t.errMsg})}})},fetchAdapter:function(t,e,r){fetch(t.url,t).then((function(t){var e=t.headers.get("content-type");return e&&0===e.indexOf("application/json")?t.json():t})).then((function(t){e({statusCode:200,responseText:t})}))},flyAdapter:function(t,r){e().request(t.url,t.data,t).then((function(t){r({statusCode:t.engine.status,responseText:t.engine.responseText,statusMessage:t.engine.statusText})})).catch((function(t){r({statusCode:t.status,statusMessage:t.message})}))}};var Hr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{appkey:"25396816",appsecret:"ba09305bef13bf8c17ace9987c66326f",engineType:"fly",adapter:"fetch"};try{e().engine=XMLHttpRequest;var r=i()((function(e,r){var n=!1;if(t.exclude)if(m(t.exclude))n=t.exclude(e),console.log(n);else for(var o=0;o<t.exclude.length;o++){var i=t.exclude[o];e.url.indexOf(i)>-1&&(n=!0)}var a="".concat(t.adapter?t.adapter:"fetch","Adapter");Dr[a](n||e.headers.noSign?e:Tr(e,t),r)}));console.log(t.engineType),"fly"==t.engineType?(console.log(e().engine),e().engine=r):XMLHttpRequest=r}catch(t){console.warn(t)}};"undefined"!=typeof window&&(console.log("window"),window.gc_rsa=Hr);const Ur=Hr})(),o.default})()));
2
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("flyio")):"function"==typeof define&&define.amd?define(["flyio"],e):"object"==typeof exports?exports.gc_rsa=e(require("flyio")):t.gc_rsa=e(t.flyio)}(this,(t=>(()=>{var e={99:(t,e,r)=>{"use strict";var n=r(870),o=r(755),i=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?o(r):r}},755:(t,e,r)=>{"use strict";var n=r(569),o=r(870),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||n.call(a,i),s=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(t){u=null}t.exports=function(t){var e=c(n,a,arguments);return s&&u&&s(e,"length").configurable&&u(e,"length",{value:1+l(0,t.length-(arguments.length-1))}),e};var f=function(){return c(n,i,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},708:function(t,e,r){var n;t.exports=(n=n||function(t,e){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!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(10)}catch(t){}var o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),a={},c=a.lib={},s=c.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},u=c.WordArray=s.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||f).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;e[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var c=0;c<o;c+=4)e[n+c>>>2]=r[c>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=s.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r<t;r+=4)e.push(o());return new u.init(e,t)}}),l=a.enc={},f=l.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new u.init(r,e/2)}},p=l.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new u.init(r,e)}},y=l.Utf8={stringify:function(t){try{return decodeURIComponent(escape(p.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return p.parse(unescape(encodeURIComponent(t)))}},h=c.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=y.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,c=i/(4*a),s=(c=e?t.ceil(c):t.max((0|c)-this._minBufferSize,0))*a,l=t.min(4*s,i);if(s){for(var f=0;f<s;f+=a)this._doProcessBlock(o,f);r=o.splice(0,s),n.sigBytes-=l}return new u.init(r,l)},clone:function(){var t=s.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),d=(c.Hasher=h.extend({cfg:s.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new d.HMAC.init(t,r).finalize(e)}}}),a.algo={});return a}(Math),n)},719:function(t,e,r){var n,o,i;t.exports=(n=r(708),i=(o=n).lib.WordArray,o.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,n=this._map;t.clamp();for(var o=[],i=0;i<r;i+=3)for(var a=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,c=0;c<4&&i+.75*c<r;c++)o.push(n.charAt(a>>>6*(3-c)&63));var s=n.charAt(64);if(s)for(;o.length%4;)o.push(s);return o.join("")},parse:function(t){var e=t.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<r.length;o++)n[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var c=t.indexOf(a);-1!==c&&(e=c)}return function(t,e,r){for(var n=[],o=0,a=0;a<e;a++)if(a%4){var c=r[t.charCodeAt(a-1)]<<a%4*2|r[t.charCodeAt(a)]>>>6-a%4*2;n[o>>>2]|=c<<24-o%4*8,o++}return i.create(n,o)}(t,e,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)},147:function(t,e,r){var n;t.exports=(n=r(708),r(881),r(541),n.HmacSHA256)},541:function(t,e,r){var n,o,i;t.exports=(o=(n=r(708)).lib.Base,i=n.enc.Utf8,void(n.algo.HMAC=o.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=i.parse(e));var r=t.blockSize,n=4*r;e.sigBytes>n&&(e=t.finalize(e)),e.clamp();for(var o=this._oKey=e.clone(),a=this._iKey=e.clone(),c=o.words,s=a.words,u=0;u<r;u++)c[u]^=1549556828,s[u]^=909522486;o.sigBytes=a.sigBytes=n,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,r=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(r))}})))},899:function(t,e,r){var n;t.exports=(n=r(708),function(t){var e=n,r=e.lib,o=r.WordArray,i=r.Hasher,a=e.algo,c=[];!function(){for(var e=0;e<64;e++)c[e]=4294967296*t.abs(t.sin(e+1))|0}();var s=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=t[e+0],s=t[e+1],y=t[e+2],h=t[e+3],d=t[e+4],v=t[e+5],g=t[e+6],m=t[e+7],b=t[e+8],j=t[e+9],w=t[e+10],O=t[e+11],S=t[e+12],_=t[e+13],A=t[e+14],x=t[e+15],P=i[0],E=i[1],k=i[2],C=i[3];P=u(P,E,k,C,a,7,c[0]),C=u(C,P,E,k,s,12,c[1]),k=u(k,C,P,E,y,17,c[2]),E=u(E,k,C,P,h,22,c[3]),P=u(P,E,k,C,d,7,c[4]),C=u(C,P,E,k,v,12,c[5]),k=u(k,C,P,E,g,17,c[6]),E=u(E,k,C,P,m,22,c[7]),P=u(P,E,k,C,b,7,c[8]),C=u(C,P,E,k,j,12,c[9]),k=u(k,C,P,E,w,17,c[10]),E=u(E,k,C,P,O,22,c[11]),P=u(P,E,k,C,S,7,c[12]),C=u(C,P,E,k,_,12,c[13]),k=u(k,C,P,E,A,17,c[14]),P=l(P,E=u(E,k,C,P,x,22,c[15]),k,C,s,5,c[16]),C=l(C,P,E,k,g,9,c[17]),k=l(k,C,P,E,O,14,c[18]),E=l(E,k,C,P,a,20,c[19]),P=l(P,E,k,C,v,5,c[20]),C=l(C,P,E,k,w,9,c[21]),k=l(k,C,P,E,x,14,c[22]),E=l(E,k,C,P,d,20,c[23]),P=l(P,E,k,C,j,5,c[24]),C=l(C,P,E,k,A,9,c[25]),k=l(k,C,P,E,h,14,c[26]),E=l(E,k,C,P,b,20,c[27]),P=l(P,E,k,C,_,5,c[28]),C=l(C,P,E,k,y,9,c[29]),k=l(k,C,P,E,m,14,c[30]),P=f(P,E=l(E,k,C,P,S,20,c[31]),k,C,v,4,c[32]),C=f(C,P,E,k,b,11,c[33]),k=f(k,C,P,E,O,16,c[34]),E=f(E,k,C,P,A,23,c[35]),P=f(P,E,k,C,s,4,c[36]),C=f(C,P,E,k,d,11,c[37]),k=f(k,C,P,E,m,16,c[38]),E=f(E,k,C,P,w,23,c[39]),P=f(P,E,k,C,_,4,c[40]),C=f(C,P,E,k,a,11,c[41]),k=f(k,C,P,E,h,16,c[42]),E=f(E,k,C,P,g,23,c[43]),P=f(P,E,k,C,j,4,c[44]),C=f(C,P,E,k,S,11,c[45]),k=f(k,C,P,E,x,16,c[46]),P=p(P,E=f(E,k,C,P,y,23,c[47]),k,C,a,6,c[48]),C=p(C,P,E,k,m,10,c[49]),k=p(k,C,P,E,A,15,c[50]),E=p(E,k,C,P,v,21,c[51]),P=p(P,E,k,C,S,6,c[52]),C=p(C,P,E,k,h,10,c[53]),k=p(k,C,P,E,w,15,c[54]),E=p(E,k,C,P,s,21,c[55]),P=p(P,E,k,C,b,6,c[56]),C=p(C,P,E,k,x,10,c[57]),k=p(k,C,P,E,g,15,c[58]),E=p(E,k,C,P,_,21,c[59]),P=p(P,E,k,C,d,6,c[60]),C=p(C,P,E,k,O,10,c[61]),k=p(k,C,P,E,y,15,c[62]),E=p(E,k,C,P,j,21,c[63]),i[0]=i[0]+P|0,i[1]=i[1]+E|0,i[2]=i[2]+k|0,i[3]=i[3]+C|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;r[o>>>5]|=128<<24-o%32;var i=t.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(r.length+1),this._process();for(var c=this._hash,s=c.words,u=0;u<4;u++){var l=s[u];s[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return c},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function u(t,e,r,n,o,i,a){var c=t+(e&r|~e&n)+o+a;return(c<<i|c>>>32-i)+e}function l(t,e,r,n,o,i,a){var c=t+(e&n|r&~n)+o+a;return(c<<i|c>>>32-i)+e}function f(t,e,r,n,o,i,a){var c=t+(e^r^n)+o+a;return(c<<i|c>>>32-i)+e}function p(t,e,r,n,o,i,a){var c=t+(r^(e|~n))+o+a;return(c<<i|c>>>32-i)+e}e.MD5=i._createHelper(s),e.HmacMD5=i._createHmacHelper(s)}(Math),n.MD5)},881:function(t,e,r){var n;t.exports=(n=r(708),function(t){var e=n,r=e.lib,o=r.WordArray,i=r.Hasher,a=e.algo,c=[],s=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(t){return 4294967296*(t-(0|t))|0}for(var n=2,o=0;o<64;)e(n)&&(o<8&&(c[o]=r(t.pow(n,.5))),s[o]=r(t.pow(n,1/3)),o++),n++}();var u=[],l=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],c=r[4],l=r[5],f=r[6],p=r[7],y=0;y<64;y++){if(y<16)u[y]=0|t[e+y];else{var h=u[y-15],d=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,v=u[y-2],g=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;u[y]=d+u[y-7]+g+u[y-16]}var m=n&o^n&i^o&i,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),j=p+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&l^~c&f)+s[y]+u[y];p=f,f=l,l=c,c=a+j|0,a=i,i=o,o=n,n=j+(b+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0,r[5]=r[5]+l|0,r[6]=r[6]+f|0,r[7]=r[7]+p|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=t.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=i._createHelper(l),e.HmacSHA256=i._createHmacHelper(l)}(Math),n.SHA256)},168:function(t){var e;e=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.i=function(t){return t},r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports={type:function(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()},isObject:function(t,e){return e?"object"===this.type(t):t&&"object"===(void 0===t?"undefined":n(t))},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},trim:function(t){return t.replace(/(^\s*)|(\s*$)/g,"")},encode:function(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")},formatParams:function(t){var e="",r=!0,n=this;return this.isObject(t)?(function t(o,i){var a=n.encode,c=n.type(o);if("array"==c)o.forEach((function(e,r){n.isObject(e)||(r=""),t(e,i+"%5B"+r+"%5D")}));else if("object"==c)for(var s in o)t(o[s],i?i+"%5B"+a(s)+"%5D":a(s));else r||(e+="&"),r=!1,e+=i+"="+a(o)}(t,""),e):t},merge:function(t,e){for(var r in e)t.hasOwnProperty(r)?this.isObject(e[r],1)&&this.isObject(t[r],1)&&this.merge(t[r],e[r]):t[r]=e[r];return t}}},function(t,e,r){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),a="undefined"!=typeof document;t.exports=function(t){var e=function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.requestHeaders={},this.readyState=0,this.timeout=0,this.responseURL="",this.responseHeaders={}}return o(e,[{key:"_call",value:function(t){this[t]&&this[t].apply(this,[].splice.call(arguments,1))}},{key:"_changeReadyState",value:function(t){this.readyState=t,this._call("onreadystatechange")}},{key:"open",value:function(t,e){if(this.method=t,e){if(0!==(e=i.trim(e)).indexOf("http")&&a){var r=document.createElement("a");r.href=e,e=r.href}}else e=location.href;this.responseURL=e,this._changeReadyState(1)}},{key:"send",value:function(e){var r=this;e=e||null;var o=this;if(t){var c={method:o.method,url:o.responseURL,headers:o.requestHeaders||{},body:e};i.merge(c,o._options||{}),"GET"===c.method&&(c.body=null),o._changeReadyState(3);var s=void 0;o.timeout=o.timeout||0,o.timeout>0&&(s=setTimeout((function(){3===o.readyState&&(r._call("onloadend"),o._changeReadyState(0),o._call("ontimeout"))}),o.timeout)),c.timeout=o.timeout,t(c,(function(t){function e(e){var r=t[e];return delete t[e],r}if(3===o.readyState){clearTimeout(s),o.status=e("statusCode")-0;var r=e("responseText"),i=e("statusMessage");if(o.status){var c=e("headers"),u={};for(var l in c){var f=c[l],p=l.toLowerCase();"object"===(void 0===f?"undefined":n(f))?u[p]=f:(u[p]=u[p]||[],u[p].push(f))}var y=u["set-cookie"];a&&y&&y.forEach((function(t){document.cookie=t.replace(/;\s*httpOnly/gi,"")})),o.responseHeaders=u,o.statusText=i||"",o.response=o.responseText=r,o._response=t,o._changeReadyState(4),o._call("onload")}else o.statusText=r,o._call("onerror",{msg:i});o._call("onloadend")}}))}else console.error("Ajax require adapter")}},{key:"setRequestHeader",value:function(t,e){this.requestHeaders[i.trim(t)]=e}},{key:"getResponseHeader",value:function(t){return(this.responseHeaders[t.toLowerCase()]||"").toString()||null}},{key:"getAllResponseHeaders",value:function(){var t="";for(var e in this.responseHeaders)t+=e+":"+this.getResponseHeader(e)+"\r\n";return t||null}},{key:"abort",value:function(t){this._changeReadyState(0),this._call("onerror",{msg:t}),this._call("onloadend")}}],[{key:"setAdapter",value:function(e){t=e}}]),e}();return e}}])},t.exports=e()},640:t=>{"use strict";var e=Array.prototype.slice,r=Object.prototype.toString;t.exports=function(t){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o,i=e.call(arguments,1),a=Math.max(0,n.length-i.length),c=[],s=0;s<a;s++)c.push("$"+s);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=n.apply(this,i.concat(e.call(arguments)));return Object(r)===r?r:this}return n.apply(t,i.concat(e.call(arguments)))})),n.prototype){var u=function(){};u.prototype=n.prototype,o.prototype=new u,u.prototype=null}return o}},569:(t,e,r)=>{"use strict";var n=r(640);t.exports=Function.prototype.bind||n},870:(t,e,r)=>{"use strict";var n,o=SyntaxError,i=Function,a=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(t){s=null}var u=function(){throw new a},l=s?function(){try{return u}catch(t){try{return s(arguments,"callee").get}catch(t){return u}}}():u,f=r(143)(),p=r(413)(),y=Object.getPrototypeOf||(p?function(t){return t.__proto__}:null),h={},d="undefined"!=typeof Uint8Array&&y?y(Uint8Array):n,v={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f&&y?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&y?y(y([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f&&y?y((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f&&y?y((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&y?y(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(y)try{null.error}catch(t){var g=y(y(t));v["%Error.prototype%"]=g}var m=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&y&&(r=y(o.prototype))}return v[e]=r,r},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=r(569),w=r(416),O=j.call(Function.call,Array.prototype.concat),S=j.call(Function.apply,Array.prototype.splice),_=j.call(Function.call,String.prototype.replace),A=j.call(Function.call,String.prototype.slice),x=j.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,k=function(t,e){var r,n=t;if(w(b,n)&&(n="%"+(r=b[n])[0]+"%"),w(v,n)){var i=v[n];if(i===h&&(i=m(n)),void 0===i&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,t))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=A(t,0,1),r=A(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return _(t,P,(function(t,e,r,o){n[n.length]=r?_(o,E,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",i=k("%"+n+"%",e),c=i.name,u=i.value,l=!1,f=i.alias;f&&(n=f[0],S(r,O([0,1],f)));for(var p=1,y=!0;p<r.length;p+=1){var h=r[p],d=A(h,0,1),g=A(h,-1);if(('"'===d||"'"===d||"`"===d||'"'===g||"'"===g||"`"===g)&&d!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&y||(l=!0),w(v,c="%"+(n+="."+h)+"%"))u=v[c];else if(null!=u){if(!(h in u)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(s&&p+1>=r.length){var m=s(u,h);u=(y=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:u[h]}else y=w(u,h),u=u[h];y&&!l&&(v[c]=u)}}return u}},413:t=>{"use strict";var e={foo:{}},r=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof r)}},143:(t,e,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(985);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},985:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},416:(t,e,r)=>{"use strict";var n=r(569);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},538:(t,e,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=c&&s&&"function"==typeof s.get?s.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,d=Object.prototype.toString,v=Function.prototype.toString,g=String.prototype.match,m=String.prototype.slice,b=String.prototype.replace,j=String.prototype.toUpperCase,w=String.prototype.toLowerCase,O=RegExp.prototype.test,S=Array.prototype.concat,_=Array.prototype.join,A=Array.prototype.slice,x=Math.floor,P="function"==typeof BigInt?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,C="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,F=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function B(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||O.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-x(-t):x(t);if(n!==t){var o=String(n),i=m.call(e,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,r,"$&_")}var M=r(2),N=M.custom,T=L(N)?N:null;function D(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function H(t){return b.call(String(t),/"/g,"&quot;")}function U(t){return!("[object Array]"!==$(t)||R&&"object"==typeof t&&R in t)}function z(t){return!("[object RegExp]"!==$(t)||R&&"object"==typeof t&&R in t)}function L(t){if(C)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!k)return!1;try{return k.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,n,o){var c=r||{};if(W(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!W(c,"customInspect")||c.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=c.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return V(e,c);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var j=String(e);return d?B(e,j):j}if("bigint"==typeof e){var O=String(e)+"n";return d?B(e,O):O}var x=void 0===c.depth?5:c.depth;if(void 0===n&&(n=0),n>=x&&x>0&&"object"==typeof e)return U(e)?"[Array]":"[Object]";var E,N=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=_.call(Array(t.indent+1)," ")}return{base:r,prev:_.call(Array(e+1),r)}}(c,n);if(void 0===o)o=[];else if(G(o,e)>=0)return"[Circular]";function q(e,r,i){if(r&&(o=A.call(o)).push(r),i){var a={depth:c.depth};return W(c,"quoteStyle")&&(a.quoteStyle=c.quoteStyle),t(e,a,n+1,o)}return t(e,c,n+1,o)}if("function"==typeof e&&!z(e)){var Q=function(t){if(t.name)return t.name;var e=g.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),tt=Y(e,q);return"[Function"+(Q?": "+Q:" (anonymous)")+"]"+(tt.length>0?" { "+_.call(tt,", ")+" }":"")}if(L(e)){var et=C?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(e);return"object"!=typeof e||C?et:X(et)}if((E=e)&&"object"==typeof E&&("undefined"!=typeof HTMLElement&&E instanceof HTMLElement||"string"==typeof E.nodeName&&"function"==typeof E.getAttribute)){for(var rt="<"+w.call(String(e.nodeName)),nt=e.attributes||[],ot=0;ot<nt.length;ot++)rt+=" "+nt[ot].name+"="+D(H(nt[ot].value),"double",c);return rt+=">",e.childNodes&&e.childNodes.length&&(rt+="..."),rt+"</"+w.call(String(e.nodeName))+">"}if(U(e)){if(0===e.length)return"[]";var it=Y(e,q);return N&&!function(t){for(var e=0;e<t.length;e++)if(G(t[e],"\n")>=0)return!1;return!0}(it)?"["+Z(it,N)+"]":"[ "+_.call(it,", ")+" ]"}if(function(t){return!("[object Error]"!==$(t)||R&&"object"==typeof t&&R in t)}(e)){var at=Y(e,q);return"cause"in Error.prototype||!("cause"in e)||I.call(e,"cause")?0===at.length?"["+String(e)+"]":"{ ["+String(e)+"] "+_.call(at,", ")+" }":"{ ["+String(e)+"] "+_.call(S.call("[cause]: "+q(e.cause),at),", ")+" }"}if("object"==typeof e&&s){if(T&&"function"==typeof e[T]&&M)return M(e,{depth:x-n});if("symbol"!==s&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{u.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var ct=[];return a&&a.call(e,(function(t,r){ct.push(q(r,e,!0)+" => "+q(t,e))})),K("Map",i.call(e),ct,N)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var st=[];return l&&l.call(e,(function(t){st.push(q(t,e))})),K("Set",u.call(e),st,N)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return J("WeakMap");if(function(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return J("WeakSet");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{return y.call(t),!0}catch(t){}return!1}(e))return J("WeakRef");if(function(t){return!("[object Number]"!==$(t)||R&&"object"==typeof t&&R in t)}(e))return X(q(Number(e)));if(function(t){if(!t||"object"!=typeof t||!P)return!1;try{return P.call(t),!0}catch(t){}return!1}(e))return X(q(P.call(e)));if(function(t){return!("[object Boolean]"!==$(t)||R&&"object"==typeof t&&R in t)}(e))return X(h.call(e));if(function(t){return!("[object String]"!==$(t)||R&&"object"==typeof t&&R in t)}(e))return X(q(String(e)));if(!function(t){return!("[object Date]"!==$(t)||R&&"object"==typeof t&&R in t)}(e)&&!z(e)){var ut=Y(e,q),lt=F?F(e)===Object.prototype:e instanceof Object||e.constructor===Object,ft=e instanceof Object?"":"null prototype",pt=!lt&&R&&Object(e)===e&&R in e?m.call($(e),8,-1):ft?"Object":"",yt=(lt||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(pt||ft?"["+_.call(S.call([],pt||[],ft||[]),": ")+"] ":"");return 0===ut.length?yt+"{}":N?yt+"{"+Z(ut,N)+"}":yt+"{ "+_.call(ut,", ")+" }"}return String(e)};var q=Object.prototype.hasOwnProperty||function(t){return t in this};function W(t,e){return q.call(t,e)}function $(t){return d.call(t)}function G(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function V(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return V(m.call(t,0,e.maxStringLength),e)+n}return D(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Q),"single",e)}function Q(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+j.call(e.toString(16))}function X(t){return"Object("+t+")"}function J(t){return t+" { ? }"}function K(t,e,r,n){return t+" ("+e+") {"+(n?Z(r,n):_.call(r,", "))+"}"}function Z(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+_.call(t,","+r)+"\n"+e.prev}function Y(t,e){var r=U(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=W(t,o)?e(t[o],t):""}var i,a="function"==typeof E?E(t):[];if(C){i={};for(var c=0;c<a.length;c++)i["$"+a[c]]=a[c]}for(var s in t)W(t,s)&&(r&&String(Number(s))===s&&s<t.length||C&&i["$"+s]instanceof Symbol||(O.call(/[^\w$]/,s)?n.push(e(s,t)+": "+e(t[s],t)):n.push(s+": "+e(t[s],t))));if("function"==typeof E)for(var u=0;u<a.length;u++)I.call(t,a[u])&&n.push("["+e(a[u])+"]: "+e(t[a[u]],t));return n}},4:function(t,e,r){var n;t=r.nmd(t),function(o){e&&e.nodeType,t&&t.nodeType;var i="object"==typeof r.g&&r.g;i.global!==i&&i.window!==i&&i.self;var a,c=2147483647,s=36,u=26,l=38,f=700,p=/^xn--/,y=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=s-1,g=Math.floor,m=String.fromCharCode;function b(t){throw new RangeError(d[t])}function j(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function w(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+j((t=t.replace(h,".")).split("."),e).join(".")}function O(t){for(var e,r,n=[],o=0,i=t.length;o<i;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<i?56320==(64512&(r=t.charCodeAt(o++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),o--):n.push(e);return n}function S(t){return j(t,(function(t){var e="";return t>65535&&(e+=m((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+m(t)})).join("")}function _(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function A(t,e,r){var n=0;for(t=r?g(t/f):t>>1,t+=g(t/e);t>v*u>>1;n+=s)t=g(t/v);return g(n+(v+1)*t/(t+l))}function x(t){var e,r,n,o,i,a,l,f,p,y,h,d=[],v=t.length,m=0,j=128,w=72;for((r=t.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&b("not-basic"),d.push(t.charCodeAt(n));for(o=r>0?r+1:0;o<v;){for(i=m,a=1,l=s;o>=v&&b("invalid-input"),((f=(h=t.charCodeAt(o++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:s)>=s||f>g((c-m)/a))&&b("overflow"),m+=f*a,!(f<(p=l<=w?1:l>=w+u?u:l-w));l+=s)a>g(c/(y=s-p))&&b("overflow"),a*=y;w=A(m-i,e=d.length+1,0==i),g(m/e)>c-j&&b("overflow"),j+=g(m/e),m%=e,d.splice(m++,0,j)}return S(d)}function P(t){var e,r,n,o,i,a,l,f,p,y,h,d,v,j,w,S=[];for(d=(t=O(t)).length,e=128,r=0,i=72,a=0;a<d;++a)(h=t[a])<128&&S.push(m(h));for(n=o=S.length,o&&S.push("-");n<d;){for(l=c,a=0;a<d;++a)(h=t[a])>=e&&h<l&&(l=h);for(l-e>g((c-r)/(v=n+1))&&b("overflow"),r+=(l-e)*v,e=l,a=0;a<d;++a)if((h=t[a])<e&&++r>c&&b("overflow"),h==e){for(f=r,p=s;!(f<(y=p<=i?1:p>=i+u?u:p-i));p+=s)w=f-y,j=s-y,S.push(m(_(y+w%j,0))),f=g(w/j);S.push(m(_(f,0))),i=A(r,v,n==o),r=0,++n}++r,++e}return S.join("")}a={version:"1.4.1",ucs2:{decode:O,encode:S},decode:x,encode:P,toASCII:function(t){return w(t,(function(t){return y.test(t)?"xn--"+P(t):t}))},toUnicode:function(t){return w(t,(function(t){return p.test(t)?x(t.slice(4).toLowerCase()):t}))}},void 0===(n=function(){return a}.call(e,r,e,t))||(t.exports=n)}()},382:t=>{"use strict";var e=String.prototype.replace,r=/%20/g,n="RFC3986";t.exports={default:n,formatters:{RFC1738:function(t){return e.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:n}},787:(t,e,r)=>{"use strict";var n=r(977),o=r(106),i=r(382);t.exports={formats:i,parse:o,stringify:n}},106:(t,e,r)=>{"use strict";var n=r(471),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},s=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u=function(t,e,r,n){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,c=r.depth>0&&/(\[[^[\]]*])/.exec(i),u=c?i.slice(0,c.index):i,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}for(var f=0;r.depth>0&&null!==(c=a.exec(i))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+i.slice(c.index)+"]"),function(t,e,r,n){for(var o=n?e:s(e,r),i=t.length-1;i>=0;--i){var a,c=t[i];if("[]"===c&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,l=parseInt(u,10);r.parseArrays||""!==u?!isNaN(l)&&c!==u&&String(l)===u&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(l,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var r,u={__proto__:null},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,p=l.split(e.delimiter,f),y=-1,h=e.charset;if(e.charsetSentinel)for(r=0;r<p.length;++r)0===p[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[r]?h="utf-8":"utf8=%26%2310003%3B"===p[r]&&(h="iso-8859-1"),y=r,r=p.length);for(r=0;r<p.length;++r)if(r!==y){var d,v,g=p[r],m=g.indexOf("]="),b=-1===m?g.indexOf("="):m+1;-1===b?(d=e.decoder(g,a.decoder,h,"key"),v=e.strictNullHandling?null:""):(d=e.decoder(g.slice(0,b),a.decoder,h,"key"),v=n.maybeMap(s(g.slice(b+1),e),(function(t){return e.decoder(t,a.decoder,h,"value")}))),v&&e.interpretNumericEntities&&"iso-8859-1"===h&&(v=c(v)),g.indexOf("[]=")>-1&&(v=i(v)?[v]:v),o.call(u,d)?u[d]=n.combine(u[d],v):u[d]=v}return u}(t,r):t,f=r.plainObjects?Object.create(null):{},p=Object.keys(l),y=0;y<p.length;++y){var h=p[y],d=u(h,l[h],r,"string"==typeof t);f=n.merge(f,d,r)}return!0===r.allowSparse?f:n.compact(f)}},977:(t,e,r)=>{"use strict";var n=r(714),o=r(471),i=r(382),a=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,u=Array.prototype.push,l=function(t,e){u.apply(t,s(e)?e:[e])},f=Date.prototype.toISOString,p=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},h={},d=function t(e,r,i,a,c,u,f,p,d,v,g,m,b,j,w,O){for(var S,_=e,A=O,x=0,P=!1;void 0!==(A=A.get(h))&&!P;){var E=A.get(e);if(x+=1,void 0!==E){if(E===x)throw new RangeError("Cyclic object value");P=!0}void 0===A.get(h)&&(x=0)}if("function"==typeof p?_=p(r,_):_ instanceof Date?_=g(_):"comma"===i&&s(_)&&(_=o.maybeMap(_,(function(t){return t instanceof Date?g(t):t}))),null===_){if(c)return f&&!j?f(r,y.encoder,w,"key",m):r;_=""}if("string"==typeof(S=_)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||o.isBuffer(_))return f?[b(j?r:f(r,y.encoder,w,"key",m))+"="+b(f(_,y.encoder,w,"value",m))]:[b(r)+"="+b(String(_))];var k,C=[];if(void 0===_)return C;if("comma"===i&&s(_))j&&f&&(_=o.maybeMap(_,f)),k=[{value:_.length>0?_.join(",")||null:void 0}];else if(s(p))k=p;else{var R=Object.keys(_);k=d?R.sort(d):R}for(var I=a&&s(_)&&1===_.length?r+"[]":r,F=0;F<k.length;++F){var B=k[F],M="object"==typeof B&&void 0!==B.value?B.value:_[B];if(!u||null!==M){var N=s(_)?"function"==typeof i?i(I,B):I:I+(v?"."+B:"["+B+"]");O.set(e,x);var T=n();T.set(h,O),l(C,t(M,N,i,a,c,u,"comma"===i&&j&&s(_)?null:f,p,d,v,g,m,b,j,w,T))}}return C};t.exports=function(t,e){var r,o=t,u=function(t){if(!t)return y;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||y.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==t.format){if(!a.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=i.formatters[r],o=y.filter;return("function"==typeof t.filter||s(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===t.allowDots?y.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:y.charsetSentinel,delimiter:void 0===t.delimiter?y.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:y.encode,encoder:"function"==typeof t.encoder?t.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:y.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:y.strictNullHandling}}(e);"function"==typeof u.filter?o=(0,u.filter)("",o):s(u.filter)&&(r=u.filter);var f,p=[];if("object"!=typeof o||null===o)return"";f=e&&e.arrayFormat in c?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var h=c[f];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v="comma"===h&&e&&e.commaRoundTrip;r||(r=Object.keys(o)),u.sort&&r.sort(u.sort);for(var g=n(),m=0;m<r.length;++m){var b=r[m];u.skipNulls&&null===o[b]||l(p,d(o[b],b,h,v,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,g))}var j=p.join(u.delimiter),w=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),j.length>0?w+j:""}},471:(t,e,r)=>{"use strict";var n=r(382),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r};t.exports={arrayToObject:c,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],a=o.obj[o.prop],c=Object.keys(a),s=0;s<c.length;++s){var u=c[s],l=a[u];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(e.push({obj:a,prop:u}),r.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,o,i){if(0===t.length)return t;var c=t;if("symbol"==typeof t?c=Symbol.prototype.toString.call(t):"string"!=typeof t&&(c=String(t)),"iso-8859-1"===r)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var s="",u=0;u<c.length;++u){var l=c.charCodeAt(u);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===n.RFC1738&&(40===l||41===l)?s+=c.charAt(u):l<128?s+=a[l]:l<2048?s+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?s+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(u)),s+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return s},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(i(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var a=e;return i(e)&&!i(r)&&(a=c(e,n)),i(e)&&i(r)?(r.forEach((function(r,i){if(o.call(e,i)){var a=e[i];a&&"object"==typeof a&&r&&"object"==typeof r?e[i]=t(a,r,n):e.push(r)}else e[i]=r})),e):Object.keys(r).reduce((function(e,i){var a=r[i];return o.call(e,i)?e[i]=t(e[i],a,n):e[i]=a,e}),a)}}},717:(t,e,r)=>{"use strict";var n=String.prototype.replace,o=/%20/g,i=r(841),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports=i.assign({default:a.RFC3986,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}}},a)},831:(t,e,r)=>{"use strict";var n=r(128),o=r(665),i=r(717);t.exports={formats:i,parse:o,stringify:n}},665:(t,e,r)=>{"use strict";var n=r(841),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},s=function(t,e,r){if(t){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(n),c=a?n.slice(0,a.index):n,s=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;s.push(c)}for(var u=0;r.depth>0&&null!==(a=i.exec(n))&&u<r.depth;){if(u+=1,!r.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+n.slice(a.index)+"]"),function(t,e,r){for(var n=e,o=t.length-1;o>=0;--o){var i,a=t[o];if("[]"===a&&r.parseArrays)i=[].concat(n);else{i=r.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(c,10);r.parseArrays||""!==c?!isNaN(s)&&a!==c&&String(s)===c&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(i=[])[s]=n:i[c]=n:i={0:n}}n=i}return n}(s,e,r)}};t.exports=function(t,e){var r=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var r,s={},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,l=e.parameterLimit===1/0?void 0:e.parameterLimit,f=u.split(e.delimiter,l),p=-1,y=e.charset;if(e.charsetSentinel)for(r=0;r<f.length;++r)0===f[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[r]?y="utf-8":"utf8=%26%2310003%3B"===f[r]&&(y="iso-8859-1"),p=r,r=f.length);for(r=0;r<f.length;++r)if(r!==p){var h,d,v=f[r],g=v.indexOf("]="),m=-1===g?v.indexOf("="):g+1;-1===m?(h=e.decoder(v,a.decoder,y,"key"),d=e.strictNullHandling?null:""):(h=e.decoder(v.slice(0,m),a.decoder,y,"key"),d=e.decoder(v.slice(m+1),a.decoder,y,"value")),d&&e.interpretNumericEntities&&"iso-8859-1"===y&&(d=c(d)),d&&"string"==typeof d&&e.comma&&d.indexOf(",")>-1&&(d=d.split(",")),v.indexOf("[]=")>-1&&(d=i(d)?[d]:d),o.call(s,h)?s[h]=n.combine(s[h],d):s[h]=d}return s}(t,r):t,l=r.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var y=f[p],h=s(y,u[y],r);l=n.merge(l,h,r)}return n.compact(l)}},128:(t,e,r)=>{"use strict";var n=r(841),o=r(717),i=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,s=Array.prototype.push,u=function(t,e){s.apply(t,c(e)?e:[e])},l=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},y=function t(e,r,o,i,a,s,l,f,y,h,d,v,g){var m,b=e;if("function"==typeof l?b=l(r,b):b instanceof Date?b=h(b):"comma"===o&&c(b)&&(b=b.join(",")),null===b){if(i)return s&&!v?s(r,p.encoder,g,"key"):r;b=""}if("string"==typeof(m=b)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||n.isBuffer(b))return s?[d(v?r:s(r,p.encoder,g,"key"))+"="+d(s(b,p.encoder,g,"value"))]:[d(r)+"="+d(String(b))];var j,w=[];if(void 0===b)return w;if(c(l))j=l;else{var O=Object.keys(b);j=f?O.sort(f):O}for(var S=0;S<j.length;++S){var _=j[S];a&&null===b[_]||(c(b)?u(w,t(b[_],"function"==typeof o?o(r,_):r,o,i,a,s,l,f,y,h,d,v,g)):u(w,t(b[_],r+(y?"."+_:"["+_+"]"),o,i,a,s,l,f,y,h,d,v,g)))}return w};t.exports=function(t,e){var r,n=t,s=function(t){if(!t)return p;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==t.format){if(!i.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=o.formatters[r],a=p.filter;return("function"==typeof t.filter||c(t.filter))&&(a=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===t.allowDots?p.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,delimiter:void 0===t.delimiter?p.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:p.encode,encoder:"function"==typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:a,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}}(e);"function"==typeof s.filter?n=(0,s.filter)("",n):c(s.filter)&&(r=s.filter);var l,f=[];if("object"!=typeof n||null===n)return"";l=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var h=a[l];r||(r=Object.keys(n)),s.sort&&r.sort(s.sort);for(var d=0;d<r.length;++d){var v=r[d];s.skipNulls&&null===n[v]||u(f,y(n[v],v,h,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.formatter,s.encodeValuesOnly,s.charset))}var g=f.join(s.delimiter),m=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),g.length>0?m+g:""}},841:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r=Array.isArray,n=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),o=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r};t.exports={arrayToObject:o,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],o=0;o<e.length;++o)for(var i=e[o],a=i.obj[i.prop],c=Object.keys(a),s=0;s<c.length;++s){var u=c[s],l=a[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(e.push({obj:a,prop:u}),n.push(l))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(r(n)){for(var o=[],i=0;i<n.length;++i)void 0!==n[i]&&o.push(n[i]);e.obj[e.prop]=o}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r){if(0===t.length)return t;var o=t;if("symbol"==typeof t?o=Symbol.prototype.toString.call(t):"string"!=typeof t&&(o=String(t)),"iso-8859-1"===r)return escape(o).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var i="",a=0;a<o.length;++a){var c=o.charCodeAt(a);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?i+=o.charAt(a):c<128?i+=n[c]:c<2048?i+=n[192|c>>6]+n[128|63&c]:c<55296||c>=57344?i+=n[224|c>>12]+n[128|c>>6&63]+n[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(a)),i+=n[240|c>>18]+n[128|c>>12&63]+n[128|c>>6&63]+n[128|63&c])}return i},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},merge:function t(n,i,a){if(!i)return n;if("object"!=typeof i){if(r(n))n.push(i);else{if(!n||"object"!=typeof n)return[n,i];(a&&(a.plainObjects||a.allowPrototypes)||!e.call(Object.prototype,i))&&(n[i]=!0)}return n}if(!n||"object"!=typeof n)return[n].concat(i);var c=n;return r(n)&&!r(i)&&(c=o(n,a)),r(n)&&r(i)?(i.forEach((function(r,o){if(e.call(n,o)){var i=n[o];i&&"object"==typeof i&&r&&"object"==typeof r?n[o]=t(i,r,a):n.push(r)}else n[o]=r})),n):Object.keys(i).reduce((function(r,n){var o=i[n];return e.call(r,n)?r[n]=t(r[n],o,a):r[n]=o,r}),c)}}},714:(t,e,r)=>{"use strict";var n=r(870),o=r(99),i=r(538),a=n("%TypeError%"),c=n("%WeakMap%",!0),s=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),d=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r};t.exports=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new a("Side channel does not contain "+i(t))},get:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(t)return u(t,n)}else if(s){if(e)return p(e,n)}else if(r)return function(t,e){var r=d(t,e);return r&&r.value}(r,n)},has:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(t)return f(t,n)}else if(s){if(e)return h(e,n)}else if(r)return function(t,e){return!!d(t,e)}(r,n);return!1},set:function(n,o){c&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new c),l(t,n,o)):s?(e||(e=new s),y(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=d(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n}},728:(t,e,r)=>{"use strict";var n=r(4);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),l=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},d={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=r(787);function m(t,e,r){if(t&&"object"==typeof t&&t instanceof o)return t;var n=new o;return n.parse(t,e,r),n}o.prototype.parse=function(t,e,r){if("string"!=typeof t)throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),a=-1!==o&&o<t.indexOf("#")?"?":"#",s=t.split(a);s[0]=s[0].replace(/\\/g,"/");var m=t=s.join(a);if(m=m.trim(),!r&&1===t.split("#").length){var b=c.exec(m);if(b)return this.path=m,this.href=m,this.pathname=b[1],b[2]?(this.search=b[2],this.query=e?g.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var j=i.exec(m);if(j){var w=(j=j[0]).toLowerCase();this.protocol=w,m=m.substr(j.length)}if(r||j||m.match(/^\/\/[^@/]+@[^@/]+/)){var O="//"===m.substr(0,2);!O||j&&d[j]||(m=m.substr(2),this.slashes=!0)}if(!d[j]&&(O||j&&!v[j])){for(var S,_,A=-1,x=0;x<f.length;x++)-1!==(P=m.indexOf(f[x]))&&(-1===A||P<A)&&(A=P);for(-1!==(_=-1===A?m.lastIndexOf("@"):m.lastIndexOf("@",A))&&(S=m.slice(0,_),m=m.slice(_+1),this.auth=decodeURIComponent(S)),A=-1,x=0;x<l.length;x++){var P;-1!==(P=m.indexOf(l[x]))&&(-1===A||P<A)&&(A=P)}-1===A&&(A=m.length),this.host=m.slice(0,A),m=m.slice(A),this.parseHost(),this.hostname=this.hostname||"";var E="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!E)for(var k=this.hostname.split(/\./),C=(x=0,k.length);x<C;x++){var R=k[x];if(R&&!R.match(p)){for(var I="",F=0,B=R.length;F<B;F++)R.charCodeAt(F)>127?I+="x":I+=R[F];if(!I.match(p)){var M=k.slice(0,x),N=k.slice(x+1),T=R.match(y);T&&(M.push(T[1]),N.unshift(T[2])),N.length&&(m="/"+N.join(".")+m),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),E||(this.hostname=n.toASCII(this.hostname));var D=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+D,this.href+=this.host,E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==m[0]&&(m="/"+m))}if(!h[w])for(x=0,C=u.length;x<C;x++){var U=u[x];if(-1!==m.indexOf(U)){var z=encodeURIComponent(U);z===U&&(z=escape(U)),m=m.split(U).join(z)}}var L=m.indexOf("#");-1!==L&&(this.hash=m.substr(L),m=m.slice(0,L));var q=m.indexOf("?");if(-1!==q?(this.search=m.substr(q),this.query=m.substr(q+1),e&&(this.query=g.parse(this.query)),m=m.slice(0,q)):e&&(this.search="",this.query={}),m&&(this.pathname=m),v[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var W=this.search||"";this.path=D+W}return this.href=this.format(),this},o.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,i="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(i=g.stringify(this.query));var a=this.search||i&&"?"+i||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||v[e])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),e+o+(r=r.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+n},o.prototype.resolve=function(t){return this.resolveObject(m(t,!1,!0)).format()},o.prototype.resolveObject=function(t){if("string"==typeof t){var e=new o;e.parse(t,!1,!0),t=e}for(var r=new o,n=Object.keys(this),i=0;i<n.length;i++){var a=n[i];r[a]=this[a]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var c=Object.keys(t),s=0;s<c.length;s++){var u=c[s];"protocol"!==u&&(r[u]=t[u])}return v[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!v[t.protocol]){for(var l=Object.keys(t),f=0;f<l.length;f++){var p=l[f];r[p]=t[p]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||d[t.protocol])r.pathname=t.pathname;else{for(var y=(t.pathname||"").split("/");y.length&&!(t.host=y.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==y[0]&&y.unshift(""),y.length<2&&y.unshift(""),r.pathname=y.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var h=r.pathname||"",g=r.search||"";r.path=h+g}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var m=r.pathname&&"/"===r.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),j=b||m||r.host&&t.pathname,w=j,O=r.pathname&&r.pathname.split("/")||[],S=(y=t.pathname&&t.pathname.split("/")||[],r.protocol&&!v[r.protocol]);if(S&&(r.hostname="",r.port=null,r.host&&(""===O[0]?O[0]=r.host:O.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===y[0]?y[0]=t.host:y.unshift(t.host)),t.host=null),j=j&&(""===y[0]||""===O[0])),b)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,O=y;else if(y.length)O||(O=[]),O.pop(),O=O.concat(y),r.search=t.search,r.query=t.query;else if(null!=t.search)return S&&(r.host=O.shift(),r.hostname=r.host,(E=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=E.shift(),r.hostname=E.shift(),r.host=r.hostname)),r.search=t.search,r.query=t.query,null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!O.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var _=O.slice(-1)[0],A=(r.host||t.host||O.length>1)&&("."===_||".."===_)||""===_,x=0,P=O.length;P>=0;P--)"."===(_=O[P])?O.splice(P,1):".."===_?(O.splice(P,1),x++):x&&(O.splice(P,1),x--);if(!j&&!w)for(;x--;x)O.unshift("..");!j||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),A&&"/"!==O.join("/").substr(-1)&&O.push("");var E,k=""===O[0]||O[0]&&"/"===O[0].charAt(0);return S&&(r.hostname=k?"":O.length?O.shift():"",r.host=r.hostname,(E=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=E.shift(),r.hostname=E.shift(),r.host=r.hostname)),(j=j||r.host&&O.length)&&!k&&O.unshift(""),O.length>0?r.pathname=O.join("/"):(r.pathname=null,r.path=null),null===r.pathname&&null===r.search||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},e.Qc=m},972:e=>{"use strict";e.exports=t},10:()=>{},2:()=>{}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return e[t].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var o={};return(()=>{"use strict";n.d(o,{default:()=>Ur});var t=n(972),e=n.n(t),r=n(168),i=n.n(r);const a="object"==typeof global&&global&&global.Object===Object&&global;var c="object"==typeof self&&self&&self.Object===Object&&self;const s=a||c||Function("return this")(),u=s.Symbol;var l=Object.prototype,f=l.hasOwnProperty,p=l.toString,y=u?u.toStringTag:void 0;var h=Object.prototype.toString;var d=u?u.toStringTag:void 0;const v=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":d&&d in Object(t)?function(t){var e=f.call(t,y),r=t[y];try{t[y]=void 0;var n=!0}catch(t){}var o=p.call(t);return n&&(e?t[y]=r:delete t[y]),o}(t):function(t){return h.call(t)}(t)},g=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},m=function(t){if(!g(t))return!1;var e=v(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},b=s["__core-js_shared__"];var j,w=(j=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"";var O=Function.prototype.toString;const S=function(t){if(null!=t){try{return O.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var _=/^\[object .+?Constructor\]$/,A=Function.prototype,x=Object.prototype,P=A.toString,E=x.hasOwnProperty,k=RegExp("^"+P.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const C=function(t){return!(!g(t)||(e=t,w&&w in e))&&(m(t)?k:_).test(S(t));var e},R=function(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return C(r)?r:void 0},I=function(){try{var t=R(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),F=function(t,e,r){"__proto__"==e&&I?I(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},B=function(t,e,r){for(var n=-1,o=Object(t),i=r(t),a=i.length;a--;){var c=i[++n];if(!1===e(o[c],c,o))break}return t},M=function(t){return null!=t&&"object"==typeof t},N=function(t){return M(t)&&"[object Arguments]"==v(t)};var T=Object.prototype,D=T.hasOwnProperty,H=T.propertyIsEnumerable;const U=N(function(){return arguments}())?N:function(t){return M(t)&&D.call(t,"callee")&&!H.call(t,"callee")},z=Array.isArray;var L="object"==typeof exports&&exports&&!exports.nodeType&&exports,q=L&&"object"==typeof module&&module&&!module.nodeType&&module,W=q&&q.exports===L?s.Buffer:void 0;const $=(W?W.isBuffer:void 0)||function(){return!1};var G=/^(?:0|[1-9]\d*)$/;const V=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&G.test(t))&&t>-1&&t%1==0&&t<e},Q=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var X={};X["[object Float32Array]"]=X["[object Float64Array]"]=X["[object Int8Array]"]=X["[object Int16Array]"]=X["[object Int32Array]"]=X["[object Uint8Array]"]=X["[object Uint8ClampedArray]"]=X["[object Uint16Array]"]=X["[object Uint32Array]"]=!0,X["[object Arguments]"]=X["[object Array]"]=X["[object ArrayBuffer]"]=X["[object Boolean]"]=X["[object DataView]"]=X["[object Date]"]=X["[object Error]"]=X["[object Function]"]=X["[object Map]"]=X["[object Number]"]=X["[object Object]"]=X["[object RegExp]"]=X["[object Set]"]=X["[object String]"]=X["[object WeakMap]"]=!1;const J=function(t){return function(e){return t(e)}};var K="object"==typeof exports&&exports&&!exports.nodeType&&exports,Z=K&&"object"==typeof module&&module&&!module.nodeType&&module,Y=Z&&Z.exports===K&&a.process,tt=function(){try{return Z&&Z.require&&Z.require("util").types||Y&&Y.binding&&Y.binding("util")}catch(t){}}(),et=tt&&tt.isTypedArray;const rt=et?J(et):function(t){return M(t)&&Q(t.length)&&!!X[v(t)]};var nt=Object.prototype.hasOwnProperty;const ot=function(t,e){var r=z(t),n=!r&&U(t),o=!r&&!n&&$(t),i=!r&&!n&&!o&&rt(t),a=r||n||o||i,c=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],s=c.length;for(var u in t)!e&&!nt.call(t,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||V(u,s))||c.push(u);return c};var it=Object.prototype;const at=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||it)},ct=(st=Object.keys,ut=Object,function(t){return st(ut(t))});var st,ut,lt=Object.prototype.hasOwnProperty;const ft=function(t){if(!at(t))return ct(t);var e=[];for(var r in Object(t))lt.call(t,r)&&"constructor"!=r&&e.push(r);return e},pt=function(t){return null!=t&&Q(t.length)&&!m(t)},yt=function(t){return pt(t)?ot(t):ft(t)},ht=function(t,e){return t&&B(t,e,yt)},dt=function(t,e){return t===e||t!=t&&e!=e},vt=function(t,e){for(var r=t.length;r--;)if(dt(t[r][0],e))return r;return-1};var gt=Array.prototype.splice;function mt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}mt.prototype.clear=function(){this.__data__=[],this.size=0},mt.prototype.delete=function(t){var e=this.__data__,r=vt(e,t);return!(r<0||(r==e.length-1?e.pop():gt.call(e,r,1),--this.size,0))},mt.prototype.get=function(t){var e=this.__data__,r=vt(e,t);return r<0?void 0:e[r][1]},mt.prototype.has=function(t){return vt(this.__data__,t)>-1},mt.prototype.set=function(t,e){var r=this.__data__,n=vt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};const bt=mt,jt=R(s,"Map"),wt=R(Object,"create");var Ot=Object.prototype.hasOwnProperty;var St=Object.prototype.hasOwnProperty;function _t(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}_t.prototype.clear=function(){this.__data__=wt?wt(null):{},this.size=0},_t.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},_t.prototype.get=function(t){var e=this.__data__;if(wt){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Ot.call(e,t)?e[t]:void 0},_t.prototype.has=function(t){var e=this.__data__;return wt?void 0!==e[t]:St.call(e,t)},_t.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=wt&&void 0===e?"__lodash_hash_undefined__":e,this};const At=_t,xt=function(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map};function Pt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Pt.prototype.clear=function(){this.size=0,this.__data__={hash:new At,map:new(jt||bt),string:new At}},Pt.prototype.delete=function(t){var e=xt(this,t).delete(t);return this.size-=e?1:0,e},Pt.prototype.get=function(t){return xt(this,t).get(t)},Pt.prototype.has=function(t){return xt(this,t).has(t)},Pt.prototype.set=function(t,e){var r=xt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};const Et=Pt;function kt(t){var e=this.__data__=new bt(t);this.size=e.size}kt.prototype.clear=function(){this.__data__=new bt,this.size=0},kt.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},kt.prototype.get=function(t){return this.__data__.get(t)},kt.prototype.has=function(t){return this.__data__.has(t)},kt.prototype.set=function(t,e){var r=this.__data__;if(r instanceof bt){var n=r.__data__;if(!jt||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Et(n)}return r.set(t,e),this.size=r.size,this};const Ct=kt;function Rt(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Et;++e<r;)this.add(t[e])}Rt.prototype.add=Rt.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rt.prototype.has=function(t){return this.__data__.has(t)};const It=Rt,Ft=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1},Bt=function(t,e,r,n,o,i){var a=1&r,c=t.length,s=e.length;if(c!=s&&!(a&&s>c))return!1;var u=i.get(t),l=i.get(e);if(u&&l)return u==e&&l==t;var f=-1,p=!0,y=2&r?new It:void 0;for(i.set(t,e),i.set(e,t);++f<c;){var h=t[f],d=e[f];if(n)var v=a?n(d,h,f,e,t,i):n(h,d,f,t,e,i);if(void 0!==v){if(v)continue;p=!1;break}if(y){if(!Ft(e,(function(t,e){if(a=e,!y.has(a)&&(h===t||o(h,t,r,n,i)))return y.push(e);var a}))){p=!1;break}}else if(h!==d&&!o(h,d,r,n,i)){p=!1;break}}return i.delete(t),i.delete(e),p},Mt=s.Uint8Array,Nt=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r},Tt=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var Dt=u?u.prototype:void 0,Ht=Dt?Dt.valueOf:void 0;const Ut=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t};var zt=Object.prototype.propertyIsEnumerable,Lt=Object.getOwnPropertySymbols;const qt=Lt?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}(Lt(t),(function(e){return zt.call(t,e)})))}:function(){return[]},Wt=function(t){return function(t,e,r){var n=e(t);return z(t)?n:Ut(n,r(t))}(t,yt,qt)};var $t=Object.prototype.hasOwnProperty;const Gt=R(s,"DataView"),Vt=R(s,"Promise"),Qt=R(s,"Set"),Xt=R(s,"WeakMap");var Jt="[object Map]",Kt="[object Promise]",Zt="[object Set]",Yt="[object WeakMap]",te="[object DataView]",ee=S(Gt),re=S(jt),ne=S(Vt),oe=S(Qt),ie=S(Xt),ae=v;(Gt&&ae(new Gt(new ArrayBuffer(1)))!=te||jt&&ae(new jt)!=Jt||Vt&&ae(Vt.resolve())!=Kt||Qt&&ae(new Qt)!=Zt||Xt&&ae(new Xt)!=Yt)&&(ae=function(t){var e=v(t),r="[object Object]"==e?t.constructor:void 0,n=r?S(r):"";if(n)switch(n){case ee:return te;case re:return Jt;case ne:return Kt;case oe:return Zt;case ie:return Yt}return e});const ce=ae;var se="[object Arguments]",ue="[object Array]",le="[object Object]",fe=Object.prototype.hasOwnProperty;const pe=function(t,e,r,n,o,i){var a=z(t),c=z(e),s=a?ue:ce(t),u=c?ue:ce(e),l=(s=s==se?le:s)==le,f=(u=u==se?le:u)==le,p=s==u;if(p&&$(t)){if(!$(e))return!1;a=!0,l=!1}if(p&&!l)return i||(i=new Ct),a||rt(t)?Bt(t,e,r,n,o,i):function(t,e,r,n,o,i,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!i(new Mt(t),new Mt(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return dt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=Nt;case"[object Set]":var s=1&n;if(c||(c=Tt),t.size!=e.size&&!s)return!1;var u=a.get(t);if(u)return u==e;n|=2,a.set(t,e);var l=Bt(c(t),c(e),n,o,i,a);return a.delete(t),l;case"[object Symbol]":if(Ht)return Ht.call(t)==Ht.call(e)}return!1}(t,e,s,r,n,o,i);if(!(1&r)){var y=l&&fe.call(t,"__wrapped__"),h=f&&fe.call(e,"__wrapped__");if(y||h){var d=y?t.value():t,v=h?e.value():e;return i||(i=new Ct),o(d,v,r,n,i)}}return!!p&&(i||(i=new Ct),function(t,e,r,n,o,i){var a=1&r,c=Wt(t),s=c.length;if(s!=Wt(e).length&&!a)return!1;for(var u=s;u--;){var l=c[u];if(!(a?l in e:$t.call(e,l)))return!1}var f=i.get(t),p=i.get(e);if(f&&p)return f==e&&p==t;var y=!0;i.set(t,e),i.set(e,t);for(var h=a;++u<s;){var d=t[l=c[u]],v=e[l];if(n)var g=a?n(v,d,l,e,t,i):n(d,v,l,t,e,i);if(!(void 0===g?d===v||o(d,v,r,n,i):g)){y=!1;break}h||(h="constructor"==l)}if(y&&!h){var m=t.constructor,b=e.constructor;m==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(y=!1)}return i.delete(t),i.delete(e),y}(t,e,r,n,o,i))},ye=function t(e,r,n,o,i){return e===r||(null==e||null==r||!M(e)&&!M(r)?e!=e&&r!=r:pe(e,r,n,o,t,i))},he=function(t){return t==t&&!g(t)},de=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}},ve=function(t){var e=function(t){for(var e=yt(t),r=e.length;r--;){var n=e[r],o=t[n];e[r]=[n,o,he(o)]}return e}(t);return 1==e.length&&e[0][2]?de(e[0][0],e[0][1]):function(r){return r===t||function(t,e,r,n){var o=r.length,i=o,a=!n;if(null==t)return!i;for(t=Object(t);o--;){var c=r[o];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++o<i;){var s=(c=r[o])[0],u=t[s],l=c[1];if(a&&c[2]){if(void 0===u&&!(s in t))return!1}else{var f=new Ct;if(n)var p=n(u,l,s,t,e,f);if(!(void 0===p?ye(l,u,3,n,f):p))return!1}}return!0}(r,t,e)}},ge=function(t){return"symbol"==typeof t||M(t)&&"[object Symbol]"==v(t)};var me=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/;const je=function(t,e){if(z(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!ge(t))||be.test(t)||!me.test(t)||null!=e&&t in Object(e)};function we(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(we.Cache||Et),r}we.Cache=Et;var Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Se=/\\(\\)?/g;const _e=(Ae=we((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Oe,(function(t,r,n,o){e.push(n?o.replace(Se,"$1"):r||t)})),e}),(function(t){return 500===xe.size&&xe.clear(),t})),xe=Ae.cache,Ae);var Ae,xe;const Pe=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o};var Ee=u?u.prototype:void 0,ke=Ee?Ee.toString:void 0;const Ce=function t(e){if("string"==typeof e)return e;if(z(e))return Pe(e,t)+"";if(ge(e))return ke?ke.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},Re=function(t){return null==t?"":Ce(t)},Ie=function(t,e){return z(t)?t:je(t,e)?[t]:_e(Re(t))},Fe=function(t){if("string"==typeof t||ge(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e},Be=function(t,e){for(var r=0,n=(e=Ie(e,t)).length;null!=t&&r<n;)t=t[Fe(e[r++])];return r&&r==n?t:void 0},Me=function(t,e,r){var n=null==t?void 0:Be(t,e);return void 0===n?r:n},Ne=function(t,e){return null!=t&&e in Object(t)},Te=function(t,e){return null!=t&&function(t,e,r){for(var n=-1,o=(e=Ie(e,t)).length,i=!1;++n<o;){var a=Fe(e[n]);if(!(i=null!=t&&r(t,a)))break;t=t[a]}return i||++n!=o?i:!!(o=null==t?0:t.length)&&Q(o)&&V(a,o)&&(z(t)||U(t))}(t,e,Ne)},De=function(t){return t},He=function(t){return je(t)?(e=Fe(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return Be(e,t)}}(t);var e},Ue=function(t){return"function"==typeof t?t:null==t?De:"object"==typeof t?z(t)?(e=t[0],r=t[1],je(e)&&he(r)?de(Fe(e),r):function(t){var n=Me(t,e);return void 0===n&&n===r?Te(t,e):ye(r,n,3)}):ve(t):He(t);var e,r};var ze=Object.prototype.hasOwnProperty;const Le=function(t){if(null==t)return!0;if(pt(t)&&(z(t)||"string"==typeof t||"function"==typeof t.splice||$(t)||rt(t)||U(t)))return!t.length;var e=ce(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(at(t))return!ft(t).length;for(var r in t)if(ze.call(t,r))return!1;return!0},qe=function(t){return t!=t},We=function(t){return"string"==typeof t||!z(t)&&M(t)&&"[object String]"==v(t)};var $e=/\s/;var Ge=/^\s+/;const Ve=function(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&$e.test(t.charAt(e)););return e}(t)+1).replace(Ge,""):t};var Qe=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,Je=/^0o[0-7]+$/i,Ke=parseInt;const Ze=function(t){return t?Infinity===(t=function(t){if("number"==typeof t)return t;if(ge(t))return NaN;if(g(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=g(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ve(t);var r=Xe.test(t);return r||Je.test(t)?Ke(t.slice(2),r?2:8):Qe.test(t)?NaN:+t}(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0},Ye=function(t){return null==t?[]:function(t,e){return Pe(e,(function(e){return t[e]}))}(t,yt(t))};var tr=Math.max;const er=function(t,e,r,n){t=pt(t)?t:Ye(t),r=r&&!n?function(t){var e=Ze(t),r=e%1;return e==e?r?e-r:e:0}(r):0;var o=t.length;return r<0&&(r=tr(o+r,0)),We(t)?r<=o&&t.indexOf(e,r)>-1:!!o&&function(t,e,r){return e==e?function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}(t,e,r):function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}(t,qe,r)}(t,e,r)>-1};var rr=n(831),nr=n(665),or=n.n(nr);var ir=Math.floor,ar=Math.random;const cr=function(t,e,r){if(!g(r))return!1;var n=typeof e;return!!("number"==n?pt(r)&&V(e,r.length):"string"==n&&e in r)&&dt(r[e],t)};var sr=parseFloat,ur=Math.min,lr=Math.random;const fr=function(t,e,r){if(r&&"boolean"!=typeof r&&cr(t,e,r)&&(e=r=void 0),void 0===r&&("boolean"==typeof e?(r=e,e=void 0):"boolean"==typeof t&&(r=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=Ze(t),void 0===e?(e=t,t=0):e=Ze(e)),t>e){var n=t;t=e,e=n}if(r||t%1||e%1){var o=lr();return ur(t+o*(e-t+sr("1e-"+((o+"").length-1))),e)}return function(t,e){return t+ir(ar()*(e-t+1))}(t,e)};var pr=n(728),yr=n(147),hr=n.n(yr),dr=n(719),vr=n.n(dr),gr=n(899),mr=n.n(gr);var br=u?u.isConcatSpreadable:void 0;const jr=function(t){return z(t)||U(t)||!!(br&&t&&t[br])},wr=function t(e,r,n,o,i){var a=-1,c=e.length;for(n||(n=jr),i||(i=[]);++a<c;){var s=e[a];r>0&&n(s)?r>1?t(s,r-1,n,o,i):Ut(i,s):o||(i[i.length]=s)}return i},Or=(Sr=ht,function(t,e){if(null==t)return t;if(!pt(t))return Sr(t,e);for(var r=t.length,n=-1,o=Object(t);++n<r&&!1!==e(o[n],n,o););return t});var Sr;const _r=function(t,e){var r=-1,n=pt(t)?Array(t.length):[];return Or(t,(function(t,o,i){n[++r]=e(t,o,i)})),n},Ar=function(t,e){if(t!==e){var r=void 0!==t,n=null===t,o=t==t,i=ge(t),a=void 0!==e,c=null===e,s=e==e,u=ge(e);if(!c&&!u&&!i&&t>e||i&&a&&s&&!c&&!u||n&&a&&s||!r&&s||!o)return 1;if(!n&&!i&&!u&&t<e||u&&r&&o&&!n&&!i||c&&r&&o||!a&&o||!s)return-1}return 0},xr=function(t,e,r){e=e.length?Pe(e,(function(t){return z(t)?function(e){return Be(e,1===t.length?t[0]:t)}:t})):[De];var n=-1;return e=Pe(e,J(Ue)),function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}(_r(t,(function(t,r,o){return{criteria:Pe(e,(function(e){return e(t)})),index:++n,value:t}})),(function(t,e){return function(t,e,r){for(var n=-1,o=t.criteria,i=e.criteria,a=o.length,c=r.length;++n<a;){var s=Ar(o[n],i[n]);if(s)return n>=c?s:s*("desc"==r[n]?-1:1)}return t.index-e.index}(t,e,r)}))};var Pr=Math.max;const Er=I?function(t,e){return I(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:De;var kr=Date.now;const Cr=function(t){var e=0,r=0;return function(){var n=kr(),o=16-(n-r);if(r=n,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Er),Rr=function(t,e){return Cr(function(t,e,r){return e=Pr(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,i=Pr(n.length-e,0),a=Array(i);++o<i;)a[o]=n[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=n[o];return c[e]=r(a),function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,c)}}(t,void 0,De),t+"")}((function(t,e){if(null==t)return[];var r=e.length;return r>1&&cr(t,e[0],e[1])?e=[]:r>2&&cr(e[0],e[1],e[2])&&(e=[e[0]]),xr(t,wr(e,1),[])})),Ir=function(t,e){return(z(t)?Pe:_r)(t,Ue(e))},Fr=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t},Br=function(t){return Re(t).toLowerCase()};var Mr={map:Ir,keys:yt,compact:function(t){for(var e=-1,r=null==t?0:t.length,n=0,o=[];++e<r;){var i=t[e];i&&(o[n++]=i)}return o},sortBy:Rr,forEach:function(t,e){return(z(t)?Fr:Or)(t,"function"==typeof(r=e)?r:De);var r}};const Nr=function(t){var e=["X-Gw-Signature","X-Gw-Signature-headers","Accept","Content-MD5","Content-Type","Date"],r="",n="",o=!0;return function(t){var e=t,r=function(t,e){var r={};return e=Ue(e),ht(t,(function(t,n,o){F(r,n,e(t,n,o))})),r}(Mr,(function(t){return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.apply(void 0,[e].concat(o)),n}})),n=Object.assign(r,{value:function(){return e}});return n}(t).keys(t).map((function(r){return!er(e,r)&&{value:t[r],key:Br(r)}})).compact().sortBy((function(t){return t.key})).forEach((function(t){r+="".concat(t.key,":").concat(t.value,"\n"),n+=o?t.key:","+t.key,o=!1})),{transformHeader:r,transformHeaderKeys:n}},Tr=function(t,e){var r,n,o,i,a,c=e.k,u=e.s,l=e.originQuery,f=e.contentSign;try{if(c&&u){var p=t.method,y=t.url,h=l?(r=y,Le(n=l)?r:"".concat(r,"?").concat((0,rr.stringify)(n))):y,d=Me(t,"headers")||Me(t,"header"),v=d.Accept,g=(0,pr.Qc)(h,!0),m=g.query,b="",j=m;if(d["Content-Type"]||(d["Content-Type"]="application/json"),d.Accept||(d.Accept="*/*"),t.body&&-1===d["Content-Type"].indexOf("application/x-www-form-urlencoded"))a=t.body,b=Le(a)?"":vr().stringify(mr()(a)),d["Content-MD5"]=b;else{var w=t.body;if(We(w)){var O=or()(w);j=Le(j)?O:Object.assign({},j,O)}}var S=function(t,e){return Le(e)?t:(er(t,"?")?t:t+"?")+e.substring(1)}(g.pathname,function(t){var e="";return function(t,e){var r={};e=Ue(e),ht(t,(function(t,n,o){F(r,e(t,n,o),t)}))}(t,(function(t,r){r&&(Le(t)?e+="&"+r:e+="&"+r+"="+t)})),e}(function(t){var e=Rr(Object.keys(t)),r={};return Ir(e,(function(e){Le(t[e])?r[e]=null:z(t[e])?r[e]=t[e][0]:r[e]=t[e]})),r}(j))),_=d["Content-Type"]?d["Content-Type"]:"";d["X-Gw-Key"]=c,d["X-Gw-Timestamp"]=Re(s.Date.now()),d["X-Gw-Nonce"]=Re(fr(1e12,9999999999999));var A="".concat(p,"\n").concat(v||"*/*","\n").concat(f?b:"","\n").concat(_,"\n\n").concat(Nr(d).transformHeader).concat(decodeURIComponent(S));return console.log("==============",S,"======================"),console.log(A),console.log("==============",S,"======================"),d["X-Gw-Signature"]=(o=A,i=u,vr().stringify(hr()(o,i))),d["X-Gw-Signature-Headers"]=Nr(d).transformHeaderKeys,t}console.warn("请检查配置项,k和s是否配置")}catch(t){console.log("error",t)}},Dr={uniAdapter:function(t,e){uni.request({method:t.method,url:t.url,header:t.headers,dataType:t.dataType||"json",data:t.body||{},success:function(t){e({statusCode:t.statusCode,responseText:t.data,headers:t.header,statusMessage:t.errMsg})},fail:function(t){e({statusCode:t.statusCode||0,statusMessage:t.errMsg})}})},wxAdapter:function(t,e){wx.request({method:t.method,url:t.url,header:t.headers,dataType:t.dataType||"text",data:t.body||{},success:function(t){e({statusCode:t.statusCode,responseText:t.data,headers:t.header,statusMessage:t.errMsg})},fail:function(t){e({statusCode:t.statusCode||0,statusMessage:t.errMsg})}})},fetchAdapter:function(t,e,r){fetch(t.url,t).then((function(t){var e=t.headers.get("content-type");return e&&0===e.indexOf("application/json")?t.json():t})).then((function(t){e({statusCode:200,responseText:t})}))},flyAdapter:function(t,r){e().request(t.url,t.data,t).then((function(t){r({statusCode:t.engine.status,responseText:t.engine.responseText,statusMessage:t.engine.statusText})})).catch((function(t){r({statusCode:t.status,statusMessage:t.message})}))}};var Hr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{appkey:"25396816",appsecret:"ba09305bef13bf8c17ace9987c66326f",engineType:"fly",adapter:"fetch"};try{e().engine=XMLHttpRequest;var r=i()((function(e,r){var n=!1;if(t.exclude)if(m(t.exclude))n=t.exclude(e),console.log(n);else for(var o=0;o<t.exclude.length;o++){var i=t.exclude[o];e.url.indexOf(i)>-1&&(n=!0)}var a="".concat(t.adapter?t.adapter:"fetch","Adapter");Dr[a](n||e.headers.noSign?e:Tr(e,t),r)}));console.log(t.engineType),"fly"==t.engineType?(console.log(e().engine),e().engine=r):XMLHttpRequest=r}catch(t){console.warn(t)}};"undefined"!=typeof window&&(console.log("window"),window.gc_rsa=Hr);const Ur=Hr})(),o.default})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gc_rsa",
3
- "version": "1.3.11",
3
+ "version": "2.0.0",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -18,10 +18,10 @@ import transformHeaders from "./transformHeaders";
18
18
  const FormHeader = "application/x-www-form-urlencoded";
19
19
  const signature = (
20
20
  request,
21
- { appkey, appsecret, originQuery, contentSign }
21
+ { k, s, originQuery, contentSign }
22
22
  ) => {
23
23
  try {
24
- if (appkey && appsecret) {
24
+ if (k && s) {
25
25
  const { method, url: originUrl } = request;
26
26
  let url = originQuery ? buildUrl(originUrl, originQuery) : originUrl;
27
27
  let headers = get(request, "headers") || get(request, "header");
@@ -61,7 +61,7 @@ const signature = (
61
61
  const ContentType = headers["Content-Type"]
62
62
  ? headers["Content-Type"]
63
63
  : "";
64
- headers["X-Gw-Key"] = appkey;
64
+ headers["X-Gw-Key"] = k;
65
65
  headers["X-Gw-Timestamp"] = toString(now());
66
66
  headers["X-Gw-Nonce"] = toString(random(1000000000000, 9999999999999));
67
67
  const stringToSign = `${method}\n${Accept ? Accept : "*/*"}\n${
@@ -72,13 +72,13 @@ const signature = (
72
72
  console.log("==============", urlPath, "======================");
73
73
  console.log(stringToSign);
74
74
  console.log("==============", urlPath, "======================");
75
- headers["X-Gw-Signature"] = crypto.sign(stringToSign, appsecret);
75
+ headers["X-Gw-Signature"] = crypto.sign(stringToSign, s);
76
76
  headers["X-Gw-Signature-Headers"] =
77
77
  transformHeaders(headers).transformHeaderKeys;
78
78
 
79
79
  return request;
80
80
  } else {
81
- console.warn("检查appkeyappsecret");
81
+ console.warn("请检查配置项,ks是否配置");
82
82
  }
83
83
  } catch (error) {
84
84
  console.log("error", error);