UNPKG

@blockchain-web3/web3-tg-sdk

Version:

web3 sdk for tg

4 lines 398 kB
var Mu=Object.create;var Un=Object.defineProperty;var Au=Object.getOwnPropertyDescriptor;var Eu=Object.getOwnPropertyNames;var Cu=Object.getPrototypeOf,_u=Object.prototype.hasOwnProperty;var Bu=(n,t,e)=>t in n?Un(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var aa=(n=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(n,{get:(t,e)=>(typeof require!="undefined"?require:t)[e]}):n)(function(n){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+n+'" is not supported')});var Hr=(n,t)=>()=>(n&&(t=n(n=0)),t);var ae=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),fa=(n,t)=>{for(var e in t)Un(n,e,{get:t[e],enumerable:!0})},la=(n,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Eu(t))!_u.call(n,o)&&o!==e&&Un(n,o,{get:()=>t[o],enumerable:!(s=Au(t,o))||s.enumerable});return n};var Fe=(n,t,e)=>(e=n!=null?Mu(Cu(n)):{},la(t||!n||!n.__esModule?Un(e,"default",{value:n,enumerable:!0}):e,n)),Su=n=>la(Un({},"__esModule",{value:!0}),n);var fe=(n,t,e)=>(Bu(n,typeof t!="symbol"?t+"":t,e),e);var ha=ae((qm,uo)=>{"use strict";var Fu=Object.prototype.hasOwnProperty,Ze="~";function Dn(){}Object.create&&(Dn.prototype=Object.create(null),new Dn().__proto__||(Ze=!1));function Tu(n,t,e){this.fn=n,this.context=t,this.once=e||!1}function ua(n,t,e,s,o){if(typeof e!="function")throw new TypeError("The listener must be a function");var u=new Tu(e,s||n,o),g=Ze?Ze+t:t;return n._events[g]?n._events[g].fn?n._events[g]=[n._events[g],u]:n._events[g].push(u):(n._events[g]=u,n._eventsCount++),n}function hi(n,t){--n._eventsCount===0?n._events=new Dn:delete n._events[t]}function He(){this._events=new Dn,this._eventsCount=0}He.prototype.eventNames=function(){var t=[],e,s;if(this._eventsCount===0)return t;for(s in e=this._events)Fu.call(e,s)&&t.push(Ze?s.slice(1):s);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(e)):t};He.prototype.listeners=function(t){var e=Ze?Ze+t:t,s=this._events[e];if(!s)return[];if(s.fn)return[s.fn];for(var o=0,u=s.length,g=new Array(u);o<u;o++)g[o]=s[o].fn;return g};He.prototype.listenerCount=function(t){var e=Ze?Ze+t:t,s=this._events[e];return s?s.fn?1:s.length:0};He.prototype.emit=function(t,e,s,o,u,g){var b=Ze?Ze+t:t;if(!this._events[b])return!1;var M=this._events[b],C=arguments.length,B,_;if(M.fn){switch(M.once&&this.removeListener(t,M.fn,void 0,!0),C){case 1:return M.fn.call(M.context),!0;case 2:return M.fn.call(M.context,e),!0;case 3:return M.fn.call(M.context,e,s),!0;case 4:return M.fn.call(M.context,e,s,o),!0;case 5:return M.fn.call(M.context,e,s,o,u),!0;case 6:return M.fn.call(M.context,e,s,o,u,g),!0}for(_=1,B=new Array(C-1);_<C;_++)B[_-1]=arguments[_];M.fn.apply(M.context,B)}else{var T=M.length,j;for(_=0;_<T;_++)switch(M[_].once&&this.removeListener(t,M[_].fn,void 0,!0),C){case 1:M[_].fn.call(M[_].context);break;case 2:M[_].fn.call(M[_].context,e);break;case 3:M[_].fn.call(M[_].context,e,s);break;case 4:M[_].fn.call(M[_].context,e,s,o);break;default:if(!B)for(j=1,B=new Array(C-1);j<C;j++)B[j-1]=arguments[j];M[_].fn.apply(M[_].context,B)}}return!0};He.prototype.on=function(t,e,s){return ua(this,t,e,s,!1)};He.prototype.once=function(t,e,s){return ua(this,t,e,s,!0)};He.prototype.removeListener=function(t,e,s,o){var u=Ze?Ze+t:t;if(!this._events[u])return this;if(!e)return hi(this,u),this;var g=this._events[u];if(g.fn)g.fn===e&&(!o||g.once)&&(!s||g.context===s)&&hi(this,u);else{for(var b=0,M=[],C=g.length;b<C;b++)(g[b].fn!==e||o&&!g[b].once||s&&g[b].context!==s)&&M.push(g[b]);M.length?this._events[u]=M.length===1?M[0]:M:hi(this,u)}return this};He.prototype.removeAllListeners=function(t){var e;return t?(e=Ze?Ze+t:t,this._events[e]&&hi(this,e)):(this._events=new Dn,this._eventsCount=0),this};He.prototype.off=He.prototype.removeListener;He.prototype.addListener=He.prototype.on;He.prefixed=Ze;He.EventEmitter=He;typeof uo!="undefined"&&(uo.exports=He)});var ma=ae((zm,pa)=>{"use strict";pa.exports=Error});var ya=ae((Ym,ga)=>{"use strict";ga.exports=EvalError});var wa=ae((Hm,va)=>{"use strict";va.exports=RangeError});var ba=ae(($m,xa)=>{"use strict";xa.exports=ReferenceError});var ho=ae((Km,Ma)=>{"use strict";Ma.exports=SyntaxError});var rn=ae((Vm,Aa)=>{"use strict";Aa.exports=TypeError});var Ca=ae((Gm,Ea)=>{"use strict";Ea.exports=URIError});var Ba=ae((Zm,_a)=>{"use strict";_a.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},e=Symbol("test"),s=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var o=42;t[e]=o;for(e in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var u=Object.getOwnPropertySymbols(t);if(u.length!==1||u[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var g=Object.getOwnPropertyDescriptor(t,e);if(g.value!==o||g.enumerable!==!0)return!1}return!0}});var Ta=ae((Jm,Fa)=>{"use strict";var Sa=typeof Symbol!="undefined"&&Symbol,Iu=Ba();Fa.exports=function(){return typeof Sa!="function"||typeof Symbol!="function"||typeof Sa("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Iu()}});var Na=ae((Xm,Ia)=>{"use strict";var co={__proto__:null,foo:{}},Nu=Object;Ia.exports=function(){return{__proto__:co}.foo===co.foo&&!(co instanceof Nu)}});var Ra=ae((Qm,Da)=>{"use strict";var Uu="Function.prototype.bind called on incompatible ",Du=Object.prototype.toString,Ru=Math.max,Pu="[object Function]",Ua=function(t,e){for(var s=[],o=0;o<t.length;o+=1)s[o]=t[o];for(var u=0;u<e.length;u+=1)s[u+t.length]=e[u];return s},Ou=function(t,e){for(var s=[],o=e||0,u=0;o<t.length;o+=1,u+=1)s[u]=t[o];return s},ku=function(n,t){for(var e="",s=0;s<n.length;s+=1)e+=n[s],s+1<n.length&&(e+=t);return e};Da.exports=function(t){var e=this;if(typeof e!="function"||Du.apply(e)!==Pu)throw new TypeError(Uu+e);for(var s=Ou(arguments,1),o,u=function(){if(this instanceof o){var B=e.apply(this,Ua(s,arguments));return Object(B)===B?B:this}return e.apply(t,Ua(s,arguments))},g=Ru(0,e.length-s.length),b=[],M=0;M<g;M++)b[M]="$"+M;if(o=Function("binder","return function ("+ku(b,",")+"){ return binder.apply(this,arguments); }")(u),e.prototype){var C=function(){};C.prototype=e.prototype,o.prototype=new C,C.prototype=null}return o}});var di=ae((t1,Pa)=>{"use strict";var Lu=Ra();Pa.exports=Function.prototype.bind||Lu});var ka=ae((e1,Oa)=>{"use strict";var Wu=Function.prototype.call,qu=Object.prototype.hasOwnProperty,ju=di();Oa.exports=ju.call(Wu,qu)});var Vr=ae((r1,za)=>{"use strict";var me,zu=ma(),Yu=ya(),Hu=wa(),$u=ba(),an=ho(),sn=rn(),Ku=Ca(),ja=Function,po=function(n){try{return ja('"use strict"; return ('+n+").constructor;")()}catch(t){}},$r=Object.getOwnPropertyDescriptor;if($r)try{$r({},"")}catch(n){$r=null}var mo=function(){throw new sn},Vu=$r?function(){try{return arguments.callee,mo}catch(n){try{return $r(arguments,"callee").get}catch(t){return mo}}}():mo,nn=Ta()(),Gu=Na()(),Oe=Object.getPrototypeOf||(Gu?function(n){return n.__proto__}:null),on={},Zu=typeof Uint8Array=="undefined"||!Oe?me:Oe(Uint8Array),Kr={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?me:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?me:ArrayBuffer,"%ArrayIteratorPrototype%":nn&&Oe?Oe([][Symbol.iterator]()):me,"%AsyncFromSyncIteratorPrototype%":me,"%AsyncFunction%":on,"%AsyncGenerator%":on,"%AsyncGeneratorFunction%":on,"%AsyncIteratorPrototype%":on,"%Atomics%":typeof Atomics=="undefined"?me:Atomics,"%BigInt%":typeof BigInt=="undefined"?me:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?me:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?me:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?me:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":zu,"%eval%":eval,"%EvalError%":Yu,"%Float32Array%":typeof Float32Array=="undefined"?me:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?me:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?me:FinalizationRegistry,"%Function%":ja,"%GeneratorFunction%":on,"%Int8Array%":typeof Int8Array=="undefined"?me:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?me:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?me:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":nn&&Oe?Oe(Oe([][Symbol.iterator]())):me,"%JSON%":typeof JSON=="object"?JSON:me,"%Map%":typeof Map=="undefined"?me:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!nn||!Oe?me:Oe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?me:Promise,"%Proxy%":typeof Proxy=="undefined"?me:Proxy,"%RangeError%":Hu,"%ReferenceError%":$u,"%Reflect%":typeof Reflect=="undefined"?me:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?me:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!nn||!Oe?me:Oe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?me:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":nn&&Oe?Oe(""[Symbol.iterator]()):me,"%Symbol%":nn?Symbol:me,"%SyntaxError%":an,"%ThrowTypeError%":Vu,"%TypedArray%":Zu,"%TypeError%":sn,"%Uint8Array%":typeof Uint8Array=="undefined"?me:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?me:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?me:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?me:Uint32Array,"%URIError%":Ku,"%WeakMap%":typeof WeakMap=="undefined"?me:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?me:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?me:WeakSet};if(Oe)try{null.error}catch(n){La=Oe(Oe(n)),Kr["%Error.prototype%"]=La}var La,Ju=function n(t){var e;if(t==="%AsyncFunction%")e=po("async function () {}");else if(t==="%GeneratorFunction%")e=po("function* () {}");else if(t==="%AsyncGeneratorFunction%")e=po("async function* () {}");else if(t==="%AsyncGenerator%"){var s=n("%AsyncGeneratorFunction%");s&&(e=s.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=n("%AsyncGenerator%");o&&Oe&&(e=Oe(o.prototype))}return Kr[t]=e,e},Wa={__proto__:null,"%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"]},Rn=di(),pi=ka(),Xu=Rn.call(Function.call,Array.prototype.concat),Qu=Rn.call(Function.apply,Array.prototype.splice),qa=Rn.call(Function.call,String.prototype.replace),mi=Rn.call(Function.call,String.prototype.slice),th=Rn.call(Function.call,RegExp.prototype.exec),eh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,rh=/\\(\\)?/g,nh=function(t){var e=mi(t,0,1),s=mi(t,-1);if(e==="%"&&s!=="%")throw new an("invalid intrinsic syntax, expected closing `%`");if(s==="%"&&e!=="%")throw new an("invalid intrinsic syntax, expected opening `%`");var o=[];return qa(t,eh,function(u,g,b,M){o[o.length]=b?qa(M,rh,"$1"):g||u}),o},ih=function(t,e){var s=t,o;if(pi(Wa,s)&&(o=Wa[s],s="%"+o[0]+"%"),pi(Kr,s)){var u=Kr[s];if(u===on&&(u=Ju(s)),typeof u=="undefined"&&!e)throw new sn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:s,value:u}}throw new an("intrinsic "+t+" does not exist!")};za.exports=function(t,e){if(typeof t!="string"||t.length===0)throw new sn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof e!="boolean")throw new sn('"allowMissing" argument must be a boolean');if(th(/^%?[^%]*%?$/,t)===null)throw new an("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var s=nh(t),o=s.length>0?s[0]:"",u=ih("%"+o+"%",e),g=u.name,b=u.value,M=!1,C=u.alias;C&&(o=C[0],Qu(s,Xu([0,1],C)));for(var B=1,_=!0;B<s.length;B+=1){var T=s[B],j=mi(T,0,1),q=mi(T,-1);if((j==='"'||j==="'"||j==="`"||q==='"'||q==="'"||q==="`")&&j!==q)throw new an("property names with quotes must have matching quotes");if((T==="constructor"||!_)&&(M=!0),o+="."+T,g="%"+o+"%",pi(Kr,g))b=Kr[g];else if(b!=null){if(!(T in b)){if(!e)throw new sn("base intrinsic for "+t+" exists, but the property is not available.");return}if($r&&B+1>=s.length){var G=$r(b,T);_=!!G,_&&"get"in G&&!("originalValue"in G.get)?b=G.get:b=b[T]}else _=pi(b,T),b=b[T];_&&!M&&(Kr[g]=b)}}return b}});var yi=ae((n1,Ya)=>{"use strict";var oh=Vr(),gi=oh("%Object.defineProperty%",!0)||!1;if(gi)try{gi({},"a",{value:1})}catch(n){gi=!1}Ya.exports=gi});var go=ae((i1,Ha)=>{"use strict";var sh=Vr(),vi=sh("%Object.getOwnPropertyDescriptor%",!0);if(vi)try{vi([],"length")}catch(n){vi=null}Ha.exports=vi});var Ga=ae((o1,Va)=>{"use strict";var $a=yi(),ah=ho(),fn=rn(),Ka=go();Va.exports=function(t,e,s){if(!t||typeof t!="object"&&typeof t!="function")throw new fn("`obj` must be an object or a function`");if(typeof e!="string"&&typeof e!="symbol")throw new fn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new fn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new fn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new fn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new fn("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,g=arguments.length>5?arguments[5]:null,b=arguments.length>6?arguments[6]:!1,M=!!Ka&&Ka(t,e);if($a)$a(t,e,{configurable:g===null&&M?M.configurable:!g,enumerable:o===null&&M?M.enumerable:!o,value:s,writable:u===null&&M?M.writable:!u});else if(b||!o&&!u&&!g)t[e]=s;else throw new ah("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Xa=ae((s1,Ja)=>{"use strict";var yo=yi(),Za=function(){return!!yo};Za.hasArrayLengthDefineBug=function(){if(!yo)return null;try{return yo([],"length",{value:1}).length!==1}catch(t){return!0}};Ja.exports=Za});var nf=ae((a1,rf)=>{"use strict";var fh=Vr(),Qa=Ga(),lh=Xa()(),tf=go(),ef=rn(),uh=fh("%Math.floor%");rf.exports=function(t,e){if(typeof t!="function")throw new ef("`fn` is not a function");if(typeof e!="number"||e<0||e>4294967295||uh(e)!==e)throw new ef("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],o=!0,u=!0;if("length"in t&&tf){var g=tf(t,"length");g&&!g.configurable&&(o=!1),g&&!g.writable&&(u=!1)}return(o||u||!s)&&(lh?Qa(t,"length",e,!0,!0):Qa(t,"length",e)),t}});var uf=ae((f1,wi)=>{"use strict";var vo=di(),xi=Vr(),hh=nf(),ch=rn(),af=xi("%Function.prototype.apply%"),ff=xi("%Function.prototype.call%"),lf=xi("%Reflect.apply%",!0)||vo.call(ff,af),of=yi(),dh=xi("%Math.max%");wi.exports=function(t){if(typeof t!="function")throw new ch("a function is required");var e=lf(vo,ff,arguments);return hh(e,1+dh(0,t.length-(arguments.length-1)),!0)};var sf=function(){return lf(vo,af,arguments)};of?of(wi.exports,"apply",{value:sf}):wi.exports.apply=sf});var pf=ae((l1,df)=>{"use strict";var hf=Vr(),cf=uf(),ph=cf(hf("String.prototype.indexOf"));df.exports=function(t,e){var s=hf(t,!!e);return typeof s=="function"&&ph(t,".prototype.")>-1?cf(s):s}});var mf=ae(()=>{"use strict"});var Rf=ae((c1,Df)=>{"use strict";var So=typeof Map=="function"&&Map.prototype,wo=Object.getOwnPropertyDescriptor&&So?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Mi=So&&wo&&typeof wo.get=="function"?wo.get:null,gf=So&&Map.prototype.forEach,Fo=typeof Set=="function"&&Set.prototype,xo=Object.getOwnPropertyDescriptor&&Fo?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ai=Fo&&xo&&typeof xo.get=="function"?xo.get:null,yf=Fo&&Set.prototype.forEach,mh=typeof WeakMap=="function"&&WeakMap.prototype,On=mh?WeakMap.prototype.has:null,gh=typeof WeakSet=="function"&&WeakSet.prototype,kn=gh?WeakSet.prototype.has:null,yh=typeof WeakRef=="function"&&WeakRef.prototype,vf=yh?WeakRef.prototype.deref:null,vh=Boolean.prototype.valueOf,wh=Object.prototype.toString,xh=Function.prototype.toString,bh=String.prototype.match,To=String.prototype.slice,Ir=String.prototype.replace,Mh=String.prototype.toUpperCase,wf=String.prototype.toLowerCase,Sf=RegExp.prototype.test,xf=Array.prototype.concat,cr=Array.prototype.join,Ah=Array.prototype.slice,bf=Math.floor,Ao=typeof BigInt=="function"?BigInt.prototype.valueOf:null,bo=Object.getOwnPropertySymbols,Eo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ln=typeof Symbol=="function"&&typeof Symbol.iterator=="object",$e=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ln||"symbol")?Symbol.toStringTag:null,Ff=Object.prototype.propertyIsEnumerable,Mf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function Af(n,t){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||Sf.call(/e/,t))return t;var e=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var s=n<0?-bf(-n):bf(n);if(s!==n){var o=String(s),u=To.call(t,o.length+1);return Ir.call(o,e,"$&_")+"."+Ir.call(Ir.call(u,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ir.call(t,e,"$&_")}var Co=mf(),Ef=Co.custom,Cf=If(Ef)?Ef:null;Df.exports=function n(t,e,s,o){var u=e||{};if(Tr(u,"quoteStyle")&&u.quoteStyle!=="single"&&u.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Tr(u,"maxStringLength")&&(typeof u.maxStringLength=="number"?u.maxStringLength<0&&u.maxStringLength!==1/0:u.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=Tr(u,"customInspect")?u.customInspect:!0;if(typeof g!="boolean"&&g!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Tr(u,"indent")&&u.indent!==null&&u.indent!==" "&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Tr(u,"numericSeparator")&&typeof u.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var b=u.numericSeparator;if(typeof t=="undefined")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Uf(t,u);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var M=String(t);return b?Af(t,M):M}if(typeof t=="bigint"){var C=String(t)+"n";return b?Af(t,C):C}var B=typeof u.depth=="undefined"?5:u.depth;if(typeof s=="undefined"&&(s=0),s>=B&&B>0&&typeof t=="object")return _o(t)?"[Array]":"[Object]";var _=qh(u,s);if(typeof o=="undefined")o=[];else if(Nf(o,t)>=0)return"[Circular]";function T(l,d,y){if(d&&(o=Ah.call(o),o.push(d)),y){var w={depth:u.depth};return Tr(u,"quoteStyle")&&(w.quoteStyle=u.quoteStyle),n(l,w,s+1,o)}return n(l,u,s+1,o)}if(typeof t=="function"&&!_f(t)){var j=Nh(t),q=bi(t,T);return"[Function"+(j?": "+j:" (anonymous)")+"]"+(q.length>0?" { "+cr.call(q,", ")+" }":"")}if(If(t)){var G=ln?Ir.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Eo.call(t);return typeof t=="object"&&!ln?Pn(G):G}if(kh(t)){for(var R="<"+wf.call(String(t.nodeName)),xt=t.attributes||[],at=0;at<xt.length;at++)R+=" "+xt[at].name+"="+Tf(Eh(xt[at].value),"double",u);return R+=">",t.childNodes&&t.childNodes.length&&(R+="..."),R+="</"+wf.call(String(t.nodeName))+">",R}if(_o(t)){if(t.length===0)return"[]";var k=bi(t,T);return _&&!Wh(k)?"["+Bo(k,_)+"]":"[ "+cr.call(k,", ")+" ]"}if(_h(t)){var J=bi(t,T);return!("cause"in Error.prototype)&&"cause"in t&&!Ff.call(t,"cause")?"{ ["+String(t)+"] "+cr.call(xf.call("[cause]: "+T(t.cause),J),", ")+" }":J.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+cr.call(J,", ")+" }"}if(typeof t=="object"&&g){if(Cf&&typeof t[Cf]=="function"&&Co)return Co(t,{depth:B-s});if(g!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Uh(t)){var rt=[];return gf&&gf.call(t,function(l,d){rt.push(T(d,t,!0)+" => "+T(l,t))}),Bf("Map",Mi.call(t),rt,_)}if(Ph(t)){var bt=[];return yf&&yf.call(t,function(l){bt.push(T(l,t))}),Bf("Set",Ai.call(t),bt,_)}if(Dh(t))return Mo("WeakMap");if(Oh(t))return Mo("WeakSet");if(Rh(t))return Mo("WeakRef");if(Sh(t))return Pn(T(Number(t)));if(Th(t))return Pn(T(Ao.call(t)));if(Fh(t))return Pn(vh.call(t));if(Bh(t))return Pn(T(String(t)));if(typeof window!="undefined"&&t===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&t===globalThis||typeof global!="undefined"&&t===global)return"{ [object globalThis] }";if(!Ch(t)&&!_f(t)){var X=bi(t,T),Ct=Mf?Mf(t)===Object.prototype:t instanceof Object||t.constructor===Object,m=t instanceof Object?"":"null prototype",r=!Ct&&$e&&Object(t)===t&&$e in t?To.call(Nr(t),8,-1):m?"Object":"",a=Ct||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",f=a+(r||m?"["+cr.call(xf.call([],r||[],m||[]),": ")+"] ":"");return X.length===0?f+"{}":_?f+"{"+Bo(X,_)+"}":f+"{ "+cr.call(X,", ")+" }"}return String(t)};function Tf(n,t,e){var s=(e.quoteStyle||t)==="double"?'"':"'";return s+n+s}function Eh(n){return Ir.call(String(n),/"/g,"&quot;")}function _o(n){return Nr(n)==="[object Array]"&&(!$e||!(typeof n=="object"&&$e in n))}function Ch(n){return Nr(n)==="[object Date]"&&(!$e||!(typeof n=="object"&&$e in n))}function _f(n){return Nr(n)==="[object RegExp]"&&(!$e||!(typeof n=="object"&&$e in n))}function _h(n){return Nr(n)==="[object Error]"&&(!$e||!(typeof n=="object"&&$e in n))}function Bh(n){return Nr(n)==="[object String]"&&(!$e||!(typeof n=="object"&&$e in n))}function Sh(n){return Nr(n)==="[object Number]"&&(!$e||!(typeof n=="object"&&$e in n))}function Fh(n){return Nr(n)==="[object Boolean]"&&(!$e||!(typeof n=="object"&&$e in n))}function If(n){if(ln)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!Eo)return!1;try{return Eo.call(n),!0}catch(t){}return!1}function Th(n){if(!n||typeof n!="object"||!Ao)return!1;try{return Ao.call(n),!0}catch(t){}return!1}var Ih=Object.prototype.hasOwnProperty||function(n){return n in this};function Tr(n,t){return Ih.call(n,t)}function Nr(n){return wh.call(n)}function Nh(n){if(n.name)return n.name;var t=bh.call(xh.call(n),/^function\s*([\w$]+)/);return t?t[1]:null}function Nf(n,t){if(n.indexOf)return n.indexOf(t);for(var e=0,s=n.length;e<s;e++)if(n[e]===t)return e;return-1}function Uh(n){if(!Mi||!n||typeof n!="object")return!1;try{Mi.call(n);try{Ai.call(n)}catch(t){return!0}return n instanceof Map}catch(t){}return!1}function Dh(n){if(!On||!n||typeof n!="object")return!1;try{On.call(n,On);try{kn.call(n,kn)}catch(t){return!0}return n instanceof WeakMap}catch(t){}return!1}function Rh(n){if(!vf||!n||typeof n!="object")return!1;try{return vf.call(n),!0}catch(t){}return!1}function Ph(n){if(!Ai||!n||typeof n!="object")return!1;try{Ai.call(n);try{Mi.call(n)}catch(t){return!0}return n instanceof Set}catch(t){}return!1}function Oh(n){if(!kn||!n||typeof n!="object")return!1;try{kn.call(n,kn);try{On.call(n,On)}catch(t){return!0}return n instanceof WeakSet}catch(t){}return!1}function kh(n){return!n||typeof n!="object"?!1:typeof HTMLElement!="undefined"&&n instanceof HTMLElement?!0:typeof n.nodeName=="string"&&typeof n.getAttribute=="function"}function Uf(n,t){if(n.length>t.maxStringLength){var e=n.length-t.maxStringLength,s="... "+e+" more character"+(e>1?"s":"");return Uf(To.call(n,0,t.maxStringLength),t)+s}var o=Ir.call(Ir.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Lh);return Tf(o,"single",t)}function Lh(n){var t=n.charCodeAt(0),e={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return e?"\\"+e:"\\x"+(t<16?"0":"")+Mh.call(t.toString(16))}function Pn(n){return"Object("+n+")"}function Mo(n){return n+" { ? }"}function Bf(n,t,e,s){var o=s?Bo(e,s):cr.call(e,", ");return n+" ("+t+") {"+o+"}"}function Wh(n){for(var t=0;t<n.length;t++)if(Nf(n[t],` `)>=0)return!1;return!0}function qh(n,t){var e;if(n.indent===" ")e=" ";else if(typeof n.indent=="number"&&n.indent>0)e=cr.call(Array(n.indent+1)," ");else return null;return{base:e,prev:cr.call(Array(t+1),e)}}function Bo(n,t){if(n.length===0)return"";var e=` `+t.prev+t.base;return e+cr.call(n,","+e)+` `+t.prev}function bi(n,t){var e=_o(n),s=[];if(e){s.length=n.length;for(var o=0;o<n.length;o++)s[o]=Tr(n,o)?t(n[o],n):""}var u=typeof bo=="function"?bo(n):[],g;if(ln){g={};for(var b=0;b<u.length;b++)g["$"+u[b]]=u[b]}for(var M in n)Tr(n,M)&&(e&&String(Number(M))===M&&M<n.length||ln&&g["$"+M]instanceof Symbol||(Sf.call(/[^\w$]/,M)?s.push(t(M,n)+": "+t(n[M],n)):s.push(M+": "+t(n[M],n))));if(typeof bo=="function")for(var C=0;C<u.length;C++)Ff.call(n,u[C])&&s.push("["+t(u[C])+"]: "+t(n[u[C]],n));return s}});var kf=ae((d1,Of)=>{"use strict";var Pf=Vr(),un=pf(),jh=Rf(),zh=rn(),Ei=Pf("%WeakMap%",!0),Ci=Pf("%Map%",!0),Yh=un("WeakMap.prototype.get",!0),Hh=un("WeakMap.prototype.set",!0),$h=un("WeakMap.prototype.has",!0),Kh=un("Map.prototype.get",!0),Vh=un("Map.prototype.set",!0),Gh=un("Map.prototype.has",!0),Io=function(n,t){for(var e=n,s;(s=e.next)!==null;e=s)if(s.key===t)return e.next=s.next,s.next=n.next,n.next=s,s},Zh=function(n,t){var e=Io(n,t);return e&&e.value},Jh=function(n,t,e){var s=Io(n,t);s?s.value=e:n.next={key:t,next:n.next,value:e}},Xh=function(n,t){return!!Io(n,t)};Of.exports=function(){var t,e,s,o={assert:function(u){if(!o.has(u))throw new zh("Side channel does not contain "+jh(u))},get:function(u){if(Ei&&u&&(typeof u=="object"||typeof u=="function")){if(t)return Yh(t,u)}else if(Ci){if(e)return Kh(e,u)}else if(s)return Zh(s,u)},has:function(u){if(Ei&&u&&(typeof u=="object"||typeof u=="function")){if(t)return $h(t,u)}else if(Ci){if(e)return Gh(e,u)}else if(s)return Xh(s,u);return!1},set:function(u,g){Ei&&u&&(typeof u=="object"||typeof u=="function")?(t||(t=new Ei),Hh(t,u,g)):Ci?(e||(e=new Ci),Vh(e,u,g)):(s||(s={key:{},next:null}),Jh(s,u,g))}};return o}});var _i=ae((p1,Lf)=>{"use strict";var Qh=String.prototype.replace,tc=/%20/g,No={RFC1738:"RFC1738",RFC3986:"RFC3986"};Lf.exports={default:No.RFC3986,formatters:{RFC1738:function(n){return Qh.call(n,tc,"+")},RFC3986:function(n){return String(n)}},RFC1738:No.RFC1738,RFC3986:No.RFC3986}});var Ro=ae((m1,qf)=>{"use strict";var ec=_i(),Uo=Object.prototype.hasOwnProperty,Gr=Array.isArray,dr=function(){for(var n=[],t=0;t<256;++t)n.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return n}(),rc=function(t){for(;t.length>1;){var e=t.pop(),s=e.obj[e.prop];if(Gr(s)){for(var o=[],u=0;u<s.length;++u)typeof s[u]!="undefined"&&o.push(s[u]);e.obj[e.prop]=o}}},Wf=function(t,e){for(var s=e&&e.plainObjects?Object.create(null):{},o=0;o<t.length;++o)typeof t[o]!="undefined"&&(s[o]=t[o]);return s},nc=function n(t,e,s){if(!e)return t;if(typeof e!="object"){if(Gr(t))t.push(e);else if(t&&typeof t=="object")(s&&(s.plainObjects||s.allowPrototypes)||!Uo.call(Object.prototype,e))&&(t[e]=!0);else return[t,e];return t}if(!t||typeof t!="object")return[t].concat(e);var o=t;return Gr(t)&&!Gr(e)&&(o=Wf(t,s)),Gr(t)&&Gr(e)?(e.forEach(function(u,g){if(Uo.call(t,g)){var b=t[g];b&&typeof b=="object"&&u&&typeof u=="object"?t[g]=n(b,u,s):t.push(u)}else t[g]=u}),t):Object.keys(e).reduce(function(u,g){var b=e[g];return Uo.call(u,g)?u[g]=n(u[g],b,s):u[g]=b,u},o)},ic=function(t,e){return Object.keys(e).reduce(function(s,o){return s[o]=e[o],s},t)},oc=function(n,t,e){var s=n.replace(/\+/g," ");if(e==="iso-8859-1")return s.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(s)}catch(o){return s}},Do=1024,sc=function(t,e,s,o,u){if(t.length===0)return t;var g=t;if(typeof t=="symbol"?g=Symbol.prototype.toString.call(t):typeof t!="string"&&(g=String(t)),s==="iso-8859-1")return escape(g).replace(/%u[0-9a-f]{4}/gi,function(j){return"%26%23"+parseInt(j.slice(2),16)+"%3B"});for(var b="",M=0;M<g.length;M+=Do){for(var C=g.length>=Do?g.slice(M,M+Do):g,B=[],_=0;_<C.length;++_){var T=C.charCodeAt(_);if(T===45||T===46||T===95||T===126||T>=48&&T<=57||T>=65&&T<=90||T>=97&&T<=122||u===ec.RFC1738&&(T===40||T===41)){B[B.length]=C.charAt(_);continue}if(T<128){B[B.length]=dr[T];continue}if(T<2048){B[B.length]=dr[192|T>>6]+dr[128|T&63];continue}if(T<55296||T>=57344){B[B.length]=dr[224|T>>12]+dr[128|T>>6&63]+dr[128|T&63];continue}_+=1,T=65536+((T&1023)<<10|C.charCodeAt(_)&1023),B[B.length]=dr[240|T>>18]+dr[128|T>>12&63]+dr[128|T>>6&63]+dr[128|T&63]}b+=B.join("")}return b},ac=function(t){for(var e=[{obj:{o:t},prop:"o"}],s=[],o=0;o<e.length;++o)for(var u=e[o],g=u.obj[u.prop],b=Object.keys(g),M=0;M<b.length;++M){var C=b[M],B=g[C];typeof B=="object"&&B!==null&&s.indexOf(B)===-1&&(e.push({obj:g,prop:C}),s.push(B))}return rc(e),t},fc=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},lc=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},uc=function(t,e){return[].concat(t,e)},hc=function(t,e){if(Gr(t)){for(var s=[],o=0;o<t.length;o+=1)s.push(e(t[o]));return s}return e(t)};qf.exports={arrayToObject:Wf,assign:ic,combine:uc,compact:ac,decode:oc,encode:sc,isBuffer:lc,isRegExp:fc,maybeMap:hc,merge:nc}});var Kf=ae((g1,$f)=>{"use strict";var zf=kf(),Bi=Ro(),Ln=_i(),cc=Object.prototype.hasOwnProperty,Yf={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},pr=Array.isArray,dc=Array.prototype.push,Hf=function(n,t){dc.apply(n,pr(t)?t:[t])},pc=Date.prototype.toISOString,jf=Ln.default,Ue={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Bi.encode,encodeValuesOnly:!1,format:jf,formatter:Ln.formatters[jf],indices:!1,serializeDate:function(t){return pc.call(t)},skipNulls:!1,strictNullHandling:!1},mc=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Po={},gc=function n(t,e,s,o,u,g,b,M,C,B,_,T,j,q,G,R,xt,at){for(var k=t,J=at,rt=0,bt=!1;(J=J.get(Po))!==void 0&&!bt;){var X=J.get(t);if(rt+=1,typeof X!="undefined"){if(X===rt)throw new RangeError("Cyclic object value");bt=!0}typeof J.get(Po)=="undefined"&&(rt=0)}if(typeof B=="function"?k=B(e,k):k instanceof Date?k=j(k):s==="comma"&&pr(k)&&(k=Bi.maybeMap(k,function(P){return P instanceof Date?j(P):P})),k===null){if(g)return C&&!R?C(e,Ue.encoder,xt,"key",q):e;k=""}if(mc(k)||Bi.isBuffer(k)){if(C){var Ct=R?e:C(e,Ue.encoder,xt,"key",q);return[G(Ct)+"="+G(C(k,Ue.encoder,xt,"value",q))]}return[G(e)+"="+G(String(k))]}var m=[];if(typeof k=="undefined")return m;var r;if(s==="comma"&&pr(k))R&&C&&(k=Bi.maybeMap(k,C)),r=[{value:k.length>0?k.join(",")||null:void 0}];else if(pr(B))r=B;else{var a=Object.keys(k);r=_?a.sort(_):a}var f=M?e.replace(/\./g,"%2E"):e,l=o&&pr(k)&&k.length===1?f+"[]":f;if(u&&pr(k)&&k.length===0)return l+"[]";for(var d=0;d<r.length;++d){var y=r[d],w=typeof y=="object"&&typeof y.value!="undefined"?y.value:k[y];if(!(b&&w===null)){var h=T&&M?y.replace(/\./g,"%2E"):y,i=pr(k)?typeof s=="function"?s(l,h):l:l+(T?"."+h:"["+h+"]");at.set(t,rt);var c=zf();c.set(Po,at),Hf(m,n(w,i,s,o,u,g,b,M,s==="comma"&&R&&pr(k)?null:C,B,_,T,j,q,G,R,xt,c))}}return m},yc=function(t){if(!t)return Ue;if(typeof t.allowEmptyArrays!="undefined"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys!="undefined"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder!="undefined"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var e=t.charset||Ue.charset;if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var s=Ln.default;if(typeof t.format!="undefined"){if(!cc.call(Ln.formatters,t.format))throw new TypeError("Unknown format option provided.");s=t.format}var o=Ln.formatters[s],u=Ue.filter;(typeof t.filter=="function"||pr(t.filter))&&(u=t.filter);var g;if(t.arrayFormat in Yf?g=t.arrayFormat:"indices"in t?g=t.indices?"indices":"repeat":g=Ue.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var b=typeof t.allowDots=="undefined"?t.encodeDotInKeys===!0?!0:Ue.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Ue.addQueryPrefix,allowDots:b,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Ue.allowEmptyArrays,arrayFormat:g,charset:e,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ue.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:typeof t.delimiter=="undefined"?Ue.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Ue.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:Ue.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:Ue.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Ue.encodeValuesOnly,filter:u,format:s,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Ue.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Ue.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ue.strictNullHandling}};$f.exports=function(n,t){var e=n,s=yc(t),o,u;typeof s.filter=="function"?(u=s.filter,e=u("",e)):pr(s.filter)&&(u=s.filter,o=u);var g=[];if(typeof e!="object"||e===null)return"";var b=Yf[s.arrayFormat],M=b==="comma"&&s.commaRoundTrip;o||(o=Object.keys(e)),s.sort&&o.sort(s.sort);for(var C=zf(),B=0;B<o.length;++B){var _=o[B];s.skipNulls&&e[_]===null||Hf(g,gc(e[_],_,b,M,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,C))}var T=g.join(s.delimiter),j=s.addQueryPrefix===!0?"?":"";return s.charsetSentinel&&(s.charset==="iso-8859-1"?j+="utf8=%26%2310003%3B&":j+="utf8=%E2%9C%93&"),T.length>0?j+T:""}});var Zf=ae((y1,Gf)=>{"use strict";var hn=Ro(),Oo=Object.prototype.hasOwnProperty,vc=Array.isArray,Be={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:hn.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},wc=function(n){return n.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},Vf=function(n,t){return n&&typeof n=="string"&&t.comma&&n.indexOf(",")>-1?n.split(","):n},xc="utf8=%26%2310003%3B",bc="utf8=%E2%9C%93",Mc=function(t,e){var s={__proto__:null},o=e.ignoreQueryPrefix?t.replace(/^\?/,""):t;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=e.parameterLimit===1/0?void 0:e.parameterLimit,g=o.split(e.delimiter,u),b=-1,M,C=e.charset;if(e.charsetSentinel)for(M=0;M<g.length;++M)g[M].indexOf("utf8=")===0&&(g[M]===bc?C="utf-8":g[M]===xc&&(C="iso-8859-1"),b=M,M=g.length);for(M=0;M<g.length;++M)if(M!==b){var B=g[M],_=B.indexOf("]="),T=_===-1?B.indexOf("="):_+1,j,q;T===-1?(j=e.decoder(B,Be.decoder,C,"key"),q=e.strictNullHandling?null:""):(j=e.decoder(B.slice(0,T),Be.decoder,C,"key"),q=hn.maybeMap(Vf(B.slice(T+1),e),function(R){return e.decoder(R,Be.decoder,C,"value")})),q&&e.interpretNumericEntities&&C==="iso-8859-1"&&(q=wc(q)),B.indexOf("[]=")>-1&&(q=vc(q)?[q]:q);var G=Oo.call(s,j);G&&e.duplicates==="combine"?s[j]=hn.combine(s[j],q):(!G||e.duplicates==="last")&&(s[j]=q)}return s},Ac=function(n,t,e,s){for(var o=s?t:Vf(t,e),u=n.length-1;u>=0;--u){var g,b=n[u];if(b==="[]"&&e.parseArrays)g=e.allowEmptyArrays&&(o===""||e.strictNullHandling&&o===null)?[]:[].concat(o);else{g=e.plainObjects?Object.create(null):{};var M=b.charAt(0)==="["&&b.charAt(b.length-1)==="]"?b.slice(1,-1):b,C=e.decodeDotInKeys?M.replace(/%2E/g,"."):M,B=parseInt(C,10);!e.parseArrays&&C===""?g={0:o}:!isNaN(B)&&b!==C&&String(B)===C&&B>=0&&e.parseArrays&&B<=e.arrayLimit?(g=[],g[B]=o):C!=="__proto__"&&(g[C]=o)}o=g}return o},Ec=function(t,e,s,o){if(t){var u=s.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,g=/(\[[^[\]]*])/,b=/(\[[^[\]]*])/g,M=s.depth>0&&g.exec(u),C=M?u.slice(0,M.index):u,B=[];if(C){if(!s.plainObjects&&Oo.call(Object.prototype,C)&&!s.allowPrototypes)return;B.push(C)}for(var _=0;s.depth>0&&(M=b.exec(u))!==null&&_<s.depth;){if(_+=1,!s.plainObjects&&Oo.call(Object.prototype,M[1].slice(1,-1))&&!s.allowPrototypes)return;B.push(M[1])}if(M){if(s.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+s.depth+" and strictDepth is true");B.push("["+u.slice(M.index)+"]")}return Ac(B,e,s,o)}},Cc=function(t){if(!t)return Be;if(typeof t.allowEmptyArrays!="undefined"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys!="undefined"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder!="undefined"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=typeof t.charset=="undefined"?Be.charset:t.charset,s=typeof t.duplicates=="undefined"?Be.duplicates:t.duplicates;if(s!=="combine"&&s!=="first"&&s!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var o=typeof t.allowDots=="undefined"?t.decodeDotInKeys===!0?!0:Be.allowDots:!!t.allowDots;return{allowDots:o,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Be.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Be.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Be.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Be.arrayLimit,charset:e,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Be.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Be.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:Be.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:Be.decoder,delimiter:typeof t.delimiter=="string"||hn.isRegExp(t.delimiter)?t.delimiter:Be.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Be.depth,duplicates:s,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Be.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Be.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Be.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:Be.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Be.strictNullHandling}};Gf.exports=function(n,t){var e=Cc(t);if(n===""||n===null||typeof n=="undefined")return e.plainObjects?Object.create(null):{};for(var s=typeof n=="string"?Mc(n,e):n,o=e.plainObjects?Object.create(null):{},u=Object.keys(s),g=0;g<u.length;++g){var b=u[g],M=Ec(b,s[b],e,typeof n=="string");o=hn.merge(o,M,e)}return e.allowSparse===!0?o:hn.compact(o)}});var Xf=ae((v1,Jf)=>{"use strict";var _c=Kf(),Bc=Zf(),Sc=_i();Jf.exports={formats:Sc,parse:Bc,stringify:_c}});var Y0=ae((sw,z0)=>{"use strict";var vn=1e3,wn=vn*60,xn=wn*60,Qr=xn*24,Gd=Qr*7,Zd=Qr*365.25;z0.exports=function(n,t){t=t||{};var e=typeof n;if(e==="string"&&n.length>0)return Jd(n);if(e==="number"&&isFinite(n))return t.long?Qd(n):Xd(n);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(n))};function Jd(n){if(n=String(n),!(n.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(n);if(t){var e=parseFloat(t[1]),s=(t[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return e*Zd;case"weeks":case"week":case"w":return e*Gd;case"days":case"day":case"d":return e*Qr;case"hours":case"hour":case"hrs":case"hr":case"h":return e*xn;case"minutes":case"minute":case"mins":case"min":case"m":return e*wn;case"seconds":case"second":case"secs":case"sec":case"s":return e*vn;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}}}function Xd(n){var t=Math.abs(n);return t>=Qr?Math.round(n/Qr)+"d":t>=xn?Math.round(n/xn)+"h":t>=wn?Math.round(n/wn)+"m":t>=vn?Math.round(n/vn)+"s":n+"ms"}function Qd(n){var t=Math.abs(n);return t>=Qr?Ki(n,t,Qr,"day"):t>=xn?Ki(n,t,xn,"hour"):t>=wn?Ki(n,t,wn,"minute"):t>=vn?Ki(n,t,vn,"second"):n+" ms"}function Ki(n,t,e,s){var o=t>=e*1.5;return Math.round(n/e)+" "+s+(o?"s":"")}});var $0=ae((aw,H0)=>{"use strict";function tp(n){e.debug=e,e.default=e,e.coerce=M,e.disable=u,e.enable=o,e.enabled=g,e.humanize=Y0(),e.destroy=C,Object.keys(n).forEach(B=>{e[B]=n[B]}),e.names=[],e.skips=[],e.formatters={};function t(B){let _=0;for(let T=0;T<B.length;T++)_=(_<<5)-_+B.charCodeAt(T),_|=0;return e.colors[Math.abs(_)%e.colors.length]}e.selectColor=t;function e(B){let _,T=null,j,q;function G(...R){if(!G.enabled)return;let xt=G,at=Number(new Date),k=at-(_||at);xt.diff=k,xt.prev=_,xt.curr=at,_=at,R[0]=e.coerce(R[0]),typeof R[0]!="string"&&R.unshift("%O");let J=0;R[0]=R[0].replace(/%([a-zA-Z%])/g,(bt,X)=>{if(bt==="%%")return"%";J++;let Ct=e.formatters[X];if(typeof Ct=="function"){let m=R[J];bt=Ct.call(xt,m),R.splice(J,1),J--}return bt}),e.formatArgs.call(xt,R),(xt.log||e.log).apply(xt,R)}return G.namespace=B,G.useColors=e.useColors(),G.color=e.selectColor(B),G.extend=s,G.destroy=e.destroy,Object.defineProperty(G,"enabled",{enumerable:!0,configurable:!1,get:()=>T!==null?T:(j!==e.namespaces&&(j=e.namespaces,q=e.enabled(B)),q),set:R=>{T=R}}),typeof e.init=="function"&&e.init(G),G}function s(B,_){let T=e(this.namespace+(typeof _=="undefined"?":":_)+B);return T.log=this.log,T}function o(B){e.save(B),e.namespaces=B,e.names=[],e.skips=[];let _,T=(typeof B=="string"?B:"").split(/[\s,]+/),j=T.length;for(_=0;_<j;_++)T[_]&&(B=T[_].replace(/\*/g,".*?"),B[0]==="-"?e.skips.push(new RegExp("^"+B.slice(1)+"$")):e.names.push(new RegExp("^"+B+"$")))}function u(){let B=[...e.names.map(b),...e.skips.map(b).map(_=>"-"+_)].join(",");return e.enable(""),B}function g(B){if(B[B.length-1]==="*")return!0;let _,T;for(_=0,T=e.skips.length;_<T;_++)if(e.skips[_].test(B))return!1;for(_=0,T=e.names.length;_<T;_++)if(e.names[_].test(B))return!0;return!1}function b(B){return B.toString().substring(2,B.toString().length-2).replace(/\.\*\?$/,"*")}function M(B){return B instanceof Error?B.stack||B.message:B}function C(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return e.enable(e.load()),e}H0.exports=tp});var ds=ae((ir,Vi)=>{"use strict";ir.formatArgs=rp;ir.save=np;ir.load=ip;ir.useColors=ep;ir.storage=op();ir.destroy=(()=>{let n=!1;return()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();ir.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function ep(){if(typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let n;return typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&(n=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(n[1],10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function rp(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+Vi.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;n.splice(1,0,t,"color: inherit");let e=0,s=0;n[0].replace(/%[a-zA-Z%]/g,o=>{o!=="%%"&&(e++,o==="%c"&&(s=e))}),n.splice(s,0,t)}ir.log=console.debug||console.log||(()=>{});function np(n){try{n?ir.storage.setItem("debug",n):ir.storage.removeItem("debug")}catch(t){}}function ip(){let n;try{n=ir.storage.getItem("debug")}catch(t){}return!n&&typeof process!="undefined"&&"env"in process&&(n=process.env.DEBUG),n}function op(){try{return localStorage}catch(n){}}Vi.exports=$0()(ir);var{formatters:sp}=Vi.exports;sp.j=function(n){try{return JSON.stringify(n)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var ol=ae(Xi=>{"use strict";Xi.byteLength=mp;Xi.toByteArray=yp;Xi.fromByteArray=xp;var yr=[],sr=[],pp=typeof Uint8Array!="undefined"?Uint8Array:Array,bs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(tn=0,nl=bs.length;tn<nl;++tn)yr[tn]=bs[tn],sr[bs.charCodeAt(tn)]=tn;var tn,nl;sr["-".charCodeAt(0)]=62;sr["_".charCodeAt(0)]=63;function il(n){var t=n.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=n.indexOf("=");e===-1&&(e=t);var s=e===t?0:4-e%4;return[e,s]}function mp(n){var t=il(n),e=t[0],s=t[1];return(e+s)*3/4-s}function gp(n,t,e){return(t+e)*3/4-e}function yp(n){var t,e=il(n),s=e[0],o=e[1],u=new pp(gp(n,s,o)),g=0,b=o>0?s-4:s,M;for(M=0;M<b;M+=4)t=sr[n.charCodeAt(M)]<<18|sr[n.charCodeAt(M+1)]<<12|sr[n.charCodeAt(M+2)]<<6|sr[n.charCodeAt(M+3)],u[g++]=t>>16&255,u[g++]=t>>8&255,u[g++]=t&255;return o===2&&(t=sr[n.charCodeAt(M)]<<2|sr[n.charCodeAt(M+1)]>>4,u[g++]=t&255),o===1&&(t=sr[n.charCodeAt(M)]<<10|sr[n.charCodeAt(M+1)]<<4|sr[n.charCodeAt(M+2)]>>2,u[g++]=t>>8&255,u[g++]=t&255),u}function vp(n){return yr[n>>18&63]+yr[n>>12&63]+yr[n>>6&63]+yr[n&63]}function wp(n,t,e){for(var s,o=[],u=t;u<e;u+=3)s=(n[u]<<16&16711680)+(n[u+1]<<8&65280)+(n[u+2]&255),o.push(vp(s));return o.join("")}function xp(n){for(var t,e=n.length,s=e%3,o=[],u=16383