lab.waku.org/buddybook/assets/hooks.module-BoePljmY.js
status-im-auto b0d3576034 Updates
2024-11-02 18:54:09 +00:00

2 lines
74 KiB
JavaScript
Raw Blame History

import{E as Er,g as dr,m as Oe}from"./index-mI-wCQlz.js";import{e as ei}from"./events-_Z2_TJp5.js";import{r as ti,i as Z}from"./inherits_browser-DVmoQh9i.js";const ji=Object.freeze(Object.defineProperty({__proto__:null,EventEmitter:Er,default:Er},Symbol.toStringTag,{value:"Module"})),Ya=dr(ji);var ar={exports:{}},ri=ei.EventEmitter,Yt,xr;function Wi(){if(xr)return Yt;xr=1;function e(m,T){var E=Object.keys(m);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(m);T&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(m,p).enumerable})),E.push.apply(E,s)}return E}function t(m){for(var T=1;T<arguments.length;T++){var E=arguments[T]!=null?arguments[T]:{};T%2?e(Object(E),!0).forEach(function(s){r(m,s,E[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(E)):e(Object(E)).forEach(function(s){Object.defineProperty(m,s,Object.getOwnPropertyDescriptor(E,s))})}return m}function r(m,T,E){return T=l(T),T in m?Object.defineProperty(m,T,{value:E,enumerable:!0,configurable:!0,writable:!0}):m[T]=E,m}function i(m,T){if(!(m instanceof T))throw new TypeError("Cannot call a class as a function")}function n(m,T){for(var E=0;E<T.length;E++){var s=T[E];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(m,l(s.key),s)}}function f(m,T,E){return T&&n(m.prototype,T),Object.defineProperty(m,"prototype",{writable:!1}),m}function l(m){var T=u(m,"string");return typeof T=="symbol"?T:String(T)}function u(m,T){if(typeof m!="object"||m===null)return m;var E=m[Symbol.toPrimitive];if(E!==void 0){var s=E.call(m,T||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(m)}var b=Oe,h=b.Buffer,g=ti,_=g.inspect,w=_&&_.custom||"inspect";function v(m,T,E){h.prototype.copy.call(m,T,E)}return Yt=function(){function m(){i(this,m),this.head=null,this.tail=null,this.length=0}return f(m,[{key:"push",value:function(E){var s={data:E,next:null};this.length>0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(E){var s={data:E,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var E=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,E}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(E){if(this.length===0)return"";for(var s=this.head,p=""+s.data;s=s.next;)p+=E+s.data;return p}},{key:"concat",value:function(E){if(this.length===0)return h.alloc(0);for(var s=h.allocUnsafe(E>>>0),p=this.head,C=0;p;)v(p.data,s,C),C+=p.data.length,p=p.next;return s}},{key:"consume",value:function(E,s){var p;return E<this.head.data.length?(p=this.head.data.slice(0,E),this.head.data=this.head.data.slice(E)):E===this.head.data.length?p=this.shift():p=s?this._getString(E):this._getBuffer(E),p}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(E){var s=this.head,p=1,C=s.data;for(E-=C.length;s=s.next;){var R=s.data,S=E>R.length?R.length:E;if(S===R.length?C+=R:C+=R.slice(0,E),E-=S,E===0){S===R.length?(++p,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=R.slice(S));break}++p}return this.length-=p,C}},{key:"_getBuffer",value:function(E){var s=h.allocUnsafe(E),p=this.head,C=1;for(p.data.copy(s),E-=p.data.length;p=p.next;){var R=p.data,S=E>R.length?R.length:E;if(R.copy(s,s.length-E,0,S),E-=S,E===0){S===R.length?(++C,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=R.slice(S));break}++C}return this.length-=C,s}},{key:w,value:function(E,s){return _(this,t(t({},s),{},{depth:0,customInspect:!1}))}}]),m}(),Yt}var pe={env:{NODE_ENV:'"production"',VITE_WALLETCONNECT_PROJECT_ID:'"1d93edc21291f98e3bed6ff7617ff539"'},nextTick:"setImmediate",platform:'"browser"',version:'"v16.0.0"',browser:!0};function zi(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,pe.nextTick(or,this,e)):pe.nextTick(or,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(f){!t&&f?r._writableState?r._writableState.errorEmitted?pe.nextTick(ze,r):(r._writableState.errorEmitted=!0,pe.nextTick(mr,r,f)):pe.nextTick(mr,r,f):t?(pe.nextTick(ze,r),t(f)):pe.nextTick(ze,r)}),this)}function mr(e,t){or(e,t),ze(e)}function ze(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function Vi(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function or(e,t){e.emit("error",t)}function Gi(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}var ii={destroy:zi,undestroy:Vi,errorOrDestroy:Gi},ve={};function Ki(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var ni={};function J(e,t,r){r||(r=Error);function i(f,l,u){return typeof t=="string"?t:t(f,l,u)}var n=function(f){Ki(l,f);function l(u,b,h){return f.call(this,i(u,b,h))||this}return l}(r);n.prototype.name=r.name,n.prototype.code=e,ni[e]=n}function Sr(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(i){return String(i)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:r===2?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}else return"of ".concat(t," ").concat(String(e))}function Yi(e,t,r){return e.substr(0,t.length)===t}function Ji(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Xi(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}J("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);J("ERR_INVALID_ARG_TYPE",function(e,t,r){var i;typeof t=="string"&&Yi(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";var n;if(Ji(e," argument"))n="The ".concat(e," ").concat(i," ").concat(Sr(t,"type"));else{var f=Xi(e,".")?"property":"argument";n='The "'.concat(e,'" ').concat(f," ").concat(i," ").concat(Sr(t,"type"))}return n+=". Received type ".concat(typeof r),n},TypeError);J("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");J("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});J("ERR_STREAM_PREMATURE_CLOSE","Premature close");J("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});J("ERR_MULTIPLE_CALLBACK","Callback called multiple times");J("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");J("ERR_STREAM_WRITE_AFTER_END","write after end");J("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);J("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);J("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ve.codes=ni;var Qi=ve.codes.ERR_INVALID_OPT_VALUE;function Zi(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function en(e,t,r,i){var n=Zi(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var f=i?r:"highWaterMark";throw new Qi(f,n)}return Math.floor(n)}return e.objectMode?16:16*1024}var ai={getHighWaterMark:en},tn=rn;function rn(e,t){if(Jt("noDeprecation"))return e;var r=!1;function i(){if(!r){if(Jt("throwDeprecation"))throw new Error(t);Jt("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return i}function Jt(e){try{if(!globalThis.localStorage)return!1}catch{return!1}var t=globalThis.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}var Xt,Rr;function oi(){if(Rr)return Xt;Rr=1;var e={env:{NODE_ENV:'"production"',VITE_WALLETCONNECT_PROJECT_ID:'"1d93edc21291f98e3bed6ff7617ff539"'},nextTick:"setImmediate",platform:'"browser"',version:'"v16.0.0"',browser:!0};Xt=D;function t(c){var d=this;this.next=null,this.entry=null,this.finish=function(){q(d,c)}}var r;D.WritableState=M;var i={deprecate:tn},n=ri,f=Oe.Buffer,l=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function u(c){return f.from(c)}function b(c){return f.isBuffer(c)||c instanceof l}var h=ii,g=ai,_=g.getHighWaterMark,w=ve.codes,v=w.ERR_INVALID_ARG_TYPE,m=w.ERR_METHOD_NOT_IMPLEMENTED,T=w.ERR_MULTIPLE_CALLBACK,E=w.ERR_STREAM_CANNOT_PIPE,s=w.ERR_STREAM_DESTROYED,p=w.ERR_STREAM_NULL_VALUES,C=w.ERR_STREAM_WRITE_AFTER_END,R=w.ERR_UNKNOWN_ENCODING,S=h.errorOrDestroy;Z(D,n);function N(){}function M(c,d,x){r=r||Se(),c=c||{},typeof x!="boolean"&&(x=d instanceof r),this.objectMode=!!c.objectMode,x&&(this.objectMode=this.objectMode||!!c.writableObjectMode),this.highWaterMark=_(this,c,"writableHighWaterMark",x),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var k=c.decodeStrings===!1;this.decodeStrings=!k,this.defaultEncoding=c.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(O){he(d,O)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=c.emitClose!==!1,this.autoDestroy=!!c.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}M.prototype.getBuffer=function(){for(var d=this.bufferedRequest,x=[];d;)x.push(d),d=d.next;return x},function(){try{Object.defineProperty(M.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var P;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(P=Function.prototype[Symbol.hasInstance],Object.defineProperty(D,Symbol.hasInstance,{value:function(d){return P.call(this,d)?!0:this!==D?!1:d&&d._writableState instanceof M}})):P=function(d){return d instanceof this};function D(c){r=r||Se();var d=this instanceof r;if(!d&&!P.call(D,this))return new D(c);this._writableState=new M(c,this,d),this.writable=!0,c&&(typeof c.write=="function"&&(this._write=c.write),typeof c.writev=="function"&&(this._writev=c.writev),typeof c.destroy=="function"&&(this._destroy=c.destroy),typeof c.final=="function"&&(this._final=c.final)),n.call(this)}D.prototype.pipe=function(){S(this,new E)};function B(c,d){var x=new C;S(c,x),e.nextTick(d,x)}function j(c,d,x,k){var O;return x===null?O=new p:typeof x!="string"&&!d.objectMode&&(O=new v("chunk",["string","Buffer"],x)),O?(S(c,O),e.nextTick(k,O),!1):!0}D.prototype.write=function(c,d,x){var k=this._writableState,O=!1,a=!k.objectMode&&b(c);return a&&!f.isBuffer(c)&&(c=u(c)),typeof d=="function"&&(x=d,d=null),a?d="buffer":d||(d=k.defaultEncoding),typeof x!="function"&&(x=N),k.ending?B(this,x):(a||j(this,k,c,x))&&(k.pendingcb++,O=W(this,k,a,c,d,x)),O},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){var c=this._writableState;c.corked&&(c.corked--,!c.writing&&!c.corked&&!c.bufferProcessing&&c.bufferedRequest&&Q(this,c))},D.prototype.setDefaultEncoding=function(d){if(typeof d=="string"&&(d=d.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((d+"").toLowerCase())>-1))throw new R(d);return this._writableState.defaultEncoding=d,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function X(c,d,x){return!c.objectMode&&c.decodeStrings!==!1&&typeof d=="string"&&(d=f.from(d,x)),d}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function W(c,d,x,k,O,a){if(!x){var o=X(d,k,O);k!==o&&(x=!0,O="buffer",k=o)}var y=d.objectMode?1:k.length;d.length+=y;var A=d.length<d.highWaterMark;if(A||(d.needDrain=!0),d.writing||d.corked){var U=d.lastBufferedRequest;d.lastBufferedRequest={chunk:k,encoding:O,isBuf:x,callback:a,next:null},U?U.next=d.lastBufferedRequest:d.bufferedRequest=d.lastBufferedRequest,d.bufferedRequestCount+=1}else V(c,d,!1,y,k,O,a);return A}function V(c,d,x,k,O,a,o){d.writelen=k,d.writecb=o,d.writing=!0,d.sync=!0,d.destroyed?d.onwrite(new s("write")):x?c._writev(O,d.onwrite):c._write(O,a,d.onwrite),d.sync=!1}function G(c,d,x,k,O){--d.pendingcb,x?(e.nextTick(O,k),e.nextTick(Y,c,d),c._writableState.errorEmitted=!0,S(c,k)):(O(k),c._writableState.errorEmitted=!0,S(c,k),Y(c,d))}function ne(c){c.writing=!1,c.writecb=null,c.length-=c.writelen,c.writelen=0}function he(c,d){var x=c._writableState,k=x.sync,O=x.writecb;if(typeof O!="function")throw new T;if(ne(x),d)G(c,x,k,d,O);else{var a=ae(x)||c.destroyed;!a&&!x.corked&&!x.bufferProcessing&&x.bufferedRequest&&Q(c,x),k?e.nextTick(K,c,x,a,O):K(c,x,a,O)}}function K(c,d,x,k){x||ee(c,d),d.pendingcb--,k(),Y(c,d)}function ee(c,d){d.length===0&&d.needDrain&&(d.needDrain=!1,c.emit("drain"))}function Q(c,d){d.bufferProcessing=!0;var x=d.bufferedRequest;if(c._writev&&x&&x.next){var k=d.bufferedRequestCount,O=new Array(k),a=d.corkedRequestsFree;a.entry=x;for(var o=0,y=!0;x;)O[o]=x,x.isBuf||(y=!1),x=x.next,o+=1;O.allBuffers=y,V(c,d,!0,d.length,O,"",a.finish),d.pendingcb++,d.lastBufferedRequest=null,a.next?(d.corkedRequestsFree=a.next,a.next=null):d.corkedRequestsFree=new t(d),d.bufferedRequestCount=0}else{for(;x;){var A=x.chunk,U=x.encoding,L=x.callback,I=d.objectMode?1:A.length;if(V(c,d,!1,I,A,U,L),x=x.next,d.bufferedRequestCount--,d.writing)break}x===null&&(d.lastBufferedRequest=null)}d.bufferedRequest=x,d.bufferProcessing=!1}D.prototype._write=function(c,d,x){x(new m("_write()"))},D.prototype._writev=null,D.prototype.end=function(c,d,x){var k=this._writableState;return typeof c=="function"?(x=c,c=null,d=null):typeof d=="function"&&(x=d,d=null),c!=null&&this.write(c,d),k.corked&&(k.corked=1,this.uncork()),k.ending||oe(this,k,x),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ae(c){return c.ending&&c.length===0&&c.bufferedRequest===null&&!c.finished&&!c.writing}function _e(c,d){c._final(function(x){d.pendingcb--,x&&S(c,x),d.prefinished=!0,c.emit("prefinish"),Y(c,d)})}function te(c,d){!d.prefinished&&!d.finalCalled&&(typeof c._final=="function"&&!d.destroyed?(d.pendingcb++,d.finalCalled=!0,e.nextTick(_e,c,d)):(d.prefinished=!0,c.emit("prefinish")))}function Y(c,d){var x=ae(d);if(x&&(te(c,d),d.pendingcb===0&&(d.finished=!0,c.emit("finish"),d.autoDestroy))){var k=c._readableState;(!k||k.autoDestroy&&k.endEmitted)&&c.destroy()}return x}function oe(c,d,x){d.ending=!0,Y(c,d),x&&(d.finished?e.nextTick(x):c.once("finish",x)),d.ended=!0,c.writable=!1}function q(c,d,x){var k=c.entry;for(c.entry=null;k;){var O=k.callback;d.pendingcb--,O(x),k=k.next}d.corkedRequestsFree.next=c}return Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(d){this._writableState&&(this._writableState.destroyed=d)}}),D.prototype.destroy=h.destroy,D.prototype._undestroy=h.undestroy,D.prototype._destroy=function(c,d){d(c)},Xt}var Qt,Tr;function Se(){if(Tr)return Qt;Tr=1;var e={env:{NODE_ENV:'"production"',VITE_WALLETCONNECT_PROJECT_ID:'"1d93edc21291f98e3bed6ff7617ff539"'},nextTick:"setImmediate",platform:'"browser"',version:'"v16.0.0"',browser:!0},t=Object.keys||function(g){var _=[];for(var w in g)_.push(w);return _};Qt=u;var r=si(),i=oi();Z(u,r);for(var n=t(i.prototype),f=0;f<n.length;f++){var l=n[f];u.prototype[l]||(u.prototype[l]=i.prototype[l])}function u(g){if(!(this instanceof u))return new u(g);r.call(this,g),i.call(this,g),this.allowHalfOpen=!0,g&&(g.readable===!1&&(this.readable=!1),g.writable===!1&&(this.writable=!1),g.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",b)))}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function b(){this._writableState.ended||e.nextTick(h,this)}function h(g){g.end()}return Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(_){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=_,this._writableState.destroyed=_)}}),Qt}var Zt={},je={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Cr;function nn(){return Cr||(Cr=1,function(e,t){var r=Oe,i=r.Buffer;function n(l,u){for(var b in l)u[b]=l[b]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(n(r,t),t.Buffer=f);function f(l,u,b){return i(l,u,b)}f.prototype=Object.create(i.prototype),n(i,f),f.from=function(l,u,b){if(typeof l=="number")throw new TypeError("Argument must not be a number");return i(l,u,b)},f.alloc=function(l,u,b){if(typeof l!="number")throw new TypeError("Argument must be a number");var h=i(l);return u!==void 0?typeof b=="string"?h.fill(u,b):h.fill(u):h.fill(0),h},f.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return i(l)},f.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(l)}}(je,je.exports)),je.exports}var Ar;function Br(){if(Ar)return Zt;Ar=1;var e=nn().Buffer,t=e.isEncoding||function(s){switch(s=""+s,s&&s.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(s){if(!s)return"utf8";for(var p;;)switch(s){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return s;default:if(p)return;s=(""+s).toLowerCase(),p=!0}}function i(s){var p=r(s);if(typeof p!="string"&&(e.isEncoding===t||!t(s)))throw new Error("Unknown encoding: "+s);return p||s}Zt.StringDecoder=n;function n(s){this.encoding=i(s);var p;switch(this.encoding){case"utf16le":this.text=_,this.end=w,p=4;break;case"utf8":this.fillLast=b,p=4;break;case"base64":this.text=v,this.end=m,p=3;break;default:this.write=T,this.end=E;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(p)}n.prototype.write=function(s){if(s.length===0)return"";var p,C;if(this.lastNeed){if(p=this.fillLast(s),p===void 0)return"";C=this.lastNeed,this.lastNeed=0}else C=0;return C<s.length?p?p+this.text(s,C):this.text(s,C):p||""},n.prototype.end=g,n.prototype.text=h,n.prototype.fillLast=function(s){if(this.lastNeed<=s.length)return s.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);s.copy(this.lastChar,this.lastTotal-this.lastNeed,0,s.length),this.lastNeed-=s.length};function f(s){return s<=127?0:s>>5===6?2:s>>4===14?3:s>>3===30?4:s>>6===2?-1:-2}function l(s,p,C){var R=p.length-1;if(R<C)return 0;var S=f(p[R]);return S>=0?(S>0&&(s.lastNeed=S-1),S):--R<C||S===-2?0:(S=f(p[R]),S>=0?(S>0&&(s.lastNeed=S-2),S):--R<C||S===-2?0:(S=f(p[R]),S>=0?(S>0&&(S===2?S=0:s.lastNeed=S-3),S):0))}function u(s,p,C){if((p[0]&192)!==128)return s.lastNeed=0,"<22>";if(s.lastNeed>1&&p.length>1){if((p[1]&192)!==128)return s.lastNeed=1,"<22>";if(s.lastNeed>2&&p.length>2&&(p[2]&192)!==128)return s.lastNeed=2,"<22>"}}function b(s){var p=this.lastTotal-this.lastNeed,C=u(this,s);if(C!==void 0)return C;if(this.lastNeed<=s.length)return s.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);s.copy(this.lastChar,p,0,s.length),this.lastNeed-=s.length}function h(s,p){var C=l(this,s,p);if(!this.lastNeed)return s.toString("utf8",p);this.lastTotal=C;var R=s.length-(C-this.lastNeed);return s.copy(this.lastChar,0,R),s.toString("utf8",p,R)}function g(s){var p=s&&s.length?this.write(s):"";return this.lastNeed?p+"<22>":p}function _(s,p){if((s.length-p)%2===0){var C=s.toString("utf16le",p);if(C){var R=C.charCodeAt(C.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=s[s.length-2],this.lastChar[1]=s[s.length-1],C.slice(0,-1)}return C}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=s[s.length-1],s.toString("utf16le",p,s.length-1)}function w(s){var p=s&&s.length?this.write(s):"";if(this.lastNeed){var C=this.lastTotal-this.lastNeed;return p+this.lastChar.toString("utf16le",0,C)}return p}function v(s,p){var C=(s.length-p)%3;return C===0?s.toString("base64",p):(this.lastNeed=3-C,this.lastTotal=3,C===1?this.lastChar[0]=s[s.length-1]:(this.lastChar[0]=s[s.length-2],this.lastChar[1]=s[s.length-1]),s.toString("base64",p,s.length-C))}function m(s){var p=s&&s.length?this.write(s):"";return this.lastNeed?p+this.lastChar.toString("base64",0,3-this.lastNeed):p}function T(s){return s.toString(this.encoding)}function E(s){return s&&s.length?this.write(s):""}return Zt}var kr=ve.codes.ERR_STREAM_PREMATURE_CLOSE;function an(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];e.apply(this,i)}}}function on(){}function fn(e){return e.setHeader&&typeof e.abort=="function"}function fi(e,t,r){if(typeof t=="function")return fi(e,null,t);t||(t={}),r=an(r||on);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,f=function(){e.writable||u()},l=e._writableState&&e._writableState.finished,u=function(){n=!1,l=!0,i||r.call(e)},b=e._readableState&&e._readableState.endEmitted,h=function(){i=!1,b=!0,n||r.call(e)},g=function(m){r.call(e,m)},_=function(){var m;if(i&&!b)return(!e._readableState||!e._readableState.ended)&&(m=new kr),r.call(e,m);if(n&&!l)return(!e._writableState||!e._writableState.ended)&&(m=new kr),r.call(e,m)},w=function(){e.req.on("finish",u)};return fn(e)?(e.on("complete",u),e.on("abort",_),e.req?w():e.on("request",w)):n&&!e._writableState&&(e.on("end",f),e.on("close",f)),e.on("end",h),e.on("finish",u),t.error!==!1&&e.on("error",g),e.on("close",_),function(){e.removeListener("complete",u),e.removeListener("abort",_),e.removeListener("request",w),e.req&&e.req.removeListener("finish",u),e.removeListener("end",f),e.removeListener("close",f),e.removeListener("finish",u),e.removeListener("end",h),e.removeListener("error",g),e.removeListener("close",_)}}var pr=fi,er,Mr;function sn(){if(Mr)return er;Mr=1;var e={env:{NODE_ENV:'"production"',VITE_WALLETCONNECT_PROJECT_ID:'"1d93edc21291f98e3bed6ff7617ff539"'},nextTick:"setImmediate",platform:'"browser"',version:'"v16.0.0"',browser:!0},t;function r(R,S,N){return S=i(S),S in R?Object.defineProperty(R,S,{value:N,enumerable:!0,configurable:!0,writable:!0}):R[S]=N,R}function i(R){var S=n(R,"string");return typeof S=="symbol"?S:String(S)}function n(R,S){if(typeof R!="object"||R===null)return R;var N=R[Symbol.toPrimitive];if(N!==void 0){var M=N.call(R,S||"default");if(typeof M!="object")return M;throw new TypeError("@@toPrimitive must return a primitive value.")}return(S==="string"?String:Number)(R)}var f=pr,l=Symbol("lastResolve"),u=Symbol("lastReject"),b=Symbol("error"),h=Symbol("ended"),g=Symbol("lastPromise"),_=Symbol("handlePromise"),w=Symbol("stream");function v(R,S){return{value:R,done:S}}function m(R){var S=R[l];if(S!==null){var N=R[w].read();N!==null&&(R[g]=null,R[l]=null,R[u]=null,S(v(N,!1)))}}function T(R){e.nextTick(m,R)}function E(R,S){return function(N,M){R.then(function(){if(S[h]){N(v(void 0,!0));return}S[_](N,M)},M)}}var s=Object.getPrototypeOf(function(){}),p=Object.setPrototypeOf((t={get stream(){return this[w]},next:function(){var S=this,N=this[b];if(N!==null)return Promise.reject(N);if(this[h])return Promise.resolve(v(void 0,!0));if(this[w].destroyed)return new Promise(function(B,j){e.nextTick(function(){S[b]?j(S[b]):B(v(void 0,!0))})});var M=this[g],P;if(M)P=new Promise(E(M,this));else{var D=this[w].read();if(D!==null)return Promise.resolve(v(D,!1));P=new Promise(this[_])}return this[g]=P,P}},r(t,Symbol.asyncIterator,function(){return this}),r(t,"return",function(){var S=this;return new Promise(function(N,M){S[w].destroy(null,function(P){if(P){M(P);return}N(v(void 0,!0))})})}),t),s),C=function(S){var N,M=Object.create(p,(N={},r(N,w,{value:S,writable:!0}),r(N,l,{value:null,writable:!0}),r(N,u,{value:null,writable:!0}),r(N,b,{value:null,writable:!0}),r(N,h,{value:S._readableState.endEmitted,writable:!0}),r(N,_,{value:function(D,B){var j=M[w].read();j?(M[g]=null,M[l]=null,M[u]=null,D(v(j,!1))):(M[l]=D,M[u]=B)},writable:!0}),N));return M[g]=null,f(S,function(P){if(P&&P.code!=="ERR_STREAM_PREMATURE_CLOSE"){var D=M[u];D!==null&&(M[g]=null,M[l]=null,M[u]=null,D(P)),M[b]=P;return}var B=M[l];B!==null&&(M[g]=null,M[l]=null,M[u]=null,B(v(void 0,!0))),M[h]=!0}),S.on("readable",T.bind(null,M)),M};return er=C,er}var tr,Nr;function ln(){return Nr||(Nr=1,tr=function(){throw new Error("Readable.from is not available in the browser")}),tr}var rr,Dr;function si(){if(Dr)return rr;Dr=1;var e={env:{NODE_ENV:'"production"',VITE_WALLETCONNECT_PROJECT_ID:'"1d93edc21291f98e3bed6ff7617ff539"'},nextTick:"setImmediate",platform:'"browser"',version:'"v16.0.0"',browser:!0};rr=B;var t;B.ReadableState=D,ei.EventEmitter;var r=function(o,y){return o.listeners(y).length},i=ri,n=Oe.Buffer,f=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function l(a){return n.from(a)}function u(a){return n.isBuffer(a)||a instanceof f}var b=ti,h;b&&b.debuglog?h=b.debuglog("stream"):h=function(){};var g=Wi(),_=ii,w=ai,v=w.getHighWaterMark,m=ve.codes,T=m.ERR_INVALID_ARG_TYPE,E=m.ERR_STREAM_PUSH_AFTER_EOF,s=m.ERR_METHOD_NOT_IMPLEMENTED,p=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,C,R,S;Z(B,i);var N=_.errorOrDestroy,M=["error","close","destroy","pause","resume"];function P(a,o,y){if(typeof a.prependListener=="function")return a.prependListener(o,y);!a._events||!a._events[o]?a.on(o,y):Array.isArray(a._events[o])?a._events[o].unshift(y):a._events[o]=[y,a._events[o]]}function D(a,o,y){t=t||Se(),a=a||{},typeof y!="boolean"&&(y=o instanceof t),this.objectMode=!!a.objectMode,y&&(this.objectMode=this.objectMode||!!a.readableObjectMode),this.highWaterMark=v(this,a,"readableHighWaterMark",y),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=a.emitClose!==!1,this.autoDestroy=!!a.autoDestroy,this.destroyed=!1,this.defaultEncoding=a.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,a.encoding&&(C||(C=Br().StringDecoder),this.decoder=new C(a.encoding),this.encoding=a.encoding)}function B(a){if(t=t||Se(),!(this instanceof B))return new B(a);var o=this instanceof t;this._readableState=new D(a,this,o),this.readable=!0,a&&(typeof a.read=="function"&&(this._read=a.read),typeof a.destroy=="function"&&(this._destroy=a.destroy)),i.call(this)}Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(o){this._readableState&&(this._readableState.destroyed=o)}}),B.prototype.destroy=_.destroy,B.prototype._undestroy=_.undestroy,B.prototype._destroy=function(a,o){o(a)},B.prototype.push=function(a,o){var y=this._readableState,A;return y.objectMode?A=!0:typeof a=="string"&&(o=o||y.defaultEncoding,o!==y.encoding&&(a=n.from(a,o),o=""),A=!0),j(this,a,o,!1,A)},B.prototype.unshift=function(a){return j(this,a,null,!0,!1)};function j(a,o,y,A,U){h("readableAddChunk",o);var L=a._readableState;if(o===null)L.reading=!1,he(a,L);else{var I;if(U||(I=W(L,o)),I)N(a,I);else if(L.objectMode||o&&o.length>0)if(typeof o!="string"&&!L.objectMode&&Object.getPrototypeOf(o)!==n.prototype&&(o=l(o)),A)L.endEmitted?N(a,new p):X(a,L,o,!0);else if(L.ended)N(a,new E);else{if(L.destroyed)return!1;L.reading=!1,L.decoder&&!y?(o=L.decoder.write(o),L.objectMode||o.length!==0?X(a,L,o,!1):Q(a,L)):X(a,L,o,!1)}else A||(L.reading=!1,Q(a,L))}return!L.ended&&(L.length<L.highWaterMark||L.length===0)}function X(a,o,y,A){o.flowing&&o.length===0&&!o.sync?(o.awaitDrain=0,a.emit("data",y)):(o.length+=o.objectMode?1:y.length,A?o.buffer.unshift(y):o.buffer.push(y),o.needReadable&&K(a)),Q(a,o)}function W(a,o){var y;return!u(o)&&typeof o!="string"&&o!==void 0&&!a.objectMode&&(y=new T("chunk",["string","Buffer","Uint8Array"],o)),y}B.prototype.isPaused=function(){return this._readableState.flowing===!1},B.prototype.setEncoding=function(a){C||(C=Br().StringDecoder);var o=new C(a);this._readableState.decoder=o,this._readableState.encoding=this._readableState.decoder.encoding;for(var y=this._readableState.buffer.head,A="";y!==null;)A+=o.write(y.data),y=y.next;return this._readableState.buffer.clear(),A!==""&&this._readableState.buffer.push(A),this._readableState.length=A.length,this};var V=1073741824;function G(a){return a>=V?a=V:(a--,a|=a>>>1,a|=a>>>2,a|=a>>>4,a|=a>>>8,a|=a>>>16,a++),a}function ne(a,o){return a<=0||o.length===0&&o.ended?0:o.objectMode?1:a!==a?o.flowing&&o.length?o.buffer.head.data.length:o.length:(a>o.highWaterMark&&(o.highWaterMark=G(a)),a<=o.length?a:o.ended?o.length:(o.needReadable=!0,0))}B.prototype.read=function(a){h("read",a),a=parseInt(a,10);var o=this._readableState,y=a;if(a!==0&&(o.emittedReadable=!1),a===0&&o.needReadable&&((o.highWaterMark!==0?o.length>=o.highWaterMark:o.length>0)||o.ended))return h("read: emitReadable",o.length,o.ended),o.length===0&&o.ended?x(this):K(this),null;if(a=ne(a,o),a===0&&o.ended)return o.length===0&&x(this),null;var A=o.needReadable;h("need readable",A),(o.length===0||o.length-a<o.highWaterMark)&&(A=!0,h("length less than watermark",A)),o.ended||o.reading?(A=!1,h("reading or ended",A)):A&&(h("do read"),o.reading=!0,o.sync=!0,o.length===0&&(o.needReadable=!0),this._read(o.highWaterMark),o.sync=!1,o.reading||(a=ne(y,o)));var U;return a>0?U=d(a,o):U=null,U===null?(o.needReadable=o.length<=o.highWaterMark,a=0):(o.length-=a,o.awaitDrain=0),o.length===0&&(o.ended||(o.needReadable=!0),y!==a&&o.ended&&x(this)),U!==null&&this.emit("data",U),U};function he(a,o){if(h("onEofChunk"),!o.ended){if(o.decoder){var y=o.decoder.end();y&&y.length&&(o.buffer.push(y),o.length+=o.objectMode?1:y.length)}o.ended=!0,o.sync?K(a):(o.needReadable=!1,o.emittedReadable||(o.emittedReadable=!0,ee(a)))}}function K(a){var o=a._readableState;h("emitReadable",o.needReadable,o.emittedReadable),o.needReadable=!1,o.emittedReadable||(h("emitReadable",o.flowing),o.emittedReadable=!0,e.nextTick(ee,a))}function ee(a){var o=a._readableState;h("emitReadable_",o.destroyed,o.length,o.ended),!o.destroyed&&(o.length||o.ended)&&(a.emit("readable"),o.emittedReadable=!1),o.needReadable=!o.flowing&&!o.ended&&o.length<=o.highWaterMark,c(a)}function Q(a,o){o.readingMore||(o.readingMore=!0,e.nextTick(ae,a,o))}function ae(a,o){for(;!o.reading&&!o.ended&&(o.length<o.highWaterMark||o.flowing&&o.length===0);){var y=o.length;if(h("maybeReadMore read 0"),a.read(0),y===o.length)break}o.readingMore=!1}B.prototype._read=function(a){N(this,new s("_read()"))},B.prototype.pipe=function(a,o){var y=this,A=this._readableState;switch(A.pipesCount){case 0:A.pipes=a;break;case 1:A.pipes=[A.pipes,a];break;default:A.pipes.push(a);break}A.pipesCount+=1,h("pipe count=%d opts=%j",A.pipesCount,o);var U=(!o||o.end!==!1)&&a!==e.stdout&&a!==e.stderr,L=U?fe:ce;A.endEmitted?e.nextTick(L):y.once("end",L),a.on("unpipe",I);function I(re,ie){h("onunpipe"),re===y&&ie&&ie.hasUnpiped===!1&&(ie.hasUnpiped=!0,qe())}function fe(){h("onend"),a.end()}var de=_e(y);a.on("drain",de);var Be=!1;function qe(){h("cleanup"),a.removeListener("close",xe),a.removeListener("finish",me),a.removeListener("drain",de),a.removeListener("error",Ee),a.removeListener("unpipe",I),y.removeListener("end",fe),y.removeListener("end",ce),y.removeListener("data",ke),Be=!0,A.awaitDrain&&(!a._writableState||a._writableState.needDrain)&&de()}y.on("data",ke);function ke(re){h("ondata");var ie=a.write(re);h("dest.write",ie),ie===!1&&((A.pipesCount===1&&A.pipes===a||A.pipesCount>1&&O(A.pipes,a)!==-1)&&!Be&&(h("false write response, pause",A.awaitDrain),A.awaitDrain++),y.pause())}function Ee(re){h("onerror",re),ce(),a.removeListener("error",Ee),r(a,"error")===0&&N(a,re)}P(a,"error",Ee);function xe(){a.removeListener("finish",me),ce()}a.once("close",xe);function me(){h("onfinish"),a.removeListener("close",xe),ce()}a.once("finish",me);function ce(){h("unpipe"),y.unpipe(a)}return a.emit("pipe",y),A.flowing||(h("pipe resume"),y.resume()),a};function _e(a){return function(){var y=a._readableState;h("pipeOnDrain",y.awaitDrain),y.awaitDrain&&y.awaitDrain--,y.awaitDrain===0&&r(a,"data")&&(y.flowing=!0,c(a))}}B.prototype.unpipe=function(a){var o=this._readableState,y={hasUnpiped:!1};if(o.pipesCount===0)return this;if(o.pipesCount===1)return a&&a!==o.pipes?this:(a||(a=o.pipes),o.pipes=null,o.pipesCount=0,o.flowing=!1,a&&a.emit("unpipe",this,y),this);if(!a){var A=o.pipes,U=o.pipesCount;o.pipes=null,o.pipesCount=0,o.flowing=!1;for(var L=0;L<U;L++)A[L].emit("unpipe",this,{hasUnpiped:!1});return this}var I=O(o.pipes,a);return I===-1?this:(o.pipes.splice(I,1),o.pipesCount-=1,o.pipesCount===1&&(o.pipes=o.pipes[0]),a.emit("unpipe",this,y),this)},B.prototype.on=function(a,o){var y=i.prototype.on.call(this,a,o),A=this._readableState;return a==="data"?(A.readableListening=this.listenerCount("readable")>0,A.flowing!==!1&&this.resume()):a==="readable"&&!A.endEmitted&&!A.readableListening&&(A.readableListening=A.needReadable=!0,A.flowing=!1,A.emittedReadable=!1,h("on readable",A.length,A.reading),A.length?K(this):A.reading||e.nextTick(Y,this)),y},B.prototype.addListener=B.prototype.on,B.prototype.removeListener=function(a,o){var y=i.prototype.removeListener.call(this,a,o);return a==="readable"&&e.nextTick(te,this),y},B.prototype.removeAllListeners=function(a){var o=i.prototype.removeAllListeners.apply(this,arguments);return(a==="readable"||a===void 0)&&e.nextTick(te,this),o};function te(a){var o=a._readableState;o.readableListening=a.listenerCount("readable")>0,o.resumeScheduled&&!o.paused?o.flowing=!0:a.listenerCount("data")>0&&a.resume()}function Y(a){h("readable nexttick read 0"),a.read(0)}B.prototype.resume=function(){var a=this._readableState;return a.flowing||(h("resume"),a.flowing=!a.readableListening,oe(this,a)),a.paused=!1,this};function oe(a,o){o.resumeScheduled||(o.resumeScheduled=!0,e.nextTick(q,a,o))}function q(a,o){h("resume",o.reading),o.reading||a.read(0),o.resumeScheduled=!1,a.emit("resume"),c(a),o.flowing&&!o.reading&&a.read(0)}B.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function c(a){var o=a._readableState;for(h("flow",o.flowing);o.flowing&&a.read()!==null;);}B.prototype.wrap=function(a){var o=this,y=this._readableState,A=!1;a.on("end",function(){if(h("wrapped end"),y.decoder&&!y.ended){var I=y.decoder.end();I&&I.length&&o.push(I)}o.push(null)}),a.on("data",function(I){if(h("wrapped data"),y.decoder&&(I=y.decoder.write(I)),!(y.objectMode&&I==null)&&!(!y.objectMode&&(!I||!I.length))){var fe=o.push(I);fe||(A=!0,a.pause())}});for(var U in a)this[U]===void 0&&typeof a[U]=="function"&&(this[U]=function(fe){return function(){return a[fe].apply(a,arguments)}}(U));for(var L=0;L<M.length;L++)a.on(M[L],this.emit.bind(this,M[L]));return this._read=function(I){h("wrapped _read",I),A&&(A=!1,a.resume())},this},typeof Symbol=="function"&&(B.prototype[Symbol.asyncIterator]=function(){return R===void 0&&(R=sn()),R(this)}),Object.defineProperty(B.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(B.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(B.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(o){this._readableState&&(this._readableState.flowing=o)}}),B._fromList=d,Object.defineProperty(B.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function d(a,o){if(o.length===0)return null;var y;return o.objectMode?y=o.buffer.shift():!a||a>=o.length?(o.decoder?y=o.buffer.join(""):o.buffer.length===1?y=o.buffer.first():y=o.buffer.concat(o.length),o.buffer.clear()):y=o.buffer.consume(a,o.decoder),y}function x(a){var o=a._readableState;h("endReadable",o.endEmitted),o.endEmitted||(o.ended=!0,e.nextTick(k,o,a))}function k(a,o){if(h("endReadableNT",a.endEmitted,a.length),!a.endEmitted&&a.length===0&&(a.endEmitted=!0,o.readable=!1,o.emit("end"),a.autoDestroy)){var y=o._writableState;(!y||y.autoDestroy&&y.finished)&&o.destroy()}}typeof Symbol=="function"&&(B.from=function(a,o){return S===void 0&&(S=ln()),S(B,a,o)});function O(a,o){for(var y=0,A=a.length;y<A;y++)if(a[y]===o)return y;return-1}return rr}var li=le,Ye=ve.codes,un=Ye.ERR_METHOD_NOT_IMPLEMENTED,hn=Ye.ERR_MULTIPLE_CALLBACK,_n=Ye.ERR_TRANSFORM_ALREADY_TRANSFORMING,cn=Ye.ERR_TRANSFORM_WITH_LENGTH_0,Je=Se();Z(le,Je);function dn(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new hn);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function le(e){if(!(this instanceof le))return new le(e);Je.call(this,e),this._transformState={afterTransform:dn.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",pn)}function pn(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Lr(e,t,r)}):Lr(this,null,null)}le.prototype.push=function(e,t){return this._transformState.needTransform=!1,Je.prototype.push.call(this,e,t)};le.prototype._transform=function(e,t,r){r(new un("_transform()"))};le.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};le.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};le.prototype._destroy=function(e,t){Je.prototype._destroy.call(this,e,function(r){t(r)})};function Lr(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new cn;if(e._transformState.transforming)throw new _n;return e.push(null)}var bn=De,ui=li;Z(De,ui);function De(e){if(!(this instanceof De))return new De(e);ui.call(this,e)}De.prototype._transform=function(e,t,r){r(null,e)};var ir;function vn(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var hi=ve.codes,gn=hi.ERR_MISSING_ARGS,yn=hi.ERR_STREAM_DESTROYED;function Or(e){if(e)throw e}function wn(e){return e.setHeader&&typeof e.abort=="function"}function En(e,t,r,i){i=vn(i);var n=!1;e.on("close",function(){n=!0}),ir===void 0&&(ir=pr),ir(e,{readable:t,writable:r},function(l){if(l)return i(l);n=!0,i()});var f=!1;return function(l){if(!n&&!f){if(f=!0,wn(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(l||new yn("pipe"))}}}function Pr(e){e()}function xn(e,t){return e.pipe(t)}function mn(e){return!e.length||typeof e[e.length-1]!="function"?Or:e.pop()}function Sn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=mn(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new gn("streams");var n,f=t.map(function(l,u){var b=u<t.length-1,h=u>0;return En(l,b,h,function(g){n||(n=g),g&&f.forEach(Pr),!b&&(f.forEach(Pr),i(n))})});return t.reduce(xn)}var Rn=Sn;(function(e,t){t=e.exports=si(),t.Stream=t,t.Readable=t,t.Writable=oi(),t.Duplex=Se(),t.Transform=li,t.PassThrough=bn,t.finished=pr,t.pipeline=Rn})(ar,ar.exports);var _i=ar.exports;const{Transform:Tn}=_i;var Cn=e=>class ci extends Tn{constructor(r,i,n,f,l){super(l),this._rate=r,this._capacity=i,this._delimitedSuffix=n,this._hashBitLength=f,this._options=l,this._state=new e,this._state.initialize(r,i),this._finalized=!1}_transform(r,i,n){let f=null;try{this.update(r,i)}catch(l){f=l}n(f)}_flush(r){let i=null;try{this.push(this.digest())}catch(n){i=n}r(i)}update(r,i){if(!Buffer.isBuffer(r)&&typeof r!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return Buffer.isBuffer(r)||(r=Buffer.from(r,i)),this._state.absorb(r),this}digest(r){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let i=this._state.squeeze(this._hashBitLength/8);return r!==void 0&&(i=i.toString(r)),this._resetState(),i}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const r=new ci(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(r._state),r._finalized=this._finalized,r}};const{Transform:An}=_i;var Bn=e=>class di extends An{constructor(r,i,n,f){super(f),this._rate=r,this._capacity=i,this._delimitedSuffix=n,this._options=f,this._state=new e,this._state.initialize(r,i),this._finalized=!1}_transform(r,i,n){let f=null;try{this.update(r,i)}catch(l){f=l}n(f)}_flush(){}_read(r){this.push(this.squeeze(r))}update(r,i){if(!Buffer.isBuffer(r)&&typeof r!="string")throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return Buffer.isBuffer(r)||(r=Buffer.from(r,i)),this._state.absorb(r),this}squeeze(r,i){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let n=this._state.squeeze(r);return i!==void 0&&(n=n.toString(i)),n}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const r=new di(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(r._state),r._finalized=this._finalized,r}};const kn=Cn,Mn=Bn;var Nn=function(e){const t=kn(e),r=Mn(e);return function(i,n){switch(typeof i=="string"?i.toLowerCase():i){case"keccak224":return new t(1152,448,null,224,n);case"keccak256":return new t(1088,512,null,256,n);case"keccak384":return new t(832,768,null,384,n);case"keccak512":return new t(576,1024,null,512,n);case"sha3-224":return new t(1152,448,6,224,n);case"sha3-256":return new t(1088,512,6,256,n);case"sha3-384":return new t(832,768,6,384,n);case"sha3-512":return new t(576,1024,6,512,n);case"shake128":return new r(1344,256,31,n);case"shake256":return new r(1088,512,31,n);default:throw new Error("Invald algorithm: "+i)}}},pi={};const Ir=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];pi.p1600=function(e){for(let t=0;t<24;++t){const r=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],n=e[2]^e[12]^e[22]^e[32]^e[42],f=e[3]^e[13]^e[23]^e[33]^e[43],l=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],b=e[6]^e[16]^e[26]^e[36]^e[46],h=e[7]^e[17]^e[27]^e[37]^e[47],g=e[8]^e[18]^e[28]^e[38]^e[48],_=e[9]^e[19]^e[29]^e[39]^e[49];let w=g^(n<<1|f>>>31),v=_^(f<<1|n>>>31);const m=e[0]^w,T=e[1]^v,E=e[10]^w,s=e[11]^v,p=e[20]^w,C=e[21]^v,R=e[30]^w,S=e[31]^v,N=e[40]^w,M=e[41]^v;w=r^(l<<1|u>>>31),v=i^(u<<1|l>>>31);const P=e[2]^w,D=e[3]^v,B=e[12]^w,j=e[13]^v,X=e[22]^w,W=e[23]^v,V=e[32]^w,G=e[33]^v,ne=e[42]^w,he=e[43]^v;w=n^(b<<1|h>>>31),v=f^(h<<1|b>>>31);const K=e[4]^w,ee=e[5]^v,Q=e[14]^w,ae=e[15]^v,_e=e[24]^w,te=e[25]^v,Y=e[34]^w,oe=e[35]^v,q=e[44]^w,c=e[45]^v;w=l^(g<<1|_>>>31),v=u^(_<<1|g>>>31);const d=e[6]^w,x=e[7]^v,k=e[16]^w,O=e[17]^v,a=e[26]^w,o=e[27]^v,y=e[36]^w,A=e[37]^v,U=e[46]^w,L=e[47]^v;w=b^(r<<1|i>>>31),v=h^(i<<1|r>>>31);const I=e[8]^w,fe=e[9]^v,de=e[18]^w,Be=e[19]^v,qe=e[28]^w,ke=e[29]^v,Ee=e[38]^w,xe=e[39]^v,me=e[48]^w,ce=e[49]^v,re=m,ie=T,tt=s<<4|E>>>28,rt=E<<4|s>>>28,it=p<<3|C>>>29,nt=C<<3|p>>>29,at=S<<9|R>>>23,ot=R<<9|S>>>23,ft=N<<18|M>>>14,st=M<<18|N>>>14,lt=P<<1|D>>>31,ut=D<<1|P>>>31,ht=j<<12|B>>>20,_t=B<<12|j>>>20,ct=X<<10|W>>>22,dt=W<<10|X>>>22,pt=G<<13|V>>>19,bt=V<<13|G>>>19,vt=ne<<2|he>>>30,gt=he<<2|ne>>>30,yt=ee<<30|K>>>2,wt=K<<30|ee>>>2,Et=Q<<6|ae>>>26,xt=ae<<6|Q>>>26,mt=te<<11|_e>>>21,St=_e<<11|te>>>21,Rt=Y<<15|oe>>>17,Tt=oe<<15|Y>>>17,Ct=c<<29|q>>>3,At=q<<29|c>>>3,Bt=d<<28|x>>>4,kt=x<<28|d>>>4,Mt=O<<23|k>>>9,Nt=k<<23|O>>>9,Dt=a<<25|o>>>7,Lt=o<<25|a>>>7,Ot=y<<21|A>>>11,Pt=A<<21|y>>>11,It=L<<24|U>>>8,$t=U<<24|L>>>8,Ft=I<<27|fe>>>5,Ut=fe<<27|I>>>5,Ht=de<<20|Be>>>12,qt=Be<<20|de>>>12,jt=ke<<7|qe>>>25,Wt=qe<<7|ke>>>25,zt=Ee<<8|xe>>>24,Vt=xe<<8|Ee>>>24,Gt=me<<14|ce>>>18,Kt=ce<<14|me>>>18;e[0]=re^~ht&mt,e[1]=ie^~_t&St,e[10]=Bt^~Ht&it,e[11]=kt^~qt&nt,e[20]=lt^~Et&Dt,e[21]=ut^~xt&Lt,e[30]=Ft^~tt&ct,e[31]=Ut^~rt&dt,e[40]=yt^~Mt&jt,e[41]=wt^~Nt&Wt,e[2]=ht^~mt&Ot,e[3]=_t^~St&Pt,e[12]=Ht^~it&pt,e[13]=qt^~nt&bt,e[22]=Et^~Dt&zt,e[23]=xt^~Lt&Vt,e[32]=tt^~ct&Rt,e[33]=rt^~dt&Tt,e[42]=Mt^~jt&at,e[43]=Nt^~Wt&ot,e[4]=mt^~Ot&Gt,e[5]=St^~Pt&Kt,e[14]=it^~pt&Ct,e[15]=nt^~bt&At,e[24]=Dt^~zt&ft,e[25]=Lt^~Vt&st,e[34]=ct^~Rt&It,e[35]=dt^~Tt&$t,e[44]=jt^~at&vt,e[45]=Wt^~ot&gt,e[6]=Ot^~Gt&re,e[7]=Pt^~Kt&ie,e[16]=pt^~Ct&Bt,e[17]=bt^~At&kt,e[26]=zt^~ft&lt,e[27]=Vt^~st&ut,e[36]=Rt^~It&Ft,e[37]=Tt^~$t&Ut,e[46]=at^~vt&yt,e[47]=ot^~gt&wt,e[8]=Gt^~re&ht,e[9]=Kt^~ie&_t,e[18]=Ct^~Bt&Ht,e[19]=At^~kt&qt,e[28]=ft^~lt&Et,e[29]=st^~ut&xt,e[38]=It^~Ft&tt,e[39]=$t^~Ut&rt,e[48]=vt^~yt&Mt,e[49]=gt^~wt&Nt,e[0]^=Ir[t*2],e[1]^=Ir[t*2+1]}};const Ge=pi;function Ce(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}Ce.prototype.initialize=function(e,t){for(let r=0;r<50;++r)this.state[r]=0;this.blockSize=e/8,this.count=0,this.squeezing=!1};Ce.prototype.absorb=function(e){for(let t=0;t<e.length;++t)this.state[~~(this.count/4)]^=e[t]<<8*(this.count%4),this.count+=1,this.count===this.blockSize&&(Ge.p1600(this.state),this.count=0)};Ce.prototype.absorbLastFewBits=function(e){this.state[~~(this.count/4)]^=e<<8*(this.count%4),e&128&&this.count===this.blockSize-1&&Ge.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<8*((this.blockSize-1)%4),Ge.p1600(this.state),this.count=0,this.squeezing=!0};Ce.prototype.squeeze=function(e){this.squeezing||this.absorbLastFewBits(1);const t=Buffer.alloc(e);for(let r=0;r<e;++r)t[r]=this.state[~~(this.count/4)]>>>8*(this.count%4)&255,this.count+=1,this.count===this.blockSize&&(Ge.p1600(this.state),this.count=0);return t};Ce.prototype.copy=function(e){for(let t=0;t<50;++t)e.state[t]=this.state[t];e.blockSize=this.blockSize,e.count=this.count,e.squeezing=this.squeezing};var Dn=Ce,Ja=Nn(Dn),bi={exports:{}},fr={exports:{}};(function(e,t){var r=Oe,i=r.Buffer;function n(l,u){for(var b in l)u[b]=l[b]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(n(r,t),t.Buffer=f);function f(l,u,b){return i(l,u,b)}n(i,f),f.from=function(l,u,b){if(typeof l=="number")throw new TypeError("Argument must not be a number");return i(l,u,b)},f.alloc=function(l,u,b){if(typeof l!="number")throw new TypeError("Argument must be a number");var h=i(l);return u!==void 0?typeof b=="string"?h.fill(u,b):h.fill(u):h.fill(0),h},f.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return i(l)},f.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(l)}})(fr,fr.exports);var ge=fr.exports,vi=ge.Buffer;function Xe(e,t){this._block=vi.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}Xe.prototype.update=function(e,t){typeof e=="string"&&(t=t||"utf8",e=vi.from(e,t));for(var r=this._block,i=this._blockSize,n=e.length,f=this._len,l=0;l<n;){for(var u=f%i,b=Math.min(n-l,i-u),h=0;h<b;h++)r[u+h]=e[l+h];f+=b,l+=b,f%i===0&&this._update(r)}return this._len+=n,this};Xe.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=this._len*8;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var i=(r&4294967295)>>>0,n=(r-i)/4294967296;this._block.writeUInt32BE(n,this._blockSize-8),this._block.writeUInt32BE(i,this._blockSize-4)}this._update(this._block);var f=this._hash();return e?f.toString(e):f};Xe.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var Ae=Xe,Ln=Z,gi=Ae,On=ge.Buffer,Pn=[1518500249,1859775393,-1894007588,-899497514],In=new Array(80);function Pe(){this.init(),this._w=In,gi.call(this,64,56)}Ln(Pe,gi);Pe.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function $n(e){return e<<5|e>>>27}function Fn(e){return e<<30|e>>>2}function Un(e,t,r,i){return e===0?t&r|~t&i:e===2?t&r|t&i|r&i:t^r^i}Pe.prototype._update=function(e){for(var t=this._w,r=this._a|0,i=this._b|0,n=this._c|0,f=this._d|0,l=this._e|0,u=0;u<16;++u)t[u]=e.readInt32BE(u*4);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var b=0;b<80;++b){var h=~~(b/20),g=$n(r)+Un(h,i,n,f)+l+t[b]+Pn[h]|0;l=f,f=n,n=Fn(i),i=r,r=g}this._a=r+this._a|0,this._b=i+this._b|0,this._c=n+this._c|0,this._d=f+this._d|0,this._e=l+this._e|0};Pe.prototype._hash=function(){var e=On.allocUnsafe(20);return e.writeInt32BE(this._a|0,0),e.writeInt32BE(this._b|0,4),e.writeInt32BE(this._c|0,8),e.writeInt32BE(this._d|0,12),e.writeInt32BE(this._e|0,16),e};var Hn=Pe,qn=Z,yi=Ae,jn=ge.Buffer,Wn=[1518500249,1859775393,-1894007588,-899497514],zn=new Array(80);function Ie(){this.init(),this._w=zn,yi.call(this,64,56)}qn(Ie,yi);Ie.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function Vn(e){return e<<1|e>>>31}function Gn(e){return e<<5|e>>>27}function Kn(e){return e<<30|e>>>2}function Yn(e,t,r,i){return e===0?t&r|~t&i:e===2?t&r|t&i|r&i:t^r^i}Ie.prototype._update=function(e){for(var t=this._w,r=this._a|0,i=this._b|0,n=this._c|0,f=this._d|0,l=this._e|0,u=0;u<16;++u)t[u]=e.readInt32BE(u*4);for(;u<80;++u)t[u]=Vn(t[u-3]^t[u-8]^t[u-14]^t[u-16]);for(var b=0;b<80;++b){var h=~~(b/20),g=Gn(r)+Yn(h,i,n,f)+l+t[b]+Wn[h]|0;l=f,f=n,n=Kn(i),i=r,r=g}this._a=r+this._a|0,this._b=i+this._b|0,this._c=n+this._c|0,this._d=f+this._d|0,this._e=l+this._e|0};Ie.prototype._hash=function(){var e=jn.allocUnsafe(20);return e.writeInt32BE(this._a|0,0),e.writeInt32BE(this._b|0,4),e.writeInt32BE(this._c|0,8),e.writeInt32BE(this._d|0,12),e.writeInt32BE(this._e|0,16),e};var Jn=Ie,Xn=Z,wi=Ae,Qn=ge.Buffer,Zn=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],ea=new Array(64);function $e(){this.init(),this._w=ea,wi.call(this,64,56)}Xn($e,wi);$e.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function ta(e,t,r){return r^e&(t^r)}function ra(e,t,r){return e&t|r&(e|t)}function ia(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function na(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function aa(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function oa(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}$e.prototype._update=function(e){for(var t=this._w,r=this._a|0,i=this._b|0,n=this._c|0,f=this._d|0,l=this._e|0,u=this._f|0,b=this._g|0,h=this._h|0,g=0;g<16;++g)t[g]=e.readInt32BE(g*4);for(;g<64;++g)t[g]=oa(t[g-2])+t[g-7]+aa(t[g-15])+t[g-16]|0;for(var _=0;_<64;++_){var w=h+na(l)+ta(l,u,b)+Zn[_]+t[_]|0,v=ia(r)+ra(r,i,n)|0;h=b,b=u,u=l,l=f+w|0,f=n,n=i,i=r,r=w+v|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=n+this._c|0,this._d=f+this._d|0,this._e=l+this._e|0,this._f=u+this._f|0,this._g=b+this._g|0,this._h=h+this._h|0};$e.prototype._hash=function(){var e=Qn.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e};var Ei=$e,fa=Z,sa=Ei,la=Ae,ua=ge.Buffer,ha=new Array(64);function Qe(){this.init(),this._w=ha,la.call(this,64,56)}fa(Qe,sa);Qe.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this};Qe.prototype._hash=function(){var e=ua.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e};var _a=Qe,ca=Z,xi=Ae,da=ge.Buffer,$r=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],pa=new Array(160);function Fe(){this.init(),this._w=pa,xi.call(this,128,112)}ca(Fe,xi);Fe.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function Fr(e,t,r){return r^e&(t^r)}function Ur(e,t,r){return e&t|r&(e|t)}function Hr(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function qr(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function ba(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function va(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function ga(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function ya(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function z(e,t){return e>>>0<t>>>0?1:0}Fe.prototype._update=function(e){for(var t=this._w,r=this._ah|0,i=this._bh|0,n=this._ch|0,f=this._dh|0,l=this._eh|0,u=this._fh|0,b=this._gh|0,h=this._hh|0,g=this._al|0,_=this._bl|0,w=this._cl|0,v=this._dl|0,m=this._el|0,T=this._fl|0,E=this._gl|0,s=this._hl|0,p=0;p<32;p+=2)t[p]=e.readInt32BE(p*4),t[p+1]=e.readInt32BE(p*4+4);for(;p<160;p+=2){var C=t[p-30],R=t[p-15*2+1],S=ba(C,R),N=va(R,C);C=t[p-2*2],R=t[p-2*2+1];var M=ga(C,R),P=ya(R,C),D=t[p-7*2],B=t[p-7*2+1],j=t[p-16*2],X=t[p-16*2+1],W=N+B|0,V=S+D+z(W,N)|0;W=W+P|0,V=V+M+z(W,P)|0,W=W+X|0,V=V+j+z(W,X)|0,t[p]=V,t[p+1]=W}for(var G=0;G<160;G+=2){V=t[G],W=t[G+1];var ne=Ur(r,i,n),he=Ur(g,_,w),K=Hr(r,g),ee=Hr(g,r),Q=qr(l,m),ae=qr(m,l),_e=$r[G],te=$r[G+1],Y=Fr(l,u,b),oe=Fr(m,T,E),q=s+ae|0,c=h+Q+z(q,s)|0;q=q+oe|0,c=c+Y+z(q,oe)|0,q=q+te|0,c=c+_e+z(q,te)|0,q=q+W|0,c=c+V+z(q,W)|0;var d=ee+he|0,x=K+ne+z(d,ee)|0;h=b,s=E,b=u,E=T,u=l,T=m,m=v+q|0,l=f+c+z(m,v)|0,f=n,v=w,n=i,w=_,i=r,_=g,g=q+d|0,r=c+x+z(g,q)|0}this._al=this._al+g|0,this._bl=this._bl+_|0,this._cl=this._cl+w|0,this._dl=this._dl+v|0,this._el=this._el+m|0,this._fl=this._fl+T|0,this._gl=this._gl+E|0,this._hl=this._hl+s|0,this._ah=this._ah+r+z(this._al,g)|0,this._bh=this._bh+i+z(this._bl,_)|0,this._ch=this._ch+n+z(this._cl,w)|0,this._dh=this._dh+f+z(this._dl,v)|0,this._eh=this._eh+l+z(this._el,m)|0,this._fh=this._fh+u+z(this._fl,T)|0,this._gh=this._gh+b+z(this._gl,E)|0,this._hh=this._hh+h+z(this._hl,s)|0};Fe.prototype._hash=function(){var e=da.allocUnsafe(64);function t(r,i,n){e.writeInt32BE(r,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e};var mi=Fe,wa=Z,Ea=mi,xa=Ae,ma=ge.Buffer,Sa=new Array(160);function Ze(){this.init(),this._w=Sa,xa.call(this,128,112)}wa(Ze,Ea);Ze.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this};Ze.prototype._hash=function(){var e=ma.allocUnsafe(48);function t(r,i,n){e.writeInt32BE(r,n),e.writeInt32BE(i,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e};var Ra=Ze,ye=bi.exports=function(t){t=t.toLowerCase();var r=ye[t];if(!r)throw new Error(t+" is not supported (we accept pull requests)");return new r};ye.sha=Hn;ye.sha1=Jn;ye.sha224=_a;ye.sha256=Ei;ye.sha384=Ra;ye.sha512=mi;var Xa=bi.exports,Ue,F,Si,Ri,be,jr,Ti,sr,br,lr,ur,Ci,Le={},Ai=[],Ta=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,et=Array.isArray;function se(e,t){for(var r in t)e[r]=t[r];return e}function Bi(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function hr(e,t,r){var i,n,f,l={};for(f in t)f=="key"?i=t[f]:f=="ref"?n=t[f]:l[f]=t[f];if(arguments.length>2&&(l.children=arguments.length>3?Ue.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(f in e.defaultProps)l[f]===void 0&&(l[f]=e.defaultProps[f]);return Me(e,l,i,n,null)}function Me(e,t,r,i,n){var f={type:e,props:t,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:n??++Si,__i:-1,__u:0};return n==null&&F.vnode!=null&&F.vnode(f),f}function Ca(){return{current:null}}function He(e){return e.children}function Ne(e,t){this.props=e,this.context=t}function Re(e,t){if(t==null)return e.__?Re(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Re(e):null}function ki(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return ki(e)}}function _r(e){(!e.__d&&(e.__d=!0)&&be.push(e)&&!Ke.__r++||jr!==F.debounceRendering)&&((jr=F.debounceRendering)||Ti)(Ke)}function Ke(){var e,t,r,i,n,f,l,u;for(be.sort(sr);e=be.shift();)e.__d&&(t=be.length,i=void 0,f=(n=(r=e).__v).__e,l=[],u=[],r.__P&&((i=se({},n)).__v=n.__v+1,F.vnode&&F.vnode(i),vr(r.__P,i,n,r.__n,r.__P.namespaceURI,32&n.__u?[f]:null,l,f??Re(n),!!(32&n.__u),u),i.__v=n.__v,i.__.__k[i.__i]=i,Li(l,i,u),i.__e!=f&&ki(i)),be.length>t&&be.sort(sr));Ke.__r=0}function Mi(e,t,r,i,n,f,l,u,b,h,g){var _,w,v,m,T,E=i&&i.__k||Ai,s=t.length;for(r.__d=b,Aa(r,t,E),b=r.__d,_=0;_<s;_++)(v=r.__k[_])!=null&&(w=v.__i===-1?Le:E[v.__i]||Le,v.__i=_,vr(e,v,w,n,f,l,u,b,h,g),m=v.__e,v.ref&&w.ref!=v.ref&&(w.ref&&gr(w.ref,null,v),g.push(v.ref,v.__c||m,v)),T==null&&m!=null&&(T=m),65536&v.__u||w.__k===v.__k?b=Ni(v,b,e):typeof v.type=="function"&&v.__d!==void 0?b=v.__d:m&&(b=m.nextSibling),v.__d=void 0,v.__u&=-196609);r.__d=b,r.__e=T}function Aa(e,t,r){var i,n,f,l,u,b=t.length,h=r.length,g=h,_=0;for(e.__k=[],i=0;i<b;i++)(n=t[i])!=null&&typeof n!="boolean"&&typeof n!="function"?(l=i+_,(n=e.__k[i]=typeof n=="string"||typeof n=="number"||typeof n=="bigint"||n.constructor==String?Me(null,n,null,null,null):et(n)?Me(He,{children:n},null,null,null):n.constructor===void 0&&n.__b>0?Me(n.type,n.props,n.key,n.ref?n.ref:null,n.__v):n).__=e,n.__b=e.__b+1,f=null,(u=n.__i=Ba(n,r,l,g))!==-1&&(g--,(f=r[u])&&(f.__u|=131072)),f==null||f.__v===null?(u==-1&&_--,typeof n.type!="function"&&(n.__u|=65536)):u!==l&&(u==l-1?_--:u==l+1?_++:(u>l?_--:_++,n.__u|=65536))):n=e.__k[i]=null;if(g)for(i=0;i<h;i++)(f=r[i])!=null&&!(131072&f.__u)&&(f.__e==e.__d&&(e.__d=Re(f)),Oi(f,f))}function Ni(e,t,r){var i,n;if(typeof e.type=="function"){for(i=e.__k,n=0;i&&n<i.length;n++)i[n]&&(i[n].__=e,t=Ni(i[n],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=Re(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Di(e,t){return t=t||[],e==null||typeof e=="boolean"||(et(e)?e.some(function(r){Di(r,t)}):t.push(e)),t}function Ba(e,t,r,i){var n=e.key,f=e.type,l=r-1,u=r+1,b=t[r];if(b===null||b&&n==b.key&&f===b.type&&!(131072&b.__u))return r;if(i>(b!=null&&!(131072&b.__u)?1:0))for(;l>=0||u<t.length;){if(l>=0){if((b=t[l])&&!(131072&b.__u)&&n==b.key&&f===b.type)return l;l--}if(u<t.length){if((b=t[u])&&!(131072&b.__u)&&n==b.key&&f===b.type)return u;u++}}return-1}function Wr(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Ta.test(t)?r:r+"px"}function We(e,t,r,i,n){var f;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)r&&t in r||Wr(e.style,t,"");if(r)for(t in r)i&&r[t]===i[t]||Wr(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")f=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+f]=r,r?i?r.u=i.u:(r.u=br,e.addEventListener(t,f?ur:lr,f)):e.removeEventListener(t,f?ur:lr,f);else{if(n=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function zr(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=br++;else if(t.t<r.u)return;return r(F.event?F.event(t):t)}}}function vr(e,t,r,i,n,f,l,u,b,h){var g,_,w,v,m,T,E,s,p,C,R,S,N,M,P,D,B=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(b=!!(32&r.__u),f=[u=t.__e=r.__e]),(g=F.__b)&&g(t);e:if(typeof B=="function")try{if(s=t.props,p="prototype"in B&&B.prototype.render,C=(g=B.contextType)&&i[g.__c],R=g?C?C.props.value:g.__:i,r.__c?E=(_=t.__c=r.__c).__=_.__E:(p?t.__c=_=new B(s,R):(t.__c=_=new Ne(s,R),_.constructor=B,_.render=Ma),C&&C.sub(_),_.props=s,_.state||(_.state={}),_.context=R,_.__n=i,w=_.__d=!0,_.__h=[],_._sb=[]),p&&_.__s==null&&(_.__s=_.state),p&&B.getDerivedStateFromProps!=null&&(_.__s==_.state&&(_.__s=se({},_.__s)),se(_.__s,B.getDerivedStateFromProps(s,_.__s))),v=_.props,m=_.state,_.__v=t,w)p&&B.getDerivedStateFromProps==null&&_.componentWillMount!=null&&_.componentWillMount(),p&&_.componentDidMount!=null&&_.__h.push(_.componentDidMount);else{if(p&&B.getDerivedStateFromProps==null&&s!==v&&_.componentWillReceiveProps!=null&&_.componentWillReceiveProps(s,R),!_.__e&&(_.shouldComponentUpdate!=null&&_.shouldComponentUpdate(s,_.__s,R)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(_.props=s,_.state=_.__s,_.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(j){j&&(j.__=t)}),S=0;S<_._sb.length;S++)_.__h.push(_._sb[S]);_._sb=[],_.__h.length&&l.push(_);break e}_.componentWillUpdate!=null&&_.componentWillUpdate(s,_.__s,R),p&&_.componentDidUpdate!=null&&_.__h.push(function(){_.componentDidUpdate(v,m,T)})}if(_.context=R,_.props=s,_.__P=e,_.__e=!1,N=F.__r,M=0,p){for(_.state=_.__s,_.__d=!1,N&&N(t),g=_.render(_.props,_.state,_.context),P=0;P<_._sb.length;P++)_.__h.push(_._sb[P]);_._sb=[]}else do _.__d=!1,N&&N(t),g=_.render(_.props,_.state,_.context),_.state=_.__s;while(_.__d&&++M<25);_.state=_.__s,_.getChildContext!=null&&(i=se(se({},i),_.getChildContext())),p&&!w&&_.getSnapshotBeforeUpdate!=null&&(T=_.getSnapshotBeforeUpdate(v,m)),Mi(e,et(D=g!=null&&g.type===He&&g.key==null?g.props.children:g)?D:[D],t,r,i,n,f,l,u,b,h),_.base=t.__e,t.__u&=-161,_.__h.length&&l.push(_),E&&(_.__E=_.__=null)}catch(j){if(t.__v=null,b||f!=null){for(t.__u|=b?160:128;u&&u.nodeType===8&&u.nextSibling;)u=u.nextSibling;f[f.indexOf(u)]=null,t.__e=u}else t.__e=r.__e,t.__k=r.__k;F.__e(j,t,r)}else f==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=ka(r.__e,t,r,i,n,f,l,b,h);(g=F.diffed)&&g(t)}function Li(e,t,r){t.__d=void 0;for(var i=0;i<r.length;i++)gr(r[i],r[++i],r[++i]);F.__c&&F.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(f){f.call(n)})}catch(f){F.__e(f,n.__v)}})}function ka(e,t,r,i,n,f,l,u,b){var h,g,_,w,v,m,T,E=r.props,s=t.props,p=t.type;if(p==="svg"?n="http://www.w3.org/2000/svg":p==="math"?n="http://www.w3.org/1998/Math/MathML":n||(n="http://www.w3.org/1999/xhtml"),f!=null){for(h=0;h<f.length;h++)if((v=f[h])&&"setAttribute"in v==!!p&&(p?v.localName===p:v.nodeType===3)){e=v,f[h]=null;break}}if(e==null){if(p===null)return document.createTextNode(s);e=document.createElementNS(n,p,s.is&&s),u&&(F.__m&&F.__m(t,f),u=!1),f=null}if(p===null)E===s||u&&e.data===s||(e.data=s);else{if(f=f&&Ue.call(e.childNodes),E=r.props||Le,!u&&f!=null)for(E={},h=0;h<e.attributes.length;h++)E[(v=e.attributes[h]).name]=v.value;for(h in E)if(v=E[h],h!="children"){if(h=="dangerouslySetInnerHTML")_=v;else if(!(h in s)){if(h=="value"&&"defaultValue"in s||h=="checked"&&"defaultChecked"in s)continue;We(e,h,null,v,n)}}for(h in s)v=s[h],h=="children"?w=v:h=="dangerouslySetInnerHTML"?g=v:h=="value"?m=v:h=="checked"?T=v:u&&typeof v!="function"||E[h]===v||We(e,h,v,E[h],n);if(g)u||_&&(g.__html===_.__html||g.__html===e.innerHTML)||(e.innerHTML=g.__html),t.__k=[];else if(_&&(e.innerHTML=""),Mi(e,et(w)?w:[w],t,r,i,p==="foreignObject"?"http://www.w3.org/1999/xhtml":n,f,l,f?f[0]:r.__k&&Re(r,0),u,b),f!=null)for(h=f.length;h--;)Bi(f[h]);u||(h="value",p==="progress"&&m==null?e.removeAttribute("value"):m!==void 0&&(m!==e[h]||p==="progress"&&!m||p==="option"&&m!==E[h])&&We(e,h,m,E[h],n),h="checked",T!==void 0&&T!==e[h]&&We(e,h,T,E[h],n))}return e}function gr(e,t,r){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(n){F.__e(n,r)}}function Oi(e,t,r){var i,n;if(F.unmount&&F.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||gr(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(f){F.__e(f,t)}i.base=i.__P=null}if(i=e.__k)for(n=0;n<i.length;n++)i[n]&&Oi(i[n],t,r||typeof e.type!="function");r||Bi(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Ma(e,t,r){return this.constructor(e,r)}function Pi(e,t,r){var i,n,f,l;F.__&&F.__(e,t),n=(i=typeof r=="function")?null:r&&r.__k||t.__k,f=[],l=[],vr(t,e=(!i&&r||t).__k=hr(He,null,[e]),n||Le,Le,t.namespaceURI,!i&&r?[r]:n?null:t.firstChild?Ue.call(t.childNodes):null,f,!i&&r?r:n?n.__e:t.firstChild,i,l),Li(f,e,l)}function Ii(e,t){Pi(e,t,Ii)}function Na(e,t,r){var i,n,f,l,u=se({},e.props);for(f in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)f=="key"?i=t[f]:f=="ref"?n=t[f]:u[f]=t[f]===void 0&&l!==void 0?l[f]:t[f];return arguments.length>2&&(u.children=arguments.length>3?Ue.call(arguments,2):r),Me(e.type,u,i||e.key,n||e.ref,null)}function Da(e,t){var r={__c:t="__cC"+Ci++,__:e,Consumer:function(i,n){return i.children(n)},Provider:function(i){var n,f;return this.getChildContext||(n=new Set,(f={})[t]=this,this.getChildContext=function(){return f},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(l){this.props.value!==l.value&&n.forEach(function(u){u.__e=!0,_r(u)})},this.sub=function(l){n.add(l);var u=l.componentWillUnmount;l.componentWillUnmount=function(){n&&n.delete(l),u&&u.call(l)}}),i.children}};return r.Provider.__=r.Consumer.contextType=r}Ue=Ai.slice,F={__e:function(e,t,r,i){for(var n,f,l;t=t.__;)if((n=t.__c)&&!n.__)try{if((f=n.constructor)&&f.getDerivedStateFromError!=null&&(n.setState(f.getDerivedStateFromError(e)),l=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(e,i||{}),l=n.__d),l)return n.__E=n}catch(u){e=u}throw e}},Si=0,Ri=function(e){return e!=null&&e.constructor==null},Ne.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=se({},this.state),typeof e=="function"&&(e=e(se({},r),this.props)),e&&se(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),_r(this))},Ne.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_r(this))},Ne.prototype.render=He,be=[],Ti=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,sr=function(e,t){return e.__v.__b-t.__v.__b},Ke.__r=0,br=0,lr=zr(!1),ur=zr(!0),Ci=0;const La=Object.freeze(Object.defineProperty({__proto__:null,Component:Ne,Fragment:He,cloneElement:Na,createContext:Da,createElement:hr,createRef:Ca,h:hr,hydrate:Ii,get isValidElement(){return Ri},get options(){return F},render:Pi,toChildArray:Di},Symbol.toStringTag,{value:"Module"})),Qa=dr(La);var ue,$,nr,Vr,Te=0,$i=[],H=F,Gr=H.__b,Kr=H.__r,Yr=H.diffed,Jr=H.__c,Xr=H.unmount,Qr=H.__;function we(e,t){H.__h&&H.__h($,e,Te||t),Te=0;var r=$.__H||($.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Fi(e){return Te=1,Ui(qi,e)}function Ui(e,t,r){var i=we(ue++,2);if(i.t=e,!i.__c&&(i.__=[r?r(t):qi(void 0,t),function(u){var b=i.__N?i.__N[0]:i.__[0],h=i.t(b,u);b!==h&&(i.__N=[h,i.__[1]],i.__c.setState({}))}],i.__c=$,!$.u)){var n=function(u,b,h){if(!i.__c.__H)return!0;var g=i.__c.__H.__.filter(function(w){return!!w.__c});if(g.every(function(w){return!w.__N}))return!f||f.call(this,u,b,h);var _=!1;return g.forEach(function(w){if(w.__N){var v=w.__[0];w.__=w.__N,w.__N=void 0,v!==w.__[0]&&(_=!0)}}),!(!_&&i.__c.props===u)&&(!f||f.call(this,u,b,h))};$.u=!0;var f=$.shouldComponentUpdate,l=$.componentWillUpdate;$.componentWillUpdate=function(u,b,h){if(this.__e){var g=f;f=void 0,n(u,b,h),f=g}l&&l.call(this,u,b,h)},$.shouldComponentUpdate=n}return i.__N||i.__}function Oa(e,t){var r=we(ue++,3);!H.__s&&wr(r.__H,t)&&(r.__=e,r.i=t,$.__H.__h.push(r))}function Hi(e,t){var r=we(ue++,4);!H.__s&&wr(r.__H,t)&&(r.__=e,r.i=t,$.__h.push(r))}function Pa(e){return Te=5,yr(function(){return{current:e}},[])}function Ia(e,t,r){Te=6,Hi(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function yr(e,t){var r=we(ue++,7);return wr(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function $a(e,t){return Te=8,yr(function(){return e},t)}function Fa(e){var t=$.context[e.__c],r=we(ue++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub($)),t.props.value):e.__}function Ua(e,t){H.useDebugValue&&H.useDebugValue(t?t(e):e)}function Ha(e){var t=we(ue++,10),r=Fi();return t.__=e,$.componentDidCatch||($.componentDidCatch=function(i,n){t.__&&t.__(i,n),r[1](i)}),[r[0],function(){r[1](void 0)}]}function qa(){var e=we(ue++,11);if(!e.__){for(var t=$.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function ja(){for(var e;e=$i.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ve),e.__H.__h.forEach(cr),e.__H.__h=[]}catch(t){e.__H.__h=[],H.__e(t,e.__v)}}H.__b=function(e){$=null,Gr&&Gr(e)},H.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Qr&&Qr(e,t)},H.__r=function(e){Kr&&Kr(e),ue=0;var t=($=e.__c).__H;t&&(nr===$?(t.__h=[],$.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(Ve),t.__h.forEach(cr),t.__h=[],ue=0)),nr=$},H.diffed=function(e){Yr&&Yr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&($i.push(t)!==1&&Vr===H.requestAnimationFrame||((Vr=H.requestAnimationFrame)||Wa)(ja)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),nr=$=null},H.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Ve),r.__h=r.__h.filter(function(i){return!i.__||cr(i)})}catch(i){t.some(function(n){n.__h&&(n.__h=[])}),t=[],H.__e(i,r.__v)}}),Jr&&Jr(e,t)},H.unmount=function(e){Xr&&Xr(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(i){try{Ve(i)}catch(n){t=n}}),r.__H=void 0,t&&H.__e(t,r.__v))};var Zr=typeof requestAnimationFrame=="function";function Wa(e){var t,r=function(){clearTimeout(i),Zr&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(r,100);Zr&&(t=requestAnimationFrame(r))}function Ve(e){var t=$,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),$=t}function cr(e){var t=$;e.__c=e.__(),$=t}function wr(e,t){return!e||e.length!==t.length||t.some(function(r,i){return r!==e[i]})}function qi(e,t){return typeof t=="function"?t(e):t}const za=Object.freeze(Object.defineProperty({__proto__:null,useCallback:$a,useContext:Fa,useDebugValue:Ua,useEffect:Oa,useErrorBoundary:Ha,useId:qa,useImperativeHandle:Ia,useLayoutEffect:Hi,useMemo:yr,useReducer:Ui,useRef:Pa,useState:Fi},Symbol.toStringTag,{value:"Module"})),Za=dr(za);export{Za as a,Ya as b,Ja as j,Qa as r,Xa as s};