@zeniai/web-cockpit-ui 2.2.90-dev → 2.2.91-dev

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.
Files changed (38) hide show
  1. package/dist/assets/{CreditAgentRoutes-BNELCMxP.js → CreditAgentRoutes-i8mbh839.js} +1 -1
  2. package/dist/assets/{Preview-CenqZdeB.js → Preview-B0fAgGC9.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-CuMeWYcp.js → ScreenRoutes-De0TzNoe.js} +3 -3
  4. package/dist/assets/{SignInScreen-CiATrHrZ.js → SignInScreen-Gt8rAifV.js} +1 -1
  5. package/dist/assets/{analytics-BM-RmzOi.js → analytics-BtioYZHB.js} +1 -1
  6. package/dist/assets/{analyticsHelper-b5Mpj7FL.js → analyticsHelper-CmLWHgDS.js} +1 -1
  7. package/dist/assets/{core-CexvL2PC.js → core-CFZ1zKLB.js} +1 -1
  8. package/dist/assets/{dash.all.min-BzZM8EaW.js → dash.all.min-Djt5LuDu.js} +1 -1
  9. package/dist/assets/{empty-CQDhkz87.js → empty-C5UkkRpZ.js} +1 -1
  10. package/dist/assets/{empty-6W1STqf_.js → empty-do-IWCor.js} +1 -1
  11. package/dist/assets/{epic-CD8fgod_.js → epic-s9QUAxFW.js} +2 -2
  12. package/dist/assets/{index-Dy5oIRH2.js → index-BCaHiGMr.js} +1 -1
  13. package/dist/assets/{index-Duz8EgAD.js → index-BkPu5aSk.js} +1 -1
  14. package/dist/assets/{index-CKfCmoDj.js → index-BtEbWuGk.js} +5 -5
  15. package/dist/assets/{index-4WpCaaqM.js → index-CIcyLYO3.js} +1 -1
  16. package/dist/assets/{index-D9PDd7Df.js → index-CTXiyL01.js} +2 -2
  17. package/dist/assets/{index-CM3mgf6L.js → index-DHk5qSRD.js} +1 -1
  18. package/dist/assets/{index-BwfpKjLz.js → index-DJeysOrB.js} +1 -1
  19. package/dist/assets/{lexical-BQwfj5n8.js → lexical-_Lbgq3jj.js} +1 -1
  20. package/dist/assets/{liveblocks-CFWr3-Es.js → liveblocks-aOfptKpP.js} +1 -1
  21. package/dist/assets/{lottie-Dp25CyQz.js → lottie-BXV2jUKn.js} +1 -1
  22. package/dist/assets/{mui-CG69zo7E.js → mui-DKtip3Fo.js} +1 -1
  23. package/dist/assets/{react-BpK3d5oW.js → react-B2dfpYXH.js} +1 -1
  24. package/dist/assets/{react-Bw8saxM2.js → react-Bmuvf6UA.js} +1 -1
  25. package/dist/assets/{react-DPejdeT6.js → react-C0fw40qx.js} +1 -1
  26. package/dist/assets/{react-SRFutXZN.js → react-C6rfSKLo.js} +1 -1
  27. package/dist/assets/{react-Dl3o_s-D.js → react-Ci1gZ7q4.js} +1 -1
  28. package/dist/assets/{react-Bgs8sH-p.js → react-CsjK4EYH.js} +1 -1
  29. package/dist/assets/{react-B4slDvxm.js → react-D7fvj7cl.js} +1 -1
  30. package/dist/assets/{react-CG3-CpwO.js → react-dhte24OQ.js} +2 -2
  31. package/dist/assets/{recharts-DA1HvZve.js → recharts-BZkRyMBd.js} +1 -1
  32. package/dist/assets/{sentry-BJlx_ZxE.js → sentry-COHE35Rj.js} +1 -1
  33. package/dist/assets/{url-CAXsvflG.js → url-BAKti-YE.js} +1 -1
  34. package/dist/assets/{url-D6DSaIKB.js → url-Di8D4q14.js} +1 -1
  35. package/dist/assets/{utils-CRsfb5WZ.js → utils-BVuib09Q.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-PthqloQx.js → zeni-epic-state-BGUqGu00.js} +3 -3
  37. package/dist/index.html +1 -1
  38. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import{d as commonjsGlobal,p as process$1}from"./sentry-BJlx_ZxE.js";import{H as Buffer,p as isSymbol,I as baseToString,D as toInteger,W as WeakMap$1,q as identity,J as baseCreate,c as isObject,r as root,K as noop,L as copyArray,a as isObjectLike,i as isArray,M as shortOut,N as arrayEach,O as arrayIncludes,P as setToString,Q as isIndex,R as apply,S as createAssigner,T as isPrototype,U as isArrayLike,V as copyObject,X as keys,Y as assignValue,Z as keysIn,g as get$1,_ as flatRest,b as baseGetTag,x as isPlainObject,k as baseRest,$ as toKey,C as baseAssignValue,t as toString,o as toNumber,l as isIterateeCall,a0 as baseSlice,a1 as baseClone,a2 as arrayPush,n as baseFlatten,a3 as arrayMap,j as baseIteratee,z as baseEach,a4 as baseAssign,a5 as eq,a6 as isBuffer,a7 as isTypedArray$2,a8 as isArrayLikeObject,a9 as cloneBuffer,aa as cloneTypedArray,ab as isArguments$1,d as isFunction,ac as initCloneObject,ad as baseFor,ae as Stack,w as last,af as baseDifference,ag as createBaseFor,ah as createBaseEach,ai as getTag,aj as mapToArray,ak as arrayFilter,B as baseForOwn,al as map,y as toFinite,am as values,an as baseIndexOf,ao as baseUnary,ap as SetCache,aq as cacheHas,ar as arrayIncludesWith,as as constant,at as castPath,au as parent,av as nodeUtil,aw as baseIsEqual,ax as baseIsMatch,ay as getMatchData,az as coreJsData,aA as stubFalse,aB as baseIsNative,E as baseFindIndex,aC as baseIsNaN,aD as baseMatches,aE as baseMatchesProperty,s as stringToArray,aF as Symbol$1,aG as setToArray,aH as baseGet,aI as getAllKeysIn,A as arraySome,aJ as baseProperty,h as hasUnicode,e as castSlice,aK as hasIn,aL as baseUnset,aM as compareAscending,aN as baseKeys,aO as assignWith,aP as baseValues,aQ as baseTimes,aR as stringToPath,aS as getPrototype,aT as baseTrim,aU as charsEndIndex,f as baseUniq,aV as difference,aW as differenceBy,aX as flatten,aY as uniq,aZ as findLastIndex,u as flatMap,a_ as orderBy,a$ as findLast,G as memoize,b0 as cloneDeep,b1 as isEmpty,v as isEqual,b2 as isLength,b3 as isMap,b4 as isSet,b5 as omit,b6 as has,b7 as trimEnd,b8 as property,b9 as stubArray}from"./zeni-epic-state-PthqloQx.js";import{u as upperFirst,b as baseGt,i as isString,e as createCaseFirst,f as baseLt,g as baseSum,h as arrayEvery,j as createRange,k as uniqBy,l as findIndex,m as head,s as sortBy,n as every,o as find,p as some,q as now,d as debounce,t as throttle,r as isBoolean,v as isNaN$1,w as isNil,x as isNumber,y as max$1,z as maxBy,A as min$1,B as minBy,C as sumBy,D as mapValues,E as range$1}from"./recharts-DA1HvZve.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="dd8942f6-0065-4056-b313-74ffae522ecb",e._sentryDebugIdIdentifier="sentry-dbid-dd8942f6-0065-4056-b313-74ffae522ecb")}catch{}})();var cryptoJs$1={exports:{}};function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core$1={exports:{}},cryptoBrowserify={},browser$b={exports:{}},safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var r={},a={};a.byteLength=i,a.toByteArray=c,a.fromByteArray=y;for(var n=[],l=[],t=typeof Uint8Array<"u"?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,f=h.length;s<f;++s)n[s]=h[s],l[h.charCodeAt(s)]=s;l[45]=62,l[95]=63;function o(_){var S=_.length;if(S%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var $=_.indexOf("=");$===-1&&($=S);var P=$===S?0:4-$%4;return[$,P]}function i(_){var S=o(_),$=S[0],P=S[1];return($+P)*3/4-P}function u(_,S,$){return(S+$)*3/4-$}function c(_){var S,$=o(_),P=$[0],k=$[1],N=new t(u(_,P,k)),H=0,V=k>0?P-4:P,z;for(z=0;z<V;z+=4)S=l[_.charCodeAt(z)]<<18|l[_.charCodeAt(z+1)]<<12|l[_.charCodeAt(z+2)]<<6|l[_.charCodeAt(z+3)],N[H++]=S>>16&255,N[H++]=S>>8&255,N[H++]=S&255;return k===2&&(S=l[_.charCodeAt(z)]<<2|l[_.charCodeAt(z+1)]>>4,N[H++]=S&255),k===1&&(S=l[_.charCodeAt(z)]<<10|l[_.charCodeAt(z+1)]<<4|l[_.charCodeAt(z+2)]>>2,N[H++]=S>>8&255,N[H++]=S&255),N}function p(_){return n[_>>18&63]+n[_>>12&63]+n[_>>6&63]+n[_&63]}function v(_,S,$){for(var P,k=[],N=S;N<$;N+=3)P=(_[N]<<16&16711680)+(_[N+1]<<8&65280)+(_[N+2]&255),k.push(p(P));return k.join("")}function y(_){for(var S,$=_.length,P=$%3,k=[],N=16383,H=0,V=$-P;H<V;H+=N)k.push(v(_,H,H+N>V?V:H+N));return P===1?(S=_[$-1],k.push(n[S>>2]+n[S<<4&63]+"==")):P===2&&(S=(_[$-2]<<8)+_[$-1],k.push(n[S>>10]+n[S>>4&63]+n[S<<2&63]+"=")),k.join("")}var m={};m.read=function(_,S,$,P,k){var N,H,V=k*8-P-1,z=(1<<V)-1,O=z>>1,b=-7,x=$?k-1:0,d=$?-1:1,g=_[S+x];for(x+=d,N=g&(1<<-b)-1,g>>=-b,b+=V;b>0;N=N*256+_[S+x],x+=d,b-=8);for(H=N&(1<<-b)-1,N>>=-b,b+=P;b>0;H=H*256+_[S+x],x+=d,b-=8);if(N===0)N=1-O;else{if(N===z)return H?NaN:(g?-1:1)*(1/0);H=H+Math.pow(2,P),N=N-O}return(g?-1:1)*H*Math.pow(2,N-P)},m.write=function(_,S,$,P,k,N){var H,V,z,O=N*8-k-1,b=(1<<O)-1,x=b>>1,d=k===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=P?0:N-1,E=P?1:-1,B=S<0||S===0&&1/S<0?1:0;for(S=Math.abs(S),isNaN(S)||S===1/0?(V=isNaN(S)?1:0,H=b):(H=Math.floor(Math.log(S)/Math.LN2),S*(z=Math.pow(2,-H))<1&&(H--,z*=2),H+x>=1?S+=d/z:S+=d*Math.pow(2,1-x),S*z>=2&&(H++,z/=2),H+x>=b?(V=0,H=b):H+x>=1?(V=(S*z-1)*Math.pow(2,k),H=H+x):(V=S*Math.pow(2,x-1)*Math.pow(2,k),H=0));k>=8;_[$+g]=V&255,g+=E,V/=256,k-=8);for(H=H<<k|V,O+=k;O>0;_[$+g]=H&255,g+=E,H/=256,O-=8);_[$+g-E]|=B*128};(function(_){const S=a,$=m,P=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=b,_.SlowBuffer=I,_.INSPECT_MAX_BYTES=50;const k=2147483647;_.kMaxLength=k;const{Uint8Array:N,ArrayBuffer:H,SharedArrayBuffer:V}=globalThis;b.TYPED_ARRAY_SUPPORT=z(),!b.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function z(){try{const j=new N(1),F={foo:function(){return 42}};return Object.setPrototypeOf(F,N.prototype),Object.setPrototypeOf(j,F),j.foo()===42}catch{return!1}}Object.defineProperty(b.prototype,"parent",{enumerable:!0,get:function(){if(b.isBuffer(this))return this.buffer}}),Object.defineProperty(b.prototype,"offset",{enumerable:!0,get:function(){if(b.isBuffer(this))return this.byteOffset}});function O(j){if(j>k)throw new RangeError('The value "'+j+'" is invalid for option "size"');const F=new N(j);return Object.setPrototypeOf(F,b.prototype),F}function b(j,F,D){if(typeof j=="number"){if(typeof F=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return E(j)}return x(j,F,D)}b.poolSize=8192;function x(j,F,D){if(typeof j=="string")return B(j,F);if(H.isView(j))return M(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if($e(j,H)||j&&$e(j.buffer,H)||typeof V<"u"&&($e(j,V)||j&&$e(j.buffer,V)))return A(j,F,D);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const K=j.valueOf&&j.valueOf();if(K!=null&&K!==j)return b.from(K,F,D);const J=q(j);if(J)return J;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return b.from(j[Symbol.toPrimitive]("string"),F,D);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}b.from=function(j,F,D){return x(j,F,D)},Object.setPrototypeOf(b.prototype,N.prototype),Object.setPrototypeOf(b,N);function d(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function g(j,F,D){return d(j),j<=0?O(j):F!==void 0?typeof D=="string"?O(j).fill(F,D):O(j).fill(F):O(j)}b.alloc=function(j,F,D){return g(j,F,D)};function E(j){return d(j),O(j<0?0:R(j)|0)}b.allocUnsafe=function(j){return E(j)},b.allocUnsafeSlow=function(j){return E(j)};function B(j,F){if((typeof F!="string"||F==="")&&(F="utf8"),!b.isEncoding(F))throw new TypeError("Unknown encoding: "+F);const D=G(j,F)|0;let K=O(D);const J=K.write(j,F);return J!==D&&(K=K.slice(0,J)),K}function C(j){const F=j.length<0?0:R(j.length)|0,D=O(F);for(let K=0;K<F;K+=1)D[K]=j[K]&255;return D}function M(j){if($e(j,N)){const F=new N(j);return A(F.buffer,F.byteOffset,F.byteLength)}return C(j)}function A(j,F,D){if(F<0||j.byteLength<F)throw new RangeError('"offset" is outside of buffer bounds');if(j.byteLength<F+(D||0))throw new RangeError('"length" is outside of buffer bounds');let K;return F===void 0&&D===void 0?K=new N(j):D===void 0?K=new N(j,F):K=new N(j,F,D),Object.setPrototypeOf(K,b.prototype),K}function q(j){if(b.isBuffer(j)){const F=R(j.length)|0,D=O(F);return D.length===0||j.copy(D,0,0,F),D}if(j.length!==void 0)return typeof j.length!="number"||Oe(j.length)?O(0):C(j);if(j.type==="Buffer"&&Array.isArray(j.data))return C(j.data)}function R(j){if(j>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return j|0}function I(j){return+j!=j&&(j=0),b.alloc(+j)}b.isBuffer=function(F){return F!=null&&F._isBuffer===!0&&F!==b.prototype},b.compare=function(F,D){if($e(F,N)&&(F=b.from(F,F.offset,F.byteLength)),$e(D,N)&&(D=b.from(D,D.offset,D.byteLength)),!b.isBuffer(F)||!b.isBuffer(D))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(F===D)return 0;let K=F.length,J=D.length;for(let re=0,te=Math.min(K,J);re<te;++re)if(F[re]!==D[re]){K=F[re],J=D[re];break}return K<J?-1:J<K?1:0},b.isEncoding=function(F){switch(String(F).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},b.concat=function(F,D){if(!Array.isArray(F))throw new TypeError('"list" argument must be an Array of Buffers');if(F.length===0)return b.alloc(0);let K;if(D===void 0)for(D=0,K=0;K<F.length;++K)D+=F[K].length;const J=b.allocUnsafe(D);let re=0;for(K=0;K<F.length;++K){let te=F[K];if($e(te,N))re+te.length>J.length?(b.isBuffer(te)||(te=b.from(te)),te.copy(J,re)):N.prototype.set.call(J,te,re);else if(b.isBuffer(te))te.copy(J,re);else throw new TypeError('"list" argument must be an Array of Buffers');re+=te.length}return J};function G(j,F){if(b.isBuffer(j))return j.length;if(H.isView(j)||$e(j,H))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);const D=j.length,K=arguments.length>2&&arguments[2]===!0;if(!K&&D===0)return 0;let J=!1;for(;;)switch(F){case"ascii":case"latin1":case"binary":return D;case"utf8":case"utf-8":return ke(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D*2;case"hex":return D>>>1;case"base64":return Ne(j).length;default:if(J)return K?-1:ke(j).length;F=(""+F).toLowerCase(),J=!0}}b.byteLength=G;function Z(j,F,D){let K=!1;if((F===void 0||F<0)&&(F=0),F>this.length||((D===void 0||D>this.length)&&(D=this.length),D<=0)||(D>>>=0,F>>>=0,D<=F))return"";for(j||(j="utf8");;)switch(j){case"hex":return be(this,F,D);case"utf8":case"utf-8":return oe(this,F,D);case"ascii":return ce(this,F,D);case"latin1":case"binary":return ie(this,F,D);case"base64":return ne(this,F,D);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fe(this,F,D);default:if(K)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),K=!0}}b.prototype._isBuffer=!0;function X(j,F,D){const K=j[F];j[F]=j[D],j[D]=K}b.prototype.swap16=function(){const F=this.length;if(F%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let D=0;D<F;D+=2)X(this,D,D+1);return this},b.prototype.swap32=function(){const F=this.length;if(F%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let D=0;D<F;D+=4)X(this,D,D+3),X(this,D+1,D+2);return this},b.prototype.swap64=function(){const F=this.length;if(F%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let D=0;D<F;D+=8)X(this,D,D+7),X(this,D+1,D+6),X(this,D+2,D+5),X(this,D+3,D+4);return this},b.prototype.toString=function(){const F=this.length;return F===0?"":arguments.length===0?oe(this,0,F):Z.apply(this,arguments)},b.prototype.toLocaleString=b.prototype.toString,b.prototype.equals=function(F){if(!b.isBuffer(F))throw new TypeError("Argument must be a Buffer");return this===F?!0:b.compare(this,F)===0},b.prototype.inspect=function(){let F="";const D=_.INSPECT_MAX_BYTES;return F=this.toString("hex",0,D).replace(/(.{2})/g,"$1 ").trim(),this.length>D&&(F+=" ... "),"<Buffer "+F+">"},P&&(b.prototype[P]=b.prototype.inspect),b.prototype.compare=function(F,D,K,J,re){if($e(F,N)&&(F=b.from(F,F.offset,F.byteLength)),!b.isBuffer(F))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof F);if(D===void 0&&(D=0),K===void 0&&(K=F?F.length:0),J===void 0&&(J=0),re===void 0&&(re=this.length),D<0||K>F.length||J<0||re>this.length)throw new RangeError("out of range index");if(J>=re&&D>=K)return 0;if(J>=re)return-1;if(D>=K)return 1;if(D>>>=0,K>>>=0,J>>>=0,re>>>=0,this===F)return 0;let te=re-J,pe=K-D;const _e=Math.min(te,pe),le=this.slice(J,re),we=F.slice(D,K);for(let ye=0;ye<_e;++ye)if(le[ye]!==we[ye]){te=le[ye],pe=we[ye];break}return te<pe?-1:pe<te?1:0};function T(j,F,D,K,J){if(j.length===0)return-1;if(typeof D=="string"?(K=D,D=0):D>2147483647?D=2147483647:D<-2147483648&&(D=-2147483648),D=+D,Oe(D)&&(D=J?0:j.length-1),D<0&&(D=j.length+D),D>=j.length){if(J)return-1;D=j.length-1}else if(D<0)if(J)D=0;else return-1;if(typeof F=="string"&&(F=b.from(F,K)),b.isBuffer(F))return F.length===0?-1:L(j,F,D,K,J);if(typeof F=="number")return F=F&255,typeof N.prototype.indexOf=="function"?J?N.prototype.indexOf.call(j,F,D):N.prototype.lastIndexOf.call(j,F,D):L(j,[F],D,K,J);throw new TypeError("val must be string, number or Buffer")}function L(j,F,D,K,J){let re=1,te=j.length,pe=F.length;if(K!==void 0&&(K=String(K).toLowerCase(),K==="ucs2"||K==="ucs-2"||K==="utf16le"||K==="utf-16le")){if(j.length<2||F.length<2)return-1;re=2,te/=2,pe/=2,D/=2}function _e(we,ye){return re===1?we[ye]:we.readUInt16BE(ye*re)}let le;if(J){let we=-1;for(le=D;le<te;le++)if(_e(j,le)===_e(F,we===-1?0:le-we)){if(we===-1&&(we=le),le-we+1===pe)return we*re}else we!==-1&&(le-=le-we),we=-1}else for(D+pe>te&&(D=te-pe),le=D;le>=0;le--){let we=!0;for(let ye=0;ye<pe;ye++)if(_e(j,le+ye)!==_e(F,ye)){we=!1;break}if(we)return le}return-1}b.prototype.includes=function(F,D,K){return this.indexOf(F,D,K)!==-1},b.prototype.indexOf=function(F,D,K){return T(this,F,D,K,!0)},b.prototype.lastIndexOf=function(F,D,K){return T(this,F,D,K,!1)};function Y(j,F,D,K){D=Number(D)||0;const J=j.length-D;K?(K=Number(K),K>J&&(K=J)):K=J;const re=F.length;K>re/2&&(K=re/2);let te;for(te=0;te<K;++te){const pe=parseInt(F.substr(te*2,2),16);if(Oe(pe))return te;j[D+te]=pe}return te}function Q(j,F,D,K){return xe(ke(F,j.length-D),j,D,K)}function W(j,F,D,K){return xe(Be(F),j,D,K)}function U(j,F,D,K){return xe(Ne(F),j,D,K)}function ee(j,F,D,K){return xe(Le(F,j.length-D),j,D,K)}b.prototype.write=function(F,D,K,J){if(D===void 0)J="utf8",K=this.length,D=0;else if(K===void 0&&typeof D=="string")J=D,K=this.length,D=0;else if(isFinite(D))D=D>>>0,isFinite(K)?(K=K>>>0,J===void 0&&(J="utf8")):(J=K,K=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const re=this.length-D;if((K===void 0||K>re)&&(K=re),F.length>0&&(K<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");J||(J="utf8");let te=!1;for(;;)switch(J){case"hex":return Y(this,F,D,K);case"utf8":case"utf-8":return Q(this,F,D,K);case"ascii":case"latin1":case"binary":return W(this,F,D,K);case"base64":return U(this,F,D,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,F,D,K);default:if(te)throw new TypeError("Unknown encoding: "+J);J=(""+J).toLowerCase(),te=!0}},b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ne(j,F,D){return F===0&&D===j.length?S.fromByteArray(j):S.fromByteArray(j.slice(F,D))}function oe(j,F,D){D=Math.min(j.length,D);const K=[];let J=F;for(;J<D;){const re=j[J];let te=null,pe=re>239?4:re>223?3:re>191?2:1;if(J+pe<=D){let _e,le,we,ye;switch(pe){case 1:re<128&&(te=re);break;case 2:_e=j[J+1],(_e&192)===128&&(ye=(re&31)<<6|_e&63,ye>127&&(te=ye));break;case 3:_e=j[J+1],le=j[J+2],(_e&192)===128&&(le&192)===128&&(ye=(re&15)<<12|(_e&63)<<6|le&63,ye>2047&&(ye<55296||ye>57343)&&(te=ye));break;case 4:_e=j[J+1],le=j[J+2],we=j[J+3],(_e&192)===128&&(le&192)===128&&(we&192)===128&&(ye=(re&15)<<18|(_e&63)<<12|(le&63)<<6|we&63,ye>65535&&ye<1114112&&(te=ye))}}te===null?(te=65533,pe=1):te>65535&&(te-=65536,K.push(te>>>10&1023|55296),te=56320|te&1023),K.push(te),J+=pe}return ue(K)}const ae=4096;function ue(j){const F=j.length;if(F<=ae)return String.fromCharCode.apply(String,j);let D="",K=0;for(;K<F;)D+=String.fromCharCode.apply(String,j.slice(K,K+=ae));return D}function ce(j,F,D){let K="";D=Math.min(j.length,D);for(let J=F;J<D;++J)K+=String.fromCharCode(j[J]&127);return K}function ie(j,F,D){let K="";D=Math.min(j.length,D);for(let J=F;J<D;++J)K+=String.fromCharCode(j[J]);return K}function be(j,F,D){const K=j.length;(!F||F<0)&&(F=0),(!D||D<0||D>K)&&(D=K);let J="";for(let re=F;re<D;++re)J+=Ee[j[re]];return J}function fe(j,F,D){const K=j.slice(F,D);let J="";for(let re=0;re<K.length-1;re+=2)J+=String.fromCharCode(K[re]+K[re+1]*256);return J}b.prototype.slice=function(F,D){const K=this.length;F=~~F,D=D===void 0?K:~~D,F<0?(F+=K,F<0&&(F=0)):F>K&&(F=K),D<0?(D+=K,D<0&&(D=0)):D>K&&(D=K),D<F&&(D=F);const J=this.subarray(F,D);return Object.setPrototypeOf(J,b.prototype),J};function se(j,F,D){if(j%1!==0||j<0)throw new RangeError("offset is not uint");if(j+F>D)throw new RangeError("Trying to access beyond buffer length")}b.prototype.readUintLE=b.prototype.readUIntLE=function(F,D,K){F=F>>>0,D=D>>>0,K||se(F,D,this.length);let J=this[F],re=1,te=0;for(;++te<D&&(re*=256);)J+=this[F+te]*re;return J},b.prototype.readUintBE=b.prototype.readUIntBE=function(F,D,K){F=F>>>0,D=D>>>0,K||se(F,D,this.length);let J=this[F+--D],re=1;for(;D>0&&(re*=256);)J+=this[F+--D]*re;return J},b.prototype.readUint8=b.prototype.readUInt8=function(F,D){return F=F>>>0,D||se(F,1,this.length),this[F]},b.prototype.readUint16LE=b.prototype.readUInt16LE=function(F,D){return F=F>>>0,D||se(F,2,this.length),this[F]|this[F+1]<<8},b.prototype.readUint16BE=b.prototype.readUInt16BE=function(F,D){return F=F>>>0,D||se(F,2,this.length),this[F]<<8|this[F+1]},b.prototype.readUint32LE=b.prototype.readUInt32LE=function(F,D){return F=F>>>0,D||se(F,4,this.length),(this[F]|this[F+1]<<8|this[F+2]<<16)+this[F+3]*16777216},b.prototype.readUint32BE=b.prototype.readUInt32BE=function(F,D){return F=F>>>0,D||se(F,4,this.length),this[F]*16777216+(this[F+1]<<16|this[F+2]<<8|this[F+3])},b.prototype.readBigUInt64LE=Me(function(F){F=F>>>0,De(F,"offset");const D=this[F],K=this[F+7];(D===void 0||K===void 0)&&Pe(F,this.length-8);const J=D+this[++F]*2**8+this[++F]*2**16+this[++F]*2**24,re=this[++F]+this[++F]*2**8+this[++F]*2**16+K*2**24;return BigInt(J)+(BigInt(re)<<BigInt(32))}),b.prototype.readBigUInt64BE=Me(function(F){F=F>>>0,De(F,"offset");const D=this[F],K=this[F+7];(D===void 0||K===void 0)&&Pe(F,this.length-8);const J=D*2**24+this[++F]*2**16+this[++F]*2**8+this[++F],re=this[++F]*2**24+this[++F]*2**16+this[++F]*2**8+K;return(BigInt(J)<<BigInt(32))+BigInt(re)}),b.prototype.readIntLE=function(F,D,K){F=F>>>0,D=D>>>0,K||se(F,D,this.length);let J=this[F],re=1,te=0;for(;++te<D&&(re*=256);)J+=this[F+te]*re;return re*=128,J>=re&&(J-=Math.pow(2,8*D)),J},b.prototype.readIntBE=function(F,D,K){F=F>>>0,D=D>>>0,K||se(F,D,this.length);let J=D,re=1,te=this[F+--J];for(;J>0&&(re*=256);)te+=this[F+--J]*re;return re*=128,te>=re&&(te-=Math.pow(2,8*D)),te},b.prototype.readInt8=function(F,D){return F=F>>>0,D||se(F,1,this.length),this[F]&128?(255-this[F]+1)*-1:this[F]},b.prototype.readInt16LE=function(F,D){F=F>>>0,D||se(F,2,this.length);const K=this[F]|this[F+1]<<8;return K&32768?K|4294901760:K},b.prototype.readInt16BE=function(F,D){F=F>>>0,D||se(F,2,this.length);const K=this[F+1]|this[F]<<8;return K&32768?K|4294901760:K},b.prototype.readInt32LE=function(F,D){return F=F>>>0,D||se(F,4,this.length),this[F]|this[F+1]<<8|this[F+2]<<16|this[F+3]<<24},b.prototype.readInt32BE=function(F,D){return F=F>>>0,D||se(F,4,this.length),this[F]<<24|this[F+1]<<16|this[F+2]<<8|this[F+3]},b.prototype.readBigInt64LE=Me(function(F){F=F>>>0,De(F,"offset");const D=this[F],K=this[F+7];(D===void 0||K===void 0)&&Pe(F,this.length-8);const J=this[F+4]+this[F+5]*2**8+this[F+6]*2**16+(K<<24);return(BigInt(J)<<BigInt(32))+BigInt(D+this[++F]*2**8+this[++F]*2**16+this[++F]*2**24)}),b.prototype.readBigInt64BE=Me(function(F){F=F>>>0,De(F,"offset");const D=this[F],K=this[F+7];(D===void 0||K===void 0)&&Pe(F,this.length-8);const J=(D<<24)+this[++F]*2**16+this[++F]*2**8+this[++F];return(BigInt(J)<<BigInt(32))+BigInt(this[++F]*2**24+this[++F]*2**16+this[++F]*2**8+K)}),b.prototype.readFloatLE=function(F,D){return F=F>>>0,D||se(F,4,this.length),$.read(this,F,!0,23,4)},b.prototype.readFloatBE=function(F,D){return F=F>>>0,D||se(F,4,this.length),$.read(this,F,!1,23,4)},b.prototype.readDoubleLE=function(F,D){return F=F>>>0,D||se(F,8,this.length),$.read(this,F,!0,52,8)},b.prototype.readDoubleBE=function(F,D){return F=F>>>0,D||se(F,8,this.length),$.read(this,F,!1,52,8)};function de(j,F,D,K,J,re){if(!b.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(F>J||F<re)throw new RangeError('"value" argument is out of bounds');if(D+K>j.length)throw new RangeError("Index out of range")}b.prototype.writeUintLE=b.prototype.writeUIntLE=function(F,D,K,J){if(F=+F,D=D>>>0,K=K>>>0,!J){const pe=Math.pow(2,8*K)-1;de(this,F,D,K,pe,0)}let re=1,te=0;for(this[D]=F&255;++te<K&&(re*=256);)this[D+te]=F/re&255;return D+K},b.prototype.writeUintBE=b.prototype.writeUIntBE=function(F,D,K,J){if(F=+F,D=D>>>0,K=K>>>0,!J){const pe=Math.pow(2,8*K)-1;de(this,F,D,K,pe,0)}let re=K-1,te=1;for(this[D+re]=F&255;--re>=0&&(te*=256);)this[D+re]=F/te&255;return D+K},b.prototype.writeUint8=b.prototype.writeUInt8=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,1,255,0),this[D]=F&255,D+1},b.prototype.writeUint16LE=b.prototype.writeUInt16LE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,2,65535,0),this[D]=F&255,this[D+1]=F>>>8,D+2},b.prototype.writeUint16BE=b.prototype.writeUInt16BE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,2,65535,0),this[D]=F>>>8,this[D+1]=F&255,D+2},b.prototype.writeUint32LE=b.prototype.writeUInt32LE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,4,4294967295,0),this[D+3]=F>>>24,this[D+2]=F>>>16,this[D+1]=F>>>8,this[D]=F&255,D+4},b.prototype.writeUint32BE=b.prototype.writeUInt32BE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,4,4294967295,0),this[D]=F>>>24,this[D+1]=F>>>16,this[D+2]=F>>>8,this[D+3]=F&255,D+4};function he(j,F,D,K,J){me(F,K,J,j,D,7);let re=Number(F&BigInt(4294967295));j[D++]=re,re=re>>8,j[D++]=re,re=re>>8,j[D++]=re,re=re>>8,j[D++]=re;let te=Number(F>>BigInt(32)&BigInt(4294967295));return j[D++]=te,te=te>>8,j[D++]=te,te=te>>8,j[D++]=te,te=te>>8,j[D++]=te,D}function Re(j,F,D,K,J){me(F,K,J,j,D,7);let re=Number(F&BigInt(4294967295));j[D+7]=re,re=re>>8,j[D+6]=re,re=re>>8,j[D+5]=re,re=re>>8,j[D+4]=re;let te=Number(F>>BigInt(32)&BigInt(4294967295));return j[D+3]=te,te=te>>8,j[D+2]=te,te=te>>8,j[D+1]=te,te=te>>8,j[D]=te,D+8}b.prototype.writeBigUInt64LE=Me(function(F,D=0){return he(this,F,D,BigInt(0),BigInt("0xffffffffffffffff"))}),b.prototype.writeBigUInt64BE=Me(function(F,D=0){return Re(this,F,D,BigInt(0),BigInt("0xffffffffffffffff"))}),b.prototype.writeIntLE=function(F,D,K,J){if(F=+F,D=D>>>0,!J){const _e=Math.pow(2,8*K-1);de(this,F,D,K,_e-1,-_e)}let re=0,te=1,pe=0;for(this[D]=F&255;++re<K&&(te*=256);)F<0&&pe===0&&this[D+re-1]!==0&&(pe=1),this[D+re]=(F/te>>0)-pe&255;return D+K},b.prototype.writeIntBE=function(F,D,K,J){if(F=+F,D=D>>>0,!J){const _e=Math.pow(2,8*K-1);de(this,F,D,K,_e-1,-_e)}let re=K-1,te=1,pe=0;for(this[D+re]=F&255;--re>=0&&(te*=256);)F<0&&pe===0&&this[D+re+1]!==0&&(pe=1),this[D+re]=(F/te>>0)-pe&255;return D+K},b.prototype.writeInt8=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,1,127,-128),F<0&&(F=255+F+1),this[D]=F&255,D+1},b.prototype.writeInt16LE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,2,32767,-32768),this[D]=F&255,this[D+1]=F>>>8,D+2},b.prototype.writeInt16BE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,2,32767,-32768),this[D]=F>>>8,this[D+1]=F&255,D+2},b.prototype.writeInt32LE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,4,2147483647,-2147483648),this[D]=F&255,this[D+1]=F>>>8,this[D+2]=F>>>16,this[D+3]=F>>>24,D+4},b.prototype.writeInt32BE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,4,2147483647,-2147483648),F<0&&(F=4294967295+F+1),this[D]=F>>>24,this[D+1]=F>>>16,this[D+2]=F>>>8,this[D+3]=F&255,D+4},b.prototype.writeBigInt64LE=Me(function(F,D=0){return he(this,F,D,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),b.prototype.writeBigInt64BE=Me(function(F,D=0){return Re(this,F,D,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Se(j,F,D,K,J,re){if(D+K>j.length)throw new RangeError("Index out of range");if(D<0)throw new RangeError("Index out of range")}function ve(j,F,D,K,J){return F=+F,D=D>>>0,J||Se(j,F,D,4),$.write(j,F,D,K,23,4),D+4}b.prototype.writeFloatLE=function(F,D,K){return ve(this,F,D,!0,K)},b.prototype.writeFloatBE=function(F,D,K){return ve(this,F,D,!1,K)};function Ce(j,F,D,K,J){return F=+F,D=D>>>0,J||Se(j,F,D,8),$.write(j,F,D,K,52,8),D+8}b.prototype.writeDoubleLE=function(F,D,K){return Ce(this,F,D,!0,K)},b.prototype.writeDoubleBE=function(F,D,K){return Ce(this,F,D,!1,K)},b.prototype.copy=function(F,D,K,J){if(!b.isBuffer(F))throw new TypeError("argument should be a Buffer");if(K||(K=0),!J&&J!==0&&(J=this.length),D>=F.length&&(D=F.length),D||(D=0),J>0&&J<K&&(J=K),J===K||F.length===0||this.length===0)return 0;if(D<0)throw new RangeError("targetStart out of bounds");if(K<0||K>=this.length)throw new RangeError("Index out of range");if(J<0)throw new RangeError("sourceEnd out of bounds");J>this.length&&(J=this.length),F.length-D<J-K&&(J=F.length-D+K);const re=J-K;return this===F&&typeof N.prototype.copyWithin=="function"?this.copyWithin(D,K,J):N.prototype.set.call(F,this.subarray(K,J),D),re},b.prototype.fill=function(F,D,K,J){if(typeof F=="string"){if(typeof D=="string"?(J=D,D=0,K=this.length):typeof K=="string"&&(J=K,K=this.length),J!==void 0&&typeof J!="string")throw new TypeError("encoding must be a string");if(typeof J=="string"&&!b.isEncoding(J))throw new TypeError("Unknown encoding: "+J);if(F.length===1){const te=F.charCodeAt(0);(J==="utf8"&&te<128||J==="latin1")&&(F=te)}}else typeof F=="number"?F=F&255:typeof F=="boolean"&&(F=Number(F));if(D<0||this.length<D||this.length<K)throw new RangeError("Out of range index");if(K<=D)return this;D=D>>>0,K=K===void 0?this.length:K>>>0,F||(F=0);let re;if(typeof F=="number")for(re=D;re<K;++re)this[re]=F;else{const te=b.isBuffer(F)?F:b.from(F,J),pe=te.length;if(pe===0)throw new TypeError('The value "'+F+'" is invalid for argument "value"');for(re=0;re<K-D;++re)this[re+D]=te[re%pe]}return this};const Fe={};function ge(j,F,D){Fe[j]=class extends D{constructor(){super(),Object.defineProperty(this,"message",{value:F.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${j}]`,this.stack,delete this.name}get code(){return j}set code(J){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:J,writable:!0})}toString(){return`${this.name} [${j}]: ${this.message}`}}}ge("ERR_BUFFER_OUT_OF_BOUNDS",function(j){return j?`${j} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ge("ERR_INVALID_ARG_TYPE",function(j,F){return`The "${j}" argument must be of type number. Received type ${typeof F}`},TypeError),ge("ERR_OUT_OF_RANGE",function(j,F,D){let K=`The value of "${j}" is out of range.`,J=D;return Number.isInteger(D)&&Math.abs(D)>2**32?J=Ie(String(D)):typeof D=="bigint"&&(J=String(D),(D>BigInt(2)**BigInt(32)||D<-(BigInt(2)**BigInt(32)))&&(J=Ie(J)),J+="n"),K+=` It must be ${F}. Received ${J}`,K},RangeError);function Ie(j){let F="",D=j.length;const K=j[0]==="-"?1:0;for(;D>=K+4;D-=3)F=`_${j.slice(D-3,D)}${F}`;return`${j.slice(0,D)}${F}`}function Te(j,F,D){De(F,"offset"),(j[F]===void 0||j[F+D]===void 0)&&Pe(F,j.length-(D+1))}function me(j,F,D,K,J,re){if(j>D||j<F){const te=typeof F=="bigint"?"n":"";let pe;throw F===0||F===BigInt(0)?pe=`>= 0${te} and < 2${te} ** ${(re+1)*8}${te}`:pe=`>= -(2${te} ** ${(re+1)*8-1}${te}) and < 2 ** ${(re+1)*8-1}${te}`,new Fe.ERR_OUT_OF_RANGE("value",pe,j)}Te(K,J,re)}function De(j,F){if(typeof j!="number")throw new Fe.ERR_INVALID_ARG_TYPE(F,"number",j)}function Pe(j,F,D){throw Math.floor(j)!==j?(De(j,D),new Fe.ERR_OUT_OF_RANGE("offset","an integer",j)):F<0?new Fe.ERR_BUFFER_OUT_OF_BOUNDS:new Fe.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${F}`,j)}const Ae=/[^+/0-9A-Za-z-_]/g;function Ue(j){if(j=j.split("=")[0],j=j.trim().replace(Ae,""),j.length<2)return"";for(;j.length%4!==0;)j=j+"=";return j}function ke(j,F){F=F||1/0;let D;const K=j.length;let J=null;const re=[];for(let te=0;te<K;++te){if(D=j.charCodeAt(te),D>55295&&D<57344){if(!J){if(D>56319){(F-=3)>-1&&re.push(239,191,189);continue}else if(te+1===K){(F-=3)>-1&&re.push(239,191,189);continue}J=D;continue}if(D<56320){(F-=3)>-1&&re.push(239,191,189),J=D;continue}D=(J-55296<<10|D-56320)+65536}else J&&(F-=3)>-1&&re.push(239,191,189);if(J=null,D<128){if((F-=1)<0)break;re.push(D)}else if(D<2048){if((F-=2)<0)break;re.push(D>>6|192,D&63|128)}else if(D<65536){if((F-=3)<0)break;re.push(D>>12|224,D>>6&63|128,D&63|128)}else if(D<1114112){if((F-=4)<0)break;re.push(D>>18|240,D>>12&63|128,D>>6&63|128,D&63|128)}else throw new Error("Invalid code point")}return re}function Be(j){const F=[];for(let D=0;D<j.length;++D)F.push(j.charCodeAt(D)&255);return F}function Le(j,F){let D,K,J;const re=[];for(let te=0;te<j.length&&!((F-=2)<0);++te)D=j.charCodeAt(te),K=D>>8,J=D%256,re.push(J),re.push(K);return re}function Ne(j){return S.toByteArray(Ue(j))}function xe(j,F,D,K){let J;for(J=0;J<K&&!(J+D>=F.length||J>=j.length);++J)F[J+D]=j[J];return J}function $e(j,F){return j instanceof F||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===F.name}function Oe(j){return j!==j}const Ee=(function(){const j="0123456789abcdef",F=new Array(256);for(let D=0;D<16;++D){const K=D*16;for(let J=0;J<16;++J)F[K+J]=j[D]+j[J]}return F})();function Me(j){return typeof BigInt>"u"?je:j}function je(){throw new Error("BigInt not supported")}})(r);const w=r.Buffer;e.Blob=r.Blob,e.BlobOptions=r.BlobOptions,e.Buffer=r.Buffer,e.File=r.File,e.FileOptions=r.FileOptions,e.INSPECT_MAX_BYTES=r.INSPECT_MAX_BYTES,e.SlowBuffer=r.SlowBuffer,e.TranscodeEncoding=r.TranscodeEncoding,e.atob=r.atob,e.btoa=r.btoa,e.constants=r.constants,e.default=w,e.isAscii=r.isAscii,e.isUtf8=r.isUtf8,e.kMaxLength=r.kMaxLength,e.kStringMaxLength=r.kStringMaxLength,e.resolveObjectURL=r.resolveObjectURL,e.transcode=r.transcode})(dist)),dist}var hasRequiredSafeBuffer$1;function requireSafeBuffer$1(){return hasRequiredSafeBuffer$1||(hasRequiredSafeBuffer$1=1,(function(e,r){var a=requireDist(),n=a.Buffer;function l(h,s){for(var f in h)s[f]=h[f]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=a:(l(a,r),r.Buffer=t);function t(h,s,f){return n(h,s,f)}t.prototype=Object.create(n.prototype),l(n,t),t.from=function(h,s,f){if(typeof h=="number")throw new TypeError("Argument must not be a number");return n(h,s,f)},t.alloc=function(h,s,f){if(typeof h!="number")throw new TypeError("Argument must be a number");var o=n(h);return s!==void 0?typeof f=="string"?o.fill(s,f):o.fill(s):o.fill(0),o},t.allocUnsafe=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return n(h)},t.allocUnsafeSlow=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return a.SlowBuffer(h)}})(safeBuffer$1,safeBuffer$1.exports)),safeBuffer$1.exports}var hasRequiredBrowser$b;function requireBrowser$b(){if(hasRequiredBrowser$b)return browser$b.exports;hasRequiredBrowser$b=1;var e=65536,r=4294967295;function a(){throw new Error(`Secure random number generation is not supported by this browser.
1
+ import{d as commonjsGlobal,p as process$1}from"./sentry-COHE35Rj.js";import{H as Buffer,p as isSymbol,I as baseToString,D as toInteger,W as WeakMap$1,q as identity,J as baseCreate,c as isObject,r as root,K as noop,L as copyArray,a as isObjectLike,i as isArray,M as shortOut,N as arrayEach,O as arrayIncludes,P as setToString,Q as isIndex,R as apply,S as createAssigner,T as isPrototype,U as isArrayLike,V as copyObject,X as keys,Y as assignValue,Z as keysIn,g as get$1,_ as flatRest,b as baseGetTag,x as isPlainObject,k as baseRest,$ as toKey,C as baseAssignValue,t as toString,o as toNumber,l as isIterateeCall,a0 as baseSlice,a1 as baseClone,a2 as arrayPush,n as baseFlatten,a3 as arrayMap,j as baseIteratee,z as baseEach,a4 as baseAssign,a5 as eq,a6 as isBuffer,a7 as isTypedArray$2,a8 as isArrayLikeObject,a9 as cloneBuffer,aa as cloneTypedArray,ab as isArguments$1,d as isFunction,ac as initCloneObject,ad as baseFor,ae as Stack,w as last,af as baseDifference,ag as createBaseFor,ah as createBaseEach,ai as getTag,aj as mapToArray,ak as arrayFilter,B as baseForOwn,al as map,y as toFinite,am as values,an as baseIndexOf,ao as baseUnary,ap as SetCache,aq as cacheHas,ar as arrayIncludesWith,as as constant,at as castPath,au as parent,av as nodeUtil,aw as baseIsEqual,ax as baseIsMatch,ay as getMatchData,az as coreJsData,aA as stubFalse,aB as baseIsNative,E as baseFindIndex,aC as baseIsNaN,aD as baseMatches,aE as baseMatchesProperty,s as stringToArray,aF as Symbol$1,aG as setToArray,aH as baseGet,aI as getAllKeysIn,A as arraySome,aJ as baseProperty,h as hasUnicode,e as castSlice,aK as hasIn,aL as baseUnset,aM as compareAscending,aN as baseKeys,aO as assignWith,aP as baseValues,aQ as baseTimes,aR as stringToPath,aS as getPrototype,aT as baseTrim,aU as charsEndIndex,f as baseUniq,aV as difference,aW as differenceBy,aX as flatten,aY as uniq,aZ as findLastIndex,u as flatMap,a_ as orderBy,a$ as findLast,G as memoize,b0 as cloneDeep,b1 as isEmpty,v as isEqual,b2 as isLength,b3 as isMap,b4 as isSet,b5 as omit,b6 as has,b7 as trimEnd,b8 as property,b9 as stubArray}from"./zeni-epic-state-BGUqGu00.js";import{u as upperFirst,b as baseGt,i as isString,e as createCaseFirst,f as baseLt,g as baseSum,h as arrayEvery,j as createRange,k as uniqBy,l as findIndex,m as head,s as sortBy,n as every,o as find,p as some,q as now,d as debounce,t as throttle,r as isBoolean,v as isNaN$1,w as isNil,x as isNumber,y as max$1,z as maxBy,A as min$1,B as minBy,C as sumBy,D as mapValues,E as range$1}from"./recharts-BZkRyMBd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="dd8942f6-0065-4056-b313-74ffae522ecb",e._sentryDebugIdIdentifier="sentry-dbid-dd8942f6-0065-4056-b313-74ffae522ecb")}catch{}})();var cryptoJs$1={exports:{}};function commonjsRequire(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core$1={exports:{}},cryptoBrowserify={},browser$b={exports:{}},safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var r={},a={};a.byteLength=i,a.toByteArray=c,a.fromByteArray=y;for(var n=[],l=[],t=typeof Uint8Array<"u"?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,f=h.length;s<f;++s)n[s]=h[s],l[h.charCodeAt(s)]=s;l[45]=62,l[95]=63;function o(_){var S=_.length;if(S%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var $=_.indexOf("=");$===-1&&($=S);var P=$===S?0:4-$%4;return[$,P]}function i(_){var S=o(_),$=S[0],P=S[1];return($+P)*3/4-P}function u(_,S,$){return(S+$)*3/4-$}function c(_){var S,$=o(_),P=$[0],k=$[1],N=new t(u(_,P,k)),H=0,V=k>0?P-4:P,z;for(z=0;z<V;z+=4)S=l[_.charCodeAt(z)]<<18|l[_.charCodeAt(z+1)]<<12|l[_.charCodeAt(z+2)]<<6|l[_.charCodeAt(z+3)],N[H++]=S>>16&255,N[H++]=S>>8&255,N[H++]=S&255;return k===2&&(S=l[_.charCodeAt(z)]<<2|l[_.charCodeAt(z+1)]>>4,N[H++]=S&255),k===1&&(S=l[_.charCodeAt(z)]<<10|l[_.charCodeAt(z+1)]<<4|l[_.charCodeAt(z+2)]>>2,N[H++]=S>>8&255,N[H++]=S&255),N}function p(_){return n[_>>18&63]+n[_>>12&63]+n[_>>6&63]+n[_&63]}function v(_,S,$){for(var P,k=[],N=S;N<$;N+=3)P=(_[N]<<16&16711680)+(_[N+1]<<8&65280)+(_[N+2]&255),k.push(p(P));return k.join("")}function y(_){for(var S,$=_.length,P=$%3,k=[],N=16383,H=0,V=$-P;H<V;H+=N)k.push(v(_,H,H+N>V?V:H+N));return P===1?(S=_[$-1],k.push(n[S>>2]+n[S<<4&63]+"==")):P===2&&(S=(_[$-2]<<8)+_[$-1],k.push(n[S>>10]+n[S>>4&63]+n[S<<2&63]+"=")),k.join("")}var m={};m.read=function(_,S,$,P,k){var N,H,V=k*8-P-1,z=(1<<V)-1,O=z>>1,b=-7,x=$?k-1:0,d=$?-1:1,g=_[S+x];for(x+=d,N=g&(1<<-b)-1,g>>=-b,b+=V;b>0;N=N*256+_[S+x],x+=d,b-=8);for(H=N&(1<<-b)-1,N>>=-b,b+=P;b>0;H=H*256+_[S+x],x+=d,b-=8);if(N===0)N=1-O;else{if(N===z)return H?NaN:(g?-1:1)*(1/0);H=H+Math.pow(2,P),N=N-O}return(g?-1:1)*H*Math.pow(2,N-P)},m.write=function(_,S,$,P,k,N){var H,V,z,O=N*8-k-1,b=(1<<O)-1,x=b>>1,d=k===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=P?0:N-1,E=P?1:-1,B=S<0||S===0&&1/S<0?1:0;for(S=Math.abs(S),isNaN(S)||S===1/0?(V=isNaN(S)?1:0,H=b):(H=Math.floor(Math.log(S)/Math.LN2),S*(z=Math.pow(2,-H))<1&&(H--,z*=2),H+x>=1?S+=d/z:S+=d*Math.pow(2,1-x),S*z>=2&&(H++,z/=2),H+x>=b?(V=0,H=b):H+x>=1?(V=(S*z-1)*Math.pow(2,k),H=H+x):(V=S*Math.pow(2,x-1)*Math.pow(2,k),H=0));k>=8;_[$+g]=V&255,g+=E,V/=256,k-=8);for(H=H<<k|V,O+=k;O>0;_[$+g]=H&255,g+=E,H/=256,O-=8);_[$+g-E]|=B*128};(function(_){const S=a,$=m,P=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=b,_.SlowBuffer=I,_.INSPECT_MAX_BYTES=50;const k=2147483647;_.kMaxLength=k;const{Uint8Array:N,ArrayBuffer:H,SharedArrayBuffer:V}=globalThis;b.TYPED_ARRAY_SUPPORT=z(),!b.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function z(){try{const j=new N(1),F={foo:function(){return 42}};return Object.setPrototypeOf(F,N.prototype),Object.setPrototypeOf(j,F),j.foo()===42}catch{return!1}}Object.defineProperty(b.prototype,"parent",{enumerable:!0,get:function(){if(b.isBuffer(this))return this.buffer}}),Object.defineProperty(b.prototype,"offset",{enumerable:!0,get:function(){if(b.isBuffer(this))return this.byteOffset}});function O(j){if(j>k)throw new RangeError('The value "'+j+'" is invalid for option "size"');const F=new N(j);return Object.setPrototypeOf(F,b.prototype),F}function b(j,F,D){if(typeof j=="number"){if(typeof F=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return E(j)}return x(j,F,D)}b.poolSize=8192;function x(j,F,D){if(typeof j=="string")return B(j,F);if(H.isView(j))return M(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if($e(j,H)||j&&$e(j.buffer,H)||typeof V<"u"&&($e(j,V)||j&&$e(j.buffer,V)))return A(j,F,D);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const K=j.valueOf&&j.valueOf();if(K!=null&&K!==j)return b.from(K,F,D);const J=q(j);if(J)return J;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return b.from(j[Symbol.toPrimitive]("string"),F,D);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}b.from=function(j,F,D){return x(j,F,D)},Object.setPrototypeOf(b.prototype,N.prototype),Object.setPrototypeOf(b,N);function d(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function g(j,F,D){return d(j),j<=0?O(j):F!==void 0?typeof D=="string"?O(j).fill(F,D):O(j).fill(F):O(j)}b.alloc=function(j,F,D){return g(j,F,D)};function E(j){return d(j),O(j<0?0:R(j)|0)}b.allocUnsafe=function(j){return E(j)},b.allocUnsafeSlow=function(j){return E(j)};function B(j,F){if((typeof F!="string"||F==="")&&(F="utf8"),!b.isEncoding(F))throw new TypeError("Unknown encoding: "+F);const D=G(j,F)|0;let K=O(D);const J=K.write(j,F);return J!==D&&(K=K.slice(0,J)),K}function C(j){const F=j.length<0?0:R(j.length)|0,D=O(F);for(let K=0;K<F;K+=1)D[K]=j[K]&255;return D}function M(j){if($e(j,N)){const F=new N(j);return A(F.buffer,F.byteOffset,F.byteLength)}return C(j)}function A(j,F,D){if(F<0||j.byteLength<F)throw new RangeError('"offset" is outside of buffer bounds');if(j.byteLength<F+(D||0))throw new RangeError('"length" is outside of buffer bounds');let K;return F===void 0&&D===void 0?K=new N(j):D===void 0?K=new N(j,F):K=new N(j,F,D),Object.setPrototypeOf(K,b.prototype),K}function q(j){if(b.isBuffer(j)){const F=R(j.length)|0,D=O(F);return D.length===0||j.copy(D,0,0,F),D}if(j.length!==void 0)return typeof j.length!="number"||Oe(j.length)?O(0):C(j);if(j.type==="Buffer"&&Array.isArray(j.data))return C(j.data)}function R(j){if(j>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return j|0}function I(j){return+j!=j&&(j=0),b.alloc(+j)}b.isBuffer=function(F){return F!=null&&F._isBuffer===!0&&F!==b.prototype},b.compare=function(F,D){if($e(F,N)&&(F=b.from(F,F.offset,F.byteLength)),$e(D,N)&&(D=b.from(D,D.offset,D.byteLength)),!b.isBuffer(F)||!b.isBuffer(D))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(F===D)return 0;let K=F.length,J=D.length;for(let re=0,te=Math.min(K,J);re<te;++re)if(F[re]!==D[re]){K=F[re],J=D[re];break}return K<J?-1:J<K?1:0},b.isEncoding=function(F){switch(String(F).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},b.concat=function(F,D){if(!Array.isArray(F))throw new TypeError('"list" argument must be an Array of Buffers');if(F.length===0)return b.alloc(0);let K;if(D===void 0)for(D=0,K=0;K<F.length;++K)D+=F[K].length;const J=b.allocUnsafe(D);let re=0;for(K=0;K<F.length;++K){let te=F[K];if($e(te,N))re+te.length>J.length?(b.isBuffer(te)||(te=b.from(te)),te.copy(J,re)):N.prototype.set.call(J,te,re);else if(b.isBuffer(te))te.copy(J,re);else throw new TypeError('"list" argument must be an Array of Buffers');re+=te.length}return J};function G(j,F){if(b.isBuffer(j))return j.length;if(H.isView(j)||$e(j,H))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);const D=j.length,K=arguments.length>2&&arguments[2]===!0;if(!K&&D===0)return 0;let J=!1;for(;;)switch(F){case"ascii":case"latin1":case"binary":return D;case"utf8":case"utf-8":return ke(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D*2;case"hex":return D>>>1;case"base64":return Ne(j).length;default:if(J)return K?-1:ke(j).length;F=(""+F).toLowerCase(),J=!0}}b.byteLength=G;function Z(j,F,D){let K=!1;if((F===void 0||F<0)&&(F=0),F>this.length||((D===void 0||D>this.length)&&(D=this.length),D<=0)||(D>>>=0,F>>>=0,D<=F))return"";for(j||(j="utf8");;)switch(j){case"hex":return be(this,F,D);case"utf8":case"utf-8":return oe(this,F,D);case"ascii":return ce(this,F,D);case"latin1":case"binary":return ie(this,F,D);case"base64":return ne(this,F,D);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fe(this,F,D);default:if(K)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),K=!0}}b.prototype._isBuffer=!0;function X(j,F,D){const K=j[F];j[F]=j[D],j[D]=K}b.prototype.swap16=function(){const F=this.length;if(F%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let D=0;D<F;D+=2)X(this,D,D+1);return this},b.prototype.swap32=function(){const F=this.length;if(F%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let D=0;D<F;D+=4)X(this,D,D+3),X(this,D+1,D+2);return this},b.prototype.swap64=function(){const F=this.length;if(F%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let D=0;D<F;D+=8)X(this,D,D+7),X(this,D+1,D+6),X(this,D+2,D+5),X(this,D+3,D+4);return this},b.prototype.toString=function(){const F=this.length;return F===0?"":arguments.length===0?oe(this,0,F):Z.apply(this,arguments)},b.prototype.toLocaleString=b.prototype.toString,b.prototype.equals=function(F){if(!b.isBuffer(F))throw new TypeError("Argument must be a Buffer");return this===F?!0:b.compare(this,F)===0},b.prototype.inspect=function(){let F="";const D=_.INSPECT_MAX_BYTES;return F=this.toString("hex",0,D).replace(/(.{2})/g,"$1 ").trim(),this.length>D&&(F+=" ... "),"<Buffer "+F+">"},P&&(b.prototype[P]=b.prototype.inspect),b.prototype.compare=function(F,D,K,J,re){if($e(F,N)&&(F=b.from(F,F.offset,F.byteLength)),!b.isBuffer(F))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof F);if(D===void 0&&(D=0),K===void 0&&(K=F?F.length:0),J===void 0&&(J=0),re===void 0&&(re=this.length),D<0||K>F.length||J<0||re>this.length)throw new RangeError("out of range index");if(J>=re&&D>=K)return 0;if(J>=re)return-1;if(D>=K)return 1;if(D>>>=0,K>>>=0,J>>>=0,re>>>=0,this===F)return 0;let te=re-J,pe=K-D;const _e=Math.min(te,pe),le=this.slice(J,re),we=F.slice(D,K);for(let ye=0;ye<_e;++ye)if(le[ye]!==we[ye]){te=le[ye],pe=we[ye];break}return te<pe?-1:pe<te?1:0};function T(j,F,D,K,J){if(j.length===0)return-1;if(typeof D=="string"?(K=D,D=0):D>2147483647?D=2147483647:D<-2147483648&&(D=-2147483648),D=+D,Oe(D)&&(D=J?0:j.length-1),D<0&&(D=j.length+D),D>=j.length){if(J)return-1;D=j.length-1}else if(D<0)if(J)D=0;else return-1;if(typeof F=="string"&&(F=b.from(F,K)),b.isBuffer(F))return F.length===0?-1:L(j,F,D,K,J);if(typeof F=="number")return F=F&255,typeof N.prototype.indexOf=="function"?J?N.prototype.indexOf.call(j,F,D):N.prototype.lastIndexOf.call(j,F,D):L(j,[F],D,K,J);throw new TypeError("val must be string, number or Buffer")}function L(j,F,D,K,J){let re=1,te=j.length,pe=F.length;if(K!==void 0&&(K=String(K).toLowerCase(),K==="ucs2"||K==="ucs-2"||K==="utf16le"||K==="utf-16le")){if(j.length<2||F.length<2)return-1;re=2,te/=2,pe/=2,D/=2}function _e(we,ye){return re===1?we[ye]:we.readUInt16BE(ye*re)}let le;if(J){let we=-1;for(le=D;le<te;le++)if(_e(j,le)===_e(F,we===-1?0:le-we)){if(we===-1&&(we=le),le-we+1===pe)return we*re}else we!==-1&&(le-=le-we),we=-1}else for(D+pe>te&&(D=te-pe),le=D;le>=0;le--){let we=!0;for(let ye=0;ye<pe;ye++)if(_e(j,le+ye)!==_e(F,ye)){we=!1;break}if(we)return le}return-1}b.prototype.includes=function(F,D,K){return this.indexOf(F,D,K)!==-1},b.prototype.indexOf=function(F,D,K){return T(this,F,D,K,!0)},b.prototype.lastIndexOf=function(F,D,K){return T(this,F,D,K,!1)};function Y(j,F,D,K){D=Number(D)||0;const J=j.length-D;K?(K=Number(K),K>J&&(K=J)):K=J;const re=F.length;K>re/2&&(K=re/2);let te;for(te=0;te<K;++te){const pe=parseInt(F.substr(te*2,2),16);if(Oe(pe))return te;j[D+te]=pe}return te}function Q(j,F,D,K){return xe(ke(F,j.length-D),j,D,K)}function W(j,F,D,K){return xe(Be(F),j,D,K)}function U(j,F,D,K){return xe(Ne(F),j,D,K)}function ee(j,F,D,K){return xe(Le(F,j.length-D),j,D,K)}b.prototype.write=function(F,D,K,J){if(D===void 0)J="utf8",K=this.length,D=0;else if(K===void 0&&typeof D=="string")J=D,K=this.length,D=0;else if(isFinite(D))D=D>>>0,isFinite(K)?(K=K>>>0,J===void 0&&(J="utf8")):(J=K,K=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const re=this.length-D;if((K===void 0||K>re)&&(K=re),F.length>0&&(K<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");J||(J="utf8");let te=!1;for(;;)switch(J){case"hex":return Y(this,F,D,K);case"utf8":case"utf-8":return Q(this,F,D,K);case"ascii":case"latin1":case"binary":return W(this,F,D,K);case"base64":return U(this,F,D,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,F,D,K);default:if(te)throw new TypeError("Unknown encoding: "+J);J=(""+J).toLowerCase(),te=!0}},b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ne(j,F,D){return F===0&&D===j.length?S.fromByteArray(j):S.fromByteArray(j.slice(F,D))}function oe(j,F,D){D=Math.min(j.length,D);const K=[];let J=F;for(;J<D;){const re=j[J];let te=null,pe=re>239?4:re>223?3:re>191?2:1;if(J+pe<=D){let _e,le,we,ye;switch(pe){case 1:re<128&&(te=re);break;case 2:_e=j[J+1],(_e&192)===128&&(ye=(re&31)<<6|_e&63,ye>127&&(te=ye));break;case 3:_e=j[J+1],le=j[J+2],(_e&192)===128&&(le&192)===128&&(ye=(re&15)<<12|(_e&63)<<6|le&63,ye>2047&&(ye<55296||ye>57343)&&(te=ye));break;case 4:_e=j[J+1],le=j[J+2],we=j[J+3],(_e&192)===128&&(le&192)===128&&(we&192)===128&&(ye=(re&15)<<18|(_e&63)<<12|(le&63)<<6|we&63,ye>65535&&ye<1114112&&(te=ye))}}te===null?(te=65533,pe=1):te>65535&&(te-=65536,K.push(te>>>10&1023|55296),te=56320|te&1023),K.push(te),J+=pe}return ue(K)}const ae=4096;function ue(j){const F=j.length;if(F<=ae)return String.fromCharCode.apply(String,j);let D="",K=0;for(;K<F;)D+=String.fromCharCode.apply(String,j.slice(K,K+=ae));return D}function ce(j,F,D){let K="";D=Math.min(j.length,D);for(let J=F;J<D;++J)K+=String.fromCharCode(j[J]&127);return K}function ie(j,F,D){let K="";D=Math.min(j.length,D);for(let J=F;J<D;++J)K+=String.fromCharCode(j[J]);return K}function be(j,F,D){const K=j.length;(!F||F<0)&&(F=0),(!D||D<0||D>K)&&(D=K);let J="";for(let re=F;re<D;++re)J+=Ee[j[re]];return J}function fe(j,F,D){const K=j.slice(F,D);let J="";for(let re=0;re<K.length-1;re+=2)J+=String.fromCharCode(K[re]+K[re+1]*256);return J}b.prototype.slice=function(F,D){const K=this.length;F=~~F,D=D===void 0?K:~~D,F<0?(F+=K,F<0&&(F=0)):F>K&&(F=K),D<0?(D+=K,D<0&&(D=0)):D>K&&(D=K),D<F&&(D=F);const J=this.subarray(F,D);return Object.setPrototypeOf(J,b.prototype),J};function se(j,F,D){if(j%1!==0||j<0)throw new RangeError("offset is not uint");if(j+F>D)throw new RangeError("Trying to access beyond buffer length")}b.prototype.readUintLE=b.prototype.readUIntLE=function(F,D,K){F=F>>>0,D=D>>>0,K||se(F,D,this.length);let J=this[F],re=1,te=0;for(;++te<D&&(re*=256);)J+=this[F+te]*re;return J},b.prototype.readUintBE=b.prototype.readUIntBE=function(F,D,K){F=F>>>0,D=D>>>0,K||se(F,D,this.length);let J=this[F+--D],re=1;for(;D>0&&(re*=256);)J+=this[F+--D]*re;return J},b.prototype.readUint8=b.prototype.readUInt8=function(F,D){return F=F>>>0,D||se(F,1,this.length),this[F]},b.prototype.readUint16LE=b.prototype.readUInt16LE=function(F,D){return F=F>>>0,D||se(F,2,this.length),this[F]|this[F+1]<<8},b.prototype.readUint16BE=b.prototype.readUInt16BE=function(F,D){return F=F>>>0,D||se(F,2,this.length),this[F]<<8|this[F+1]},b.prototype.readUint32LE=b.prototype.readUInt32LE=function(F,D){return F=F>>>0,D||se(F,4,this.length),(this[F]|this[F+1]<<8|this[F+2]<<16)+this[F+3]*16777216},b.prototype.readUint32BE=b.prototype.readUInt32BE=function(F,D){return F=F>>>0,D||se(F,4,this.length),this[F]*16777216+(this[F+1]<<16|this[F+2]<<8|this[F+3])},b.prototype.readBigUInt64LE=Me(function(F){F=F>>>0,De(F,"offset");const D=this[F],K=this[F+7];(D===void 0||K===void 0)&&Pe(F,this.length-8);const J=D+this[++F]*2**8+this[++F]*2**16+this[++F]*2**24,re=this[++F]+this[++F]*2**8+this[++F]*2**16+K*2**24;return BigInt(J)+(BigInt(re)<<BigInt(32))}),b.prototype.readBigUInt64BE=Me(function(F){F=F>>>0,De(F,"offset");const D=this[F],K=this[F+7];(D===void 0||K===void 0)&&Pe(F,this.length-8);const J=D*2**24+this[++F]*2**16+this[++F]*2**8+this[++F],re=this[++F]*2**24+this[++F]*2**16+this[++F]*2**8+K;return(BigInt(J)<<BigInt(32))+BigInt(re)}),b.prototype.readIntLE=function(F,D,K){F=F>>>0,D=D>>>0,K||se(F,D,this.length);let J=this[F],re=1,te=0;for(;++te<D&&(re*=256);)J+=this[F+te]*re;return re*=128,J>=re&&(J-=Math.pow(2,8*D)),J},b.prototype.readIntBE=function(F,D,K){F=F>>>0,D=D>>>0,K||se(F,D,this.length);let J=D,re=1,te=this[F+--J];for(;J>0&&(re*=256);)te+=this[F+--J]*re;return re*=128,te>=re&&(te-=Math.pow(2,8*D)),te},b.prototype.readInt8=function(F,D){return F=F>>>0,D||se(F,1,this.length),this[F]&128?(255-this[F]+1)*-1:this[F]},b.prototype.readInt16LE=function(F,D){F=F>>>0,D||se(F,2,this.length);const K=this[F]|this[F+1]<<8;return K&32768?K|4294901760:K},b.prototype.readInt16BE=function(F,D){F=F>>>0,D||se(F,2,this.length);const K=this[F+1]|this[F]<<8;return K&32768?K|4294901760:K},b.prototype.readInt32LE=function(F,D){return F=F>>>0,D||se(F,4,this.length),this[F]|this[F+1]<<8|this[F+2]<<16|this[F+3]<<24},b.prototype.readInt32BE=function(F,D){return F=F>>>0,D||se(F,4,this.length),this[F]<<24|this[F+1]<<16|this[F+2]<<8|this[F+3]},b.prototype.readBigInt64LE=Me(function(F){F=F>>>0,De(F,"offset");const D=this[F],K=this[F+7];(D===void 0||K===void 0)&&Pe(F,this.length-8);const J=this[F+4]+this[F+5]*2**8+this[F+6]*2**16+(K<<24);return(BigInt(J)<<BigInt(32))+BigInt(D+this[++F]*2**8+this[++F]*2**16+this[++F]*2**24)}),b.prototype.readBigInt64BE=Me(function(F){F=F>>>0,De(F,"offset");const D=this[F],K=this[F+7];(D===void 0||K===void 0)&&Pe(F,this.length-8);const J=(D<<24)+this[++F]*2**16+this[++F]*2**8+this[++F];return(BigInt(J)<<BigInt(32))+BigInt(this[++F]*2**24+this[++F]*2**16+this[++F]*2**8+K)}),b.prototype.readFloatLE=function(F,D){return F=F>>>0,D||se(F,4,this.length),$.read(this,F,!0,23,4)},b.prototype.readFloatBE=function(F,D){return F=F>>>0,D||se(F,4,this.length),$.read(this,F,!1,23,4)},b.prototype.readDoubleLE=function(F,D){return F=F>>>0,D||se(F,8,this.length),$.read(this,F,!0,52,8)},b.prototype.readDoubleBE=function(F,D){return F=F>>>0,D||se(F,8,this.length),$.read(this,F,!1,52,8)};function de(j,F,D,K,J,re){if(!b.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(F>J||F<re)throw new RangeError('"value" argument is out of bounds');if(D+K>j.length)throw new RangeError("Index out of range")}b.prototype.writeUintLE=b.prototype.writeUIntLE=function(F,D,K,J){if(F=+F,D=D>>>0,K=K>>>0,!J){const pe=Math.pow(2,8*K)-1;de(this,F,D,K,pe,0)}let re=1,te=0;for(this[D]=F&255;++te<K&&(re*=256);)this[D+te]=F/re&255;return D+K},b.prototype.writeUintBE=b.prototype.writeUIntBE=function(F,D,K,J){if(F=+F,D=D>>>0,K=K>>>0,!J){const pe=Math.pow(2,8*K)-1;de(this,F,D,K,pe,0)}let re=K-1,te=1;for(this[D+re]=F&255;--re>=0&&(te*=256);)this[D+re]=F/te&255;return D+K},b.prototype.writeUint8=b.prototype.writeUInt8=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,1,255,0),this[D]=F&255,D+1},b.prototype.writeUint16LE=b.prototype.writeUInt16LE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,2,65535,0),this[D]=F&255,this[D+1]=F>>>8,D+2},b.prototype.writeUint16BE=b.prototype.writeUInt16BE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,2,65535,0),this[D]=F>>>8,this[D+1]=F&255,D+2},b.prototype.writeUint32LE=b.prototype.writeUInt32LE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,4,4294967295,0),this[D+3]=F>>>24,this[D+2]=F>>>16,this[D+1]=F>>>8,this[D]=F&255,D+4},b.prototype.writeUint32BE=b.prototype.writeUInt32BE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,4,4294967295,0),this[D]=F>>>24,this[D+1]=F>>>16,this[D+2]=F>>>8,this[D+3]=F&255,D+4};function he(j,F,D,K,J){me(F,K,J,j,D,7);let re=Number(F&BigInt(4294967295));j[D++]=re,re=re>>8,j[D++]=re,re=re>>8,j[D++]=re,re=re>>8,j[D++]=re;let te=Number(F>>BigInt(32)&BigInt(4294967295));return j[D++]=te,te=te>>8,j[D++]=te,te=te>>8,j[D++]=te,te=te>>8,j[D++]=te,D}function Re(j,F,D,K,J){me(F,K,J,j,D,7);let re=Number(F&BigInt(4294967295));j[D+7]=re,re=re>>8,j[D+6]=re,re=re>>8,j[D+5]=re,re=re>>8,j[D+4]=re;let te=Number(F>>BigInt(32)&BigInt(4294967295));return j[D+3]=te,te=te>>8,j[D+2]=te,te=te>>8,j[D+1]=te,te=te>>8,j[D]=te,D+8}b.prototype.writeBigUInt64LE=Me(function(F,D=0){return he(this,F,D,BigInt(0),BigInt("0xffffffffffffffff"))}),b.prototype.writeBigUInt64BE=Me(function(F,D=0){return Re(this,F,D,BigInt(0),BigInt("0xffffffffffffffff"))}),b.prototype.writeIntLE=function(F,D,K,J){if(F=+F,D=D>>>0,!J){const _e=Math.pow(2,8*K-1);de(this,F,D,K,_e-1,-_e)}let re=0,te=1,pe=0;for(this[D]=F&255;++re<K&&(te*=256);)F<0&&pe===0&&this[D+re-1]!==0&&(pe=1),this[D+re]=(F/te>>0)-pe&255;return D+K},b.prototype.writeIntBE=function(F,D,K,J){if(F=+F,D=D>>>0,!J){const _e=Math.pow(2,8*K-1);de(this,F,D,K,_e-1,-_e)}let re=K-1,te=1,pe=0;for(this[D+re]=F&255;--re>=0&&(te*=256);)F<0&&pe===0&&this[D+re+1]!==0&&(pe=1),this[D+re]=(F/te>>0)-pe&255;return D+K},b.prototype.writeInt8=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,1,127,-128),F<0&&(F=255+F+1),this[D]=F&255,D+1},b.prototype.writeInt16LE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,2,32767,-32768),this[D]=F&255,this[D+1]=F>>>8,D+2},b.prototype.writeInt16BE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,2,32767,-32768),this[D]=F>>>8,this[D+1]=F&255,D+2},b.prototype.writeInt32LE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,4,2147483647,-2147483648),this[D]=F&255,this[D+1]=F>>>8,this[D+2]=F>>>16,this[D+3]=F>>>24,D+4},b.prototype.writeInt32BE=function(F,D,K){return F=+F,D=D>>>0,K||de(this,F,D,4,2147483647,-2147483648),F<0&&(F=4294967295+F+1),this[D]=F>>>24,this[D+1]=F>>>16,this[D+2]=F>>>8,this[D+3]=F&255,D+4},b.prototype.writeBigInt64LE=Me(function(F,D=0){return he(this,F,D,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),b.prototype.writeBigInt64BE=Me(function(F,D=0){return Re(this,F,D,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Se(j,F,D,K,J,re){if(D+K>j.length)throw new RangeError("Index out of range");if(D<0)throw new RangeError("Index out of range")}function ve(j,F,D,K,J){return F=+F,D=D>>>0,J||Se(j,F,D,4),$.write(j,F,D,K,23,4),D+4}b.prototype.writeFloatLE=function(F,D,K){return ve(this,F,D,!0,K)},b.prototype.writeFloatBE=function(F,D,K){return ve(this,F,D,!1,K)};function Ce(j,F,D,K,J){return F=+F,D=D>>>0,J||Se(j,F,D,8),$.write(j,F,D,K,52,8),D+8}b.prototype.writeDoubleLE=function(F,D,K){return Ce(this,F,D,!0,K)},b.prototype.writeDoubleBE=function(F,D,K){return Ce(this,F,D,!1,K)},b.prototype.copy=function(F,D,K,J){if(!b.isBuffer(F))throw new TypeError("argument should be a Buffer");if(K||(K=0),!J&&J!==0&&(J=this.length),D>=F.length&&(D=F.length),D||(D=0),J>0&&J<K&&(J=K),J===K||F.length===0||this.length===0)return 0;if(D<0)throw new RangeError("targetStart out of bounds");if(K<0||K>=this.length)throw new RangeError("Index out of range");if(J<0)throw new RangeError("sourceEnd out of bounds");J>this.length&&(J=this.length),F.length-D<J-K&&(J=F.length-D+K);const re=J-K;return this===F&&typeof N.prototype.copyWithin=="function"?this.copyWithin(D,K,J):N.prototype.set.call(F,this.subarray(K,J),D),re},b.prototype.fill=function(F,D,K,J){if(typeof F=="string"){if(typeof D=="string"?(J=D,D=0,K=this.length):typeof K=="string"&&(J=K,K=this.length),J!==void 0&&typeof J!="string")throw new TypeError("encoding must be a string");if(typeof J=="string"&&!b.isEncoding(J))throw new TypeError("Unknown encoding: "+J);if(F.length===1){const te=F.charCodeAt(0);(J==="utf8"&&te<128||J==="latin1")&&(F=te)}}else typeof F=="number"?F=F&255:typeof F=="boolean"&&(F=Number(F));if(D<0||this.length<D||this.length<K)throw new RangeError("Out of range index");if(K<=D)return this;D=D>>>0,K=K===void 0?this.length:K>>>0,F||(F=0);let re;if(typeof F=="number")for(re=D;re<K;++re)this[re]=F;else{const te=b.isBuffer(F)?F:b.from(F,J),pe=te.length;if(pe===0)throw new TypeError('The value "'+F+'" is invalid for argument "value"');for(re=0;re<K-D;++re)this[re+D]=te[re%pe]}return this};const Fe={};function ge(j,F,D){Fe[j]=class extends D{constructor(){super(),Object.defineProperty(this,"message",{value:F.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${j}]`,this.stack,delete this.name}get code(){return j}set code(J){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:J,writable:!0})}toString(){return`${this.name} [${j}]: ${this.message}`}}}ge("ERR_BUFFER_OUT_OF_BOUNDS",function(j){return j?`${j} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ge("ERR_INVALID_ARG_TYPE",function(j,F){return`The "${j}" argument must be of type number. Received type ${typeof F}`},TypeError),ge("ERR_OUT_OF_RANGE",function(j,F,D){let K=`The value of "${j}" is out of range.`,J=D;return Number.isInteger(D)&&Math.abs(D)>2**32?J=Ie(String(D)):typeof D=="bigint"&&(J=String(D),(D>BigInt(2)**BigInt(32)||D<-(BigInt(2)**BigInt(32)))&&(J=Ie(J)),J+="n"),K+=` It must be ${F}. Received ${J}`,K},RangeError);function Ie(j){let F="",D=j.length;const K=j[0]==="-"?1:0;for(;D>=K+4;D-=3)F=`_${j.slice(D-3,D)}${F}`;return`${j.slice(0,D)}${F}`}function Te(j,F,D){De(F,"offset"),(j[F]===void 0||j[F+D]===void 0)&&Pe(F,j.length-(D+1))}function me(j,F,D,K,J,re){if(j>D||j<F){const te=typeof F=="bigint"?"n":"";let pe;throw F===0||F===BigInt(0)?pe=`>= 0${te} and < 2${te} ** ${(re+1)*8}${te}`:pe=`>= -(2${te} ** ${(re+1)*8-1}${te}) and < 2 ** ${(re+1)*8-1}${te}`,new Fe.ERR_OUT_OF_RANGE("value",pe,j)}Te(K,J,re)}function De(j,F){if(typeof j!="number")throw new Fe.ERR_INVALID_ARG_TYPE(F,"number",j)}function Pe(j,F,D){throw Math.floor(j)!==j?(De(j,D),new Fe.ERR_OUT_OF_RANGE("offset","an integer",j)):F<0?new Fe.ERR_BUFFER_OUT_OF_BOUNDS:new Fe.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${F}`,j)}const Ae=/[^+/0-9A-Za-z-_]/g;function Ue(j){if(j=j.split("=")[0],j=j.trim().replace(Ae,""),j.length<2)return"";for(;j.length%4!==0;)j=j+"=";return j}function ke(j,F){F=F||1/0;let D;const K=j.length;let J=null;const re=[];for(let te=0;te<K;++te){if(D=j.charCodeAt(te),D>55295&&D<57344){if(!J){if(D>56319){(F-=3)>-1&&re.push(239,191,189);continue}else if(te+1===K){(F-=3)>-1&&re.push(239,191,189);continue}J=D;continue}if(D<56320){(F-=3)>-1&&re.push(239,191,189),J=D;continue}D=(J-55296<<10|D-56320)+65536}else J&&(F-=3)>-1&&re.push(239,191,189);if(J=null,D<128){if((F-=1)<0)break;re.push(D)}else if(D<2048){if((F-=2)<0)break;re.push(D>>6|192,D&63|128)}else if(D<65536){if((F-=3)<0)break;re.push(D>>12|224,D>>6&63|128,D&63|128)}else if(D<1114112){if((F-=4)<0)break;re.push(D>>18|240,D>>12&63|128,D>>6&63|128,D&63|128)}else throw new Error("Invalid code point")}return re}function Be(j){const F=[];for(let D=0;D<j.length;++D)F.push(j.charCodeAt(D)&255);return F}function Le(j,F){let D,K,J;const re=[];for(let te=0;te<j.length&&!((F-=2)<0);++te)D=j.charCodeAt(te),K=D>>8,J=D%256,re.push(J),re.push(K);return re}function Ne(j){return S.toByteArray(Ue(j))}function xe(j,F,D,K){let J;for(J=0;J<K&&!(J+D>=F.length||J>=j.length);++J)F[J+D]=j[J];return J}function $e(j,F){return j instanceof F||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===F.name}function Oe(j){return j!==j}const Ee=(function(){const j="0123456789abcdef",F=new Array(256);for(let D=0;D<16;++D){const K=D*16;for(let J=0;J<16;++J)F[K+J]=j[D]+j[J]}return F})();function Me(j){return typeof BigInt>"u"?je:j}function je(){throw new Error("BigInt not supported")}})(r);const w=r.Buffer;e.Blob=r.Blob,e.BlobOptions=r.BlobOptions,e.Buffer=r.Buffer,e.File=r.File,e.FileOptions=r.FileOptions,e.INSPECT_MAX_BYTES=r.INSPECT_MAX_BYTES,e.SlowBuffer=r.SlowBuffer,e.TranscodeEncoding=r.TranscodeEncoding,e.atob=r.atob,e.btoa=r.btoa,e.constants=r.constants,e.default=w,e.isAscii=r.isAscii,e.isUtf8=r.isUtf8,e.kMaxLength=r.kMaxLength,e.kStringMaxLength=r.kStringMaxLength,e.resolveObjectURL=r.resolveObjectURL,e.transcode=r.transcode})(dist)),dist}var hasRequiredSafeBuffer$1;function requireSafeBuffer$1(){return hasRequiredSafeBuffer$1||(hasRequiredSafeBuffer$1=1,(function(e,r){var a=requireDist(),n=a.Buffer;function l(h,s){for(var f in h)s[f]=h[f]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=a:(l(a,r),r.Buffer=t);function t(h,s,f){return n(h,s,f)}t.prototype=Object.create(n.prototype),l(n,t),t.from=function(h,s,f){if(typeof h=="number")throw new TypeError("Argument must not be a number");return n(h,s,f)},t.alloc=function(h,s,f){if(typeof h!="number")throw new TypeError("Argument must be a number");var o=n(h);return s!==void 0?typeof f=="string"?o.fill(s,f):o.fill(s):o.fill(0),o},t.allocUnsafe=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return n(h)},t.allocUnsafeSlow=function(h){if(typeof h!="number")throw new TypeError("Argument must be a number");return a.SlowBuffer(h)}})(safeBuffer$1,safeBuffer$1.exports)),safeBuffer$1.exports}var hasRequiredBrowser$b;function requireBrowser$b(){if(hasRequiredBrowser$b)return browser$b.exports;hasRequiredBrowser$b=1;var e=65536,r=4294967295;function a(){throw new Error(`Secure random number generation is not supported by this browser.
2
2
  Use Chrome, Firefox or Internet Explorer 11`)}var n=requireSafeBuffer$1().Buffer,l=commonjsGlobal.crypto||commonjsGlobal.msCrypto;l&&l.getRandomValues?browser$b.exports=t:browser$b.exports=a;function t(h,s){if(h>r)throw new RangeError("requested too many random bytes");var f=n.allocUnsafe(h);if(h>0)if(h>e)for(var o=0;o<h;o+=e)l.getRandomValues(f.slice(o,o+e));else l.getRandomValues(f);return typeof s=="function"?process$1.nextTick(function(){s(null,f)}):f}return browser$b.exports}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(r,a){a&&(r.super_=a,r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(r,a){if(a){r.super_=a;var n=function(){};n.prototype=a.prototype,r.prototype=new n,r.prototype.constructor=r}}),inherits_browser.exports}var events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var e=typeof Reflect=="object"?Reflect:null,r=e&&typeof e.apply=="function"?e.apply:function(P,k,N){return Function.prototype.apply.call(P,k,N)},a;e&&typeof e.ownKeys=="function"?a=e.ownKeys:Object.getOwnPropertySymbols?a=function(P){return Object.getOwnPropertyNames(P).concat(Object.getOwnPropertySymbols(P))}:a=function(P){return Object.getOwnPropertyNames(P)};function n($){console&&console.warn&&console.warn($)}var l=Number.isNaN||function(P){return P!==P};function t(){t.init.call(this)}events.exports=t,events.exports.once=w,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._eventsCount=0,t.prototype._maxListeners=void 0;var h=10;function s($){if(typeof $!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof $)}Object.defineProperty(t,"defaultMaxListeners",{enumerable:!0,get:function(){return h},set:function($){if(typeof $!="number"||$<0||l($))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+$+".");h=$}}),t.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(P){if(typeof P!="number"||P<0||l(P))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+P+".");return this._maxListeners=P,this};function f($){return $._maxListeners===void 0?t.defaultMaxListeners:$._maxListeners}t.prototype.getMaxListeners=function(){return f(this)},t.prototype.emit=function(P){for(var k=[],N=1;N<arguments.length;N++)k.push(arguments[N]);var H=P==="error",V=this._events;if(V!==void 0)H=H&&V.error===void 0;else if(!H)return!1;if(H){var z;if(k.length>0&&(z=k[0]),z instanceof Error)throw z;var O=new Error("Unhandled error."+(z?" ("+z.message+")":""));throw O.context=z,O}var b=V[P];if(b===void 0)return!1;if(typeof b=="function")r(b,this,k);else for(var x=b.length,d=v(b,x),N=0;N<x;++N)r(d[N],this,k);return!0};function o($,P,k,N){var H,V,z;if(s(k),V=$._events,V===void 0?(V=$._events=Object.create(null),$._eventsCount=0):(V.newListener!==void 0&&($.emit("newListener",P,k.listener?k.listener:k),V=$._events),z=V[P]),z===void 0)z=V[P]=k,++$._eventsCount;else if(typeof z=="function"?z=V[P]=N?[k,z]:[z,k]:N?z.unshift(k):z.push(k),H=f($),H>0&&z.length>H&&!z.warned){z.warned=!0;var O=new Error("Possible EventEmitter memory leak detected. "+z.length+" "+String(P)+" listeners added. Use emitter.setMaxListeners() to increase limit");O.name="MaxListenersExceededWarning",O.emitter=$,O.type=P,O.count=z.length,n(O)}return $}t.prototype.addListener=function(P,k){return o(this,P,k,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(P,k){return o(this,P,k,!0)};function i(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u($,P,k){var N={fired:!1,wrapFn:void 0,target:$,type:P,listener:k},H=i.bind(N);return H.listener=k,N.wrapFn=H,H}t.prototype.once=function(P,k){return s(k),this.on(P,u(this,P,k)),this},t.prototype.prependOnceListener=function(P,k){return s(k),this.prependListener(P,u(this,P,k)),this},t.prototype.removeListener=function(P,k){var N,H,V,z,O;if(s(k),H=this._events,H===void 0)return this;if(N=H[P],N===void 0)return this;if(N===k||N.listener===k)--this._eventsCount===0?this._events=Object.create(null):(delete H[P],H.removeListener&&this.emit("removeListener",P,N.listener||k));else if(typeof N!="function"){for(V=-1,z=N.length-1;z>=0;z--)if(N[z]===k||N[z].listener===k){O=N[z].listener,V=z;break}if(V<0)return this;V===0?N.shift():y(N,V),N.length===1&&(H[P]=N[0]),H.removeListener!==void 0&&this.emit("removeListener",P,O||k)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(P){var k,N,H;if(N=this._events,N===void 0)return this;if(N.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):N[P]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete N[P]),this;if(arguments.length===0){var V=Object.keys(N),z;for(H=0;H<V.length;++H)z=V[H],z!=="removeListener"&&this.removeAllListeners(z);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(k=N[P],typeof k=="function")this.removeListener(P,k);else if(k!==void 0)for(H=k.length-1;H>=0;H--)this.removeListener(P,k[H]);return this};function c($,P,k){var N=$._events;if(N===void 0)return[];var H=N[P];return H===void 0?[]:typeof H=="function"?k?[H.listener||H]:[H]:k?m(H):v(H,H.length)}t.prototype.listeners=function(P){return c(this,P,!0)},t.prototype.rawListeners=function(P){return c(this,P,!1)},t.listenerCount=function($,P){return typeof $.listenerCount=="function"?$.listenerCount(P):p.call($,P)},t.prototype.listenerCount=p;function p($){var P=this._events;if(P!==void 0){var k=P[$];if(typeof k=="function")return 1;if(k!==void 0)return k.length}return 0}t.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]};function v($,P){for(var k=new Array(P),N=0;N<P;++N)k[N]=$[N];return k}function y($,P){for(;P+1<$.length;P++)$[P]=$[P+1];$.pop()}function m($){for(var P=new Array($.length),k=0;k<P.length;++k)P[k]=$[k].listener||$[k];return P}function w($,P){return new Promise(function(k,N){function H(z){$.removeListener(P,V),N(z)}function V(){typeof $.removeListener=="function"&&$.removeListener("error",H),k([].slice.call(arguments))}S($,P,V,{once:!0}),P!=="error"&&_($,H,{once:!0})})}function _($,P,k){typeof $.on=="function"&&S($,"error",P,k)}function S($,P,k,N){if(typeof $.on=="function")N.once?$.once(P,k):$.on(P,k);else if(typeof $.addEventListener=="function")$.addEventListener(P,function H(V){N.once&&$.removeEventListener(P,H),k(V)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof $)}return events.exports}var streamBrowser$1,hasRequiredStreamBrowser$1;function requireStreamBrowser$1(){return hasRequiredStreamBrowser$1||(hasRequiredStreamBrowser$1=1,streamBrowser$1=requireEvents().EventEmitter),streamBrowser$1}var util$2={},types={},shams$3,hasRequiredShams$3;function requireShams$3(){return hasRequiredShams$3||(hasRequiredShams$3=1,shams$3=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},a=Symbol("test"),n=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var l=42;r[a]=l;for(a in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var t=Object.getOwnPropertySymbols(r);if(t.length!==1||t[0]!==a||!Object.prototype.propertyIsEnumerable.call(r,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(r,a);if(h.value!==l||h.enumerable!==!0)return!1}return!0}),shams$3}var shams$2,hasRequiredShams$2;function requireShams$2(){if(hasRequiredShams$2)return shams$2;hasRequiredShams$2=1;var e=requireShams$3();return shams$2=function(){return e()&&!!Symbol.toStringTag},shams$2}var hasSymbols$1,hasRequiredHasSymbols$1;function requireHasSymbols$1(){if(hasRequiredHasSymbols$1)return hasSymbols$1;hasRequiredHasSymbols$1=1;var e=typeof Symbol<"u"&&Symbol,r=requireShams$3();return hasSymbols$1=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:r()},hasSymbols$1}var hasProto,hasRequiredHasProto;function requireHasProto(){if(hasRequiredHasProto)return hasProto;hasRequiredHasProto=1;var e={foo:{}},r=Object;return hasProto=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof r)},hasProto}var implementation$1,hasRequiredImplementation$1;function requireImplementation$1(){if(hasRequiredImplementation$1)return implementation$1;hasRequiredImplementation$1=1;var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,a=Object.prototype.toString,n="[object Function]";return implementation$1=function(t){var h=this;if(typeof h!="function"||a.call(h)!==n)throw new TypeError(e+h);for(var s=r.call(arguments,1),f,o=function(){if(this instanceof f){var v=h.apply(this,s.concat(r.call(arguments)));return Object(v)===v?v:this}else return h.apply(t,s.concat(r.call(arguments)))},i=Math.max(0,h.length-s.length),u=[],c=0;c<i;c++)u.push("$"+c);if(f=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(o),h.prototype){var p=function(){};p.prototype=h.prototype,f.prototype=new p,p.prototype=null}return f},implementation$1}var functionBind$1,hasRequiredFunctionBind$1;function requireFunctionBind$1(){if(hasRequiredFunctionBind$1)return functionBind$1;hasRequiredFunctionBind$1=1;var e=requireImplementation$1();return functionBind$1=Function.prototype.bind||e,functionBind$1}var src,hasRequiredSrc;function requireSrc(){if(hasRequiredSrc)return src;hasRequiredSrc=1;var e=requireFunctionBind$1();return src=e.call(Function.call,Object.prototype.hasOwnProperty),src}var getIntrinsic$1,hasRequiredGetIntrinsic$1;function requireGetIntrinsic$1(){if(hasRequiredGetIntrinsic$1)return getIntrinsic$1;hasRequiredGetIntrinsic$1=1;var e,r=SyntaxError,a=Function,n=TypeError,l=function(b){try{return a('"use strict"; return ('+b+").constructor;")()}catch{}},t=Object.getOwnPropertyDescriptor;if(t)try{t({},"")}catch{t=null}var h=function(){throw new n},s=t?(function(){try{return arguments.callee,h}catch{try{return t(arguments,"callee").get}catch{return h}}})():h,f=requireHasSymbols$1()(),o=requireHasProto()(),i=Object.getPrototypeOf||(o?function(b){return b.__proto__}:null),u={},c=typeof Uint8Array>"u"||!i?e:i(Uint8Array),p={"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":f&&i?i([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":u,"%AsyncGenerator%":u,"%AsyncGeneratorFunction%":u,"%AsyncIteratorPrototype%":u,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":u,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&i?i(i([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f||!i?e:i(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!f||!i?e:i(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&i?i(""[Symbol.iterator]()):e,"%Symbol%":f?Symbol:e,"%SyntaxError%":r,"%ThrowTypeError%":s,"%TypedArray%":c,"%TypeError%":n,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet};if(i)try{null.error}catch(b){var v=i(i(b));p["%Error.prototype%"]=v}var y=function b(x){var d;if(x==="%AsyncFunction%")d=l("async function () {}");else if(x==="%GeneratorFunction%")d=l("function* () {}");else if(x==="%AsyncGeneratorFunction%")d=l("async function* () {}");else if(x==="%AsyncGenerator%"){var g=b("%AsyncGeneratorFunction%");g&&(d=g.prototype)}else if(x==="%AsyncIteratorPrototype%"){var E=b("%AsyncGenerator%");E&&i&&(d=i(E.prototype))}return p[x]=d,d},m={"%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"]},w=requireFunctionBind$1(),_=requireSrc(),S=w.call(Function.call,Array.prototype.concat),$=w.call(Function.apply,Array.prototype.splice),P=w.call(Function.call,String.prototype.replace),k=w.call(Function.call,String.prototype.slice),N=w.call(Function.call,RegExp.prototype.exec),H=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,z=function(x){var d=k(x,0,1),g=k(x,-1);if(d==="%"&&g!=="%")throw new r("invalid intrinsic syntax, expected closing `%`");if(g==="%"&&d!=="%")throw new r("invalid intrinsic syntax, expected opening `%`");var E=[];return P(x,H,function(B,C,M,A){E[E.length]=M?P(A,V,"$1"):C||B}),E},O=function(x,d){var g=x,E;if(_(m,g)&&(E=m[g],g="%"+E[0]+"%"),_(p,g)){var B=p[g];if(B===u&&(B=y(g)),typeof B>"u"&&!d)throw new n("intrinsic "+x+" exists, but is not available. Please file an issue!");return{alias:E,name:g,value:B}}throw new r("intrinsic "+x+" does not exist!")};return getIntrinsic$1=function(x,d){if(typeof x!="string"||x.length===0)throw new n("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof d!="boolean")throw new n('"allowMissing" argument must be a boolean');if(N(/^%?[^%]*%?$/,x)===null)throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var g=z(x),E=g.length>0?g[0]:"",B=O("%"+E+"%",d),C=B.name,M=B.value,A=!1,q=B.alias;q&&(E=q[0],$(g,S([0,1],q)));for(var R=1,I=!0;R<g.length;R+=1){var G=g[R],Z=k(G,0,1),X=k(G,-1);if((Z==='"'||Z==="'"||Z==="`"||X==='"'||X==="'"||X==="`")&&Z!==X)throw new r("property names with quotes must have matching quotes");if((G==="constructor"||!I)&&(A=!0),E+="."+G,C="%"+E+"%",_(p,C))M=p[C];else if(M!=null){if(!(G in M)){if(!d)throw new n("base intrinsic for "+x+" exists, but the property is not available.");return}if(t&&R+1>=g.length){var T=t(M,G);I=!!T,I&&"get"in T&&!("originalValue"in T.get)?M=T.get:M=M[G]}else I=_(M,G),M=M[G];I&&!A&&(p[C]=M)}}return M},getIntrinsic$1}var callBind$1={exports:{}},hasRequiredCallBind$1;function requireCallBind$1(){return hasRequiredCallBind$1||(hasRequiredCallBind$1=1,(function(e){var r=requireFunctionBind$1(),a=requireGetIntrinsic$1(),n=a("%Function.prototype.apply%"),l=a("%Function.prototype.call%"),t=a("%Reflect.apply%",!0)||r.call(l,n),h=a("%Object.getOwnPropertyDescriptor%",!0),s=a("%Object.defineProperty%",!0),f=a("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}e.exports=function(u){var c=t(r,l,arguments);if(h&&s){var p=h(c,"length");p.configurable&&s(c,"length",{value:1+f(0,u.length-(arguments.length-1))})}return c};var o=function(){return t(r,n,arguments)};s?s(e.exports,"apply",{value:o}):e.exports.apply=o})(callBind$1)),callBind$1.exports}var callBound$2,hasRequiredCallBound$2;function requireCallBound$2(){if(hasRequiredCallBound$2)return callBound$2;hasRequiredCallBound$2=1;var e=requireGetIntrinsic$1(),r=requireCallBind$1(),a=r(e("String.prototype.indexOf"));return callBound$2=function(l,t){var h=e(l,!!t);return typeof h=="function"&&a(l,".prototype.")>-1?r(h):h},callBound$2}var isArguments,hasRequiredIsArguments;function requireIsArguments(){if(hasRequiredIsArguments)return isArguments;hasRequiredIsArguments=1;var e=requireShams$2()(),r=requireCallBound$2(),a=r("Object.prototype.toString"),n=function(s){return e&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:a(s)==="[object Arguments]"},l=function(s){return n(s)?!0:s!==null&&typeof s=="object"&&typeof s.length=="number"&&s.length>=0&&a(s)!=="[object Array]"&&a(s.callee)==="[object Function]"},t=(function(){return n(arguments)})();return n.isLegacyArguments=l,isArguments=t?n:l,isArguments}var isGeneratorFunction,hasRequiredIsGeneratorFunction;function requireIsGeneratorFunction(){if(hasRequiredIsGeneratorFunction)return isGeneratorFunction;hasRequiredIsGeneratorFunction=1;var e=Object.prototype.toString,r=Function.prototype.toString,a=/^\s*(?:function)?\*/,n=requireShams$2()(),l=Object.getPrototypeOf,t=function(){if(!n)return!1;try{return Function("return function*() {}")()}catch{}},h;return isGeneratorFunction=function(f){if(typeof f!="function")return!1;if(a.test(r.call(f)))return!0;if(!n){var o=e.call(f);return o==="[object GeneratorFunction]"}if(!l)return!1;if(typeof h>"u"){var i=t();h=i?l(i):!1}return l(f)===h},isGeneratorFunction}var isCallable,hasRequiredIsCallable;function requireIsCallable(){if(hasRequiredIsCallable)return isCallable;hasRequiredIsCallable=1;var e=Function.prototype.toString,r=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,a,n;if(typeof r=="function"&&typeof Object.defineProperty=="function")try{a=Object.defineProperty({},"length",{get:function(){throw n}}),n={},r(function(){throw 42},null,a)}catch(_){_!==n&&(r=null)}else r=null;var l=/^\s*class\b/,t=function(S){try{var $=e.call(S);return l.test($)}catch{return!1}},h=function(S){try{return t(S)?!1:(e.call(S),!0)}catch{return!1}},s=Object.prototype.toString,f="[object Object]",o="[object Function]",i="[object GeneratorFunction]",u="[object HTMLAllCollection]",c="[object HTML document.all class]",p="[object HTMLCollection]",v=typeof Symbol=="function"&&!!Symbol.toStringTag,y=!(0 in[,]),m=function(){return!1};if(typeof document=="object"){var w=document.all;s.call(w)===s.call(document.all)&&(m=function(S){if((y||!S)&&(typeof S>"u"||typeof S=="object"))try{var $=s.call(S);return($===u||$===c||$===p||$===f)&&S("")==null}catch{}return!1})}return isCallable=r?function(S){if(m(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;try{r(S,null,a)}catch($){if($!==n)return!1}return!t(S)&&h(S)}:function(S){if(m(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;if(v)return h(S);if(t(S))return!1;var $=s.call(S);return $!==o&&$!==i&&!/^\[object HTML/.test($)?!1:h(S)},isCallable}var forEach_1,hasRequiredForEach$1;function requireForEach$1(){if(hasRequiredForEach$1)return forEach_1;hasRequiredForEach$1=1;var e=requireIsCallable(),r=Object.prototype.toString,a=Object.prototype.hasOwnProperty,n=function(f,o,i){for(var u=0,c=f.length;u<c;u++)a.call(f,u)&&(i==null?o(f[u],u,f):o.call(i,f[u],u,f))},l=function(f,o,i){for(var u=0,c=f.length;u<c;u++)i==null?o(f.charAt(u),u,f):o.call(i,f.charAt(u),u,f)},t=function(f,o,i){for(var u in f)a.call(f,u)&&(i==null?o(f[u],u,f):o.call(i,f[u],u,f))},h=function(f,o,i){if(!e(o))throw new TypeError("iterator must be a function");var u;arguments.length>=3&&(u=i),r.call(f)==="[object Array]"?n(f,o,u):typeof f=="string"?l(f,o,u):t(f,o,u)};return forEach_1=h,forEach_1}var availableTypedArrays$1,hasRequiredAvailableTypedArrays$1;function requireAvailableTypedArrays$1(){if(hasRequiredAvailableTypedArrays$1)return availableTypedArrays$1;hasRequiredAvailableTypedArrays$1=1;var e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays$1=function(){for(var n=[],l=0;l<e.length;l++)typeof r[e[l]]=="function"&&(n[n.length]=e[l]);return n},availableTypedArrays$1}var gopd$1,hasRequiredGopd$1;function requireGopd$1(){if(hasRequiredGopd$1)return gopd$1;hasRequiredGopd$1=1;var e=requireGetIntrinsic$1(),r=e("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch{r=null}return gopd$1=r,gopd$1}var isTypedArray$1,hasRequiredIsTypedArray$1;function requireIsTypedArray$1(){if(hasRequiredIsTypedArray$1)return isTypedArray$1;hasRequiredIsTypedArray$1=1;var e=requireForEach$1(),r=requireAvailableTypedArrays$1(),a=requireCallBound$2(),n=a("Object.prototype.toString"),l=requireShams$2()(),t=requireGopd$1(),h=typeof globalThis>"u"?commonjsGlobal:globalThis,s=r(),f=a("Array.prototype.indexOf",!0)||function(v,y){for(var m=0;m<v.length;m+=1)if(v[m]===y)return m;return-1},o=a("String.prototype.slice"),i={},u=Object.getPrototypeOf;l&&t&&u&&e(s,function(p){var v=new h[p];if(Symbol.toStringTag in v){var y=u(v),m=t(y,Symbol.toStringTag);if(!m){var w=u(y);m=t(w,Symbol.toStringTag)}i[p]=m.get}});var c=function(v){var y=!1;return e(i,function(m,w){if(!y)try{y=m.call(v)===w}catch{}}),y};return isTypedArray$1=function(v){if(!v||typeof v!="object")return!1;if(!l||!(Symbol.toStringTag in v)){var y=o(n(v),8,-1);return f(s,y)>-1}return t?c(v):!1},isTypedArray$1}var whichTypedArray$1,hasRequiredWhichTypedArray$1;function requireWhichTypedArray$1(){if(hasRequiredWhichTypedArray$1)return whichTypedArray$1;hasRequiredWhichTypedArray$1=1;var e=requireForEach$1(),r=requireAvailableTypedArrays$1(),a=requireCallBound$2(),n=requireGopd$1(),l=a("Object.prototype.toString"),t=requireShams$2()(),h=typeof globalThis>"u"?commonjsGlobal:globalThis,s=r(),f=a("String.prototype.slice"),o={},i=Object.getPrototypeOf;t&&n&&i&&e(s,function(p){if(typeof h[p]=="function"){var v=new h[p];if(Symbol.toStringTag in v){var y=i(v),m=n(y,Symbol.toStringTag);if(!m){var w=i(y);m=n(w,Symbol.toStringTag)}o[p]=m.get}}});var u=function(v){var y=!1;return e(o,function(m,w){if(!y)try{var _=m.call(v);_===w&&(y=_)}catch{}}),y},c=requireIsTypedArray$1();return whichTypedArray$1=function(v){return c(v)?!t||!(Symbol.toStringTag in v)?f(l(v),8,-1):u(v):!1},whichTypedArray$1}var hasRequiredTypes;function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,(function(e){var r=requireIsArguments(),a=requireIsGeneratorFunction(),n=requireWhichTypedArray$1(),l=requireIsTypedArray$1();function t(ie){return ie.call.bind(ie)}var h=typeof BigInt<"u",s=typeof Symbol<"u",f=t(Object.prototype.toString),o=t(Number.prototype.valueOf),i=t(String.prototype.valueOf),u=t(Boolean.prototype.valueOf);if(h)var c=t(BigInt.prototype.valueOf);if(s)var p=t(Symbol.prototype.valueOf);function v(ie,be){if(typeof ie!="object")return!1;try{return be(ie),!0}catch{return!1}}e.isArgumentsObject=r,e.isGeneratorFunction=a,e.isTypedArray=l;function y(ie){return typeof Promise<"u"&&ie instanceof Promise||ie!==null&&typeof ie=="object"&&typeof ie.then=="function"&&typeof ie.catch=="function"}e.isPromise=y;function m(ie){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(ie):l(ie)||I(ie)}e.isArrayBufferView=m;function w(ie){return n(ie)==="Uint8Array"}e.isUint8Array=w;function _(ie){return n(ie)==="Uint8ClampedArray"}e.isUint8ClampedArray=_;function S(ie){return n(ie)==="Uint16Array"}e.isUint16Array=S;function $(ie){return n(ie)==="Uint32Array"}e.isUint32Array=$;function P(ie){return n(ie)==="Int8Array"}e.isInt8Array=P;function k(ie){return n(ie)==="Int16Array"}e.isInt16Array=k;function N(ie){return n(ie)==="Int32Array"}e.isInt32Array=N;function H(ie){return n(ie)==="Float32Array"}e.isFloat32Array=H;function V(ie){return n(ie)==="Float64Array"}e.isFloat64Array=V;function z(ie){return n(ie)==="BigInt64Array"}e.isBigInt64Array=z;function O(ie){return n(ie)==="BigUint64Array"}e.isBigUint64Array=O;function b(ie){return f(ie)==="[object Map]"}b.working=typeof Map<"u"&&b(new Map);function x(ie){return typeof Map>"u"?!1:b.working?b(ie):ie instanceof Map}e.isMap=x;function d(ie){return f(ie)==="[object Set]"}d.working=typeof Set<"u"&&d(new Set);function g(ie){return typeof Set>"u"?!1:d.working?d(ie):ie instanceof Set}e.isSet=g;function E(ie){return f(ie)==="[object WeakMap]"}E.working=typeof WeakMap<"u"&&E(new WeakMap);function B(ie){return typeof WeakMap>"u"?!1:E.working?E(ie):ie instanceof WeakMap}e.isWeakMap=B;function C(ie){return f(ie)==="[object WeakSet]"}C.working=typeof WeakSet<"u"&&C(new WeakSet);function M(ie){return C(ie)}e.isWeakSet=M;function A(ie){return f(ie)==="[object ArrayBuffer]"}A.working=typeof ArrayBuffer<"u"&&A(new ArrayBuffer);function q(ie){return typeof ArrayBuffer>"u"?!1:A.working?A(ie):ie instanceof ArrayBuffer}e.isArrayBuffer=q;function R(ie){return f(ie)==="[object DataView]"}R.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&R(new DataView(new ArrayBuffer(1),0,1));function I(ie){return typeof DataView>"u"?!1:R.working?R(ie):ie instanceof DataView}e.isDataView=I;var G=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Z(ie){return f(ie)==="[object SharedArrayBuffer]"}function X(ie){return typeof G>"u"?!1:(typeof Z.working>"u"&&(Z.working=Z(new G)),Z.working?Z(ie):ie instanceof G)}e.isSharedArrayBuffer=X;function T(ie){return f(ie)==="[object AsyncFunction]"}e.isAsyncFunction=T;function L(ie){return f(ie)==="[object Map Iterator]"}e.isMapIterator=L;function Y(ie){return f(ie)==="[object Set Iterator]"}e.isSetIterator=Y;function Q(ie){return f(ie)==="[object Generator]"}e.isGeneratorObject=Q;function W(ie){return f(ie)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=W;function U(ie){return v(ie,o)}e.isNumberObject=U;function ee(ie){return v(ie,i)}e.isStringObject=ee;function ne(ie){return v(ie,u)}e.isBooleanObject=ne;function oe(ie){return h&&v(ie,c)}e.isBigIntObject=oe;function ae(ie){return s&&v(ie,p)}e.isSymbolObject=ae;function ue(ie){return U(ie)||ee(ie)||ne(ie)||oe(ie)||ae(ie)}e.isBoxedPrimitive=ue;function ce(ie){return typeof Uint8Array<"u"&&(q(ie)||X(ie))}e.isAnyArrayBuffer=ce,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ie){Object.defineProperty(e,ie,{enumerable:!1,value:function(){throw new Error(ie+" is not supported in userland")}})})})(types)),types}var isBufferBrowser,hasRequiredIsBufferBrowser;function requireIsBufferBrowser(){return hasRequiredIsBufferBrowser||(hasRequiredIsBufferBrowser=1,isBufferBrowser=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"}),isBufferBrowser}var hasRequiredUtil$1;function requireUtil$1(){return hasRequiredUtil$1||(hasRequiredUtil$1=1,(function(e){var r={},a=Object.getOwnPropertyDescriptors||function(G){for(var Z=Object.keys(G),X={},T=0;T<Z.length;T++)X[Z[T]]=Object.getOwnPropertyDescriptor(G,Z[T]);return X},n=/%[sdj%]/g;e.format=function(I){if(!k(I)){for(var G=[],Z=0;Z<arguments.length;Z++)G.push(s(arguments[Z]));return G.join(" ")}for(var Z=1,X=arguments,T=X.length,L=String(I).replace(n,function(Q){if(Q==="%%")return"%";if(Z>=T)return Q;switch(Q){case"%s":return String(X[Z++]);case"%d":return Number(X[Z++]);case"%j":try{return JSON.stringify(X[Z++])}catch{return"[Circular]"}default:return Q}}),Y=X[Z];Z<T;Y=X[++Z])S(Y)||!z(Y)?L+=" "+Y:L+=" "+s(Y);return L},e.deprecate=function(I,G){if(typeof process$1<"u"&&process$1.noDeprecation===!0)return I;if(typeof process$1>"u")return function(){return e.deprecate(I,G).apply(this,arguments)};var Z=!1;function X(){if(!Z){if(process$1.throwDeprecation)throw new Error(G);process$1.traceDeprecation?console.trace(G):console.error(G),Z=!0}return I.apply(this,arguments)}return X};var l={},t=/^$/;if(r.NODE_DEBUG){var h=r.NODE_DEBUG;h=h.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),t=new RegExp("^"+h+"$","i")}e.debuglog=function(I){if(I=I.toUpperCase(),!l[I])if(t.test(I)){var G=process$1.pid;l[I]=function(){var Z=e.format.apply(e,arguments);console.error("%s %d: %s",I,G,Z)}}else l[I]=function(){};return l[I]};function s(I,G){var Z={seen:[],stylize:o};return arguments.length>=3&&(Z.depth=arguments[2]),arguments.length>=4&&(Z.colors=arguments[3]),_(G)?Z.showHidden=G:G&&e._extend(Z,G),H(Z.showHidden)&&(Z.showHidden=!1),H(Z.depth)&&(Z.depth=2),H(Z.colors)&&(Z.colors=!1),H(Z.customInspect)&&(Z.customInspect=!0),Z.colors&&(Z.stylize=f),u(Z,I,Z.depth)}e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f(I,G){var Z=s.styles[G];return Z?"\x1B["+s.colors[Z][0]+"m"+I+"\x1B["+s.colors[Z][1]+"m":I}function o(I,G){return I}function i(I){var G={};return I.forEach(function(Z,X){G[Z]=!0}),G}function u(I,G,Z){if(I.customInspect&&G&&x(G.inspect)&&G.inspect!==e.inspect&&!(G.constructor&&G.constructor.prototype===G)){var X=G.inspect(Z,I);return k(X)||(X=u(I,X,Z)),X}var T=c(I,G);if(T)return T;var L=Object.keys(G),Y=i(L);if(I.showHidden&&(L=Object.getOwnPropertyNames(G)),b(G)&&(L.indexOf("message")>=0||L.indexOf("description")>=0))return p(G);if(L.length===0){if(x(G)){var Q=G.name?": "+G.name:"";return I.stylize("[Function"+Q+"]","special")}if(V(G))return I.stylize(RegExp.prototype.toString.call(G),"regexp");if(O(G))return I.stylize(Date.prototype.toString.call(G),"date");if(b(G))return p(G)}var W="",U=!1,ee=["{","}"];if(w(G)&&(U=!0,ee=["[","]"]),x(G)){var ne=G.name?": "+G.name:"";W=" [Function"+ne+"]"}if(V(G)&&(W=" "+RegExp.prototype.toString.call(G)),O(G)&&(W=" "+Date.prototype.toUTCString.call(G)),b(G)&&(W=" "+p(G)),L.length===0&&(!U||G.length==0))return ee[0]+W+ee[1];if(Z<0)return V(G)?I.stylize(RegExp.prototype.toString.call(G),"regexp"):I.stylize("[Object]","special");I.seen.push(G);var oe;return U?oe=v(I,G,Z,Y,L):oe=L.map(function(ae){return y(I,G,Z,Y,ae,U)}),I.seen.pop(),m(oe,W,ee)}function c(I,G){if(H(G))return I.stylize("undefined","undefined");if(k(G)){var Z="'"+JSON.stringify(G).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return I.stylize(Z,"string")}if(P(G))return I.stylize(""+G,"number");if(_(G))return I.stylize(""+G,"boolean");if(S(G))return I.stylize("null","null")}function p(I){return"["+Error.prototype.toString.call(I)+"]"}function v(I,G,Z,X,T){for(var L=[],Y=0,Q=G.length;Y<Q;++Y)M(G,String(Y))?L.push(y(I,G,Z,X,String(Y),!0)):L.push("");return T.forEach(function(W){W.match(/^\d+$/)||L.push(y(I,G,Z,X,W,!0))}),L}function y(I,G,Z,X,T,L){var Y,Q,W;if(W=Object.getOwnPropertyDescriptor(G,T)||{value:G[T]},W.get?W.set?Q=I.stylize("[Getter/Setter]","special"):Q=I.stylize("[Getter]","special"):W.set&&(Q=I.stylize("[Setter]","special")),M(X,T)||(Y="["+T+"]"),Q||(I.seen.indexOf(W.value)<0?(S(Z)?Q=u(I,W.value,null):Q=u(I,W.value,Z-1),Q.indexOf(`
3
3
  `)>-1&&(L?Q=Q.split(`
4
4
  `).map(function(U){return" "+U}).join(`